Version Description
- Replace publish dropdown menu with a sidebar panel.
- Expand latest post blocks with more querying options order by and category.
- Allow dragging multiple images to create a gallery.
- Improve markdown pasting (allows lists to be interpreted).
- Allow pasting copied images directly.
- Pasting within lists and headings.
- Improve handling of inline spans.
- Allow copying a single block.
- Make sure inline pasting mechanism does not take place if pasting shortcodes.
- Preserve alignment classes during raw transformations (like pasting an old WordPress post).
- Support shortcode synonyms.
- Allow continued writing when pressing down arrow at the end of a post.
- Mobile design: move block controls to the bottom of a block.
- Allow deleting reusable blocks globally.
- Display description and type on the sidebar. (Also replace BlockDescription component with a property.)
- New table of contents and document counts design.
- Add button to copy the full document quickly.
- Expand inserter to three columns and a wider container.
- Allow using down-arrow keys directly to navigate when searching a block in the inserter.
- Deselect images in Gallery block when losing focus.
- Include post title in document outline feature.
- Rework display of notices and address various issues with overlaps.
- Added keyboard shortcut to toggle editor mode. Also displays the relevant keyboard combination next to the menu item.
- Improve deleting empty paragraphs when backspacing into a block that has no merge function (example, deleting a paragraph after an image).
- Improve the way scroll-position is updated when moving a block.
- Show block transformations in ellipsis menu.
- Add drag and drop support for cover image.
- Allow transforming operations between Heading and Cover Image blocks.
- Add focus outline for blocks that don't have focusable fields.
- Allow both navigation orientations in NavigableContainer.
- Improve the behavior of focusing embed blocks.
- Unify UI of audio and video blocks.
- Show message on the inserter when no blocks are found.
- Show message when no saved blocks are available.
- Do not show the publish panel when updating / scheduling / submitting a post.
- Update quote style in front-end.
- Convert text columns to a div using grid layout.
- Update button block CSS and add class to link.
- Allow text in Button block to wrap.
- Prevent useOnce blocks from being inserted using the convenient blocks shortcut menu.
- Show correct symbol ( or Ctrl) depending on system context.
- Rename "insert" to "add" in the UI.
- Clear block selection when opening sibling or bottom inserter.
- Always show the insertion point when the inserter is opened.
- Increase padding on "more options" block toggle.
- Rename "Classic Text" to "Classic".
- Improve display of dotted outline around reusable blocks.
- Updated messages around reusable blocks interactions.
- Align both the quote and the citation in the visual editor.
- Exit edit mode when unfocusing a reusable block.
- Set floated image width (when unresized) in % value.
- Add withState higher-order component.
- Initial introduction of wp.data module.
- Restrict the state access to the module registering the reducer only.
- Refactor PostSchedule to make Calendar and Clock available as reusable components.
- Allow overwriting colors (defaults and theme provided) when consuming ColorPalette component.
- Switch orientation of popover component only if there is more space for the new position.
- New ImagePlaceholder reusable component that handles upload buttons and draggable areas for the block author.
- Add speak message when a category is added.
- Announce notices to assertive technologies with speak.
- Add aria-labels to Code and HTML blocks.
- Warn if multiple h1 headings are being used.
- Add speak message and make "block settings" button label dynamic.
- Make excerpt functionality more accessible.
- Add various headings around editor areas for screen-readers.
- Improve accessibility of menu items in the main ellipsis menu.
- Add missing tooltips to icon buttons.
- Render toolbar always by the block on mobile.
- Improve performance of responsive calculations using matchMedia.
- Avoid shifts around toolbar and scrolling issues on mobile.
- Improve how the fixed-to-block toolbar looks on mobile. Change how the fixed position toolbars behave, making them sticky.
- Prevent Mobile Safari from zooming the entire page when you open the inserter.
- Initial explorations to migrate to server-registered blocks as part of raising awareness of available blocks.
- Move supportHTML property into the general "support" object.
- Replace getLatestPosts usage with withAPIData HOC.
- Convert all filters for components to behave like HOCs (withFilters).
- Replace flowRight usage with compose for HOCs.
- Apply filters without function wrappers.
- Improve Tags/Categories response size by limiting the requested fields.
- Limit requested fields in category feature of "latest posts".
- Request only required post fields in latest posts.
- Replace getCategories usage with withAPIData component.
- Don't show fields that are not used in media modal when adding a featured image.
- Polish inserter tabs so the focus style isn't clipped.
- Make inspector controls available when categories are loading.
- Improve overlay over meta-boxes during save operations.
- Hide excerpts panel if not supported by the CPT.
- Hide Taxonomies panel if no taxonomy is available for the current CPT.
- Hide several other panels when the CPT doesn't support them.
- Use _.includes to find available taxonomies. Mitigates non-schema-conforming taxonomy registrations.
- Defer applying filters for component until it is about to be mounted.
- Prevent "Add New" dropdown from overriding other plugin functionality.
- Improve paragraph block description.
- Refactor to simplify block toolbar rendering.
- Add missing aligment classes to cover image.
- Add parent page dropdown to page attributes panel.
- Allow pressing ENTER to change Reusable Block name.
- Disable HTML mode for reusable blocks.
- Add support for the "advanced" meta-box location.
- Make sure super admins can publish in any site of the network.
- Rename theme support for wide images to align-wide.
- Move selectors and actions files to the store folder.
- Center arrows of popovers relative to their parent.
- Use fainter disabled state.
- Add breakpoint grid to latest posts block and update color of date.
- Move logic for auto-generating the block class name to BlockEdit.
- Respect the "enter_title_here" hook.
- Prevent meta-box hooks from running multiple times.
- Don't set font-family on pullquotes.
- Remove superfluous parentheses from include statements.
- Remove redundant CSS property updates.
- Use "columns-x" class only for grid layout in latest posts.
- Use flatMap for mapping toolbar controls for a small performance gain.
- Introduce jest matchers for console object.
- Updated various npm packages; update Jest. Update node-sass. Update WordPress packages.
- Switch TinyMCE to unpkg.
- Reorganize handbook docs navigation.
- Added FAQ section for meta-boxes compatibility.
- Added initial "templates" document.
- Add documentation about dynamic blocks.
- Updated "outreach" docs.
- Improve block-controls document.
- Display a hint that files need to be built.
- Add WordPress JSDoc ESLint configuration.
- Update licenses in package.json & composer.json to adhere to SPDX v3.0 specification.
- Add tests to cover REQUEST_POST_UPDATE_SUCCESS effect.
- Add tests for color palette component.
- Add tests for Editable.getSettings and adaptFormatter.
- Use newly published jest-console package in test setup.
- Update info about test fixtures generation.
- Also style footer in quote blocks to ensure backwards compatibility.
- Add a PHPUnit Docker Container.
- Fix wrong "return to editor" link when comparing revisions.
- Fix error when pressing enter from a heading block.
- Fix error with merging lists into paragraphs.
- Fix revisions button target area.
- Remove duplicated styles.
- Fix z-index rebase issues.
- Fix tag name warning ordering in validation.
- Fix text encoding of titles in url-input.
- Fix endless loop in reusable blocks code.
- Fix edit button in Audio block using invalid buttonProps attribute.
- Fix block creation with falsey default attribute.
- Fix radio control checked property.
- Fix styling issues of blocks when they are used as part of a reusable block.
- Fix list wrapping issues.
- Fix problem when converting shortcodes due to sorting.
- Fix issue with time-picker not working.
- Fix hide advanced settings interaction in block menu.
- Fix issue with url input on images.
- Fix style regression in textual placeholder on cover image.
- Fix return type hint in gutenberg_get_rest_link().
- Fix bug when changing number of Latests Posts rapidly was leading to some numbers being defunct.
- Fix isInputField check and add tests.
- Fix unsetting block alignment flagging block as invalid.
- Fix CSS bleed from admin-specific gallery styles.
- Fix image handlers at the top from being unclickable.
- Fix unexpected keyboard navigations behaviour on some nodes.
- Fix inserter position for floated blocks.
- Fix bug on empty cover image placeholder used on a saved block.
- Fix errors when adding duplicate categories.
- Fix broken custom color bubble in ColorPalette.
Download this release
Release Info
Developer | matveb |
Plugin | Gutenberg |
Version | 2.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 2.0.0
- README.md +6 -6
- blocks/build/edit-blocks-rtl.css +1 -1
- blocks/build/edit-blocks.css +1 -1
- blocks/build/index.js +5 -5
README.md
CHANGED
@@ -6,7 +6,7 @@ Printing since 1440.
|
|
6 |
|
7 |
![Gutenberg editing](https://cldup.com/H0oKBfpidk.png)
|
8 |
|
9 |
-
This is the development hub for the <a href="https://make.wordpress.org/core/2017/01/04/focus-tech-and-design-leads/">editor focus in core</a>. Gutenberg is the project name. If you want to use the latest release with your WordPress, <a href="https://wordpress.org/plugins/gutenberg/">download Gutenberg from the WordPress.org plugins repository</a>. Conversations and discussions take place in #core-editor on <a href="https://make.wordpress.org/chat/">the core WordPress Slack</a>.
|
10 |
|
11 |
Discover more about the project <a href="https://wordpress.org/gutenberg">here</a>.
|
12 |
|
@@ -18,7 +18,7 @@ Gutenberg is more than an editor. While the editor is the focus right now, the p
|
|
18 |
|
19 |
One thing that sets WordPress apart from other systems is that it allows you to create as rich a post layout as you can imagine -- but only if you know HTML and CSS and build your own custom theme. By thinking of the editor as a tool to let you write rich posts and create beautiful layouts, we can transform WordPress into something users _love_, as opposed something they pick it because it's what everyone else uses.
|
20 |
|
21 |
-
Gutenberg looks at the editor as more than a content field, revisiting a layout that has been largely unchanged for almost a decade.This allows us to holistically design a modern editing experience and build a foundation for things to come.
|
22 |
|
23 |
Here's why we're looking at the whole editing screen, as opposed to just the content field:
|
24 |
|
@@ -32,7 +32,7 @@ Here's why we're looking at the whole editing screen, as opposed to just the con
|
|
32 |
|
33 |
## Blocks
|
34 |
|
35 |
-
Blocks are the unifying evolution of what is now covered, in different ways, by shortcodes, embeds, widgets, post formats, custom post types, theme options, meta-boxes, and other formatting elements. They embrace the breadth of functionality WordPress is capable of, with the clarity of a consistent user experience.
|
36 |
|
37 |
Imagine a custom “employee” block that a client can drag to an About page to automatically display a picture, name, and bio. A whole universe of plugins that all extend WordPress in the same way. Simplified menus and widgets. Users who can instantly understand and use WordPress -- and 90% of plugins. This will allow you to easily compose beautiful posts like <a href="http://moc.co/sandbox/example-post/">this example</a>.
|
38 |
|
@@ -40,7 +40,7 @@ Check out the <a href="https://github.com/WordPress/gutenberg/blob/master/docs/f
|
|
40 |
|
41 |
## Compatibility
|
42 |
|
43 |
-
Posts are backwards compatible, and shortcodes will still work. We are continuously exploring how highly-tailored
|
44 |
|
45 |
## The stages of Gutenberg
|
46 |
|
@@ -50,9 +50,9 @@ These foundational elements will pave the way for stages two and three, planned
|
|
50 |
|
51 |
Gutenberg is a big change, and there will be ways to ensure that existing functionality (like shortcodes and meta-boxes) continue to work while allowing developers the time and paths to transition effectively. Ultimately, it will open new opportunities for plugin and theme developers to better serve users through a more engaging and visual experience that takes advantage of a toolset supported by core.
|
52 |
|
53 |
-
## Get involved
|
54 |
|
55 |
-
We’re calling this editor project "Gutenberg" because it's a big undertaking. We are working on it every day in GitHub, and we'd love your help building it.You’re also welcome to give feedback, the easiest is to join us in <a href="https://make.wordpress.org/chat/">our Slack channel</a>, `#core-editor`.
|
56 |
|
57 |
## Contributors
|
58 |
|
6 |
|
7 |
![Gutenberg editing](https://cldup.com/H0oKBfpidk.png)
|
8 |
|
9 |
+
This is the development hub for the <a href="https://make.wordpress.org/core/2017/01/04/focus-tech-and-design-leads/">editor focus in core</a>. Gutenberg is the project name. If you want to use the latest release with your WordPress, <a href="https://wordpress.org/plugins/gutenberg/">download Gutenberg from the WordPress.org plugins repository</a>. Conversations and discussions take place in #core-editor on <a href="https://make.wordpress.org/chat/">the core WordPress Slack</a>.
|
10 |
|
11 |
Discover more about the project <a href="https://wordpress.org/gutenberg">here</a>.
|
12 |
|
18 |
|
19 |
One thing that sets WordPress apart from other systems is that it allows you to create as rich a post layout as you can imagine -- but only if you know HTML and CSS and build your own custom theme. By thinking of the editor as a tool to let you write rich posts and create beautiful layouts, we can transform WordPress into something users _love_, as opposed something they pick it because it's what everyone else uses.
|
20 |
|
21 |
+
Gutenberg looks at the editor as more than a content field, revisiting a layout that has been largely unchanged for almost a decade. This allows us to holistically design a modern editing experience and build a foundation for things to come.
|
22 |
|
23 |
Here's why we're looking at the whole editing screen, as opposed to just the content field:
|
24 |
|
32 |
|
33 |
## Blocks
|
34 |
|
35 |
+
Blocks are the unifying evolution of what is now covered, in different ways, by shortcodes, embeds, widgets, post formats, custom post types, theme options, meta-boxes, and other formatting elements. They embrace the breadth of functionality WordPress is capable of, with the clarity of a consistent user experience.
|
36 |
|
37 |
Imagine a custom “employee” block that a client can drag to an About page to automatically display a picture, name, and bio. A whole universe of plugins that all extend WordPress in the same way. Simplified menus and widgets. Users who can instantly understand and use WordPress -- and 90% of plugins. This will allow you to easily compose beautiful posts like <a href="http://moc.co/sandbox/example-post/">this example</a>.
|
38 |
|
40 |
|
41 |
## Compatibility
|
42 |
|
43 |
+
Posts are backwards compatible, and shortcodes will still work. We are continuously exploring how highly-tailored meta boxes can be accommodated, and are looking at solutions ranging from a plugin to disable Gutenberg to automatically detecting whether to load Gutenberg or not. While we want to make sure the new editing experience from writing to publishing is user-friendly, we’re committed to finding a good solution for highly-tailored existing sites.
|
44 |
|
45 |
## The stages of Gutenberg
|
46 |
|
50 |
|
51 |
Gutenberg is a big change, and there will be ways to ensure that existing functionality (like shortcodes and meta-boxes) continue to work while allowing developers the time and paths to transition effectively. Ultimately, it will open new opportunities for plugin and theme developers to better serve users through a more engaging and visual experience that takes advantage of a toolset supported by core.
|
52 |
|
53 |
+
## Get involved
|
54 |
|
55 |
+
We’re calling this editor project "Gutenberg" because it's a big undertaking. We are working on it every day in GitHub, and we'd love your help building it. You’re also welcome to give feedback, the easiest is to join us in <a href="https://make.wordpress.org/chat/">our Slack channel</a>, `#core-editor`.
|
56 |
|
57 |
## Contributors
|
58 |
|
blocks/build/edit-blocks-rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-block-shortcode{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:1em;background-color:#f8f9f9}.wp-block-shortcode,.wp-block-shortcode label{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-shortcode label{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:10px;white-space:nowrap}.wp-block-shortcode textarea{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.wp-block-shortcode .dashicon{margin-left:10px}.wp-block-image{position:relative;margin:0}.wp-block-image img{display:block;width:100%}.wp-block-image.is-transient img{-webkit-animation:loading_fade 1.6s ease-in-out infinite;animation:loading_fade 1.6s ease-in-out infinite}.wp-block-image__resize-handler-bottom-left,.wp-block-image__resize-handler-bottom-right,.wp-block-image__resize-handler-top-left,.wp-block-image__resize-handler-top-right{display:none;border-radius:50%;border:2px solid #fff;width:15px!important;height:15px!important;position:absolute;background:#00a0d2;padding:0 0 3px 3px;box-sizing:border-box;cursor:sw-resize}.wp-block-image.is-focused .wp-block-image__resize-handler-bottom-left,.wp-block-image.is-focused .wp-block-image__resize-handler-bottom-right,.wp-block-image.is-focused .wp-block-image__resize-handler-top-left,.wp-block-image.is-focused .wp-block-image__resize-handler-top-right{display:block}.wp-block-image__resize-handler-top-right{top:-6px!important;right:-6px!important}.wp-block-image__resize-handler-top-left{top:-6px!important;left:-6px!important}.wp-block-image__resize-handler-bottom-right{bottom:-6px!important;right:-6px!important}.wp-block-image__resize-handler-bottom-left{bottom:-6px!important;left:-6px!important}.editor-block-list__block[data-type="core/image"] .blocks-format-toolbar__link-modal{top:0;right:0}.wp-core-ui .wp-block-image__upload-button.button{margin-left:5px}.wp-core-ui .wp-block-image__upload-button.button .dashicon{vertical-align:middle;margin-bottom:3px}.wp-core-ui .wp-block-image__upload-button.button:hover{color:#23282d}.editor-block-list__block[data-type="core/image"][data-align=left],.editor-block-list__block[data-type="core/image"][data-align=right]{max-width:none!important}.editor-block-list__block[data-type="core/image"][data-align=left][data-resized=false],.editor-block-list__block[data-type="core/image"][data-align=right][data-resized=false]{max-width:370px!important}.wp-block-gallery:not(.components-placeholder){margin-left:-16px;margin-bottom:-16px}.editor-block-list__block[data-type="core/gallery"] .editor-block-list__block-edit{overflow:hidden}.blocks-gallery-image{position:relative}.blocks-gallery-image.is-selected{outline:4px solid #00a0d2;outline-offset:-4px}.blocks-gallery-image__inline-menu{padding:2px;position:absolute;top:0;left:0;background-color:#00a0d2;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;z-index:20}.blocks-gallery-image__inline-menu .components-button,.blocks-gallery-image__inline-menu .components-button:focus,.blocks-gallery-image__inline-menu .components-button:hover{color:#fff}.blocks-gallery-image__remove{padding:0}.editor-block-list__block[data-type="core/heading"] h1,.editor-block-list__block[data-type="core/heading"] h2,.editor-block-list__block[data-type="core/heading"] h3,.editor-block-list__block[data-type="core/heading"] h4,.editor-block-list__block[data-type="core/heading"] h5,.editor-block-list__block[data-type="core/heading"] h6{margin:0}.editor-block-list__block[data-type="core/heading"] h1{font-size:2em}.editor-block-list__block[data-type="core/heading"] h2{font-size:1.6em}.editor-block-list__block[data-type="core/heading"] h3{font-size:1.4em}.editor-block-list__block[data-type="core/heading"] h4{font-size:1.2em}.editor-block-list__block[data-type="core/heading"] h5{font-size:1.1em}.editor-block-list__block[data-type="core/heading"] h6{font-size:1em}.wp-block-quote:not(.is-large){border-right:4px solid #000;padding-right:1em}.editor-block-list__block[data-type="core/embed"][data-align=left],.editor-block-list__block[data-type="core/embed"][data-align=right]{max-width:100%}.wp-block-embed{margin:0;clear:both}[data-align=left] .wp-block-embed,[data-align=right] .wp-block-embed{width:300px;max-width:100%}.wp-block-embed.is-loading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed.is-video>.wp-block-embed__wrapper{position:relative;width:100%;height:0;padding-top:56.25%}.wp-block-embed.is-video>.wp-block-embed__wrapper>iframe{position:absolute;top:0;right:0;width:100%;height:100%}.blocks-list .blocks-editable__tinymce,.blocks-list .blocks-editable__tinymce ol,.blocks-list .blocks-editable__tinymce ul{padding-right:1.3em;list-style-position:inside;margin-right:0}.editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.editor-block-list__block .wp-block-more input{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;padding-right:8px;padding-left:8px;background:#fff;border:none;box-shadow:none;white-space:nowrap}.editor-block-list__block .wp-block-more input:focus{box-shadow:none}.editor-block-list__block .wp-block-more:before{content:"";position:absolute;top:50%;right:46px;left:46px;border-top:3px dashed #ccd0d4;z-index:-1}.editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.editor-block-list__block[data-type="core/button"][data-align=right]{text-align:left}.wp-block-button .blocks-format-toolbar__link-modal{z-index:2;top:48px;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.wp-block-button .blocks-link-url__suggestions{left:-35px}.wp-block-button .blocks-editable__tinymce{cursor:text}.blocks-button__inline-link{background:#fff;width:280px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.blocks-button__inline-link .blocks-url-input{width:auto}.blocks-button__inline-link .dashicon{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]::-webkit-input-placeholder{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .blocks-button__inline-link{margin-right:auto;margin-left:auto}[data-align=right] .blocks-button__inline-link{margin-right:auto;margin-left:0}.editor-block-list__block[data-type="core/pullquote"][data-align=left],.editor-block-list__block[data-type="core/pullquote"][data-align=right]{max-width:400px}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-editable p,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-editable p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before{font-size:20px}.wp-block-pullquote cite .blocks-editable__tinymce[data-is-empty=true]:before{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-pullquote .blocks-editable__tinymce[data-is-empty=true]:before{width:100%;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.wp-block-pullquote>.blocks-editable p,.wp-block-pullquote>.blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before{font-size:24px;font-weight:900;line-height:1.6}.editor-block-list__block[data-type="core/table"] .editor-block-toolbar__group>div:not(.editor-block-toolbar__mobile-tools){display:-webkit-box;display:-ms-flexbox;display:flex}.editor-block-list__block[data-type="core/table"][data-align=left],.editor-block-list__block[data-type="core/table"][data-align=right]{min-width:33%;max-width:50%}.editor-block-list__block[data-type="core/table"][data-align=left]{float:right;margin-left:14px}.editor-block-list__block[data-type="core/table"][data-align=right]{float:left;margin-right:14px}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor}.wp-block-table td[data-mce-selected="1"],.wp-block-table th[data-mce-selected="1"]{background-color:#e2e4e7}div[data-type="core/preformatted"] pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}div[data-type="core/code"] textarea{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.components-tab-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}div[data-type="core/html"] textarea{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce p{line-height:1.8}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce ol,.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce ul{padding-right:2.5em;margin-right:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h1{font-size:2em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h2{font-size:1.6em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h3{font-size:1.4em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h4{font-size:1.2em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h5{font-size:1.1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h6{font-size:1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce>:first-child{margin-top:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce>:last-child{margin-bottom:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce.mce-edit-focus{outline:none}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce a{color:#007fac}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.freeform-toolbar{position:-webkit-sticky;position:sticky;width:auto;top:-1px;margin-top:-52px;border:1px solid #e2e4e7;z-index:10;background-color:#fff;min-height:36px;margin-bottom:14px}@media (min-width:600px){.freeform-toolbar{margin-right:-15px;margin-left:-15px}}.freeform-toolbar.has-advanced-toolbar{margin-top:-89px}.freeform-toolbar .mce-menubar,.freeform-toolbar .mce-menubar>div,.freeform-toolbar .mce-tinymce-inline,.freeform-toolbar .mce-tinymce-inline>div,.freeform-toolbar div.mce-toolbar-grp,.freeform-toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.freeform-toolbar .mce-tinymce-inline .mce-flow-layout{white-space:normal}.freeform-toolbar .mce-container-body.mce-abs-layout{overflow:visible}.freeform-toolbar .mce-menubar{position:static}.freeform-toolbar div.mce-toolbar-grp{background-color:transparent;border:none;position:static}.freeform-toolbar div.mce-toolbar-grp>div{padding:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none;border-top:1px solid #e2e4e7}.freeform-toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.freeform-toolbar div.mce-btn-group{padding:0;margin:0;border:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn{margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;width:36px;height:36px;border:none;box-sizing:border-box;box-shadow:none;border-radius:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus:active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover:not(:disabled){color:#555d66;outline:none;box-shadow:none;background:inherit}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover{background:none;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:disabled{cursor:default}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn>button{border:1px solid transparent;padding:4px;box-sizing:content-box}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover button{color:#555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled).mce-active button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):focus button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):hover button{border:1px solid #555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active button{background-color:#555d66;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active .mce-ico{color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-listbox{width:auto;border:none;box-shadow:none}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton .mce-preview{bottom:8px;right:8px}.mce-tooltip{display:none}.components-toolbar__control .dashicon{display:block}.editor-block-list__block[data-type="core/latest-posts"] .wp-block-latest-posts{padding-right:2.5em}.editor-block-list__block[data-type="core/latest-posts"] .wp-block-latest-posts.is-grid{padding-right:0}.editor-block-list__block[data-type="core/categories"] .wp-block-categories ul{padding-right:2.5em}.editor-block-list__block[data-type="core/categories"] .wp-block-categories ul ul{margin-top:6px}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce[data-is-empty=true]:before{position:inherit}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce a{color:#fff}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:hsla(0,0%,100%,.3)}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable strong{font-weight:300}.wp-block-text-columns .blocks-editable__tinymce:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}body.admin-color-blue .editor-inserter__tab.is-active,body.admin-color-blue .editor-sidebar__panel-tab.is-active{border-bottom-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#e1a84b;border-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#e1a84b;border-color:#e1a84b}body.admin-color-coffee .editor-inserter__tab.is-active,body.admin-color-coffee .editor-sidebar__panel-tab.is-active{border-bottom-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c6a488;border-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c6a488;border-color:#c6a488}body.admin-color-ectoplasm .editor-inserter__tab.is-active,body.admin-color-ectoplasm .editor-sidebar__panel-tab.is-active{border-bottom-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a0b748;border-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a0b748;border-color:#a0b748}body.admin-color-midnight .editor-inserter__tab.is-active,body.admin-color-midnight .editor-sidebar__panel-tab.is-active{border-bottom-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#e34e46;border-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#e34e46;border-color:#e34e46}body.admin-color-ocean .editor-inserter__tab.is-active,body.admin-color-ocean .editor-sidebar__panel-tab.is-active{border-bottom-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#9bb99f;border-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#9bb99f;border-color:#9bb99f}body.admin-color-sunrise .editor-inserter__tab.is-active,body.admin-color-sunrise .editor-sidebar__panel-tab.is-active{border-bottom-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#de823f;border-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#de823f;border-color:#de823f}@-webkit-keyframes animate_fade{0%{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes animate_fade{0%{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes move_background{0%{background-position:100% 0}to{background-position:28px 0}}@keyframes move_background{0%{background-position:100% 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.editor-block-list__block:not(.is-multi-selected) .wp-block-paragraph{background:#fff}
|
1 |
+
.wp-block-shortcode{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:1em;background-color:#f8f9f9}.wp-block-shortcode,.wp-block-shortcode label{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-shortcode label{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:10px;white-space:nowrap}.wp-block-shortcode textarea{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.wp-block-shortcode .dashicon{margin-left:10px}.wp-block-image{position:relative;margin:0}.wp-block-image img{display:block;width:100%}.wp-block-image.is-transient img{-webkit-animation:loading_fade 1.6s ease-in-out infinite;animation:loading_fade 1.6s ease-in-out infinite}.wp-block-image__resize-handler-bottom-left,.wp-block-image__resize-handler-bottom-right,.wp-block-image__resize-handler-top-left,.wp-block-image__resize-handler-top-right{display:none;border-radius:50%;border:2px solid #fff;width:15px!important;height:15px!important;position:absolute;background:#00a0d2;padding:0 0 3px 3px;box-sizing:border-box;cursor:sw-resize}.wp-block-image.is-focused .wp-block-image__resize-handler-bottom-left,.wp-block-image.is-focused .wp-block-image__resize-handler-bottom-right,.wp-block-image.is-focused .wp-block-image__resize-handler-top-left,.wp-block-image.is-focused .wp-block-image__resize-handler-top-right{display:block;z-index:1}.wp-block-image__resize-handler-top-right{top:-6px!important;right:-6px!important}.wp-block-image__resize-handler-top-left{top:-6px!important;left:-6px!important}.wp-block-image__resize-handler-bottom-right{bottom:-6px!important;right:-6px!important}.wp-block-image__resize-handler-bottom-left{bottom:-6px!important;left:-6px!important}.editor-block-list__block[data-type="core/image"] .blocks-format-toolbar__link-modal{top:0;right:0}.wp-core-ui .wp-block-image__upload-button.button{margin-left:5px}.wp-core-ui .wp-block-image__upload-button.button .dashicon{vertical-align:middle;margin-bottom:3px}.wp-core-ui .wp-block-image__upload-button.button:hover{color:#23282d}.editor-block-list__block[data-type="core/image"][data-align=left],.editor-block-list__block[data-type="core/image"][data-align=right]{max-width:none!important}.editor-block-list__block[data-type="core/image"][data-align=left][data-resized=false],.editor-block-list__block[data-type="core/image"][data-align=right][data-resized=false]{max-width:370px!important}.wp-block-gallery:not(.components-placeholder){margin:-8px}.blocks-gallery-image{position:relative}.blocks-gallery-image.is-selected{outline:4px solid #00a0d2;outline-offset:-4px}.blocks-gallery-image__inline-menu{padding:2px;position:absolute;top:0;left:0;background-color:#00a0d2;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;z-index:20}.blocks-gallery-image__inline-menu .components-button,.blocks-gallery-image__inline-menu .components-button:focus,.blocks-gallery-image__inline-menu .components-button:hover{color:#fff}.blocks-gallery-image__remove{padding:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{margin:0}.wp-block-heading h1{font-size:2em}.wp-block-heading h2{font-size:1.6em}.wp-block-heading h3{font-size:1.4em}.wp-block-heading h4{font-size:1.2em}.wp-block-heading h5{font-size:1.1em}.wp-block-heading h6{font-size:1em}.wp-block-quote:not(.is-large){border-right:4px solid #000;padding-right:1em}.editor-block-list__block[data-type="core/embed"][data-align=left],.editor-block-list__block[data-type="core/embed"][data-align=right]{max-width:100%}.wp-block-embed{margin:0;clear:both}[data-align=left] .wp-block-embed,[data-align=right] .wp-block-embed{width:300px;max-width:100%}.wp-block-embed.is-loading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed.is-video>.wp-block-embed__wrapper{position:relative;width:100%;height:0;padding-top:56.25%}.wp-block-embed.is-video>.wp-block-embed__wrapper>iframe{position:absolute;top:0;right:0;width:100%;height:100%}.blocks-list .blocks-editable__tinymce,.blocks-list .blocks-editable__tinymce ol,.blocks-list .blocks-editable__tinymce ul{padding-right:1.3em;margin-right:1.3em}.editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.gutenberg .wp-block-more input{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;padding-right:8px;padding-left:8px;background:#fff;border:none;box-shadow:none;white-space:nowrap}.gutenberg .wp-block-more input:focus{box-shadow:none}.gutenberg .wp-block-more:before{content:"";position:absolute;top:50%;right:46px;left:46px;border-top:3px dashed #ccd0d4;z-index:-1}.editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.editor-block-list__block[data-type="core/button"][data-align=right]{text-align:left}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button .blocks-format-toolbar__link-modal{z-index:2;top:calc(100% + 2px);right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.wp-block-button .blocks-link-url__suggestions{left:-35px}.wp-block-button .blocks-editable__tinymce{cursor:text}.blocks-button__inline-link{background:#fff;width:280px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.blocks-button__inline-link .blocks-url-input{width:auto}.blocks-button__inline-link .dashicon{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]::-webkit-input-placeholder{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .blocks-button__inline-link{margin-right:auto;margin-left:auto}[data-align=right] .blocks-button__inline-link{margin-right:auto;margin-left:0}.editor-block-list__block[data-type="core/pullquote"][data-align=left],.editor-block-list__block[data-type="core/pullquote"][data-align=right]{max-width:400px}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-editable p,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-editable p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before{font-size:20px}.wp-block-pullquote cite .blocks-editable__tinymce[data-is-empty=true]:before{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-pullquote .blocks-editable__tinymce[data-is-empty=true]:before{width:100%;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.wp-block-pullquote>.blocks-editable p,.wp-block-pullquote>.blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before{font-size:24px;font-weight:900;line-height:1.6}.editor-block-list__block[data-type="core/table"][data-align=left],.editor-block-list__block[data-type="core/table"][data-align=right]{min-width:33%;max-width:50%}.editor-block-list__block[data-type="core/table"][data-align=left]{float:right;margin-left:14px}.editor-block-list__block[data-type="core/table"][data-align=right]{float:left;margin-right:14px}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor}.wp-block-table td[data-mce-selected="1"],.wp-block-table th[data-mce-selected="1"]{background-color:#e2e4e7}.wp-block-preformatted pre{white-space:pre-wrap}.gutenberg .wp-block-code textarea,.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.gutenberg .wp-block-code textarea{box-shadow:none;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.components-tab-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.gutenberg textarea.wp-block-html{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.wp-block-freeform.blocks-editable__tinymce p{line-height:1.8}.wp-block-freeform.blocks-editable__tinymce ol,.wp-block-freeform.blocks-editable__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.blocks-editable__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.blocks-editable__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.blocks-editable__tinymce h1{font-size:2em}.wp-block-freeform.blocks-editable__tinymce h2{font-size:1.6em}.wp-block-freeform.blocks-editable__tinymce h3{font-size:1.4em}.wp-block-freeform.blocks-editable__tinymce h4{font-size:1.2em}.wp-block-freeform.blocks-editable__tinymce h5{font-size:1.1em}.wp-block-freeform.blocks-editable__tinymce h6{font-size:1em}.wp-block-freeform.blocks-editable__tinymce>:first-child{margin-top:0}.wp-block-freeform.blocks-editable__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.blocks-editable__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.blocks-editable__tinymce a{color:#007fac}.wp-block-freeform.blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.blocks-editable__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.blocks-editable__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.freeform-toolbar{position:-webkit-sticky;position:sticky;width:auto;top:-1px;margin-top:-52px;border:1px solid #e2e4e7;z-index:10;background-color:#fff;min-height:36px;margin-bottom:14px}@media (min-width:600px){.freeform-toolbar{margin-right:-15px;margin-left:-15px}}.freeform-toolbar.has-advanced-toolbar{margin-top:-89px}.freeform-toolbar .mce-menubar,.freeform-toolbar .mce-menubar>div,.freeform-toolbar .mce-tinymce-inline,.freeform-toolbar .mce-tinymce-inline>div,.freeform-toolbar div.mce-toolbar-grp,.freeform-toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.freeform-toolbar .mce-tinymce-inline .mce-flow-layout{white-space:normal}.freeform-toolbar .mce-container-body.mce-abs-layout{overflow:visible}.freeform-toolbar .mce-menubar{position:static}.freeform-toolbar div.mce-toolbar-grp{background-color:transparent;border:none;position:static}.freeform-toolbar div.mce-toolbar-grp>div{padding:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none;border-top:1px solid #e2e4e7}.freeform-toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.freeform-toolbar div.mce-btn-group{padding:0;margin:0;border:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn{margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;width:36px;height:36px;border:none;box-sizing:border-box;box-shadow:none;border-radius:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus:active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover:not(:disabled){color:#555d66;outline:none;box-shadow:none;background:inherit}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover{background:none;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:disabled{cursor:default}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn>button{border:1px solid transparent;padding:4px;box-sizing:content-box}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover button{color:#555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled).mce-active button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):focus button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):hover button{border:1px solid #555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active button{background-color:#555d66;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active .mce-ico{color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-listbox{width:auto;border:none;box-shadow:none}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton .mce-preview{bottom:8px;right:8px}.components-toolbar__control .dashicon{display:block}.mce-widget.mce-tooltip{display:block;opacity:1}.mce-widget.mce-tooltip .mce-tooltip-inner{padding:4px 12px;background:#606a73;border-width:0;color:#fff;white-space:nowrap;box-shadow:none;font-size:13px;border-radius:0}.mce-widget.mce-tooltip .mce-tooltip-arrow{border-top-color:#606a73;border-bottom-color:#606a73}.gutenberg .wp-block-latest-posts{padding-right:2.5em}.gutenberg .wp-block-latest-posts.is-grid{padding-right:0}.gutenberg .wp-block-categories ul{padding-right:2.5em}.gutenberg .wp-block-categories ul ul{margin-top:6px}.wp-block-cover-image .blocks-editable__tinymce[data-is-empty=true]:before{position:inherit}.wp-block-cover-image .blocks-editable__tinymce a{color:#fff}.wp-block-cover-image .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:hsla(0,0%,100%,.3)}.wp-block-cover-image .blocks-editable strong{font-weight:300}.wp-block-cover-image.components-placeholder h2{color:inherit}.wp-block-text-columns .blocks-editable__tinymce:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.wp-block-video .button.button-large,.wp-block-video .components-placeholder__input{margin-top:.5em}.wp-block-video audio{width:100%}.wp-block-video .components-placeholder__fieldset{display:block;max-width:400px}.wp-block-video .components-placeholder__fieldset form{max-width:none}.wp-block-audio .button.button-large,.wp-block-audio .components-placeholder__input{margin-top:.5em}.wp-block-audio audio{width:100%}.wp-block-audio .components-placeholder__fieldset{display:block;max-width:400px}.wp-block-audio .components-placeholder__fieldset form{max-width:none}body.admin-color-blue .editor-inserter__tab.is-active,body.admin-color-blue .editor-sidebar__panel-tab.is-active{border-bottom-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#e1a84b;border-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#e1a84b;border-color:#e1a84b}body.admin-color-coffee .editor-inserter__tab.is-active,body.admin-color-coffee .editor-sidebar__panel-tab.is-active{border-bottom-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c6a488;border-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c6a488;border-color:#c6a488}body.admin-color-ectoplasm .editor-inserter__tab.is-active,body.admin-color-ectoplasm .editor-sidebar__panel-tab.is-active{border-bottom-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a0b748;border-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a0b748;border-color:#a0b748}body.admin-color-midnight .editor-inserter__tab.is-active,body.admin-color-midnight .editor-sidebar__panel-tab.is-active{border-bottom-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#e34e46;border-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#e34e46;border-color:#e34e46}body.admin-color-ocean .editor-inserter__tab.is-active,body.admin-color-ocean .editor-sidebar__panel-tab.is-active{border-bottom-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#9bb99f;border-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#9bb99f;border-color:#9bb99f}body.admin-color-sunrise .editor-inserter__tab.is-active,body.admin-color-sunrise .editor-sidebar__panel-tab.is-active{border-bottom-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#de823f;border-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#de823f;border-color:#de823f}@-webkit-keyframes animate_fade{0%{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes animate_fade{0%{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes move_background{0%{background-position:100% 0}to{background-position:28px 0}}@keyframes move_background{0%{background-position:100% 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@-webkit-keyframes slide_in_right{to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide_in_right{to{-webkit-transform:translateX(0);transform:translateX(0)}}.editor-block-list__block:not(.is-multi-selected) .wp-block-paragraph{background:#fff}
|
blocks/build/edit-blocks.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-block-shortcode{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:1em;background-color:#f8f9f9}.wp-block-shortcode,.wp-block-shortcode label{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-shortcode label{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:10px;white-space:nowrap}.wp-block-shortcode textarea{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.wp-block-shortcode .dashicon{margin-right:10px}.wp-block-image{position:relative;margin:0}.wp-block-image img{display:block;width:100%}.wp-block-image.is-transient img{-webkit-animation:loading_fade 1.6s ease-in-out infinite;animation:loading_fade 1.6s ease-in-out infinite}.wp-block-image__resize-handler-bottom-left,.wp-block-image__resize-handler-bottom-right,.wp-block-image__resize-handler-top-left,.wp-block-image__resize-handler-top-right{display:none;border-radius:50%;border:2px solid #fff;width:15px!important;height:15px!important;position:absolute;background:#00a0d2;padding:0 3px 3px 0;box-sizing:border-box;cursor:se-resize}.wp-block-image.is-focused .wp-block-image__resize-handler-bottom-left,.wp-block-image.is-focused .wp-block-image__resize-handler-bottom-right,.wp-block-image.is-focused .wp-block-image__resize-handler-top-left,.wp-block-image.is-focused .wp-block-image__resize-handler-top-right{display:block}/*!rtl:begin:ignore*/.wp-block-image__resize-handler-top-right{top:-6px!important;right:-6px!important}.wp-block-image__resize-handler-top-left{top:-6px!important;left:-6px!important}.wp-block-image__resize-handler-bottom-right{bottom:-6px!important;right:-6px!important}.wp-block-image__resize-handler-bottom-left{bottom:-6px!important;left:-6px!important}/*!rtl:end:ignore*/.editor-block-list__block[data-type="core/image"] .blocks-format-toolbar__link-modal{top:0;left:0}.wp-core-ui .wp-block-image__upload-button.button{margin-right:5px}.wp-core-ui .wp-block-image__upload-button.button .dashicon{vertical-align:middle;margin-bottom:3px}.wp-core-ui .wp-block-image__upload-button.button:hover{color:#23282d}.editor-block-list__block[data-type="core/image"][data-align=left],.editor-block-list__block[data-type="core/image"][data-align=right]{max-width:none!important}.editor-block-list__block[data-type="core/image"][data-align=left][data-resized=false],.editor-block-list__block[data-type="core/image"][data-align=right][data-resized=false]{max-width:370px!important}.wp-block-gallery:not(.components-placeholder){margin-right:-16px;margin-bottom:-16px}.editor-block-list__block[data-type="core/gallery"] .editor-block-list__block-edit{overflow:hidden}.blocks-gallery-image{position:relative}.blocks-gallery-image.is-selected{outline:4px solid #00a0d2;outline-offset:-4px}.blocks-gallery-image__inline-menu{padding:2px;position:absolute;top:0;right:0;background-color:#00a0d2;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;z-index:20}.blocks-gallery-image__inline-menu .components-button,.blocks-gallery-image__inline-menu .components-button:focus,.blocks-gallery-image__inline-menu .components-button:hover{color:#fff}.blocks-gallery-image__remove{padding:0}.editor-block-list__block[data-type="core/heading"] h1,.editor-block-list__block[data-type="core/heading"] h2,.editor-block-list__block[data-type="core/heading"] h3,.editor-block-list__block[data-type="core/heading"] h4,.editor-block-list__block[data-type="core/heading"] h5,.editor-block-list__block[data-type="core/heading"] h6{margin:0}.editor-block-list__block[data-type="core/heading"] h1{font-size:2em}.editor-block-list__block[data-type="core/heading"] h2{font-size:1.6em}.editor-block-list__block[data-type="core/heading"] h3{font-size:1.4em}.editor-block-list__block[data-type="core/heading"] h4{font-size:1.2em}.editor-block-list__block[data-type="core/heading"] h5{font-size:1.1em}.editor-block-list__block[data-type="core/heading"] h6{font-size:1em}.wp-block-quote:not(.is-large){border-left:4px solid #000;padding-left:1em}.editor-block-list__block[data-type="core/embed"][data-align=left],.editor-block-list__block[data-type="core/embed"][data-align=right]{max-width:100%}.wp-block-embed{margin:0;clear:both}[data-align=left] .wp-block-embed,[data-align=right] .wp-block-embed{width:300px;max-width:100%}.wp-block-embed.is-loading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed.is-video>.wp-block-embed__wrapper{position:relative;width:100%;height:0;padding-top:56.25%}.wp-block-embed.is-video>.wp-block-embed__wrapper>iframe{position:absolute;top:0;left:0;width:100%;height:100%}.blocks-list .blocks-editable__tinymce,.blocks-list .blocks-editable__tinymce ol,.blocks-list .blocks-editable__tinymce ul{padding-left:1.3em;list-style-position:inside;margin-left:0}.editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.editor-block-list__block .wp-block-more input{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;padding-left:8px;padding-right:8px;background:#fff;border:none;box-shadow:none;white-space:nowrap}.editor-block-list__block .wp-block-more input:focus{box-shadow:none}.editor-block-list__block .wp-block-more:before{content:"";position:absolute;top:50%;left:46px;right:46px;border-top:3px dashed #ccd0d4;z-index:-1}.editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button .blocks-format-toolbar__link-modal{z-index:2;top:48px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.wp-block-button .blocks-link-url__suggestions{right:-35px}.wp-block-button .blocks-editable__tinymce{cursor:text}.blocks-button__inline-link{background:#fff;width:280px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.blocks-button__inline-link .blocks-url-input{width:auto}.blocks-button__inline-link .dashicon{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]::-webkit-input-placeholder{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .blocks-button__inline-link{margin-left:auto;margin-right:auto}[data-align=right] .blocks-button__inline-link{margin-left:auto;margin-right:0}.editor-block-list__block[data-type="core/pullquote"][data-align=left],.editor-block-list__block[data-type="core/pullquote"][data-align=right]{max-width:400px}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-editable p,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-editable p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before{font-size:20px}.wp-block-pullquote cite .blocks-editable__tinymce[data-is-empty=true]:before{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-pullquote .blocks-editable__tinymce[data-is-empty=true]:before{width:100%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.wp-block-pullquote>.blocks-editable p,.wp-block-pullquote>.blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before{font-size:24px;font-weight:900;line-height:1.6}.editor-block-list__block[data-type="core/table"] .editor-block-toolbar__group>div:not(.editor-block-toolbar__mobile-tools){display:-webkit-box;display:-ms-flexbox;display:flex}.editor-block-list__block[data-type="core/table"][data-align=left],.editor-block-list__block[data-type="core/table"][data-align=right]{min-width:33%;max-width:50%}.editor-block-list__block[data-type="core/table"][data-align=left]{float:left;margin-right:14px}.editor-block-list__block[data-type="core/table"][data-align=right]{float:right;margin-left:14px}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor}.wp-block-table td[data-mce-selected="1"],.wp-block-table th[data-mce-selected="1"]{background-color:#e2e4e7}div[data-type="core/preformatted"] pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}div[data-type="core/code"] textarea{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.components-tab-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}div[data-type="core/html"] textarea{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce p{line-height:1.8}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce ol,.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce ul{padding-left:2.5em;margin-left:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h1{font-size:2em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h2{font-size:1.6em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h3{font-size:1.4em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h4{font-size:1.2em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h5{font-size:1.1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h6{font-size:1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce>:first-child{margin-top:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce>:last-child{margin-bottom:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce.mce-edit-focus{outline:none}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce a{color:#007fac}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.freeform-toolbar{position:-webkit-sticky;position:sticky;width:auto;top:-1px;margin-top:-52px;border:1px solid #e2e4e7;z-index:10;background-color:#fff;min-height:36px;margin-bottom:14px}@media (min-width:600px){.freeform-toolbar{margin-left:-15px;margin-right:-15px}}.freeform-toolbar.has-advanced-toolbar{margin-top:-89px}.freeform-toolbar .mce-menubar,.freeform-toolbar .mce-menubar>div,.freeform-toolbar .mce-tinymce-inline,.freeform-toolbar .mce-tinymce-inline>div,.freeform-toolbar div.mce-toolbar-grp,.freeform-toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.freeform-toolbar .mce-tinymce-inline .mce-flow-layout{white-space:normal}.freeform-toolbar .mce-container-body.mce-abs-layout{overflow:visible}.freeform-toolbar .mce-menubar{position:static}.freeform-toolbar div.mce-toolbar-grp{background-color:transparent;border:none;position:static}.freeform-toolbar div.mce-toolbar-grp>div{padding:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none;border-top:1px solid #e2e4e7}.freeform-toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.freeform-toolbar div.mce-btn-group{padding:0;margin:0;border:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn{margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;width:36px;height:36px;border:none;box-sizing:border-box;box-shadow:none;border-radius:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus:active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover:not(:disabled){color:#555d66;outline:none;box-shadow:none;background:inherit}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover{background:none;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:disabled{cursor:default}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn>button{border:1px solid transparent;padding:4px;box-sizing:content-box}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover button{color:#555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled).mce-active button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):focus button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):hover button{border:1px solid #555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active button{background-color:#555d66;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active .mce-ico{color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-listbox{width:auto;border:none;box-shadow:none}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton .mce-preview{bottom:8px;left:8px}.mce-tooltip{display:none}.components-toolbar__control .dashicon{display:block}.editor-block-list__block[data-type="core/latest-posts"] .wp-block-latest-posts{padding-left:2.5em}.editor-block-list__block[data-type="core/latest-posts"] .wp-block-latest-posts.is-grid{padding-left:0}.editor-block-list__block[data-type="core/categories"] .wp-block-categories ul{padding-left:2.5em}.editor-block-list__block[data-type="core/categories"] .wp-block-categories ul ul{margin-top:6px}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce[data-is-empty=true]:before{position:inherit}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce a{color:#fff}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:hsla(0,0%,100%,.3)}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable strong{font-weight:300}.wp-block-text-columns .blocks-editable__tinymce:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}body.admin-color-blue .editor-inserter__tab.is-active,body.admin-color-blue .editor-sidebar__panel-tab.is-active{border-bottom-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#e1a84b;border-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#e1a84b;border-color:#e1a84b}body.admin-color-coffee .editor-inserter__tab.is-active,body.admin-color-coffee .editor-sidebar__panel-tab.is-active{border-bottom-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c6a488;border-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c6a488;border-color:#c6a488}body.admin-color-ectoplasm .editor-inserter__tab.is-active,body.admin-color-ectoplasm .editor-sidebar__panel-tab.is-active{border-bottom-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a0b748;border-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a0b748;border-color:#a0b748}body.admin-color-midnight .editor-inserter__tab.is-active,body.admin-color-midnight .editor-sidebar__panel-tab.is-active{border-bottom-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#e34e46;border-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#e34e46;border-color:#e34e46}body.admin-color-ocean .editor-inserter__tab.is-active,body.admin-color-ocean .editor-sidebar__panel-tab.is-active{border-bottom-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#9bb99f;border-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#9bb99f;border-color:#9bb99f}body.admin-color-sunrise .editor-inserter__tab.is-active,body.admin-color-sunrise .editor-sidebar__panel-tab.is-active{border-bottom-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#de823f;border-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#de823f;border-color:#de823f}@-webkit-keyframes animate_fade{0%{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes animate_fade{0%{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes move_background{0%{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{0%{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.editor-block-list__block:not(.is-multi-selected) .wp-block-paragraph{background:#fff}
|
1 |
+
.wp-block-shortcode{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:1em;background-color:#f8f9f9}.wp-block-shortcode,.wp-block-shortcode label{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-shortcode label{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:10px;white-space:nowrap}.wp-block-shortcode textarea{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.wp-block-shortcode .dashicon{margin-right:10px}.wp-block-image{position:relative;margin:0}.wp-block-image img{display:block;width:100%}.wp-block-image.is-transient img{-webkit-animation:loading_fade 1.6s ease-in-out infinite;animation:loading_fade 1.6s ease-in-out infinite}.wp-block-image__resize-handler-bottom-left,.wp-block-image__resize-handler-bottom-right,.wp-block-image__resize-handler-top-left,.wp-block-image__resize-handler-top-right{display:none;border-radius:50%;border:2px solid #fff;width:15px!important;height:15px!important;position:absolute;background:#00a0d2;padding:0 3px 3px 0;box-sizing:border-box;cursor:se-resize}.wp-block-image.is-focused .wp-block-image__resize-handler-bottom-left,.wp-block-image.is-focused .wp-block-image__resize-handler-bottom-right,.wp-block-image.is-focused .wp-block-image__resize-handler-top-left,.wp-block-image.is-focused .wp-block-image__resize-handler-top-right{display:block;z-index:1}/*!rtl:begin:ignore*/.wp-block-image__resize-handler-top-right{top:-6px!important;right:-6px!important}.wp-block-image__resize-handler-top-left{top:-6px!important;left:-6px!important}.wp-block-image__resize-handler-bottom-right{bottom:-6px!important;right:-6px!important}.wp-block-image__resize-handler-bottom-left{bottom:-6px!important;left:-6px!important}/*!rtl:end:ignore*/.editor-block-list__block[data-type="core/image"] .blocks-format-toolbar__link-modal{top:0;left:0}.wp-core-ui .wp-block-image__upload-button.button{margin-right:5px}.wp-core-ui .wp-block-image__upload-button.button .dashicon{vertical-align:middle;margin-bottom:3px}.wp-core-ui .wp-block-image__upload-button.button:hover{color:#23282d}.editor-block-list__block[data-type="core/image"][data-align=left],.editor-block-list__block[data-type="core/image"][data-align=right]{max-width:none!important}.editor-block-list__block[data-type="core/image"][data-align=left][data-resized=false],.editor-block-list__block[data-type="core/image"][data-align=right][data-resized=false]{max-width:370px!important}.wp-block-gallery:not(.components-placeholder){margin:-8px}.blocks-gallery-image{position:relative}.blocks-gallery-image.is-selected{outline:4px solid #00a0d2;outline-offset:-4px}.blocks-gallery-image__inline-menu{padding:2px;position:absolute;top:0;right:0;background-color:#00a0d2;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;z-index:20}.blocks-gallery-image__inline-menu .components-button,.blocks-gallery-image__inline-menu .components-button:focus,.blocks-gallery-image__inline-menu .components-button:hover{color:#fff}.blocks-gallery-image__remove{padding:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{margin:0}.wp-block-heading h1{font-size:2em}.wp-block-heading h2{font-size:1.6em}.wp-block-heading h3{font-size:1.4em}.wp-block-heading h4{font-size:1.2em}.wp-block-heading h5{font-size:1.1em}.wp-block-heading h6{font-size:1em}.wp-block-quote:not(.is-large){border-left:4px solid #000;padding-left:1em}.editor-block-list__block[data-type="core/embed"][data-align=left],.editor-block-list__block[data-type="core/embed"][data-align=right]{max-width:100%}.wp-block-embed{margin:0;clear:both}[data-align=left] .wp-block-embed,[data-align=right] .wp-block-embed{width:300px;max-width:100%}.wp-block-embed.is-loading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed.is-video>.wp-block-embed__wrapper{position:relative;width:100%;height:0;padding-top:56.25%}.wp-block-embed.is-video>.wp-block-embed__wrapper>iframe{position:absolute;top:0;left:0;width:100%;height:100%}.blocks-list .blocks-editable__tinymce,.blocks-list .blocks-editable__tinymce ol,.blocks-list .blocks-editable__tinymce ul{padding-left:1.3em;margin-left:1.3em}.editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.gutenberg .wp-block-more input{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;padding-left:8px;padding-right:8px;background:#fff;border:none;box-shadow:none;white-space:nowrap}.gutenberg .wp-block-more input:focus{box-shadow:none}.gutenberg .wp-block-more:before{content:"";position:absolute;top:50%;left:46px;right:46px;border-top:3px dashed #ccd0d4;z-index:-1}.editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button .blocks-format-toolbar__link-modal{z-index:2;top:calc(100% + 2px);left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.wp-block-button .blocks-link-url__suggestions{right:-35px}.wp-block-button .blocks-editable__tinymce{cursor:text}.blocks-button__inline-link{background:#fff;width:280px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.blocks-button__inline-link .blocks-url-input{width:auto}.blocks-button__inline-link .dashicon{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]::-webkit-input-placeholder{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.blocks-button__inline-link .blocks-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .blocks-button__inline-link{margin-left:auto;margin-right:auto}[data-align=right] .blocks-button__inline-link{margin-left:auto;margin-right:0}.editor-block-list__block[data-type="core/pullquote"][data-align=left],.editor-block-list__block[data-type="core/pullquote"][data-align=right]{max-width:400px}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-editable p,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-editable p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before{font-size:20px}.wp-block-pullquote cite .blocks-editable__tinymce[data-is-empty=true]:before{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-pullquote .blocks-editable__tinymce[data-is-empty=true]:before{width:100%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.wp-block-pullquote>.blocks-editable p,.wp-block-pullquote>.blocks-pullquote__content .blocks-editable__tinymce[data-is-empty=true]:before{font-size:24px;font-weight:900;line-height:1.6}.editor-block-list__block[data-type="core/table"][data-align=left],.editor-block-list__block[data-type="core/table"][data-align=right]{min-width:33%;max-width:50%}.editor-block-list__block[data-type="core/table"][data-align=left]{float:left;margin-right:14px}.editor-block-list__block[data-type="core/table"][data-align=right]{float:right;margin-left:14px}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor}.wp-block-table td[data-mce-selected="1"],.wp-block-table th[data-mce-selected="1"]{background-color:#e2e4e7}.wp-block-preformatted pre{white-space:pre-wrap}.gutenberg .wp-block-code textarea,.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.gutenberg .wp-block-code textarea{box-shadow:none;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.components-tab-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.gutenberg textarea.wp-block-html{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.wp-block-freeform.blocks-editable__tinymce p{line-height:1.8}.wp-block-freeform.blocks-editable__tinymce ol,.wp-block-freeform.blocks-editable__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.blocks-editable__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.blocks-editable__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.blocks-editable__tinymce h1{font-size:2em}.wp-block-freeform.blocks-editable__tinymce h2{font-size:1.6em}.wp-block-freeform.blocks-editable__tinymce h3{font-size:1.4em}.wp-block-freeform.blocks-editable__tinymce h4{font-size:1.2em}.wp-block-freeform.blocks-editable__tinymce h5{font-size:1.1em}.wp-block-freeform.blocks-editable__tinymce h6{font-size:1em}.wp-block-freeform.blocks-editable__tinymce>:first-child{margin-top:0}.wp-block-freeform.blocks-editable__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.blocks-editable__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.blocks-editable__tinymce a{color:#007fac}.wp-block-freeform.blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.blocks-editable__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.blocks-editable__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.freeform-toolbar{position:-webkit-sticky;position:sticky;width:auto;top:-1px;margin-top:-52px;border:1px solid #e2e4e7;z-index:10;background-color:#fff;min-height:36px;margin-bottom:14px}@media (min-width:600px){.freeform-toolbar{margin-left:-15px;margin-right:-15px}}.freeform-toolbar.has-advanced-toolbar{margin-top:-89px}.freeform-toolbar .mce-menubar,.freeform-toolbar .mce-menubar>div,.freeform-toolbar .mce-tinymce-inline,.freeform-toolbar .mce-tinymce-inline>div,.freeform-toolbar div.mce-toolbar-grp,.freeform-toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.freeform-toolbar .mce-tinymce-inline .mce-flow-layout{white-space:normal}.freeform-toolbar .mce-container-body.mce-abs-layout{overflow:visible}.freeform-toolbar .mce-menubar{position:static}.freeform-toolbar div.mce-toolbar-grp{background-color:transparent;border:none;position:static}.freeform-toolbar div.mce-toolbar-grp>div{padding:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none;border-top:1px solid #e2e4e7}.freeform-toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.freeform-toolbar div.mce-btn-group{padding:0;margin:0;border:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn{margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;width:36px;height:36px;border:none;box-sizing:border-box;box-shadow:none;border-radius:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus:active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover:not(:disabled){color:#555d66;outline:none;box-shadow:none;background:inherit}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover{background:none;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:disabled{cursor:default}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn>button{border:1px solid transparent;padding:4px;box-sizing:content-box}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover button{color:#555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled).mce-active button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):focus button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):hover button{border:1px solid #555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active button{background-color:#555d66;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active .mce-ico{color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-listbox{width:auto;border:none;box-shadow:none}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton .mce-preview{bottom:8px;left:8px}.components-toolbar__control .dashicon{display:block}.mce-widget.mce-tooltip{display:block;opacity:1}.mce-widget.mce-tooltip .mce-tooltip-inner{padding:4px 12px;background:#606a73;border-width:0;color:#fff;white-space:nowrap;box-shadow:none;font-size:13px;border-radius:0}.mce-widget.mce-tooltip .mce-tooltip-arrow{border-top-color:#606a73;border-bottom-color:#606a73}.gutenberg .wp-block-latest-posts{padding-left:2.5em}.gutenberg .wp-block-latest-posts.is-grid{padding-left:0}.gutenberg .wp-block-categories ul{padding-left:2.5em}.gutenberg .wp-block-categories ul ul{margin-top:6px}.wp-block-cover-image .blocks-editable__tinymce[data-is-empty=true]:before{position:inherit}.wp-block-cover-image .blocks-editable__tinymce a{color:#fff}.wp-block-cover-image .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:hsla(0,0%,100%,.3)}.wp-block-cover-image .blocks-editable strong{font-weight:300}.wp-block-cover-image.components-placeholder h2{color:inherit}.wp-block-text-columns .blocks-editable__tinymce:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.wp-block-video .button.button-large,.wp-block-video .components-placeholder__input{margin-top:.5em}.wp-block-video audio{width:100%}.wp-block-video .components-placeholder__fieldset{display:block;max-width:400px}.wp-block-video .components-placeholder__fieldset form{max-width:none}.wp-block-audio .button.button-large,.wp-block-audio .components-placeholder__input{margin-top:.5em}.wp-block-audio audio{width:100%}.wp-block-audio .components-placeholder__fieldset{display:block;max-width:400px}.wp-block-audio .components-placeholder__fieldset form{max-width:none}body.admin-color-blue .editor-inserter__tab.is-active,body.admin-color-blue .editor-sidebar__panel-tab.is-active{border-bottom-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#e1a84b;border-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#e1a84b}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#e1a84b;border-color:#e1a84b}body.admin-color-coffee .editor-inserter__tab.is-active,body.admin-color-coffee .editor-sidebar__panel-tab.is-active{border-bottom-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c6a488;border-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#c6a488}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c6a488;border-color:#c6a488}body.admin-color-ectoplasm .editor-inserter__tab.is-active,body.admin-color-ectoplasm .editor-sidebar__panel-tab.is-active{border-bottom-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a0b748;border-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#a0b748}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a0b748;border-color:#a0b748}body.admin-color-midnight .editor-inserter__tab.is-active,body.admin-color-midnight .editor-sidebar__panel-tab.is-active{border-bottom-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#e34e46;border-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#e34e46}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#e34e46;border-color:#e34e46}body.admin-color-ocean .editor-inserter__tab.is-active,body.admin-color-ocean .editor-sidebar__panel-tab.is-active{border-bottom-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#9bb99f;border-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#9bb99f}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#9bb99f;border-color:#9bb99f}body.admin-color-sunrise .editor-inserter__tab.is-active,body.admin-color-sunrise .editor-sidebar__panel-tab.is-active{border-bottom-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#de823f;border-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#de823f}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#de823f;border-color:#de823f}@-webkit-keyframes animate_fade{0%{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes animate_fade{0%{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes move_background{0%{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{0%{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@-webkit-keyframes slide_in_right{to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide_in_right{to{-webkit-transform:translateX(0);transform:translateX(0)}}.editor-block-list__block:not(.is-multi-selected) .wp-block-paragraph{background:#fff}
|
blocks/build/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
this.wp=this.wp||{},this.wp.blocks=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=
|
2 |
Copyright (c) 2016 Jed Watson.
|
3 |
Licensed under the MIT License (MIT), see
|
4 |
http://jedwatson.github.io/classnames
|
5 |
*/
|
6 |
-
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){var r=n(159),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(15),o=n(10),i=n(34),a=n(29),s=function(e,t,n){var l,c,u,p=e&s.F,f=e&s.G,d=e&s.S,h=e&s.P,b=e&s.B,g=e&s.W,m=f?o:o[t]||(o[t]={}),v=m.prototype,y=f?r:d?r[t]:(r[t]||{}).prototype;f&&(n=t);for(l in n)(c=!p&&y&&void 0!==y[l])&&l in m||(u=c?y[l]:n[l],m[l]=f&&"function"!=typeof y[l]?n[l]:b&&c?i(u,r):g&&y[l]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):h&&"function"==typeof u?i(Function.call,u):u,h&&((m.virtual||(m.virtual={}))[l]=u,e&s.R&&v&&!v[l]&&a(v,l,u)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var o=n(695),i=r(o),a=n(696),s=r(a),l=n(698),c=r(l),u=n(699),p=r(u),f=n(700),d=r(f),h=n(701),b=r(h);t.hover=p.default,t.handleHover=p.default,t.handleActive=d.default,t.loop=b.default;var g=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=(0,i.default)(n),a=(0,s.default)(e,o);return(0,c.default)(a)};t.default=g},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(31);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(22),o=n(122),i=n(87),a=Object.defineProperty;t.f=n(24)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(38)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):l(e)}var o=n(291),i=n(327),a=n(51),s=n(11),l=n(332);e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){"use strict";var r=n(427);n.d(t,"a",function(){return r.a}),n.d(t,"t",function(){return r.c}),n.d(t,"b",function(){return r.b});var o=n(464);n.d(t,"n",function(){return o.a}),n.d(t,"c",function(){return o.b});var i=n(633);n.d(t,"o",function(){return i.a});var a=n(465);n.d(t,"q",function(){return a.a}),n.d(t,"e",function(){return a.c}),n.d(t,"d",function(){return a.b});var s=n(547);n.d(t,"m",function(){return s.a});var l=n(545);n.d(t,"h",function(){return l.a});var c=n(232);n.d(t,"p",function(){return c.g}),n.d(t,"u",function(){return c.j}),n.d(t,"s",function(){return c.i}),n.d(t,"j",function(){return c.d}),n.d(t,"r",function(){return c.h}),n.d(t,"i",function(){return c.c}),n.d(t,"f",function(){return c.a}),n.d(t,"g",function(){return c.b}),n.d(t,"k",function(){return c.e}),n.d(t,"l",function(){return c.f})},function(e,t,n){var r=n(23),o=n(49);e.exports=n(24)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(110),o=n(69);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(112),i=n(136);e.exports=r},function(e,t,n){var r=n(56);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){function r(e){return null==e?void 0===e?l:s:c&&c in Object(e)?i(e):a(e)}var o=n(45),i=n(225),a=n(226),s="[object Null]",l="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(106),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(198),i=n(199),a=n(33);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.children;return wp.element.createElement(o.Fill,{name:"Inspector.Controls"},t)}t.a=r;var o=n(1),i=(n.n(o),n(207)),a=n(610),s=n(612),l=n(276),c=n(462),u=n(463),p=n(617),f=n(179);r.BaseControl=i.a,r.CheckboxControl=a.a,r.RadioControl=s.a,r.RangeControl=l.a,r.SelectControl=c.a,r.TextControl=u.a,r.TextareaControl=p.a,r.ToggleControl=f.a},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(227),i=n(230);e.exports=r},function(e,t){e.exports={}},,function(e,t,n){var r=n(123),o=n(79);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(18),o=r.Symbol;e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.children;return wp.element.createElement("div",{className:"components-block-description"},t)}t.a=r;var o=n(647);n.n(o)},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(702);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(o).default}});var i=n(555);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(i).default}});var a=n(705);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(a).default}});var s=n(706);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(s).default}});var l=n(708);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(l).default}});var c=n(556);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(c).default}});var u=n(711);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(u).default}})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){var r=n(216),o=r(!0);e.exports=o},,function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(104);e.exports=r},function(e,t){!function(){e.exports=this.wp.utils}()},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(69);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(269),o=n(176),i=r(o);e.exports=i},function(e,t,n){var r=n(140),o=n(337),i=o(r);e.exports=i},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(11),i=n(139),a=n(328),s=n(64);e.exports=r},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(65),i=1/0;e.exports=r},function(e,t,n){"use strict";var r=n(235)(!0);n(142)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(190);e.exports=r},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(35),i=n(25),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=r?r(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?i(n,c,u):o(n,c,u)}return n}var o=n(125),i=n(82);e.exports=r},function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n(50),i=n(26),a=n(217),s=n(11);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.controls,n=e.children;return wp.element.createElement(o.Fill,{name:"Formatting.Toolbar"},wp.element.createElement(o.Toolbar,{controls:t}),n)}t.a=r;var o=n(1);n.n(o)},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=n(334);e.exports=r},function(e,t,n){var r=n(23).f,o=n(32),i=n(16)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(31),o=n(15).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(70),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(78)("keys"),o=n(63);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports=!0},function(e,t,n){var r=n(15),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(231),o=n(25),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t){function n(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(164);e.exports=r},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(51),i=n(165),a=n(126);e.exports=r},function(e,t,n){var r=n(21),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){n(244);for(var r=n(15),o=n(29),i=n(42),a=n(16)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],p=u&&u.prototype;p&&!p[a]&&o(p,a,c),i[c]=i.Array}},function(e,t,n){"use strict";function r(e,t){if("all"===t["data-mce-bogus"])return null;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.hasOwnProperty("data-mce-bogus")?r:G.createElement.apply(void 0,[e,D()(t,function(e,t){return 0===t.indexOf("data-mce-")})].concat(r))}function o(e){return e.childNodes&&1===e.childNodes.length&&"A"===e.childNodes[0].nodeName&&1===e.childNodes[0].text.length&&"\ufeff"===e.childNodes[0].text[0]}function i(e,t){switch(e){case"link":var n=j()(t,function(e){return"a"===e.nodeName.toLowerCase()});return n?{value:n.getAttribute("href")||"",target:n.getAttribute("target")||"",node:n}:{};default:return{}}}var a=n(106),s=n.n(a),l=n(37),c=n.n(l),u=n(12),p=n.n(u),f=n(150),d=(n.n(f),n(4)),h=n.n(d),b=n(5),g=n.n(b),m=n(6),v=n.n(m),y=n(7),_=n.n(y),w=n(8),x=n.n(w),k=n(27),E=n.n(k),O=n(653),C=n.n(O),S=n(58),j=n.n(S),T=n(51),A=n.n(T),P=n(655),R=n.n(P),N=n(251),L=n.n(N),M=n(659),D=n.n(M),B=n(119),I=n.n(B),F=n(117),z=n.n(F),H=n(487),q=n.n(H),U=n(17),K=n.n(U),V=n(549),W=(n.n(V),n(252)),G=(n.n(W),n(2)),$=(n.n(G),n(55)),X=(n.n($),n(1)),Y=(n.n(X),n(660)),Z=(n.n(Y),n(28)),Q=n(661),J=n(663),ee=n(553),te=n(665),ne=n(667),re=$.keycodes.BACKSPACE,oe=$.keycodes.DELETE,ie=$.keycodes.ENTER,ae=["bold","italic","strikethrough","link"],se=function(e){function t(e){g()(this,t);var n=_()(this,(t.__proto__||h()(t)).apply(this,arguments)),r=e.value;return n.onInit=n.onInit.bind(n),n.getSettings=n.getSettings.bind(n),n.onSetup=n.onSetup.bind(n),n.onChange=n.onChange.bind(n),n.onNewBlock=n.onNewBlock.bind(n),n.onFocus=n.onFocus.bind(n),n.onNodeChange=n.onNodeChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.onKeyUp=n.onKeyUp.bind(n),n.changeFormats=n.changeFormats.bind(n),n.onSelectionChange=n.onSelectionChange.bind(n),n.maybePropagateUndo=n.maybePropagateUndo.bind(n),n.onPastePreProcess=n.onPastePreProcess.bind(n),n.onPaste=n.onPaste.bind(n),n.state={formats:{},empty:!r||!r.length,selectedNodeId:0},n}return x()(t,e),v()(t,[{key:"getSettings",value:function(e){return(this.props.getSettings||A.a)(p()({},e,{forced_root_block:this.props.multiline||!1}))}},{key:"onSetup",value:function(e){var t=this;this.editor=e,ne.a.forEach(function(n){e.on(n,t.proxyPropHandler(n))}),e.on("init",this.onInit),e.on("focusout",this.onChange),e.on("NewBlock",this.onNewBlock),e.on("focusin",this.onFocus),e.on("nodechange",this.onNodeChange),e.on("keydown",this.onKeyDown),e.on("keyup",this.onKeyUp),e.on("selectionChange",this.onSelectionChange),e.on("BeforeExecCommand",this.maybePropagateUndo),e.on("PastePreProcess",this.onPastePreProcess,!0),e.on("paste",this.onPaste,!0),te.a.apply(this,[e]),this.props.onSetup&&this.props.onSetup(e)}},{key:"proxyPropHandler",value:function(e){var t=this;return function(n){"Focus"!==e&&"function"==typeof t.props["on"+e]&&t.props["on"+e](n)}}},{key:"onInit",value:function(){this.updateFocus(),this.registerCustomFormatters()}},{key:"adaptFormatter",value:function(e){switch(e.type){case"inline-style":return{inline:"span",styles:p()({},e.style)}}}},{key:"registerCustomFormatters",value:function(){var e=this;L()(this.props.formatters,function(t){e.editor.formatter.register(t.format,e.adaptFormatter(t))})}},{key:"onFocus",value:function(){this.props.onFocus&&this.props.onFocus()}},{key:"isActive",value:function(){return document.activeElement===this.editor.getBody()}},{key:"onSelectionChange",value:function(){if(this.isActive()){var e=this.editor.selection.isCollapsed();this.setState({empty:q.a.DOM.isEmpty(this.editor.getBody())}),this.props.focus&&this.props.onFocus&&this.props.focus.collapsed!==e&&this.props.onFocus(p()({},this.props.focus,{collapsed:e}))}}},{key:"maybePropagateUndo",value:function(e){var t=this.context.onUndo;t&&"Undo"===e.command&&!this.editor.undoManager.hasUndo()&&C()(t)}},{key:"onPaste",value:function(e){var t=e.clipboardData||e.dataTransfer||this.editor.getDoc().dataTransfer,n=t.items,r=void 0===n?[]:n,o=t.files,i=void 0===o?[]:o,a=j()([].concat(c()(r),c()(i)),function(e){return/^image\/(?:jpe?g|png|gif)$/.test(e.type)});if(a){window.console.log("Received item:\n\n",a);var s=a.getAsFile?a.getAsFile():a;this.pastedContent='<img src="'+Object($.createBlobURL)(s)+'">'}this.pastedPlainText=t?t.getData("text/plain"):"",this.isPlainTextPaste=t&&1===t.types.length&&"text/plain"===t.types[0]}},{key:"onPastePreProcess",value:function(e){var t=this.isPlainTextPaste?this.pastedPlainText:e.content;if(window.console.log("Received HTML:\n\n",this.pastedContent||t),window.console.log("Received plain text:\n\n",this.pastedPlainText),!this.editor.selection.isCollapsed()){var n=/^(?:https?:)?\/\/\S+$/i,r=e.content.replace(/<[^>]+>/g,"").trim(),o=this.editor.selection.getContent().replace(/<[^>]+>/g,"").trim();if(n.test(r)&&!n.test(o))return this.editor.execCommand("mceInsertLink",!1,{href:this.editor.dom.decode(r)}),window.console.log("Created link:\n\n",r),void e.preventDefault()}var i=this.editor.getBody(),a=this.editor.dom.isEmpty(i),s="INLINE";a&&this.props.onReplace?s="BLOCKS":this.props.onSplit&&(s="AUTO");var l=Object(Z.o)({HTML:this.pastedContent||t,plainText:this.pastedPlainText,mode:s});if("string"==typeof l)e.content=l;else if(this.props.onSplit){if(e.preventDefault(),!l.length)return;a&&this.props.onReplace?this.props.onReplace(l):this.splitContent(l)}}},{key:"fireChange",value:function(){this.savedContent=this.getContent(),this.editor.save(),this.props.onChange(this.savedContent)}},{key:"onChange",value:function(){this.editor.isDirty()&&this.fireChange()}},{key:"getEditorSelectionRect",value:function(){var e=this.editor.selection.getRng();if(e.collapsed){var t=e,n=t.startContainer,r=t.startOffset;e=document.createRange(),n.nodeValue&&0!==n.nodeValue.length?r===n.nodeValue.length?(e.setStart(n,n.nodeValue.length-1),e.setEnd(n,n.nodeValue.length)):(e.setStart(n,r),e.setEnd(n,r+1)):e.selectNode(n)}return e.getBoundingClientRect()}},{key:"getFocusPosition",value:function(){var e=this.getEditorSelectionRect(),t=this.props.inlineToolbar?this.editor.getBody().closest(".blocks-editable"):this.editor.getBody().closest(".editor-block-list__block"),n=t.getBoundingClientRect(),r=this.props.inlineToolbar?{top:10,left:0}:{top:0,left:-46};return{top:e.top-n.top+e.height+r.top,left:e.left-n.left-152.5+e.width/2+r.left}}},{key:"isStartOfEditor",value:function(){var e=this.editor.selection.getRng();if(0!==e.startOffset||!e.collapsed)return!1;for(var t=e.startContainer,n=this.editor.getBody(),r=t;r!==n;){var o=r;if(r=r.parentNode,r.firstChild!==o)return!1}return!0}},{key:"isEndOfEditor",value:function(){var e=this.editor.selection.getRng();if(e.endOffset!==e.endContainer.textContent.length||!e.collapsed)return!1;for(var t=e.endContainer,n=this.editor.getBody(),r=t;r!==n;){var o=r;if(r=r.parentNode,r.lastChild!==o)return!1}return!0}},{key:"onKeyDown",value:function(e){if(this.props.onMerge&&(e.keyCode===re&&this.isStartOfEditor()||e.keyCode===oe&&this.isEndOfEditor())){var t=e.keyCode===oe;this.fireChange(),this.props.onMerge(t),e.preventDefault(),e.stopImmediatePropagation()}if(e.keyCode===ie)if(this.props.multiline){if(!this.props.onSplit)return;var n=this.editor.getBody(),o=this.editor.selection.getNode();if(o.parentNode!==n)return;var i=this.editor.dom;if(!i.isEmpty(o))return;e.preventDefault();var a=s()(n.childNodes),l=i.nodeIndex(o),c=a.slice(0,l),u=a.slice(l+1),p=Object(V.nodeListToReact)(c,r),f=Object(V.nodeListToReact)(u,r);this.setContent(p),this.props.onSplit(p,f)}else e.preventDefault(),e.shiftKey||!this.props.onSplit?this.editor.execCommand("InsertLineBreak",!1,e):this.splitContent()}},{key:"onKeyUp",value:function(e){e.keyCode===re&&this.onSelectionChange()}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.editor.dom,n=this.editor.getBody(),i=t.createRng(),a=t.createRng(),s=this.editor.selection.getRng();if(n.childNodes.length){var l;i.setStart(n,0),i.setEnd(s.startContainer,s.startOffset),a.setStart(s.endContainer,s.endOffset),a.setEnd(n,t.nodeIndex(n.lastChild)+1);var u=i.extractContents(),p=a.extractContents(),f=Object(V.nodeListToReact)(u.childNodes,r),d=o(p)?[]:Object(V.nodeListToReact)(p.childNodes,r);this.setContent(f),(l=this.props).onSplit.apply(l,[f,d].concat(c()(e)))}else{var h;this.setContent([]),(h=this.props).onSplit.apply(h,[[],[]].concat(c()(e)))}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=s()(this.editor.getBody().childNodes),t=this.editor.selection.getStart();-1===e.indexOf(t)&&t.parentNode;)t=t.parentNode;var n=e.indexOf(t);if(-1!==n){var o=e.slice(0,n),i=z()(o);if(!(!i||o.length<2||i.textContent)){var a=o.slice(0,o.length-1),l=e.slice(n).reduce(function(e,t){return e.length||t.textContent?(e.push(t),e):e},[]);this.setContent(this.props.value),this.props.onSplit(Object(V.nodeListToReact)(a,r),Object(V.nodeListToReact)(l,r))}}}}},{key:"onNodeChange",value:function(e){var t=e.parents,n=this.props.formattingControls,r=this.editor.formatter.matchAll(n).reduce(function(e,n){return e[n]=p()({isActive:!0},i(n,t)),e},{}),o=this.getFocusPosition();this.setState({formats:r,focusPosition:o,selectedNodeId:this.state.selectedNodeId+1})}},{key:"updateContent",value:function(){var e=this.editor.selection.getBookmark(2,!0);this.savedContent=this.props.value,this.setContent(this.savedContent),this.editor.selection.moveToBookmark(e),this.editor.save()}},{key:"setContent",value:function(e){e||(e=""),e=Object(G.renderToString)(e),this.editor.setContent(e,{format:"raw"})}},{key:"getContent",value:function(){return Object(V.nodeListToReact)(this.editor.getBody().childNodes||[],r)}},{key:"updateFocus",value:function(){if(this.editor){var e=this.props.focus,t=this.isActive();e?(t||this.editor.focus(),-1!==e.offset||this.isEndOfEditor()||(this.editor.selection.select(this.editor.getBody(),!0),this.editor.selection.collapse(!1))):t&&this.editor.getBody().blur()}}},{key:"componentWillUnmount",value:function(){this.onChange()}},{key:"componentDidUpdate",value:function(e){I()(this.props.focus,e.focus)||this.updateFocus(),this.props.tagName!==e.tagName||this.props.value===e.value||this.props.value===this.savedContent||I()(this.props.value,e.value)||I()(this.props.value,this.savedContent)||this.updateContent()}},{key:"componentWillReceiveProps",value:function(e){}},{key:"isFormatActive",value:function(e){return this.state.formats[e]&&this.state.formats[e].isActive}},{key:"removeFormat",value:function(e){this.editor.focus(),this.editor.formatter.remove(e)}},{key:"applyFormat",value:function(e,t,n){this.editor.focus(),this.editor.formatter.apply(e,t,n)}},{key:"changeFormats",value:function(e){var t=this;L()(e,function(e,n){if("link"===n)if(void 0!==e){var r=t.editor.dom.getParent(t.editor.selection.getNode(),"a");r||t.removeFormat("link"),t.applyFormat("link",{href:e.value,target:e.target},r)}else t.editor.execCommand("Unlink");else{var o=t.isFormatActive(n);o&&!e?t.removeFormat(n):!o&&e&&t.applyFormat(n)}}),this.setState(function(t){return{formats:R()({},t.formats,e)}}),this.editor.setDirty(!0)}},{key:"render",value:function(){var e=this.props,t=e.tagName,n=void 0===t?"div":t,r=e.style,o=e.value,i=e.focus,a=e.wrapperClassName,s=e.className,l=e.inlineToolbar,c=void 0!==l&&l,u=e.formattingControls,f=e.placeholder,d=e.multiline,h=e.keepPlaceholderOnFocus,b=void 0!==h&&h,g=e.formatters,m=Object(ee.b)(this.props),v=["editor",n].join(),y=f&&(!i||b)&&this.state.empty,_=K()(a,"blocks-editable"),w=wp.element.createElement(Q.a,{selectedNodeId:this.state.selectedNodeId,focusPosition:this.state.focusPosition,formats:this.state.formats,onChange:this.changeFormats,enabledControls:u,customControls:g});return wp.element.createElement("div",{className:_},i&&wp.element.createElement(X.Fill,{name:"Formatting.Toolbar"},!c&&w),i&&c&&wp.element.createElement("div",{className:"block-editable__inline-toolbar"},w),wp.element.createElement(J.a,p()({tagName:n,getSettings:this.getSettings,onSetup:this.onSetup,style:r,defaultValue:o,isPlaceholderVisible:y,"aria-label":f},m,{className:s,key:v})),y&&wp.element.createElement(n,{className:K()("blocks-editable__tinymce",s),style:r},d?wp.element.createElement(d,null,f):f),i&&wp.element.createElement(X.Slot,{name:"Editable.Siblings"}))}}]),t}(G.Component);t.a=se,se.contextTypes={onUndo:E.a},se.defaultProps={formattingControls:ae,formatters:[]}},function(e,t,n){var r=n(31);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){function r(e,t,n,a,s){var l=-1,c=e.length;for(n||(n=i),s||(s=[]);++l<c;){var u=e[l];t>0&&n(u)?t>1?r(u,t-1,n,a,s):o(s,u):a||(s[s.length]=u)}return s}var o=n(113),i=n(243);e.exports=r},function(e,t,n){function r(e){return"string"==typeof e||!i(e)&&a(e)&&o(e)==s}var o=n(35),i=n(11),a=n(25),s="[object String]";e.exports=r},function(e,t,n){function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}var o=n(84),i=n(94);r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){function r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=a,this.__views__=[]}var o=n(84),i=n(94),a=4294967295;r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(56);e.exports.f=function(e){return new r(e)}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(293),i=n(294),a=n(295),s=n(296),l=n(297);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(89);e.exports=r},function(e,t,n){var r=n(41),o=r(Object,"create");e.exports=o},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(311);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){(function(e){var r=n(18),o=n(320),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||o;e.exports=u}).call(t,n(90)(e))},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(60),i=n(61);e.exports=r},function(e,t){function n(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}e.exports=n},function(e,t,n){e.exports={default:n(234),__esModule:!0}},function(e,t,n){var r=n(108),o=n(16)("iterator"),i=n(42);e.exports=n(10).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(47),o=n(16)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";function r(e){function t(e){return function(){return r(n===e?void 0:e)}}var n=e.value,r=e.onChange,o=e.controls,a=void 0===o?c:o,p=e.wideControlsEnabled,f=void 0!==p&&p,d=f?a:a.filter(function(e){return-1===u.indexOf(e)});return wp.element.createElement(s.Toolbar,{controls:d.map(function(e){return i()({},l[e],{isActive:n===e,onClick:t(e)})})})}var o=n(12),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),{left:{icon:"align-left",title:Object(a.__)("Align left")},center:{icon:"align-center",title:Object(a.__)("Align center")},right:{icon:"align-right",title:Object(a.__)("Align right")},wide:{icon:"align-wide",title:Object(a.__)("Wide width")},full:{icon:"align-full-width",title:Object(a.__)("Full width")}}),c=["left","center","right","wide","full"],u=["wide","full"];t.a=Object(s.withContext)("editor")(function(e){return{wideControlsEnabled:e.wideImages}})(r)},function(e,t,n){var r=n(47);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==l||t==a||t==c}var o=n(35),i=n(21),a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(89),i=n(33),a=n(81),s=n(21);e.exports=r},function(e,t,n){var r=n(22),o=n(237),i=n(79),a=n(76)("IE_PROTO"),s=function(){},l=function(){var e,t=n(74)("iframe"),r=i.length;for(t.style.display="none",n(143).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){function r(e){return a(i(e,void 0,o),e+"")}var o=n(242),i=n(165),a=n(126);e.exports=r},function(e,t,n){function r(e,t){return o(e,t)}var o=n(131);e.exports=r},function(e,t,n){var r=n(185),o=n(27),i=r?function(e){return r.get(e)}:o;e.exports=i},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n(161),i=n(287),a=n(26),s=n(11);e.exports=r},function(e,t,n){e.exports=!n(24)&&!n(38)(function(){return 7!=Object.defineProperty(n(74)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(32),o=n(30),i=n(174)(!1),a=n(76)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(97),i=n(298),a=n(299),s=n(300),l=n(301),c=n(302);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=l,r.prototype.set=c,e.exports=r},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(82),i=n(89),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(233),o=n(178),i=o(r);e.exports=i},function(e,t){function n(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}e.exports=n},function(e,t,n){"use strict";t.__esModule=!0;var r=n(213),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(41),o=n(18),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(303),i=n(310),a=n(312),s=n(313),l=n(314);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,s))}var o=n(315),i=n(25);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(130),i=n(316),a=n(317);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){var r=n(161),o=n(197),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return a.call(e,t)}))}:o;e.exports=l},function(e,t,n){var r=n(321),o=n(137),i=n(322),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){var r=n(324),o=n(129),i=n(325),a=n(201),s=n(162),l=n(35),c=n(160),u=c(r),p=c(o),f=c(i),d=c(a),h=c(s),b=l;(r&&"[object DataView]"!=b(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=b(new o)||i&&"[object Promise]"!=b(i.resolve())||a&&"[object Set]"!=b(new a)||s&&"[object WeakMap]"!=b(new s))&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=b},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(11),i=n(65),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(273),i=n(39);e.exports=r},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t,n){"use strict";var r=n(77),o=n(19),i=n(166),a=n(29),s=n(32),l=n(42),c=n(236),u=n(73),p=n(167),f=n(16)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,b,g,m,v){c(n,t,b);var y,_,w,x=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",E="values"==g,O=!1,C=e.prototype,S=C[f]||C["@@iterator"]||g&&C[g],j=S||x(g),T=g?E?x("entries"):j:void 0,A="Array"==t?C.entries||S:S;if(A&&(w=p(A.call(new e)))!==Object.prototype&&w.next&&(u(w,k,!0),r||s(w,f)||a(w,f,h)),E&&S&&"values"!==S.name&&(O=!0,j=function(){return S.call(this)}),r&&!v||!d&&!O&&C[f]||a(C,f,j),l[t]=j,l[k]=h,g)if(y={values:E?j:x("values"),keys:m?j:x("keys"),entries:T},v)for(_ in y)_ in C||i(C,_,y[_]);else o(o.P+o.F*(d||O),t,y);return y}},function(e,t,n){var r=n(15).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(22);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(42),o=n(16)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(16)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){var r=n(200),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n(193);e.exports=r},function(e,t,n){function r(e,t,n,r){e=i(e)?e:l(e),n=n&&!r?s(n):0;var u=e.length;return n<0&&(n=c(u+n,0)),a(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&o(e,t,n)>-1}var o=n(209),i=n(33),a=n(92),s=n(72),l=n(370),c=Math.max;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(380),i=r(o),a=n(382),s=r(a),l="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===l(i.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){t.f=n(16)},function(e,t,n){var r=n(15),o=n(10),i=n(77),a=n(151),s=n(23).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){function r(e){for(var t=e.name+"",n=o[t],r=a.call(o,t)?n.length:0;r--;){var i=n[r],s=i.func;if(null==s||s==e)return i.name}return t}var o=n(247),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(22),o=n(56),i=n(16)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(34),s=n(261),l=n(143),c=n(74),u=n(15),p=u.process,f=u.setImmediate,d=u.clearImmediate,h=u.MessageChannel,b=u.Dispatch,g=0,m={},v=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},y=function(e){v.call(e.data)};f&&d||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},d=function(e){delete m[e]},"process"==n(47)(p)?r=function(e){p.nextTick(a(v,e,1))}:b&&b.now?r=function(e){b.now(a(v,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=y,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:f,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(96);e.exports=function(e,t){var n=r.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){e.exports=n(449)()},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(88))},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t,n){var r=n(41),o=n(18),i=r(o,"WeakMap");e.exports=i},function(e,t,n){function r(e,t,n){var r=l(e)?o:s,c=arguments.length<3;return r(e,a(t,4),n,c,i)}var o=n(105),i=n(59),a=n(26),s=n(338),l=n(11);e.exports=r},function(e,t,n){var r=n(41),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),l=Array(s);++a<s;)l[a]=r[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=r[a];return c[t]=n(l),o(e,this,c)}}var o=n(141),i=Math.max;e.exports=r},function(e,t,n){e.exports=n(29)},function(e,t,n){var r=n(32),o=n(57),i=n(76)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(198),i=n(346),a=n(33);e.exports=r},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&o(e,t,0)>-1}var o=n(209);e.exports=r},function(e,t){},,,function(e,t,n){e.exports={default:n(222),__esModule:!0}},function(e,t,n){var r=n(30),o=n(75),i=n(175);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(70),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:a(n);return l<0&&(l=s(r+l,0)),o(e,i(t,3),l)}var o=n(177),i=n(26),a=n(72),s=Math.max;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.checked,r=e.help,a=e.instanceId,s=e.onChange,l="inspector-toggle-control-"+a;return wp.element.createElement(i.a,{label:t,id:l,help:r,className:"blocks-toggle-control"},wp.element.createElement(o.FormToggle,{id:l,checked:n,onChange:s,"aria-describedby":r?l+"__help":void 0}))}var o=n(1),i=(n.n(o),n(207)),a=n(619);n.n(a);t.a=Object(o.withInstanceId)(r)},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(82),i=n(140),a=n(26);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=n},function(e,t,n){function r(e){return o(e,a,i)}var o=n(196),i=n(208),a=n(168);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(362),i=r(o),a=n(365),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(33),i=n(25);e.exports=r},function(e,t,n){var r=n(162),o=r&&new r;e.exports=o},function(e,t,n){function r(e){var t=a(e),n=s[t];if("function"!=typeof n||!(t in o.prototype))return!1;if(e===n)return!0;var r=i(n);return!!r&&e===r[0]}var o=n(95),i=n(120),a=n(153),s=n(248);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var o=n(497),i=r(o),a=n(710),s=r(a);t.default={simpleCheckForValidColor:function(e){var t=["r","g","b","a","h","s","a","v"],n=0,r=0;return(0,i.default)(t,function(t){e[t]&&(n+=1,isNaN(e[t])||(r+=1))}),n===r&&e},toState:function(e,t){var n=e.hex?(0,s.default)(e.hex):(0,s.default)(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}},isValidHex:function(e){return(0,s.default)(e).isValid()}};t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},function(e,t){!function(){e.exports=this.moment}()},,function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(s(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var o=n(45),i=n(50),a=n(11),s=n(65),l=1/0,c=o?o.prototype:void 0,u=c?c.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,c,u){var p=n&s,f=e.length,d=t.length;if(f!=d&&!(p&&d>f))return!1;var h=u.get(e);if(h&&u.get(t))return h==t;var b=-1,g=!0,m=n&l?new o:void 0;for(u.set(e,t),u.set(t,e);++b<f;){var v=e[b],y=t[b];if(r)var _=p?r(y,v,b,t,e,u):r(v,y,b,e,t,u);if(void 0!==_){if(_)continue;g=!1;break}if(m){if(!i(t,function(e,t){if(!a(m,t)&&(v===e||c(v,e,n,r,u)))return m.push(t)})){g=!1;break}}else if(v!==y&&!c(v,y,n,r,u)){g=!1;break}}return u.delete(e),u.delete(t),g}var o=n(132),i=n(192),a=n(133),s=1,l=2;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){var r=n(18),o=r.Uint8Array;e.exports=o},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t,n){function r(e){return o(e,a,i)}var o=n(196),i=n(134),a=n(39);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(113),i=n(11);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),u=!n&&!r&&s(e),f=!n&&!r&&!u&&c(e),d=n||r||u||f,h=d?o(e.length,String):[],b=h.length;for(var g in e)!t&&!p.call(e,g)||d&&("length"==g||u&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||l(g,b))||h.push(g);return h}var o=n(270),i=n(80),a=n(11),s=n(102),l=n(81),c=n(135),u=Object.prototype,p=u.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(103),i=n(323),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(41),o=n(18),i=r(o,"Set");e.exports=i},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(21);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(331),i=n(271);e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=c.test(e);return n||u.test(e)?p(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n(21),i=n(65),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,p=parseInt;e.exports=r},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){"use strict";function r(e){var t=e.id,n=e.label,r=e.help,o=e.className,a=e.children;return wp.element.createElement("div",{className:i()("blocks-base-control",o)},n&&wp.element.createElement("label",{className:"blocks-base-control__label",htmlFor:t},n),a,!!r&&wp.element.createElement("p",{id:t+"__help",className:"blocks-base-control__help"},r))}var o=n(17),i=n.n(o),a=n(609);n.n(a);t.a=r},function(e,t,n){var r=n(113),o=n(147),i=n(134),a=n(197),s=Object.getOwnPropertySymbols,l=s?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=l},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(177),i=n(368),a=n(369);e.exports=r},function(e,t,n){function r(e,t,n,r){var p=-1,f=i,d=!0,h=e.length,b=[],g=t.length;if(!h)return b;n&&(t=s(t,l(n))),r?(f=a,d=!1):t.length>=u&&(f=c,d=!1,t=new o(t));e:for(;++p<h;){var m=e[p],v=null==n?m:n(m);if(m=r||0!==m?m:0,d&&v===v){for(var y=g;y--;)if(t[y]===v)continue e;b.push(m)}else f(t,v,r)||b.push(m)}return b}var o=n(132),i=n(169),a=n(211),s=n(50),l=n(137),c=n(133),u=200;e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){var r=n(19),o=n(10),i=n(38);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){e.exports={default:n(378),__esModule:!0}},function(e,t,n){var r=n(123),o=n(79).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(71),o=n(49),i=n(30),a=n(87),s=n(32),l=n(122),c=Object.getOwnPropertyDescriptor;t.f=n(24)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){function r(e){return i(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var b=t[r];if("function"!=typeof b)throw new TypeError(u);if(i&&!g&&"wrapper"==s(b))var g=new o([],!0)}for(r=g?r:n;++r<n;){b=t[r];var m=s(b),v="wrapper"==m?a(b):void 0;g=v&&c(v[0])&&v[1]==(d|p|f|h)&&!v[4].length&&1==v[9]?g[s(v[0])].apply(g,v[3]):1==b.length&&c(b)?g[m]():g.thru(b)}return function(){var e=arguments,r=e[0];if(g&&1==e.length&&l(r))return g.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}var o=n(93),i=n(118),a=n(120),s=n(153),l=n(11),c=n(186),u="Expected a function",p=8,f=32,d=128,h=256;e.exports=r},function(e,t,n){function r(e,t){var n=-1,r=i(e)?Array(e.length):[];return o(e,function(e,o,i){r[++n]=t(e,o,i)}),r}var o=n(59),i=n(33);e.exports=r},function(e,t,n){var r=n(405),o=n(118),i=o(function(e,t){return null==e?{}:r(e,t)});e.exports=i},function(e,t,n){e.exports={default:n(257),__esModule:!0}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(448),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default},function(e,t,n){n(223),e.exports=n(10).Object.assign},function(e,t,n){var r=n(19);r(r.S+r.F,"Object",{assign:n(224)})},function(e,t,n){"use strict";var r=n(44),o=n(111),i=n(71),a=n(57),s=n(110),l=Object.assign;e.exports=!l||n(38)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=o.f,p=i.f;l>c;)for(var f,d=s(arguments[c++]),h=u?r(d).concat(u(d)):r(d),b=h.length,g=0;b>g;)p.call(d,f=h[g++])&&(n[f]=d[f]);return n}:l},function(e,t,n){function r(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=n(45),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,l=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t,n){function r(e){return!(!a(e)||i(e))&&(o(e)?h:c).test(s(e))}var o=n(112),i=n(228),a=n(21),s=n(160),l=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,u=Function.prototype,p=Object.prototype,f=u.toString,d=p.hasOwnProperty,h=RegExp("^"+f.call(d).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return!!i&&i in e}var o=n(229),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t,n){var r=n(18),o=r["__core-js_shared__"];e.exports=o},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(35),i=n(25),a="[object Arguments]";e.exports=r},function(e,t,n){"use strict";function r(e,t){return"string"!=typeof e?void console.error("Block names must be strings."):/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e)?t&&_()(t.save)?"edit"in t&&!_()(t.edit)?void console.error('The "edit" property must be a valid function.'):O[e]?void console.error('Block "'+e+'" is already registered.'):"keywords"in t&&t.keywords.length>3?void console.error('The block "'+e+'" can have a maximum of 3 keywords.'):"category"in t?"category"in t&&!v()(C,{slug:t.category})?void console.error('The block "'+e+'" must have a registered category.'):"title"in t&&""!==t.title?"string"!=typeof t.title?void console.error("Block titles must be strings."):(t.icon||(t.icon="block-default"),t=g()({name:e,attributes:x()(window._wpBlocksAttributes,e,{})},t),t=Object(k.b)("registerBlockType",t,e),O[e]=t):void console.error('The block "'+e+'" must have a title.'):void console.error('The block "'+e+'" must have a category.'):void console.error('The "save" property must be specified and must be a valid function.'):void console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block")}function o(e){if(!O[e])return void console.error('Block "'+e+'" is not registered.');var t=O[e];return delete O[e],t}function i(e){S=e}function a(){return S}function s(e){j=e}function l(){return j}function c(e){return O[e]}function u(){return h()(O)}function p(e,t,n){var r="string"==typeof e?c(e):e;return!!x()(r,["supports",t],n)}function f(e){return"core/block"===e.name}t.g=r,t.j=o,t.i=i,t.d=a,t.h=s,t.c=l,t.a=c,t.b=u,t.e=p,t.f=f;var d=n(428),h=n.n(d),b=n(12),g=n.n(b),m=n(274),v=n.n(m),y=n(112),_=n.n(y),w=n(54),x=n.n(w),k=n(429),E=n(545),O={},C=Object(E.a)(),S=void 0,j=void 0},function(e,t,n){var r=n(206),o=n(164),i=n(51),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t,n){n(62),n(238),e.exports=n(10).Array.from},function(e,t,n){var r=n(70),o=n(69);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(115),o=n(49),i=n(73),a={};n(29)(a,n(16)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(23),o=n(22),i=n(44);e.exports=n(24)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){"use strict";var r=n(34),o=n(19),i=n(57),a=n(144),s=n(145),l=n(75),c=n(239),u=n(107);o(o.S+o.F*!n(146)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,f=i(e),d="function"==typeof this?this:Array,h=arguments.length,b=h>1?arguments[1]:void 0,g=void 0!==b,m=0,v=u(f);if(g&&(b=r(b,h>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(t=l(f.length),n=new d(t);t>m;m++)c(n,m,g?b(f[m],m):f[m]);else for(p=v.call(f),n=new d;!(o=p.next()).done;m++)c(n,m,g?a(p,b,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){"use strict";var r=n(23),o=n(49);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){function r(e,t,n,P,R,N){var L,M=t&k,D=t&E,B=t&O;if(n&&(L=R?n(e,P,R,N):n(e)),void 0!==L)return L;if(!w(e))return e;var I=y(e);if(I){if(L=g(e),!M)return u(e,L)}else{var F=b(e),z=F==S||F==j;if(_(e))return c(e,M);if(F==T||F==C||z&&!R){if(L=D||z?{}:v(e),!M)return D?f(e,l(L,e)):p(e,s(L,e))}else{if(!A[F])return R?e:{};L=m(e,F,r,M)}}N||(N=new o);var H=N.get(e);if(H)return H;N.set(e,L);var q=B?D?h:d:D?keysIn:x,U=I?void 0:q(e);return i(U||e,function(o,i){U&&(i=o,o=e[i]),a(L,i,r(o,t,n,i,e,N))}),L}var o=n(124),i=n(181),a=n(125),s=n(344),l=n(345),c=n(277),u=n(116),p=n(348),f=n(349),d=n(195),h=n(182),b=n(138),g=n(350),m=n(351),v=n(279),y=n(11),_=n(102),w=n(21),x=n(39),k=1,E=2,O=4,C="[object Arguments]",S="[object Function]",j="[object GeneratorFunction]",T="[object Object]",A={};A[C]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[T]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[S]=A["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==f}var o=n(35),i=n(147),a=n(25),s="[object Object]",l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=u.call(Object);e.exports=r},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,1):[]}var o=n(91);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(45),i=n(80),a=n(11),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){"use strict";var r=n(245),o=n(246),i=n(42),a=n(30);e.exports=n(142)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){var n={};e.exports=n},function(e,t,n){function r(e){if(l(e)&&!s(e)&&!(e instanceof o)){if(e instanceof i)return e;if(p.call(e,"__wrapped__"))return c(e)}return new i(e)}var o=n(95),i=n(93),a=n(94),s=n(11),l=n(25),c=n(249),u=Object.prototype,p=u.hasOwnProperty;r.prototype=a.prototype,r.prototype.constructor=r,e.exports=r},function(e,t,n){function r(e){if(e instanceof o)return e.clone();var t=new i(e.__wrapped__,e.__chain__);return t.__actions__=a(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var o=n(95),i=n(93),a=n(116);e.exports=r},function(e,t){function n(e){return r.test(e)}var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=n},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t))}var o=n(181),i=n(59),a=n(398),s=n(11);e.exports=r},function(e,t){!function(e){"function"!=typeof e.matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)++r;return Boolean(n[r])}),"function"!=typeof e.closest&&(e.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window.Element.prototype)},function(e,t,n){function r(e,t,n){function r(t){var n=v,r=y;return v=y=void 0,E=t,w=e.apply(r,n)}function u(e){return E=e,x=setTimeout(d,t),O?r(e):w}function p(e){var n=e-k,r=e-E,o=t-n;return C?c(o,_-r):o}function f(e){var n=e-k,r=e-E;return void 0===k||n>=t||n<0||C&&r>=_}function d(){var e=i();if(f(e))return h(e);x=setTimeout(d,p(e))}function h(e){return x=void 0,S&&v?r(e):(v=y=void 0,w)}function b(){void 0!==x&&clearTimeout(x),E=0,v=k=y=x=void 0}function g(){return void 0===x?w:h(i())}function m(){var e=i(),n=f(e);if(v=arguments,y=this,k=e,n){if(void 0===x)return u(k);if(C)return x=setTimeout(d,t),r(k)}return void 0===x&&(x=setTimeout(d,t)),w}var v,y,_,w,x,k,E=0,O=!1,C=!1,S=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,o(n)&&(O=!!n.leading,C="maxWait"in n,_=C?l(a(n.maxWait)||0,t):_,S="trailing"in n?!!n.trailing:S),m.cancel=b,m.flush=g,m}var o=n(21),i=n(399),a=n(205),s="Expected a function",l=Math.max,c=Math.min;e.exports=r},function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.a=r},function(e,t,n){"use strict";var r=n(408),o=n(518),i=n(519),a=n(520);n(411),n(410);n.d(t,"d",function(){return r.b}),n.d(t,"c",function(){return o.a}),n.d(t,"b",function(){return i.a}),n.d(t,"a",function(){return a.a})},function(e,t,n){"use strict";function r(e){if(!Object(a.a)(e)||Object(o.a)(e)!=s)return!1;var t=Object(i.a)(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==f}var o=n(507),i=n(512),a=n(514),s="[object Object]",l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=u.call(Object);t.a=r},function(e,t,n){n(170),n(62),n(85),n(258),n(265),n(266),e.exports=n(10).Promise},function(e,t,n){"use strict";var r,o,i,a,s=n(77),l=n(15),c=n(34),u=n(108),p=n(19),f=n(31),d=n(56),h=n(259),b=n(260),g=n(154),m=n(155).set,v=n(262)(),y=n(96),_=n(156),w=n(157),x=l.TypeError,k=l.process,E=l.Promise,O="process"==u(k),C=function(){},S=o=y.f,j=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(16)("species")]=function(e){e(C,C)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),T=s?function(e,t){return e===t||e===E&&t===a}:function(e,t){return e===t},A=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},P=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,l=t.reject,c=t.domain;try{a?(o||(2==e._h&&L(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?l(x("Promise-chain cycle")):(i=A(n))?i.call(n,s,l):s(n)):l(r)}catch(e){l(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&R(e)})}},R=function(e){m.call(l,function(){var t,n,r,o=e._v,i=N(e);if(i&&(t=_(function(){O?k.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=O||N(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},N=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!N(t.promise))return!1;return!0},L=function(e){m.call(l,function(){var t;O?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},M=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),P(t,!0))},D=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=A(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,c(D,r,1),c(M,r,1))}catch(e){M.call(r,e)}}):(n._v=e,n._s=1,P(n,!1))}catch(e){M.call({_w:n,_d:!1},e)}}};j||(E=function(e){h(this,E,"Promise","_h"),d(e),r.call(this);try{e(c(D,this,1),c(M,this,1))}catch(e){M.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(263)(E.prototype,{then:function(e,t){var n=S(g(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c(D,e,1),this.reject=c(M,e,1)},y.f=S=function(e){return T(E,e)?new i(e):o(e)}),p(p.G+p.W+p.F*!j,{Promise:E}),n(73)(E,"Promise"),n(264)("Promise"),a=n(10).Promise,p(p.S+p.F*!j,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!j),"Promise",{resolve:function(e){return e instanceof E&&T(e.constructor,this)?e:w(this,e)}}),p(p.S+p.F*!(j&&n(146)(function(e){E.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;b(e,!1,function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,o=_(function(){b(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(34),o=n(144),i=n(145),a=n(22),s=n(75),l=n(107),c={},u={},t=e.exports=function(e,t,n,p,f){var d,h,b,g,m=f?function(){return e}:l(e),v=r(n,p,t?2:1),y=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=s(e.length);d>y;y++)if((g=t?v(a(h=e[y])[0],h[1]):v(e[y]))===c||g===u)return g}else for(b=m.call(e);!(h=b.next()).done;)if((g=o(b,v,h.value,t))===c||g===u)return g};t.BREAK=c,t.RETURN=u},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(15),o=n(155).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(47)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(i){var u=!0,p=document.createTextNode("");new i(c).observe(p,{characterData:!0}),n=function(){p.data=u=!u}}else if(s&&s.resolve){var f=s.resolve();n=function(){f.then(c)}}else n=function(){o.call(r,c)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(29);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(15),o=n(10),i=n(23),a=n(24),s=n(16)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(19),o=n(10),i=n(15),a=n(154),s=n(157);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(19),o=n(96),i=n(156);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},,,function(e,t,n){function r(e){return function(t,n,r){var s=Object(t);if(!i(t)){var l=o(n,3);t=a(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,r);return c>-1?s[l?t[c]:c]:void 0}}var o=n(26),i=n(33),a=n(39);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,u=t.length,p=!1;++r<u;){var f=c(t[r]);if(!(p=null!=e&&n(e,f)))break;e=e[f]}return p||++r!=u?p:!!(u=null==e?0:e.length)&&l(u)&&s(f,u)&&(a(e)||i(e))}var o=n(60),i=n(80),a=n(11),s=n(81),l=n(136),c=n(61);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){var r=n(336),o=r();e.exports=o},function(e,t,n){function r(e,t,n){var r=s(e)?o:a;return n&&l(e,t,n)&&(t=void 0),r(e,i(t,3))}var o=n(192),i=n(26),a=n(342),s=n(11),l=n(114);e.exports=r},function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||p(e)||a(e)))return!e.length;var t=i(e);if(t==f||t==d)return!e.size;if(u(e))return!o(e).length;for(var n in e)if(b.call(e,n))return!1;return!0}var o=n(199),i=n(138),a=n(80),s=n(11),l=n(33),c=n(102),u=n(103),p=n(135),f="[object Map]",d="[object Set]",h=Object.prototype,b=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.instanceId,o=e.onChange,a=e.beforeIcon,p=e.afterIcon,f=e.help,d=e.allowReset,h=s()(e,["label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset"]),b="inspector-range-control-"+r,g=function(e){return o(Number(e.target.value))};return wp.element.createElement(u.a,{label:t,id:b,help:f,className:"blocks-range-control"},a&&wp.element.createElement(l.Dashicon,{icon:a,size:20}),wp.element.createElement("input",i()({className:"blocks-range-control__slider",id:b,type:"range",value:n,onChange:g,"aria-describedby":f?b+"__help":void 0},h)),p&&wp.element.createElement(l.Dashicon,{icon:p}),wp.element.createElement("input",i()({className:"blocks-range-control__number",type:"number",onChange:g,value:n},h)),d&&wp.element.createElement(l.Button,{onClick:function(){return o()},disabled:void 0===n},Object(c.__)("Reset")))}var o=n(12),i=n.n(o),a=n(36),s=n.n(a),l=n(1),c=(n.n(l),n(0)),u=(n.n(c),n(207)),p=n(614);n.n(p);t.a=Object(l.withInstanceId)(r)},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}var o=n(18),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?o.Buffer:void 0,c=l?l.allocUnsafe:void 0;e.exports=r}).call(t,n(90)(e))},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var o=n(148);e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||a(e)?{}:o(i(e))}var o=n(84),i=n(147),a=n(103);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}e.exports=n},function(e,t,n){function r(e,t,n){for(var r=-1,s=t.length,l={};++r<s;){var c=t[r],u=o(e,c);n(u,c)&&i(l,a(c,e),u)}return l}var o=n(104),i=n(375),a=n(60);e.exports=r},function(e,t,n){var r=n(63)("meta"),o=n(31),i=n(32),a=n(23).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(38)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},p=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},f=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},d=function(e){return c&&h.NEED&&l(e)&&!i(e,r)&&u(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:p,getWeak:f,onFreeze:d}},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t,n){function r(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return i(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:r,maxWait:t,trailing:s})}var o=n(253),i=n(21),a="Expected a function";e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=Object(o.parse)(e,!0),r=a({},n.query,t);return delete n.search,Object(o.format)(a({},n,{query:r}))}t.a=r;var o=n(434),i=(n.n(o),n(403)),a=(n.n(i),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e})},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),p=n(7),f=n.n(p),d=n(8),h=n.n(d),b=n(218),g=n.n(b),m=n(2),v=(n.n(m),n(0)),y=(n.n(v),n(1)),w=(n.n(y),function(){return wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery",displaySettings:!1}),new wp.media.controller.GalleryAdd])}})}),x=function(e){var t=["sizes","mime","type","subtype","id","url","alt","link"];return g()(e,t)},k=function(e){function t(e){var n=e.multiple,r=void 0!==n&&n,o=e.type,i=e.gallery,s=void 0!==i&&i,c=e.title,u=void 0===c?Object(v.__)("Select or Upload Media"):c;l()(this,t);var p=f()(this,(t.__proto__||a()(t)).apply(this,arguments));p.openModal=p.openModal.bind(p),p.onSelect=p.onSelect.bind(p),p.onUpdate=p.onUpdate.bind(p),p.onOpen=p.onOpen.bind(p);var d={title:u,button:{text:Object(v.__)("Select")},multiple:r,selection:new wp.media.model.Selection([])};if(o&&(d.library={type:o}),s){var h=w();p.frame=new h({frame:"select",mimeType:o,state:"gallery"}),wp.media.frame=p.frame}else p.frame=wp.media(d);return p.frame.on("select",p.onSelect),p.frame.on("update",p.onUpdate),p.frame.on("open",p.onOpen),p}return h()(t,e),u()(t,[{key:"componentWillUnmount",value:function(){this.frame.remove()}},{key:"onUpdate",value:function(e){var t=this.props,n=t.onSelect,r=t.multiple,o=void 0!==r&&r,i=this.frame.state(),a=e||i.get("selection");a&&a.models.length&&n(o?a.models.map(function(e){return x(e.toJSON())}):x(a.models[0].toJSON()))}},{key:"onSelect",value:function(){var e=this.props,t=e.onSelect,n=e.multiple,r=void 0!==n&&n,o=this.frame.state().get("selection").toJSON();t(r?o:o[0])}},{key:"onOpen",value:function(){var e=this.frame.state().get("selection"),t=function(t){var n=wp.media.attachment(t);n.fetch(),e.add(n)};this.props.value&&(this.props.multiple?this.props.value.map(t):t(this.props.value))}},{key:"openModal",value:function(){this.frame.open()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.buttonProps;return wp.element.createElement(y.Button,o()({onClick:this.openModal},n),t)}}]),t}(m.Component);t.a=k},function(e,t,n){function r(e,t){var n=[];return o(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}var o=n(59);e.exports=r},function(e,t,n){var r=n(91),o=n(414),i=n(83),a=n(114),s=i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},,,function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(292),i=n(326),a=n(203);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,c=l,u=!r;if(null==e)return!c;for(e=Object(e);l--;){var p=n[l];if(u&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++l<c;){p=n[l];var f=p[0],d=e[f],h=p[1];if(u&&p[2]){if(void 0===d&&!(f in e))return!1}else{var b=new o;if(r)var g=r(d,h,f,e,t,b);if(!(void 0===g?i(h,d,a|s,r,b):g))return!1}}return!0}var o=n(124),i=n(131),a=1,s=2;e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(98),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(98);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(98);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(98);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(97);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(97),i=n(129),a=n(130),s=200;e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(304),i=n(97),a=n(129);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(305),i=n(306),a=n(307),s=n(308),l=n(309);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(99);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return s.call(t,e)?t[e]:void 0}var o=n(99),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(99),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(99),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(100);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(100);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(100);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(100);e.exports=r},function(e,t,n){function r(e,t,n,r,g,v){var y=c(e),_=c(t),w=y?h:l(e),x=_?h:l(t);w=w==d?b:w,x=x==d?b:x;var k=w==b,E=x==b,O=w==x;if(O&&u(e)){if(!u(t))return!1;y=!0,k=!1}if(O&&!k)return v||(v=new o),y||p(e)?i(e,t,n,r,g,v):a(e,t,w,n,r,g,v);if(!(n&f)){var C=k&&m.call(e,"__wrapped__"),S=E&&m.call(t,"__wrapped__");if(C||S){var j=C?e.value():e,T=S?t.value():t;return v||(v=new o),g(j,T,n,r,v)}}return!!O&&(v||(v=new o),s(e,t,n,r,g,v))}var o=n(124),i=n(191),a=n(318),s=n(319),l=n(138),c=n(11),u=n(102),p=n(135),f=1,d="[object Arguments]",h="[object Array]",b="[object Object]",g=Object.prototype,m=g.hasOwnProperty;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t,n,r,o,k,O){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!k(new i(e),new i(t)));case f:case d:case g:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case b:var C=l;case v:var S=r&u;if(C||(C=c),e.size!=t.size&&!S)return!1;var j=O.get(e);if(j)return j==t;r|=p,O.set(e,t);var T=s(C(e),C(t),r,o,k,O);return O.delete(e),T;case _:if(E)return E.call(e)==E.call(t)}return!1}var o=n(45),i=n(193),a=n(89),s=n(191),l=n(194),c=n(101),u=1,p=2,f="[object Boolean]",d="[object Date]",h="[object Error]",b="[object Map]",g="[object Number]",m="[object RegExp]",v="[object Set]",y="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",k=o?o.prototype:void 0,E=k?k.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,l){var c=n&i,u=o(e),p=u.length;if(p!=o(t).length&&!c)return!1;for(var f=p;f--;){var d=u[f];if(!(c?d in t:s.call(t,d)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var b=!0;l.set(e,t),l.set(t,e);for(var g=c;++f<p;){d=u[f];var m=e[d],v=t[d];if(r)var y=c?r(v,m,d,t,e,l):r(m,v,d,e,t,l);if(!(void 0===y?m===v||a(m,v,n,r,l):y)){b=!1;break}g||(g="constructor"==d)}if(b&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(b=!1)}return l.delete(e),l.delete(t),b}var o=n(195),i=1,a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!s[o(e)]}var o=n(35),i=n(136),a=n(25),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){(function(e){var r=n(159),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,l=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,n(90)(e))},function(e,t,n){var r=n(200),o=r(Object.keys,Object);e.exports=o},function(e,t,n){var r=n(41),o=n(18),i=r(o,"DataView");e.exports=i},function(e,t,n){var r=n(41),o=n(18),i=r(o,"Promise");e.exports=i},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(202),i=n(39);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&l(t)?c(u(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,p|f)}}var o=n(131),i=n(54),a=n(204),s=n(139),l=n(202),c=n(203),u=n(61),p=1,f=2;e.exports=r},function(e,t,n){var r=n(329),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(330),i=500;e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(130),i="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n(272),i=n(333),a=n(139),s=n(61);e.exports=r},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(104);e.exports=r},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=o(e))===i||e===-i){return(e<0?-1:1)*a}return e===e?e:0}var o=n(205),i=1/0,a=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(){if(!arguments.length)return[];var e=arguments[0];return o(e)?e:[e]}var o=n(11);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}e.exports=n},function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==r(s[a],a,s););return n}}var o=n(33);e.exports=r},function(e,t){function n(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}e.exports=n},function(e,t,n){function r(e,t,n){var r=s(e)?o:i;return n&&l(e,t,n)&&(t=void 0),r(e,a(t,3))}var o=n(340),i=n(341),a=n(26),s=n(11),l=n(114);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}e.exports=n},function(e,t,n){function r(e,t){var n=!0;return o(e,function(e,r,o){return n=!!t(e,r,o)}),n}var o=n(59);e.exports=r},function(e,t,n){function r(e,t){var n;return o(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}var o=n(59);e.exports=r},function(e,t,n){var r=n(50),o=n(240),i=n(359),a=n(60),s=n(66),l=n(361),c=n(118),u=n(182),p=c(function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,function(t){return t=a(t,e),c||(c=t.length>1),t}),s(e,u(e),n),c&&(n=o(n,7,l));for(var p=t.length;p--;)i(n,t[p]);return n});e.exports=p},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(66),i=n(39);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(66),i=n(168);e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&l.call(e,r))&&n.push(r);return n}var o=n(21),i=n(103),a=n(347),s=Object.prototype,l=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(66),i=n(134);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(66),i=n(208);e.exports=r},function(e,t){function n(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n,r){var A=e.constructor;switch(t){case y:return o(e);case p:case f:return new A(+e);case _:return i(e,r);case w:case x:case k:case E:case O:case C:case S:case j:case T:return u(e,r);case d:return a(e,r,n);case h:case m:return new A(e);case b:return s(e);case g:return l(e,r,n);case v:return c(e)}}var o=n(148),i=n(352),a=n(353),s=n(355),l=n(356),c=n(358),u=n(278),p="[object Boolean]",f="[object Date]",d="[object Map]",h="[object Number]",b="[object RegExp]",g="[object Set]",m="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",k="[object Int8Array]",E="[object Int16Array]",O="[object Int32Array]",C="[object Uint8Array]",S="[object Uint8ClampedArray]",j="[object Uint16Array]",T="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=n(148);e.exports=r},function(e,t,n){function r(e,t,n){var r=t?n(a(e),s):a(e);return i(r,o,new e.constructor)}var o=n(354),i=n(105),a=n(194),s=1;e.exports=r},function(e,t){function n(e,t){return e.set(t[0],t[1]),e}e.exports=n},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e,t,n){var r=t?n(a(e),s):a(e);return i(r,o,new e.constructor)}var o=n(357),i=n(105),a=n(101),s=1;e.exports=r},function(e,t){function n(e,t){return e.add(t),e}e.exports=n},function(e,t,n){function r(e){return a?Object(a.call(e)):{}}var o=n(45),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t){return t=o(t,e),null==(e=a(e,t))||delete e[s(i(t))]}var o=n(60),i=n(117),a=n(360),s=n(61);e.exports=r},function(e,t,n){function r(e,t){return t.length<2?e:o(e,i(t,0,-1))}var o=n(104),i=n(127);e.exports=r},function(e,t,n){function r(e){return o(e)?void 0:e}var o=n(241);e.exports=r},function(e,t,n){e.exports={default:n(363),__esModule:!0}},function(e,t,n){n(85),n(62),e.exports=n(364)},function(e,t,n){var r=n(108),o=n(16)("iterator"),i=n(42);e.exports=n(10).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(366),__esModule:!0}},function(e,t,n){n(85),n(62),e.exports=n(367)},function(e,t,n){var r=n(22),o=n(107);e.exports=n(10).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){function r(e){return null==e?[]:o(e,i(e))}var o=n(371),i=n(39);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(50);e.exports=r},function(e,t,n){function r(e,t,n){var r=-1,p=i,f=e.length,d=!0,h=[],b=h;if(n)d=!1,p=a;else if(f>=u){var g=t?null:l(e);if(g)return c(g);d=!1,p=s,b=new o}else b=t?[]:h;e:for(;++r<f;){var m=e[r],v=t?t(m):m;if(m=n||0!==m?m:0,d&&v===v){for(var y=b.length;y--;)if(b[y]===v)continue e;t&&b.push(v),h.push(m)}else p(b,v,n)||(b!==h&&b.push(v),h.push(m))}return h}var o=n(132),i=n(169),a=n(211),s=n(133),l=n(373),c=n(101),u=200;e.exports=r},function(e,t,n){var r=n(201),o=n(27),i=n(101),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){"use strict";function r(e){return!!E[e.nodeName.toLowerCase()]}function o(e){return!r(e)}function i(e,t){return E[e]&&E[e].attributes&&-1!==E[e].attributes.indexOf(t)}function a(e){return!!x[e.nodeName.toLowerCase()]}function s(e){return!!k[e.nodeName.toLowerCase()]}function l(e,t){var n=e.nodeName.toLowerCase(),r=t.nodeName.toLowerCase();return E[n]&&E[n].children&&-1!==E[n].children.indexOf(r)}function c(e){return!!a(e)&&(!!e.hasChildNodes()&&g()(e.childNodes).some(function(e){return e.nodeType===_&&(!a(e)||c(e))}))}function u(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function p(e){return!e.hasChildNodes()||g()(e.childNodes).every(function(e){return e.nodeType===w?!e.nodeValue.trim():e.nodeType!==_||("BR"===e.nodeName||!e.hasAttributes()&&p(e))})}function f(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=t.querySelectorAll("br");return g()(n).forEach(function(e){e.parentNode.replaceChild(document.createTextNode("\n"),e)}),t.body.normalize(),1===t.body.childNodes.length&&t.body.firstChild.nodeType===w}function d(e,t,n){g()(e).forEach(function(e){d(e.childNodes,t,n),t.forEach(function(t){n.contains(e)&&t(e,n)})})}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,d(n.body.childNodes,t,n),n.body.innerHTML}t.j=o,t.d=i,t.g=a,t.h=s,t.c=l,t.i=c,t.e=u,t.f=p,t.k=f,t.b=d,t.a=h;var b=n(106),g=n.n(b),m=n(12),v=n.n(m),y=window.Node,_=y.ELEMENT_NODE,w=y.TEXT_NODE,x={strong:{},em:{},del:{},ins:{},a:{attributes:["href"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{}},k={figcaption:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},p:{children:["img"]},li:{children:["ul","ol","li"]},pre:{},td:{},th:{}},E=v()({},x,k,{img:{attributes:["src","alt"]},figure:{},blockquote:{},hr:{},ul:{},ol:{attributes:["type"]},table:{},thead:{},tfoot:{},tbody:{},tr:{}})},function(e,t,n){function r(e,t,n,r){if(!s(e))return e;t=i(t,e);for(var c=-1,u=t.length,p=u-1,f=e;null!=f&&++c<u;){var d=l(t[c]),h=n;if(c!=p){var b=f[d];h=r?r(b,d,f):void 0,void 0===h&&(h=s(b)?b:a(t[c+1])?[]:{})}o(f,d,h),f=f[d]}return e}var o=n(125),i=n(60),a=n(81),s=n(21),l=n(61);e.exports=r},function(e,t,n){n(377),e.exports=n(10).Object.getPrototypeOf},function(e,t,n){var r=n(57),o=n(167);n(212)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(379);var r=n(10).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(19);r(r.S+r.F*!n(24),"Object",{defineProperty:n(23).f})},function(e,t,n){e.exports={default:n(381),__esModule:!0}},function(e,t,n){n(62),n(85),e.exports=n(151).f("iterator")},function(e,t,n){e.exports={default:n(383),__esModule:!0}},function(e,t,n){n(384),n(170),n(389),n(390),e.exports=n(10).Symbol},function(e,t,n){"use strict";var r=n(15),o=n(32),i=n(24),a=n(19),s=n(166),l=n(282).KEY,c=n(38),u=n(78),p=n(73),f=n(63),d=n(16),h=n(151),b=n(152),g=n(385),m=n(386),v=n(387),y=n(22),_=n(30),w=n(87),x=n(49),k=n(115),E=n(388),O=n(215),C=n(23),S=n(44),j=O.f,T=C.f,A=E.f,P=r.Symbol,R=r.JSON,N=R&&R.stringify,L=d("_hidden"),M=d("toPrimitive"),D={}.propertyIsEnumerable,B=u("symbol-registry"),I=u("symbols"),F=u("op-symbols"),z=Object.prototype,H="function"==typeof P,q=r.QObject,U=!q||!q.prototype||!q.prototype.findChild,K=i&&c(function(){return 7!=k(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=j(z,t);r&&delete z[t],T(e,t,n),r&&e!==z&&T(z,t,r)}:T,V=function(e){var t=I[e]=k(P.prototype);return t._k=e,t},W=H&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},G=function(e,t,n){return e===z&&G(F,t,n),y(e),t=w(t,!0),y(n),o(I,t)?(n.enumerable?(o(e,L)&&e[L][t]&&(e[L][t]=!1),n=k(n,{enumerable:x(0,!1)})):(o(e,L)||T(e,L,x(1,{})),e[L][t]=!0),K(e,t,n)):T(e,t,n)},$=function(e,t){y(e);for(var n,r=m(t=_(t)),o=0,i=r.length;i>o;)G(e,n=r[o++],t[n]);return e},X=function(e,t){return void 0===t?k(e):$(k(e),t)},Y=function(e){var t=D.call(this,e=w(e,!0));return!(this===z&&o(I,e)&&!o(F,e))&&(!(t||!o(this,e)||!o(I,e)||o(this,L)&&this[L][e])||t)},Z=function(e,t){if(e=_(e),t=w(t,!0),e!==z||!o(I,t)||o(F,t)){var n=j(e,t);return!n||!o(I,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=A(_(e)),r=[],i=0;n.length>i;)o(I,t=n[i++])||t==L||t==l||r.push(t);return r},J=function(e){for(var t,n=e===z,r=A(n?F:_(e)),i=[],a=0;r.length>a;)!o(I,t=r[a++])||n&&!o(z,t)||i.push(I[t]);return i};H||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(F,n),o(this,L)&&o(this[L],e)&&(this[L][e]=!1),K(this,e,x(1,n))};return i&&U&&K(z,e,{configurable:!0,set:t}),V(e)},s(P.prototype,"toString",function(){return this._k}),O.f=Z,C.f=G,n(214).f=E.f=Q,n(71).f=Y,n(111).f=J,i&&!n(77)&&s(z,"propertyIsEnumerable",Y,!0),h.f=function(e){return V(d(e))}),a(a.G+a.W+a.F*!H,{Symbol:P});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var ne=S(d.store),re=0;ne.length>re;)b(ne[re++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(B,e+="")?B[e]:B[e]=P(e)},keyFor:function(e){if(W(e))return g(B,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!H,"Object",{create:X,defineProperty:G,defineProperties:$,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:J}),R&&a(a.S+a.F*(!H||c(function(){var e=P();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!W(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&v(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!W(t))return t}),r[1]=t,N.apply(R,r)}}}),P.prototype[M]||n(29)(P.prototype,M,P.prototype.valueOf),p(P,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(44),o=n(30);e.exports=function(e,t){for(var n,i=o(e),a=r(i),s=a.length,l=0;s>l;)if(i[n=a[l++]]===t)return n}},function(e,t,n){var r=n(44),o=n(111),i=n(71);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(47);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(30),o=n(214).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){n(152)("asyncIterator")},function(e,t,n){n(152)("observable")},function(e,t,n){e.exports={default:n(392),__esModule:!0}},function(e,t,n){n(393),e.exports=n(10).Object.setPrototypeOf},function(e,t,n){var r=n(19);r(r.S,"Object",{setPrototypeOf:n(394).set})},function(e,t,n){var r=n(31),o=n(22),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(34)(Function.call,n(215).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(396),__esModule:!0}},function(e,t,n){n(397);var r=n(10).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(19);r(r.S,"Object",{create:n(115)})},function(e,t,n){function r(e){return"function"==typeof e?e:o}var o=n(51);e.exports=r},function(e,t,n){var r=n(18),o=function(){return r.Date.now()};e.exports=o},function(e,t,n){"use strict";e.exports=n(401)},function(e,t,n){"use strict";function r(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,p=n.offsetRight||0;r=void 0===r||r;var f=o.isWindow(t),d=o.offset(e),h=o.outerHeight(e),b=o.outerWidth(e),g=void 0,m=void 0,v=void 0,y=void 0,_=void 0,w=void 0,x=void 0,k=void 0,E=void 0,O=void 0;f?(x=t,O=o.height(x),E=o.width(x),k={left:o.scrollLeft(x),top:o.scrollTop(x)},_={left:d.left-k.left-c,top:d.top-k.top-l},w={left:d.left+b-(k.left+E)+p,top:d.top+h-(k.top+O)+u},y=k):(g=o.offset(t),m=t.clientHeight,v=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},_={left:d.left-(g.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-c,top:d.top-(g.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-l},w={left:d.left+b-(g.left+v+(parseFloat(o.css(t,"borderRightWidth"))||0))+p,top:d.top+h-(g.top+m+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?o.scrollTop(t,y.top+_.top):!1===a?o.scrollTop(t,y.top+w.top):_.top<0?o.scrollTop(t,y.top+_.top):o.scrollTop(t,y.top+w.top):i||(a=void 0===a||!!a,a?o.scrollTop(t,y.top+_.top):o.scrollTop(t,y.top+w.top)),r&&(_.left<0||w.left>0?!0===s?o.scrollLeft(t,y.left+_.left):!1===s?o.scrollLeft(t,y.left+w.left):_.left<0?o.scrollLeft(t,y.left+_.left):o.scrollLeft(t,y.left+w.left):i||(s=void 0===s||!!s,s?o.scrollLeft(t,y.left+_.left):o.scrollLeft(t,y.left+w.left)))}var o=n(402);e.exports=r},function(e,t,n){"use strict";function r(e){var t=void 0,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=t.left,r=t.top,n-=a.clientLeft||i.clientLeft||0,r-=a.clientTop||i.clientTop||0,{left:n,top:r}}function o(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;n=o.documentElement[r],"number"!=typeof n&&(n=o.body[r])}return n}function i(e){return o(e)}function a(e){return o(e,!0)}function s(e){var t=r(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=i(o),t.top+=a(o),t}function l(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}function c(e,t){var n=e[E]&&e[E][t];if(x.test(n)&&!k.test(t)){var r=e.style,o=r[C],i=e[O][C];e[O][C]=e[E][C],r[C]="fontSize"===t?"1em":n||0,n=r.pixelLeft+S,r[C]=o,e[O][C]=i}return""===n?"auto":n}function u(e,t){for(var n=0;n<e.length;n++)t(e[n])}function p(e){return"border-box"===j(e,"boxSizing")}function f(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);n.call(e);for(i in t)t.hasOwnProperty(i)&&(o[i]=r[i])}function d(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(j(e,s))||0}return r}function h(e){return null!=e&&e==e.window}function b(e,t,n){if(h(e))return"width"===t?N.viewportWidth(e):N.viewportHeight(e);if(9===e.nodeType)return"width"===t?N.docWidth(e):N.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=j(e),a=p(e,i),s=0;(null==o||o<=0)&&(o=void 0,s=j(e,t),(null==s||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===n&&(n=a?R:A);var l=void 0!==o||a,c=o||s;if(n===A)return l?c-d(e,["border","padding"],r,i):s;if(l){var u=n===P?-d(e,["border"],r,i):d(e,["margin"],r,i);return c+(n===R?0:u)}return s+d(e,T.slice(n),r,i)}function g(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=b.apply(void 0,n):f(e,L,function(){t=b.apply(void 0,n)}),t}function m(e,t,n){var r=n;{if("object"!==(void 0===t?"undefined":_(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):j(e,t);for(var o in t)t.hasOwnProperty(o)&&m(e,o,t[o])}}function v(e,t){"static"===m(e,"position")&&(e.style.position="relative");var n=s(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(m(e,i))||0,r[i]=o+t[i]-n[i]);m(e,r)}var y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},w=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,x=new RegExp("^("+w+")(?!px)[a-z%]+$","i"),k=/^(top|right|bottom|left)$/,E="currentStyle",O="runtimeStyle",C="left",S="px",j=void 0;"undefined"!=typeof window&&(j=window.getComputedStyle?l:c);var T=["margin","border","padding"],A=-1,P=2,R=1,N={};u(["Width","Height"],function(e){N["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],N["viewport"+e](n))},N["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement,a=i[n];return"CSS1Compat"===r.compatMode&&a||o&&o[n]||a}});var L={position:"absolute",visibility:"hidden",display:"block"};u(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);N["outer"+t]=function(t,n){return t&&g(t,e,n?0:R)};var n="width"===e?["Left","Right"]:["Top","Bottom"];N[e]=function(t,r){if(void 0===r)return t&&g(t,e,A);if(t){var o=j(t);return p(t)&&(r+=d(t,["padding","border"],n,o)),m(t,e,r)}}}),e.exports=y({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);v(e,t)},isWindow:h,each:u,css:m,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(h(e)){if(void 0===t)return i(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(h(e)){if(void 0===t)return a(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},N)},function(e,t,n){"use strict";t.decode=t.parse=n(490),t.encode=t.stringify=n(491)},function(e,t,n){var r=n(210),o=n(91),i=n(83),a=n(184),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){function r(e,t){return o(e,t,function(t,n){return i(e,n)})}var o=n(281),i=n(204);e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return a});var r=n(158),o=n.n(r),i=o.a.shape({trySubscribe:o.a.func.isRequired,tryUnsubscribe:o.a.func.isRequired,notifyNestedSubs:o.a.func.isRequired,isSubscribed:o.a.func.isRequired}),a=o.a.shape({subscribe:o.a.func.isRequired,dispatch:o.a.func.isRequired,getState:o.a.func.isRequired})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function s(){}function l(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function c(e){var t,n,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=c.getDisplayName,f=void 0===u?function(e){return"ConnectAdvanced("+e+")"}:u,_=c.methodName,w=void 0===_?"connectAdvanced":_,x=c.renderCountProp,k=void 0===x?void 0:x,E=c.shouldHandleStateChanges,O=void 0===E||E,C=c.storeKey,S=void 0===C?"store":C,j=c.withRef,T=void 0!==j&&j,A=a(c,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),P=S+"Subscription",R=v++,N=(t={},t[S]=g.a,t[P]=g.b,t),L=(n={},n[P]=g.b,n);return function(t){d()("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",a=f(n),c=m({},A,{getDisplayName:f,methodName:w,renderCountProp:k,shouldHandleStateChanges:O,storeKey:S,withRef:T,displayName:a,wrappedComponentName:n,WrappedComponent:t}),u=function(n){function u(e,t){r(this,u);var i=o(this,n.call(this,e,t));return i.version=R,i.state={},i.renderCount=0,i.store=e[S]||t[S],i.propsMode=Boolean(e[S]),i.setWrappedInstance=i.setWrappedInstance.bind(i),d()(i.store,'Could not find "'+S+'" in either the context or props of "'+a+'". Either wrap the root component in a <Provider>, or explicitly pass "'+S+'" as a prop to "'+a+'".'),i.initSelector(),i.initSubscription(),i}return i(u,n),u.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[P]=t||this.context[P],e},u.prototype.componentDidMount=function(){O&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},u.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},u.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},u.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=s,this.store=null,this.selector.run=s,this.selector.shouldComponentUpdate=!1},u.prototype.getWrappedInstance=function(){return d()(T,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+w+"() call."),this.wrappedInstance},u.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},u.prototype.initSelector=function(){var t=e(this.store.dispatch,c);this.selector=l(t,this.store),this.selector.run(this.props)},u.prototype.initSubscription=function(){if(O){var e=(this.propsMode?this.props:this.context)[P];this.subscription=new b.a(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},u.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(y)):this.notifyNestedSubs()},u.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},u.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},u.prototype.addExtraProps=function(e){if(!(T||k||this.propsMode&&this.subscription))return e;var t=m({},e);return T&&(t.ref=this.setWrappedInstance),k&&(t[k]=this.renderCount++),this.propsMode&&this.subscription&&(t[P]=this.subscription),t},u.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(h.createElement)(t,this.addExtraProps(e.props))},u}(h.Component);return u.WrappedComponent=t,u.displayName=a,u.childContextTypes=L,u.contextTypes=N,u.propTypes=N,p()(u,t)}}t.a=c;var u=n(501),p=n.n(u),f=n(502),d=n.n(f),h=n(13),b=(n.n(h),n(503)),g=n(406),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=0,y={}},function(e,t,n){"use strict";function r(e,t,n){function i(){m===g&&(m=g.slice())}function l(){return b}function c(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return i(),m.push(e),function(){if(t){t=!1,i();var n=m.indexOf(e);m.splice(n,1)}}}function u(e){if(!Object(o.a)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(v)throw new Error("Reducers may not dispatch actions.");try{v=!0,b=h(b,e)}finally{v=!1}for(var t=g=m,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");h=e,u({type:s.INIT})}function f(){var e,t=c;return e={subscribe:function(e){function n(){e.next&&e.next(l())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");return n(),{unsubscribe:t(n)}}},e[a.a]=function(){return this},e}var d;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(r)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var h=e,b=t,g=[],m=g,v=!1;return u({type:s.INIT}),d={dispatch:u,subscribe:c,getState:l,replaceReducer:p},d[a.a]=f,d}n.d(t,"a",function(){return s}),t.b=r;var o=n(256),i=n(515),a=n.n(i),s={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";var r=n(508),o=r.a.Symbol;t.a=o},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}t.a=r},function(e,t,n){"use strict";function r(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}t.a=r,t.b=i;n(413)},function(e,t,n){"use strict";n(256),n(254)},function(e,t,n){function r(e,t,n){var r=-1;t=o(t.length?t:[u],l(i));var p=a(e,function(e,n,i){return{criteria:o(t,function(t){return t(e)}),index:++r,value:e}});return s(p,function(e,t){return c(e,t,n)})}var o=n(50),i=n(26),a=n(217),s=n(415),l=n(137),c=n(416),u=n(51);e.exports=r},function(e,t){function n(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}e.exports=n},function(e,t,n){function r(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++r<s;){var c=o(i[r],a[r]);if(c){if(r>=l)return c;return c*("desc"==n[r]?-1:1)}}return e.index-t.index}var o=n(417);e.exports=r},function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e===e,a=o(e),s=void 0!==t,l=null===t,c=t===t,u=o(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}var o=n(65);e.exports=r},,,,,,,,,function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,s,l],p=0;c=new Error(t.replace(/%s/g,function(){return u[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(S.a)(e),r=y()(n.attributes,function(e,n,r){var o=t[r];return void 0!==o?e[r]=o:n.default&&(e[r]=n.default),e},{});return{uid:O()(),name:e,isValid:!0,attributes:r}}function o(e,t){var n=m()(e),r=n.length>1,o=n[0],i=o.name;if(r&&!k()(n,function(e){return e.name===i}))return null;var a=Object(S.a)(t),l=Object(S.a)(i),c=w()(a,"transforms.from",[]),u=w()(l,"transforms.to",[]),f=p()(u,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!r||e.isMultiBlock)})||p()(c,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(i)&&(!r||e.isMultiBlock)});if(!f)return null;var h=void 0;if(h=f.isMultiBlock?f.transform(n.map(function(e){return e.attributes})):f.transform(o.attributes),!d()(h))return null;if(h=m()(h),h.some(function(e){return!Object(S.a)(e.name)}))return null;var g=b()(h,function(e){return e.name===t});return g<0?null:h.map(function(e,t){return s()({},e,{uid:t===g?o.uid:e.uid})})}function i(e,t){return{id:+c()(),isTemporary:!0,name:Object(C.__)("Untitled block"),type:e,attributes:t}}t.a=r,t.c=o,t.b=i;var a=n(12),s=n.n(a),l=n(607),c=n.n(l),u=n(58),p=n.n(u),f=n(25),d=n.n(f),h=n(176),b=n.n(h),g=n(335),m=n.n(g),v=n(163),y=n.n(v),_=n(54),w=n.n(_),x=n(339),k=n.n(x),E=n(455),O=n.n(E),C=n(0),S=(n.n(C),n(232))},function(e,t,n){e.exports={default:n(458),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"g",function(){return u}),n.d(t,"f",function(){return p}),n.d(t,"b",function(){return f}),n.d(t,"d",function(){return d}),n.d(t,"c",function(){return h}),n.d(t,"e",function(){return b});var r=n(461),o=(n.n(r),n(608)),i=n(620),a=n(621),s=n(544),l=Object(r.createHooks)(),c=l.addFilter,u=l.removeFilter,p=l.removeAllFilters,f=l.applyFilters,d=l.doingFilter,h=l.didFilter,b=l.hasFilter;Object(o.a)(l),Object(i.a)(l),Object(a.a)(l),Object(s.c)(l)},function(e,t,n){e.exports={default:n(470),__esModule:!0}},function(e,t,n){function r(e,t){if(null==e)return{};var n=o(s(e),function(e){return[e]});return t=i(t),a(e,n,function(e,n){return t(e,n[0])})}var o=n(50),i=n(26),a=n(281),s=n(182);e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(284),h=n.n(d),b=n(17),g=n.n(b),m=n(400),v=n.n(m),y=n(0),_=(n.n(y),n(2)),w=(n.n(_),n(55)),x=(n.n(w),n(1)),k=(n.n(x),w.keycodes.UP),E=w.keycodes.DOWN,O=w.keycodes.ENTER,C=function(e){return e.stopPropagation()},S=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.bindListNode=e.bindListNode.bind(e),e.updateSuggestions=h()(e.updateSuggestions.bind(e),200),e.suggestionNodes=[],e.state={posts:[],showSuggestions:!1,selectedSuggestion:null},e}return f()(t,e),l()(t,[{key:"bindListNode",value:function(e){this.listNode=e}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;if(this.suggestionsRequest&&this.suggestionsRequest.abort(),e.length<2)return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0}),this.suggestionsRequest=(new wp.api.collections.Posts).fetch({data:{search:e,per_page:20,orderby:"relevance"}}),this.suggestionsRequest.then(function(e){t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(y.sprintf)(Object(y._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(y.__)("No results."),"assertive")},function(e){"abort"!==e.statusText&&t.setState({loading:!1})})}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.selectedSuggestion,r=t.posts;if(this.state.showSuggestions&&this.state.posts.length)switch(e.keyCode){case k:e.stopPropagation(),e.preventDefault();var o=n?n-1:r.length-1;this.setState({selectedSuggestion:o});break;case E:e.stopPropagation(),e.preventDefault();var i=null===n||n===r.length-1?0:n+1;this.setState({selectedSuggestion:i});break;case O:if(this.state.selectedSuggestion){e.stopPropagation();var a=this.state.posts[this.state.selectedSuggestion];this.selectLink(a.link)}}}},{key:"selectLink",value:function(e){this.props.onChange(e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"componentWillUnmount",value:function(){this.suggestionsRequest&&this.suggestionsRequest.abort()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,v()(this.suggestionNodes[r],this.listNode,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=t.instanceId,o=this.state,i=o.showSuggestions,a=o.posts,s=o.selectedSuggestion,l=o.loading;return wp.element.createElement("div",{className:"blocks-url-input"},wp.element.createElement("input",{autoFocus:!0,type:"text","aria-label":Object(y.__)("URL"),required:!0,value:n,onChange:this.onChange,onInput:C,placeholder:Object(y.__)("Paste URL or type"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":i,"aria-autocomplete":"list","aria-owns":"blocks-url-input-suggestions-"+r,"aria-activedescendant":null!==s?"blocks-url-input-suggestion-"+r+"-"+s:void 0}),l&&wp.element.createElement(x.Spinner,null),i&&!!a.length&&wp.element.createElement("div",{id:"blocks-url-input-suggestions-"+r,tabIndex:"-1",className:"blocks-url-input__suggestions",ref:this.bindListNode,role:"listbox"},a.map(function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",id:"blocks-url-input-suggestion-"+r+"-"+n,ref:e.bindSuggestionNode(n),className:g()("blocks-url-input__suggestion",{"is-selected":n===s}),onClick:function(){return e.selectLink(t.link)},"aria-selected":n===s},t.title.rendered||Object(y.__)("(no title)"))})))}}]),t}(_.Component);t.a=Object(x.withSpokenMessages)(Object(x.withInstanceId)(S))},function(e,t,n){"use strict";function r(e){return o("post.php",{post:e,action:"edit"})}function o(e,t){return Object(a.a)(e,t)}function i(e){var t=e.replace(new RegExp("^https?://(www.)?"),"");return t.match("^[^/]+/$")?t.replace("/",""):t}t.b=r,t.c=o,t.a=i;var a=n(285)},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&c.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function i(e){return c.isString(e)&&(e=o(e)),e instanceof r?e.format():r.prototype.format.call(e)}function a(e,t){return o(e,!1,!0).resolve(t)}function s(e,t){return e?o(e,!1,!0).resolveObject(t):t}var l=n(488),c=n(489);t.parse=o,t.resolve=a,t.resolveObject=s,t.format=i,t.Url=r;var u=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(d),b=["'"].concat(h),g=["%","/","?",";","#"].concat(b),m=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(403);r.prototype.parse=function(e,t,n){if(!c.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(o),a=/\\/g;i[0]=i[0].replace(a,"/"),e=i.join(o);var s=e;if(s=s.trim(),!n&&1===e.split("#").length){var p=f.exec(s);if(p)return this.path=s,this.href=s,this.pathname=p[1],p[2]?(this.search=p[2],this.query=t?k.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var d=u.exec(s);if(d){d=d[0];var h=d.toLowerCase();this.protocol=h,s=s.substr(d.length)}if(n||d||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===s.substr(0,2);!E||d&&w[d]||(s=s.substr(2),this.slashes=!0)}if(!w[d]&&(E||d&&!x[d])){for(var O=-1,C=0;C<m.length;C++){var S=s.indexOf(m[C]);-1!==S&&(-1===O||S<O)&&(O=S)}var j,T;T=-1===O?s.lastIndexOf("@"):s.lastIndexOf("@",O),-1!==T&&(j=s.slice(0,T),s=s.slice(T+1),this.auth=decodeURIComponent(j)),O=-1;for(var C=0;C<g.length;C++){var S=s.indexOf(g[C]);-1!==S&&(-1===O||S<O)&&(O=S)}-1===O&&(O=s.length),this.host=s.slice(0,O),s=s.slice(O),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var P=this.hostname.split(/\./),C=0,R=P.length;C<R;C++){var N=P[C];if(N&&!N.match(v)){for(var L="",M=0,D=N.length;M<D;M++)N.charCodeAt(M)>127?L+="x":L+=N[M];if(!L.match(v)){var B=P.slice(0,C),I=P.slice(C+1),F=N.match(y);F&&(B.push(F[1]),I.unshift(F[2])),I.length&&(s="/"+I.join(".")+s),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=l.toASCII(this.hostname));var z=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+z,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!_[h])for(var C=0,R=b.length;C<R;C++){var q=b[C];if(-1!==s.indexOf(q)){var U=encodeURIComponent(q);U===q&&(U=escape(q)),s=s.split(q).join(U)}}var K=s.indexOf("#");-1!==K&&(this.hash=s.substr(K),s=s.slice(0,K));var V=s.indexOf("?");if(-1!==V?(this.search=s.substr(V),this.query=s.substr(V+1),t&&(this.query=k.parse(this.query)),s=s.slice(0,V)):t&&(this.search="",this.query={}),s&&(this.pathname=s),x[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",W=this.search||"";this.path=z+W}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&c.isObject(this.query)&&Object.keys(this.query).length&&(i=k.stringify(this.query));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||x[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+o+n+a+r},r.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(c.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return x[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!x[e.protocol]){for(var p=Object.keys(e),f=0;f<p.length;f++){var d=p[f];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||w[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var b=n.pathname||"",g=n.search||"";n.path=b+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=v||m||n.host&&e.pathname,_=y,k=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],E=n.protocol&&!x[n.protocol];if(E&&(n.hostname="",n.port=null,n.host&&(""===k[0]?k[0]=n.host:k.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),y=y&&(""===h[0]||""===k[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,k=h;else if(h.length)k||(k=[]),k.pop(),k=k.concat(h),n.search=e.search,n.query=e.query;else if(!c.isNullOrUndefined(e.search)){if(E){n.hostname=n.host=k.shift();var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return n.search=e.search,n.query=e.query,c.isNull(n.pathname)&&c.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=k.slice(-1)[0],S=(n.host||e.host||k.length>1)&&("."===C||".."===C)||""===C,j=0,T=k.length;T>=0;T--)C=k[T],"."===C?k.splice(T,1):".."===C?(k.splice(T,1),j++):j&&(k.splice(T,1),j--);if(!y&&!_)for(;j--;j)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),S&&"/"!==k.join("/").substr(-1)&&k.push("");var A=""===k[0]||k[0]&&"/"===k[0].charAt(0);if(E){n.hostname=n.host=A?"":k.length?k.shift():"";var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return y=y||n.host&&k.length,y&&!A&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),c.isNull(n.pathname)&&c.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=p.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var r=n(82),o=n(436),i=Object.prototype,a=i.hasOwnProperty,s=o(function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=s},function(e,t,n){function r(e,t){return function(n,r){var l=s(n)?o:i,c=t?t():{};return l(n,e,a(r,2),c)}}var o=n(492),i=n(493),a=n(26),s=n(11);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.value,n=e.onChange;return wp.element.createElement(s.Toolbar,{controls:l.map(function(e){var r=e.align,o=t===r;return i()({},e,{isActive:o,onClick:function(){return n(o?null:r)}})})})}t.a=r;var o=n(12),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),[{icon:"editor-alignleft",title:Object(a.__)("Align left"),align:"left"},{icon:"editor-aligncenter",title:Object(a.__)("Align center"),align:"center"},{icon:"editor-alignright",title:Object(a.__)("Align right"),align:"right"}])},function(e,t,n){function r(e){return e=o(e),e&&s.test(e)?e.replace(a,i):e}var o=n(64),i=n(499),a=/&(?:amp|lt|gt|quot|#39);/g,s=RegExp(a.source);e.exports=r},,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l,c,u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=n(13),d=r(f),h=n(158),b=r(h),g=n(452),m=r(g),v=n(453),y=r(v),_=(c=l=function(e){function t(){var e,n,r,s;i(this,t);for(var l=arguments.length,c=Array(l),p=0;p<l;p++)c[p]=arguments[p];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.state={lineHeight:null},r.dispatchEvent=function(e){var t=document.createEvent("Event");t.initEvent(e,!0,!1),r.textarea.dispatchEvent(t)},r.getValue=function(e){var t=e.valueLink,n=e.value;return t?t.value:n},r.updateLineHeight=function(){r.setState({lineHeight:(0,y.default)(r.textarea)})},r.onChange=function(e){r.currentValue=e.target.value,r.props.onChange&&r.props.onChange(e)},r.saveDOMNodeRef=function(e){var t=r.props.innerRef;t&&t(e),r.textarea=e},r.getLocals=function(){var e=r,t=e.props,n=(t.onResize,t.maxRows),i=(t.onChange,t.style),a=(t.innerRef,o(t,["onResize","maxRows","onChange","style","innerRef"])),s=e.state.lineHeight,l=e.saveDOMNodeRef,c=n&&s?s*n:null;return u({},a,{saveDOMNodeRef:l,style:c?u({},i,{maxHeight:c}):i,onChange:r.onChange})},s=n,a(r,s)}return s(t,e),p(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows?(this.updateLineHeight(),setTimeout(function(){return(0,m.default)(e.textarea)})):(0,m.default)(this.textarea),n&&this.textarea.addEventListener("autosize:resized",this.props.onResize)}},{key:"componentWillUnmount",value:function(){this.props.onResize&&this.textarea.removeEventListener("autosize:resized",this.props.onResize),this.dispatchEvent("autosize:destroy")}},{key:"render",value:function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=o(e,["children","saveDOMNodeRef"]);return d.default.createElement("textarea",u({},r,{ref:n}),t)}},{key:"componentDidUpdate",value:function(){this.getValue(this.props)!==this.currentValue&&this.dispatchEvent("autosize:update")}}]),t}(d.default.Component),l.defaultProps={rows:1},c);t.default=_,_.propTypes={rows:b.default.number,maxRows:b.default.number,onResize:b.default.func,innerRef:b.default.func}},function(e,t,n){"use strict";var r=n(450),o=n(426),i=n(451);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r,o,i;/*!
|
7 |
-
Autosize
|
8 |
license: MIT
|
9 |
http://www.jacklmoore.com/autosize
|
10 |
*/
|
11 |
-
!function(n,a){o=[t,e],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(e,t){"use strict";function n(e){function t(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function n(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){var t=e.style.height,r=n(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="auto";var i=e.scrollHeight+s;if(0===e.scrollHeight)return void(e.style.height=t);e.style.height=i+"px",l=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}function o(){r();var n=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i!==n?"hidden"===o.overflowY&&(t("scroll"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(t("hidden"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==i){c=i;var s=a("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var s=null,l=e.clientWidth,c=null,u=function(){e.clientWidth!==l&&o()},p=function(t){window.removeEventListener("resize",u,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",p,!1),e.removeEventListener("autosize:update",o,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",p,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",u,!1),e.addEventListener("input",o,!1),e.addEventListener("autosize:update",o,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:p,update:o}),function(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),s="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(s)&&(s=0),o()}()}}function r(e){var t=i.get(e);t&&t.destroy()}function o(e){var t=i.get(e);t&&t.update()}var i="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),a=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){a=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e)}),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e}),t.exports=s})},function(e,t,n){function r(e){var t=o(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=o(e,"line-height"),n=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=o(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var l=document.body;l.appendChild(a);n=a.offsetHeight,l.removeChild(a)}return n}var o=n(454);e.exports=r},function(e,t){var n=function(e,t,n){return n=window.getComputedStyle,(n?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]};e.exports=n},function(e,t,n){function r(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null),e=e||{};var a=e.random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[r+s]=a[s];return t||i(a)}var o=n(456),i=n(457);e.exports=r},function(e,t,n){(function(t){var n,r=t.crypto||t.msCrypto;if(r&&r.getRandomValues){var o=new Uint8Array(16);n=function(){return r.getRandomValues(o),o}}if(!n){var i=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}e.exports=n}).call(t,n(88))},function(e,t){function n(e,t){var n=t||0,o=r;return o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]}for(var r=[],o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);e.exports=n},function(e,t,n){n(459),e.exports=n(10).Object.values},function(e,t,n){var r=n(19),o=n(460)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(44),o=n(30),i=n(71).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,c=0,u=[];l>c;)i.call(a,n=s[c++])&&u.push(e?[n,a[n]]:a[n]);return u}}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.help,r=e.instanceId,o=e.onChange,a=e.options,l=void 0===a?[]:a,u=s()(e,["label","help","instanceId","onChange","options"]),f="inspector-select-control-"+r,d=function(e){return o(e.target.value)};return!c()(l)&&wp.element.createElement(p.a,{label:t,id:f,help:n},wp.element.createElement("select",i()({id:f,className:"blocks-select-control__input",onChange:d,"aria-describedby":n?f+"__help":void 0},u),l.map(function(e){return wp.element.createElement("option",{key:e.value,value:e.value},e.label)})))}var o=n(12),i=n.n(o),a=n(36),s=n.n(a),l=n(275),c=n.n(l),u=n(1),p=(n.n(u),n(207)),f=n(615);n.n(f);t.a=Object(u.withInstanceId)(r)},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,a=e.onChange,l=e.type,u=void 0===l?"text":l,p=s()(e,["label","value","help","instanceId","onChange","type"]),f="inspector-text-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(c.a,{label:t,id:f,help:r},wp.element.createElement("input",i()({className:"blocks-text-control__input",type:u,id:f,value:n,onChange:d,"aria-describedby":r?f+"__help":void 0},p)))}var o=n(12),i=n.n(o),a=n(36),s=n.n(a),l=n(1),c=(n.n(l),n(207)),u=n(616);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t,n){"use strict";function r(e,t){switch(t){case"string":return String(e);case"boolean":return Boolean(e);case"object":return Object(e);case"null":return null;case"array":return Array.isArray(e)?e:d()(e);case"integer":case"number":return Number(e)}return e}function o(e){switch(e.source){case"attribute":return Object(E.a)(e.selector,e.attribute);case"property":return Object(E.e)(e.selector,e.property);case"html":return Object(E.c)(e.selector);case"text":return Object(E.g)(e.selector);case"children":return Object(E.b)(e.selector);case"node":return Object(E.d)(e.selector);case"query":var t=m()(e.query,o);return Object(E.f)(e.selector,t);default:console.error('Unkown source type "'+e.source+'"')}}function i(e,t,n,i){var a=void 0;switch(t.source){case void 0:a=i?i[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":a=Object(v.c)(n,o(t))}return void 0===a?t.default:r(a,t.type)}function a(e,t,n){return m()(e.attributes,function(e,r){return i(r,e,t,n)})}function s(e,t,n){if(e.deprecated)for(var r=0;r<e.deprecated.length;r++){var o=p()({},b()(e,["attributes","save","supports"]),e.deprecated[r]),i=a(o,t,n),s=Object(x.a)(t,o,i);if(s)return i}}function l(e,t,n){"core/text"!==(e=e||Object(_.d)())&&"core/cover-text"!==e||(e="core/paragraph");var r=Object(_.a)(e),o=Object(_.d)();if(r||(e&&(t=Object(k.d)(e,n,t)),e=o,r=Object(_.a)(e)),r&&(t||e!==o)){var i=Object(w.a)(e,a(r,t,n));if(i.isValid=Object(x.a)(t,r,i.attributes),i.originalContent=t,!i.isValid){var l=s(r,t,n);l&&(i.isValid=!0,i.attributes=l)}return i}}function c(e){return Object(y.parse)(e).reduce(function(e,t){var n=t.blockName,r=t.innerHTML,o=t.attrs,i=l(n,r.trim(),o);return i&&e.push(i),e},[])}t.b=a,t.c=c;var u=n(12),p=n.n(u),f=n(106),d=n.n(f),h=n(343),b=n.n(h),g=n(180),m=n.n(g),v=n(546),y=n(623),_=(n.n(y),n(232)),w=n(427),x=n(547),k=n(465),E=n(632);t.a=c},function(e,t,n){"use strict";function r(e){return"wp-block-"+e.replace(/\//,"-").replace(/^core-/,"")}function o(e,t){var n=e.save,r=void 0;if(n.prototype instanceof T.Component)r=Object(T.createElement)(n,{attributes:t});else if("string"==typeof(r=n({attributes:t})))return r;var o=function(n){if(!n||!k()(n))return n;var r=Object(A.b)("getSaveContent.extraProps",b()({},n.props),e,t);return Object(T.cloneElement)(n,r)},i=T.Children.map(r,o);return Object(T.renderToString)(i)}function i(e,t){return O()(t.attributes,function(t,n,r){var o=e[r];return void 0===o?t:void 0!==n.source?t:"default"in n&&n.default===o?t:(t[r]=o,t)},{})}function a(e){return d()(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026")}function s(e){return Object(j.html)(e,{indent_inner_html:!0,wrap_line_length:0})}function l(e){var t=Object(P.a)(e.name),n=e.originalContent;if(e.isValid)try{n=o(t,e.attributes)}catch(e){}return Object(P.d)()!==e.name&&n?s(n):n}function c(e,t,n){var r=S()(t)?"":a(t)+" ",o=m()(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:"+o+" "+r+"--\x3e\n"+n+"\n\x3c!-- /wp:"+o+" --\x3e":"\x3c!-- wp:"+o+" "+r+"/--\x3e"}function u(e){var t=e.name,n=Object(P.a)(t),r=l(e),o=i(e.attributes,n);switch(t){case"core/more":var a=o.customText,s=o.noTeaser,u=a?"\x3c!--more "+a+"--\x3e":"\x3c!--more--\x3e",p=s?"\x3c!--noteaser--\x3e":"";return y()([u,p]).join("\n");case Object(P.d)():return r;default:return c(t,o,r)}}function p(e){return w()(e).map(u).join("\n\n")}t.c=r,t.e=o,t.b=l,t.d=c,t.a=p;var f=n(466),d=n.n(f),h=n(12),b=n.n(h),g=n(548),m=n.n(g),v=n(280),y=n.n(v),_=n(335),w=n.n(_),x=n(21),k=n.n(x),E=n(163),O=n.n(E),C=n(275),S=n.n(C),j=n(630),T=(n.n(j),n(2)),A=(n.n(T),n(429)),P=n(232)},function(e,t,n){e.exports={default:n(467),__esModule:!0}},function(e,t,n){var r=n(10),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){var r,o;Object.values||(Object.values=function(e){if(e!==Object(e))throw new TypeError("Object.values called on a non-object");var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(e[t]);return n}),function(){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function i(e,t){function r(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function o(e){return e.replace(/^\s+|\s+$/g,"")}function i(e){return e.replace(/^\s+/g,"")}function a(e){e=e||f.before_newline;var t=Object.values(f);if(!r(e,t))throw new Error("Invalid Option Value: The option 'operator_position' must be one of the following values\n"+t+"\nYou passed in: '"+e+"'");return e}function s(e,t){"use strict";function s(e,t){var n=0;return e&&(n=e.indentation_level,!G.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:G.get_line_number(),ternary_depth:0}}function l(e,t){for(var n=e.newlines,r=ie.keep_array_indentation&&k(ee.mode),o=Y,i=0;i<e.comments_before.length;i++)Y=e.comments_before[i],l(Y,t),oe[Y.type](t);if(Y=o,r)for(var a=0;a<n;a+=1)m(a>0,t);else if(ie.max_preserve_newlines&&n>ie.max_preserve_newlines&&(n=ie.max_preserve_newlines),ie.preserve_newlines&&e.newlines>1){m(!1,t);for(var s=1;s<n;s+=1)m(!0,t)}}function b(e){e=e.replace(p.allLineBreaks,"\n");for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(e.substring(0,n)),e=e.substring(n+1),n=e.indexOf("\n");return e.length&&t.push(e),t}function g(e){if(e=void 0!==e&&e,!G.just_added_newline()){var t=ie.preserve_newlines&&Y.wanted_newline||e;if(r(ee.last_text,X.positionable_operators)||r(Y.text,X.positionable_operators)){var n=r(ee.last_text,X.positionable_operators)&&r(ie.operator_position,d)||r(Y.text,X.positionable_operators);t=t&&n}if(t)m(!1,!0);else if(ie.wrap_line_length){if("TK_RESERVED"===Z&&r(ee.last_text,ue))return;var o=G.current_line.get_character_count()+Y.text.length+(G.space_before_token?1:0);o>=ie.wrap_line_length&&m(!1,!0)}}}function m(e,t){if(!t&&";"!==ee.last_text&&","!==ee.last_text&&"="!==ee.last_text&&"TK_OPERATOR"!==Z)for(var n=P(1);!(ee.mode!==h.Statement||ee.if_block&&n&&"TK_RESERVED"===n.type&&"else"===n.text||ee.do_block);)O();G.add_new_line(e)&&(ee.multiline_frame=!0)}function v(){G.just_added_newline()&&(ie.keep_array_indentation&&k(ee.mode)&&Y.wanted_newline?(G.current_line.push(Y.whitespace_before),G.space_before_token=!1):G.set_indent(ee.indentation_level)&&(ee.line_indent_level=ee.indentation_level))}function y(e){if(G.raw)return void G.add_raw_token(Y);if(ie.comma_first&&"TK_COMMA"===Z&&G.just_added_newline()&&","===G.previous_line.last()){var t=G.previous_line.pop();G.previous_line.is_empty()&&(G.previous_line.push(t),G.trim(!0),G.current_line.pop(),G.trim()),v(),G.add_token(","),G.space_before_token=!0}e=e||Y.text,v(),G.add_token(e)}function _(){ee.indentation_level+=1}function w(){ee.indentation_level>0&&(!ee.parent||ee.indentation_level>ee.parent.indentation_level)&&(ee.indentation_level-=1)}function x(e){ee?(ne.push(ee),te=ee):te=s(null,e),ee=s(te,e)}function k(e){return e===h.ArrayLiteral}function E(e){return r(e,[h.Expression,h.ForInitializer,h.Conditional])}function O(){ne.length>0&&(te=ee,ee=ne.pop(),te.mode===h.Statement&&G.remove_redundant_indentation(te))}function C(){return ee.parent.mode===h.ObjectLiteral&&ee.mode===h.Statement&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Z&&r(ee.last_text,["get","set"]))}function S(){return!!("TK_RESERVED"===Z&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type||"TK_RESERVED"===Z&&"do"===ee.last_text||"TK_RESERVED"===Z&&r(ee.last_text,["return","throw"])&&!Y.wanted_newline||"TK_RESERVED"===Z&&"else"===ee.last_text&&("TK_RESERVED"!==Y.type||"if"!==Y.text||Y.comments_before.length)||"TK_END_EXPR"===Z&&(te.mode===h.ForInitializer||te.mode===h.Conditional)||"TK_WORD"===Z&&ee.mode===h.BlockStatement&&!ee.in_case&&"--"!==Y.text&&"++"!==Y.text&&"function"!==Q&&"TK_WORD"!==Y.type&&"TK_RESERVED"!==Y.type||ee.mode===h.ObjectLiteral&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Z&&r(ee.last_text,["get","set"])))&&(x(h.Statement),_(),l(Y,!0),C()||g("TK_RESERVED"===Y.type&&r(Y.text,["do","for","if","while"])),!0)}function j(e,t){for(var n=0;n<e.length;n++){if(o(e[n]).charAt(0)!==t)return!1}return!0}function T(e,t){for(var n,r=0,o=e.length;r<o;r++)if((n=e[r])&&0!==n.indexOf(t))return!1;return!0}function A(e){return r(e,["case","return","do","if","throw","else"])}function P(e){var t=$+(e||0);return t<0||t>=ae.length?null:ae[t]}function R(){S()||l(Y);var e=h.Expression;if("["===Y.text){if("TK_WORD"===Z||")"===ee.last_text)return"TK_RESERVED"===Z&&r(ee.last_text,X.line_starters)&&(G.space_before_token=!0),x(e),y(),_(),void(ie.space_in_paren&&(G.space_before_token=!0));e=h.ArrayLiteral,k(ee.mode)&&("["!==ee.last_text&&(","!==ee.last_text||"]"!==Q&&"}"!==Q)||ie.keep_array_indentation||m())}else"TK_RESERVED"===Z&&"for"===ee.last_text?e=h.ForInitializer:"TK_RESERVED"===Z&&r(ee.last_text,["if","while"])&&(e=h.Conditional);";"===ee.last_text||"TK_START_BLOCK"===Z?m():"TK_END_EXPR"===Z||"TK_START_EXPR"===Z||"TK_END_BLOCK"===Z||"."===ee.last_text?g(Y.wanted_newline):"TK_RESERVED"===Z&&"("===Y.text||"TK_WORD"===Z||"TK_OPERATOR"===Z?"TK_RESERVED"===Z&&("function"===ee.last_word||"typeof"===ee.last_word)||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?ie.space_after_anon_function&&(G.space_before_token=!0):"TK_RESERVED"!==Z||!r(ee.last_text,X.line_starters)&&"catch"!==ee.last_text||ie.space_before_conditional&&(G.space_before_token=!0):G.space_before_token=!0,"("===Y.text&&"TK_RESERVED"===Z&&"await"===ee.last_word&&(G.space_before_token=!0),"("===Y.text&&("TK_EQUALS"!==Z&&"TK_OPERATOR"!==Z||C()||g()),"("===Y.text&&"TK_WORD"!==Z&&"TK_RESERVED"!==Z&&g(),x(e),y(),ie.space_in_paren&&(G.space_before_token=!0),_()}function N(){for(;ee.mode===h.Statement;)O();l(Y),ee.multiline_frame&&g("]"===Y.text&&k(ee.mode)&&!ie.keep_array_indentation),ie.space_in_paren&&("TK_START_EXPR"!==Z||ie.space_in_empty_paren?G.space_before_token=!0:(G.trim(),G.space_before_token=!1)),"]"===Y.text&&ie.keep_array_indentation?(y(),O()):(O(),y()),G.remove_redundant_indentation(te),ee.do_while&&te.mode===h.Conditional&&(te.mode=h.Expression,ee.do_block=!1,ee.do_while=!1)}function L(){l(Y);var e=P(1),t=P(2);x(t&&(r(t.text,[":",","])&&r(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||r(e.text,["get","set","..."])&&r(t.type,["TK_WORD","TK_RESERVED"]))?r(Q,["class","interface"])?h.BlockStatement:h.ObjectLiteral:"TK_OPERATOR"===Z&&"=>"===ee.last_text?h.BlockStatement:r(Z,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===Z&&r(ee.last_text,["return","throw","import","default"])?h.ObjectLiteral:h.BlockStatement);var n=!e.comments_before.length&&"}"===e.text,o=n&&"function"===ee.last_word&&"TK_END_EXPR"===Z;if(ie.brace_preserve_inline){var i=0,a=null;ee.inline_frame=!0;do{if(i+=1,a=P(i),a.wanted_newline){ee.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==Y))}("expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline)&&!ee.inline_frame?"TK_OPERATOR"!==Z&&(o||"TK_EQUALS"===Z||"TK_RESERVED"===Z&&A(ee.last_text)&&"else"!==ee.last_text)?G.space_before_token=!0:m(!1,!0):(!k(te.mode)||"TK_START_EXPR"!==Z&&"TK_COMMA"!==Z||(("TK_COMMA"===Z||ie.space_in_paren)&&(G.space_before_token=!0),("TK_COMMA"===Z||"TK_START_EXPR"===Z&&ee.inline_frame)&&(g(),te.multiline_frame=te.multiline_frame||ee.multiline_frame,ee.multiline_frame=!1)),"TK_OPERATOR"!==Z&&"TK_START_EXPR"!==Z&&("TK_START_BLOCK"!==Z||ee.inline_frame?G.space_before_token=!0:m())),y(),_()}function M(){for(l(Y);ee.mode===h.Statement;)O();var e="TK_START_BLOCK"===Z;ee.inline_frame&&!e?G.space_before_token=!0:"expand"===ie.brace_style?e||m():e||(k(ee.mode)&&ie.keep_array_indentation?(ie.keep_array_indentation=!1,m(),ie.keep_array_indentation=!0):m()),O(),y()}function D(){if("TK_RESERVED"===Y.type)if(r(Y.text,["set","get"])&&ee.mode!==h.ObjectLiteral)Y.type="TK_WORD";else if(r(Y.text,["as","from"])&&!ee.import_block)Y.type="TK_WORD";else if(ee.mode===h.ObjectLiteral){var e=P(1);":"===e.text&&(Y.type="TK_WORD")}if(S()?"TK_RESERVED"===Z&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type&&(ee.declaration_statement=!0):!Y.wanted_newline||E(ee.mode)||"TK_OPERATOR"===Z&&"--"!==ee.last_text&&"++"!==ee.last_text||"TK_EQUALS"===Z||!ie.preserve_newlines&&"TK_RESERVED"===Z&&r(ee.last_text,["var","let","const","set","get"])?l(Y):(l(Y),m()),ee.do_block&&!ee.do_while){if("TK_RESERVED"===Y.type&&"while"===Y.text)return G.space_before_token=!0,y(),G.space_before_token=!0,void(ee.do_while=!0);m(),ee.do_block=!1}if(ee.if_block)if(ee.else_block||"TK_RESERVED"!==Y.type||"else"!==Y.text){for(;ee.mode===h.Statement;)O();ee.if_block=!1,ee.else_block=!1}else ee.else_block=!0;if("TK_RESERVED"===Y.type&&("case"===Y.text||"default"===Y.text&&ee.in_case_statement))return m(),(ee.case_body||ie.jslint_happy)&&(w(),ee.case_body=!1),y(),ee.in_case=!0,void(ee.in_case_statement=!0);if("TK_COMMA"!==Z&&"TK_START_EXPR"!==Z&&"TK_EQUALS"!==Z&&"TK_OPERATOR"!==Z||C()||g(),"TK_RESERVED"===Y.type&&"function"===Y.text)return(r(ee.last_text,["}",";"])||G.just_added_newline()&&!r(ee.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==Z)&&(G.just_added_blankline()||Y.comments_before.length||(m(),m(!0))),"TK_RESERVED"===Z||"TK_WORD"===Z?"TK_RESERVED"===Z&&r(ee.last_text,["get","set","new","return","export","async"])?G.space_before_token=!0:"TK_RESERVED"===Z&&"default"===ee.last_text&&"export"===Q?G.space_before_token=!0:m():"TK_OPERATOR"===Z||"="===ee.last_text?G.space_before_token=!0:(ee.multiline_frame||!E(ee.mode)&&!k(ee.mode))&&m(),y(),void(ee.last_word=Y.text);if(re="NONE","TK_END_BLOCK"===Z?te.inline_frame?re="SPACE":"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally","from"])?"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline?re="NEWLINE":(re="SPACE",G.space_before_token=!0):re="NEWLINE":"TK_SEMICOLON"===Z&&ee.mode===h.BlockStatement?re="NEWLINE":"TK_SEMICOLON"===Z&&E(ee.mode)?re="SPACE":"TK_STRING"===Z?re="NEWLINE":"TK_RESERVED"===Z||"TK_WORD"===Z||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?re="SPACE":"TK_START_BLOCK"===Z?re=ee.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===Z&&(G.space_before_token=!0,re="NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&(re=ee.inline_frame||"else"===ee.last_text||"export"===ee.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally"]))if(("TK_END_BLOCK"!==Z||te.mode!==h.BlockStatement||"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline)&&!ee.inline_frame)m();else{G.trim(!0);var t=G.current_line;"}"!==t.last()&&m(),G.space_before_token=!0}else"NEWLINE"===re?"TK_RESERVED"===Z&&A(ee.last_text)?G.space_before_token=!0:"TK_END_EXPR"!==Z?"TK_START_EXPR"===Z&&"TK_RESERVED"===Y.type&&r(Y.text,["var","let","const"])||":"===ee.last_text||("TK_RESERVED"===Y.type&&"if"===Y.text&&"else"===ee.last_text?G.space_before_token=!0:m()):"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&m():ee.multiline_frame&&k(ee.mode)&&","===ee.last_text&&"}"===Q?m():"SPACE"===re&&(G.space_before_token=!0);y(),ee.last_word=Y.text,"TK_RESERVED"===Y.type&&("do"===Y.text?ee.do_block=!0:"if"===Y.text?ee.if_block=!0:"import"===Y.text?ee.import_block=!0:ee.import_block&&"TK_RESERVED"===Y.type&&"from"===Y.text&&(ee.import_block=!1))}function B(){S()?G.space_before_token=!1:l(Y);for(var e=P(1);!(ee.mode!==h.Statement||ee.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||ee.do_block);)O();ee.import_block&&(ee.import_block=!1),y()}function I(){S()?G.space_before_token=!0:(l(Y),"TK_RESERVED"===Z||"TK_WORD"===Z||ee.inline_frame?G.space_before_token=!0:"TK_COMMA"===Z||"TK_START_EXPR"===Z||"TK_EQUALS"===Z||"TK_OPERATOR"===Z?C()||g():m()),y()}function F(){S()||l(Y),ee.declaration_statement&&(ee.declaration_assignment=!0),G.space_before_token=!0,y(),G.space_before_token=!0}function z(){l(Y,!0),y(),G.space_before_token=!0,ee.declaration_statement?(E(ee.parent.mode)&&(ee.declaration_assignment=!1),ee.declaration_assignment?(ee.declaration_assignment=!1,m(!1,!0)):ie.comma_first&&g()):ee.mode===h.ObjectLiteral||ee.mode===h.Statement&&ee.parent.mode===h.ObjectLiteral?(ee.mode===h.Statement&&O(),ee.inline_frame||m()):ie.comma_first&&g()}function H(){var e="*"===Y.text&&("TK_RESERVED"===Z&&r(ee.last_text,["function","yield"])||r(Z,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=r(Y.text,["-","+"])&&(r(Z,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(ee.last_text,X.line_starters)||","===ee.last_text);if(S());else{l(Y,!e)}if("TK_RESERVED"===Z&&A(ee.last_text))return G.space_before_token=!0,void y();if("*"===Y.text&&"TK_DOT"===Z)return void y();if("::"===Y.text)return void y();if("TK_OPERATOR"===Z&&r(ie.operator_position,d)&&g(),":"===Y.text&&ee.in_case)return ee.case_body=!0,_(),y(),m(),void(ee.in_case=!1);var n=!0,o=!0,i=!1;if(":"===Y.text?0===ee.ternary_depth?n=!1:(ee.ternary_depth-=1,i=!0):"?"===Y.text&&(ee.ternary_depth+=1),!t&&!e&&ie.preserve_newlines&&r(Y.text,X.positionable_operators)){var a=":"===Y.text,s=a&&i,c=a&&!i;switch(ie.operator_position){case f.before_newline:return G.space_before_token=!c,y(),a&&!s||g(),void(G.space_before_token=!0);case f.after_newline:return G.space_before_token=!0,!a||s?P(1).wanted_newline?m(!1,!0):g():G.space_before_token=!1,y(),void(G.space_before_token=!0);case f.preserve_newline:return c||g(),n=!(G.just_added_newline()||c),G.space_before_token=n,y(),void(G.space_before_token=!0)}}if(e){g(),n=!1;var u=P(1);o=u&&r(u.type,["TK_WORD","TK_RESERVED"])}else"..."===Y.text?(g(),n="TK_START_BLOCK"===Z,o=!1):(r(Y.text,["--","++","!","~"])||t)&&(n=!1,o=!1,!Y.wanted_newline||"--"!==Y.text&&"++"!==Y.text||m(!1,!0),";"===ee.last_text&&E(ee.mode)&&(n=!0),"TK_RESERVED"===Z?n=!0:"TK_END_EXPR"===Z?n=!("]"===ee.last_text&&("--"===Y.text||"++"===Y.text)):"TK_OPERATOR"===Z&&(n=r(Y.text,["--","-","++","+"])&&r(ee.last_text,["--","-","++","+"]),r(Y.text,["+","-"])&&r(ee.last_text,["--","++"])&&(o=!0)),(ee.mode!==h.BlockStatement||ee.inline_frame)&&ee.mode!==h.Statement||"{"!==ee.last_text&&";"!==ee.last_text||m());G.space_before_token=G.space_before_token||n,y(),G.space_before_token=o}function q(e){if(G.raw)return G.add_raw_token(Y),void(Y.directives&&"end"===Y.directives.preserve&&(G.raw=ie.test_output_raw));if(Y.directives)return m(!1,e),y(),"start"===Y.directives.preserve&&(G.raw=!0),void m(!1,!0);if(!p.newline.test(Y.text)&&!Y.wanted_newline)return G.space_before_token=!0,y(),void(G.space_before_token=!0);var t,n=b(Y.text),r=!1,o=!1,a=Y.whitespace_before,s=a.length;for(m(!1,e),n.length>1&&(r=j(n.slice(1),"*"),o=T(n.slice(1),a)),y(n[0]),t=1;t<n.length;t++)m(!1,!0),r?y(" "+i(n[t])):o&&n[t].length>s?y(n[t].substring(s)):G.add_token(n[t]);m(!1,e)}function U(e){Y.wanted_newline?m(!1,e):G.trim(!0),G.space_before_token=!0,y(),m(!1,e)}function K(){S()||l(Y,!0),"TK_RESERVED"===Z&&A(ee.last_text)?G.space_before_token=!0:g(")"===ee.last_text&&ie.break_chained_methods),y()}function V(e){y(),"\n"===Y.text[Y.text.length-1]&&m(!1,e)}function W(){for(;ee.mode===h.Statement;)O();l(Y)}var G,$,X,Y,Z,Q,J,ee,te,ne,re,oe,ie,ae=[],se="";oe={TK_START_EXPR:R,TK_END_EXPR:N,TK_START_BLOCK:L,TK_END_BLOCK:M,TK_WORD:D,TK_RESERVED:D,TK_SEMICOLON:B,TK_STRING:I,TK_EQUALS:F,TK_OPERATOR:H,TK_COMMA:z,TK_BLOCK_COMMENT:q,TK_COMMENT:U,TK_DOT:K,TK_UNKNOWN:V,TK_EOF:W},t=t||{},t=n(t,"js"),ie={},"expand-strict"===t.brace_style?t.brace_style="expand":"collapse-preserve-inline"===t.brace_style?t.brace_style="collapse,preserve-inline":void 0!==t.braces_on_own_line?t.brace_style=t.braces_on_own_line?"expand":"collapse":t.brace_style||(t.brace_style="collapse");var le=t.brace_style.split(/[^a-zA-Z0-9_\-]+/);for(ie.brace_style=le[0],ie.brace_preserve_inline=!!le[1]&&le[1],ie.indent_size=t.indent_size?parseInt(t.indent_size,10):4,ie.indent_char=t.indent_char?t.indent_char:" ",ie.eol=t.eol?t.eol:"auto",ie.preserve_newlines=void 0===t.preserve_newlines||t.preserve_newlines,ie.break_chained_methods=void 0!==t.break_chained_methods&&t.break_chained_methods,ie.max_preserve_newlines=void 0===t.max_preserve_newlines?0:parseInt(t.max_preserve_newlines,10),ie.space_in_paren=void 0!==t.space_in_paren&&t.space_in_paren,ie.space_in_empty_paren=void 0!==t.space_in_empty_paren&&t.space_in_empty_paren,ie.jslint_happy=void 0!==t.jslint_happy&&t.jslint_happy,ie.space_after_anon_function=void 0!==t.space_after_anon_function&&t.space_after_anon_function,ie.keep_array_indentation=void 0!==t.keep_array_indentation&&t.keep_array_indentation,ie.space_before_conditional=void 0===t.space_before_conditional||t.space_before_conditional,ie.unescape_strings=void 0!==t.unescape_strings&&t.unescape_strings,ie.wrap_line_length=void 0===t.wrap_line_length?0:parseInt(t.wrap_line_length,10),ie.e4x=void 0!==t.e4x&&t.e4x,ie.end_with_newline=void 0!==t.end_with_newline&&t.end_with_newline,ie.comma_first=void 0!==t.comma_first&&t.comma_first,ie.operator_position=a(t.operator_position),ie.test_output_raw=void 0!==t.test_output_raw&&t.test_output_raw,ie.jslint_happy&&(ie.space_after_anon_function=!0),t.indent_with_tabs&&(ie.indent_char="\t",ie.indent_size=1),"auto"===ie.eol&&(ie.eol="\n",e&&p.lineBreak.test(e||"")&&(ie.eol=e.match(p.lineBreak)[0])),ie.eol=ie.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),J="";ie.indent_size>0;)J+=ie.indent_char,ie.indent_size-=1;var ce=0;if(e&&e.length){for(;" "===e.charAt(ce)||"\t"===e.charAt(ce);)se+=e.charAt(ce),ce+=1;e=e.substring(ce)}Z="TK_START_BLOCK",Q="",G=new c(J,se),G.raw=ie.test_output_raw,ne=[],x(h.BlockStatement),this.beautify=function(){var t;for(X=new u(e,ie,J),ae=X.tokenize(),$=0,Y=P();Y;)oe[Y.type](),Q=ee.last_text,Z=Y.type,ee.last_text=Y.text,$+=1,Y=P();return t=G.get_code(),ie.end_with_newline&&(t+="\n"),"\n"!==ie.eol&&(t=t.replace(/[\n]/g,ie.eol)),t};var ue=["break","continue","return","throw"]}function l(e){var t=0,n=-1,r=[],o=!0;this.set_indent=function(r){t=e.baseIndentLength+r*e.indent_length,n=r},this.get_character_count=function(){return t},this.is_empty=function(){return o},this.last=function(){return this._empty?null:r[r.length-1]},this.push=function(e){r.push(e),t+=e.length,o=!1},this.pop=function(){var e=null;return o||(e=r.pop(),t-=e.length,o=0===r.length),e},this.remove_indent=function(){n>0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)r.pop(),t-=1;o=0===r.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=r.join("")),t}}function c(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var n=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new l(this),n.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return n.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(){return n.join("\n").replace(/[\r\n\t ]+$/,"")},this.set_indent=function(e){if(n.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.add_outputline();this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1},this.add_token=function(e){this.add_space_before_token(),this.current_line.push(e)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" "),this.space_before_token=!1},this.remove_redundant_indentation=function(e){if(!e.multiline_frame&&e.mode!==h.ForInitializer&&e.mode!==h.Conditional)for(var t=e.start_line_index,r=n.length;t<r;)n[t].remove_indent(),t++},this.trim=function(r){for(r=void 0!==r&&r,this.current_line.trim(e,t);r&&n.length>1&&this.current_line.is_empty();)n.pop(),this.current_line=n[n.length-1],this.current_line.trim();this.previous_line=n.length>1?n[n.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){if(this.just_added_newline()){if(1===n.length)return!0;return n[n.length-2].is_empty()}return!1}}function u(e,t){function n(e){if(!e.match(E))return null;var t={};O.lastIndex=0;for(var n=O.exec(e);n;)t[n[1]]=n[2],n=O.exec(e);return t}function i(){var e,i=[];h=0,m="";var b=_.next();if(null===b)return["","TK_EOF"];var E;for(E=y.length?y[y.length-1]:new g("TK_START_BLOCK","{");r(b,s);)if(p.newline.test(b)?"\n"===b&&"\r"===_.peek(-2)||(h+=1,i=[]):i.push(b),null===(b=_.next()))return["","TK_EOF"];if(i.length&&(m=i.join("")),l.test(b)||"."===b&&_.testChar(l)){var O=!0,j=!0,T=l;for("0"===b&&_.testChar(/[XxOoBb]/)?(O=!1,j=!1,T=_.testChar(/[Bb]/)?c:_.testChar(/[Oo]/)?u:f,b+=_.next()):"."===b?O=!1:(b="",_.back());_.testChar(T);)b+=_.next(),O&&"."===_.peek()&&(b+=_.next(),O=!1),j&&_.testChar(/[Ee]/)&&(b+=_.next(),_.testChar(/[+-]/)&&(b+=_.next()),j=!1,O=!1);return[b,"TK_WORD"]}if(p.isIdentifierStart(_.peekCharCode(-1))){if(_.hasNext())for(;p.isIdentifierChar(_.peekCharCode())&&(b+=_.next(),_.hasNext()););return"TK_DOT"===E.type||"TK_RESERVED"===E.type&&r(E.text,["set","get"])||!r(b,w)?[b,"TK_WORD"]:"in"===b||"of"===b?[b,"TK_OPERATOR"]:[b,"TK_RESERVED"]}if("("===b||"["===b)return[b,"TK_START_EXPR"];if(")"===b||"]"===b)return[b,"TK_END_EXPR"];if("{"===b)return[b,"TK_START_BLOCK"];if("}"===b)return[b,"TK_END_BLOCK"];if(";"===b)return[b,"TK_SEMICOLON"];if("/"===b){var A,P="";if("*"===_.peek()){_.next(),A=_.match(x),P="/*"+A[0];var R=n(P);return R&&"start"===R.ignore&&(A=_.match(C),P+=A[0]),P=P.replace(p.allLineBreaks,"\n"),[P,"TK_BLOCK_COMMENT",R]}if("/"===_.peek())return _.next(),A=_.match(k),P="//"+A[0],[P,"TK_COMMENT"]}var N=/<()([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;if("`"===b||"'"===b||'"'===b||("/"===b||t.e4x&&"<"===b&&_.test(N,-1))&&("TK_RESERVED"===E.type&&r(E.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===E.type&&")"===E.text&&E.parent&&"TK_RESERVED"===E.parent.type&&r(E.parent.text,["if","while","for"])||r(E.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var L=b,M=!1,D=!1;if(e=b,"/"===L)for(var B=!1;_.hasNext()&&(M||B||_.peek()!==L)&&!_.testChar(p.newline);)e+=_.peek(),M?M=!1:(M="\\"===_.peek(),"["===_.peek()?B=!0:"]"===_.peek()&&(B=!1)),_.next();else if(t.e4x&&"<"===L){var I=/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;_.back();var F="",z=_.match(N);if(z){for(var H=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),q=0===H.indexOf("{"),U=0;z;){var K=!!z[1],V=z[2],W=!!z[z.length-1]||"![CDATA["===V.slice(0,8);if(!W&&(V===H||q&&V.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(K?--U:++U),F+=z[0],U<=0)break;z=_.match(I)}return z||(F+=_.match(/[\s\S]*/g)[0]),F=F.replace(p.allLineBreaks,"\n"),[F,"TK_STRING"]}}else{var G=function(t,n,r){for(var o;_.hasNext()&&(o=_.peek(),M||o!==t&&(n||!p.newline.test(o)));)(M||n)&&p.newline.test(o)?("\r"===o&&"\n"===_.peek(1)&&(_.next(),o=_.peek()),e+="\n"):e+=o,M?("x"!==o&&"u"!==o||(D=!0),M=!1):M="\\"===o,_.next(),r&&-1!==e.indexOf(r,e.length-r.length)&&("`"===t?G("}",n,"`"):G("`",n,"${"),_.hasNext()&&(e+=_.next()))};"`"===L?G("`",!0,"${"):G(L)}if(D&&t.unescape_strings&&(e=a(e)),_.peek()===L&&(e+=L,_.next(),"/"===L))for(;_.hasNext()&&p.isIdentifierStart(_.peekCharCode());)e+=_.next();return[e,"TK_STRING"]}if("#"===b){if(0===y.length&&"!"===_.peek()){for(e=b;_.hasNext()&&"\n"!==b;)b=_.next(),e+=b;return[o(e)+"\n","TK_UNKNOWN"]}var $="#";if(_.hasNext()&&_.testChar(l)){do{b=_.next(),$+=b}while(_.hasNext()&&"#"!==b&&"="!==b);return"#"===b||("["===_.peek()&&"]"===_.peek(1)?($+="[]",_.next(),_.next()):"{"===_.peek()&&"}"===_.peek(1)&&($+="{}",_.next(),_.next())),[$,"TK_WORD"]}}if("<"===b&&("?"===_.peek()||"%"===_.peek())){_.back();var X=_.match(S);if(X)return b=X[0],b=b.replace(p.allLineBreaks,"\n"),[b,"TK_STRING"]}if("<"===b&&_.match(/\!--/g)){for(b="\x3c!--";_.hasNext()&&!_.testChar(p.newline);)b+=_.next();return v=!0,[b,"TK_COMMENT"]}if("-"===b&&v&&_.match(/->/g))return v=!1,["--\x3e","TK_COMMENT"];if("."===b)return"."===_.peek()&&"."===_.peek(1)?(b+=_.next()+_.next(),[b,"TK_OPERATOR"]):[b,"TK_DOT"];if(r(b,d)){for(;_.hasNext()&&r(b+_.peek(),d)&&(b+=_.next(),_.hasNext()););return","===b?[b,"TK_COMMA"]:"="===b?[b,"TK_EQUALS"]:[b,"TK_OPERATOR"]}return[b,"TK_UNKNOWN"]}function a(e){for(var t="",n=0,r=new b(e),o=null;r.hasNext();)if(o=r.match(/([\s]|[^\\]|\\\\)+/g),o&&(t+=o[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())o=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){t+="\\",r.hasNext()&&(t+=r.next());continue}o=r.match(/u([0-9A-Fa-f]{4})/g)}if(!o)return e;if((n=parseInt(o[1],16))>126&&n<=255&&0===o[0].indexOf("x"))return e;if(n>=0&&n<32){t+="\\"+o[0];continue}t+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return t}var s="\n\r\t ".split(""),l=/[0-9]/,c=/[01]/,u=/[01234567]/,f=/[0123456789abcdefABCDEF]/;this.positionable_operators="!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||".split(" ");var d=this.positionable_operators.concat("! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~ ...".split(" "));this.line_starters="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var h,m,v,y,_,w=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),x=/([\s\S]*?)((?:\*\/)|$)/g,k=/([^\n\r\u2028\u2029]*)/g,E=/\/\* beautify( \w+[:]\w+)+ \*\//g,O=/ (\w+)[:](\w+)/g,C=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,S=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;this.tokenize=function(){_=new b(e),v=!1,y=[];for(var t,n,r,o=null,a=[],s=[];!n||"TK_EOF"!==n.type;){for(r=i(),t=new g(r[1],r[0],h,m);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=r[2]),s.push(t),r=i(),t=new g(r[1],r[0],h,m);s.length&&(t.comments_before=s,s=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,a.push(o),o=t):("TK_END_BLOCK"===t.type||"TK_END_EXPR"===t.type)&&o&&("]"===t.text&&"["===o.text||")"===t.text&&"("===o.text||"}"===t.text&&"{"===o.text)&&(t.parent=o.parent,t.opened=o,o=a.pop()),y.push(t),n=t}return y}}var p={};!function(e){var t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n=new RegExp("["+t+"]"),r=new RegExp("["+t+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g"),e.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&n.test(String.fromCharCode(e)))},e.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&r.test(String.fromCharCode(e))))}}(p);var f={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},d=[f.before_newline,f.preserve_newline],h={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"},b=function(e){var t=e,n=t.length,r=0;this.back=function(){r-=1},this.hasNext=function(){return r<n},this.next=function(){var e=null;return this.hasNext()&&(e=t.charAt(r),r+=1),e},this.peek=function(e){var o=null;return e=e||0,e+=r,e>=0&&e<n&&(o=t.charAt(e)),o},this.peekCharCode=function(e){var o=0;return e=e||0,e+=r,e>=0&&e<n&&(o=t.charCodeAt(e)),o},this.test=function(e,n){return n=n||0,e.lastIndex=r+n,e.test(t)},this.testChar=function(e,t){var n=this.peek(t);return null!==n&&e.test(n)},this.match=function(e){e.lastIndex=r;var n=e.exec(t);return n&&n.index===r?r+=n[0].length:n=null,n}},g=function(e,t,n,r,o){this.type=e,this.text=t,this.comments_before=[],this.comments_after=[],this.newlines=n||0,this.wanted_newline=n>0,this.whitespace_before=r||"",this.parent=o||null,this.opened=null,this.directives=null};return new s(e,t).beautify()}r=[],void 0!==(o=function(){return{js_beautify:i}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){var r,o;!function(){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function i(e,t){function r(){return(w=e.charAt(++k))||""}function o(t){var n="",o=k;return t&&c(),n=e.charAt(k+1)||"",k=o-1,r(),n}function l(t){for(var n=k;r();)if("\\"===w)r();else{if(-1!==t.indexOf(w))break;if("\n"===w)break}return e.substring(n,k+1)}function c(e){for(var t=0;x.test(o());)r(),"\n"===w&&e&&b&&(T.newLine(!0),t++);return f=t,t}function u(t){var n=k;for(t="/"===o(),r();r();){if(!t&&"*"===w&&"/"===o()){r();break}if(t&&"\n"===w)return e.substring(n,k)}return e.substring(n,k)+w}function p(t){return e.substring(k-t.length,k).toLowerCase()===t}t=t||{},t=n(t,"css"),e=e||"";var f=0,d=t.indent_size?parseInt(t.indent_size,10):4,h=t.indent_char||" ",b=void 0!==t.preserve_newlines&&t.preserve_newlines,g=void 0===t.selector_separator_newline||t.selector_separator_newline,m=void 0!==t.end_with_newline&&t.end_with_newline,v=void 0===t.newline_between_rules||t.newline_between_rules,y=void 0!==t.space_around_combinator&&t.space_around_combinator;y=y||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var _=t.eol?t.eol:"auto";t.indent_with_tabs&&(h="\t",d=1),"auto"===_&&(_="\n",e&&a.test(e||"")&&(_=e.match(a)[0])),_=_.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(s,"\n");var w,x=/^\s+$/,k=-1,E=0,O=e.match(/^[\t ]*/)[0],C=new Array(d+1).join(h),S=0,j=0,T={};T["{"]=function(e){T.singleSpace(),A.push(e),c(!0)||T.newLine()},T["}"]=function(e){e&&T.newLine(),A.push("}"),c(!0)||T.newLine()},T._lastCharWhitespace=function(){return x.test(A[A.length-1])},T.newLine=function(e){A.length&&(e||"\n"===A[A.length-1]?A[A.length-1]===O&&A.pop():T.trim(),A.push("\n"),O&&A.push(O))},T.singleSpace=function(){A.length&&!T._lastCharWhitespace()&&A.push(" ")},T.preserveSingleSpace=function(){B&&T.singleSpace()},T.trim=function(){for(;T._lastCharWhitespace();)A.pop()};for(var A=[],P=!1,R=!1,N=!1,L="",M="";;){var D=function(){var e="";for(w&&x.test(w)&&(e=w);x.test(r());)e+=w;return e}(),B=""!==D,I=-1!==D.indexOf("\n");if(M=L,L=w,!w)break;if("/"===w&&"*"===o()){var F=0===S;(I||F)&&T.newLine(),A.push(u()),T.newLine(),F&&T.newLine(!0)}else if("/"===w&&"/"===o())I||"{"===M||T.trim(),T.singleSpace(),A.push(u()),T.newLine();else if("@"===w)if(T.preserveSingleSpace(),"{"===o())A.push(l("}"));else{A.push(w);var z=function(e){var t=k,n=l(e);return k=t-1,r(),n}(": ,;{}()[]/='\"");z.match(/[ :]$/)&&(r(),z=l(": ").replace(/\s$/,""),A.push(z),T.singleSpace()),z=z.replace(/\s$/,""),z in i.NESTED_AT_RULE&&(j+=1,z in i.CONDITIONAL_GROUP_RULE&&(N=!0))}else"#"===w&&"{"===o()?(T.preserveSingleSpace(),A.push(l("}"))):"{"===w?"}"===o(!0)?(c(),r(),T.singleSpace(),A.push("{"),T["}"](!1),f<2&&v&&0===S&&T.newLine(!0)):(!function(){S++,O+=C}(),T["{"](w),N?(N=!1,P=S>j):P=S>=j):"}"===w?(!function(){S--,O=O.slice(0,-d)}(),T["}"](!0),P=!1,R=!1,j&&j--,f<2&&v&&0===S&&T.newLine(!0)):":"===w?(c(),!P&&!N||p("&")||function(){for(var t=0,n=k+1;n<e.length;n++){var r=e.charAt(n);if("{"===r)return!0;if("("===r)t+=1;else if(")"===r){if(0===t)return!1;t-=1}else if(";"===r||"}"===r)return!1}return!1}()||p("(")?(p(" ")&&" "!==A[A.length-1]&&A.push(" "),":"===o()?(r(),A.push("::")):A.push(":")):(A.push(":"),R||(R=!0,T.singleSpace()))):'"'===w||"'"===w?(T.preserveSingleSpace(),A.push(l(w))):";"===w?(R=!1,A.push(w),c(!0)||T.newLine()):"("===w?p("url")?(A.push(w),c(),r()&&(")"!==w&&'"'!==w&&"'"!==w?A.push(l(")")):k--)):(E++,T.preserveSingleSpace(),A.push(w),c()):")"===w?(A.push(w),E--):","===w?(A.push(w),!c(!0)&&g&&!R&&E<1?T.newLine():T.singleSpace()):(">"===w||"+"===w||"~"===w)&&!R&&E<1?y?(T.singleSpace(),A.push(w),T.singleSpace()):(A.push(w),c(),w&&x.test(w)&&(w="")):"]"===w?A.push(w):"["===w?(T.preserveSingleSpace(),A.push(w)):"="===w?(c(),A.push("="),x.test(w)&&(w="")):(T.preserveSingleSpace(),A.push(w))}var H="";return O&&(H+=O),H+=A.join("").replace(/[\r\n\t ]+$/,""),m&&(H+="\n"),"\n"!==_&&(H=H.replace(/[\n]/g,_)),H}var a=/\r\n|[\n\r\u2028\u2029]/,s=new RegExp(a.source,"g");i.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},i.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},r=[],void 0!==(o=function(){return{css_beautify:i}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){n(471),e.exports=n(10).Object.keys},function(e,t,n){var r=n(57),o=n(44);n(212)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(473),o=n(480),i=r(function(e,t,n){return e+(n?" ":"")+o(t)});e.exports=i},function(e,t,n){function r(e){return function(t){return o(a(i(t).replace(s,"")),e,"")}}var o=n(105),i=n(474),a=n(476),s=RegExp("['’]","g");e.exports=r},function(e,t,n){function r(e){return(e=i(e))&&e.replace(a,o).replace(s,"")}var o=n(475),i=n(64),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=r},function(e,t,n){var r=n(283),o={"À":"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"},i=r(o);e.exports=i},function(e,t,n){function r(e,t,n){return e=a(e),t=n?void 0:t,void 0===t?i(e)?s(e):o(e):e.match(t)||[]}var o=n(477),i=n(478),a=n(64),s=n(479);e.exports=r},function(e,t){function n(e){return e.match(r)||[]}var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=n},function(e,t){function n(e){return r.test(e)}var r=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=n},function(e,t){function n(e){return e.match(b)||[]}var r="\\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",o="["+r+"]",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",a="[^\\ud800-\\udfff"+r+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:"+i+"|"+a+")",p="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",f="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,l].join("|")+")[\\ufe0e\\ufe0f]?"+p+")*",d="[\\ufe0e\\ufe0f]?"+p+f,h="(?:"+["[\\u2700-\\u27bf]",s,l].join("|")+")"+d,b=RegExp([c+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,c,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[o,c+u,"$"].join("|")+")",c+"?"+u+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",h].join("|"),"g");e.exports=n},function(e,t,n){var r=n(481),o=r("toUpperCase");e.exports=o},function(e,t,n){function r(e){return function(t){t=s(t);var n=i(t)?a(t):void 0,r=n?n[0]:t.charAt(0),l=n?o(n,1).join(""):t.slice(1);return r[e]()+l}}var o=n(482),i=n(250),a=n(483),s=n(64);e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:o(e,t,n)}var o=n(127);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var o=n(484),i=n(250),a=n(485);e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(p)||[]}var r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",l="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",c="[\\ufe0e\\ufe0f]?"+s+l,u="(?:"+["[^\\ud800-\\udfff]"+r+"?",r,i,a,"[\\ud800-\\udfff]"].join("|")+")",p=RegExp(o+"(?="+o+")|"+u+c,"g");e.exports=n},function(e,t){function n(e){if("function"!=typeof e)throw new TypeError(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var r="Expected a function";e.exports=n},function(e,t){!function(){e.exports=this.tinymce}()},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(R[e])}function s(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function l(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(P,"."),r+s(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],o=0,i=e.length;o<i;)t=e.charCodeAt(o++),t>=55296&&t<=56319&&o<i?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--)):r.push(t);return r}function u(e){return s(e,function(e){var t="";return e>65535&&(e-=65536,t+=M(e>>>10&1023|55296),e=56320|1023&e),t+=M(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function f(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?L(e/O):e>>1,e+=L(e/t);e>N*k>>1;r+=w)e=L(e/N);return L(r+(N+1)*e/(e+E))}function h(e){var t,n,r,o,i,s,l,c,f,h,b=[],g=e.length,m=0,v=S,y=C;for(n=e.lastIndexOf(j),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&a("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;){for(i=m,s=1,l=w;o>=g&&a("invalid-input"),c=p(e.charCodeAt(o++)),(c>=w||c>L((_-m)/s))&&a("overflow"),m+=c*s,f=l<=y?x:l>=y+k?k:l-y,!(c<f);l+=w)h=w-f,s>L(_/h)&&a("overflow"),s*=h;t=b.length+1,y=d(m-i,t,0==i),L(m/t)>_-v&&a("overflow"),v+=L(m/t),m%=t,b.splice(m++,0,v)}return u(b)}function b(e){var t,n,r,o,i,s,l,u,p,h,b,g,m,v,y,E=[];for(e=c(e),g=e.length,t=S,n=0,i=C,s=0;s<g;++s)(b=e[s])<128&&E.push(M(b));for(r=o=E.length,o&&E.push(j);r<g;){for(l=_,s=0;s<g;++s)(b=e[s])>=t&&b<l&&(l=b);for(m=r+1,l-t>L((_-n)/m)&&a("overflow"),n+=(l-t)*m,t=l,s=0;s<g;++s)if(b=e[s],b<t&&++n>_&&a("overflow"),b==t){for(u=n,p=w;h=p<=i?x:p>=i+k?k:p-i,!(u<h);p+=w)y=u-h,v=w-h,E.push(M(f(h+y%v,0))),u=L(y/v);E.push(M(f(u,0))),i=d(n,m,r==o),n=0,++r}++n,++t}return E.join("")}function g(e){return l(e,function(e){return T.test(e)?h(e.slice(4).toLowerCase()):e})}function m(e){return l(e,function(e){return A.test(e)?"xn--"+b(e):e})}var v=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,"object"==typeof r&&r);var y,_=2147483647,w=36,x=1,k=26,E=38,O=700,C=72,S=128,j="-",T=/^xn--/,A=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=w-x,L=Math.floor,M=String.fromCharCode;y={version:"1.4.1",ucs2:{decode:c,encode:u},decode:h,encode:b,toASCII:m,toUnicode:g},void 0!==(o=function(){return y}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(90)(e),n(88))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var p,f,d,h,b=e[u].replace(s,"%20"),g=b.indexOf(n);g>=0?(p=b.substr(0,g),f=b.substr(g+1)):(p=b,f=""),d=decodeURIComponent(p),h=decodeURIComponent(f),r(a,d)?o(a[d])?a[d].push(h):a[d]=[a[d],h]:a[d]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(a(e),function(a){var s=encodeURIComponent(o(a))+n;return i(e[a])?r(e[a],function(e){return s+encodeURIComponent(o(e))}).join(t):s+encodeURIComponent(o(e[a]))}).join(t):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t){function n(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}e.exports=n},function(e,t,n){function r(e,t,n,r){return o(e,function(e,o,i){t(r,e,n(e),i)}),r}var o=n(59);e.exports=r},function(e,t,n){function r(e){return e=o(e),e&&a.test(e)?e.replace(i,"\\$&"):e}var o=n(64),i=/[\\^$.*+?()[\]{}|]/g,a=RegExp(i.source);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.colors,n=e.value,r=e.onChange;return wp.element.createElement("div",{className:"blocks-color-palette"},t.map(function(e){var t={color:e},o=i()("blocks-color-palette__item",{"is-active":n===e});return wp.element.createElement("div",{key:e,className:"blocks-color-palette__item-wrapper"},wp.element.createElement("button",{type:"button",className:o,style:t,onClick:function(){return r(n===e?void 0:e)},"aria-label":Object(l.sprintf)(Object(l.__)("Color: %s"),e),"aria-pressed":n===e}))}),wp.element.createElement(s.Dropdown,{className:"blocks-color-palette__item-wrapper blocks-color-palette__custom-color",contentClassName:"blocks-color-palette__picker ",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement("button",{type:"button","aria-expanded":t,className:"blocks-color-palette__item",onClick:n,"aria-label":Object(l.__)("Custom color picker")},wp.element.createElement("span",{className:"blocks-color-palette__custom-color-gradient"}))},renderContent:function(){return wp.element.createElement(a.ChromePicker,{color:n,onChangeComplete:function(e){return r(e.hex)},style:{width:"100%"},disableAlpha:!0})}}),wp.element.createElement("button",{className:"button-link blocks-color-palette__clear",type:"button",onClick:function(){return r(void 0)}},Object(l.__)("Clear")))}var o=n(17),i=n.n(o),a=n(693),s=(n.n(a),n(1)),l=(n.n(s),n(0)),c=(n.n(l),n(752));n.n(c);t.a=Object(s.withContext)("editor")(function(e){return{colors:e.colors}})(r)},function(e,t,n){function r(e,t){return e&&o(e,i(t))}var o=n(140),i=n(398);e.exports=r},function(e,t,n){e.exports=n(251)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(723),i=r(o),a=n(724),s=r(a),l=n(725),c=r(l);t.Raised=i.default,t.Tile=s.default,t.Tabs=c.default},function(e,t,n){var r=n(283),o={"&":"&","<":"<",">":">",""":'"',"'":"'"},i=r(o);e.exports=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}var a=n(13),s=(n.n(a),n(158)),l=n.n(s),c=n(406);n(254);t.a=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],s=n||t+"Subscription",u=function(e){function n(i,a){r(this,n);var s=o(this,e.call(this,i,a));return s[t]=i.store,s}return i(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[s]=null,e},n.prototype.render=function(){return a.Children.only(this.props.children)},n}(a.Component);return u.propTypes={store:c.a.isRequired,children:l.a.element.isRequired},u.childContextTypes=(e={},e[t]=c.a.isRequired,e[s]=c.b,e),u}()},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,p){if("string"!=typeof n){if(u){var f=c(n);f&&f!==u&&e(t,f,p)}var d=a(n);s&&(d=d.concat(s(n)));for(var h=0;h<d.length;++h){var b=d[h];if(!(r[b]||o[b]||p&&p[b])){var g=l(n,b);try{i(t,b,g)}catch(e){}}}return t}return t}},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;l=new Error(t.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=i,e=i},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==i&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}n.d(t,"a",function(){return s});var i=null,a={notify:function(){}},s=function(){function e(t,n,o){r(this,e),this.store=t,this.parentSub=n,this.onStateChange=o,this.unsubscribe=null,this.listeners=a}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=o())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=a)},e}()},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(e,t){return e===t}var a=n(407),s=n(505),l=n(506),c=n(521),u=n(522),p=n(523),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?a.a:t,d=e.mapStateToPropsFactories,h=void 0===d?c.a:d,b=e.mapDispatchToPropsFactories,g=void 0===b?l.a:b,m=e.mergePropsFactories,v=void 0===m?u.a:m,y=e.selectorFactory,_=void 0===y?p.a:y;return function(e,t,a){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=l.pure,u=void 0===c||c,p=l.areStatesEqual,d=void 0===p?i:p,b=l.areOwnPropsEqual,m=void 0===b?s.a:b,y=l.areStatePropsEqual,w=void 0===y?s.a:y,x=l.areMergedPropsEqual,k=void 0===x?s.a:x,E=r(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),O=o(e,h,"mapStateToProps"),C=o(t,g,"mapDispatchToProps"),S=o(a,v,"mergeProps");return n(_,f({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:O,initMapDispatchToProps:C,initMergeProps:S,pure:u,areStatesEqual:d,areOwnPropsEqual:m,areStatePropsEqual:w,areMergedPropsEqual:k},E))}}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(!i.call(t,n[a])||!r(e[n[a]],t[n[a]]))return!1;return!0}t.a=o;var i=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e){return"function"==typeof e?Object(s.b)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:Object(s.a)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?Object(s.a)(function(t){return Object(a.b)(e,t)}):void 0}var a=n(255),s=n(412);t.a=[r,o,i]},function(e,t,n){"use strict";function r(e){return null==e?void 0===e?l:s:c&&c in Object(e)?Object(i.a)(e):Object(a.a)(e)}var o=n(409),i=n(510),a=n(511),s="[object Null]",l="[object Undefined]",c=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";var r=n(509),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(t,n(88))},function(e,t,n){"use strict";function r(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=n(409),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,l=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";function r(e){return i.call(e)}var o=Object.prototype,i=o.toString;t.a=r},function(e,t,n){"use strict";var r=n(513),o=Object(r.a)(Object.getPrototypeOf,Object);t.a=o},function(e,t,n){"use strict";function r(e,t){return function(n){return e(t(n))}}t.a=r},function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}t.a=r},function(e,t,n){e.exports=n(516)},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var o,i=n(517),a=function(e){return e&&e.__esModule?e:{default:e}}(i);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var s=(0,a.default)(o);t.default=s}).call(t,n(88),n(90)(e))},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function o(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:a.a.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+a.a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}function i(e){for(var t=Object.keys(e),n={},i=0;i<t.length;i++){var a=t[i];"function"==typeof e[a]&&(n[a]=e[a])}var s=Object.keys(n),l=void 0;try{o(n)}catch(e){l=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(l)throw l;for(var o=!1,i={},a=0;a<s.length;a++){var c=s[a],u=n[c],p=e[c],f=u(p,t);if(void 0===f){var d=r(c,t);throw new Error(d)}i[c]=f,o=o||f!==p}return o?i:e}}t.a=i;var a=n(408);n(256),n(410)},function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return r(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},i=0;i<n.length;i++){var a=n[i],s=e[a];"function"==typeof s&&(o[a]=r(s,t))}return o}t.a=o},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,a){var s=e(n,r,a),l=s.dispatch,c=[],u={getState:s.getState,dispatch:function(e){return l(e)}};return c=t.map(function(e){return e(u)}),l=o.a.apply(void 0,c)(s.dispatch),i({},s,{dispatch:l})}}}t.a=r;var o=n(411),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){"use strict";function r(e){return"function"==typeof e?Object(i.b)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:Object(i.a)(function(){return{}})}var i=n(412);t.a=[r,o]},function(e,t,n){"use strict";function r(e,t,n){return s({},n,e,t)}function o(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,s){var l=e(t,n,s);return i?r&&o(l,a)||(a=l):(i=!0,a=l),a}}}function i(e){return"function"==typeof e?o(e):void 0}function a(e){return e?void 0:function(){return r}}var s=(n(413),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});t.a=[i,a]},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function i(e,t,n,r,o){function i(o,i){return h=o,b=i,g=e(h,b),m=t(r,b),v=n(g,m,b),d=!0,v}function a(){return g=e(h,b),t.dependsOnOwnProps&&(m=t(r,b)),v=n(g,m,b)}function s(){return e.dependsOnOwnProps&&(g=e(h,b)),t.dependsOnOwnProps&&(m=t(r,b)),v=n(g,m,b)}function l(){var t=e(h,b),r=!f(t,g);return g=t,r&&(v=n(g,m,b)),v}function c(e,t){var n=!p(t,b),r=!u(e,h);return h=e,b=t,n&&r?a():n?s():r?l():v}var u=o.areStatesEqual,p=o.areOwnPropsEqual,f=o.areStatePropsEqual,d=!1,h=void 0,b=void 0,g=void 0,m=void 0,v=void 0;return function(e,t){return d?c(e,t):i(e,t)}}function a(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,s=t.initMergeProps,l=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,l),u=a(e,l),p=s(e,l);return(l.pure?i:o)(c,u,p,e,l)}t.a=a;n(524)},function(e,t,n){"use strict";n(254)},,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(125),o=n(66),i=n(543),a=n(33),s=n(103),l=n(39),c=Object.prototype,u=c.hasOwnProperty,p=i(function(e,t){if(s(t)||a(t))return void o(t,l(t),e);for(var n in t)u.call(t,n)&&r(e,n,t[n])});e.exports=p},function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t})}var o=n(83),i=n(114);e.exports=r},function(e,t,n){"use strict";function r(){console.warn("Attributes matchers are deprecated and they will be removed in a future version of Gutenberg. Please update your attributes definition https://wordpress.org/gutenberg/handbook/reference/attributes/")}function o(e){return e.attributes=c()(e.attributes,function(e){return p()(e.source)?s()({},e,e.source()):e}),e}function i(e){(0,e.addFilter)("registerBlockType","core-matchers",o)}n.d(t,"a",function(){return f}),n.d(t,"f",function(){return d}),n.d(t,"d",function(){return h}),n.d(t,"h",function(){return b}),n.d(t,"g",function(){return g}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return v}),t.c=i;var a=n(12),s=n.n(a),l=n(180),c=n.n(l),u=n(112),p=n.n(u),f=function(e,t){return function(){return r(),{source:"attribute",attribute:void 0===t?e:t,selector:void 0===t?void 0:e}}},d=function(e,t){return function(){return r(),{source:"property",property:void 0===t?e:t,selector:void 0===t?void 0:e}}},h=function(e){return function(){return r(),{source:"html",selector:e}}},b=function(e){return function(){return r(),{source:"text",selector:e}}},g=function(e,t){return function(){return r(),{source:"query",selector:e,query:t}}},m=function(e){return function(){return r(),{source:"children",selector:e}}},v=function(e){return function(){return r(),{source:"node",selector:e}}}},function(e,t,n){"use strict";function r(){return i}t.a=r;var o=n(0),i=(n.n(o),[{slug:"common",title:Object(o.__)("Common Blocks")},{slug:"formatting",title:Object(o.__)("Formatting")},{slug:"layout",title:Object(o.__)("Layout Blocks")},{slug:"widgets",title:Object(o.__)("Widgets")},{slug:"embed",title:Object(o.__)("Embed")},{slug:"reusable-blocks",title:Object(o.__)("Saved Blocks")}])},function(e,t,n){"use strict";function r(e,t){if(t){if("string"==typeof e){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce(function(n,o){return n[o]=r(e,t[o]),n},{})}}function o(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return Object(c.a)(r,t)}}function i(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=o(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}function a(e){return o(e,"innerHTML")}function s(e){return o(e,"textContent")}function l(e,t){return function(n){var o=n.querySelectorAll(e);return[].map.call(o,function(e){return r(e,t)})}}t.c=r,t.d=o,t.a=i,t.b=a,t.f=s,t.e=l;var c=n(622)},function(e,t,n){"use strict";function r(e){return e.trim().split(T)}function o(e){return r(e).join(" ")}function i(e){return e.attributes.filter(function(e){var t=v()(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||_()(L,n)})}function a(e,t){var n=x.a.apply(void 0,g()([e.chars,t.chars].map(o)));return n||M.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),n}function s(e){return e.replace(P,"url($1)")}function l(e){var t=e.replace(/;?\s*$/,"").split(";").map(function(e){var t=e.split(":"),n=h()(t),r=n[0],o=n.slice(1),i=o.join(":");return[r.trim(),s(i.trim())]});return E()(t)}function c(e,t){if(e.length!==t.length)return M.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(E.a),r=v()(n,2),o=r[0],i=r[1];for(var a in o){if(!i.hasOwnProperty(a))return M.warning("Encountered unexpected attribute `%s`.",a),!1;var s=o[a],l=i[a],c=D[a];if(c){if(!c(s,l))return M.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}else if(s!==l)return M.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}return!0}function u(e){for(var t=void 0;t=e.shift();){if("Chars"!==t.type)return t;if(!A.test(t.chars))return t}}function p(e,t){for(var n=[e,t].map(S.tokenize),r=v()(n,2),o=r[0],i=r[1],a=void 0,s=void 0;a=u(o);){if(!(s=u(i)))return M.warning("Expected end of content, instead saw %o.",a),!1;if(a.type!==s.type)return M.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",s.type,s,a.type,a),!1;var l=B[a.type];if(l&&!l(a,s))return!1}for(;s=u(i);)return M.warning("Expected %o, instead saw end of content.",s),!1;return!0}function f(e,t,n){var r=void 0;try{r=Object(j.e)(t,n)}catch(e){return M.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),!1}var o=p(e,r);return o||M.error("Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s",t.name,t,r,e),o}t.a=f;var d=n(624),h=n.n(d),b=n(37),g=n.n(b),m=n(183),v=n.n(m),y=n(149),_=n.n(y),w=n(119),x=n.n(w),k=n(625),E=n.n(k),O=n(626),C=n.n(O),S=n(628),j=(n.n(S),n(465)),T=/[\t\n\r\v\f ]+/g,A=/^[\t\n\r\v\f ]*$/,P=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,R=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","open","playsinline","readonly","required","reversed","selected","typemustmatch"],N=["autocomplete","contenteditable","crossorigin","dir","dir","draggable","enctype","formenctype","formmethod","inputmode","kind","method","preload","sandbox","scope","shape","spellcheck","step","translate","type","type","workertype","wrap"],L=[].concat(R,N),M=function(){function e(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,["Block validation: "+t].concat(r))}}return{error:e(console.error),warning:e(console.warn)}}(),D={class:function(e,t){return!C.a.apply(void 0,g()([e,t].map(r))).length},style:function(e,t){return x.a.apply(void 0,g()([e,t].map(l)))}},B={StartTag:function(e,t){return e.tagName!==t.tagName?(M.warning("Expected tag name `%s`, instead saw `%s`.",e.tagName,t.tagName),!1):c.apply(void 0,g()([e,t].map(i)))},Chars:a,Comment:a}},function(e,t,n){function r(e,t,n){return e=s(e),n=null==n?0:o(a(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}var o=n(629),i=n(190),a=n(72),s=n(64);e.exports=r},function(e,t,n){"use strict";function r(e){return e.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}function o(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(";").reduce(function(e,t){var n=t.split(":"),o=r(n[0]||"").trim(),i=(n[1]||"").trim();return o&&i&&(e[o]=i),e},{})}function i(e){return[].concat((0,c.default)(e)).reduce(function(e,t){var n=t.name,r=t.value,i=d[n.replace(/[-:]/,"")]||n;return"style"===i&&(r=o(r)),e[i]=r,e},{})}function a(e,t){return[].concat((0,c.default)(e)).reduce(function(e,n){n._domReactKey||(n._domReactKey="_domReact"+String(h++));var r=s(n,t);return Array.isArray(r)?e.push.apply(e,(0,c.default)(r)):e.push(r),e},[])}function s(e,t){if(!e)return null;if(3===e.nodeType)return e.nodeValue;if(1!==e.nodeType)return null;var n=e.nodeName.toLowerCase(),r={},o=[];return e.hasAttributes()&&(r=i(e.attributes)),e._domReactKey&&(r.key=e._domReactKey),e.hasChildNodes()&&(o=a(e.childNodes,t)),t.apply(void 0,[n,r].concat((0,c.default)(o)))}Object.defineProperty(t,"__esModule",{value:!0});var l=n(37),c=function(e){return e&&e.__esModule?e:{default:e}}(l);t.attributeListToReact=i,t.nodeListToReact=a,t.nodeToReact=s;var u=["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap"],p=["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],f=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"],d=[].concat(u,p,f).reduce(function(e,t){var n=t.toLowerCase();return t!==n&&(e[n]=t),e},{});d.class="className";var h=0},function(e,t,n){"use strict";var r=n(374),o=window.Node,i=o.ELEMENT_NODE,a=o.TEXT_NODE;t.a=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),o=t.body,s=n.body;for(o.innerHTML=e;o.firstChild;){var l=o.firstChild;l.nodeType===a?l.nodeValue.trim()?(s.lastChild&&"P"===s.lastChild.nodeName||s.appendChild(document.createElement("P")),s.lastChild.appendChild(l)):o.removeChild(l):l.nodeType===i?"BR"===l.nodeName?(l.nextSibling&&"BR"===l.nextSibling.nodeName&&(s.appendChild(document.createElement("P")),o.removeChild(l.nextSibling)),s.lastChild&&"P"===s.lastChild.nodeName&&s.lastChild.hasChildNodes()?s.lastChild.appendChild(l):o.removeChild(l)):"P"===l.nodeName?Object(r.f)(l)?o.removeChild(l):s.appendChild(l):Object(r.g)(l)?(s.lastChild&&"P"===s.lastChild.nodeName||s.appendChild(document.createElement("P")),s.lastChild.appendChild(l)):s.appendChild(l):o.removeChild(l)}return s.innerHTML}},function(e,t,n){"use strict";function r(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}var o=window.Node.ELEMENT_NODE;t.a=function(e,t){return function(n){if(n.nodeType===o&&e(n)){var i=t&&t(n);i&&n.appendChild(i),r(n)}}}},function(e,t,n){function r(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||o(e,t,n)}var o=n(82),i=n(89);e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"a",function(){return m});var r=n(548),o=n.n(r),i=n(431),a=n.n(i),s=n(39),l=n.n(s),c=n(664),u=n.n(c),p=n(119),f=n.n(p),d=n(404),h=n.n(d),b=function(e){return o()(e,"aria-")},g=function(e){return a()(e,function(e,t){return b(t)&&!u()(e)})},m=function(e,t){var n=l()(g(e)),r=l()(g(t));return{removedKeys:h()(n,r),updatedKeys:r.filter(function(n){return!f()(e[n],t[n])})}}},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(17),h=n.n(d),b=n(668),g=(n.n(b),n(0)),m=(n.n(g),n(2)),v=(n.n(m),n(1)),y=(n.n(v),n(432)),_=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.toggle=e.toggle.bind(e),e.submitLink=e.submitLink.bind(e),e.state={expanded:!1},e}return f()(t,e),l()(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded;return wp.element.createElement("div",{className:"blocks-url-input__button"},wp.element.createElement(v.IconButton,{icon:"admin-links",label:Object(g.__)("Edit Link"),onClick:this.toggle,className:h()("components-toolbar__control",{"is-active":t})}),r&&wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",onSubmit:this.submitLink},wp.element.createElement(v.IconButton,{className:"blocks-url-input__back",icon:"arrow-left-alt",label:Object(g.__)("Close"),onClick:this.toggle}),wp.element.createElement(y.a,{value:t||"",onChange:n,"data-test":"UrlInput"}),wp.element.createElement(v.IconButton,{icon:"editor-break",label:Object(g.__)("Submit"),type:"submit"})))}}]),t}(m.Component);t.a=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(704),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(l),u=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=e.borderRadius,l=e.boxShadow,u=(0,s.default)({default:{grid:{borderRadius:a,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+c.get(t,n,r,o.canvas)+") center left"}}});return i.default.createElement("div",{style:u.grid})};u.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),p=n(253),f=r(p),d=n(187),h=r(d),b=t.ColorWrap=function(e){var t=function(t){function n(e){o(this,n);var t=i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=s({},h.default.toState(e.color,0)),t.debounce=(0,f.default)(function(e,t,n){e(t,n)},100),t}return a(n,t),l(n,[{key:"componentWillReceiveProps",value:function(e){this.setState(s({},h.default.toState(e.color,this.state.oldHue)))}},{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),u.default.createElement(e,s({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}(c.PureComponent||c.Component);return t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t};t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",function(){return r}),n.d(t,"pink",function(){return o}),n.d(t,"purple",function(){return i}),n.d(t,"deepPurple",function(){return a}),n.d(t,"indigo",function(){return s}),n.d(t,"blue",function(){return l}),n.d(t,"lightBlue",function(){return c}),n.d(t,"cyan",function(){return u}),n.d(t,"teal",function(){return p}),n.d(t,"green",function(){return f}),n.d(t,"lightGreen",function(){return d}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return b}),n.d(t,"amber",function(){return g}),n.d(t,"orange",function(){return m}),n.d(t,"deepOrange",function(){return v}),n.d(t,"brown",function(){return y}),n.d(t,"grey",function(){return _}),n.d(t,"blueGrey",function(){return w}),n.d(t,"darkText",function(){return x}),n.d(t,"lightText",function(){return k}),n.d(t,"darkIcons",function(){return E}),n.d(t,"lightIcons",function(){return O}),n.d(t,"white",function(){return C}),n.d(t,"black",function(){return S});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},l={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},u={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},p={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},f={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},g={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},v={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},x={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},k={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},E={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},O={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},C="#ffffff",S="#000000";t.default={red:r,pink:o,purple:i,deepPurple:a,indigo:s,blue:l,lightBlue:c,cyan:u,teal:p,green:f,lightGreen:d,lime:h,yellow:b,amber:g,orange:m,deepOrange:v,brown:y,grey:_,blueGrey:w,darkText:x,lightText:k,darkIcons:E,lightIcons:O,white:C,black:S}},function(e,t,n){"use strict";function r(e){var t=e.backgroundColor,n=e.textColor,r=e.isLargeText,o=e.fallbackBackgroundColor,l=e.fallbackTextColor;if(!t&&!o||!n&&!l)return null;var c=i()(t||o),u=i()(n||l);if(i.a.isReadable(c,u,{level:"AA",size:r?"large":"small"}))return null;var p=c.getBrightness()<u.getBrightness()?Object(a.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(a.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return wp.element.createElement("div",{className:"blocks-contrast-checker"},wp.element.createElement(s.Notice,{status:"warning",content:p,isDismissible:!1}))}var o=n(753),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),n(754));n.n(l);t.a=r},function(e,t,n){function r(e,t){if((e=a(e))<1||e>s)return[];var n=l,r=c(e,l);t=i(t),e-=l;for(var u=o(r,t);++n<e;)t(n);return u}var o=n(270),i=n(398),a=n(72),s=9007199254740991,l=4294967295,c=Math.min;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.icon;return"string"==typeof t?wp.element.createElement(o.Dashicon,{icon:t}):"function"==typeof t?t.prototype instanceof i.Component?Object(i.createElement)(t):t():t||null}t.a=r;var o=n(1),i=(n.n(o),n(2));n.n(i)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"source",function(){return y});var r=(n(604),n(28));n.d(t,"createBlock",function(){return r.a}),n.d(t,"switchToBlockType",function(){return r.t}),n.d(t,"createReusableBlock",function(){return r.b}),n.d(t,"parse",function(){return r.n}),n.d(t,"getBlockAttributes",function(){return r.c}),n.d(t,"rawHandler",function(){return r.o}),n.d(t,"serialize",function(){return r.q}),n.d(t,"getBlockDefaultClassname",function(){return r.e}),n.d(t,"getBlockContent",function(){return r.d}),n.d(t,"isValidBlock",function(){return r.m}),n.d(t,"getCategories",function(){return r.h}),n.d(t,"registerBlockType",function(){return r.p}),n.d(t,"unregisterBlockType",function(){return r.u}),n.d(t,"setUnknownTypeHandlerName",function(){return r.s}),n.d(t,"getUnknownTypeHandlerName",function(){return r.j}),n.d(t,"setDefaultBlockName",function(){return r.r}),n.d(t,"getDefaultBlockName",function(){return r.i}),n.d(t,"getBlockType",function(){return r.f}),n.d(t,"getBlockTypes",function(){return r.g}),n.d(t,"hasBlockSupport",function(){return r.k}),n.d(t,"isReusableBlock",function(){return r.l});var o=n(429);n.d(t,"addFilter",function(){return o.a}),n.d(t,"removeFilter",function(){return o.g}),n.d(t,"removeAllFilters",function(){return o.f}),n.d(t,"applyFilters",function(){return o.b}),n.d(t,"doingFilter",function(){return o.d}),n.d(t,"didFilter",function(){return o.c}),n.d(t,"hasFilter",function(){return o.e});var i=n(437);n.d(t,"AlignmentToolbar",function(){return i.a});var a=n(109);n.d(t,"BlockAlignmentToolbar",function(){return a.a});var s=n(68);n.d(t,"BlockControls",function(){return s.a});var l=n(46);n.d(t,"BlockDescription",function(){return l.a});var c=n(799);n.d(t,"BlockEdit",function(){return c.a});var u=n(560);n.d(t,"BlockIcon",function(){return u.a});var p=n(495);n.d(t,"ColorPalette",function(){return p.a});var f=n(86);n.d(t,"Editable",function(){return f.a});var d=n(800);n.d(t,"EditableProvider",function(){return d.a});var h=n(40);n.d(t,"InspectorControls",function(){return h.a});var b=n(286);n.d(t,"MediaUploadButton",function(){return b.a});var g=n(432);n.d(t,"UrlInput",function(){return g.a});var m=n(554);n.d(t,"UrlInputButton",function(){return m.a});var v=n(544),y={attr:v.a,prop:v.f,text:v.h,html:v.d,query:v.g,node:v.e,children:v.b}},function(e,t,n){"use strict";n(605),n(648),n(670),n(675),n(677),n(680),n(683),n(686),n(688),n(690),n(755),n(758),n(762),n(764),n(766),n(768),n(771),n(775),n(779),n(782),n(785),n(787),n(789),n(791),n(794)},function(e,t,n){"use strict";var r=n(221),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(606)),l=(n.n(s),n(28)),c=n(40),u=n(46);Object(l.p)("core/shortcode",{title:Object(i.__)("Shortcode"),icon:"marker",category:"widgets",attributes:{text:{type:"string",source:"text"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){return t.content}}}}]},supportHTML:!1,supports:{customClassName:!1,className:!1},edit:Object(a.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,s=e.focus,l="blocks-shortcode-input-"+r;return wp.element.createElement("div",{className:"wp-block-shortcode"},wp.element.createElement("label",{htmlFor:l},wp.element.createElement(a.Dashicon,{icon:"editor-code"}),Object(i.__)("Shortcode")),wp.element.createElement(o.a,{id:l,autoComplete:"off",value:t.text,placeholder:Object(i.__)("Write shortcode here…"),onChange:function(e){return n({text:e.target.value})}}),s&&wp.element.createElement(c.a,null,wp.element.createElement(u.a,null,wp.element.createElement("p",null,Object(i.__)("A shortcode is a WordPress-specific code snippet that is written between square brackets as [shortcode]. "))),wp.element.createElement("p",null,Object(i.__)("No advanced options."))))}),save:function(e){return e.attributes.text}})},function(e,t){},function(e,t,n){function r(e){var t=++i;return o(e)+t}var o=n(64),i=0;e.exports=r},function(e,t,n){"use strict";function r(e){return Object(u.k)(e,"anchor")&&(e.attributes=l()(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}function o(e,t){return Object(u.k)(t.name,"anchor")&&t.focus&&(e=[e,wp.element.createElement(p.a,{key:"inspector-anchor"},wp.element.createElement(p.a.TextControl,{label:Object(c.__)("HTML Anchor"),help:Object(c.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(f,"-"),t.setAttributes({anchor:e})}}))]),e}function i(e,t,n){return Object(u.k)(t,"anchor")&&(e.id=n.anchor),e}function a(e){var t=e.addFilter;t("registerBlockType","core-anchor-attribute",r),t("BlockEdit","core-anchor-inspector-control",o),t("getSaveContent.extraProps","core-anchor-save-props",i)}t.a=a;var s=n(542),l=n.n(s),c=n(0),u=(n.n(c),n(28)),p=n(40),f=/[\s#]/g},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.heading,r=e.checked,o=e.help,a=e.instanceId,l=e.onChange,u=s()(e,["label","heading","checked","help","instanceId","onChange"]),p="inspector-checkbox-control-"+a,f=function(e){return l(e.target.value)};return wp.element.createElement(c.a,{label:n,id:p,help:o},wp.element.createElement("input",i()({id:p,className:"blocks-checkbox-control__input",type:"checkbox",value:"1",onChange:f,checked:r,"aria-describedby":o?p+"__help":void 0},u)),wp.element.createElement("label",{className:"blocks-checkbox-control__label",htmlFor:p},t))}var o=n(12),i=n.n(o),a=n(36),s=n.n(a),l=n(1),c=(n.n(l),n(207)),u=n(611);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.selected,r=e.help,o=e.instanceId,a=e.onChange,l=e.options,c=void 0===l?[]:l,u="inspector-radio-control-"+o,p=function(e){return a(e.target.value)};return!i()(c)&&wp.element.createElement(s.a,{label:t,id:u,help:r,className:"blocks-radio-control"},c.map(function(e,t){return wp.element.createElement("div",{key:u+"-"+t,className:"blocks-radio-control__option"},wp.element.createElement("input",{id:u+"-"+t,className:"blocks-radio-control__input",type:"radio",name:u,value:e.value,onChange:p,selected:e.value===n,"aria-describedby":r?u+"__help":void 0}),wp.element.createElement("label",{key:e.value,htmlFor:u+"-"+t},e.label))}))}var o=n(275),i=n.n(o),a=n(1),s=(n.n(a),n(207)),l=n(613);n.n(l);t.a=Object(a.withInstanceId)(r)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,a=e.onChange,l=e.rows,u=void 0===l?4:l,p=s()(e,["label","value","help","instanceId","onChange","rows"]),f="inspector-textarea-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(c.a,{label:t,id:f,help:r},wp.element.createElement("textarea",i()({className:"blocks-textarea-control__input",id:f,rows:u,onChange:d,"aria-describedby":r?f+"__help":void 0,value:n},p)))}var o=n(12),i=n.n(o),a=n(36),s=n.n(a),l=n(1),c=(n.n(l),n(207)),u=n(618);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return Object(f.k)(e,"customClassName",!0)&&(e.attributes=l()(e.attributes,{className:{type:"string"}})),e}function o(e,t){return Object(f.k)(t.name,"customClassName",!0)&&t.focus&&(e=[e,wp.element.createElement(d.a,{key:"inspector-custom-class-name"},wp.element.createElement(d.a.TextControl,{label:Object(p.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))]),e}function i(e,t,n){return Object(f.k)(t,"customClassName",!0)&&n.className&&(e.className=u()(e.className,n.className)),e}function a(e){var t=e.addFilter;t("registerBlockType","core-custom-class-name-attribute",r),t("BlockEdit","core-custom-class-name-inspector-control",o),t("getSaveContent.extraProps","core-custom-class-name-save-props",i)}t.a=a;var s=n(542),l=n.n(s),c=n(17),u=n.n(c),p=n(0),f=(n.n(p),n(28)),d=n(40)},function(e,t,n){"use strict";function r(e,t){if(Object(s.k)(t,"className",!0)){var n=a()(Object(s.e)(t.name),e.className);e.className=n}return e}function o(e){(0,e.addFilter)("getSaveContent.extraProps","core-generated-class-name-save-props",r)}t.a=o;var i=n(17),a=n.n(i),s=n(28)},function(e,t,n){"use strict";function r(e,t){for(var n=t.split("."),r=void 0;r=n.shift();){if(!(r in e))return;e=e[r]}return e}t.a=r},function(e,t,n){"use strict";function r(e,t,n,o){this.message=e,this.expected=t,this.found=n,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}function o(e,t){function n(e,t){return{type:"literal",text:e,ignoreCase:t}}function o(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function i(e){return{type:"other",description:e}}function a(t){var n,r=ve[t];if(r)return r;for(n=t-1;!ve[n];)n--;for(r=ve[n],r={line:r.line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return ve[t]=r,r}function s(e,t){var n=a(e),r=a(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function l(e){ge<ye||(ge>ye&&(ye=ge,_e=[]),_e.push(e))}function c(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function u(){var t,n,r,o,i,a,s,c,u,f;for(t=ge,n=ge,r=[],o=ge,i=ge,we++,a=p(),we--,a===j?i=void 0:(ge=i,i=j),i!==j?(e.length>ge?(a=e.charAt(ge),ge++):(a=j,0===we&&l(P)),a!==j?(i=[i,a],o=i):(ge=o,o=j)):(ge=o,o=j);o!==j;)r.push(o),o=ge,i=ge,we++,a=p(),we--,a===j?i=void 0:(ge=i,i=j),i!==j?(e.length>ge?(a=e.charAt(ge),ge++):(a=j,0===we&&l(P)),a!==j?(i=[i,a],o=i):(ge=o,o=j)):(ge=o,o=j);if((n=r!==j?e.substring(n,ge):r)!==j){if(r=[],o=ge,(i=p())!==j){for(a=ge,s=[],c=ge,u=ge,we++,f=p(),we--,f===j?u=void 0:(ge=u,u=j),u!==j?(e.length>ge?(f=e.charAt(ge),ge++):(f=j,0===we&&l(P)),f!==j?(u=[u,f],c=u):(ge=c,c=j)):(ge=c,c=j);c!==j;)s.push(c),c=ge,u=ge,we++,f=p(),we--,f===j?u=void 0:(ge=u,u=j),u!==j?(e.length>ge?(f=e.charAt(ge),ge++):(f=j,0===we&&l(P)),f!==j?(u=[u,f],c=u):(ge=c,c=j)):(ge=c,c=j);a=s!==j?e.substring(a,ge):s,a!==j?(me=o,i=R(n,i,a),o=i):(ge=o,o=j)}else ge=o,o=j;for(;o!==j;)if(r.push(o),o=ge,(i=p())!==j){for(a=ge,s=[],c=ge,u=ge,we++,f=p(),we--,f===j?u=void 0:(ge=u,u=j),u!==j?(e.length>ge?(f=e.charAt(ge),ge++):(f=j,0===we&&l(P)),f!==j?(u=[u,f],c=u):(ge=c,c=j)):(ge=c,c=j);c!==j;)s.push(c),c=ge,u=ge,we++,f=p(),we--,f===j?u=void 0:(ge=u,u=j),u!==j?(e.length>ge?(f=e.charAt(ge),ge++):(f=j,0===we&&l(P)),f!==j?(u=[u,f],c=u):(ge=c,c=j)):(ge=c,c=j);a=s!==j?e.substring(a,ge):s,a!==j?(me=o,i=R(n,i,a),o=i):(ge=o,o=j)}else ge=o,o=j;if(r!==j){for(o=ge,i=[],e.length>ge?(a=e.charAt(ge),ge++):(a=j,0===we&&l(P));a!==j;)i.push(a),e.length>ge?(a=e.charAt(ge),ge++):(a=j,0===we&&l(P));o=i!==j?e.substring(o,ge):i,o!==j?(me=t,n=N(n,r,o),t=n):(ge=t,t=j)}else ge=t,t=j}else ge=t,t=j;return t}function p(){var e;return e=f(),e===j&&(e=d())===j&&(e=h()),e}function f(){var t,n,r,o,i,a,s,c,u,p,f,d,h;if(t=ge,e.substr(ge,4)===L?(n=L,ge+=4):(n=j,0===we&&l(M)),n!==j){for(r=[],o=x();o!==j;)r.push(o),o=x();if(r!==j)if(e.substr(ge,4)===D?(o=D,ge+=4):(o=j,0===we&&l(B)),o!==j){if(i=ge,a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){for(s=ge,c=[],u=ge,p=ge,we++,f=ge,d=[],h=x();h!==j;)d.push(h),h=x();if(d!==j?(e.substr(ge,3)===I?(h=I,ge+=3):(h=j,0===we&&l(F)),h!==j?(d=[d,h],f=d):(ge=f,f=j)):(ge=f,f=j),we--,f===j?p=void 0:(ge=p,p=j),p!==j?(e.length>ge?(f=e.charAt(ge),ge++):(f=j,0===we&&l(P)),f!==j?(p=[p,f],u=p):(ge=u,u=j)):(ge=u,u=j),u!==j)for(;u!==j;){for(c.push(u),u=ge,p=ge,we++,f=ge,d=[],h=x();h!==j;)d.push(h),h=x();d!==j?(e.substr(ge,3)===I?(h=I,ge+=3):(h=j,0===we&&l(F)),h!==j?(d=[d,h],f=d):(ge=f,f=j)):(ge=f,f=j),we--,f===j?p=void 0:(ge=p,p=j),p!==j?(e.length>ge?(f=e.charAt(ge),ge++):(f=j,0===we&&l(P)),f!==j?(p=[p,f],u=p):(ge=u,u=j)):(ge=u,u=j)}else c=j;s=c!==j?e.substring(s,ge):c,s!==j?(me=i,a=z(s),i=a):(ge=i,i=j)}else ge=i,i=j;if(i===j&&(i=null),i!==j){for(a=[],s=x();s!==j;)a.push(s),s=x();if(a!==j)if(e.substr(ge,3)===I?(s=I,ge+=3):(s=j,0===we&&l(F)),s!==j){for(c=ge,u=[],p=x();p!==j;)u.push(p),p=x();u!==j?(e.substr(ge,15)===H?(p=H,ge+=15):(p=j,0===we&&l(q)),p!==j?(u=[u,p],c=u):(ge=c,c=j)):(ge=c,c=j),c===j&&(c=null),c!==j?(me=t,n=U(i,c),t=n):(ge=t,t=j)}else ge=t,t=j;else ge=t,t=j}else ge=t,t=j}else ge=t,t=j;else ge=t,t=j}else ge=t,t=j;return t}function d(){var t,n,r,o,i,a,s,c,u,p;if(t=ge,e.substr(ge,4)===L?(n=L,ge+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(ge,3)===K?(o=K,ge+=3):(o=j,0===we&&l(V)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){if(s=ge,(c=w())!==j){if(u=[],(p=x())!==j)for(;p!==j;)u.push(p),p=x();else u=j;u!==j?(me=s,c=W(i,c),s=c):(ge=s,s=j)}else ge=s,s=j;s===j&&(s=null),s!==j?(e.substr(ge,4)===G?(c=G,ge+=4):(c=j,0===we&&l($)),c!==j?(me=t,n=X(i,s),t=n):(ge=t,t=j)):(ge=t,t=j)}else ge=t,t=j}else ge=t,t=j;else ge=t,t=j;else ge=t,t=j}else ge=t,t=j;return t}function h(){var t,n,r,o,i,a,s;if(t=ge,(n=b())!==j){for(r=[],o=p(),o===j&&(o=ge,i=ge,a=ge,we++,s=g(),we--,s===j?a=void 0:(ge=a,a=j),a!==j?(e.length>ge?(s=e.charAt(ge),ge++):(s=j,0===we&&l(P)),s!==j?(a=[a,s],i=a):(ge=i,i=j)):(ge=i,i=j),o=i!==j?e.substring(o,ge):i);o!==j;)r.push(o),(o=p())===j&&(o=ge,i=ge,a=ge,we++,s=g(),we--,s===j?a=void 0:(ge=a,a=j),a!==j?(e.length>ge?(s=e.charAt(ge),ge++):(s=j,0===we&&l(P)),s!==j?(a=[a,s],i=a):(ge=i,i=j)):(ge=i,i=j),o=i!==j?e.substring(o,ge):i);r!==j?(o=g(),o!==j?(me=t,n=Y(n,r,o),t=n):(ge=t,t=j)):(ge=t,t=j)}else ge=t,t=j;return t}function b(){var t,n,r,o,i,a,s,c,u,p;if(t=ge,e.substr(ge,4)===L?(n=L,ge+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(ge,3)===K?(o=K,ge+=3):(o=j,0===we&&l(V)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){if(s=ge,(c=w())!==j){if(u=[],(p=x())!==j)for(;p!==j;)u.push(p),p=x();else u=j;u!==j?(me=s,c=W(i,c),s=c):(ge=s,s=j)}else ge=s,s=j;s===j&&(s=null),s!==j?(e.substr(ge,3)===I?(c=I,ge+=3):(c=j,0===we&&l(F)),c!==j?(me=t,n=Z(i,s),t=n):(ge=t,t=j)):(ge=t,t=j)}else ge=t,t=j}else ge=t,t=j;else ge=t,t=j;else ge=t,t=j}else ge=t,t=j;return t}function g(){var t,n,r,o,i,a,s;if(t=ge,e.substr(ge,4)===L?(n=L,ge+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(ge,4)===Q?(o=Q,ge+=4):(o=j,0===we&&l(J)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;a!==j?(e.substr(ge,3)===I?(s=I,ge+=3):(s=j,0===we&&l(F)),s!==j?(me=t,n=ee(i),t=n):(ge=t,t=j)):(ge=t,t=j)}else ge=t,t=j;else ge=t,t=j;else ge=t,t=j}else ge=t,t=j;return t}function m(){var e;return e=v(),e===j&&(e=y()),e}function v(){var t,n,r,o,i;return t=ge,n=ge,r=_(),r!==j?(47===e.charCodeAt(ge)?(o=te,ge++):(o=j,0===we&&l(ne)),o!==j?(i=_(),i!==j?(r=[r,o,i],n=r):(ge=n,n=j)):(ge=n,n=j)):(ge=n,n=j),t=n!==j?e.substring(t,ge):n}function y(){var t,n,r;return t=ge,n=ge,r=_(),n=r!==j?e.substring(n,ge):r,n!==j&&(me=t,n=re(n)),t=n}function _(){var t,n,r,o,i;if(t=ge,n=ge,oe.test(e.charAt(ge))?(r=e.charAt(ge),ge++):(r=j,0===we&&l(ie)),r!==j){for(o=[],ae.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=j,0===we&&l(se));i!==j;)o.push(i),ae.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=j,0===we&&l(se));o!==j?(r=[r,o],n=r):(ge=n,n=j)}else ge=n,n=j;return t=n!==j?e.substring(t,ge):n}function w(){var t,n,r,o,i,a,s,c,u,p,f,d,h;if(t=ge,n=ge,r=ge,123===e.charCodeAt(ge)?(o=le,ge++):(o=j,0===we&&l(ce)),o!==j){if(i=[],a=ge,s=ge,we++,c=ge,125===e.charCodeAt(ge)?(u=ue,ge++):(u=j,0===we&&l(pe)),u!==j){if(p=[],(f=x())!==j)for(;f!==j;)p.push(f),f=x();else p=j;p!==j?(f=fe,f!==j?(47===e.charCodeAt(ge)?(d=te,ge++):(d=j,0===we&&l(ne)),d===j&&(d=null),d!==j?(e.substr(ge,3)===I?(h=I,ge+=3):(h=j,0===we&&l(F)),h!==j?(u=[u,p,f,d,h],c=u):(ge=c,c=j)):(ge=c,c=j)):(ge=c,c=j)):(ge=c,c=j)}else ge=c,c=j;for(we--,c===j?s=void 0:(ge=s,s=j),s!==j?(e.length>ge?(c=e.charAt(ge),ge++):(c=j,0===we&&l(P)),c!==j?(s=[s,c],a=s):(ge=a,a=j)):(ge=a,a=j);a!==j;){if(i.push(a),a=ge,s=ge,we++,c=ge,125===e.charCodeAt(ge)?(u=ue,ge++):(u=j,0===we&&l(pe)),u!==j){if(p=[],(f=x())!==j)for(;f!==j;)p.push(f),f=x();else p=j;p!==j?(f=fe,f!==j?(47===e.charCodeAt(ge)?(d=te,ge++):(d=j,0===we&&l(ne)),d===j&&(d=null),d!==j?(e.substr(ge,3)===I?(h=I,ge+=3):(h=j,0===we&&l(F)),h!==j?(u=[u,p,f,d,h],c=u):(ge=c,c=j)):(ge=c,c=j)):(ge=c,c=j)):(ge=c,c=j)}else ge=c,c=j;we--,c===j?s=void 0:(ge=s,s=j),s!==j?(e.length>ge?(c=e.charAt(ge),ge++):(c=j,0===we&&l(P)),c!==j?(s=[s,c],a=s):(ge=a,a=j)):(ge=a,a=j)}i!==j?(125===e.charCodeAt(ge)?(a=ue,ge++):(a=j,0===we&&l(pe)),a!==j?(o=[o,i,a],r=o):(ge=r,r=j)):(ge=r,r=j)}else ge=r,r=j;return n=r!==j?e.substring(n,ge):r,n!==j&&(me=t,n=de(n)),t=n}function x(){var t;return he.test(e.charAt(ge))?(t=e.charAt(ge),ge++):(t=j,0===we&&l(be)),t}function k(e){return e.length&&{attrs:{},innerHTML:e}}function E(e,t,n){var r,o,i,a,s,l=[];for(e.length&&l.push(k(e)),r=0,o=t.length;r<o;r++)a=t[r],s=a[0],i=a[1],l.push(s),i.length&&l.push(k(i));return n.length&&l.push(k(n)),l}function O(e){try{return JSON.parse(e)}catch(e){return null}}function C(e,t){var n,r,o,i=[],a=[];for(n=0,r=t.length;n<r;n++)o=t[n],e(o)?i.push(o):a.push(o);return[i,a]}t=void 0!==t?t:{};var S,j={},T={Block_List:u},A=u,P=function(){return{type:"any"}}(),R=function(e,t,n){return[t,n]},N=function(e,t,n){return E(e,t,n)},L="\x3c!--",M=n("\x3c!--",!1),D="more",B=n("more",!1),I="--\x3e",F=n("--\x3e",!1),z=function(e){return e},H="\x3c!--noteaser--\x3e",q=n("\x3c!--noteaser--\x3e",!1),U=function(e,t){return{blockName:"core/more",attrs:{customText:e||void 0,noTeaser:!!t},innerHTML:""}},K="wp:",V=n("wp:",!1),W=function(e,t){return t},G="/--\x3e",$=n("/--\x3e",!1),X=function(e,t){return{blockName:e,attrs:t,innerBlocks:[],innerHTML:""}},Y=function(e,t,n){var r=C(function(e){return"string"==typeof e},t),o=r[0],i=r[1];return{blockName:e.blockName,attrs:e.attrs,innerBlocks:i,innerHTML:o.join("")}},Z=function(e,t){return{blockName:e,attrs:t}},Q="/wp:",J=n("/wp:",!1),ee=function(e){return{blockName:e}},te="/",ne=n("/",!1),re=function(e){return"core/"+e},oe=/^[a-z]/,ie=o([["a","z"]],!1,!1),ae=/^[a-z0-9_\-]/,se=o([["a","z"],["0","9"],"_","-"],!1,!1),le="{",ce=n("{",!1),ue="}",pe=n("}",!1),fe="",de=function(e){return O(e)},he=/^[ \t\r\n]/,be=o([" ","\t","\r","\n"],!1,!1),ge=(o(["\r","\n"],!1,!1),o([" ","\t"],!1,!1),0),me=0,ve=[{line:1,column:1}],ye=0,_e=[],we=0;if("startRule"in t){if(!(t.startRule in T))throw new Error("Can't start parsing from rule \""+t.startRule+'".');A=T[t.startRule]}if((S=A())!==j&&ge===e.length)return S;throw S!==j&&ge<e.length&&l(function(){return{type:"end"}}()),c(_e,ye<e.length?e.charAt(ye):null,ye<e.length?s(ye,ye+1):s(ye,ye))}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(r,Error),r.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function i(e){return a[e.type](e)}var a={literal:function(e){return'"'+r(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?o(e.parts[t][0])+"-"+o(e.parts[t][1]):o(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};return"Expected "+function(e){var t,n,r=new Array(e.length);for(t=0;t<e.length;t++)r[t]=i(e[t]);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+function(e){return e?'"'+r(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:r,parse:o}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(106),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return Array.isArray(e)?e:(0,o.default)(e)}},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}e.exports=n},function(e,t,n){var r=n(161),o=n(83),i=n(627),a=n(184),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,l=Array(r);++s<r;)for(var c=e[s],u=-1;++u<r;)u!=s&&(l[s]=o(l[s]||c,e[u],t,n));return a(i(l,1),t,n)}var o=n(210),i=n(91),a=n(372);e.exports=r},function(e,t,n){!function(e,n){n(t)}(0,function(e){"use strict";function t(e){return u.test(e)}function n(e){return p.test(e)}function r(e){return e.replace(f,"\n")}function o(e,t){return new h(new c(i),t).tokenize(e)}var i={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},a=/^#[xX]([A-Fa-f0-9]+)$/,s=/^#([0-9]+)$/,l=/^([A-Za-z0-9]+)$/,c=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(a);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(s))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(l),t?this.named[t[1]]:void 0)}},e}(),u=/[\t\n\f ]/,p=/[A-Za-z]/,f=/\r\n?/g,d=function(){function e(e,r){this.delegate=e,this.entityParser=r,this.state=null,this.input=null,this.index=-1,this.tagLine=-1,this.tagColumn=-1,this.line=-1,this.column=-1,this.states={beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":n(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();t(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();if(t(e))return void this.consume();"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.state="attributeName",this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();t(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();if(t(e))return void this.consume();"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();t(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();t(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();t(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();n(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}},this.reset()}return e.prototype.reset=function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=r(e);this.index<this.input.length;)this.states[this.state].call(this)},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},e}(),h=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.currentAttribute=null,this.tokenizer=new d(this,e)}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.addLocInfo=function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},e.prototype.appendToData=function(e){this.token.chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},e.prototype.appendToCommentData=function(e){this.token.chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.beginStartTag=function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},e.prototype.beginEndTag=function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.token.selfClosing=!0},e.prototype.appendToTagName=function(e){this.token.tagName+=e},e.prototype.beginAttribute=function(){this.currentAttribute=["","",null],this.token.attributes.push(this.currentAttribute)},e.prototype.appendToAttributeName=function(e){this.currentAttribute[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute[1]=this.currentAttribute[1]||"",this.currentAttribute[1]+=e},e.prototype.finishAttributeValue=function(){},e.prototype.reportSyntaxError=function(e){this.token.syntaxError=e},e}();e.HTML5NamedCharRefs=i,e.EntityParser=c,e.EventedTokenizer=d,e.Tokenizer=h,e.tokenize=o,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t){function n(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=function(t,n){return e.js_beautify(t,n)};return r.js=e.js_beautify,r.css=t.css_beautify,r.html=n.html_beautify,r.js_beautify=e.js_beautify,r.css_beautify=t.css_beautify,r.html_beautify=n.html_beautify,r}var o,i;o=[n(468),n(469),n(631)],void 0!==(i=function(e,t,n){return r(e,t,n)}.apply(t,o))&&(e.exports=i)},function(e,t,n){var r,o;!function(){function i(e){return e.replace(/^\s+/g,"")}function a(e){return e.replace(/\s+$/g,"")}function s(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function l(e,t,n,r){function o(){function e(e){var t="";return{add:function(n){var r=t+n.toLowerCase();t=r.length<=e.length?r:r.substr(r.length-e.length,e.length)},doesNotMatch:function(){return-1===t.indexOf(e)}}}return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=p,this.indent_body_inner_html=f,this.indent_head_inner_html=d,this.Utils={whitespace:"\n\r\t ".split(""),single_token:t.void_elements||["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","?php","basefont","isindex"],extra_liners:T,in_array:function(e,t){for(var n=0;n<t.length;n++)if(e===t[n])return!0;return!1}},this.is_whitespace=function(e){for(var t=0;t<e.length;t++)if(!this.Utils.in_array(e.charAt(t),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var e="";if(e=this.input.charAt(this.pos),this.Utils.in_array(e,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(e,this.Utils.whitespace);)_&&"\n"===e&&this.newlines<=w&&(this.newlines+=1),this.pos++,e=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(e){return this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e),!0):(this.line_char_count++,e.push(" "),!1)},this.get_content=function(){for(var e="",t=[],n=0;"<"!==this.input.charAt(this.pos)||2===n;){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(n<2&&this.traverse_whitespace())this.space_or_wrap(t);else{if(e=this.input.charAt(this.pos),x){if("{"===e?n+=1:n<2&&(n=0),"}"===e&&n>0&&0==n--)break;var r=this.input.substr(this.pos,3);if("{{#"===r||"{{/"===r)break;if("{{!"===r)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=new RegExp("</"+e+"\\s*>","igm");n.lastIndex=this.pos;var r=n.exec(this.input),o=r?r.index:this.input.length;return this.pos<o&&(t=this.input.substring(this.pos,o),this.pos=o),t},this.record_tag=function(e){this.tags[e+"count"]?(this.tags[e+"count"]++,this.tags[e+this.tags[e+"count"]]=this.indent_level):(this.tags[e+"count"]=1,this.tags[e+this.tags[e+"count"]]=this.indent_level),this.tags[e+this.tags[e+"count"]+"parent"]=this.tags.parent,this.tags.parent=e+this.tags[e+"count"]},this.retrieve_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]],this.tags.parent=this.tags[t+"parent"]),delete this.tags[e+this.tags[e+"count"]+"parent"],delete this.tags[e+this.tags[e+"count"]],1===this.tags[e+"count"]?delete this.tags[e+"count"]:this.tags[e+"count"]--}},this.indent_to_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]])}},this.get_tag=function(e){var t,n,r,o="",i=[],a="",s=!1,l=!0,c=!1,u=this.pos,p=this.line_char_count,f=!1;e=void 0!==e&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=u,this.line_char_count=p),i.length?i.join(""):["","TK_EOF"];if(o=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(o,this.Utils.whitespace))s=!0;else{if("'"!==o&&'"'!==o||(o+=this.get_unformatted(o),s=!0),"="===o&&(s=!1),r=this.input.substr(this.pos-1),!C||!c||f||">"!==o&&"/"!==o||r.match(/^\/?\s*>/)&&(s=!1,f=!0,this.print_newline(!1,i),this.print_indentation(i)),i.length&&"="!==i[i.length-1]&&">"!==o&&s){var d=this.space_or_wrap(i),h=d&&"/"!==o&&!O;if(s=!1,O&&"/"!==o){var b=!1;if(C&&l){b=!(null!==r.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))}l&&!b||(this.print_newline(!1,i),this.print_indentation(i),h=!0)}if(h){c=!0;var g=E;S&&(g=i.indexOf(" ")+1);for(var m=0;m<g;m++)i.push(" ")}if(l)for(var _=0;_<i.length;_++)if(" "===i[_]){l=!1;break}}if(x&&"<"===n&&o+this.input.charAt(this.pos)==="{{"&&(o+=this.get_unformatted("}}"),i.length&&" "!==i[i.length-1]&&"<"!==i[i.length-1]&&(o=" "+o),s=!0),"<"!==o||n||(t=this.pos-1,n="<"),x&&!n&&i.length>=2&&"{"===i[i.length-1]&&"{"===i[i.length-2]&&(t="#"===o||"/"===o||"!"===o?this.pos-3:this.pos-2,n="{"),this.line_char_count++,i.push(o),i[1]&&("!"===i[1]||"?"===i[1]||"%"===i[1])){i=[this.get_comment(t)];break}if(x&&i[1]&&"{"===i[1]&&i[2]&&"!"===i[2]){i=[this.get_comment(t)];break}if(x&&"{"===n&&i.length>2&&"}"===i[i.length-2]&&"}"===i[i.length-1])break}}while(">"!==o);var w,k,j=i.join("");w=-1!==j.indexOf(" ")?j.indexOf(" "):-1!==j.indexOf("\n")?j.indexOf("\n"):"{"===j.charAt(0)?j.indexOf("}"):j.indexOf(">"),k="<"!==j.charAt(0)&&x?"#"===j.charAt(2)?3:2:1;var T=j.substring(k,w).toLowerCase();return"/"===j.charAt(j.length-2)||this.Utils.in_array(T,this.Utils.single_token)?e||(this.tag_type="SINGLE"):x&&"{"===j.charAt(0)&&"else"===T?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(T,v)||this.is_unformatted(T,y)?(a=this.get_unformatted("</"+T+">",j),i.push(a),this.pos-1,this.tag_type="SINGLE"):"script"===T&&(-1===j.search("type")||j.search("type")>-1&&j.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1)?e||(this.record_tag(T),this.tag_type="SCRIPT"):"style"===T&&(-1===j.search("type")||j.search("type")>-1&&j.search("text/css")>-1)?e||(this.record_tag(T),this.tag_type="STYLE"):"!"===T.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===T.charAt(0)?(this.retrieve_tag(T.substring(1)),this.tag_type="END"):(this.record_tag(T),"html"!==T.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(i),this.Utils.in_array(T,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=u,this.line_char_count=p),i.join("")},this.get_comment=function(e){var t="",n=">",r=!1;this.pos=e;var o=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&(t+=o,t.charAt(t.length-1)!==n.charAt(n.length-1)||-1===t.indexOf(n));)!r&&t.length<10&&(0===t.indexOf("<![if")?(n="<![endif]>",r=!0):0===t.indexOf("<![cdata[")?(n="]]>",r=!0):0===t.indexOf("<![")?(n="]>",r=!0):0===t.indexOf("\x3c!--")?(n="--\x3e",r=!0):0===t.indexOf("{{!--")?(n="--}}",r=!0):0===t.indexOf("{{!")?5===t.length&&-1===t.indexOf("{{!--")&&(n="}}",r=!0):0===t.indexOf("<?")?(n="?>",r=!0):0===t.indexOf("<%")&&(n="%>",r=!0)),o=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(t,n){if(n&&-1!==n.toLowerCase().indexOf(t))return"";var r="",o="",i=!0,a=e(t);do{if(this.pos>=this.input.length)return o;if(r=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(r,this.Utils.whitespace)){if(!i){this.line_char_count--;continue}if("\n"===r||"\r"===r){o+="\n",this.line_char_count=0;continue}}o+=r,a.add(r),this.line_char_count++,i=!0,x&&"{"===r&&o.length&&"{"===o.charAt(o.length-2)&&(o+=this.get_unformatted("}}"))}while(a.doesNotMatch());return o},this.get_token=function(){var e;if("TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token){var t=this.last_token.substr(7);return e=this.get_contents_to(t),"string"!=typeof e?e:[e,"TK_"+t]}if("CONTENT"===this.current_mode)return e=this.get_content(),"string"!=typeof e?e:[e,"TK_CONTENT"];if("TAG"===this.current_mode){if("string"!=typeof(e=this.get_tag()))return e;return[e,"TK_TAG_"+this.tag_type]}},this.get_full_indent=function(e){return e=this.indent_level+e||0,e<1?"":Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!==e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=this.get_tag(!0),r=(n||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(r&&!this.Utils.in_array(r[1],t))},this.printer=function(e,t,n,r,o){this.input=e||"",this.input=this.input.replace(/\r\n|[\r\u2028\u2029]/g,"\n"),this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=n,this.brace_style=o,this.indent_level=0,this.wrap_line_length=r,this.line_char_count=0;for(var s=0;s<this.indent_size;s++)this.indent_string+=this.indent_character;this.print_newline=function(e,t){this.line_char_count=0,t&&t.length&&(e||"\n"!==t[t.length-1])&&("\n"!==t[t.length-1]&&(t[t.length-1]=a(t[t.length-1])),t.push("\n"))},this.print_indentation=function(e){for(var t=0;t<this.indent_level;t++)e.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(e){this.is_whitespace(e)&&!this.output.length||((e||""!==e)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),e=i(e)),this.print_token_raw(e))},this.print_token_raw=function(e){this.newlines>0&&(e=a(e)),e&&""!==e&&(e.length>1&&"\n"===e.charAt(e.length-1)?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t<this.newlines;t++)this.print_newline(t>0,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}var l,p,f,d,h,b,g,m,v,y,_,w,x,k,E,O,C,S,j,T,A;for(t=t||{},t=s(t,"html"),void 0!==t.wrap_line_length&&0!==parseInt(t.wrap_line_length,10)||void 0===t.max_char||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),p=void 0!==t.indent_inner_html&&t.indent_inner_html,f=void 0===t.indent_body_inner_html||t.indent_body_inner_html,d=void 0===t.indent_head_inner_html||t.indent_head_inner_html,h=void 0===t.indent_size?4:parseInt(t.indent_size,10),b=void 0===t.indent_char?" ":t.indent_char,m=void 0===t.brace_style?"collapse":t.brace_style,g=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),v=t.unformatted||["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","address","big","dt","ins","strike","tt"],y=t.content_unformatted||["pre"],_=void 0===t.preserve_newlines||t.preserve_newlines,w=_?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,x=void 0!==t.indent_handlebars&&t.indent_handlebars,k=void 0===t.wrap_attributes?"auto":t.wrap_attributes,E=isNaN(parseInt(t.wrap_attributes_indent_size,10))?h:parseInt(t.wrap_attributes_indent_size,10),O="force"===k.substr(0,"force".length),C="force-expand-multiline"===k,S="force-aligned"===k,j=void 0!==t.end_with_newline&&t.end_with_newline,T="object"==typeof t.extra_liners&&t.extra_liners?t.extra_liners.concat():"string"==typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),A=t.eol?t.eol:"auto",t.indent_with_tabs&&(b="\t",h=1),"auto"===A&&(A="\n",e&&c.test(e||"")&&(A=e.match(c)[0])),A=A.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(u,"\n"),l=new o,l.printer(e,b,h,g,m);;){var P=l.get_token();if(l.token_text=P[0],l.token_type=P[1],"TK_EOF"===l.token_type)break;switch(l.token_type){case"TK_TAG_START":l.print_newline(!1,l.output),l.print_token(l.token_text),l.indent_content&&(!l.indent_body_inner_html&&l.token_text.match(/<body(?:.*)>/)||!l.indent_head_inner_html&&l.token_text.match(/<head(?:.*)>/)||l.indent(),l.indent_content=!1),l.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":l.print_newline(!1,l.output),l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===l.last_token&&""===l.last_text){var R=(l.token_text.match(/\w+/)||[])[0],N=null;l.output.length&&(N=l.output[l.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===N||N[1]!==R&&!l.Utils.in_array(N[1],v))&&l.print_newline(!1,l.output)}l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var L=l.token_text.match(/^\s*<([a-z-]+)/i);L&&l.Utils.in_array(L[1],v)||l.print_newline(!1,l.output),l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var M=!1,D=l.output.length-1;D>=0&&"\n"!==l.output[D];D--)if(l.output[D].match(/{{#if/)){M=!0;break}M||l.print_newline(!1,l.output),l.print_token(l.token_text),l.indent_content&&(l.indent(),l.indent_content=!1),l.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":l.print_token(l.token_text),l.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==l.token_text){l.print_newline(!1,l.output);var B,I=l.token_text,F=1;"TK_SCRIPT"===l.token_type?B="function"==typeof n&&n:"TK_STYLE"===l.token_type&&(B="function"==typeof r&&r),"keep"===t.indent_scripts?F=0:"separate"===t.indent_scripts&&(F=-l.indent_level);var z=l.get_full_indent(F);if(B){var H=function(){this.eol="\n"};H.prototype=t;var q=new H;I=B(I.replace(/^\s*/,z),q)}else{var U=I.match(/^\s*/)[0],K=U.match(/[^\n\r]*$/)[0].split(l.indent_string).length-1,V=l.get_full_indent(F-K);I=I.replace(/^\s*/,z).replace(/\r\n|\r|\n/g,"\n"+V).replace(/\s+$/,"")}I&&(l.print_token_raw(I),l.print_newline(!0,l.output))}l.current_mode="TAG";break;default:""!==l.token_text&&l.print_token(l.token_text)}l.last_token=l.token_type,l.last_text=l.token_text}var W=l.output.join("").replace(/[\r\n\t ]+$/,"");return j&&(W+="\n"),"\n"!==A&&(W=W.replace(/[\n]/g,A)),W}var c=/\r\n|[\n\r\u2028\u2029]/,u=new RegExp(c.source,"g");r=[n,n(468),n(469)],void 0!==(o=function(e){var t=n(468),r=n(469);return{html_beautify:function(e,n){return l(e,n,t.js_beautify,r.css_beautify)}}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"d",function(){return s});var r=n(2),o=(n.n(r),n(549)),i=(n.n(o),n(546));n.d(t,"a",function(){return i.a}),n.d(t,"e",function(){return i.d}),n.d(t,"c",function(){return i.b}),n.d(t,"g",function(){return i.f}),n.d(t,"f",function(){return i.e});var a=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Object(o.nodeListToReact)(n.childNodes||[],r.createElement):[]}},s=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),Object(o.nodeToReact)(n,r.createElement)}}},function(e,t,n){"use strict";function r(e){var t=e.HTML,n=e.plainText,r=void 0===n?"":n,o=e.mode,a=void 0===o?"AUTO":o;if(t=t.replace(/<meta[^>]+>/,""),"INLINE"!==a&&-1!==t.indexOf("\x3c!-- wp:"))return Object(g.c)(t);if(r&&Object(T.k)(t)&&-1!==r.indexOf("\n\n")){var l=new d.a.Converter;l.setOption("noHeaderId",!0),l.setOption("tables",!0),t=l.makeHtml(r)}return"INLINE"===a||"AUTO"===a&&Object(w.a)(t)?(t=Object(T.a)(t,[x.a,v.a,y.a,Object(_.a)(function(e){return!Object(T.g)(e)})]),window.console.log("Processed inline HTML:\n\n",t),t):Object(A.a)(t).reduce(function(e,t){if("string"!=typeof t)return[].concat(s()(e),[t]);t=Object(T.a)(t,[k.a]),t=Object(T.a)(t,[E.a,O.a,x.a,v.a,y.a,Object(_.a)(T.j),C.a,S.a,j.a]),t=Object(T.a)(t,[Object(_.a)(T.i)]),t=Object(m.a)(t),window.console.log("Processed HTML piece:\n\n",t);var n=document.implementation.createHTMLDocument("");n.body.innerHTML=t;var r=i()(n.body.children).map(function(e){var t=Object(b.b)().reduce(function(t,n){if(t)return t;var r=c()(n,"transforms.from",[]),o=p()(r,function(e){return"raw"===e.type});return o&&o.isMatch(e)?o.transform?o.transform(e):Object(h.a)(n.name,Object(g.b)(n,e.outerHTML)):t},null);return t||Object(h.a)(Object(b.d)(),{content:e.outerHTML})});return[].concat(s()(e),s()(r))},[])}t.a=r;var o=n(106),i=n.n(o),a=n(37),s=n.n(a),l=n(54),c=n.n(l),u=n(58),p=n.n(u),f=n(634),d=n.n(f),h=n(427),b=n(232),g=n(464),m=n(550),v=n(635),y=n(636),_=n(551),w=n(637),x=n(638),k=n(639),E=n(640),O=n(641),C=n(642),S=n(643),j=n(644),T=n(374),A=n(645)},function(e,t,n){var r;/*! showdown v 1.7.4 - 08-09-2017 */
|
12 |
-
(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}function i(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};s.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var i=n+" sub-extension "+o+": ",a=e[o];if("object"!=typeof a)return r.valid=!1,r.error=i+"must be an object, but "+typeof a+" given",r;if(!s.helper.isString(a.type))return r.valid=!1,r.error=i+'property "type" must be a string, but '+typeof a.type+" given",r;var l=a.type=a.type.toLowerCase();if("language"===l&&(l=a.type="lang"),"html"===l&&(l=a.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return r.valid=!1,r.error=i+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===l){if(s.helper.isUndefined(a.listeners))return r.valid=!1,r.error=i+'. Extensions of type "listener" must have a property called "listeners"',r}else if(s.helper.isUndefined(a.filter)&&s.helper.isUndefined(a.regex))return r.valid=!1,r.error=i+l+' extensions must define either a "regex" property or a "filter" method',r;if(a.listeners){if("object"!=typeof a.listeners)return r.valid=!1,r.error=i+'"listeners" property must be an object but '+typeof a.listeners+" given",r;for(var c in a.listeners)if(a.listeners.hasOwnProperty(c)&&"function"!=typeof a.listeners[c])return r.valid=!1,r.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof a.listeners[c]+" given",r}if(a.filter){if("function"!=typeof a.filter)return r.valid=!1,r.error=i+'"filter" must be a function, but '+typeof a.filter+" given",r}else if(a.regex){if(s.helper.isString(a.regex)&&(a.regex=new RegExp(a.regex,"g")),!(a.regex instanceof RegExp))return r.valid=!1,r.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof a.regex+" given",r;if(s.helper.isUndefined(a.replace))return r.valid=!1,r.error=i+'"regex" extensions must implement a replace string or function',r}}return r}function a(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}var s={},l={},c={},u=o(!0),p="vanilla",f={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};s.helper={},s.extensions={},s.setOption=function(e,t){"use strict";return u[e]=t,this},s.getOption=function(e){"use strict";return u[e]},s.getOptions=function(){"use strict";return u},s.resetOptions=function(){"use strict";u=o(!0)},s.setFlavor=function(e){"use strict";if(!f.hasOwnProperty(e))throw Error(e+" flavor was not found");s.resetOptions();var t=f[e];p=e;for(var n in t)t.hasOwnProperty(n)&&(u[n]=t[n])},s.getFlavor=function(){"use strict";return p},s.getFlavorOptions=function(e){"use strict";if(f.hasOwnProperty(e))return f[e]},s.getDefaultOptions=function(e){"use strict";return o(e)},s.subParser=function(e,t){"use strict";if(s.helper.isString(e)){if(void 0===t){if(l.hasOwnProperty(e))return l[e];throw Error("SubParser named "+e+" not registered!")}l[e]=t}},s.extension=function(e,t){"use strict";if(!s.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=s.helper.stdExtName(e),s.helper.isUndefined(t)){if(!c.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return c[e]}"function"==typeof t&&(t=t()),s.helper.isArray(t)||(t=[t]);var n=i(t,e);if(!n.valid)throw Error(n.error);c[e]=t},s.getAllExtensions=function(){"use strict";return c},s.removeExtension=function(e){"use strict";delete c[e]},s.resetExtensions=function(){"use strict";c={}},s.validateExtension=function(e){"use strict";var t=i(e,null);return!!t.valid||(console.warn(t.error),!1)},s.hasOwnProperty("helper")||(s.helper={}),s.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},s.helper.isFunction=function(e){"use strict";var t={};return e&&"[object Function]"===t.toString.call(e)},s.helper.isArray=function(e){"use strict";return Array.isArray(e)},s.helper.isUndefined=function(e){"use strict";return void 0===e},s.helper.forEach=function(e,t){"use strict";if(s.helper.isUndefined(e))throw new Error("obj param is required");if(s.helper.isUndefined(t))throw new Error("callback param is required");if(!s.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(s.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},s.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},s.helper.escapeCharactersCallback=a,s.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,a)};var d=function(e,t,n,r){"use strict";var o,i,a,s,l,c=r||"",u=c.indexOf("g")>-1,p=new RegExp(t+"|"+n,"g"+c.replace(/g/g,"")),f=new RegExp(t,c.replace(/g/g,"")),d=[];do{for(o=0;a=p.exec(e);)if(f.test(a[0]))o++||(i=p.lastIndex,s=i-a[0].length);else if(o&&!--o){l=a.index+a[0].length;var h={left:{start:s,end:i},match:{start:i,end:a.index},right:{start:a.index,end:l},wholeMatch:{start:s,end:l}};if(d.push(h),!u)return d}}while(o&&(p.lastIndex=i));return d};s.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=d(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},s.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!s.helper.isFunction(t)){var i=t;t=function(){return i}}var a=d(e,n,r,o),l=e,c=a.length;if(c>0){var u=[];0!==a[0].wholeMatch.start&&u.push(e.slice(0,a[0].wholeMatch.start));for(var p=0;p<c;++p)u.push(t(e.slice(a[p].wholeMatch.start,a[p].wholeMatch.end),e.slice(a[p].match.start,a[p].match.end),e.slice(a[p].left.start,a[p].left.end),e.slice(a[p].right.start,a[p].right.end))),p<c-1&&u.push(e.slice(a[p].wholeMatch.end,a[p+1].wholeMatch.start));a[c-1].wholeMatch.end<e.length&&u.push(e.slice(a[c-1].wholeMatch.end)),l=u.join("")}return l},s.helper.regexIndexOf=function(e,t,n){"use strict";if(!s.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},s.helper.splitAtIndex=function(e,t){"use strict";if(!s.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},s.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),s.helper.regexes={asteriskAndDash:/([*_])/g},s.Converter=function(e){"use strict";function t(e,t){if(t=t||null,s.helper.isString(e)){if(e=s.helper.stdExtName(e),t=e,s.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void n(s.extensions[e],e);if(s.helper.isUndefined(c[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=c[e]}"function"==typeof e&&(e=e()),s.helper.isArray(e)||(e=[e]);var o=i(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":l.push(e[a]);break;case"output":d.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var u in e[a].listeners)e[a].listeners.hasOwnProperty(u)&&r(u,e[a].listeners[u])}}function n(e,t){"function"==typeof e&&(e=e(new s.Converter)),s.helper.isArray(e)||(e=[e]);var n=i(e,t);if(!n.valid)throw Error(n.error);for(var r=0;r<e.length;++r)switch(e[r].type){case"lang":l.push(e[r]);break;case"output":d.push(e[r]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function r(e,t){if(!s.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");h.hasOwnProperty(e)||(h[e]=[]),h[e].push(t)}function o(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}var a={},l=[],d=[],h={},b=p;!function(){e=e||{};for(var n in u)u.hasOwnProperty(n)&&(a[n]=u[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(a[r]=e[r]);a.extensions&&s.helper.forEach(a.extensions,t)}(),this._dispatch=function(e,t,n,r){if(h.hasOwnProperty(e))for(var o=0;o<h[e].length;++o){var i=h[e][o](e,t,this,n,r);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return r(e,t),this},this.makeHtml=function(e){if(!e)return e;var t={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:l,outputModifiers:d,converter:this,ghCodeBlocks:[]};return e=e.replace(/¨/g,"¨T"),e=e.replace(/\$/g,"¨D"),e=e.replace(/\r\n/g,"\n"),e=e.replace(/\r/g,"\n"),e=e.replace(/\u00A0/g," "),a.smartIndentationFix&&(e=o(e)),e="\n\n"+e+"\n\n",e=s.subParser("detab")(e,a,t),e=e.replace(/^[ \t]+$/gm,""),s.helper.forEach(l,function(n){e=s.subParser("runExtension")(n,e,a,t)}),e=s.subParser("hashPreCodeTags")(e,a,t),e=s.subParser("githubCodeBlocks")(e,a,t),e=s.subParser("hashHTMLBlocks")(e,a,t),e=s.subParser("hashCodeTags")(e,a,t),e=s.subParser("stripLinkDefinitions")(e,a,t),e=s.subParser("blockGamut")(e,a,t),e=s.subParser("unhashHTMLSpans")(e,a,t),e=s.subParser("unescapeSpecialChars")(e,a,t),e=e.replace(/¨D/g,"$$"),e=e.replace(/¨T/g,"¨"),s.helper.forEach(d,function(n){e=s.subParser("runExtension")(n,e,a,t)}),e},this.setOption=function(e,t){a[e]=t},this.getOption=function(e){return a[e]},this.getOptions=function(){return a},this.addExtension=function(e,n){n=n||null,t(e,n)},this.useExtension=function(e){t(e)},this.setFlavor=function(e){if(!f.hasOwnProperty(e))throw Error(e+" flavor was not found");var t=f[e];b=e;for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n])},this.getFlavor=function(){return b},this.removeExtension=function(e){s.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var n=e[t],r=0;r<l.length;++r)l[r]===n&&l[r].splice(r,1);for(;0<d.length;++r)d[0]===n&&d[0].splice(r,1)}},this.getAllExtensions=function(){return{language:l,output:d}}},s.subParser("anchors",function(e,t,n){"use strict";e=n.converter._dispatch("anchors.before",e,t,n);var r=function(e,r,o,i,a,l,c){if(s.helper.isUndefined(c)&&(c=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),i="#"+o,s.helper.isUndefined(n.gUrls[o]))return e;i=n.gUrls[o],s.helper.isUndefined(n.gTitles[o])||(c=n.gTitles[o])}i=i.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var u='<a href="'+i+'"';return""!==c&&null!==c&&(c=c.replace(/"/g,"""),c=c.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),u+=' title="'+c+'"'),t.openLinksInNewWindow&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,n,r,o,i){if("\\"===r)return n+o;if(!s.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var a=t.ghMentionsLink.replace(/\{u}/g,i),l="";return t.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),n+'<a href="'+a+'"'+l+">"+o+"</a>"})),e=n.converter._dispatch("anchors.after",e,t,n)});var h=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)()(?=\s|$)(?!["<>])/gi,b=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]]?)(?=\s|$)(?!["<>])/gi,g=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-\/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,v=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,i){var a=n,s="",l="";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&i&&(s=i),e.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),'<a href="'+n+'"'+l+">"+a+"</a>"+s}},_=function(e,t){"use strict";return function(n,r,o){var i="mailto:";return r=r||"",o=s.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(i=s.helper.encodeEmailAddress(i+o),o=s.helper.encodeEmailAddress(o)):i+=o,r+'<a href="'+i+'">'+o+"</a>"}};s.subParser("autoLinks",function(e,t,n){"use strict";return e=n.converter._dispatch("autoLinks.before",e,t,n),e=e.replace(g,y(t)),e=e.replace(v,_(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),s.subParser("simplifiedAutoLinks",function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=t.excludeTrailingPunctuationFromURLs?e.replace(b,y(t)):e.replace(h,y(t)),e=e.replace(m,_(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),s.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=s.subParser("blockQuotes")(e,t,n),e=s.subParser("headers")(e,t,n),e=s.subParser("horizontalRule")(e,t,n),e=s.subParser("lists")(e,t,n),e=s.subParser("codeBlocks")(e,t,n),e=s.subParser("tables")(e,t,n),e=s.subParser("hashHTMLBlocks")(e,t,n),e=s.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),s.subParser("blockQuotes",function(e,t,n){"use strict";return e=n.converter._dispatch("blockQuotes.before",e,t,n),e=e.replace(/((^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,r){var o=r;return o=o.replace(/^[ \t]*>[ \t]?/gm,"¨0"),o=o.replace(/¨0/g,""),o=o.replace(/^[ \t]+$/gm,""),o=s.subParser("githubCodeBlocks")(o,t,n),o=s.subParser("blockGamut")(o,t,n),o=o.replace(/(^|\n)/g,"$1 "),o=o.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^ /gm,"¨0"),n=n.replace(/¨0/g,"")}),s.subParser("hashBlock")("<blockquote>\n"+o+"\n</blockquote>",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),s.subParser("codeBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0";var r=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return e=e.replace(r,function(e,r,o){var i=r,a=o,l="\n";return i=s.subParser("outdent")(i,t,n),i=s.subParser("encodeCode")(i,t,n),i=s.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),i="<pre><code>"+i+l+"</code></pre>",s.subParser("hashBlock")(i,t,n)+a}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),s.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),void 0===e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,o,i){var a=i;return a=a.replace(/^([ \t]*)/g,""),a=a.replace(/[ \t]*$/g,""),a=s.subParser("encodeCode")(a,t,n),r+"<code>"+a+"</code>"}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),s.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}),e=e.replace(/¨A/g," "),e=e.replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),s.subParser("encodeAmpsAndAngles",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n),e=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),e=e.replace(/<(?![a-z\/?$!])/gi,"<"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),s.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,s.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,s.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),s.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,s.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),s.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var r=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi;return e=e.replace(r,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,s.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),s.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(e,r,o){var i=t.omitExtraWLInCodeBlocks?"":"\n";return o=s.subParser("encodeCode")(o,t,n),o=s.subParser("detab")(o,t,n),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),o="<pre><code"+(r?' class="'+r+" language-"+r+'"':"")+">"+o+i+"</code></pre>",o=s.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),s.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),s.subParser("hashCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);var r=function(e,r,o,i){var a=o+s.subParser("encodeCode")(r,t,n)+i;return"¨C"+(n.gHtmlSpans.push(a)-1)+"C"};return e=s.helper.replaceRecursiveRegExp(e,r,"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),s.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=r.replace(/\n\n/g,"\n"),r=r.replace(/^\n/,""),r=r.replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),s.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var i=0;i<r.length;++i)for(var a,l=new RegExp("^ {0,3}(<"+r[i]+"\\b[^>]*>)","im"),c="<"+r[i]+"\\b[^>]*>",u="</"+r[i]+">";-1!==(a=s.helper.regexIndexOf(e,l));){var p=s.helper.splitAtIndex(e,a),f=s.helper.replaceRecursiveRegExp(p[1],o,c,u,"im");if(f===p[1])break;e=p[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,s.subParser("hashElement")(e,t,n)),e=s.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,s.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),s.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return r(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),s.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i)break;++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)}),s.subParser("hashPreCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);var r=function(e,r,o,i){var a=o+s.subParser("encodeCode")(r,t,n)+i;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"};return e=s.helper.replaceRecursiveRegExp(e,r,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),s.subParser("headers",function(e,t,n){"use strict";function r(e){var r,o;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return r=e,o=s.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}e=n.converter._dispatch("headers.before",e,t,n);var o=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),i=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=e.replace(i,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',c=o,u="<h"+c+l+">"+a+"</h"+c+">";return s.subParser("hashBlock")(u,t,n)}),e=e.replace(a,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',c=o+1,u="<h"+c+l+">"+a+"</h"+c+">";return s.subParser("hashBlock")(u,t,n)});var l=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;return e=e.replace(l,function(e,i,a){var l=a;t.customizedHeaderId&&(l=a.replace(/\s?\{([^{]+?)}\s*$/,""));var c=s.subParser("spanGamut")(l,t,n),u=t.noHeaderId?"":' id="'+r(a)+'"',p=o-1+i.length,f="<h"+p+u+">"+c+"</h"+p+">";return s.subParser("hashBlock")(f,t,n)}),e=n.converter._dispatch("headers.after",e,t,n)}),s.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=s.subParser("hashBlock")("<hr />",t,n);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),s.subParser("images",function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){return r=r.replace(/\s/g,""),o(e,t,n,r,i,a,s,l)}function o(e,t,r,o,i,a,l,c){var u=n.gUrls,p=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),c||(c=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,s.helper.isUndefined(u[r]))return e;o=u[r],s.helper.isUndefined(p[r])||(c=p[r]),s.helper.isUndefined(f[r])||(i=f[r].width,a=f[r].height)}t=t.replace(/"/g,""").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),o=o.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var d='<img src="'+o+'" alt="'+t+'"';return c&&(c=c.replace(/"/g,""").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),d+=' title="'+c+'"'),i&&a&&(i="*"===i?"auto":i,a="*"===a?"auto":a,d+=' width="'+i+'"',d+=' height="'+a+'"'),d+=" />"}e=n.converter._dispatch("images.before",e,t,n);var i=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,a=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,l=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+\/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,c=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,u=/!\[([^\[\]]+)]()()()()()/g;return e=e.replace(c,o),e=e.replace(l,r),e=e.replace(a,o),e=e.replace(i,o),e=e.replace(u,o),e=n.converter._dispatch("images.after",e,t,n)}),s.subParser("italicsAndBold",function(e,t,n){"use strict";function r(e,r,o){return t.simplifiedAutoLink&&(e=s.subParser("simplifiedAutoLinks")(e,t,n)),r+e+o}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")}),e=e.replace(/\b__(\S[\s\S]*)__\b/g,function(e,t){return r(t,"<strong>","</strong>")}),e=e.replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),t.literalMidWordAsterisks?(e=e.trim().replace(/(^| )\*{3}(\S[\s\S]*?)\*{3}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong><em>","</em></strong>"+o)}),e=e.trim().replace(/(^| )\*{2}(\S[\s\S]*?)\*{2}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong>","</strong>"+o)}),e=e.trim().replace(/(^| )\*(\S[\s\S]*?)\*([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<em>","</em>"+o)})):(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),s.subParser("lists",function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n"),e+="¨0";var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e);return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(o,function(e,r,o,a,l,c,u){u=u&&""!==u.trim();var p=s.subParser("outdent")(l,t,n),f="";return c&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',p=p.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"})),p=p.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),r||p.search(/\n{2,}/)>-1?(p=s.subParser("githubCodeBlocks")(p,t,n),p=s.subParser("blockGamut")(p,t,n)):(p=s.subParser("lists")(p,t,n),p=p.replace(/\n$/,""),p=s.subParser("hashHTMLBlocks")(p,t,n),p=p.replace(/\n\n+/g,"\n\n"),p=i?s.subParser("paragraphs")(p,t,n):s.subParser("spanGamut")(p,t,n)),p=p.replace("¨A",""),p="<li"+f+">"+p+"</li>\n"}),e=e.replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,n,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,a=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,s="ul"===n?i:a,l="";return-1!==e.search(s)?function e(t){var c=t.search(s);-1!==c?(l+="\n<"+n+">\n"+r(t.slice(0,c),!!o)+"</"+n+">\n",n="ul"===n?"ol":"ul",s="ul"===n?i:a,e(t.slice(c))):l+="\n<"+n+">\n"+r(t,!!o)+"</"+n+">\n"}(e):l="\n<"+n+">\n"+r(e,!!o)+"</"+n+">\n",l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){return o(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){return o(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}),e=e.replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)}),s.subParser("outdent",function(e,t,n){"use strict";return e=n.converter._dispatch("outdent.before",e,t,n),e=e.replace(/^(\t|[ ]{1,4})/gm,"¨0"),e=e.replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),s.subParser("paragraphs",function(e,t,n){"use strict";e=n.converter._dispatch("paragraphs.before",e,t,n),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,"");for(var r=e.split(/\n{2,}/g),o=[],i=r.length,a=0;a<i;a++){var l=r[a];l.search(/¨(K|G)(\d+)\1/g)>=0?o.push(l):l.search(/\S/)>=0&&(l=s.subParser("spanGamut")(l,t,n),l=l.replace(/^([ \t]*)/g,"<p>"),l+="</p>",o.push(l))}for(i=o.length,a=0;a<i;a++){for(var c="",u=o[a],p=!1;/¨(K|G)(\d+)\1/.test(u);){var f=RegExp.$1,d=RegExp.$2;c="K"===f?n.gHtmlBlocks[d]:p?s.subParser("encodeCode")(n.ghCodeBlocks[d].text,t,n):n.ghCodeBlocks[d].codeblock,c=c.replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(p=!0)}o[a]=u}return e=o.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),s.subParser("runExtension",function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t}),s.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=s.subParser("codeSpans")(e,t,n),e=s.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=s.subParser("encodeBackslashEscapes")(e,t,n),e=s.subParser("images")(e,t,n),e=s.subParser("anchors")(e,t,n),e=s.subParser("autoLinks")(e,t,n),e=s.subParser("italicsAndBold")(e,t,n),e=s.subParser("strikethrough")(e,t,n),e=s.subParser("simplifiedAutoLinks")(e,t,n),e=s.subParser("hashHTMLSpans")(e,t,n),e=s.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),s.subParser("strikethrough",function(e,t,n){"use strict";function r(e){return t.simplifiedAutoLink&&(e=s.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return r(t)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),s.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,o=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+\/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;e+="¨0";var i=function(e,r,o,i,a,l,c){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=s.subParser("encodeAmpsAndAngles")(o,t,n),l?l+c:(c&&(n.gTitles[r]=c.replace(/"|'/g,""")),t.parseImgDimensions&&i&&a&&(n.gDimensions[r]={width:i,height:a}),"")};return e=e.replace(o,i),e=e.replace(r,i),e=e.replace(/¨0/,"")}),s.subParser("tables",function(e,t,n){"use strict";function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function o(e,r){var o="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(o=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=s.subParser("spanGamut")(e,t,n),"<th"+o+r+">"+e+"</th>\n"}function i(e,r){return"<td"+r+">"+s.subParser("spanGamut")(e,t,n)+"</td>\n"}function a(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}function l(e){var t,n=e.split("\n");for(t=0;t<n.length;++t)/^ {0,3}\|/.test(n[t])&&(n[t]=n[t].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(n[t])&&(n[t]=n[t].replace(/\|[ \t]*$/,""));var l=n[0].split("|").map(function(e){return e.trim()}),c=n[1].split("|").map(function(e){return e.trim()}),u=[],p=[],f=[],d=[];for(n.shift(),n.shift(),t=0;t<n.length;++t)""!==n[t].trim()&&u.push(n[t].split("|").map(function(e){return e.trim()}));if(l.length<c.length)return e;for(t=0;t<c.length;++t)f.push(r(c[t]));for(t=0;t<l.length;++t)s.helper.isUndefined(f[t])&&(f[t]=""),p.push(o(l[t],f[t]));for(t=0;t<u.length;++t){for(var h=[],b=0;b<p.length;++b)s.helper.isUndefined(u[t][b]),h.push(i(u[t][b],f[b]));d.push(h)}return a(p,d)}if(!t.tables)return e;var c=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,u=/^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|\n( {0,3}\|.+\|\n)*(?:\n|¨0)/gm;return e=n.converter._dispatch("tables.before",e,t,n),e=e.replace(/\\(\|)/g,s.helper.escapeCharactersCallback),e=e.replace(c,l),e=e.replace(u,l),e=n.converter._dispatch("tables.after",e,t,n)}),s.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n),e=e.replace(/¨E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)});void 0!==(r=function(){"use strict";return s}.call(t,n,t,e))&&(e.exports=r)}).call(this)},function(e,t,n){"use strict";var r=n(106),o=n.n(r),i=n(374),a=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===a&&e.hasAttributes()){var t=e.nodeName.toLowerCase();o()(e.attributes).forEach(function(n){var r=n.name;Object(i.d)(t,r)||e.removeAttribute(r)})}}},function(e,t,n){"use strict";var r=window.Node.COMMENT_NODE;t.a=function(e){e.nodeType===r&&e.parentNode.removeChild(e)}},function(e,t,n){"use strict";function r(e){return e.every(function(e){return Object(a.g)(e)&&r(i()(e.children))})}var o=n(106),i=n.n(o),a=n(374);t.a=function(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=i()(t.body.children);return!n.some(a.e)&&r(n)}},function(e,t,n){"use strict";function r(e,t){for(var n=document.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e)}var o=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===o){if("SPAN"===e.nodeName){var t=e.style.fontWeight,n=e.style.fontStyle;"bold"===t||"700"===t?r(e,"strong"):"italic"===n&&r(e,"em")}"B"===e.nodeName&&r(e,"strong"),"I"===e.nodeName&&r(e,"em")}}},function(e,t,n){"use strict";function r(e){return"OL"===e.nodeName||"UL"===e.nodeName}var o=window,i=o.parseInt,a=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===a&&"P"===e.nodeName){var t=e.getAttribute("style");if(t&&-1!==t.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(t);if(n){var o=i(n[1],10)-1||0,s=e.previousElementSibling;if(!s||!r(s)){var l=e.textContent.trim().slice(0,1),c=/[1iIaA]/.test(l),u=document.createElement(c?"ol":"ul");c&&u.setAttribute("type",l),e.parentNode.insertBefore(u,e)}var p=e.previousElementSibling,f=p.nodeName,d=document.createElement("li"),h=p;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;o--;)h=h.lastElementChild||h,r(h)&&(h=h.lastElementChild||h);r(h)||(h=h.appendChild(document.createElement(f))),h.appendChild(d),e.parentNode.removeChild(e)}}}}},function(e,t,n){"use strict";var r=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===r){var t=e.nodeName;if(("OL"===t||"UL"===t)&&1===e.children.length){var n=e.previousElementSibling;n&&n.nodeName===t&&(n.appendChild(e.firstChild),e.parentNode.removeChild(e))}}}},function(e,t,n){"use strict";var r=n(183),o=n.n(r),i=n(55),a=(n.n(i),window),s=a.atob,l=a.Blob,c=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===c&&"IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t=e.src.split(","),n=o()(t,2),r=n[0],a=n[1],u=r.slice(5).split(";"),p=o()(u,1),f=p[0];if(!a||!f)return void(e.src="");var d=void 0;try{d=s(a)}catch(t){return void(e.src="")}for(var h=new Uint8Array(d.length),b=0;b<h.length;b++)h[b]=d.charCodeAt(b);var g=new l([h],{type:f});e.src=Object(i.createBlobURL)(g)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}},function(e,t,n){"use strict";var r=n(550),o=window.Node.ELEMENT_NODE;t.a=function(e){e.nodeType===o&&"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Object(r.a)(e.innerHTML))}},function(e,t,n){"use strict";var r=window.Node.TEXT_NODE;t.a=function(e){if(e.nodeType===r){var t=e.parentNode;-1!==["TR","TBODY","THEAD","TFOOT","TABLE"].indexOf(t.nodeName)&&t.removeChild(e)}}},function(e,t,n){"use strict";var r=n(374),o=n(551),i=window.Node.ELEMENT_NODE;t.a=function(e,t){e.nodeType===i&&Object(r.h)(e)&&Object(r.b)(e.childNodes,[Object(o.a)(function(t){return!Object(r.g)(t)&&!Object(r.c)(e,t)},function(e){return e.nextElementSibling&&t.createElement("BR")})],t)}},function(e,t,n){"use strict";var r=n(37),o=n.n(r),i=n(430),a=n.n(i),s=n(12),l=n.n(s),c=n(431),u=n.n(c),p=n(180),f=n.n(p),d=n(117),h=n.n(d),b=n(646),g=n.n(b),m=n(54),v=n.n(m),y=n(58),_=n.n(y),w=n(427),x=n(232),k=n(464),E=window.wp.shortcode;t.a=function(e){var t=Object(x.b)().reduce(function(t,n){var r=v()(n,"transforms.from",[]),o=_()(r,function(e){return"shortcode"===e.type});if(!o)return t;for(var i=void 0,a=0;i=E.next(o.tag,e,a);){a=i.index+i.content.length;var s=f()(u()(o.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(i.shortcode.attrs,i)}),c=Object(w.a)(n.name,Object(k.b)(l()({},n,{attributes:o.attributes}),i.shortcode.content,s));t[i.index]={block:c,lastIndex:a}}return t},{}),n=0;return a()(t).sort().reduce(function(e,r){var i=t[r];return e=[].concat(o()(g()(e)),[h()(e).slice(0,r-n),i.block,h()(e).slice(i.lastIndex-n)]),n=i.lastIndex,e},[e])}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),t=r-t,o(e,0,t<0?0:t)):[]}var o=n(127),i=n(72);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(0),a=(n.n(i),n(55)),s=(n.n(a),n(649)),l=(n.n(s),n(650)),c=(n.n(l),n(28)),u=n(651);Object(c.p)("core/image",{title:Object(i.__)("Image"),icon:"format-image",category:"common",keywords:[Object(i.__)("photo")],attributes:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt"},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"}},transforms:{from:[{type:"raw",isMatch:function(e){var t=e.nodeName.toLowerCase(),n=!!e.textContent.trim(),r=e.querySelector("img");return"img"===t||r&&!n||r&&"figure"===t}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){return Object(a.createMediaFromFile)(e[0]).then(function(e){return Object(c.a)("core/image",{id:e.id,url:e.source_url})})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{type:"array",source:"text"},href:{type:"string",source:"attribute",attribute:"href",selector:"a"},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:u.a,save:function(e){var t=e.attributes,n=t.url,r=t.alt,i=t.caption,a=t.align,s=t.href,l=t.width,c=t.height,u=l||c?{width:l,height:c}:{},p=l?{width:l}:{},f=wp.element.createElement("img",o()({src:n,alt:r},u));return wp.element.createElement("figure",{className:a?"align"+a:null,style:p},s?wp.element.createElement("a",{href:s},f):f,i&&i.length>0&&wp.element.createElement("figcaption",null,i))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),p=n(7),f=n.n(p),d=n(8),h=n.n(d),b=n(52),g=n.n(b),m=n(54),v=n.n(m),y=n(67),_=n.n(y),w=n(275),x=n.n(w),k=n(472),E=n.n(k),O=n(17),C=n.n(O),S=n(652),j=n(0),T=(n.n(j),n(2)),A=(n.n(T),n(55)),P=(n.n(A),n(1)),R=(n.n(P),n(86)),N=n(286),L=n(40),M=n(463),D=n(462),B=n(68),I=n(109),F=n(46),z=n(554),H=n(669),q=function(e){function t(){l()(this,t);var e=f()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.updateAlt=e.updateAlt.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSetHref=e.onSetHref.bind(e),e.updateImageURL=e.updateImageURL.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.id,o=t.url,i=void 0===o?"":o;r||0!==i.indexOf("blob:")||Object(A.getBlobByURL)(i).then(A.createMediaFromFile).then(function(e){n({id:e.id,url:e.source_url})})}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,i=this.props.attributes,a=i.id,s=i.url,l=void 0===s?"":s;!n&&0===o.indexOf("blob:")&&a&&-1===l.indexOf("blob:")&&Object(A.revokeBlobURL)(l)}},{key:"onSelectImage",value:function(e){var t={url:e.url,alt:e.alt,id:e.id};e.caption&&(t.caption=[e.caption]),this.props.setAttributes(t)}},{key:"onSetHref",value:function(e){this.props.setAttributes({href:e})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(o()({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e})}},{key:"getAvailableSizes",value:function(){return v()(this.props.image,["data","media_details","sizes"],{})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.className,s=e.settings,l=e.toggleSelection,c=t.url,u=t.alt,p=t.caption,f=t.align,d=t.id,h=t.href,b=t.width,g=t.height,m=this.getAvailableSizes(),v=b?{width:b}:{},y=-1===["wide","full"].indexOf(f)&&!A.viewPort.isExtraSmall(),w={isLarge:!0},k=function(e){return Object(A.mediaUpload)(e.target.files,n)},O=function(e){return Object(A.mediaUpload)(e,n)},T=wp.element.createElement(F.a,null,wp.element.createElement("p",null,Object(j.__)("Worth a thousand words."))),q=r&&wp.element.createElement(B.a,{key:"controls"},wp.element.createElement(I.a,{value:f,onChange:this.updateAlignment}),wp.element.createElement(P.Toolbar,null,wp.element.createElement(N.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(j.__)("Edit image")},onSelect:this.onSelectImage,type:"image",value:d},wp.element.createElement(P.Dashicon,{icon:"edit"})),wp.element.createElement(z.a,{onChange:this.onSetHref,url:h})));if(!c)return[q,r&&wp.element.createElement(L.a,{key:"inspector"},T),wp.element.createElement(P.Placeholder,{key:"placeholder",instructions:Object(j.__)("Drag image here or insert from media library"),icon:"format-image",label:Object(j.__)("Image"),className:a},wp.element.createElement(P.DropZone,{onFilesDrop:O}),wp.element.createElement(P.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:k,accept:"image/*"},Object(j.__)("Upload")),wp.element.createElement(N.a,{buttonProps:w,onSelect:this.onSelectImage,type:"image"},Object(j.__)("Insert from Media Library")))];var U=function(e){return i(o()({editable:"caption"},e))},K=C()(a,{"is-transient":0===c.indexOf("blob:"),"is-resized":!!b,"is-focused":!!r});return[q,r&&wp.element.createElement(L.a,{key:"inspector"},T,wp.element.createElement("h3",null,Object(j.__)("Image Settings")),wp.element.createElement(M.a,{label:Object(j.__)("Textual Alternative"),value:u,onChange:this.updateAlt,help:Object(j.__)("Describe the purpose of the image. Leave empty if the image is not a key part of the content.")}),!x()(m)&&wp.element.createElement(D.a,{label:Object(j.__)("Size"),value:c,options:_()(m,function(e,t){return{value:e.source_url,label:E()(t)}}),onChange:this.updateImageURL})),wp.element.createElement("figure",{key:"image",className:K,style:v},wp.element.createElement(H.a,{src:c,dirtynessTrigger:f},function(e){var t=e.imageWidthWithinContainer,r=e.imageHeightWithinContainer,o=e.imageWidth,a=e.imageHeight,p=wp.element.createElement("img",{src:c,alt:u,onClick:i});if(!y||!t)return p;var f=b||t,d=g||r,h=o/a,m=o<a?20:20*h,v=a<o?20:20/h;return wp.element.createElement(S.a,{size:{width:f,height:d},minWidth:m,maxWidth:s.maxWidth,minHeight:v,maxHeight:s.maxWidth/h,lockAspectRatio:!0,handleClasses:{topRight:"wp-block-image__resize-handler-top-right",bottomRight:"wp-block-image__resize-handler-bottom-right",topLeft:"wp-block-image__resize-handler-top-left",bottomLeft:"wp-block-image__resize-handler-bottom-left"},enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},onResizeStart:function(){l(!1)},onResizeStop:function(e,t,r,o){n({width:parseInt(f+o.width,10),height:parseInt(d+o.height,10)}),l(!0)}},p)}),p&&p.length>0||r?wp.element.createElement(R.a,{tagName:"figcaption",placeholder:Object(j.__)("Write caption…"),value:p,focus:r&&"caption"===r.editable?r:void 0,onFocus:U,onChange:function(e){return n({caption:e})},inlineToolbar:!0}):null)]}}]),t}(T.Component);t.a=g()([Object(P.withContext)("editor")(function(e){return{settings:e}}),Object(P.withAPIData)(function(e){var t=e.attributes.id;return t?{image:"/wp/v2/media/"+t}:{}})])(q)},function(e,t,n){"use strict";var r=n(13),o=(n.n(r),function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var s={key:e,arg:t,resolve:n,reject:o,next:null};a?a=a.next=s:(i=a=s,r(e,t))})}function r(n,i){try{var a=t[n](i),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(a.done?"return":"normal",a.value)}catch(e){o("throw",e)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):a=null}var i,a;this._invoke=n,"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)},l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},c={base:{position:"absolute"},top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},u=function(e){return Object(r.createElement)("div",{className:e.className,style:a({},c.base,c[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}})},p={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},f={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},d=function(e,t,n){return Math.max(Math.min(e,n),t)},h=function(e,t){return Math.round(e/t)*t},b=function(e,t){return e.substr(e.length-t.length,t.length)===t},g=function(e){return b(e.toString(),"px")?e.toString():b(e.toString(),"%")?e.toString():e+"px"},m=0,v=["style","className","grid","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop"],y=function(e){function t(e){o(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0}},n.updateExtendsProps(e),n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n.baseSizeId="__resizable"+m,m+=1,"undefined"!=typeof window&&(window.addEventListener("mouseup",n.onMouseUp),window.addEventListener("mousemove",n.onMouseMove),window.addEventListener("touchmove",n.onMouseMove),window.addEventListener("touchend",n.onMouseUp)),n}return s(t,e),i(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce(function(t,n){return-1!==v.indexOf(n)?t:(t[n]=e[n],t)},{})}},{key:"getParentSize",value:function(){var e=document.getElementById(this.baseSizeId);return e?{width:e.offsetWidth,height:e.offsetHeight}:{width:window.innerWidth,height:window.innerHeight}}},{key:"componentDidMount",value:function(){var e=this.size;this.setState({width:this.state.width||e.width,height:this.state.height||e.height});var t=document.createElement("div");t.id=this.baseSizeId,t.style.width="100%",t.style.height="100%",t.style.position="relative",t.style.transform="scale(0, 0)",t.style.left="-2147483647px";var n=this.parentNode;n instanceof HTMLElement&&n.appendChild(t)}},{key:"componentWillReceiveProps",value:function(e){this.updateExtendsProps(e)}},{key:"componentWillUnmount",value:function(){if("undefined"!=typeof window){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("touchend",this.onMouseUp);var e=this.parentNode,t=document.getElementById(this.baseSizeId);if(!t)return;if(!(e instanceof HTMLElement&&t instanceof Node))return;e.removeChild(t)}}},{key:"onResizeStart",value:function(e,t){var n=0,r=0;if(e.nativeEvent instanceof MouseEvent){if(n=e.nativeEvent.clientX,r=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof TouchEvent&&(n=e.nativeEvent.touches[0].clientX,r=e.nativeEvent.touches[0].clientY);this.props.onResizeStart&&this.props.onResizeStart(e,t,this.resizable),this.setState({original:{x:n,y:r,width:this.size.width,height:this.size.height},isResizing:!0,direction:t})}},{key:"onMouseMove",value:function(e){if(this.state.isResizing){var t=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,n=e instanceof MouseEvent?e.clientY:e.touches[0].clientY,r=this.state,o=r.direction,i=r.original,a=r.width,s=r.height,l=this.props.lockAspectRatio,c=this.props,u=c.maxWidth,p=c.maxHeight,f=c.minWidth,g=c.minHeight,m=this.getParentSize();if(u&&"string"==typeof u&&b(u,"%")){var v=Number(u.replace("%",""))/100;u=m.width*v}if(p&&"string"==typeof p&&b(p,"%")){var y=Number(p.replace("%",""))/100;p=m.height*y}if(f&&"string"==typeof f&&b(f,"%")){var _=Number(f.replace("%",""))/100;f=m.width*_}if(g&&"string"==typeof g&&b(g,"%")){var w=Number(g.replace("%",""))/100;g=m.height*w}u=void 0===u?void 0:Number(u),p=void 0===p?void 0:Number(p),f=void 0===f?void 0:Number(f),g=void 0===g?void 0:Number(g);var x=i.height/i.width,k=i.width,E=i.height;if(/right/i.test(o)&&(k=i.width+(t-i.x),l&&(E=k*x)),/left/i.test(o)&&(k=i.width-(t-i.x),l&&(E=k*x)),/bottom/i.test(o)&&(E=i.height+(n-i.y),l&&(k=E/x)),/top/i.test(o)&&(E=i.height-(n-i.y),l&&(k=E/x)),"parent"===this.props.bounds){var O=this.parentNode;if(O instanceof HTMLElement){var C=O.getBoundingClientRect(),S=C.left,j=C.top,T=this.resizable.getBoundingClientRect(),A=T.left,P=T.top,R=O.offsetWidth+(S-A),N=O.offsetHeight+(j-P);u=u&&u<R?u:R,p=p&&p<N?p:N}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var L=this.resizable.getBoundingClientRect(),M=L.left,D=L.top,B=window.innerWidth-M,I=window.innerHeight-D;u=u&&u<B?u:B,p=p&&p<I?p:I}}else if(this.props.bounds instanceof HTMLElement){var F=this.props.bounds.getBoundingClientRect(),z=F.left,H=F.top,q=this.resizable.getBoundingClientRect(),U=q.left,K=q.top;if(!(this.props.bounds instanceof HTMLElement))return;var V=this.props.bounds.offsetWidth+(z-U),W=this.props.bounds.offsetHeight+(H-K);u=u&&u<V?u:V,p=p&&p<W?p:W}var G=void 0===f||f<10?10:f,$=void 0===u||u<0?k:u,X=void 0===g||g<10?10:g,Y=void 0===p||p<0?E:p;if(l){var Z=G>X/x?G:X/x,Q=$<Y/x?$:Y/x,J=X>G*x?X:G*x,ee=Y<$*x?Y:$*x;k=d(k,Z,Q),E=d(E,J,ee)}else k=d(k,G,$),E=d(E,X,Y);this.props.grid&&(k=h(k,this.props.grid[0])),this.props.grid&&(E=h(E,this.props.grid[1]));var te={width:k-i.width,height:E-i.height};if(a&&"string"==typeof a&&b(a,"%")){k=k/m.width*100+"%"}if(s&&"string"==typeof s&&b(s,"%")){E=E/m.height*100+"%"}this.setState({width:"auto"!==a||void 0===this.props.width?k:"auto",height:"auto"!==s||void 0===this.props.height?E:"auto"}),this.props.onResize&&this.props.onResize(e,o,this.resizable,te)}}},{key:"onMouseUp",value:function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.setState({isResizing:!1})}}},{key:"updateSize",value:function(e){this.setState({width:e.width,height:e.height})}},{key:"renderResizer",value:function(){var e=this,t=this.props,n=t.enable,o=t.handleStyles,i=t.handleClasses,a=t.handleWrapperStyle,s=t.handleWrapperClass;if(!n)return null;var l=Object.keys(n).map(function(t){return!1!==n[t]?Object(r.createElement)(u,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:o&&o[t],className:i&&i[t]}):null});return Object(r.createElement)("span",{className:s,style:a},l)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?p:f;return Object(r.createElement)("div",a({ref:function(t){e.resizable=t},style:a({position:"relative"},t,this.props.style,this.sizeStyle,{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box"}),className:this.props.className},this.extendsProps),this.props.children,this.renderResizer())}},{key:"parentNode",get:function(){return this.resizable.parentNode}},{key:"propsSize",get:function(){return this.props.size||this.props.defaultSize}},{key:"size",get:function(){var e=0,t=0;return"undefined"!=typeof window&&(e=this.resizable.offsetWidth,t=this.resizable.offsetHeight),{width:e,height:t}}},{key:"sizeStyle",get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&b(e.propsSize[t].toString(),"%")){if(b(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return g(e.state[t])};return{width:t&&t.width&&!this.state.isResizing?g(t.width):n("width"),height:t&&t.height&&!this.state.isResizing?g(t.height):n("height")}}}]),t}(r.Component);y.defaultProps={onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1},t.a=y},function(e,t,n){var r=n(654),o=n(83),i=o(function(e,t){return r(e,1,t)});e.exports=i},function(e,t){function n(e,t,n){if("function"!=typeof e)throw new TypeError(r);return setTimeout(function(){e.apply(void 0,n)},t)}var r="Expected a function";e.exports=n},function(e,t,n){var r=n(656),o=n(543),i=o(function(e,t,n){r(e,t,n)});e.exports=i},function(e,t,n){function r(e,t,n,u,p){e!==t&&a(t,function(a,c){if(l(a))p||(p=new o),s(e,t,c,n,r,u,p);else{var f=u?u(e[c],a,c+"",e,t,p):void 0;void 0===f&&(f=a),i(e,c,f)}},c)}var o=n(124),i=n(552),a=n(273),s=n(657),l=n(21),c=n(168);e.exports=r},function(e,t,n){function r(e,t,n,r,v,y,_){var w=e[n],x=t[n],k=_.get(x);if(k)return void o(e,n,k);var E=y?y(w,x,n+"",e,t,_):void 0,O=void 0===E;if(O){var C=u(x),S=!C&&f(x),j=!C&&!S&&g(x);E=x,C||S||j?u(w)?E=w:p(w)?E=s(w):S?(O=!1,E=i(x,!0)):j?(O=!1,E=a(x,!0)):E=[]:b(x)||c(x)?(E=w,c(w)?E=m(w):(!h(w)||r&&d(w))&&(E=l(x))):O=!1}O&&(_.set(x,E),v(E,x,r,y,_),_.delete(x)),o(e,n,E)}var o=n(552),i=n(277),a=n(278),s=n(116),l=n(279),c=n(80),u=n(11),p=n(184),f=n(102),d=n(112),h=n(21),b=n(241),g=n(135),m=n(658);e.exports=r},function(e,t,n){function r(e){return o(e,i(e))}var o=n(66),i=n(168);e.exports=r},function(e,t,n){function r(e,t){return a(e,i(o(t)))}var o=n(26),i=n(486),a=n(431);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(128),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),p=n(6),f=n.n(p),d=n(7),h=n.n(d),b=n(8),g=n.n(b),m=n(0),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(55)),w=(n.n(_),n(662)),x=(n.n(w),n(432)),k=n(433),E=n(179),O=_.keycodes.ESCAPE,C=_.keycodes.LEFT,S=_.keycodes.RIGHT,j=_.keycodes.UP,T=_.keycodes.DOWN,A=[{icon:"editor-bold",title:Object(m.__)("Bold"),format:"bold"},{icon:"editor-italic",title:Object(m.__)("Italic"),format:"italic"},{icon:"editor-strikethrough",title:Object(m.__)("Strikethrough"),format:"strikethrough"},{icon:"admin-links",title:Object(m.__)("Link"),format:"link"}],P=["bold","italic","strikethrough","link"],R=function(e){return e.stopPropagation()},N=function(e){function t(){u()(this,t);var e=h()(this,(t.__proto__||l()(t)).apply(this,arguments));return e.state={isAddingLink:!1,isEditingLink:!1,settingsVisible:!1,opensInNewWindow:!1,newLinkValue:""},e.addLink=e.addLink.bind(e),e.editLink=e.editLink.bind(e),e.dropLink=e.dropLink.bind(e),e.submitLink=e.submitLink.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.onChangeLinkValue=e.onChangeLinkValue.bind(e),e.toggleLinkSettingsVisibility=e.toggleLinkSettingsVisibility.bind(e),e.setLinkTarget=e.setLinkTarget.bind(e),e}return g()(t,e),f()(t,[{key:"onKeyDown",value:function(e){e.keyCode===O&&this.state.isEditingLink&&(e.stopPropagation(),this.dropLink()),[C,T,S,j].indexOf(e.keyCode)>-1&&R(e)}},{key:"componentWillReceiveProps",value:function(e){this.props.selectedNodeId!==e.selectedNodeId&&this.setState({isAddingLink:!1,isEditingLink:!1,settingsVisible:!1,opensInNewWindow:!!e.formats.link&&!!e.formats.link.target,newLinkValue:""})}},{key:"onChangeLinkValue",value:function(e){this.setState({newLinkValue:e})}},{key:"toggleFormat",value:function(e){var t=this;return function(){t.props.onChange(a()({},e,!t.props.formats[e]))}}},{key:"toggleLinkSettingsVisibility",value:function(){this.setState(function(e){return{settingsVisible:!e.settingsVisible}})}},{key:"setLinkTarget",value:function(e){var t=e.target.checked;this.setState({opensInNewWindow:t}),this.props.onChange({link:{value:this.props.formats.link.value,target:t?"_blank":""}})}},{key:"addLink",value:function(){this.setState({isEditingLink:!1,isAddingLink:!0,newLinkValue:""})}},{key:"dropLink",value:function(){this.props.onChange({link:void 0}),this.setState({isEditingLink:!1,isAddingLink:!1,newLinkValue:""})}},{key:"editLink",value:function(e){e.preventDefault(),this.setState({isEditingLink:!1,isAddingLink:!0,newLinkValue:this.props.formats.link.value})}},{key:"submitLink",value:function(e){e.preventDefault(),this.props.onChange({link:{value:this.state.newLinkValue,target:this.state.opensInNewWindow?"_blank":""}}),this.state.isAddingLink&&this.props.speak(Object(m.__)("Link inserted."),"assertive")}},{key:"isFormatActive",value:function(e){return this.props.formats[e]&&this.props.formats[e].isActive}},{key:"render",value:function(){var e=this,t=this.props,n=t.formats,r=t.focusPosition,i=t.enabledControls,a=void 0===i?P:i,s=t.customControls,l=void 0===s?[]:s,c=this.state,u=c.isAddingLink,p=c.isEditingLink,f=c.newLinkValue,d=c.settingsVisible,h=c.opensInNewWindow,b=r?o()({position:"absolute"},r):null,g=A.concat(l).filter(function(e){return-1!==a.indexOf(e.format)}).map(function(t){var n="link"===t.format;return o()({},t,{onClick:n?e.addLink:e.toggleFormat(t.format),isActive:e.isFormatActive(t.format)||n&&u})}),v=d&&wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line blocks-format-toolbar__link-settings"},wp.element.createElement(E.a,{label:Object(m.__)("Open in new window"),checked:h,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"blocks-format-toolbar"},wp.element.createElement(y.Toolbar,{controls:g}),(u||p)&&wp.element.createElement(y.Fill,{name:"Editable.Siblings"},wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",style:b,onKeyPress:R,onKeyDown:this.onKeyDown,onSubmit:this.submitLink},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line"},wp.element.createElement(x.a,{value:f,onChange:this.onChangeLinkValue}),wp.element.createElement(y.IconButton,{icon:"editor-break",label:Object(m.__)("Apply"),type:"submit"}),wp.element.createElement(y.IconButton,{icon:"editor-unlink",label:Object(m.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(y.IconButton,{icon:"admin-generic",label:Object(m.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d})),v)),!!n.link&&!u&&!p&&wp.element.createElement(y.Fill,{name:"Editable.Siblings"},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal",style:b,onKeyPress:R},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line"},wp.element.createElement("a",{className:"blocks-format-toolbar__link-value",href:n.link.value,target:"_blank"},n.link.value&&Object(k.a)(decodeURI(n.link.value))),wp.element.createElement(y.IconButton,{icon:"edit",label:Object(m.__)("Edit"),onClick:this.editLink}),wp.element.createElement(y.IconButton,{icon:"editor-unlink",label:Object(m.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(y.IconButton,{icon:"admin-generic",label:Object(m.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d})),v)))}}]),t}(v.Component);t.a=Object(y.withSpokenMessages)(N)},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(173),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),p=n(6),f=n.n(p),d=n(7),h=n.n(d),b=n(8),g=n.n(b),m=n(119),v=n.n(m),y=n(487),_=n.n(y),w=n(17),x=n.n(w),k=n(2),E=(n.n(k),n(553)),O=function(e){function t(){return u()(this,t),h()(this,(t.__proto__||l()(t)).apply(this,arguments))}return g()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.initialize()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillReceiveProps",value:function(e){var t=this,n="data-is-placeholder-visible",r=String(!!e.isPlaceholderVisible);this.editorNode.getAttribute(n)!==r&&this.editorNode.setAttribute(n,r),v()(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),a()(this.editorNode.style,e.style)),v()(this.props.className,e.className)||(this.editorNode.className=x()(e.className,"blocks-editable__tinymce"));var o=Object(E.a)(this.props,e),i=o.removedKeys,s=o.updatedKeys;i.forEach(function(e){return t.editorNode.removeAttribute(e)}),s.forEach(function(n){return t.editorNode.setAttribute(n,e[n])})}},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.container=document.createDocumentFragment(),this.editor.destroy(),delete this.editor)}},{key:"initialize",value:function(){var e=this,t=this.props.focus,n=this.props.getSettings({theme:!1,inline:!0,toolbar:!1,browser_spellcheck:!0,entity_encoding:"raw",convert_urls:!1,inline_boundaries_selector:"a[href],code,b,i,strong,em,del,ins,sup,sub",plugins:[],formats:{strikethrough:{inline:"del"}}});n.plugins.push("paste"),_.a.init(o()({},n,{target:this.editorNode,setup:function(t){e.editor=t,e.props.onSetup(t)}})),t&&this.editorNode.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,i=t.style,a=t.defaultValue,s=t.className,l=Object(E.b)(this.props),c=void 0;return a&&(c=k.Children.toArray(a)),Object(k.createElement)(r,o()({ref:function(t){return e.editorNode=t},contentEditable:!0,suppressContentEditableWarning:!0,className:x()(s,"blocks-editable__tinymce"),style:i},l),c)}}]),t}(k.Component);t.a=O},function(e,t){function n(e){return null==e}e.exports=n},function(e,t,n){"use strict";var r=n(37),o=n.n(r),i=n(666),a=n.n(i),s=n(435),l=n.n(s),c=n(494),u=n.n(c),p=n(54),f=n.n(p),d=n(58),h=n.n(d),b=n(487),g=n.n(b),m=n(55),v=(n.n(m),n(232)),y=window,_=y.setTimeout,w=m.keycodes.ESCAPE,x=m.keycodes.ENTER,k=m.keycodes.SPACE,E=m.keycodes.BACKSPACE;t.a=function(e){function t(){var t=e.selection.getRng(),n=t.startContainer,r=t.startOffset;if(n&&3===n.nodeType&&n.data.length&&r){var o=n.data.slice(0,r),i=n.data.charAt(r-1),a=y.reduce(function(e,t){if(e.result)return e;if(i!==t.delimiter.slice(-1))return e;var n=u()(t.delimiter),a=new RegExp("(.*)"+n+".+"+n+"$"),s=o.match(a);if(!s)return e;var l=s[1].length,c=r-t.delimiter.length,p=o.charAt(l-1),f=o.charAt(l+t.delimiter.length),d=t.delimiter.charAt(0);if(l&&/\S/.test(p)&&(/\s/.test(f)||p===d))return e;var h=new RegExp("^[\\s"+u()(d)+"]+$"),b=o.slice(l,c);return h.test(b)?e:{start:l,pattern:t}},{}),s=a.start,l=a.pattern;if(l){var c=l.delimiter,p=l.format,f=e.formatter.get(p);f&&f[0].inline&&(e.undoManager.add(),e.undoManager.transact(function(){n.insertData(r,"\ufeff");var t=n.splitText(s),o=t.splitText(r-s);t.deleteData(0,c.length),t.deleteData(t.data.length-c.length,c.length),e.formatter.apply(p,{},t),e.selection.setCursorLocation(o,1),_(function(){O="space",e.once("selectionchange",function(){if(o){var e=o.data.indexOf("\ufeff");-1!==e&&o.deleteData(e,e+1)}})})}))}}}function n(t){if(s){e.getBody().normalize();var n=i();if(n.length){var r=n[0],l=t.reduce(function(e,t){return e.result?e:{result:t.regExp.exec(r),pattern:t}},{}),c=l.result,u=l.pattern;if(c){var p=e.selection.getRng(),f=c[0].length,d=r.slice(f);if(p.startOffset===f){var h=u.transform({content:[d].concat(o()(a()(n))),match:c});s([h])}}}}}function r(){if(s){e.getBody().normalize();var t=i();if(t.length){var n=h()(b,function(e){return e.regExp.test(t[0])});if(n){var r=n.transform({content:t});e.once("keyup",function(){return s([r])})}}}}var i=this.getContent.bind(this),s=this.props.onReplace,c=g.a.util.VK,p=e.settings.wptextpattern||{},d=l()(Object(v.b)().reduce(function(e,t){var n=f()(t,"transforms.from",[]),r=n.filter(function(e){return"pattern"===e.type});return[].concat(o()(e),o()(r))},[]),"trigger"),b=d.enter,m=d.undefined,y=p.inline||[{delimiter:"`",format:"code"}],O=void 0;e.on("selectionchange",function(){O=null}),e.on("keydown",function(o){var i=o.keyCode;(O&&i===w||"space"===O&&i===E)&&(e.undoManager.undo(),o.preventDefault(),o.stopImmediatePropagation()),c.metaKeyPressed(o)||(i===x?r():i===k?_(function(){return n(m)}):i>47&&!(i>=91&&i<=93)&&_(t))},!0)}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),o(e,t<0?0:t,r)):[]}var o=n(127),i=n(72);e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=["Focus","Blur","FocusIn","FocusOut","Click","DblClick","MouseDown","MouseUp","MouseMove","MouseOver","BeforePaste","Paste","Cut","Copy","SelectionChange","MouseOut","MouseEnter","MouseLeave","Wheel","KeyDown","KeyPress","KeyUp","Input","ContextMenu","DragStart","DragEnd","DragOver","DragGesture","DragDrop","Drop","Drag","Submit","CompositionStart","CompositionEnd","CompositionUpdate","TouchStart","TouchMove","TouchEnd"]},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(27),h=n.n(d),b=n(2),g=(n.n(b),function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(e),e.calculateSize=e.calculateSize.bind(e),e}return f()(t,e),l()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=h.a)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e=this.container.clientWidth,t=this.image.width>e,n=this.image.height/this.image.width,r=t?e:this.image.width,o=t?e*n:this.image.height;this.setState({width:r,height:o})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return wp.element.createElement("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(b.Component));t.a=g},function(e,t,n){"use strict";var r=n(121),o=n.n(r),i=n(0),a=(n.n(i),n(671)),s=(n.n(a),n(672)),l=(n.n(s),n(28)),c=n(673);Object(l.p)("core/gallery",{title:Object(i.__)("Gallery"),icon:"format-gallery",category:"common",keywords:[Object(i.__)("images"),Object(i.__)("photos")],attributes:{align:{type:"string",default:"none"},images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt"},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=o()(e,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(l.a)("core/gallery",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt}})}):Object(l.a)("core/gallery")}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return t?t.split(",").map(function(e){return{id:parseInt(e,10)}}):[]}},columns:{type:"number",shortcode:function(e){var t=e.named.columns,n=void 0===t?"3":t;return parseInt(n,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt;return Object(l.a)("core/image",{id:t,url:n,alt:r})}):Object(l.a)("core/image")}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:c.a,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Object(c.b)(t):r,i=t.align,a=t.imageCrop,s=t.linkTo;return wp.element.createElement("div",{className:"align"+i+" columns-"+o+" "+(a?"is-cropped":"")},n.map(function(e){var t=void 0;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}var n=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id});return wp.element.createElement("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?wp.element.createElement("a",{href:t},n):n)}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return Math.min(3,e.images.length)}t.b=r;var o=n(12),i=n.n(o),a=n(37),s=n.n(a),l=n(4),c=n.n(l),u=n(5),p=n.n(u),f=n(6),d=n.n(f),h=n(7),b=n.n(h),g=n(8),m=n.n(g),v=n(121),y=n.n(v),_=n(2),w=(n.n(_),n(0)),x=(n.n(w),n(55)),k=(n.n(x),n(1)),E=(n.n(k),n(286)),O=n(40),C=n(276),S=n(179),j=n(462),T=n(68),A=n(109),P=n(674),R=n(46),N=[{value:"attachment",label:Object(w.__)("Attachment Page")},{value:"media",label:Object(w.__)("Media File")},{value:"none",label:Object(w.__)("None")}],L=function(e){function t(){p()(this,t);var e=b()(this,(t.__proto__||c()(t)).apply(this,arguments));return e.onSelectImage=e.onSelectImage.bind(e),e.onSelectImages=e.onSelectImages.bind(e),e.setLinkTo=e.setLinkTo.bind(e),e.setColumnsNumber=e.setColumnsNumber.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.toggleImageCrop=e.toggleImageCrop.bind(e),e.uploadFromFiles=e.uploadFromFiles.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.setImageAttributes=e.setImageAttributes.bind(e),e.dropFiles=e.dropFiles.bind(e),e.state={selectedImage:null},e}return m()(t,e),d()(t,[{key:"onSelectImage",value:function(e){var t=this;return function(){t.setState(function(t){return{selectedImage:e===t.selectedImage?null:e}})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=y()(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.props.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e})}},{key:"setLinkTo",value:function(e){this.props.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.props.setAttributes({columns:e})}},{key:"updateAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"toggleImageCrop",value:function(){this.props.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"uploadFromFiles",value:function(e){Object(x.mediaUpload)(e.target.files,this.props.setAttributes,!0)}},{key:"setImageAttributes",value:function(e,t){var n=this.props,r=n.attributes.images;(0,n.setAttributes)({images:[].concat(s()(r.slice(0,e)),[i()({},r[e],t)],s()(r.slice(e+1)))})}},{key:"dropFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.setAttributes;Object(x.mediaUpload)(e,function(e){var r=e.images;n({images:t.concat(r)})},!0)}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.focus,i=t.className,a=n.images,s=n.columns,l=void 0===s?r(n):s,c=n.align,u=n.imageCrop,p=n.linkTo,f=wp.element.createElement(R.a,null,wp.element.createElement("p",null,Object(w.__)("Image galleries are a great way to share groups of pictures on your site."))),d=o&&wp.element.createElement(O.a,{key:"inspector"},f),h=wp.element.createElement(k.DropZone,{onFilesDrop:this.dropFiles}),b=o&&wp.element.createElement(T.a,{key:"controls"},wp.element.createElement(A.a,{value:c,onChange:this.updateAlignment}),!!a.length&&wp.element.createElement(k.Toolbar,null,wp.element.createElement(E.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(w.__)("Edit Gallery")},onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0,value:a.map(function(e){return e.id})},wp.element.createElement(k.Dashicon,{icon:"edit"}))));if(0===a.length){var g={isLarge:!0};return[b,d,wp.element.createElement(k.Placeholder,{key:"placeholder",instructions:Object(w.__)("Drag images here or insert from media library"),icon:"format-gallery",label:Object(w.__)("Gallery"),className:i},h,wp.element.createElement(k.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:this.uploadFromFiles,accept:"image/*",multiple:"true"},Object(w.__)("Upload")),wp.element.createElement(E.a,{buttonProps:g,onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0},Object(w.__)("Insert from Media Library")))]}return[b,o&&wp.element.createElement(O.a,{key:"inspector"},f,wp.element.createElement("h3",null,Object(w.__)("Gallery Settings")),a.length>1&&wp.element.createElement(C.a,{label:Object(w.__)("Columns"),value:l,onChange:this.setColumnsNumber,min:1,max:Math.min(8,a.length)}),wp.element.createElement(S.a,{label:Object(w.__)("Crop Images"),checked:!!u,onChange:this.toggleImageCrop}),wp.element.createElement(j.a,{label:Object(w.__)("Link to"),value:p,onChange:this.setLinkTo,options:N})),wp.element.createElement("div",{key:"gallery",className:i+" align"+c+" columns-"+l+" "+(u?"is-cropped":"")},h,a.map(function(t,n){return wp.element.createElement(P.a,{key:t.id||t.url,url:t.url,alt:t.alt,id:t.id,isSelected:e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onClick:e.onSelectImage(n),setAttributes:function(t){return e.setImageAttributes(n,t)}})}))]}}]),t}(_.Component);t.a=L},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(17),h=n.n(d),b=n(2),g=(n.n(b),n(1)),m=(n.n(g),n(0)),v=(n.n(m),function(e){function t(){return a()(this,t),u()(this,(t.__proto__||o()(t)).apply(this,arguments))}return f()(t,e),l()(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.image;t&&t.data&&!this.props.url&&this.props.setAttributes({url:t.data.source_url,alt:t.data.alt_text})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.alt,r=e.id,o=e.linkTo,i=e.link,a=e.isSelected,s=e.onClick,l=e.onRemove,c=void 0;switch(o){case"media":c=t;break;case"attachment":c=i}var u=t?wp.element.createElement("img",{src:t,alt:n,"data-id":r}):wp.element.createElement(g.Spinner,null),p=h()("blocks-gallery-image",{"is-selected":a});return wp.element.createElement("figure",{className:p,onClick:s},a&&wp.element.createElement("div",{className:"blocks-gallery-image__inline-menu"},wp.element.createElement(g.IconButton,{icon:"no-alt",onClick:l,className:"blocks-gallery-image__remove",label:Object(m.__)("Remove Image")})),c?wp.element.createElement("a",{href:c},u):u)}}]),t}(b.Component));t.a=Object(g.withAPIData)(function(e){var t=e.id;return{image:t?"/wp/v2/media/"+t:{}}})(v)},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),n(1)),a=(n.n(i),n(676)),s=(n.n(a),n(28)),l=n(86),c=n(68),u=n(40),p=n(437),f=n(46);Object(s.p)("core/heading",{title:Object(r.__)("Heading"),icon:"heading",category:"common",keywords:[Object(r.__)("title"),Object(r.__)("subtitle")],supports:{className:!1,anchor:!0},attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"},align:{type:"string"},placeholder:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.a)("core/heading",{content:t})}},{type:"raw",isMatch:function(e){return/H\d/.test(e.nodeName)}},{type:"pattern",regExp:/^(#{2,6})\s/,transform:function(e){var t=e.content,n=e.match,r=n[1].length;return Object(s.a)("core/heading",{nodeName:"H"+r,content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.a)("core/paragraph",{content:t})}}]},merge:function(e,t){return{content:Object(o.concatChildren)(e.content,t.content)}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,a=e.setFocus,d=e.mergeBlocks,h=e.insertBlocksAfter,b=t.align,g=t.content,m=t.nodeName,v=t.placeholder;return[o&&wp.element.createElement(c.a,{key:"controls",controls:"234".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===m,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),o&&wp.element.createElement(u.a,{key:"inspector"},wp.element.createElement(f.a,null,wp.element.createElement("p",null,Object(r.__)("Search engines use the headings to index the structure and content of your web pages."))),wp.element.createElement("h3",null,Object(r.__)("Heading Settings")),wp.element.createElement("p",null,Object(r.__)("Size")),wp.element.createElement(i.Toolbar,{controls:"123456".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===m,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),wp.element.createElement("p",null,Object(r.__)("Text Alignment")),wp.element.createElement(p.a,{value:b,onChange:function(e){n({align:e})}})),wp.element.createElement(l.a,{key:"editable",tagName:m.toLowerCase(),value:g,focus:o,onFocus:a,onChange:function(e){return n({content:e})},onMerge:d,onSplit:h?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),h([].concat(o,[Object(s.a)("core/paragraph",{content:t})]))}:void 0,style:{textAlign:b},placeholder:v||Object(r.__)("Write heading…")})]},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content,i=r.toLowerCase();return wp.element.createElement(i,{style:{textAlign:n}},o)}})},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(36),a=n.n(i),s=n(54),l=n.n(s),c=n(92),u=n.n(c),p=n(17),f=n.n(p),d=n(0),h=(n.n(d),n(1)),b=(n.n(h),n(678)),g=(n.n(b),n(679)),m=(n.n(g),n(28)),v=n(437),y=n(68),_=n(86),w=n(40),x=n(46),k=function(e){return e.map(function(e){return e.children})},E=function(e){return e.map(function(e){return{children:e}})},O={value:{type:"array",source:"query",selector:"blockquote > p",query:{children:{source:"node"}},default:[]},citation:{type:"array",source:"children",selector:"cite"},align:{type:"string"},style:{type:"number",default:1}};Object(m.p)("core/quote",{title:Object(d.__)("Quote"),icon:"format-quote",category:"common",attributes:O,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"pattern",regExp:/^>\s/,transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"raw",isMatch:function(e){return"BLOCKQUOTE"===e.nodeName}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map(function(e){return Object(m.a)("core/paragraph",{content:[l()(e,"children.props.children","")]})}).concat(n?Object(m.a)("core/paragraph",{content:n}):[]):Object(m.a)("core/paragraph")}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=a()(e,["value","citation"]),i=t[0];if(!i)return Object(m.a)("core/heading",{content:n});var s=u()(i.children)?i.children:i.children.props.children;if(Array.isArray(t)||n){return[Object(m.a)("core/heading",{content:s}),Object(m.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):[]}))]}return Object(m.a)("core/heading",{content:s})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.mergeBlocks,s=e.className,l=t.align,c=t.value,u=t.citation,p=t.style,b=r?r.editable||"value":null,g=f()(s,2===p?"is-large":"");return[r&&wp.element.createElement(y.a,{key:"controls"},wp.element.createElement(h.Toolbar,{controls:[1,2].map(function(e){return{icon:1===e?"format-quote":"testimonial",title:Object(d.sprintf)(Object(d.__)("Quote style %d"),e),isActive:Number(p)===e,onClick:function(){n({style:e})}}})}),wp.element.createElement(v.a,{value:l,onChange:function(e){n({align:e})}})),r&&wp.element.createElement(w.a,{key:"inspector"},wp.element.createElement(x.a,null,wp.element.createElement("p",null,Object(d.__)("Quote. In quoting others, we cite ourselves. (Julio Cortázar)")))),wp.element.createElement("blockquote",{key:"quote",className:g},wp.element.createElement(_.a,{multiline:"p",value:k(c),onChange:function(e){return n({value:E(e)})},focus:"value"===b?r:null,onFocus:function(e){return i(o()({},e,{editable:"value"}))},onMerge:a,style:{textAlign:l},placeholder:Object(d.__)("Write quote…")}),(u&&u.length>0||!!r)&&wp.element.createElement(_.a,{tagName:"footer",value:u,placeholder:Object(d.__)("Write citation…"),onChange:function(e){return n({citation:e})},focus:"citation"===b?r:null,onFocus:function(e){return i(o()({},e,{editable:"citation"}))}}))]},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,i=t.style;return wp.element.createElement("blockquote",{className:2===i?"is-large":"",style:{textAlign:n||null}},r.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),o&&o.length>0&&wp.element.createElement("cite",null,o))},deprecated:[{attributes:o()({},O,{citation:{type:"array",source:"children",selector:"footer"}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,i=t.style;return wp.element.createElement("blockquote",{className:"blocks-quote-style-"+i,style:{textAlign:n||null}},r.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),o&&o.length>0&&wp.element.createElement("footer",null,o))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.title,n=e.icon,r=e.category,o=void 0===r?"embed":r,a=e.transforms,l=e.keywords;return{title:t,icon:n,category:o,keywords:void 0===l?[]:l,attributes:{url:{type:"string"},caption:{type:"array",source:"children",selector:"figcaption",default:[]},align:{type:"string"}},transforms:a,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function r(){s()(this,r);var e=p()(this,(r.__proto__||i()(r)).apply(this,arguments));return e.doServerSideRender=e.doServerSideRender.bind(e),e.state={html:"",type:"",error:!1,fetching:!1},e}return d()(r,e),c()(r,[{key:"componentWillMount",value:function(){this.props.attributes.url&&(this.setState({fetching:!0}),this.doServerSideRender())}},{key:"componentWillUnmount",value:function(){this.unmounting=!0}},{key:"getPhotoHtml",value:function(e){var t=wp.element.createElement("p",null,wp.element.createElement("img",{src:e.thumbnail_url,alt:e.title,width:"100%"}));return Object(v.renderToString)(t)}},{key:"doServerSideRender",value:function(e){var t=this;e&&e.preventDefault();var n=this.props.attributes.url,r=Object(_.a)(wpApiSettings.root+"oembed/1.0/proxy",{url:n,_wpnonce:wpApiSettings.nonce});this.setState({error:!1,fetching:!0}),window.fetch(r,{credentials:"include"}).then(function(e){t.unmounting||e.json().then(function(e){var n=e.html,r=e.type;n?t.setState({html:n,type:r}):"photo"===r?t.setState({html:t.getPhotoHtml(e),type:r}):t.setState({error:!0}),t.setState({fetching:!1})})})}},{key:"render",value:function(){var e=this.state,r=e.html,o=e.type,i=e.error,a=e.fetching,s=this.props.attributes,l=s.align,c=s.url,u=s.caption,p=this.props,f=p.setAttributes,d=p.focus,h=p.setFocus,v=function(e){return f({align:e})},_=[d&&wp.element.createElement(O.a,{key:"controls"},wp.element.createElement(C.a,{value:l,onChange:v})),d&&wp.element.createElement(S.a,{key:"inspector"},wp.element.createElement(j.a,null,wp.element.createElement("p",null,Object(m.__)("The Embed block allows you to easily add videos, images, tweets, audio, and other content to your post or page."))))];if(a)return[_,wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(y.Spinner,null),wp.element.createElement("p",null,Object(m.__)("Embedding…")))];if(!r){var w=Object(m.sprintf)(Object(m.__)("%s URL"),t);return[_,wp.element.createElement(y.Placeholder,{key:"placeholder",icon:n,label:w,className:"wp-block-embed"},wp.element.createElement("form",{onSubmit:this.doServerSideRender},wp.element.createElement("input",{type:"url",value:c||"",className:"components-placeholder__input","aria-label":w,placeholder:Object(m.__)("Enter URL to embed here…"),onChange:function(e){return f({url:e.target.value})}}),wp.element.createElement(y.Button,{isLarge:!0,type:"submit"},Object(m.__)("Embed")),i&&wp.element.createElement("p",{className:"components-placeholder__error"},Object(m.__)("Sorry, we could not embed that content."))))]}var x=Object(g.parse)(c),k=b()(T,x.host.replace(/^www\./,"")),A=Object(m.sprintf)(Object(m.__)("Embedded content from %s"),x.host),P="wp-block-embed";return"video"===o&&(P+=" is-video"),[_,wp.element.createElement("figure",{key:"embed",className:P},k?wp.element.createElement(y.Placeholder,{icon:n,label:Object(m.__)("Embed URL")},wp.element.createElement("p",{className:"components-placeholder__error"},wp.element.createElement("a",{href:c},c)),wp.element.createElement("p",{className:"components-placeholder__error"},Object(m.__)("Previews for this are unavailable in the editor, sorry!"))):wp.element.createElement("div",{className:"wp-block-embed__wrapper"},wp.element.createElement(y.SandBox,{html:r,title:A,type:o})),u&&u.length>0||d?wp.element.createElement(E.a,{tagName:"figcaption",placeholder:Object(m.__)("Write caption…"),value:u,focus:d,onFocus:h,onChange:function(e){return f({caption:e})},inlineToolbar:!0}):null)]}}]),r}(v.Component),save:function(e){var t=e.attributes,n=t.url,r=t.caption,o=t.align;if(n)return wp.element.createElement("figure",{className:o?"align"+o:null},"\n"+n+"\n",r&&r.length>0&&wp.element.createElement("figcaption",null,r))}}}var o=n(4),i=n.n(o),a=n(5),s=n.n(a),l=n(6),c=n.n(l),u=n(7),p=n.n(u),f=n(8),d=n.n(f),h=n(149),b=n.n(h),g=n(434),m=(n.n(g),n(0)),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(285)),w=n(681),x=(n.n(w),n(682)),k=(n.n(x),n(28)),E=n(86),O=n(68),C=n(109),S=n(40),j=n(46),T=["facebook.com"];Object(k.p)("core/embed",r({title:Object(m.__)("Embed"),icon:"embed-generic",transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*/i.test(e.textContent)},transform:function(e){return Object(k.a)("core/embed",{url:e.textContent.trim()})}}]}})),Object(k.p)("core-embed/twitter",r({title:"Twitter",icon:"embed-post",keywords:[Object(m.__)("tweet")]})),Object(k.p)("core-embed/youtube",r({title:"YouTube",icon:"embed-video",keywords:[Object(m.__)("music"),Object(m.__)("video")]})),Object(k.p)("core-embed/facebook",r({title:"Facebook",icon:"embed-post"})),Object(k.p)("core-embed/instagram",r({title:"Instagram",icon:"embed-photo",keywords:[Object(m.__)("image")]})),Object(k.p)("core-embed/wordpress",r({title:"WordPress",icon:"embed-post",keywords:[Object(m.__)("post"),Object(m.__)("blog")]})),Object(k.p)("core-embed/soundcloud",r({title:"SoundCloud",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.p)("core-embed/spotify",r({title:"Spotify",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.p)("core-embed/flickr",r({title:"Flickr",icon:"embed-photo",keywords:[Object(m.__)("image")]})),Object(k.p)("core-embed/vimeo",r({title:"Vimeo",icon:"embed-video",keywords:[Object(m.__)("video")]})),Object(k.p)("core-embed/animoto",r({title:"Animoto",icon:"embed-video"})),Object(k.p)("core-embed/cloudup",r({title:"Cloudup",icon:"embed-post"})),Object(k.p)("core-embed/collegehumor",r({title:"CollegeHumor",icon:"embed-video"})),Object(k.p)("core-embed/dailymotion",r({title:"Dailymotion",icon:"embed-video"})),Object(k.p)("core-embed/funnyordie",r({title:"Funny or Die",icon:"embed-video"})),Object(k.p)("core-embed/hulu",r({title:"Hulu",icon:"embed-video"})),Object(k.p)("core-embed/imgur",r({title:"Imgur",icon:"embed-photo"})),Object(k.p)("core-embed/issuu",r({title:"Issuu",icon:"embed-post"})),Object(k.p)("core-embed/kickstarter",r({title:"Kickstarter",icon:"embed-post"})),Object(k.p)("core-embed/meetup-com",r({title:"Meetup.com",icon:"embed-post"})),Object(k.p)("core-embed/mixcloud",r({title:"Mixcloud",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.p)("core-embed/photobucket",r({title:"Photobucket",icon:"embed-photo"})),Object(k.p)("core-embed/polldaddy",r({title:"Polldaddy",icon:"embed-post"})),Object(k.p)("core-embed/reddit",r({title:"Reddit",icon:"embed-post"})),Object(k.p)("core-embed/reverbnation",r({title:"ReverbNation",icon:"embed-audio"})),Object(k.p)("core-embed/screencast",r({title:"Screencast",icon:"embed-video"})),Object(k.p)("core-embed/scribd",r({title:"Scribd",icon:"embed-post"})),Object(k.p)("core-embed/slideshare",r({title:"Slideshare",icon:"embed-post"})),Object(k.p)("core-embed/smugmug",r({title:"SmugMug",icon:"embed-photo"})),Object(k.p)("core-embed/speaker",r({title:"Speaker",icon:"embed-audio"})),Object(k.p)("core-embed/ted",r({title:"TED",icon:"embed-video"})),Object(k.p)("core-embed/tumblr",r({title:"Tumblr",icon:"embed-post"})),Object(k.p)("core-embed/videopress",r({title:"VideoPress",icon:"embed-video",keywords:[Object(m.__)("video")]})),Object(k.p)("core-embed/vine",r({title:"Vine",icon:"embed-video"})),Object(k.p)("core-embed/wordpress-tv",r({title:"WordPress.tv",icon:"embed-video"}))},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(37),h=n.n(d),b=n(12),g=n.n(b),m=n(117),v=n.n(m),y=n(684),_=n.n(y),w=n(54),x=n.n(w),k=n(280),E=n.n(k),O=n(58),C=n.n(O),S=n(2),j=(n.n(S),n(0)),T=(n.n(j),n(685)),A=(n.n(T),n(28)),P=n(86),R=n(68),N=n(40),L=n(46),M=function(e){if(void 0===e)return e;var t=[];return t.push(Object(S.createElement)("li",[],[])),e.forEach(function(e,n,r){"br"===e.type&&n<r.length-1?t.push(Object(S.createElement)("li",[],[])):t[t.length-1].props.children.push(e)}),t};Object(A.p)("core/list",{title:Object(j.__)("List"),icon:"editor-ul",category:"common",keywords:[Object(j.__)("bullet list"),Object(j.__)("ordered list"),Object(j.__)("numbered list")],attributes:{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"},values:{type:"array",source:"children",selector:"ol,ul",default:[]}},supports:{className:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(A.a)("core/list",{nodeName:"UL",values:e.map(function(e,t){var n=e.content;return wp.element.createElement("li",{key:t},n)})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation;return Object(A.a)("core/list",{nodeName:"UL",values:t.map(function(e,t){return wp.element.createElement("li",{key:t},x()(e,"children.props.children","")," ")}).concat(n?wp.element.createElement("li",{key:"citation"},n):[])})}},{type:"raw",isMatch:function(e){return"OL"===e.nodeName||"UL"===e.nodeName}},{type:"pattern",regExp:/^[*-]\s/,transform:function(e){var t=e.content;return Object(A.a)("core/list",{nodeName:"UL",values:M(t)})}},{type:"pattern",regExp:/^1[.)]\s/,transform:function(e){var t=e.content;return Object(A.a)("core/list",{nodeName:"OL",values:M(t)})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return E()(t.map(function(e){return x()(e,"props.children",null)})).map(function(e){return Object(A.a)("core/paragraph",{content:e})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(A.a)("core/quote",{value:(1===t.length?t:_()(t)).map(function(e){return{children:wp.element.createElement("p",null," ",x()(e,"props.children")," ")}}),citation:1===t.length?void 0:x()(v()(t),"props.children")})}}]},merge:function(e,t){var n=t.values||[];return t.content&&n.push(t.content),g()({},e,{values:[].concat(h()(e.values),h()(n))})},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.setupEditor=e.setupEditor.bind(e),e.getEditorSettings=e.getEditorSettings.bind(e),e.setNextValues=e.setNextValues.bind(e),e.state={internalListType:null},e}return f()(t,e),l()(t,[{key:"isListActive",value:function(e){var t=this.state.internalListType,n=this.props.attributes.nodeName;return e===(t||n)}},{key:"findInternalListType",value:function(e){var t=e.parents,n=C()(t,function(e){return"UL"===e.nodeName||"OL"===e.nodeName});return n?n.nodeName:null}},{key:"setupEditor",value:function(e){var t=this;e.on("nodeChange",function(e){t.setState({internalListType:t.findInternalListType(e)})}),/^(?:fr|nl|sv|ru|de|es|it)/.test(window.navigator.browserLanguage||window.navigator.language)?(e.shortcuts.add("meta+shift+m","Decrease indent","Outdent"),e.shortcuts.add("meta+m","Increase indent","Indent")):(e.shortcuts.add("meta+219","Decrease indent","Outdent"),e.shortcuts.add("meta+221","Increase indent","Indent")),this.editor=e}},{key:"createSetListType",value:function(e,t){var n=this;return function(){var r=n.props.setAttributes,o=n.state.internalListType;o?o!==e&&n.editor&&n.editor.execCommand(t):r({nodeName:e})}}},{key:"createExecCommand",value:function(e){var t=this;return function(){t.editor&&t.editor.execCommand(e)}}},{key:"getEditorSettings",value:function(e){return g()({},e,{plugins:(e.plugins||[]).concat("lists"),lists_indent_on_tab:!1})}},{key:"setNextValues",value:function(e){this.props.setAttributes({values:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.focus,r=e.setFocus,o=e.insertBlocksAfter,i=e.setAttributes,a=e.mergeBlocks,s=t.nodeName,l=t.values;return[n&&wp.element.createElement(R.a,{key:"controls",controls:[{icon:"editor-ul",title:Object(j.__)("Convert to unordered list"),isActive:this.isListActive("UL"),onClick:this.createSetListType("UL","InsertUnorderedList")},{icon:"editor-ol",title:Object(j.__)("Convert to ordered list"),isActive:this.isListActive("OL"),onClick:this.createSetListType("OL","InsertOrderedList")},{icon:"editor-outdent",title:Object(j.__)("Outdent list item"),onClick:this.createExecCommand("Outdent")},{icon:"editor-indent",title:Object(j.__)("Indent list item"),onClick:this.createExecCommand("Indent")}]}),n&&wp.element.createElement(N.a,{key:"inspector"},wp.element.createElement(L.a,null,wp.element.createElement("p",null,Object(j.__)("List. Numbered or bulleted."))),wp.element.createElement("p",null,Object(j.__)("No advanced options."))),wp.element.createElement(P.a,{multiline:"li",key:"editable",tagName:s.toLowerCase(),getSettings:this.getEditorSettings,onSetup:this.setupEditor,onChange:this.setNextValues,value:l,focus:n,onFocus:r,wrapperClassName:"blocks-list",placeholder:Object(j.__)("Write list…"),onMerge:a,onSplit:o?function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];r.length||r.push(Object(A.a)("core/paragraph")),t.length&&r.push(Object(A.a)("core/list",{nodeName:s,values:t})),i({values:e}),o(r)}:void 0})]}}]),t}(S.Component),save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(S.createElement)(n.toLowerCase(),null,r)}})},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,0,-1):[]}var o=n(127);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(687)),i=(n.n(o),n(28)),a=n(40),s=n(46);Object(i.p)("core/separator",{title:Object(r.__)("Separator"),icon:"minus",category:"layout",keywords:[Object(r.__)("horizontal-line"),"hr",Object(r.__)("divider")],transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^-{3,}$/,transform:function(){return Object(i.a)("core/separator")}},{type:"raw",isMatch:function(e){return"HR"===e.nodeName}}]},edit:function(e){var t=e.focus,n=e.className;return[t&&wp.element.createElement(a.a,{key:"inspector"},wp.element.createElement(s.a,null,wp.element.createElement("p",null,Object(r.__)("Use the separator to indicate a thematic change in the content.")))),wp.element.createElement("hr",{key:"hr",className:n})]},save:function(){return wp.element.createElement("hr",null)}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(689)),i=(n.n(o),n(28)),a=n(40),s=n(46),l=n(179);Object(i.p)("core/more",{title:Object(r.__)("More"),icon:"editor-insertmore",category:"layout",useOnce:!0,supportHTML:!1,supports:{customClassName:!1,className:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,c=t.customText,u=t.noTeaser,p=function(){return n({noTeaser:!u})},f=Object(r.__)("Read more"),d=void 0!==c?c:f,h=d.length?d.length+1:1;return[o&&wp.element.createElement(a.a,{key:"inspector"},wp.element.createElement(s.a,null,wp.element.createElement("p",null,Object(r.__)('"More" allows you to break your post into a part shown on index pages, and the subsequent after clicking a "Read More" link.'))),wp.element.createElement(l.a,{label:Object(r.__)('Hide the teaser before the "More" tag'),checked:!!u,onChange:p})),wp.element.createElement("div",{key:"more-tag",className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:d,size:h,onChange:function(e){return n({customText:e.target.value})},onFocus:i}))]},save:function(){return null}})},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(0),h=(n.n(d),n(2)),b=(n.n(h),n(1)),g=(n.n(b),n(691)),m=(n.n(g),n(692)),v=(n.n(m),n(28)),y=n(86),_=n(432),w=n(68),x=n(179),k=n(109),E=n(495),O=n(558),C=n(40),S=n(46),j=window,T=j.getComputedStyle,A=Object(b.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=!n&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:r||!e?void 0:T(e).backgroundColor,fallbackTextColor:n||!o?void 0:T(o).color}})(O.a),P=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.nodeRef=null,e.bindRef=e.bindRef.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.toggleClear=e.toggleClear.bind(e),e}return f()(t,e),l()(t,[{key:"updateAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"toggleClear",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({clear:!t.clear})}},{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.focus,o=e.setFocus,i=e.className,a=t.text,s=t.url,l=t.title,c=t.align,u=t.color,p=t.textColor,f=t.clear;return[r&&wp.element.createElement(w.a,{key:"controls"},wp.element.createElement(k.a,{value:c,onChange:this.updateAlignment})),wp.element.createElement("span",{key:"button",className:i,title:l,style:{backgroundColor:u},ref:this.bindRef},wp.element.createElement(y.a,{tagName:"span",placeholder:Object(d.__)("Add text…"),value:a,focus:r,onFocus:o,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],style:{color:p},keepPlaceholderOnFocus:!0}),r&&wp.element.createElement(C.a,{key:"inspector"},wp.element.createElement(S.a,null,wp.element.createElement("p",null,Object(d.__)("A nice little button. Call something out with it."))),wp.element.createElement(x.a,{label:Object(d.__)("Stand on a line"),checked:!!f,onChange:this.toggleClear}),wp.element.createElement(b.PanelColor,{title:Object(d.__)("Background Color"),colorValue:u},wp.element.createElement(E.a,{value:u,onChange:function(e){return n({color:e})}})),wp.element.createElement(b.PanelColor,{title:Object(d.__)("Text Color"),colorValue:p},wp.element.createElement(E.a,{value:p,onChange:function(e){return n({textColor:e})}})),this.nodeRef&&wp.element.createElement(A,{node:this.nodeRef,textColor:p,backgroundColor:u,isLargeText:!0}))),r&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(b.Dashicon,{icon:"admin-links"}),wp.element.createElement(_.a,{value:s,onChange:function(e){return n({url:e})}}),wp.element.createElement(b.IconButton,{icon:"editor-break",label:Object(d.__)("Apply"),type:"submit"}))]}}]),t}(h.Component);Object(v.p)("core/button",{title:Object(d.__)("Button"),icon:"button",category:"layout",attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"none"},color:{type:"string"},textColor:{type:"string"}},getEditWrapperProps:function(e){var t=e.align,n=e.clear,r={};return"left"!==t&&"right"!==t&&"center"!==t||(r["data-align"]=t),n&&(r["data-clear"]="true"),r},edit:P,save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,i=t.align,a=t.color,s=t.textColor;return wp.element.createElement("div",{className:"align"+i,style:{backgroundColor:a}},wp.element.createElement("a",{href:n,title:o,style:{color:s}},r))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var o=n(694);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n(714);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(i).default}});var a=n(716);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(a).default}});var s=n(718);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(s).default}});var l=n(722);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(l).default}});var c=n(730);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(c).default}});var u=n(732);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(u).default}});var p=n(734);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(p).default}});var f=n(735);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(f).default}});var d=n(741);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(d).default}});var h=n(744);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(h).default}});var b=n(748);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(b).default}});var g=n(751);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(g).default}});var m=n(556);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(m).default}});var v=r(s);t.default=v.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(48),u=n(713),p=r(u),f=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,r=e.width,i=e.height,s=e.onChange,u=e.direction,p=e.style,f=e.renderers,d=e.pointer,h=(0,l.default)({default:{picker:{position:"relative",width:r,height:i},alpha:{radius:"2px",style:p}}});return a.default.createElement("div",{style:h.picker,className:"alpha-picker"},a.default.createElement(c.Alpha,o({},h.alpha,{rgb:t,hsl:n,pointer:d,renderers:f,onChange:s,direction:u})))};f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:p.default},t.default=(0,c.ColorWrap)(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var o=n(92),i=r(o),a=n(496),s=r(a),l=n(241),c=r(l),u=n(67),p=r(u),f=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,p.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,c.default)(t)?(0,s.default)(t,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,i.default)(t)&&n.push(t)}),n};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var o=n(496),i=r(o),a=n(697),s=r(a),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,s.default)(e.default)||{};return t.map(function(t){var r=e[t];return r&&(0,i.default)(r,function(e,t){n[t]||(n[t]={}),n[t]=l({},n[t],r[t])}),t}),n};t.default=c},function(e,t,n){function r(e){return o(e,i|a)}var o=n(240),i=1,a=4;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r=n(496),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},s=t.autoprefix=function(e){var t={};return(0,o.default)(e,function(e,n){var r={};(0,o.default)(e,function(e,t){var n=a[t];n?r=i({},r,n(e)):r[t]=e}),t[n]=r}),t};t.default=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return l.default.createElement(t,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)};t.default=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return l.default.createElement(t,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),p=n(20),f=r(p),d=n(703),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d),b=n(555),g=r(b),m=t.Alpha=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.handleChange=function(e,t){var n=h.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,f.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden"},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:s({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return u.default.createElement("div",{style:n.alpha},u.default.createElement("div",{style:n.checkboard},u.default.createElement(g.default,{renderers:this.props.renderers})),u.default.createElement("div",{style:n.gradient}),u.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},u.default.createElement("div",{style:n.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.default.createElement("div",{style:n.slider}))))}}]),t}(c.PureComponent||c.Component);t.default=m},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(u=c<0?0:c>i?1:Math.round(100*c/i)/100,n.hsl.a!==u)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:u,source:"rgb"}}else{var p=void 0;if(p=l<0?0:l>o?1:Math.round(100*l/o)/100,n.a!==p)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:p,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){"use strict";function r(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}function o(e,t,n,o){var a=e+"-"+t+"-"+n+(o?"-server":""),s=r(e,t,n,o);return i[a]?i[a]:(i[a]=s,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.render=r,t.get=o;var i={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),p=n(20),f=r(p),d=t.EditableInput=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,e.target.value),e):n.props.onChange&&n.props.onChange(e.target.value,e),n.setState({value:e.target.value})},n.handleKeyDown=function(e){var t=String(e.target.value),r=t.indexOf("%")>-1,i=Number(t.replace(/%/g,""));if(!isNaN(i)){var a=n.props.arrowOffset||1;38===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,i+a),e):n.props.onChange&&n.props.onChange(i+a,e),r?n.setState({value:i+a+"%"}):n.setState({value:i+a})),40===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,i-a),e):n.props.onChange&&n.props.onChange(i-a,e),r?n.setState({value:i-a+"%"}):n.setState({value:i-a}))}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(o({},n.props.label,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n}return s(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=(0,f.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return u.default.createElement("div",{style:t.wrap},u.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label?u.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(c.PureComponent||c.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),p=r(u),f=n(707),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(f),h=t.Hue=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.handleChange=function(e,t){var n=d.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,p.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%"},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return c.default.createElement("div",{style:r.hue},c.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),c.default.createElement("div",{style:r.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:r.slider}))))}}]),t}(l.PureComponent||l.Component);t.default=h},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(c<0)u=359;else if(c>i)u=0;else{var p=-100*c/i+100;u=360*p/100}if(n.hsl.h!==u)return{h:u,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var f=void 0;if(l<0)f=0;else if(l>o)f=359;else{var d=100*l/o;f=360*d/100}if(n.hsl.h!==f)return{h:f,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),p=r(u),f=n(284),d=r(f),h=n(709),b=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(h),g=t.Saturation=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.props.onChange&&n.throttle(n.props.onChange,b.calculateChange(e,t,n.props,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e,!0),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,d.default)(function(e,t,n){e(t,n)},50),n}return a(t,e),s(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,o=t.black,i=t.pointer,a=t.circle,s=(0,p.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:o,pointer:i,circle:a}},{custom:!!this.props.style});return c.default.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),c.default.createElement("div",{style:s.white,className:"saturation-white"},c.default.createElement("div",{style:s.black,className:"saturation-black"}),c.default.createElement("div",{style:s.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:s.circle}))))}}]),t}(l.PureComponent||l.Component);t.default=g},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o?l=o:c<0?c=0:c>i&&(c=i);var u=100*l/o,p=-100*c/i+100;return{h:n.hsl.h,s:u,v:p,a:n.hsl.a,source:"rgb"}}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){var r;!function(){function o(e,t){if(e=e||"",t=t||{},e instanceof o)return e;if(!(this instanceof o))return new o(e,t);var n=i(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=q(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=q(this._r)),this._g<1&&(this._g=q(this._g)),this._b<1&&(this._b=q(this._b)),this._ok=n.ok,this._tc_id=z++}function i(e){var t={r:0,g:0,b:0},n=1,r=!1,o=!1;if("string"==typeof e&&(e=D(e)),"object"==typeof e){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b"))t=a(e.r,e.g,e.b),r=!0,o="%"===String(e.r).substr(-1)?"prgb":"rgb";else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){var i=N(e.s,1),s=N(e.v,1);t=u(e.h,i,s),r=!0,o="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){var i=N(e.s),c=N(e.l);t=l(e.h,i,c),r=!0,o="hsl"}e.hasOwnProperty("a")&&(n=e.a)}return n=C(n),{ok:r,format:e.format||o,r:U(255,K(t.r,0)),g:U(255,K(t.g,0)),b:U(255,K(t.b,0)),a:n}}function a(e,t,n){return{r:255*S(e,255),g:255*S(t,255),b:255*S(n,255)}}function s(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,o,i=K(e,t,n),a=U(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function l(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=S(e,360),t=S(t,100),n=S(n,100),0===t)o=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),i=r(l,s,e),a=r(l,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function c(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,o,i=K(e,t,n),a=U(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function u(e,t,n){e=6*S(e,360),t=S(t,100),n=S(n,100);var r=H.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6;return{r:255*[n,a,i,i,s,n][l],g:255*[s,n,n,a,i,i][l],b:255*[i,i,s,n,n,a][l]}}function p(e,t,n,r){var o=[R(q(e).toString(16)),R(q(t).toString(16)),R(q(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function f(e,t,n,r){return[R(L(r)),R(q(e).toString(16)),R(q(t).toString(16)),R(q(n).toString(16))].join("")}function d(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s-=t/100,n.s=j(n.s),o(n)}function h(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s+=t/100,n.s=j(n.s),o(n)}function b(e){return o(e).desaturate(100)}function g(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l+=t/100,n.l=j(n.l),o(n)}function m(e,t){t=0===t?0:t||10;var n=o(e).toRgb();return n.r=K(0,U(255,n.r-q(-t/100*255))),n.g=K(0,U(255,n.g-q(-t/100*255))),n.b=K(0,U(255,n.b-q(-t/100*255))),o(n)}function v(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l-=t/100,n.l=j(n.l),o(n)}function y(e,t){var n=o(e).toHsl(),r=(q(n.h)+t)%360;return n.h=r<0?360+r:r,o(n)}function _(e){var t=o(e).toHsl();return t.h=(t.h+180)%360,o(t)}function w(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+120)%360,s:t.s,l:t.l}),o({h:(n+240)%360,s:t.s,l:t.l})]}function x(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+90)%360,s:t.s,l:t.l}),o({h:(n+180)%360,s:t.s,l:t.l}),o({h:(n+270)%360,s:t.s,l:t.l})]}function k(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+72)%360,s:t.s,l:t.l}),o({h:(n+216)%360,s:t.s,l:t.l})]}function E(e,t,n){t=t||6,n=n||30;var r=o(e).toHsl(),i=360/n,a=[o(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(o(r));return a}function O(e,t){t=t||6;for(var n=o(e).toHsv(),r=n.h,i=n.s,a=n.v,s=[],l=1/t;t--;)s.push(o({h:r,s:i,v:a})),a=(a+l)%1;return s}function C(e){var t=parseFloat(e);return(isNaN(t)||t<0||t>1)&&(t=1),t}function S(e,t){A(e)&&(e="100%");var n=P(e);return e=U(t,K(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),H.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function j(e){return U(1,K(0,e))}function T(e){return parseInt(e,16)}function A(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function P(e){return"string"==typeof e&&-1!=e.indexOf("%")}function R(e){return 1==e.length?"0"+e:""+e}function N(e,t){return t=t||100,e<=1&&(e=e*t+"%"),e}function L(e){return Math.round(255*parseFloat(e)).toString(16)}function M(e){return T(e)/255}function D(e){e=e.replace(I,"").replace(F,"").toLowerCase();var t=!1;if(W[e])e=W[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=$.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=$.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=$.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=$.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=$.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=$.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=$.hex8.exec(e))?{a:M(n[1]),r:T(n[2]),g:T(n[3]),b:T(n[4]),format:t?"name":"hex8"}:(n=$.hex6.exec(e))?{r:T(n[1]),g:T(n[2]),b:T(n[3]),format:t?"name":"hex"}:!!(n=$.hex3.exec(e))&&{r:T(n[1]+""+n[1]),g:T(n[2]+""+n[2]),b:T(n[3]+""+n[3]),format:t?"name":"hex"}}function B(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var I=/^[\s,#]+/,F=/\s+$/,z=0,H=Math,q=H.round,U=H.min,K=H.max,V=H.random;o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,i,a=this.toRgb();return e=a.r/255,t=a.g/255,n=a.b/255,r=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),i=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*i},setAlpha:function(e){return this._a=C(e),this._roundA=q(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=q(360*e.h),n=q(100*e.s),r=q(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=s(this._r,this._g,this._b),t=q(360*e.h),n=q(100*e.s),r=q(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return f(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:q(this._r),g:q(this._g),b:q(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+q(this._r)+", "+q(this._g)+", "+q(this._b)+")":"rgba("+q(this._r)+", "+q(this._g)+", "+q(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:q(100*S(this._r,255))+"%",g:q(100*S(this._g,255))+"%",b:q(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+q(100*S(this._r,255))+"%, "+q(100*S(this._g,255))+"%, "+q(100*S(this._b,255))+"%)":"rgba("+q(100*S(this._r,255))+"%, "+q(100*S(this._g,255))+"%, "+q(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(G[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+f(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){n=o(e).toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(E,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},o.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:N(e[r]));e=n}return o(e,t)},o.equals=function(e,t){return!(!e||!t)&&o(e).toRgbString()==o(t).toRgbString()},o.random=function(){return o.fromRatio({r:V(),g:V(),b:V()})},o.mix=function(e,t,n){n=0===n?0:n||50;var r,i=o(e).toRgb(),a=o(t).toRgb(),s=n/100,l=2*s-1,c=a.a-i.a;r=l*c==-1?l:(l+c)/(1+l*c),r=(r+1)/2;var u=1-r;return o({r:a.r*r+i.r*u,g:a.g*r+i.g*u,b:a.b*r+i.b*u,a:a.a*s+i.a*(1-s)})},o.readability=function(e,t){var n=o(e),r=o(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(e,t,n){var r,i,a=o.readability(e,t);switch(i=!1,r=B(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},o.mostReadable=function(e,t,n){var r,i,a,s,l=null,c=0;n=n||{},i=n.includeFallbackColors,a=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=o.readability(e,t[u]))>c&&(c=r,l=o(t[u]));return o.isReadable(e,l,{level:a,size:s})||!i?l:(n.includeFallbackColors=!1,o.mostReadable(e,["#fff","#000"],n))};var W=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},G=o.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(W),$=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=o:void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(712),u=n(48),p=t.Swatch=function(e){var t=e.color,n=e.style,r=e.onClick,i=void 0===r?function(){}:r,s=e.onHover,c=e.title,p=void 0===c?t:c,f=e.children,d=e.focus,h=e.focusStyle,b=void 0===h?{}:h,g="transparent"===t,m=(0,l.default)({default:{swatch:o({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?b:{})}}),v=function(e){return i(t,e)},y=function(e){return 13===e.keyCode&&i(t,e)},_=function(e){return s(t,e)},w={};return s&&(w.onMouseOver=_),a.default.createElement("div",o({style:m.swatch,onClick:v,title:p,tabIndex:0,onKeyDown:y},w),f,g&&a.default.createElement(u.Checkboard,{borderRadius:m.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,c.handleFocus)(p)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s);t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),c.state={focus:!1},c.handleFocus=function(){return c.setState({focus:!0})},c.handleBlur=function(){return c.setState({focus:!1})},c.render=function(){return l.default.createElement(t,{onFocus:c.handleFocus,onBlur:c.handleBlur},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.AlphaPointer=function(e){var t=e.direction,n=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(187),c=r(l),u=n(48),p=n(715),f=r(p),d=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,p="transparent"===r,d=function(e,n){c.default.isValidHex(e)&&t({hex:e,source:"hex"},n)},h=(0,s.default)({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:r,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:p?"rgba(0,0,0,0.4)":"#fff",position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+r+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},{"hide-triangle":"hide"===l});return i.default.createElement("div",{style:h.card,className:"block-picker"},i.default.createElement("div",{style:h.triangle}),i.default.createElement("div",{style:h.head},p&&i.default.createElement(u.Checkboard,{borderRadius:"6px 6px 0 0"}),i.default.createElement("div",{style:h.label},r)),i.default.createElement("div",{style:h.body},i.default.createElement(f.default,{colors:o,onClick:d,onSwatchHover:n}),i.default.createElement(u.EditableInput,{style:{input:h.input},value:r,onChange:d})))};d.defaultProps={width:"170px",colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top"},t.default=(0,u.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(67),c=r(l),u=n(48),p=t.BlockSwatches=function(e){var t=e.colors,n=e.onClick,r=e.onSwatchHover,o=(0,s.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return i.default.createElement("div",{style:o.swatches},(0,c.default)(t,function(e){return i.default.createElement(u.Swatch,{key:e,color:e,style:o.swatch,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})}),i.default.createElement("div",{style:o.clear}))};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(67),c=r(l),u=n(557),p=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(u),f=n(48),d=n(717),h=r(d),b=t.Circle=function(e){var t=e.width,n=e.onChange,r=e.onSwatchHover,o=e.colors,a=e.hex,l=e.circleSize,u=e.circleSpacing,p=(0,s.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}}),f=function(e,t){return n({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:p.card,className:"circle-picker"},(0,c.default)(o,function(e){return i.default.createElement(h.default,{key:e,color:e,onClick:f,onSwatchHover:r,active:a===e.toLowerCase(),circleSize:l,circleSpacing:u})}))};b.defaultProps={width:"252px",circleSize:28,circleSpacing:14,colors:[p.red[500],p.pink[500],p.purple[500],p.deepPurple[500],p.indigo[500],p.blue[500],p.lightBlue[500],p.cyan[500],p.teal[500],p.green[500],p.lightGreen[500],p.lime[500],p.yellow[500],p.amber[500],p.orange[500],p.deepOrange[500],p.brown[500],p.blueGrey[500]]},t.default=(0,f.ColorWrap)(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(48),c=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,o=e.hover,a=e.active,c=e.circleSize,u=e.circleSpacing,p=(0,s.default)({default:{swatch:{width:c,height:c,marginRight:u,marginBottom:u,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+c/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:o,active:a});return i.default.createElement("div",{style:p.swatch},i.default.createElement(l.Swatch,{style:p.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:p.Swatch.boxShadow+", 0 0 5px "+t}}))};c.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,a.handleHover)(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(48),c=n(719),u=r(c),p=n(720),f=r(p),d=n(721),h=r(d),b=t.Chrome=function(e){var t=e.onChange,n=e.disableAlpha,r=e.rgb,o=e.hsl,a=e.hsv,c=e.hex,p=e.renderers,d=(0,s.default)({default:{picker:{background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",width:"225px",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},{disableAlpha:n});return i.default.createElement("div",{style:d.picker,className:"chrome-picker"},i.default.createElement("div",{style:d.saturation},i.default.createElement(l.Saturation,{style:d.Saturation,hsl:o,hsv:a,pointer:h.default,onChange:t})),i.default.createElement("div",{style:d.body},i.default.createElement("div",{style:d.controls,className:"flexbox-fix"},i.default.createElement("div",{style:d.color},i.default.createElement("div",{style:d.swatch},i.default.createElement("div",{style:d.active}),i.default.createElement(l.Checkboard,{renderers:p}))),i.default.createElement("div",{style:d.toggles},i.default.createElement("div",{style:d.hue},i.default.createElement(l.Hue,{style:d.Hue,hsl:o,pointer:f.default,onChange:t})),i.default.createElement("div",{style:d.alpha},i.default.createElement(l.Alpha,{style:d.Alpha,rgb:r,hsl:o,pointer:f.default,renderers:p,onChange:t})))),i.default.createElement(u.default,{rgb:r,hsl:o,hex:c,onChange:t,disableAlpha:n})))};t.default=(0,l.ColorWrap)(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),p=r(u),f=n(187),d=r(f),h=n(48),b=t.ChromeFields=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={view:""},r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?d.default.isValidHex(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&r.props.onChange({h:e.h||r.props.hsl.h,s:e.s&&e.s||r.props.hsl.s,l:e.l&&e.l||r.props.hsl.l,source:"hsl"},t)},r.showHighlight=function(e){e.target.style.background="#eee"},r.hideHighlight=function(e){e.target.style.background="transparent"},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(e){1!==e.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var e=this,t=(0,p.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),c.default.createElement("div",{style:t.alpha},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),c.default.createElement("div",{style:t.alpha},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),c.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,c.default.createElement("div",{style:t.toggle},c.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},c.default.createElement("svg",{style:t.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},c.default.createElement("path",{ref:function(t){return e.iconUp=t},fill:"#333",d:"M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}),c.default.createElement("path",{ref:function(t){return e.iconDown=t},fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"})))))}}]),t}(c.default.Component);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.ChromePointer=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.ChromePointerCircle=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(67),c=r(l),u=n(187),p=r(u),f=n(498),d=n(48),h=n(728),b=r(h),g=n(729),m=r(g),v=t.Compact=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.colors,o=e.hex,a=e.rgb,l=(0,s.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}}),u=function(e,n){e.hex?p.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return i.default.createElement(f.Raised,{style:l.Compact},i.default.createElement("div",{style:l.compact,className:"compact-picker"},i.default.createElement("div",null,(0,c.default)(r,function(e){return i.default.createElement(b.default,{key:e,color:e,active:e.toLowerCase()===o,onClick:u,onSwatchHover:n})}),i.default.createElement("div",{style:l.clear})),i.default.createElement(m.default,{hex:o,rgb:a,onChange:u})))};v.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"]},t.default=(0,d.ColorWrap)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(158),p=r(u),f=n(20),d=r(f),h=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),s(t,[{key:"render",value:function(){var e=(0,d.default)({default:{wrap:{position:"relative"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 ${ this.props.zDepth }px ${ this.props.zDepth * 4 }px rgba(0,0,0,.24)",borderRadius:this.props.radius,background:this.props.background}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},this.props);return c.default.createElement("div",{style:e.wrap},c.default.createElement("div",{style:e.bg}),c.default.createElement("div",{style:e.content},this.props.children))}}]),t}(c.default.Component);h.propTypes={background:p.default.string,zDepth:p.default.oneOf(["0","1","2","3","4","5",0,1,2,3,4,5]),radius:p.default.oneOfType([p.default.string,p.default.number])},h.defaultProps={background:"#fff",zDepth:"1",radius:"2px"},t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),p=n(20),f=r(p),d=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"render",value:function(){var e=(0,f.default)({default:{tile:{fontSize:"16px",padding:"16px",display:"flex",justifyContent:"space-between",color:this.props.color},primary:{display:"flex",width:"100%"},sidebar:{minWidth:"56px",maxWidth:"56px",flexBasis:"56px"},content:{background:"none",flex:"1",overflow:"auto"},secondary:{flexBasis:"42",textAlign:"center"},sidebarIcon:{marginTop:"-12px",marginLeft:"-12px",marginBottom:"-12px"}},divider:{tile:{boxShadow:"inset 0 -1px 0 rgba(0,0,0,.12)"}},condensed:{tile:{paddingBottom:"0px",paddingTop:"0px",paddingRight:"0px"},sidebar:{minWidth:"28px",maxWidth:"28px",flexBasis:"28px"}}},{clickable:this.props.onClick},this.props),t=s(this.props.children,2),n=t[0],r=t[1];return u.default.createElement("div",{style:e.tile,className:"flexbox-fix"},u.default.createElement("div",{style:e.primary,className:"flexbox-fix"},u.default.createElement("div",{style:e.sidebar,key:"sidebar-#{ sidebar }"},n),u.default.createElement("div",{style:e.content,key:"content-#{ content }"},r)))}}]),t}(u.default.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),p=r(u),f=n(92),d=r(f),h=n(726),b=r(h),g=n(727),m=r(g),v=function(e){function t(e){o(this,t);var n,r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n=e.selectedTab<(e.tabs&&e.tabs.length)?e.selectedTab:0,r.state={selectedTab:n},r.handleClick=r.handleClick.bind(r),r.slide=r.slide.bind(r),r}return a(t,e),s(t,[{key:"handleClick",value:function(e){this.props.onChange&&this.props.onChange(e),this.setState({selectedTab:e})}},{key:"slide",value:function(){if(this.props.tabs.length){var e=this.refs.tabs.getDOMNode(),t=e.scrollLeft,n=e.offsetWidth+e.scrollLeft,r=this.refs["tab-"+this.state.selectedTab]&&this.refs["tab-"+this.state.selectedTab].getDOMNode(),o=r&&r.getBoundingClientRect().left-e.getBoundingClientRect().left+e.scrollLeft,i=r&&o+r.offsetWidth;i>n&&(e.scrollLeft+=i-n),o<t&&(e.scrollLeft-=t-o);var a=this.refs.indicator;a.style.left=o+"px",a.style.width=r.offsetWidth+"px",a.style.height="2px"}}},{key:"componentDidMount",value:function(){this.slide()}},{key:"componentWillReceiveProps",value:function(e){e.selectedTab!==this.state.selectedTab&&this.setState({selectedTab:e.selectedTab})}},{key:"componentWillUpdate",value:function(e,t){t.selectedTab>=(e.tabs&&e.tabs.length)&&(t.selectedTab=e.tabs.length-1)}},{key:"componentDidUpdate",value:function(){this.slide()}},{key:"render",value:function(){for(var e=(0,p.default)({default:{tabs:{position:"relative",background:this.props.background},tabWrap:{display:"flex"},tab:{justifyContent:"flex-start",minWidth:"68px",maxWidth:"240px"},Tab:{color:this.props.color,inactive:this.props.inactive,capitalize:this.props.capitalize},indicator:{height:"0",position:"absolute",bottom:"0",left:"0",background:this.props.color,transition:"all 200ms linear"}},scrollable:{tabs:{overflowX:"scroll"},tabWrap:{paddingLeft:"60px",justifyContent:"flex-start",width:"400%"},tab:{width:"auto"}},"align-justify":{tabWrap:{justifyContent:"space-between"},tab:{width:100/this.props.tabs.length+"%"}},"align-left":{tabWrap:{paddingLeft:"60px",justifyContent:"flex-start"},tab:{width:"auto"}},"align-center":{tabWrap:{justifyContent:"center"},tab:{width:"auto"}}},{scrollable:this.props.width/this.props.tabs.length<72},this.props,this.state),t=[],n=0;n<this.props.tabs.length;n++){var r,o,i,a,s=this.props.tabs[n];(0,d.default)(s)?(r=s,o=null):(r=s.label,o=s.onClick,i=s.callbackValue,a=s.newTab),t.push(c.default.createElement("div",{style:e.tab,ref:"tab-"+n,key:n},c.default.createElement(m.default,{onClick:o,callbackValue:i,newTab:a},c.default.createElement(b.default,{style:e.Tab,tab:n,selected:this.state.selectedTab===n,selectable:s.selectable,onClick:this.handleClick},r))))}return c.default.createElement("div",{style:e.tabs,ref:"tabs"},c.default.createElement("div",{style:e.tabWrap,className:"flexbox-fix"},t),c.default.createElement("div",{style:e.indicator,ref:"indicator"}))}}]),t}(c.default.Component);v.defaultProps={selectedTab:0,background:"transparent",color:"#fff"},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(158),p=r(u),f=n(20),d=r(f),h=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return a(t,e),s(t,[{key:"handleClick",value:function(){!1!==this.props.selectable&&this.props.onClick(this.props.tab)}},{key:"render",value:function(){var e=(0,d.default)({default:{tab:{color:this.props.inactive||this.props.color,cursor:"pointer",paddingLeft:"12px",paddingRight:"12px",height:"48px",lineHeight:"48px",textAlign:"center",fontSize:"14px",textTransform:!1===this.props.capitalize?"":"uppercase",fontWeight:"500",whiteSpace:"nowrap",opacity:".47",transition:"opacity 100ms linear"}},selected:{tab:{color:this.props.color,opacity:".87"}}},this.props);return c.default.createElement("div",{style:e.tab,onClick:this.handleClick},this.props.children)}}]),t}(c.default.Component);h.propTypes={selected:p.default.bool},h.defaultProps={selected:!1,color:"#fff"},t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(92),p=r(u),f=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return a(t,e),s(t,[{key:"handleClick",value:function(e){this.props.onClick&&this.props.onClick(e,this.props.callbackValue)}},{key:"render",value:function(){return(0,p.default)(this.props.onClick)?c.default.createElement("a",{style:{textDecoration:"none"},href:this.props.onClick,target:this.props.newTab&&"_blank"},this.props.children):c.default.createElement("a",{style:{textDecoration:"none"},onClick:this.handleClick},this.props.children)}}]),t}(c.default.Component);f.defaultProps={newTab:!1},t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(48),c=t.CompactColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.active,c=(0,s.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:"#fff",borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.default.createElement(l.Swatch,{style:c.color,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:c.dot}))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(48),c=t.CompactFields=function(e){var t=e.hex,n=e.rgb,r=e.onChange,o=(0,s.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?r({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):r({hex:e.hex,source:"hex"},t)};return i.default.createElement("div",{style:o.fields,className:"flexbox-fix"},i.default.createElement("div",{style:o.active}),i.default.createElement(l.EditableInput,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:t,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:n.r,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:n.g,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:n.b,onChange:a}))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(67),c=r(l),u=n(48),p=n(731),f=r(p),d=t.Github=function(e){var t=e.width,n=e.colors,r=e.onChange,o=e.onSwatchHover,a=e.triangle,l=(0,s.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-right-triangle":"bottom-right"===a}),u=function(e,t){return r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:l.card,className:"github-picker"},i.default.createElement("div",{style:l.triangleShadow}),i.default.createElement("div",{style:l.triangle}),(0,c.default)(n,function(e){return i.default.createElement(f.default,{color:e,key:e,onClick:u,onSwatchHover:o})}))};d.defaultProps={width:"200px",colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left"},t.default=(0,u.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(48),c=t.GithubSwatch=function(e){var t=e.hover,n=e.color,r=e.onClick,o=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},c=(0,s.default)({default:{swatch:{width:"25px",height:"25px"}},hover:{swatch:a}},{hover:t});return i.default.createElement("div",{style:c.swatch},i.default.createElement(l.Swatch,{color:n,onClick:r,onHover:o,focusStyle:a}))};t.default=(0,a.handleHover)(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(48),u=n(733),p=r(u),f=t.HuePicker=function(e){var t=e.width,n=e.height,r=e.onChange,i=e.hsl,s=e.direction,u=e.pointer,p=(0,l.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}}),f=function(e){return r({a:1,h:e.h,l:.5,s:1})};return a.default.createElement("div",{style:p.picker,className:"hue-picker"},a.default.createElement(c.Hue,o({},p.hue,{hsl:i,pointer:u,onChange:f,direction:s})))};f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:p.default},t.default=(0,c.ColorWrap)(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderPointer=function(e){var t=e.direction,n=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(187),c=r(l),u=n(498),p=n(48),f=t.Material=function(e){var t=e.onChange,n=e.hex,r=e.rgb,o=(0,s.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}}),a=function(e,n){e.hex?c.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n)};return i.default.createElement(u.Raised,null,i.default.createElement("div",{style:o.material,className:"material-picker"},i.default.createElement(p.EditableInput,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:n,onChange:a}),i.default.createElement("div",{style:o.split,className:"flexbox-fix"},i.default.createElement("div",{style:o.third},i.default.createElement(p.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:r.r,onChange:a})),i.default.createElement("div",{style:o.third},i.default.createElement(p.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:r.g,onChange:a})),i.default.createElement("div",{style:o.third},i.default.createElement(p.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:r.b,onChange:a})))))};t.default=(0,p.ColorWrap)(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),p=r(u),f=n(48),d=n(736),h=r(d),b=n(737),g=r(b),m=n(738),v=r(m),y=n(739),_=r(y),w=n(740),x=r(w),k=t.Photoshop=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:e.hex},n}return a(t,e),s(t,[{key:"render",value:function(){var e=(0,p.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}});return c.default.createElement("div",{style:e.picker,className:"photoshop-picker"},c.default.createElement("div",{style:e.head},this.props.header),c.default.createElement("div",{style:e.body,className:"flexbox-fix"},c.default.createElement("div",{style:e.saturation},c.default.createElement(f.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:g.default,onChange:this.props.onChange})),c.default.createElement("div",{style:e.hue},c.default.createElement(f.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:v.default,onChange:this.props.onChange})),c.default.createElement("div",{style:e.controls},c.default.createElement("div",{style:e.top,className:"flexbox-fix"},c.default.createElement("div",{style:e.previews},c.default.createElement(x.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),c.default.createElement("div",{style:e.actions},c.default.createElement(_.default,{label:"OK",onClick:this.props.onAccept,active:!0}),c.default.createElement(_.default,{label:"Cancel",onClick:this.props.onCancel}),c.default.createElement(h.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(c.default.Component);k.defaultProps={header:"Color Picker"},t.default=(0,f.ColorWrap)(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(187),c=r(l),u=n(48),p=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,r=e.hsv,o=e.hex,a=(0,s.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),l=function(e,o){e["#"]?c.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},o):(e.h||e.s||e.v)&&t({h:e.h||r.h,s:e.s||r.s,v:e.v||r.v,source:"hsv"},o)};return i.default.createElement("div",{style:a.fields},i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(r.h),onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*r.s),onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(100*r.v),onChange:l}),i.default.createElement("div",{style:a.divider}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:l}),i.default.createElement("div",{style:a.divider}),i.default.createElement(u.EditableInput,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:o.replace("#",""),onChange:l}),i.default.createElement("div",{style:a.fieldSymbols},i.default.createElement("div",{style:a.symbol},"°"),i.default.createElement("div",{style:a.symbol},"%"),i.default.createElement("div",{style:a.symbol},"%")))};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPointerCircle=function(e){var t=e.hsl,n=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPointerCircle=function(){var e=(0,s.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return i.default.createElement("div",{style:e.pointer},i.default.createElement("div",{style:e.left},i.default.createElement("div",{style:e.leftInside})),i.default.createElement("div",{style:e.right},i.default.createElement("div",{style:e.rightInside})))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopBotton=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopBotton=function(e){var t=e.onClick,n=e.label,r=e.children,o=e.active,a=(0,s.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return i.default.createElement("div",{style:a.button,onClick:t},n||r)};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,r=(0,s.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i.default.createElement("div",null,i.default.createElement("div",{style:r.label},"new"),i.default.createElement("div",{style:r.swatches},i.default.createElement("div",{style:r.new}),i.default.createElement("div",{style:r.current})),i.default.createElement("div",{style:r.label},"current"))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(48),c=n(742),u=r(c),p=n(743),f=r(p),d=t.Sketch=function(e){var t=e.width,n=e.rgb,r=e.hex,o=e.hsv,a=e.hsl,c=e.onChange,p=e.onSwatchHover,d=e.disableAlpha,h=e.presetColors,b=e.renderers,g=(0,s.default)({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{disableAlpha:d});return i.default.createElement("div",{style:g.picker,className:"sketch-picker"},i.default.createElement("div",{style:g.saturation},i.default.createElement(l.Saturation,{style:g.Saturation,hsl:a,hsv:o,onChange:c})),i.default.createElement("div",{style:g.controls,className:"flexbox-fix"},i.default.createElement("div",{style:g.sliders},i.default.createElement("div",{style:g.hue},i.default.createElement(l.Hue,{style:g.Hue,hsl:a,onChange:c})),i.default.createElement("div",{style:g.alpha},i.default.createElement(l.Alpha,{style:g.Alpha,rgb:n,hsl:a,renderers:b,onChange:c}))),i.default.createElement("div",{style:g.color},i.default.createElement(l.Checkboard,null),i.default.createElement("div",{style:g.activeColor}))),i.default.createElement(u.default,{rgb:n,hsl:a,hex:r,onChange:c,disableAlpha:d}),i.default.createElement(f.default,{colors:h,onClick:c,onSwatchHover:p}))};d.defaultProps={presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"],width:200},t.default=(0,l.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShetchFields=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(187),c=r(l),u=n(48),p=t.ShetchFields=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,o=e.hex,a=e.disableAlpha,l=(0,s.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),p=function(e,o){e.hex?c.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},o):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},o))};return i.default.createElement("div",{style:l.fields,className:"flexbox-fix"},i.default.createElement("div",{style:l.double},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"hex",value:o.replace("#",""),onChange:p})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.alpha},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:p,dragLabel:"true",dragMax:"100"})))};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(158),l=r(s),c=n(20),u=r(c),p=n(48),f=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,r=void 0===n?function(){}:n,i=e.onSwatchHover,s=(0,u.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),l=function(e,t){r({hex:e,source:"hex"},t)};return a.default.createElement("div",{style:s.colors,className:"flexbox-fix"},t.map(function(e){var t="string"==typeof e?{color:e}:e;return a.default.createElement("div",{key:t.color,style:s.swatchWrap},a.default.createElement(p.Swatch,o({},t,{style:s.swatch,onClick:l,onHover:i,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))}))};f.propTypes={colors:l.default.arrayOf(l.default.oneOfType([l.default.string,l.default.shape({color:l.default.string,title:l.default.string})]))},t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(48),c=n(745),u=r(c),p=n(747),f=r(p),d=t.Slider=function(e){var t=e.hsl,n=e.onChange,r=e.pointer,o=(0,s.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}});return i.default.createElement("div",{className:"slider-picker"},i.default.createElement("div",{style:o.hue},i.default.createElement(l.Hue,{style:o.Hue,hsl:t,pointer:r,onChange:n})),i.default.createElement("div",{style:o.swatches},i.default.createElement(u.default,{hsl:t,onClick:n})))};d.defaultProps={pointer:f.default},t.default=(0,l.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(746),c=r(l),u=t.SliderSwatches=function(e){var t=e.onClick,n=e.hsl,r=(0,s.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return i.default.createElement("div",{style:r.swatches},i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".80",active:Math.round(100*n.l)/100==.8&&Math.round(100*n.s)/100==.5,onClick:t,first:!0})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".65",active:Math.round(100*n.l)/100==.65&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".50",active:Math.round(100*n.l)/100==.5&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".35",active:Math.round(100*n.l)/100==.35&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".20",active:Math.round(100*n.l)/100==.2&&Math.round(100*n.s)/100==.5,onClick:t,last:!0})),i.default.createElement("div",{style:r.clear}))};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderSwatch=function(e){var t=e.hsl,n=e.offset,r=e.onClick,o=void 0===r?function(){}:r,a=e.active,l=e.first,c=e.last,u=(0,s.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:l,last:c}),p=function(e){return o({h:t.h,s:.5,l:n,source:"hsl"},e)};return i.default.createElement("div",{style:u.swatch,onClick:p})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderPointer=function(){var e=(0,s.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(67),c=r(l),u=n(187),p=r(u),f=n(557),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(f),h=n(48),b=n(498),g=n(749),m=r(g),v=t.Swatches=function(e){var t=e.width,n=e.height,r=e.onChange,o=e.onSwatchHover,a=e.colors,l=e.hex,u=(0,s.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),f=function(e,t){p.default.isValidHex(e)&&r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:u.picker,className:"swatches-picker"},i.default.createElement(b.Raised,null,i.default.createElement("div",{style:u.overflow},i.default.createElement("div",{style:u.body},(0,c.default)(a,function(e){return i.default.createElement(m.default,{key:e.toString(),group:e,active:l,onClick:f,onSwatchHover:o})}),i.default.createElement("div",{style:u.clear})))))};v.defaultProps={width:320,height:240,colors:[[d.red[900],d.red[700],d.red[500],d.red[300],d.red[100]],[d.pink[900],d.pink[700],d.pink[500],d.pink[300],d.pink[100]],[d.purple[900],d.purple[700],d.purple[500],d.purple[300],d.purple[100]],[d.deepPurple[900],d.deepPurple[700],d.deepPurple[500],d.deepPurple[300],d.deepPurple[100]],[d.indigo[900],d.indigo[700],d.indigo[500],d.indigo[300],d.indigo[100]],[d.blue[900],d.blue[700],d.blue[500],d.blue[300],d.blue[100]],[d.lightBlue[900],d.lightBlue[700],d.lightBlue[500],d.lightBlue[300],d.lightBlue[100]],[d.cyan[900],d.cyan[700],d.cyan[500],d.cyan[300],d.cyan[100]],[d.teal[900],d.teal[700],d.teal[500],d.teal[300],d.teal[100]],["#194D33",d.green[700],d.green[500],d.green[300],d.green[100]],[d.lightGreen[900],d.lightGreen[700],d.lightGreen[500],d.lightGreen[300],d.lightGreen[100]],[d.lime[900],d.lime[700],d.lime[500],d.lime[300],d.lime[100]],[d.yellow[900],d.yellow[700],d.yellow[500],d.yellow[300],d.yellow[100]],[d.amber[900],d.amber[700],d.amber[500],d.amber[300],d.amber[100]],[d.orange[900],d.orange[700],d.orange[500],d.orange[300],d.orange[100]],[d.deepOrange[900],d.deepOrange[700],d.deepOrange[500],d.deepOrange[300],d.deepOrange[100]],[d.brown[900],d.brown[700],d.brown[500],d.brown[300],d.brown[100]],[d.blueGrey[900],d.blueGrey[700],d.blueGrey[500],d.blueGrey[300],d.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]]},t.default=(0,h.ColorWrap)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(67),c=r(l),u=n(750),p=r(u),f=t.SwatchesGroup=function(e){var t=e.onClick,n=e.onSwatchHover,r=e.group,o=e.active,a=(0,s.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return i.default.createElement("div",{style:a.group},(0,c.default)(r,function(e,a){return i.default.createElement(p.default,{key:e,color:e,active:e.toLowerCase()===o,first:0===a,last:a===r.length-1,onClick:t,onSwatchHover:n})}))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(48),c=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.first,c=e.last,u=e.active,p=(0,s.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{fill:"#fff",marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{fill:"#333"}},transparent:{check:{fill:"#333"}}},{first:a,last:c,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.default.createElement(l.Swatch,{color:t,style:p.color,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:p.check},i.default.createElement("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(67),c=r(l),u=n(187),p=r(u),f=n(48),d=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,u=(0,s.default)({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),d=function(e,n){p.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return i.default.createElement("div",{style:u.card,className:"twitter-picker"},i.default.createElement("div",{style:u.triangleShadow}),i.default.createElement("div",{style:u.triangle}),i.default.createElement("div",{style:u.body},(0,c.default)(o,function(e,t){return i.default.createElement(f.Swatch,{key:t,color:e,hex:e,style:u.swatch,onClick:d,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),i.default.createElement("div",{style:u.hash},"#"),i.default.createElement(f.EditableInput,{style:{input:u.input},value:r.replace("#",""),onChange:d}),i.default.createElement("div",{style:u.clear})))};d.defaultProps={width:"276px",colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"},t.default=(0,f.ColorWrap)(d)},function(e,t){},function(e,t,n){var r;!function(o){function i(e,t){if(e=e||"",t=t||{},e instanceof i)return e;if(!(this instanceof i))return new i(e,t);var n=a(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=K(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=K(this._r)),this._g<1&&(this._g=K(this._g)),this._b<1&&(this._b=K(this._b)),this._ok=n.ok,this._tc_id=U++}function a(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,l=!1;return"string"==typeof e&&(e=F(e)),"object"==typeof e&&(I(e.r)&&I(e.g)&&I(e.b)?(t=s(e.r,e.g,e.b),a=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):I(e.h)&&I(e.s)&&I(e.v)?(r=M(e.s),o=M(e.v),t=p(e.h,r,o),a=!0,l="hsv"):I(e.h)&&I(e.s)&&I(e.l)&&(r=M(e.s),i=M(e.l),t=c(e.h,r,i),a=!0,l="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=j(n),{ok:a,format:e.format||l,r:V(255,W(t.r,0)),g:V(255,W(t.g,0)),b:V(255,W(t.b,0)),a:n}}function s(e,t,n){return{r:255*T(e,255),g:255*T(t,255),b:255*T(n,255)}}function l(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,i=W(e,t,n),a=V(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function c(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)o=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),i=r(l,s,e),a=r(l,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function u(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,i=W(e,t,n),a=V(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function p(e,t,n){e=6*T(e,360),t=T(t,100),n=T(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=r%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}function f(e,t,n,r){var o=[L(K(e).toString(16)),L(K(t).toString(16)),L(K(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function d(e,t,n,r,o){var i=[L(K(e).toString(16)),L(K(t).toString(16)),L(K(n).toString(16)),L(D(r))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function h(e,t,n,r){return[L(D(r)),L(K(e).toString(16)),L(K(t).toString(16)),L(K(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s-=t/100,n.s=A(n.s),i(n)}function g(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s+=t/100,n.s=A(n.s),i(n)}function m(e){return i(e).desaturate(100)}function v(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l+=t/100,n.l=A(n.l),i(n)}function y(e,t){t=0===t?0:t||10;var n=i(e).toRgb();return n.r=W(0,V(255,n.r-K(-t/100*255))),n.g=W(0,V(255,n.g-K(-t/100*255))),n.b=W(0,V(255,n.b-K(-t/100*255))),i(n)}function _(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l-=t/100,n.l=A(n.l),i(n)}function w(e,t){var n=i(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,i(n)}function x(e){var t=i(e).toHsl();return t.h=(t.h+180)%360,i(t)}function k(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+120)%360,s:t.s,l:t.l}),i({h:(n+240)%360,s:t.s,l:t.l})]}function E(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+90)%360,s:t.s,l:t.l}),i({h:(n+180)%360,s:t.s,l:t.l}),i({h:(n+270)%360,s:t.s,l:t.l})]}function O(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+72)%360,s:t.s,l:t.l}),i({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=i(e).toHsl(),o=360/n,a=[i(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(i(r));return a}function S(e,t){t=t||6;for(var n=i(e).toHsv(),r=n.h,o=n.s,a=n.v,s=[],l=1/t;t--;)s.push(i({h:r,s:o,v:a})),a=(a+l)%1;return s}function j(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e,t){R(e)&&(e="100%");var n=N(e);return e=V(t,W(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return V(1,W(0,e))}function P(e){return parseInt(e,16)}function R(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function N(e){return"string"==typeof e&&-1!=e.indexOf("%")}function L(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function B(e){return P(e)/255}function I(e){return!!Y.CSS_UNIT.exec(e)}function F(e){e=e.replace(H,"").replace(q,"").toLowerCase();var t=!1;if($[e])e=$[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Y.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Y.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Y.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Y.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Y.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Y.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Y.hex8.exec(e))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),a:B(n[4]),format:t?"name":"hex8"}:(n=Y.hex6.exec(e))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),format:t?"name":"hex"}:(n=Y.hex4.exec(e))?{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),a:B(n[4]+""+n[4]),format:t?"name":"hex8"}:!!(n=Y.hex3.exec(e))&&{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),format:t?"name":"hex"}}function z(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var H=/^\s+/,q=/\s+$/,U=0,K=o.round,V=o.min,W=o.max,G=o.random;i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,i,a,s=this.toRgb();return e=s.r/255,t=s.g/255,n=s.b/255,r=e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4),i=t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4),a=n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4),.2126*r+.7152*i+.0722*a},setAlpha:function(e){return this._a=j(e),this._roundA=K(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=K(360*e.h),n=K(100*e.s),r=K(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=l(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=l(this._r,this._g,this._b),t=K(360*e.h),n=K(100*e.s),r=K(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return d(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:K(this._r),g:K(this._g),b:K(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+K(this._r)+", "+K(this._g)+", "+K(this._b)+")":"rgba("+K(this._r)+", "+K(this._g)+", "+K(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:K(100*T(this._r,255))+"%",g:K(100*T(this._g,255))+"%",b:K(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+K(100*T(this._r,255))+"%, "+K(100*T(this._g,255))+"%, "+K(100*T(this._b,255))+"%)":"rgba("+K(100*T(this._r,255))+"%, "+K(100*T(this._g,255))+"%, "+K(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(X[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=i(e);n="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},i.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return i(e,t)},i.equals=function(e,t){return!(!e||!t)&&i(e).toRgbString()==i(t).toRgbString()},i.random=function(){return i.fromRatio({r:G(),g:G(),b:G()})},i.mix=function(e,t,n){n=0===n?0:n||50;var r=i(e).toRgb(),o=i(t).toRgb(),a=n/100;return i({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},i.readability=function(e,t){var n=i(e),r=i(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},i.isReadable=function(e,t,n){var r,o,a=i.readability(e,t);switch(o=!1,r=z(n),r.level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},i.mostReadable=function(e,t,n){var r,o,a,s,l=null,c=0;n=n||{},o=n.includeFallbackColors,a=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=i.readability(e,t[u]))>c&&(c=r,l=i(t[u]));return i.isReadable(e,l,{level:a,size:s})||!o?l:(n.includeFallbackColors=!1,i.mostReadable(e,["#fff","#000"],n))};var $=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},X=i.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}($),Y=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=i:void 0!==(r=function(){return i}.call(t,n,t,e))&&(e.exports=r)}(Math)},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(67),a=n.n(i),s=n(0),l=(n.n(s),n(756)),c=(n.n(l),n(757)),u=(n.n(c),n(28)),p=n(86),f=n(68),d=n(109),h=n(40),b=n(46),g=function(e){return a()(e,function(e){return e.children})},m=function(e){return a()(e,function(e){return{children:e}})},v={value:{type:"array",source:"query",selector:"blockquote > p",query:{children:{source:"node"}}},citation:{type:"array",source:"children",selector:"cite"},align:{type:"string",default:"none"}};Object(u.p)("core/pullquote",{title:Object(s.__)("Pullquote"),icon:"format-quote",category:"formatting",attributes:v,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.className,l=t.value,c=t.citation,u=t.align,v=function(e){return n({align:e})};return[r&&wp.element.createElement(h.a,{key:"inspector"},wp.element.createElement(b.a,null,wp.element.createElement("p",null,Object(s.__)("A pullquote is a brief, attention-catching quotation taken from the main text of an article and used as a subheading or graphic feature.")))),r&&wp.element.createElement(f.a,{key:"controls"},wp.element.createElement(d.a,{value:u,onChange:v})),wp.element.createElement("blockquote",{key:"quote",className:a},wp.element.createElement(p.a,{multiline:"p",value:g(l),onChange:function(e){return n({value:m(e)})},placeholder:Object(s.__)("Write quote…"),focus:r&&"value"===r.editable?r:null,onFocus:function(e){return i(o()({},e,{editable:"value"}))},wrapperClassName:"blocks-pullquote__content"}),(c||!!r)&&wp.element.createElement(p.a,{tagName:"footer",value:c,placeholder:Object(s.__)("Write caption…"),onChange:function(e){return n({citation:e})},focus:r&&"citation"===r.editable?r:null,onFocus:function(e){return i(o()({},e,{editable:"citation"}))}}))]},save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return wp.element.createElement("blockquote",{className:"align"+o},n&&n.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),r&&r.length>0&&wp.element.createElement("cite",null,r))},deprecated:[{attributes:o()({},v,{citation:{type:"array",source:"children",selector:"footer"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return wp.element.createElement("blockquote",{className:"align"+o},n&&n.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),r&&r.length>0&&wp.element.createElement("footer",null,r))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(759)),i=(n.n(o),n(760)),a=(n.n(i),n(28)),s=n(761),l=n(68),c=n(109),u=n(40),p=n(46);Object(a.p)("core/table",{title:Object(r.__)("Table"),icon:"editor-table",category:"formatting",attributes:{content:{type:"array",source:"children",selector:"table",default:[wp.element.createElement("tbody",{key:"1"},wp.element.createElement("tr",null,wp.element.createElement("td",null,wp.element.createElement("br",null)),wp.element.createElement("td",null,wp.element.createElement("br",null))),wp.element.createElement("tr",null,wp.element.createElement("td",null,wp.element.createElement("br",null)),wp.element.createElement("td",null,wp.element.createElement("br",null))))]},align:{type:"string"}},transforms:{from:[{type:"raw",isMatch:function(e){return"TABLE"===e.nodeName}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,a=e.className,f=t.content,d=function(e){return n({align:e})};return[o&&wp.element.createElement(u.a,{key:"inspector"},wp.element.createElement(p.a,null,wp.element.createElement("p",null,Object(r.__)("Tables. Best used for tabular data.")))),o&&wp.element.createElement(l.a,{key:"toolbar"},wp.element.createElement(c.a,{value:t.align,onChange:d})),wp.element.createElement(s.a,{key:"editor",onChange:function(e){n({content:e})},content:f,focus:o,onFocus:i,className:a})]},save:function(e){var t=e.attributes,n=t.content,r=t.align;return wp.element.createElement("table",{className:r?"align"+r:null},n)}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return e.dom.getParent(e.selection.getStart(!0),"table",e.getBody().parentNode)}function o(e){var t=e.getBody().querySelector("td,th");t&&(t.focus(),e.selection.select(t,!0),e.selection.collapse(!1))}function i(e){return function(t){t&&(r(t)||o(t),t.execCommand(e))}}var a=n(12),s=n.n(a),l=n(4),c=n.n(l),u=n(5),p=n.n(u),f=n(6),d=n.n(f),h=n(7),b=n.n(h),g=n(8),m=n.n(g),v=n(2),y=(n.n(v),n(1)),_=(n.n(y),n(0)),w=(n.n(_),n(86)),x=n(68),k=[{icon:"table-row-before",title:Object(_.__)("Insert Row Before"),onClick:i("mceTableInsertRowBefore")},{icon:"table-row-after",title:Object(_.__)("Insert Row After"),onClick:i("mceTableInsertRowAfter")},{icon:"table-row-delete",title:Object(_.__)("Delete Row"),onClick:i("mceTableDeleteRow")},{icon:"table-col-before",title:Object(_.__)("Insert Column Before"),onClick:i("mceTableInsertColBefore")},{icon:"table-col-after",title:Object(_.__)("Insert Column After"),onClick:i("mceTableInsertColAfter")},{icon:"table-col-delete",title:Object(_.__)("Delete Column"),onClick:i("mceTableDeleteCol")}],E=function(e){function t(){p()(this,t);var e=b()(this,(t.__proto__||c()(t)).call(this));return e.handleSetup=e.handleSetup.bind(e),e.state={editor:null},e}return m()(t,e),d()(t,[{key:"handleSetup",value:function(e,t){e.on("init",function(){t&&o(e)}),this.setState({editor:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.focus,o=t.onFocus,i=t.onChange,a=t.className;return[wp.element.createElement(w.a,{key:"editor",tagName:"table",wrapperClassName:a,getSettings:function(e){return s()({},e,{plugins:(e.plugins||[]).concat("table"),table_tab_navigation:!1})},onSetup:function(t){return e.handleSetup(t,r)},onChange:i,value:n,focus:r,onFocus:o}),r&&wp.element.createElement(x.a,{key:"menu"},wp.element.createElement(y.Toolbar,null,wp.element.createElement(y.DropdownMenu,{icon:"editor-table",label:Object(_.__)("Edit Table"),controls:k.map(function(t){return s()({},t,{onClick:function(){return t.onClick(e.state.editor)}})})})))]}}]),t}(v.Component);t.a=E},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(763)),i=(n.n(o),n(28)),a=n(86),s=n(40),l=n(46);Object(i.p)("core/preformatted",{title:Object(r.__)("Preformatted"),icon:"text",category:"formatting",attributes:{content:{type:"array",source:"children",selector:"pre"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.a)("core/preformatted",e)}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.a)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,c=e.className,u=t.content;return[o&&wp.element.createElement(s.a,{key:"inspector"},wp.element.createElement(l.a,null,wp.element.createElement("p",null,Object(r.__)("Preformatted text keeps your spaces, tabs and linebreaks as they are.")))),wp.element.createElement(a.a,{key:"block",tagName:"pre",value:u,onChange:function(e){n({content:e})},focus:o,onFocus:i,placeholder:Object(r.__)("Write preformatted text…"),wrapperClassName:c})]},save:function(e){var t=e.attributes,n=t.content;return wp.element.createElement("pre",null,n)}})},function(e,t){},function(e,t,n){"use strict";var r=n(221),o=n.n(r),i=n(0),a=(n.n(i),n(765)),s=(n.n(a),n(28)),l=n(40),c=n(46);Object(s.p)("core/code",{title:Object(i.__)("Code"),icon:"editor-code",category:"formatting",attributes:{content:{type:"string",source:"property",selector:"code",property:"textContent"}},supportHTML:!1,transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^```$/,transform:function(){return Object(s.a)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.focus,a=e.className;return[r&&wp.element.createElement(l.a,{key:"inspector"},wp.element.createElement(c.a,null,wp.element.createElement("p",null,Object(i.__)("The code block maintains spaces and tabs, great for showing code snippets.")))),wp.element.createElement(o.a,{key:"block",className:a,value:t.content,onChange:function(e){return n({content:e.target.value})},placeholder:Object(i.__)("Write code…")})]},save:function(e){var t=e.attributes;return wp.element.createElement("pre",null,wp.element.createElement("code",null,t.content))}})},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(221),h=n.n(d),b=n(0),g=(n.n(b),n(2)),m=(n.n(g),n(767)),v=(n.n(m),n(28)),y=n(68),_=n(40),w=n(46);Object(v.p)("core/html",{title:Object(b.__)("Custom HTML"),icon:"html",category:"formatting",keywords:[Object(b.__)("embed")],supportHTML:!1,supports:{customClassName:!1,className:!1},attributes:{content:{type:"string",source:"html"}},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.preview=e.preview.bind(e),e.edit=e.edit.bind(e),e.state={preview:!1},e}return f()(t,e),l()(t,[{key:"preview",value:function(){this.setState({preview:!0})}},{key:"edit",value:function(){this.setState({preview:!1})}},{key:"render",value:function(){var e=this.state.preview,t=this.props,n=t.attributes,r=t.setAttributes,o=t.focus;return wp.element.createElement("div",null,o&&wp.element.createElement(y.a,{key:"controls"},wp.element.createElement("div",{className:"components-toolbar"},wp.element.createElement("button",{className:"components-tab-button "+(e?"":"is-active"),onClick:this.edit},wp.element.createElement("span",null,"HTML")),wp.element.createElement("button",{className:"components-tab-button "+(e?"is-active":""),onClick:this.preview},wp.element.createElement("span",null,Object(b.__)("Preview"))))),e?wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:n.content}}):wp.element.createElement(h.a,{value:n.content,onChange:function(e){return r({content:e.target.value})}}),o&&wp.element.createElement(_.a,{key:"inspector"},wp.element.createElement(w.a,null,wp.element.createElement("p",null,Object(b.__)("Add custom HTML code and preview it right here in the editor.")))))}}]),t}(g.Component),save:function(e){return e.attributes.content}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(769)),i=(n.n(o),n(28)),a=n(770);Object(i.p)("core/freeform",{title:Object(r.__)("Classic Text"),icon:"editor-kitchensink",category:"formatting",attributes:{content:{type:"string",source:"html"}},edit:a.a,save:function(e){return e.attributes.content}}),Object(i.s)("core/freeform")},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}var o=n(12),i=n.n(o),a=n(4),s=n.n(a),l=n(5),c=n.n(l),u=n(6),p=n.n(u),f=n(7),d=n.n(f),h=n(8),b=n.n(h),g=n(2),m=(n.n(g),n(0)),v=(n.n(m),n(55)),y=(n.n(v),n(40)),_=n(46),w=v.keycodes.BACKSPACE,x=v.keycodes.DELETE,k=function(e){function t(e){c()(this,t);var n=d()(this,(t.__proto__||s()(t)).call(this,e));return n.initialize=n.initialize.bind(n),n.onSetup=n.onSetup.bind(n),n}return b()(t,e),p()(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),wp.oldEditor.remove(this.props.id)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.id,r=t.attributes.content,o=window.tinymce.get(n);e.attributes.content!==r&&o.setContent(r||""),!e.focus&&this.props.focus&&document.activeElement!==o.getBody()&&o.getBody().focus()}},{key:"initialize",value:function(){var e=this.props.id,t=window.wpEditorL10n.tinymce.settings;wp.oldEditor.initialize(e,{tinymce:i()({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#"+e+"-toolbar",setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t=this,n=this.props,o=n.attributes.content,i=n.setAttributes,a=this.ref;o&&e.on("loadContent",function(){return e.setContent(o)}),e.on("blur",function(){return i({content:e.getContent()}),!1}),e.on("keydown",function(n){n.keyCode!==w&&n.keyCode!==x||!r(e)||(t.props.onReplace([]),n.preventDefault(),n.stopImmediatePropagation())}),e.addButton("kitchensink",{tooltip:Object(m.__)("More"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=this,n=!t.active();t.active(n),e.dom.toggleClass(a,"has-advanced-toolbar",n)}}),e.on("init",function(){t.props.focus&&document.activeElement!==e.getBody()&&e.getBody().focus(),e.addCommand("WP_More",function(t){var n,r,o,i="wp-more-tag",a=e.dom,s=e.selection.getNode(),l=e.getBody();if(t=t||"more",i+=" mce-wp-"+t,o="more"===t?"Read more...":"Next page",o=e.editorManager.i18n.translate(o),r='<img src="'+tinymce.Env.transparentSrc+'" alt="" title="'+o+'" class="'+i+'" data-wp-more="'+t+'" data-mce-resize="false" data-mce-placeholder="1" />',s===l||"P"===s.nodeName&&s.parentNode==l)return void e.insertContent(r);(n=a.getParent(s,function(e){return!(!e.parentNode||e.parentNode!==l)},e.getBody()))&&("P"===n.nodeName?n.appendChild(a.create("p",null,r).firstChild):a.insertAfter(a.create("p",null,r),n),e.nodeChanged())})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.focus,r=t.id;return[n&&wp.element.createElement(y.a,{key:"inspector"},wp.element.createElement(_.a,null,wp.element.createElement("p",null,Object(m.__)("The classic editor, in block form.")))),wp.element.createElement("div",{key:"toolbar",id:r+"-toolbar",ref:function(t){return e.ref=t},className:"freeform-toolbar",style:n?{}:{display:"none"}}),wp.element.createElement("div",{key:"editor",id:r,className:"blocks-editable__tinymce"})]}}]),t}(g.Component);t.a=k},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(2),h=(n.n(d),n(1)),b=(n.n(h),n(0)),g=(n.n(b),n(55)),m=(n.n(g),n(188)),v=n.n(m),y=n(17),_=n.n(y),w=n(772),x=(n.n(w),n(773)),k=(n.n(x),n(28)),E=n(774),O=n(40),C=n(463),S=n(179),j=n(276),T=n(46),A=n(68),P=n(109);Object(k.p)("core/latest-posts",{title:Object(b.__)("Latest Posts"),icon:"list-view",category:"widgets",keywords:[Object(b.__)("recent posts")],supportHTML:!1,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));e.changePostsToShow=e.changePostsToShow.bind(e);var n=e.props.attributes.postsToShow;return e.state={latestPosts:null},e.latestPostsRequest=Object(E.a)(n),e.latestPostsRequest.then(function(t){return e.setState({latestPosts:t})}),e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(e),e}return f()(t,e),l()(t,[{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props.attributes.postsToShow,r=e.attributes.postsToShow,o=this.props.setAttributes;n!==r&&r>=1&&r<=100&&(this.latestPostsRequest=Object(E.a)(r),this.latestPostsRequest.then(function(e){return t.setState({latestPosts:e})}),o({postsToShow:r}))}},{key:"changePostsToShow",value:function(e){(0,this.props.setAttributes)({postsToShow:parseInt(e,10)||0})}},{key:"render",value:function(){var e=this,t=this.state.latestPosts,n=this.props,r=n.attributes,o=n.focus,i=n.setAttributes,a=r.displayPostDate,s=r.align,l=r.layout,c=r.columns,u=r.postsToShow,p=o&&wp.element.createElement(O.a,{key:"inspector"},wp.element.createElement(T.a,null,wp.element.createElement("p",null,Object(b.__)("Shows a list of your site's most recent posts."))),wp.element.createElement("h3",null,Object(b.__)("Latest Posts Settings")),wp.element.createElement(S.a,{label:Object(b.__)("Display post date"),checked:a,onChange:this.toggleDisplayPostDate}),"grid"===l&&wp.element.createElement(j.a,{label:Object(b.__)("Columns"),value:c,onChange:function(e){return i({columns:e})},min:2,max:Math.min(6,t.length)}),wp.element.createElement(C.a,{label:Object(b.__)("Number of posts to show"),type:"number",min:1,max:100,value:u,onChange:function(t){return e.changePostsToShow(t)}}));if(!Array.isArray(t)||!t.length)return[p,wp.element.createElement(h.Placeholder,{key:"placeholder",icon:"admin-post",label:Object(b.__)("Latest Posts")},Array.isArray(t)?Object(b.__)("No posts found."):wp.element.createElement(h.Spinner,null))];var f=t.length-u;f>0&&t.splice(u,f);var d=[{icon:"list-view",title:Object(b.__)("List View"),onClick:function(){return i({layout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(b.__)("Grid View"),onClick:function(){return i({layout:"grid"})},isActive:"grid"===l}];return[p,o&&wp.element.createElement(A.a,{key:"controls"},wp.element.createElement(P.a,{value:s,onChange:function(e){i({align:e})},controls:["center","wide","full"]}),wp.element.createElement(h.Toolbar,{controls:d})),wp.element.createElement("ul",{className:_()(this.props.className,"columns-"+c,{"is-grid":"grid"===l}),key:"latest-posts"},t.map(function(t,n){return wp.element.createElement("li",{key:n},wp.element.createElement("a",{href:t.link,target:"_blank"},Object(g.decodeEntities)(t.title.rendered.trim())||Object(b.__)("(Untitled)")),a&&t.date_gmt&&wp.element.createElement("time",{dateTime:v()(t.date_gmt).utc().format(),className:e.props.className+"__post-date"},v()(t.date_gmt).local().format("MMMM DD, Y")))}))]}},{key:"componentWillUnmount",value:function(){"pending"===this.latestPostsRequest.state()&&this.latestPostsRequest.abort()}}]),t}(d.Component),save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return(new wp.api.collections.Posts).fetch({data:{per_page:e}})}t.a=r},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),p=n(8),f=n.n(p),d=n(438),h=n.n(d),b=n(559),g=n.n(b),m=n(2),v=(n.n(m),n(1)),y=(n.n(v),n(0)),_=(n.n(y),n(776)),w=(n.n(_),n(777)),x=(n.n(w),n(28)),k=n(778),E=n(40),O=n(179),C=n(46),S=n(68),j=n(109);Object(x.p)("core/categories",{title:Object(y.__)("Categories"),icon:"list-view",category:"widgets",attributes:{showPostCounts:{type:"boolean",default:!1},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},align:{type:"string"}},supportHTML:!1,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t)return{"data-align":t}},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.state={categories:[]},e.categoriesRequest=Object(k.a)(),e.categoriesRequest.then(function(t){return e.setState({categories:t})}),e.toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(e),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(e),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(e),e}return f()(t,e),l()(t,[{key:"componentWillUnmount",value:function(){"pending"===this.categoriesRequest.state()&&this.categoriesRequest.abort()}},{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.state.categories;return t.length?null===e?t:t.filter(function(t){return t.parent===e}):t}},{key:"getCategoryListClassName",value:function(e){var t=this.props.className;return t+"__list "+t+"__list-level-"+e}},{key:"renderCategoryName",value:function(e){return e.name?h()(e.name).trim():Object(y.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy,n=t?0:null,r=this.getCategories(n);return wp.element.createElement("ul",{className:this.getCategoryListClassName(0)},r.map(function(t){return e.renderCategoryListItem(t,0)}))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,i=r.showPostCounts,a=this.getCategories(e.id);return wp.element.createElement("li",{key:e.id},wp.element.createElement("a",{href:e.link,target:"_blank"},this.renderCategoryName(e)),i&&wp.element.createElement("span",{className:this.props.className+"__post-count"}," ","(",e.count,")"),o&&!!a.length&&wp.element.createElement("ul",{className:this.getCategoryListClassName(t+1)},a.map(function(e){return n.renderCategoryListItem(e,t+1)})))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.attributes.showHierarchy,n=t?0:null,r=this.getCategories(n);return wp.element.createElement("select",{className:this.props.className+"__dropdown"},r.map(function(t){return e.renderCategoryDropdownItem(t,0)}))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,i=r.showPostCounts,a=this.getCategories(e.id);return[wp.element.createElement("option",{key:e.id},g()(3*t,function(){return" "}),this.renderCategoryName(e),i?" ("+e.count+")":""),o&&!!a.length&&a.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props.setAttributes;if(!this.getCategories().length)return wp.element.createElement(v.Placeholder,{icon:"admin-post",label:Object(y.__)("Categories")},wp.element.createElement(v.Spinner,null));var t=this.props.focus,n=this.props.attributes,r=n.align,o=n.displayAsDropdown,i=n.showHierarchy,a=n.showPostCounts;return[t&&wp.element.createElement(S.a,{key:"controls"},wp.element.createElement(j.a,{value:r,onChange:function(t){e({align:t})},controls:["left","center","right","full"]})),t&&wp.element.createElement(E.a,{key:"inspector"},wp.element.createElement(C.a,null,wp.element.createElement("p",null,Object(y.__)("Shows a list of your site's categories."))),wp.element.createElement("h3",null,Object(y.__)("Categories Settings")),wp.element.createElement(O.a,{label:Object(y.__)("Display as dropdown"),checked:o,onChange:this.toggleDisplayAsDropdown}),wp.element.createElement(O.a,{label:Object(y.__)("Show post counts"),checked:a,onChange:this.toggleShowPostCounts}),wp.element.createElement(O.a,{label:Object(y.__)("Show hierarchy"),checked:i,onChange:this.toggleShowHierarchy})),wp.element.createElement("div",{key:"categories",className:this.props.className},o?this.renderCategoryDropdown():this.renderCategoryList())]}}]),t}(m.Component),save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(){return(new wp.api.collections.Categories).fetch()}t.a=r},function(e,t,n){"use strict";function r(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}var o=n(1),i=(n.n(o),n(0)),a=(n.n(i),n(17)),s=n.n(a),l=n(780),c=(n.n(l),n(781)),u=(n.n(c),n(28)),p=n(86),f=n(286),d=n(68),h=n(109),b=n(40),g=n(179),m=n(276),v=n(46),y=["left","center","right","wide","full"];Object(u.p)("core/cover-image",{title:Object(i.__)("Cover Image"),icon:"format-image",category:"common",attributes:{title:{type:"array",source:"children",selector:"h2"},url:{type:"string"},align:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50}},getEditWrapperProps:function(e){var t=e.align;if(-1!==y.indexOf(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.focus,l=e.setFocus,c=e.className,u=t.url,y=t.title,_=t.align,w=t.id,x=t.hasParallax,k=t.dimRatio,E=function(e){return n({align:e})},O=function(e){return n({url:e.url,id:e.id})},C=function(){return n({hasParallax:!x})},S=function(e){return n({dimRatio:e})},j=u?{backgroundImage:"url("+u+")"}:void 0,T=s()(c,r(k),{"has-background-dim":0!==k,"has-parallax":x}),A=a&&[wp.element.createElement(d.a,{key:"controls"},wp.element.createElement(h.a,{value:_,onChange:E}),wp.element.createElement(o.Toolbar,null,wp.element.createElement(f.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(i.__)("Edit image")},onSelect:O,type:"image",value:w},wp.element.createElement(o.Dashicon,{icon:"edit"})))),wp.element.createElement(b.a,{key:"inspector"},wp.element.createElement(v.a,null,wp.element.createElement("p",null,Object(i.__)("Cover Image is a bold image block with an optional title."))),wp.element.createElement("h3",null,Object(i.__)("Cover Image Settings")),wp.element.createElement(g.a,{label:Object(i.__)("Fixed Background"),checked:!!x,onChange:C}),wp.element.createElement(m.a,{label:Object(i.__)("Background Dimness"),value:k,onChange:S,min:0,max:100,step:10}))];if(!u){var P={isLarge:!0};return[A,wp.element.createElement(o.Placeholder,{key:"placeholder",instructions:Object(i.__)("Drag image here or insert from media library"),icon:"format-image",label:Object(i.__)("Cover Image"),className:c},wp.element.createElement(f.a,{buttonProps:P,onSelect:O,type:"image"},Object(i.__)("Insert from Media Library")))]}return[A,wp.element.createElement("section",{key:"preview","data-url":u,style:j,className:T},y||a?wp.element.createElement(p.a,{tagName:"h2",placeholder:Object(i.__)("Write title…"),value:y,focus:a,onFocus:l,onChange:function(e){return n({title:e})},inlineToolbar:!0}):null)]},save:function(e){var t=e.attributes,n=e.className,o=t.url,i=t.title,a=t.hasParallax,l=t.dimRatio,c=o?{backgroundImage:"url("+o+")"}:void 0,u=s()(n,r(l),{"has-background-dim":0!==l,"has-parallax":a});return wp.element.createElement("section",{className:u,style:c},wp.element.createElement("h2",null,i))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(37),o=n.n(r),i=n(559),a=n.n(i),s=n(0),l=(n.n(s),n(783)),c=(n.n(l),n(784)),u=(n.n(c),n(28)),p=n(68),f=n(109),d=n(276),h=n(86),b=n(40),g=n(46);Object(u.p)("core/text-columns",{title:Object(s.__)("Text Columns"),icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{source:"children"}},default:[[],[]]},columns:{type:"number",default:2},width:{type:"string"}},getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,i=e.focus,l=e.setFocus,c=t.width,u=t.content,m=t.columns;return[i&&wp.element.createElement(p.a,{key:"controls"},wp.element.createElement(f.a,{value:c,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),i&&wp.element.createElement(b.a,{key:"inspector"},wp.element.createElement(g.a,null,wp.element.createElement("p",null,Object(s.__)("Add text across columns. This block is experimental"))),wp.element.createElement(d.a,{label:Object(s.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:4})),wp.element.createElement("section",{className:r+" align"+c+" columns-"+m,key:"block"},a()(m,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement(h.a,{tagName:"p",value:u&&u[e]&&u[e].children,onChange:function(t){n({content:[].concat(o()(u.slice(0,e)),[{children:t}],o()(u.slice(e+1)))})},focus:i&&i.column===e,onFocus:function(){return l({column:e})},placeholder:Object(s.__)("New Column")}))}))]},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return wp.element.createElement("section",{className:"align"+n+" columns-"+o},a()(o,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement("p",null,r&&r[e].children))}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(786)),i=(n.n(o),n(28)),a=n(86),s=n(40),l=n(46);Object(i.p)("core/verse",{title:Object(r.__)("Verse"),icon:"edit",category:"formatting",keywords:[Object(r.__)("poetry")],attributes:{content:{type:"array",source:"children",selector:"pre"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.a)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.a)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,c=e.className,u=t.content;return[o&&wp.element.createElement(s.a,{key:"inspector"},wp.element.createElement(l.a,null,wp.element.createElement("p",null,Object(r.__)("Write poetry and other literary expressions honoring all spaces and line-breaks.")))),wp.element.createElement(a.a,{tagName:"pre",key:"editable",value:u,onChange:function(e){n({content:e})},focus:o,onFocus:i,placeholder:Object(r.__)("Write…"),wrapperClassName:c,formattingControls:["bold","italic","strikethrough"]})]},save:function(e){var t=e.attributes,n=e.className;return wp.element.createElement("pre",{className:n},t.content)}})},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(788)),l=(n.n(s),n(28)),c=n(286),u=n(86),p=n(68),f=n(109),d=n(40),h=n(46);Object(l.p)("core/video",{title:Object(i.__)("Video"),icon:"format-video",category:"common",attributes:{align:{type:"string"},id:{type:"number"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},caption:{type:"array",source:"children",selector:"figcaption"}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,s=e.focus,l=e.setFocus,b=t.src,g=t.caption,m=t.align,v=t.id,y=function(e){e&&e.url&&n({src:e.url,id:e.id})},_=function(e){return l(o()({editable:"caption"},e))},w=function(e){n({align:e})},x=s&&[wp.element.createElement(p.a,{key:"controls"},wp.element.createElement(f.a,{value:m,onChange:w}),wp.element.createElement(a.Toolbar,null,wp.element.createElement(c.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(i.__)("Edit video")},onSelect:y,type:"video",value:v},wp.element.createElement(a.Dashicon,{icon:"edit"})))),wp.element.createElement(d.a,{key:"inspector"},wp.element.createElement(h.a,null,wp.element.createElement("p",null,Object(i.__)("Video, locally hosted, locally sourced."))))];return b?[x,wp.element.createElement("figure",{key:"video",className:r},wp.element.createElement("video",{controls:!0,src:b,onClick:l}),g&&g.length>0||s?wp.element.createElement(u.a,{tagName:"figcaption",placeholder:Object(i.__)("Write caption…"),value:g,focus:s&&"caption"===s.editable?s:void 0,onFocus:_,onChange:function(e){return n({caption:e})},inlineToolbar:!0}):null)]:[x,wp.element.createElement(a.Placeholder,{key:"placeholder",icon:"media-video",label:Object(i.__)("Video"),instructions:Object(i.__)("Select a video file from your library:"),className:r},wp.element.createElement(c.a,{buttonProps:{isLarge:!0},onSelect:y,type:"video"},Object(i.__)("Insert from Media Library")))]},save:function(e){var t=e.attributes,n=t.src,r=t.caption,o=t.align;return wp.element.createElement("figure",{className:o?"align"+o:null},n&&wp.element.createElement("video",{controls:!0,src:n}),r&&r.length>0&&wp.element.createElement("figcaption",null,r))}})},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),p=n(7),f=n.n(p),d=n(8),h=n.n(d),b=n(0),g=(n.n(b),n(1)),m=(n.n(g),n(2)),v=(n.n(m),n(790)),y=(n.n(v),n(28)),_=n(286),w=n(86),x=n(68),k=n(109),E=n(40),O=n(46);Object(y.p)("core/audio",{title:Object(b.__)("Audio"),icon:"format-audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},align:{type:"string"},caption:{type:"array",source:"children",selector:"figcaption"}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function t(e){var n=e.className;l()(this,t);var r=f()(this,(t.__proto__||a()(t)).apply(this,arguments));return r.state={editing:!r.props.attributes.src,src:r.props.attributes.src,className:n},r}return h()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.align,r=t.caption,i=this.props,a=i.setAttributes,s=i.focus,l=i.setFocus,c=this.state,u=c.editing,p=c.className,f=c.src,d=function(e){return a({align:e})},h=function(){e.setState({editing:!0})},m=function(t){t&&t.url&&(a({src:t.url}),e.setState({src:t.url,editing:!1}))},v=function(t){return t.preventDefault(),f&&(a({src:f}),e.setState({editing:!1})),!1},y=s&&[wp.element.createElement(x.a,{key:"controls"},wp.element.createElement(k.a,{value:n,onChange:d}),wp.element.createElement(g.Toolbar,null,wp.element.createElement(g.Button,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(b.__)("Edit audio")},type:"audio",onClick:h},wp.element.createElement(g.Dashicon,{icon:"edit"})))),wp.element.createElement(E.a,{key:"inspector"},wp.element.createElement(O.a,null,wp.element.createElement("p",null,Object(b.__)("The Audio block allows you to embed audio files and play them back using a simple player."))))],C=function(e){return l(o()({editable:"caption"},e))};return u?[y,wp.element.createElement(g.Placeholder,{key:"placeholder",icon:"media-audio",label:Object(b.__)("Audio"),instructions:Object(b.__)("Select an audio file from your library, or upload a new one:"),className:p},wp.element.createElement("form",{onSubmit:v},wp.element.createElement("input",{type:"url",className:"components-placeholder__input",placeholder:Object(b.__)("Enter URL of audio file here…"),onChange:function(t){return e.setState({src:t.target.value})},value:f||""}),wp.element.createElement(g.Button,{isLarge:!0,type:"submit"},Object(b.__)("Use URL"))),wp.element.createElement(_.a,{buttonProps:{isLarge:!0},onSelect:m,type:"audio"},Object(b.__)("Insert from Media Library")))]:[y,wp.element.createElement("figure",{key:"audio",className:p},wp.element.createElement("audio",{controls:"controls",src:f}),(r&&r.length||!!s)&&wp.element.createElement(w.a,{tagName:"figcaption",placeholder:Object(b.__)("Write caption…"),value:r,focus:s&&"caption"===s.editable?s:void 0,onFocus:C,onChange:function(e){return a({caption:e})},inlineToolbar:!0}))]}}]),t}(m.Component),save:function(e){var t=e.attributes,n=t.align,r=t.src,o=t.caption;return wp.element.createElement("figure",{className:n?"align"+n:null},wp.element.createElement("audio",{controls:"controls",src:r}),o&&o.length>0&&wp.element.createElement("figcaption",null,o))}})},function(e,t){},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),p=n(7),f=n.n(p),d=n(8),h=n.n(d),b=n(27),g=n.n(b),m=n(431),v=n.n(m),y=n(3),_=n(17),w=n.n(_),x=n(2),k=(n.n(x),n(1)),E=(n.n(k),n(0)),O=(n.n(E),n(28)),C=n(792),S=function(e){function t(){l()(this,t);var e=f()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.startEditing=e.startEditing.bind(e),e.stopEditing=e.stopEditing.bind(e),e.setAttributes=e.setAttributes.bind(e),e.setName=e.setName.bind(e),e.updateReusableBlock=e.updateReusableBlock.bind(e),e.state={isEditing:!1,name:null,attributes:null},e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"startEditing",value:function(){this.setState({isEditing:!0})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,name:null,attributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){return{attributes:o()({},t.attributes,e)}})}},{key:"setName",value:function(e){this.setState({name:e})}},{key:"updateReusableBlock",value:function(){var e=this.state,t=e.name,n=e.attributes,r=v()({name:t,attributes:n});this.props.updateReusableBlock(r),this.props.saveReusableBlock(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.focus,n=e.reusableBlock,r=e.isSaving,i=e.convertBlockToStatic,a=this.state,s=a.isEditing,l=a.name,c=a.attributes;if(!n)return wp.element.createElement(k.Placeholder,null,wp.element.createElement(k.Spinner,null));var u=o()({},n.attributes,c),p=Object(O.f)(n.type),f=p.edit||p.save,d=Object(O.k)(p,"className",!0)?Object(O.e)(n.type):null,h=w()(d,u.className);return[wp.element.createElement("div",{key:"edit",style:{pointerEvents:s?"auto":"none"}},wp.element.createElement(f,o()({},this.props,{focus:s?t:null,attributes:u,setAttributes:s?this.setAttributes:g.a,className:h}))),t&&wp.element.createElement(C.a,{key:"panel",isEditing:s,name:null!==l?l:n.name,isSaving:r,onEdit:this.startEditing,onDetach:i,onChangeName:this.setName,onSave:this.updateReusableBlock,onCancel:this.stopEditing})]}}]),t}(x.Component),j=Object(y.b)(function(e,t){return{reusableBlock:e.reusableBlocks.data[t.attributes.ref],isSaving:e.reusableBlocks.isSaving[t.attributes.ref]}},function(e,t){return{fetchReusableBlock:function(){e({type:"FETCH_REUSABLE_BLOCKS",id:t.attributes.ref})},updateReusableBlock:function(n){e({type:"UPDATE_REUSABLE_BLOCK",id:t.attributes.ref,reusableBlock:n})},saveReusableBlock:function(){e({type:"SAVE_REUSABLE_BLOCK",id:t.attributes.ref})},convertBlockToStatic:function(){e({type:"CONVERT_BLOCK_TO_STATIC",uid:t.id})}}})(S);Object(O.p)("core/block",{title:Object(E.__)("Reusable Block"),category:"reusable-blocks",isPrivate:!0,attributes:{ref:{type:"number"}},edit:j,save:function(){return null}})},function(e,t,n){"use strict";function r(e){var t=e.isEditing,n=e.name,r=e.isSaving,a=e.onEdit,s=e.onDetach,l=e.onChangeName,c=e.onSave,u=e.onCancel;return wp.element.createElement("div",{className:"reusable-block-edit-panel"},!t&&!r&&[wp.element.createElement("span",{key:"info",className:"reusable-block-edit-panel__info"},wp.element.createElement("b",null,n)),wp.element.createElement(o.Button,{key:"edit",isLarge:!0,className:"reusable-block-edit-panel__button",onClick:a},Object(i.__)("Edit")),wp.element.createElement(o.Button,{key:"detach",isLarge:!0,className:"reusable-block-edit-panel__button",onClick:s},Object(i.__)("Detach"))],(t||r)&&[wp.element.createElement("input",{key:"name",type:"text",disabled:r,className:"reusable-block-edit-panel__name",value:n,onChange:function(e){return l(e.target.value)}}),wp.element.createElement(o.Button,{key:"save",isPrimary:!0,isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button",onClick:c},Object(i.__)("Save")),wp.element.createElement(o.Button,{key:"cancel",isLarge:!0,disabled:r,className:"reusable-block-edit-panel__button",onClick:u},Object(i.__)("Cancel"))])}var o=n(1),i=(n.n(o),n(0)),a=(n.n(i),n(793));n.n(a);t.a=r},function(e,t){},function(e,t,n){"use strict";var r=n(128),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),p=n(7),f=n.n(p),d=n(8),h=n.n(d),b=n(17),g=n.n(b),m=n(0),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(795)),w=(n.n(_),n(796)),x=(n.n(w),n(28)),k=n(797),E=n(437),O=n(109),C=n(68),S=n(86),j=n(40),T=n(179),A=n(276),P=n(495),R=n(46),N=n(558),L=window,M=L.getComputedStyle,D=Object(y.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=n&&r||!e?null:e.querySelector('[contenteditable="true"]'),i=o?M(o):null;return{fallbackBackgroundColor:r||!i?void 0:i.backgroundColor,fallbackTextColor:n||!i?void 0:i.color}})(N.a),B=function(e){function t(){l()(this,t);var e=f()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.nodeRef=null,e.bindRef=e.bindRef.bind(e),e.toggleDropCap=e.toggleDropCap.bind(e),e}return h()(t,e),u()(t,[{key:"toggleDropCap",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dropCap:!t.dropCap})}},{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.insertBlocksAfter,i=e.focus,a=e.setFocus,s=e.mergeBlocks,l=e.onReplace,c=t.align,u=t.content,p=t.dropCap,f=t.placeholder,d=t.fontSize,h=t.backgroundColor,b=t.textColor,v=t.width,_=p?"has-drop-cap":null;return[i&&wp.element.createElement(C.a,{key:"controls"},wp.element.createElement(E.a,{value:c,onChange:function(e){n({align:e})}})),i&&wp.element.createElement(j.a,{key:"inspector"},wp.element.createElement(R.a,null,wp.element.createElement("p",null,Object(m.__)("Text. Great things start here."))),wp.element.createElement(y.PanelBody,{title:Object(m.__)("Text Settings")},wp.element.createElement(T.a,{label:Object(m.__)("Drop Cap"),checked:!!p,onChange:this.toggleDropCap}),wp.element.createElement(A.a,{label:Object(m.__)("Font Size"),value:d||"",onChange:function(e){return n({fontSize:e})},min:10,max:200,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(y.PanelColor,{title:Object(m.__)("Background Color"),colorValue:h,initialOpen:!1},wp.element.createElement(P.a,{value:h,onChange:function(e){return n({backgroundColor:e})}})),wp.element.createElement(y.PanelColor,{title:Object(m.__)("Text Color"),colorValue:b,initialOpen:!1},wp.element.createElement(P.a,{value:b,onChange:function(e){return n({textColor:e})}})),this.nodeRef&&wp.element.createElement(D,{node:this.nodeRef,textColor:b,backgroundColor:h,isLargeText:d>=18}),wp.element.createElement(y.PanelBody,{title:Object(m.__)("Block Alignment")},wp.element.createElement(O.a,{value:v,onChange:function(e){return n({width:e})}}))),wp.element.createElement("div",{key:"editable",ref:this.bindRef},wp.element.createElement(y.Autocomplete,{completers:[Object(k.a)({onReplace:l}),Object(k.b)()]},function(e){var t,p=e.isExpanded,y=e.listBoxId,w=e.activeId;return wp.element.createElement(S.a,{tagName:"p",className:g()("wp-block-paragraph",_,(t={},o()(t,"align"+v,v),o()(t,"has-background",h),t)),style:{backgroundColor:h,color:b,fontSize:d?d+"px":void 0,textAlign:c},value:u,onChange:function(e){n({content:e})},focus:i,onFocus:a,onSplit:r?function(e,t){for(var o=arguments.length,i=Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];n({content:e}),r([].concat(i,[Object(x.a)("core/paragraph",{content:t})]))}:void 0,onMerge:s,onReplace:l,placeholder:f||Object(m.__)("Add text or type / to insert content"),"aria-autocomplete":"list","aria-expanded":p,"aria-owns":y,"aria-activedescendant":w})}))]}}]),t}(v.Component);Object(x.p)("core/paragraph",{title:Object(m.__)("Paragraph"),icon:"editor-paragraph",category:"common",keywords:[Object(m.__)("text")],supports:{className:!1},attributes:{content:{type:"array",source:"children",selector:"p"},align:{type:"string"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},width:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"number"}},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&!e.querySelector("audio, canvas, embed, iframe, img, math, object, svg, video")}}]},merge:function(e,t){return{content:Object(v.concatChildren)(e.content,t.content)}},getEditWrapperProps:function(e){var t=e.width;if(-1!==["wide","full","left","right"].indexOf(t))return{"data-align":t}},edit:B,save:function(e){var t,n=e.attributes,r=n.width,i=n.align,a=n.content,s=n.dropCap,l=n.backgroundColor,c=n.textColor,u=n.fontSize,p=g()((t={},o()(t,"align"+r,r),o()(t,"has-background",l),o()(t,"has-drop-cap",s),t)),f={backgroundColor:l,color:c,fontSize:u,textAlign:i};return wp.element.createElement("p",{style:f,className:p||void 0},a)}}),Object(x.r)("core/paragraph")},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.onReplace,n=u()(Object(f.g)(),function(e){return"common"!==e.category}).map(function(e){var t=e.name,n=e.title,r=e.icon,o=e.keywords,i=void 0===o?[]:o;return{value:t,label:[wp.element.createElement(d.a,{key:"icon",icon:r}),n],keywords:[].concat(l()(i),[n])}});return{className:"blocks-autocompleters__block",triggerPrefix:"/",getOptions:function(){return a.a.resolve(n)},allowContext:function(e,t){return!(/\S/.test(e.toString())||/\S/.test(t.toString()))},onSelect:function(e){t(Object(f.a)(e))}}}function o(){return{className:"blocks-autocompleters__user",triggerPrefix:"@",getOptions:function(){return(new wp.api.collections.Users).fetch().then(function(e){return e.map(function(e){return{value:e,label:[wp.element.createElement("img",{key:"avatar",className:"blocks-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),wp.element.createElement("span",{key:"name",className:"blocks-autocompleters__user-name"},e.name),wp.element.createElement("span",{key:"slug",className:"blocks-autocompleters__user-slug"},e.slug)],keywords:[e.slug,e.name]}})})},allowNode:function(e){return null===e.parentElement.closest("a")},onSelect:function(e){return wp.element.createElement("a",{href:e.link},"@"+e.name)}}}t.a=r,t.b=o;var i=n(219),a=n.n(i),s=n(37),l=n.n(s),c=n(288),u=n.n(c),p=n(798),f=(n.n(p),n(28)),d=n(560)},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.name,n=s()(e,["name"]),r=Object(c.f)(t);if(!r)return null;var o=r.edit||r.save;return Object(l.b)("BlockEdit",wp.element.createElement(o,i()({key:"edit"},n)),e)}var o=n(12),i=n.n(o),a=n(36),s=n.n(a),l=n(429),c=n(28);t.a=r},function(e,t,n){"use strict";var r=n(430),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),p=n(7),f=n.n(p),d=n(8),h=n.n(d),b=n(27),g=n.n(b),m=n(218),v=n.n(m),y=n(2),_=(n.n(y),function(e){function t(){return l()(this,t),f()(this,(t.__proto__||a()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"getChildContext",value:function(){return v()(this.props,o()(this.constructor.childContextTypes))}},{key:"render",value:function(){return this.props.children}}]),t}(y.Component));_.childContextTypes={onUndo:g.a},t.a=_}]);
|
1 |
+
this.wp=this.wp||{},this.wp.blocks=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=623)}([function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t,n){"use strict";var r=n(516),o=(n(417),n(520));n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return o.a})},function(e,t,n){e.exports={default:n(382),__esModule:!0}},function(e,t,n){"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,n){"use strict";t.__esModule=!0;var r=n(232),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=n(168),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(396),i=r(o),a=n(400),s=r(a),l=n(168),c=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},,function(e,t,n){"use strict";t.__esModule=!0;var r=n(149),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){!function(){e.exports=this.React}()},,function(e,t,n){var r=n(99),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(91)("wks"),o=n(67),i=n(16).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r,o;/*!
|
2 |
Copyright (c) 2016 Jed Watson.
|
3 |
Licensed under the MIT License (MIT), see
|
4 |
http://jedwatson.github.io/classnames
|
5 |
*/
|
6 |
+
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){var r=n(16),o=n(12),i=n(41),a=n(34),s=function(e,t,n){var l,c,u,f=e&s.F,p=e&s.G,d=e&s.S,h=e&s.P,b=e&s.B,g=e&s.W,m=p?o:o[t]||(o[t]={}),v=m.prototype,y=p?r:d?r[t]:(r[t]||{}).prototype;p&&(n=t);for(l in n)(c=!f&&y&&void 0!==y[l])&&l in m||(u=c?y[l]:n[l],m[l]=p&&"function"!=typeof y[l]?n[l]:b&&c?i(u,r):g&&y[l]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):h&&"function"==typeof u?i(Function.call,u):u,h&&((m.virtual||(m.virtual={}))[l]=u,e&s.R&&v&&!v[l]&&a(v,l,u)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var o=n(715),i=r(o),a=n(716),s=r(a),l=n(718),c=r(l),u=n(719),f=r(u),p=n(720),d=r(p),h=n(721),b=r(h);t.hover=f.default,t.handleHover=f.default,t.handleActive=d.default,t.loop=b.default;var g=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=(0,i.default)(n),a=(0,s.default)(e,o);return(0,c.default)(a)};t.default=g},function(e,t,n){var r=n(24);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){function n(){}e.exports=n},function(e,t,n){var r=n(23),o=n(139),i=n(97),a=Object.defineProperty;t.f=n(30)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(150),i=n(155);e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?l:s:c&&c in Object(e)?i(e):a(e)}var o=n(32),i=n(151),a=n(152),s="[object Null]",l="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):l(e)}var o=n(253),i=n(285),a=n(44),s=n(11),l=n(290);e.exports=r},function(e,t,n){e.exports=!n(42)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(89);e.exports=r},function(e,t,n){var r=n(15),o=r.Symbol;e.exports=o},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(79),i=n(101);e.exports=r},function(e,t,n){var r=n(26),o=n(53);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(448);n.d(t,"a",function(){return r.a}),n.d(t,"j",function(){return r.c}),n.d(t,"v",function(){return r.d}),n.d(t,"b",function(){return r.b});var o=n(476);n.d(t,"p",function(){return o.a}),n.d(t,"c",function(){return o.b});var i=n(637);n.d(t,"q",function(){return i.a});var a=n(479);n.d(t,"s",function(){return a.a}),n.d(t,"d",function(){return a.b}),n.d(t,"e",function(){return a.c}),n.d(t,"k",function(){return a.f});var s=n(553);n.d(t,"o",function(){return s.a});var l=n(551);n.d(t,"h",function(){return l.a});var c=n(295);n.d(t,"r",function(){return c.g}),n.d(t,"w",function(){return c.j}),n.d(t,"u",function(){return c.i}),n.d(t,"l",function(){return c.d}),n.d(t,"t",function(){return c.h}),n.d(t,"i",function(){return c.c}),n.d(t,"f",function(){return c.a}),n.d(t,"g",function(){return c.b}),n.d(t,"m",function(){return c.e}),n.d(t,"n",function(){return c.f})},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(177),i=n(178),a=n(33);e.exports=r},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(115),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t,n){var r=n(111),o=n(77);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){var r=n(60);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){!function(){e.exports=this.wp.utils}()},function(e,t){function n(e){return e}e.exports=n},function(e,t){e.exports={}},,function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(55),i=1/0;e.exports=r},,function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(182);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(722);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(o).default}});var i=n(564);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(i).default}});var a=n(725);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(a).default}});var s=n(726);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(s).default}});var l=n(728);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(l).default}});var c=n(565);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(c).default}});var u=n(731);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(u).default}})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(140),o=n(92);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(28),i=n(21),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(11),i=n(105),a=n(286),s=n(51);e.exports=r},function(e,t,n){var r=n(77);e.exports=function(e){return Object(r(e))}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(135),o=n(293),i=o(r);e.exports=i},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(157),o=n(21),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n(47),i=n(29),a=n(224),s=n(11);e.exports=r},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=n(248)(!0);n(158)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(327),o=n(204),i=r(o);e.exports=i},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(112);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=r?r(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?i(n,c,u):o(n,c,u)}return n}var o=n(141),i=n(68);e.exports=r},function(e,t){function n(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(255),i=n(256),a=n(257),s=n(258),l=n(259);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(80);e.exports=r},function(e,t,n){var r=n(27),o=r(Object,"create");e.exports=o},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(273);e.exports=r},function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=n(344);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.controls,n=e.children;return wp.element.createElement(o.Fill,{name:"Formatting.Toolbar"},wp.element.createElement(o.Toolbar,{controls:t}),n)}t.a=r;var o=n(1);n.n(o)},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==l||t==a||t==c}var o=n(28),i=n(18),a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){var r=n(26).f,o=n(37),i=n(17)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){function r(e,t,n,a,s){var l=-1,c=e.length;for(n||(n=i),s||(s=[]);++l<c;){var u=e[l];t>0&&n(u)?t>1?r(u,t-1,n,a,s):o(s,u):a||(s[s.length]=u)}return s}var o=n(88),i=n(202);e.exports=r},function(e,t,n){var r=n(24),o=n(16).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(78),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(91)("keys"),o=n(67);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){(function(e){var r=n(15),o=n(243),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||o;e.exports=u}).call(t,n(64)(e))},function(e,t){e.exports=!0},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(56),i=n(48);e.exports=r},function(e,t,n){var r=n(18),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(16),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(44),i=n(142),a=n(113);e.exports=r},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}var r=Object.prototype;e.exports=n},function(e,t,n){n(298);for(var r=n(16),o=n(34),i=n(45),a=n(17)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],f=u&&u.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,n){"use strict";function r(e,t){if("all"===t["data-mce-bogus"])return null;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.hasOwnProperty("data-mce-bogus")?r:G.createElement.apply(void 0,[e,D()(t,function(e,t){return 0===t.indexOf("data-mce-")})].concat(r))}function o(e){return e.childNodes&&1===e.childNodes.length&&"A"===e.childNodes[0].nodeName&&1===e.childNodes[0].text.length&&"\ufeff"===e.childNodes[0].text[0]}function i(e,t){switch(e){case"link":var n=j()(t,function(e){return"a"===e.nodeName.toLowerCase()});return n?{value:n.getAttribute("href")||"",target:n.getAttribute("target")||"",node:n}:{};default:return{}}}var a=n(115),s=n.n(a),l=n(38),c=n.n(l),u=n(10),f=n.n(u),p=n(168),d=(n.n(p),n(4)),h=n.n(d),b=n(5),g=n.n(b),m=n(6),v=n.n(m),y=n(7),_=n.n(y),w=n(8),x=n.n(w),k=n(25),E=n.n(k),O=n(673),C=n.n(O),S=n(66),j=n.n(S),T=n(44),A=n.n(T),P=n(675),R=n.n(P),N=n(305),L=n.n(N),M=n(679),D=n.n(M),B=n(137),I=n.n(B),F=n(124),z=n.n(F),H=n(503),q=n.n(H),U=n(19),K=n.n(U),V=n(555),W=(n.n(V),n(306)),G=(n.n(W),n(2)),$=(n.n(G),n(43)),X=(n.n($),n(1)),Y=(n.n(X),n(680)),Z=(n.n(Y),n(35)),Q=n(681),J=n(683),ee=n(561),te=n(685),ne=n(687),re=$.keycodes.BACKSPACE,oe=$.keycodes.DELETE,ie=$.keycodes.ENTER,ae=["bold","italic","strikethrough","link"],se=function(e){function t(e){g()(this,t);var n=_()(this,(t.__proto__||h()(t)).apply(this,arguments)),r=e.value;return n.onInit=n.onInit.bind(n),n.getSettings=n.getSettings.bind(n),n.onSetup=n.onSetup.bind(n),n.onChange=n.onChange.bind(n),n.onNewBlock=n.onNewBlock.bind(n),n.onFocus=n.onFocus.bind(n),n.onNodeChange=n.onNodeChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.onKeyUp=n.onKeyUp.bind(n),n.changeFormats=n.changeFormats.bind(n),n.onSelectionChange=n.onSelectionChange.bind(n),n.maybePropagateUndo=n.maybePropagateUndo.bind(n),n.onPastePreProcess=n.onPastePreProcess.bind(n),n.onPaste=n.onPaste.bind(n),n.state={formats:{},empty:!r||!r.length,selectedNodeId:0},n}return x()(t,e),v()(t,[{key:"getSettings",value:function(e){return(this.props.getSettings||A.a)(f()({},e,{forced_root_block:this.props.multiline||!1}))}},{key:"onSetup",value:function(e){var t=this;this.editor=e,ne.a.forEach(function(n){e.on(n,t.proxyPropHandler(n))}),e.on("init",this.onInit),e.on("focusout",this.onChange),e.on("NewBlock",this.onNewBlock),e.on("focusin",this.onFocus),e.on("nodechange",this.onNodeChange),e.on("keydown",this.onKeyDown),e.on("keyup",this.onKeyUp),e.on("selectionChange",this.onSelectionChange),e.on("BeforeExecCommand",this.maybePropagateUndo),e.on("PastePreProcess",this.onPastePreProcess,!0),e.on("paste",this.onPaste,!0),te.a.apply(this,[e]),this.props.onSetup&&this.props.onSetup(e)}},{key:"proxyPropHandler",value:function(e){var t=this;return function(n){"Focus"!==e&&"function"==typeof t.props["on"+e]&&t.props["on"+e](n)}}},{key:"onInit",value:function(){this.updateFocus(),this.registerCustomFormatters()}},{key:"adaptFormatter",value:function(e){switch(e.type){case"inline-style":return{inline:"span",styles:f()({},e.style)}}}},{key:"registerCustomFormatters",value:function(){var e=this;L()(this.props.formatters,function(t){e.editor.formatter.register(t.format,e.adaptFormatter(t))})}},{key:"onFocus",value:function(){this.props.onFocus&&this.props.onFocus()}},{key:"isActive",value:function(){return document.activeElement===this.editor.getBody()}},{key:"onSelectionChange",value:function(){if(this.isActive()){var e=this.editor.selection.isCollapsed();this.setState({empty:q.a.DOM.isEmpty(this.editor.getBody())}),this.props.focus&&this.props.onFocus&&this.props.focus.collapsed!==e&&this.props.onFocus(f()({},this.props.focus,{collapsed:e}))}}},{key:"maybePropagateUndo",value:function(e){var t=this.context.onUndo;t&&"Undo"===e.command&&!this.editor.undoManager.hasUndo()&&C()(t)}},{key:"onPaste",value:function(e){var t=this,n=e.clipboardData||e.dataTransfer||this.editor.getDoc().dataTransfer,r=n.items,o=void 0===r?[]:r,i=n.files,a=void 0===i?[]:i,s=j()([].concat(c()(o),c()(a)),function(e){return/^image\/(?:jpe?g|png|gif)$/.test(e.type)});if(s){var l=s.getAsFile?s.getAsFile():s,u=this.editor.getBody(),f=this.editor.dom.isEmpty(u),p=Object(Z.q)({HTML:'<img src="'+Object($.createBlobURL)(l)+'">',mode:"BLOCKS",tagName:this.props.tagName});window.console.log("Received item:\n\n",l),f&&this.props.onReplace?setTimeout(function(){return t.props.onReplace(p)}):setTimeout(function(){return t.splitContent(p)}),e.preventDefault()}this.pastedPlainText=n?n.getData("text/plain"):"",this.isPlainTextPaste=n&&1===n.types.length&&"text/plain"===n.types[0]}},{key:"onPastePreProcess",value:function(e){var t=this.isPlainTextPaste?this.pastedPlainText:e.content;if(window.console.log("Received HTML:\n\n",t),window.console.log("Received plain text:\n\n",this.pastedPlainText),!this.editor.selection.isCollapsed()){var n=/^(?:https?:)?\/\/\S+$/i,r=e.content.replace(/<[^>]+>/g,"").trim(),o=this.editor.selection.getContent().replace(/<[^>]+>/g,"").trim();if(n.test(r)&&!n.test(o))return this.editor.execCommand("mceInsertLink",!1,{href:this.editor.dom.decode(r)}),window.console.log("Created link:\n\n",r),void e.preventDefault()}var i=this.editor.getBody(),a=this.editor.dom.isEmpty(i),s="INLINE";a&&this.props.onReplace?s="BLOCKS":this.props.onSplit&&(s="AUTO");var l=Object(Z.q)({HTML:t,plainText:this.pastedPlainText,mode:s,tagName:this.props.tagName});if("string"==typeof l)e.content=l;else if(this.props.onSplit){if(e.preventDefault(),!l.length)return;a&&this.props.onReplace?this.props.onReplace(l):this.splitContent(l)}}},{key:"fireChange",value:function(){this.savedContent=this.getContent(),this.editor.save(),this.props.onChange(this.savedContent)}},{key:"onChange",value:function(){this.editor.isDirty()&&this.fireChange()}},{key:"getEditorSelectionRect",value:function(){var e=this.editor.selection.getRng();if(e.collapsed){var t=e,n=t.startContainer,r=t.startOffset;e=document.createRange(),n.nodeValue&&0!==n.nodeValue.length?r===n.nodeValue.length?(e.setStart(n,n.nodeValue.length-1),e.setEnd(n,n.nodeValue.length)):(e.setStart(n,r),e.setEnd(n,r+1)):e.selectNode(n)}return e.getBoundingClientRect()}},{key:"getFocusPosition",value:function(){var e=this.getEditorSelectionRect(),t=this.props.inlineToolbar?this.editor.getBody().closest(".blocks-editable"):this.editor.getBody().closest(".editor-block-list__block"),n=t.getBoundingClientRect(),r=this.props.inlineToolbar?{top:10,left:0}:{top:0,left:-46};return{top:e.top-n.top+e.height+r.top,left:e.left-n.left-152.5+e.width/2+r.left}}},{key:"isStartOfEditor",value:function(){var e=this.editor.selection.getRng();if(0!==e.startOffset||!e.collapsed)return!1;for(var t=e.startContainer,n=this.editor.getBody(),r=t;r!==n;){var o=r;if(r=r.parentNode,r.firstChild!==o)return!1}return!0}},{key:"isEndOfEditor",value:function(){var e=this.editor.selection.getRng();if(e.endOffset!==e.endContainer.textContent.length||!e.collapsed)return!1;for(var t=e.endContainer,n=this.editor.getBody(),r=t;r!==n;){var o=r;if(r=r.parentNode,r.lastChild!==o)return!1}return!0}},{key:"onKeyDown",value:function(e){var t=this.editor.dom,n=this.editor.getBody();if(e.keyCode===re&&this.isStartOfEditor()||e.keyCode===oe&&this.isEndOfEditor()){if(!this.props.onMerge&&!this.props.onRemove)return;this.fireChange();var o=e.keyCode===oe;this.props.onMerge&&this.props.onMerge(o),this.props.onRemove&&t.isEmpty(n)&&this.props.onRemove(o),e.preventDefault(),e.stopImmediatePropagation()}if(e.keyCode===ie)if(this.props.multiline){if(!this.props.onSplit)return;var i=this.editor.selection.getNode();if(i.parentNode!==n)return;if(!t.isEmpty(i))return;e.preventDefault();var a=s()(n.childNodes),l=t.nodeIndex(i),c=a.slice(0,l),u=a.slice(l+1),f=Object(V.nodeListToReact)(c,r),p=Object(V.nodeListToReact)(u,r);this.setContent(f),this.props.onSplit(f,p)}else e.preventDefault(),e.shiftKey||!this.props.onSplit?this.editor.execCommand("InsertLineBreak",!1,e):(e.stopImmediatePropagation(),this.splitContent())}},{key:"onKeyUp",value:function(e){e.keyCode===re&&this.onSelectionChange()}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.editor.dom,n=this.editor.getBody(),i=t.createRng(),a=t.createRng(),s=this.editor.selection.getRng();if(n.childNodes.length){var l;i.setStart(n,0),i.setEnd(s.startContainer,s.startOffset),a.setStart(s.endContainer,s.endOffset),a.setEnd(n,t.nodeIndex(n.lastChild)+1);var u=i.extractContents(),f=a.extractContents(),p=Object(V.nodeListToReact)(u.childNodes,r),d=o(f)?[]:Object(V.nodeListToReact)(f.childNodes,r);this.setContent(p),(l=this.props).onSplit.apply(l,[p,d].concat(c()(e)))}else{var h;this.setContent([]),(h=this.props).onSplit.apply(h,[[],[]].concat(c()(e)))}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=s()(this.editor.getBody().childNodes),t=this.editor.selection.getStart();-1===e.indexOf(t)&&t.parentNode;)t=t.parentNode;var n=e.indexOf(t);if(-1!==n){var o=e.slice(0,n),i=z()(o);if(!(!i||o.length<2||i.textContent)){var a=o.slice(0,o.length-1),l=e.slice(n).reduce(function(e,t){return e.length||t.textContent?(e.push(t),e):e},[]);this.setContent(this.props.value),this.props.onSplit(Object(V.nodeListToReact)(a,r),Object(V.nodeListToReact)(l,r))}}}}},{key:"onNodeChange",value:function(e){var t=e.parents,n=this.props.formattingControls,r=this.editor.formatter.matchAll(n).reduce(function(e,n){return e[n]=f()({isActive:!0},i(n,t)),e},{}),o=this.getFocusPosition();this.setState({formats:r,focusPosition:o,selectedNodeId:this.state.selectedNodeId+1})}},{key:"updateContent",value:function(){var e=this.editor.selection.getBookmark(2,!0);this.savedContent=this.props.value,this.setContent(this.savedContent),this.editor.selection.moveToBookmark(e),this.editor.save()}},{key:"setContent",value:function(e){e||(e=""),e=Object(G.renderToString)(e),this.editor.setContent(e,{format:"raw"})}},{key:"getContent",value:function(){return Object(V.nodeListToReact)(this.editor.getBody().childNodes||[],r)}},{key:"updateFocus",value:function(){if(this.editor){var e=this.props.focus,t=this.isActive();e?(t||this.editor.focus(),-1!==e.offset||this.isEndOfEditor()||(this.editor.selection.select(this.editor.getBody(),!0),this.editor.selection.collapse(!1))):t&&this.editor.getBody().blur()}}},{key:"componentWillUnmount",value:function(){this.onChange()}},{key:"componentDidUpdate",value:function(e){I()(this.props.focus,e.focus)||this.updateFocus(),this.props.tagName!==e.tagName||this.props.value===e.value||this.props.value===this.savedContent||I()(this.props.value,e.value)||I()(this.props.value,this.savedContent)||this.updateContent()}},{key:"componentWillReceiveProps",value:function(e){}},{key:"isFormatActive",value:function(e){return this.state.formats[e]&&this.state.formats[e].isActive}},{key:"removeFormat",value:function(e){this.editor.focus(),this.editor.formatter.remove(e)}},{key:"applyFormat",value:function(e,t,n){this.editor.focus(),this.editor.formatter.apply(e,t,n)}},{key:"changeFormats",value:function(e){var t=this;L()(e,function(e,n){if("link"===n)if(void 0!==e){var r=t.editor.dom.getParent(t.editor.selection.getNode(),"a");r||t.removeFormat("link"),t.applyFormat("link",{href:e.value,target:e.target},r)}else t.editor.execCommand("Unlink");else{var o=t.isFormatActive(n);o&&!e?t.removeFormat(n):!o&&e&&t.applyFormat(n)}}),this.setState(function(t){return{formats:R()({},t.formats,e)}}),this.editor.setDirty(!0)}},{key:"render",value:function(){var e=this.props,t=e.tagName,n=void 0===t?"div":t,r=e.style,o=e.value,i=e.focus,a=e.wrapperClassName,s=e.className,l=e.inlineToolbar,c=void 0!==l&&l,u=e.formattingControls,p=e.placeholder,d=e.multiline,h=e.keepPlaceholderOnFocus,b=void 0!==h&&h,g=e.formatters,m=Object(ee.b)(this.props),v=["editor",n].join(),y=p&&(!i||b)&&this.state.empty,_=K()(a,"blocks-editable"),w=wp.element.createElement(Q.a,{selectedNodeId:this.state.selectedNodeId,focusPosition:this.state.focusPosition,formats:this.state.formats,onChange:this.changeFormats,enabledControls:u,customControls:g});return wp.element.createElement("div",{className:_},i&&wp.element.createElement(X.Fill,{name:"Formatting.Toolbar"},!c&&w),i&&c&&wp.element.createElement("div",{className:"block-editable__inline-toolbar"},w),wp.element.createElement(J.a,f()({tagName:n,getSettings:this.getSettings,onSetup:this.onSetup,style:r,defaultValue:o,isPlaceholderVisible:y,"aria-label":p},m,{className:s,key:v})),y&&wp.element.createElement(n,{className:K()("blocks-editable__tinymce",s),style:r},d?wp.element.createElement(d,null,p):p),i&&wp.element.createElement(X.Slot,{name:"Editable.Siblings"}))}}]),t}(G.Component);t.a=se,se.contextTypes={onUndo:E.a},se.defaultProps={formattingControls:ae,formatters:[]}},function(e,t,n){var r=n(24);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(58))},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(71),i=n(260),a=n(261),s=n(262),l=n(263),c=n(264);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=l,r.prototype.set=c,e.exports=r},function(e,t,n){var r=n(27),o=n(15),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(265),i=n(272),a=n(274),s=n(275),l=n(276);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(11),i=n(55),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){function r(e){return"string"==typeof e||!i(e)&&a(e)&&o(e)==s}var o=n(28),i=n(11),a=n(21),s="[object String]";e.exports=r},function(e,t,n){e.exports=n(380)()},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(60);e.exports.f=function(e){return new r(e)}},,,function(e,t,n){var r=n(50);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(27),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(201),o=n(156),i=o(r);e.exports=i},function(e,t,n){var r=n(244),o=n(130),i=n(245),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){e.exports={default:n(247),__esModule:!0}},function(e,t,n){var r=n(117),o=n(17)("iterator"),i=n(45);e.exports=n(12).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(50),o=n(17)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,s))}var o=n(277),i=n(21);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n(145),i=n(328),a=n(29),s=n(11);e.exports=r},function(e,t,n){function r(e,t,n,r){e=i(e)?e:l(e),n=n&&!r?s(n):0;var u=e.length;return n<0&&(n=c(u+n,0)),a(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&o(e,t,n)>-1}var o=n(227),i=n(33),a=n(106),s=n(75),l=n(347),c=Math.max;e.exports=r},function(e,t){function n(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){"use strict";t.__esModule=!0;var r=n(232),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e){function t(e){return function(){return r(n===e?void 0:e)}}var n=e.value,r=e.onChange,o=e.controls,a=void 0===o?c:o,f=e.wideControlsEnabled,p=void 0!==f&&f,d=p?a:a.filter(function(e){return-1===u.indexOf(e)});return wp.element.createElement(s.Toolbar,{controls:d.map(function(e){return i()({},l[e],{isActive:n===e,onClick:t(e)})})})}var o=n(10),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),{left:{icon:"align-left",title:Object(a.__)("Align left")},center:{icon:"align-center",title:Object(a.__)("Align center")},right:{icon:"align-right",title:Object(a.__)("Align right")},wide:{icon:"align-wide",title:Object(a.__)("Wide width")},full:{icon:"align-full-width",title:Object(a.__)("Full width")}}),c=["left","center","right","wide","full"],u=["wide","full"];t.a=Object(s.withContext)("editor")(function(e){return{wideControlsEnabled:e.alignWide}})(r)},,function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(80),i=n(33),a=n(70),s=n(18);e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){var r=n(23),o=n(250),i=n(92),a=n(85)("IE_PROTO"),s=function(){},l=function(){var e,t=n(83)("iframe"),r=i.length;for(t.style.display="none",n(159).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(145),o=n(188),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return a.call(e,t)}))}:o;e.exports=l},function(e,t,n){var r=n(282),o=n(103),i=n(283),a=n(203),s=n(134),l=n(28),c=n(100),u=c(r),f=c(o),p=c(i),d=c(a),h=c(s),b=l;(r&&"[object DataView]"!=b(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=b(new o)||i&&"[object Promise]"!=b(i.resolve())||a&&"[object Set]"!=b(new a)||s&&"[object WeakMap]"!=b(new s))&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=b},function(e,t,n){var r=n(27),o=n(15),i=r(o,"WeakMap");e.exports=i},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(225),i=n(36);e.exports=r},function(e,t,n){function r(e){return a(i(e,void 0,o),e+"")}var o=n(209),i=n(142),a=n(113);e.exports=r},function(e,t,n){function r(e,t){return o(e,t)}var o=n(118);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.children;return wp.element.createElement(o.Fill,{name:"Inspector.Controls"},t)}t.a=r;var o=n(1),i=(n.n(o),n(231)),a=n(652),s=n(654),l=n(302),c=n(379),u=n(558),f=n(659),p=n(215);r.BaseControl=i.a,r.CheckboxControl=a.a,r.RadioControl=s.a,r.RangeControl=l.a,r.SelectControl=c.a,r.TextControl=u.a,r.TextareaControl=f.a,r.ToggleControl=p.a},function(e,t,n){e.exports=!n(30)&&!n(42)(function(){return 7!=Object.defineProperty(n(83)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(37),o=n(39),i=n(199)(!1),a=n(85)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(68),i=n(80),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),l=Array(s);++a<s;)l[a]=r[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=r[a];return c[t]=n(l),o(e,this,c)}}var o=n(128),i=Math.max;e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(104),i=n(278),a=n(279);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t){function n(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(370),i=r(o),a=n(332),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},,function(e,t,n){e.exports={default:n(196),__esModule:!0}},function(e,t,n){function r(e){return!(!a(e)||i(e))&&(o(e)?h:c).test(s(e))}var o=n(79),i=n(153),a=n(18),s=n(100),l=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,u=Function.prototype,f=Object.prototype,p=u.toString,d=f.hasOwnProperty,h=RegExp("^"+p.call(d).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=n(32),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,l=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t,n){function r(e){return!!i&&i in e}var o=n(154),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t,n){var r=n(15),o=r["__core-js_shared__"];e.exports=o},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(28),i=n(21),a="[object Arguments]";e.exports=r},function(e,t,n){"use strict";var r=n(87),o=n(20),i=n(180),a=n(34),s=n(37),l=n(45),c=n(249),u=n(81),f=n(181),p=n(17)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,b,g,m,v){c(n,t,b);var y,_,w,x=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",E="values"==g,O=!1,C=e.prototype,S=C[p]||C["@@iterator"]||g&&C[g],j=!d&&S||x(g),T=g?E?x("entries"):j:void 0,A="Array"==t?C.entries||S:S;if(A&&(w=f(A.call(new e)))!==Object.prototype&&w.next&&(u(w,k,!0),r||s(w,p)||a(w,p,h)),E&&S&&"values"!==S.name&&(O=!0,j=function(){return S.call(this)}),r&&!v||!d&&!O&&C[p]||a(C,p,j),l[t]=j,l[k]=h,g)if(y={values:E?j:x("values"),keys:m?j:x("keys"),entries:T},v)for(_ in y)_ in C||i(C,_,y[_]);else o(o.P+o.F*(d||O),t,y);return y}},function(e,t,n){var r=n(16).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(23);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(45),o=n(17)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(17)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){function r(e,t,n,r,c,u){var f=n&s,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=u.get(e);if(h&&u.get(t))return h==t;var b=-1,g=!0,m=n&l?new o:void 0;for(u.set(e,t),u.set(t,e);++b<p;){var v=e[b],y=t[b];if(r)var _=f?r(y,v,b,t,e,u):r(v,y,b,e,t,u);if(void 0!==_){if(_)continue;g=!1;break}if(m){if(!i(t,function(e,t){if(!a(m,t)&&(v===e||c(v,e,n,r,u)))return m.push(t)})){g=!1;break}}else if(v!==y&&!c(v,y,n,r,u)){g=!1;break}}return u.delete(e),u.delete(t),g}var o=n(143),i=n(183),a=n(144),s=1,l=2;e.exports=r},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(18);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){var r=n(179),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n(184);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(386),i=r(o),a=n(388),s=r(a),l="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===l(i.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){t.f=n(17)},function(e,t,n){var r=n(16),o=n(12),i=n(87),a=n(169),s=n(26).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(23),o=n(60),i=n(17)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(41),s=n(314),l=n(159),c=n(83),u=n(16),f=u.process,p=u.setImmediate,d=u.clearImmediate,h=u.MessageChannel,b=u.Dispatch,g=0,m={},v=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},y=function(e){v.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},d=function(e){delete m[e]},"process"==n(50)(f)?r=function(e){f.nextTick(a(v,e,1))}:b&&b.now?r=function(e){b.now(a(v,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=y,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:p,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(23),o=n(24),i=n(108);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){!function(){e.exports=this.moment}()},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),u=!n&&!r&&s(e),p=!n&&!r&&!u&&c(e),d=n||r||u||p,h=d?o(e.length,String):[],b=h.length;for(var g in e)!t&&!f.call(e,g)||d&&("length"==g||u&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||l(g,b))||h.push(g);return h}var o=n(220),i=n(61),a=n(11),s=n(86),l=n(70),c=n(114),u=Object.prototype,f=u.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(94),i=n(246),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){e.exports=n(34)},function(e,t,n){var r=n(37),o=n(57),i=n(85)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(s(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var o=n(32),i=n(47),a=n(11),s=n(55),l=1/0,c=o?o.prototype:void 0,u=c?c.toString:void 0;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){var r=n(15),o=r.Uint8Array;e.exports=o},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t,n){function r(e){return o(e,a,i)}var o=n(187),i=n(132),a=n(36);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(88),i=n(11);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(289),i=n(222);e.exports=r},function(e,t,n){function r(e,t,n){var r=s(e)?o:a;return n&&l(e,t,n)&&(t=void 0),r(e,i(t,3))}var o=n(183),i=n(29),a=n(350),s=n(11),l=n(129);e.exports=r},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(177),i=n(354),a=n(33);e.exports=r},function(e,t){},function(e,t,n){"use strict";function r(e){if(!Object(a.a)(e)||Object(o.a)(e)!=s)return!1;var t=Object(i.a)(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==p}var o=n(418),i=n(423),a=n(425),s="[object Object]",l=Function.prototype,c=Object.prototype,u=l.toString,f=c.hasOwnProperty,p=u.call(Object);t.a=r},,,function(e,t,n){n(197),e.exports=n(12).Object.assign},function(e,t,n){var r=n(20);r(r.S+r.F,"Object",{assign:n(198)})},function(e,t,n){"use strict";var r=n(54),o=n(98),i=n(63),a=n(57),s=n(111),l=Object.assign;e.exports=!l||n(42)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=o.f,f=i.f;l>c;)for(var p,d=s(arguments[c++]),h=u?r(d).concat(u(d)):r(d),b=h.length,g=0;b>g;)f.call(d,p=h[g++])&&(n[p]=d[p]);return n}:l},function(e,t,n){var r=n(39),o=n(84),i=n(200);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(78),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(176),o=n(112),i=n(44),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(32),i=n(61),a=n(11),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(27),o=n(15),i=r(o,"Set");e.exports=i},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:a(n);return l<0&&(l=s(r+l,0)),o(e,i(t,3),l)}var o=n(205),i=n(29),a=n(75),s=Math.max;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t,n){function r(e,t,n){var r=l(e)?o:s,c=arguments.length<3;return r(e,a(t,4),n,c,i)}var o=n(122),i=n(59),a=n(29),s=n(349),l=n(11);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=n},function(e,t,n){function r(e){return o(e,a,i)}var o=n(187),i=n(228),a=n(191);e.exports=r},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,1):[]}var o=n(82);e.exports=r},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(68),i=n(135),a=n(29);e.exports=r},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&o(e,t,0)>-1}var o=n(227);e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(33),i=n(21);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}e.exports=n},function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||f(e)||a(e)))return!e.length;var t=i(e);if(t==p||t==d)return!e.size;if(u(e))return!o(e).length;for(var n in e)if(b.call(e,n))return!1;return!0}var o=n(178),i=n(133),a=n(61),s=n(11),l=n(33),c=n(86),u=n(94),f=n(114),p="[object Map]",d="[object Set]",h=Object.prototype,b=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.checked,r=e.help,a=e.instanceId,s=e.onChange,l="inspector-toggle-control-"+a;return wp.element.createElement(i.a,{label:t,id:l,help:r,className:"blocks-toggle-control"},wp.element.createElement(o.FormToggle,{id:l,checked:n,onChange:s,"aria-describedby":r?l+"__help":void 0}))}var o=n(1),i=(n.n(o),n(231)),a=n(661);n.n(a);t.a=Object(o.withInstanceId)(r)},function(e,t,n){e.exports={default:n(310),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var o=n(511),i=r(o),a=n(730),s=r(a);t.default={simpleCheckForValidColor:function(e){var t=["r","g","b","a","h","s","a","v"],n=0,r=0;return(0,i.default)(t,function(t){e[t]&&(n+=1,isNaN(e[t])||(r+=1))}),n===r&&e},toState:function(e,t){var n=e.hex?(0,s.default)(e.hex):(0,s.default)(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}},isValidHex:function(e){return(0,s.default)(e).isValid()}};t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},,,function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,u=t.length,f=!1;++r<u;){var p=c(t[r]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++r!=u?f:!!(u=null==e?0:e.length)&&l(u)&&s(p,u)&&(a(e)||i(e))}var o=n(56),i=n(61),a=n(11),s=n(70),l=n(101),c=n(48);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e,t){var n=-1,r=i(e)?Array(e.length):[];return o(e,function(e,o,i){r[++n]=t(e,o,i)}),r}var o=n(59),i=n(33);e.exports=r},function(e,t,n){var r=n(292),o=r();e.exports=o},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=c.test(e);return n||u.test(e)?f(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n(18),i=n(55),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(205),i=n(345),a=n(346);e.exports=r},function(e,t,n){var r=n(88),o=n(166),i=n(132),a=n(188),s=Object.getOwnPropertySymbols,l=s?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=l},function(e,t,n){function r(e,t,n,r){var f=-1,p=i,d=!0,h=e.length,b=[],g=t.length;if(!h)return b;n&&(t=s(t,l(n))),r?(p=a,d=!1):t.length>=u&&(p=c,d=!1,t=new o(t));e:for(;++f<h;){var m=e[f],v=null==n?m:n(m);if(m=r||0!==m?m:0,d&&v===v){for(var y=g;y--;)if(t[y]===v)continue e;b.push(m)}else p(t,v,r)||b.push(m)}return b}var o=n(143),i=n(211),a=n(301),s=n(47),l=n(130),c=n(144),u=200;e.exports=r},function(e,t,n){var r=n(20),o=n(12),i=n(42);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";function r(e){var t=e.id,n=e.label,r=e.help,o=e.className,a=e.children;return wp.element.createElement("div",{className:i()("blocks-base-control",o)},n&&wp.element.createElement("label",{className:"blocks-base-control__label",htmlFor:t},n),a,!!r&&wp.element.createElement("p",{id:t+"__help",className:"blocks-base-control__help"},r))}var o=n(19),i=n.n(o),a=n(651);n.n(a);t.a=r},function(e,t,n){e.exports={default:n(384),__esModule:!0}},function(e,t,n){var r=n(140),o=n(92).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(63),o=n(53),i=n(39),a=n(97),s=n(37),l=n(139),c=Object.getOwnPropertyDescriptor;t.f=n(30)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(414),o=n(136),i=o(function(e,t){return null==e?{}:r(e,t)});e.exports=i},function(e,t,n){"use strict";var r=n(237),o=n(429),i=n(430);n(431),n(240),n(239);n.d(t,"c",function(){return r.b}),n.d(t,"b",function(){return o.a}),n.d(t,"a",function(){return i.a})},function(e,t,n){"use strict";function r(e,t,n){function i(){m===g&&(m=g.slice())}function l(){return b}function c(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return i(),m.push(e),function(){if(t){t=!1,i();var n=m.indexOf(e);m.splice(n,1)}}}function u(e){if(!Object(o.a)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(v)throw new Error("Reducers may not dispatch actions.");try{v=!0,b=h(b,e)}finally{v=!1}for(var t=g=m,n=0;n<t.length;n++){(0,t[n])()}return e}function f(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");h=e,u({type:s.INIT})}function p(){var e,t=c;return e={subscribe:function(e){function n(){e.next&&e.next(l())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");return n(),{unsubscribe:t(n)}}},e[a.a]=function(){return this},e}var d;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(r)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var h=e,b=t,g=[],m=g,v=!1;return u({type:s.INIT}),d={dispatch:u,subscribe:c,getState:l,replaceReducer:f},d[a.a]=p,d}n.d(t,"a",function(){return s}),t.b=r;var o=n(193),i=n(426),a=n.n(i),s={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";var r=n(419),o=r.a.Symbol;t.a=o},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}t.a=r},,,function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!s[o(e)]}var o=n(28),i=n(101),a=n(21),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){(function(e){var r=n(99),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,l=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,n(64)(e))},function(e,t,n){var r=n(179),o=r(Object.keys,Object);e.exports=o},function(e,t,n){n(65),n(251),e.exports=n(12).Array.from},function(e,t,n){var r=n(78),o=n(77);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(131),o=n(53),i=n(81),a={};n(34)(a,n(17)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(26),o=n(23),i=n(54);e.exports=n(30)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){"use strict";var r=n(41),o=n(20),i=n(57),a=n(160),s=n(161),l=n(84),c=n(252),u=n(116);o(o.S+o.F*!n(162)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,b=h>1?arguments[1]:void 0,g=void 0!==b,m=0,v=u(p);if(g&&(b=r(b,h>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(t=l(p.length),n=new d(t);t>m;m++)c(n,m,g?b(p[m],m):p[m]);else for(f=v.call(p),n=new d;!(o=f.next()).done;m++)c(n,m,g?a(f,b,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){"use strict";var r=n(26),o=n(53);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(254),i=n(284),a=n(165);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,c=l,u=!r;if(null==e)return!c;for(e=Object(e);l--;){var f=n[l];if(u&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++l<c;){f=n[l];var p=f[0],d=e[p],h=f[1];if(u&&f[2]){if(void 0===d&&!(p in e))return!1}else{var b=new o;if(r)var g=r(d,h,p,e,t,b);if(!(void 0===g?i(h,d,a|s,r,b):g))return!1}}return!0}var o=n(102),i=n(118),a=1,s=2;e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(72),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(72);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(72);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(72);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(71);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(71),i=n(103),a=n(104),s=200;e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(266),i=n(71),a=n(103);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(267),i=n(268),a=n(269),s=n(270),l=n(271);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(73);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return s.call(t,e)?t[e]:void 0}var o=n(73),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(73),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(73),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(74);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(74);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(74);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(74);e.exports=r},function(e,t,n){function r(e,t,n,r,g,v){var y=c(e),_=c(t),w=y?h:l(e),x=_?h:l(t);w=w==d?b:w,x=x==d?b:x;var k=w==b,E=x==b,O=w==x;if(O&&u(e)){if(!u(t))return!1;y=!0,k=!1}if(O&&!k)return v||(v=new o),y||f(e)?i(e,t,n,r,g,v):a(e,t,w,n,r,g,v);if(!(n&p)){var C=k&&m.call(e,"__wrapped__"),S=E&&m.call(t,"__wrapped__");if(C||S){var j=C?e.value():e,T=S?t.value():t;return v||(v=new o),g(j,T,n,r,v)}}return!!O&&(v||(v=new o),s(e,t,n,r,g,v))}var o=n(102),i=n(163),a=n(280),s=n(281),l=n(133),c=n(11),u=n(86),f=n(114),p=1,d="[object Arguments]",h="[object Array]",b="[object Object]",g=Object.prototype,m=g.hasOwnProperty;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t,n,r,o,k,O){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!k(new i(e),new i(t)));case p:case d:case g:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case b:var C=l;case v:var S=r&u;if(C||(C=c),e.size!=t.size&&!S)return!1;var j=O.get(e);if(j)return j==t;r|=f,O.set(e,t);var T=s(C(e),C(t),r,o,k,O);return O.delete(e),T;case _:if(E)return E.call(e)==E.call(t)}return!1}var o=n(32),i=n(184),a=n(80),s=n(163),l=n(185),c=n(119),u=1,f=2,p="[object Boolean]",d="[object Date]",h="[object Error]",b="[object Map]",g="[object Number]",m="[object RegExp]",v="[object Set]",y="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",k=o?o.prototype:void 0,E=k?k.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,l){var c=n&i,u=o(e),f=u.length;if(f!=o(t).length&&!c)return!1;for(var p=f;p--;){var d=u[p];if(!(c?d in t:s.call(t,d)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var b=!0;l.set(e,t),l.set(t,e);for(var g=c;++p<f;){d=u[p];var m=e[d],v=t[d];if(r)var y=c?r(v,m,d,t,e,l):r(m,v,d,e,t,l);if(!(void 0===y?m===v||a(m,v,n,r,l):y)){b=!1;break}g||(g="constructor"==d)}if(b&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(b=!1)}return l.delete(e),l.delete(t),b}var o=n(186),i=1,a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(27),o=n(15),i=r(o,"DataView");e.exports=i},function(e,t,n){var r=n(27),o=n(15),i=r(o,"Promise");e.exports=i},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(164),i=n(36);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&l(t)?c(u(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,f|p)}}var o=n(118),i=n(31),a=n(189),s=n(105),l=n(164),c=n(165),u=n(48),f=1,p=2;e.exports=r},function(e,t,n){var r=n(287),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(288),i=500;e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(104),i="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n(223),i=n(291),a=n(105),s=n(48);e.exports=r},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(89);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}e.exports=n},function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==r(s[a],a,s););return n}}var o=n(33);e.exports=r},function(e,t,n){function r(){if(!arguments.length)return[];var e=arguments[0];return o(e)?e:[e]}var o=n(11);e.exports=r},function(e,t,n){"use strict";function r(e,t){return t=g()({name:e},x()(window._wpBlocks,e),t),"string"!=typeof e?void console.error("Block names must be strings."):/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e)?t&&_()(t.save)?"edit"in t&&!_()(t.edit)?void console.error('The "edit" property must be a valid function.'):O[e]?void console.error('Block "'+e+'" is already registered.'):"keywords"in t&&t.keywords.length>3?void console.error('The block "'+e+'" can have a maximum of 3 keywords.'):"category"in t?"category"in t&&!v()(C,{slug:t.category})?void console.error('The block "'+e+'" must have a registered category.'):"title"in t&&""!==t.title?"string"!=typeof t.title?void console.error("Block titles must be strings."):(t.icon||(t.icon="block-default"),t=Object(k.applyFilters)("blocks.registerBlockType",t,e),O[e]=t):void console.error('The block "'+e+'" must have a title.'):void console.error('The block "'+e+'" must have a category.'):void console.error('The "save" property must be specified and must be a valid function.'):void console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block")}function o(e){if(!O[e])return void console.error('Block "'+e+'" is not registered.');var t=O[e];return delete O[e],t}function i(e){S=e}function a(){return S}function s(e){j=e}function l(){return j}function c(e){return O[e]}function u(){return h()(O)}function f(e,t,n){var r="string"==typeof e?c(e):e;return!!x()(r,["supports",t],n)}function p(e){return"core/block"===e.name}t.g=r,t.j=o,t.i=i,t.d=a,t.h=s,t.c=l,t.a=c,t.b=u,t.e=f,t.f=p;var d=n(451),h=n.n(d),b=n(10),g=n.n(b),m=n(190),v=n.n(m),y=n(79),_=n.n(y),w=n(31),x=n.n(w),k=n(221),E=(n.n(k),n(551)),O={},C=Object(E.a)(),S=void 0,j=void 0},function(e,t,n){function r(e,t,n,P,R,N){var L,M=t&k,D=t&E,B=t&O;if(n&&(L=R?n(e,P,R,N):n(e)),void 0!==L)return L;if(!w(e))return e;var I=y(e);if(I){if(L=g(e),!M)return u(e,L)}else{var F=b(e),z=F==S||F==j;if(_(e))return c(e,M);if(F==T||F==C||z&&!R){if(L=D||z?{}:v(e),!M)return D?p(e,l(L,e)):f(e,s(L,e))}else{if(!A[F])return R?e:{};L=m(e,F,r,M)}}N||(N=new o);var H=N.get(e);if(H)return H;N.set(e,L);var q=B?D?h:d:D?keysIn:x,U=I?void 0:q(e);return i(U||e,function(o,i){U&&(i=o,o=e[i]),a(L,i,r(o,t,n,i,e,N))}),L}var o=n(102),i=n(207),a=n(141),s=n(352),l=n(353),c=n(329),u=n(123),f=n(356),p=n(357),d=n(186),h=n(208),b=n(133),g=n(358),m=n(359),v=n(331),y=n(11),_=n(86),w=n(18),x=n(36),k=1,E=2,O=4,C="[object Arguments]",S="[object Function]",j="[object GeneratorFunction]",T="[object Object]",A={};A[C]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[T]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[S]=A["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==p}var o=n(28),i=n(166),a=n(21),s="[object Object]",l=Function.prototype,c=Object.prototype,u=l.toString,f=c.hasOwnProperty,p=u.call(Object);e.exports=r},function(e,t,n){"use strict";var r=n(299),o=n(300),i=n(45),a=n(39);e.exports=n(158)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.instanceId,o=e.onChange,a=e.beforeIcon,f=e.afterIcon,p=e.help,d=e.allowReset,h=s()(e,["label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset"]),b="inspector-range-control-"+r,g=function(e){return o(Number(e.target.value))};return wp.element.createElement(u.a,{label:t,id:b,help:p,className:"blocks-range-control"},a&&wp.element.createElement(l.Dashicon,{icon:a,size:20}),wp.element.createElement("input",i()({className:"blocks-range-control__slider",id:b,type:"range",value:n,onChange:g,"aria-describedby":p?b+"__help":void 0},h)),f&&wp.element.createElement(l.Dashicon,{icon:f}),wp.element.createElement("input",i()({className:"blocks-range-control__number",type:"number",onChange:g,value:n},h)),d&&wp.element.createElement(l.Button,{onClick:function(){return o()},disabled:void 0===n},Object(c.__)("Reset")))}var o=n(10),i=n.n(o),a=n(40),s=n.n(a),l=n(1),c=(n.n(l),n(0)),u=(n.n(c),n(231)),f=n(656);n.n(f);t.a=Object(l.withInstanceId)(r)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(486);t.default=r.default},function(e,t){function n(e){return r.test(e)}var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=n},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t))}var o=n(207),i=n(59),a=n(403),s=n(11);e.exports=r},function(e,t){!function(e){"function"!=typeof e.matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)++r;return Boolean(n[r])}),"function"!=typeof e.closest&&(e.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window.Element.prototype)},function(e,t,n){function r(e,t,n){function r(t){var n=v,r=y;return v=y=void 0,E=t,w=e.apply(r,n)}function u(e){return E=e,x=setTimeout(d,t),O?r(e):w}function f(e){var n=e-k,r=e-E,o=t-n;return C?c(o,_-r):o}function p(e){var n=e-k,r=e-E;return void 0===k||n>=t||n<0||C&&r>=_}function d(){var e=i();if(p(e))return h(e);x=setTimeout(d,f(e))}function h(e){return x=void 0,S&&v?r(e):(v=y=void 0,w)}function b(){void 0!==x&&clearTimeout(x),E=0,v=k=y=x=void 0}function g(){return void 0===x?w:h(i())}function m(){var e=i(),n=p(e);if(v=arguments,y=this,k=e,n){if(void 0===x)return u(k);if(C)return x=setTimeout(d,t),r(k)}return void 0===x&&(x=setTimeout(d,t)),w}var v,y,_,w,x,k,E=0,O=!1,C=!1,S=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,o(n)&&(O=!!n.leading,C="maxWait"in n,_=C?l(a(n.maxWait)||0,t):_,S="trailing"in n?!!n.trailing:S),m.cancel=b,m.flush=g,m}var o=n(18),i=n(405),a=n(226),s="Expected a function",l=Math.max,c=Math.min;e.exports=r},function(e,t,n){function r(e,t){return function(n,r){var l=s(n)?o:i,c=t?t():{};return l(n,e,a(r,2),c)}}var o=n(412),i=n(413),a=n(29),s=n(11);e.exports=r},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(8),h=n.n(d),b=n(235),g=n.n(b),m=n(2),v=(n.n(m),n(0)),y=(n.n(v),n(1)),w=(n.n(y),function(){return wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery",displaySettings:!1}),new wp.media.controller.GalleryAdd])}})}),x=function(e){var t=["sizes","mime","type","subtype","id","url","alt","link"];return g()(e,t)},k=function(e){function t(e){var n=e.multiple,r=void 0!==n&&n,o=e.type,i=e.gallery,s=void 0!==i&&i,c=e.title,u=void 0===c?Object(v.__)("Select or Upload Media"):c,f=e.modalClass;l()(this,t);var d=p()(this,(t.__proto__||a()(t)).apply(this,arguments));d.openModal=d.openModal.bind(d),d.onSelect=d.onSelect.bind(d),d.onUpdate=d.onUpdate.bind(d),d.onOpen=d.onOpen.bind(d);var h={title:u,button:{text:Object(v.__)("Select")},multiple:r,selection:new wp.media.model.Selection([])};if(o&&(h.library={type:o}),s){var b=w();d.frame=new b({frame:"select",mimeType:o,state:"gallery"}),wp.media.frame=d.frame}else d.frame=wp.media(h);return f&&d.frame.$el.addClass(f),d.frame.on("select",d.onSelect),d.frame.on("update",d.onUpdate),d.frame.on("open",d.onOpen),d}return h()(t,e),u()(t,[{key:"componentWillUnmount",value:function(){this.frame.remove()}},{key:"onUpdate",value:function(e){var t=this.props,n=t.onSelect,r=t.multiple,o=void 0!==r&&r,i=this.frame.state(),a=e||i.get("selection");a&&a.models.length&&n(o?a.models.map(function(e){return x(e.toJSON())}):x(a.models[0].toJSON()))}},{key:"onSelect",value:function(){var e=this.props,t=e.onSelect,n=e.multiple,r=void 0!==n&&n,o=this.frame.state().get("selection").toJSON();t(r?o:o[0])}},{key:"onOpen",value:function(){var e=this.frame.state().get("selection"),t=function(t){var n=wp.media.attachment(t);n.fetch(),e.add(n)};this.props.value&&(this.props.multiple?this.props.value.map(t):t(this.props.value))}},{key:"openModal",value:function(){this.frame.open()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.buttonProps,r=e.tooltip,i=wp.element.createElement(y.Button,o()({onClick:this.openModal},n),t);return r&&(i=wp.element.createElement(y.Tooltip,{text:r},i)),i}}]),t}(m.Component);t.a=k},function(e,t,n){n(192),n(65),n(95),n(311),n(318),n(319),e.exports=n(12).Promise},function(e,t,n){"use strict";var r,o,i,a,s=n(87),l=n(16),c=n(41),u=n(117),f=n(20),p=n(24),d=n(60),h=n(312),b=n(313),g=n(171),m=n(172).set,v=n(315)(),y=n(108),_=n(173),w=n(174),x=l.TypeError,k=l.process,E=l.Promise,O="process"==u(k),C=function(){},S=o=y.f,j=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(17)("species")]=function(e){e(C,C)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),T=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,l=t.reject,c=t.domain;try{a?(o||(2==e._h&&N(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?l(x("Promise-chain cycle")):(i=T(n))?i.call(n,s,l):s(n)):l(r)}catch(e){l(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&P(e)})}},P=function(e){m.call(l,function(){var t,n,r,o=e._v,i=R(e);if(i&&(t=_(function(){O?k.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=O||R(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},R=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){m.call(l,function(){var t;O?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},M=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=T(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,c(M,r,1),c(L,r,1))}catch(e){L.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){L.call({_w:n,_d:!1},e)}}};j||(E=function(e){h(this,E,"Promise","_h"),d(e),r.call(this);try{e(c(M,this,1),c(L,this,1))}catch(e){L.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(316)(E.prototype,{then:function(e,t){var n=S(g(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c(M,e,1),this.reject=c(L,e,1)},y.f=S=function(e){return e===E||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!j,{Promise:E}),n(81)(E,"Promise"),n(317)("Promise"),a=n(12).Promise,f(f.S+f.F*!j,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!j),"Promise",{resolve:function(e){return w(s&&this===a?E:this,e)}}),f(f.S+f.F*!(j&&n(162)(function(e){E.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;b(e,!1,function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,o=_(function(){b(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(41),o=n(160),i=n(161),a=n(23),s=n(84),l=n(116),c={},u={},t=e.exports=function(e,t,n,f,p){var d,h,b,g,m=p?function(){return e}:l(e),v=r(n,f,t?2:1),y=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=s(e.length);d>y;y++)if((g=t?v(a(h=e[y])[0],h[1]):v(e[y]))===c||g===u)return g}else for(b=m.call(e);!(h=b.next()).done;)if((g=o(b,v,h.value,t))===c||g===u)return g};t.BREAK=c,t.RETURN=u},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(16),o=n(172).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(50)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve();n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var f=!0,p=document.createTextNode("");new i(c).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(34);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(16),o=n(12),i=n(26),a=n(30),s=n(17)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(20),o=n(12),i=n(16),a=n(171),s=n(174);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(20),o=n(108),i=n(173);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.a=r},,,,,,function(e,t,n){e.exports=n(467)},function(e,t,n){function r(e){return function(t,n,r){var s=Object(t);if(!i(t)){var l=o(n,3);t=a(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,r);return c>-1?s[l?t[c]:c]:void 0}}var o=n(29),i=n(33),a=n(36);e.exports=r},function(e,t,n){function r(e,t){var n=[];return o(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}var o=n(59);e.exports=r},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}var o=n(15),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?o.Buffer:void 0,c=l?l.allocUnsafe:void 0;e.exports=r}).call(t,n(64)(e))},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var o=n(167);e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||a(e)?{}:o(i(e))}var o=n(90),i=n(166),a=n(94);e.exports=r},function(e,t,n){e.exports={default:n(373),__esModule:!0}},function(e,t,n){function r(e,t,n){for(var r=-1,s=t.length,l={};++r<s;){var c=t[r],u=o(e,c);n(u,c)&&i(l,a(c,e),u)}return l}var o=n(89),i=n(378),a=n(56);e.exports=r},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,s,l],f=0;c=new Error(t.replace(/%s/g,function(){return u[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},function(e,t,n){var r=n(67)("meta"),o=n(24),i=n(37),a=n(26).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(42)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},p=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},d=function(e){return c&&h.NEED&&l(e)&&!i(e,r)&&u(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t,n){"use strict";function r(e,t){var n=Object(o.parse)(e,!0),r=a({},n.query,t);return delete n.search,Object(o.format)(a({},n,{query:r}))}t.a=r;var o=n(455),i=(n.n(o),n(409)),a=(n.n(i),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e})},function(e,t,n){var r=n(82),o=n(434),i=n(93),a=n(129),s=i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},,,,,function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=o(e))===i||e===-i){return(e<0?-1:1)*a}return e===e?e:0}var o=n(226),i=1/0,a=1.7976931348623157e308;e.exports=r},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){function r(e){return null==e?[]:o(e,i(e))}var o=n(348),i=n(36);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(47);e.exports=r},function(e,t){function n(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}e.exports=n},function(e,t,n){function r(e,t){var n;return o(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}var o=n(59);e.exports=r},function(e,t,n){var r=n(47),o=n(296),i=n(367),a=n(56),s=n(69),l=n(369),c=n(136),u=n(208),f=c(function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,function(t){return t=a(t,e),c||(c=t.length>1),t}),s(e,u(e),n),c&&(n=o(n,7,l));for(var f=t.length;f--;)i(n,t[f]);return n});e.exports=f},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(69),i=n(36);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(69),i=n(191);e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&l.call(e,r))&&n.push(r);return n}var o=n(18),i=n(94),a=n(355),s=Object.prototype,l=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(69),i=n(132);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(69),i=n(228);e.exports=r},function(e,t){function n(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n,r){var A=e.constructor;switch(t){case y:return o(e);case f:case p:return new A(+e);case _:return i(e,r);case w:case x:case k:case E:case O:case C:case S:case j:case T:return u(e,r);case d:return a(e,r,n);case h:case m:return new A(e);case b:return s(e);case g:return l(e,r,n);case v:return c(e)}}var o=n(167),i=n(360),a=n(361),s=n(363),l=n(364),c=n(366),u=n(330),f="[object Boolean]",p="[object Date]",d="[object Map]",h="[object Number]",b="[object RegExp]",g="[object Set]",m="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",k="[object Int8Array]",E="[object Int16Array]",O="[object Int32Array]",C="[object Uint8Array]",S="[object Uint8ClampedArray]",j="[object Uint16Array]",T="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=n(167);e.exports=r},function(e,t,n){function r(e,t,n){var r=t?n(a(e),s):a(e);return i(r,o,new e.constructor)}var o=n(362),i=n(122),a=n(185),s=1;e.exports=r},function(e,t){function n(e,t){return e.set(t[0],t[1]),e}e.exports=n},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e,t,n){var r=t?n(a(e),s):a(e);return i(r,o,new e.constructor)}var o=n(365),i=n(122),a=n(119),s=1;e.exports=r},function(e,t){function n(e,t){return e.add(t),e}e.exports=n},function(e,t,n){function r(e){return a?Object(a.call(e)):{}}var o=n(32),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t){return t=o(t,e),null==(e=a(e,t))||delete e[s(i(t))]}var o=n(56),i=n(124),a=n(368),s=n(48);e.exports=r},function(e,t,n){function r(e,t){return t.length<2?e:o(e,i(t,0,-1))}var o=n(89),i=n(146);e.exports=r},function(e,t,n){function r(e){return o(e)?void 0:e}var o=n(297);e.exports=r},function(e,t,n){e.exports={default:n(371),__esModule:!0}},function(e,t,n){n(95),n(65),e.exports=n(372)},function(e,t,n){var r=n(117),o=n(17)("iterator"),i=n(45);e.exports=n(12).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){n(95),n(65),e.exports=n(374)},function(e,t,n){var r=n(23),o=n(116);e.exports=n(12).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";function r(e){return!!T[e.nodeName.toLowerCase()]}function o(e){return!r(e)}function i(e,t){return T[e]&&T[e].attributes&&-1!==T[e].attributes.indexOf(t)}function a(e,t){return!(!t||!e)&&C.some(function(n){return x()(n,e)&&x()(n,t)})}function s(e,t){var n=e.nodeName.toLowerCase();return!!S[n]||a(n,t)}function l(e,t){return T[e]&&T[e].classes&&-1!==T[e].classes.indexOf(t)}function c(e){return!!j[e.nodeName.toLowerCase()]}function u(e,t){var n=e.nodeName.toLowerCase(),r=t.nodeName.toLowerCase();return T[n]&&T[n].children&&-1!==T[n].children.indexOf(r)}function f(e){return!!s(e)&&(!!e.hasChildNodes()&&v()(e.childNodes).some(function(e){return e.nodeType===E&&(!s(e)||f(e))}))}function p(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function d(e){return!e.hasChildNodes()||v()(e.childNodes).every(function(e){return e.nodeType===O?!e.nodeValue.trim():e.nodeType!==E||("BR"===e.nodeName||!e.hasAttributes()&&d(e))})}function h(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=t.querySelectorAll("br");return v()(n).forEach(function(e){e.parentNode.replaceChild(document.createTextNode("\n"),e)}),t.body.normalize(),1===t.body.childNodes.length&&t.body.firstChild.nodeType===O}function b(e,t,n){v()(e).forEach(function(e){b(e.childNodes,t,n),t.forEach(function(t){n.contains(e)&&t(e,n)})})}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,b(n.body.childNodes,t,n),n.body.innerHTML}t.k=o,t.d=i,t.h=s,t.e=l,t.i=c,t.c=u,t.j=f,t.f=p,t.g=d,t.l=h,t.b=b,t.a=g;var m=n(115),v=n.n(m),y=n(10),_=n.n(y),w=n(121),x=n.n(w),k=window.Node,E=k.ELEMENT_NODE,O=k.TEXT_NODE,C=[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]],S={strong:{},em:{},del:{},ins:{},a:{attributes:["href"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{}},j={figcaption:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},p:{children:["img"]},li:{children:["ul","ol","li"]},pre:{},td:{},th:{}},T=_()({},S,j,{img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone"]},figure:{},blockquote:{},hr:{},ul:{},ol:{attributes:["type"]},table:{},thead:{},tfoot:{},tbody:{},tr:{}})},function(e,t,n){e.exports={default:n(484),__esModule:!0}},function(e,t,n){function r(e,t){if(null==e)return{};var n=o(s(e),function(e){return[e]});return t=i(t),a(e,n,function(e,n){return t(e,n[0])})}var o=n(47),i=n(29),a=n(333),s=n(208);e.exports=r},function(e,t,n){function r(e,t,n,r){if(!s(e))return e;t=i(t,e);for(var c=-1,u=t.length,f=u-1,p=e;null!=p&&++c<u;){var d=l(t[c]),h=n;if(c!=f){var b=p[d];h=r?r(b,d,p):void 0,void 0===h&&(h=s(b)?b:a(t[c+1])?[]:{})}o(p,d,h),p=p[d]}return e}var o=n(141),i=n(56),a=n(70),s=n(18),l=n(48);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.help,r=e.instanceId,o=e.onChange,a=e.options,l=void 0===a?[]:a,u=s()(e,["label","help","instanceId","onChange","options"]),p="inspector-select-control-"+r,d=function(e){return o(e.target.value)};return!c()(l)&&wp.element.createElement(f.a,{label:t,id:p,help:n},wp.element.createElement("select",i()({id:p,className:"blocks-select-control__input",onChange:d,"aria-describedby":n?p+"__help":void 0},u),l.map(function(e){return wp.element.createElement("option",{key:e.value,value:e.value},e.label)})))}var o=n(10),i=n.n(o),a=n(40),s=n.n(a),l=n(214),c=n.n(l),u=n(1),f=(n.n(u),n(231)),p=n(657);n.n(p);t.a=Object(u.withInstanceId)(r)},function(e,t,n){"use strict";var r=n(334),o=n(335),i=n(381);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){n(383),e.exports=n(12).Object.getPrototypeOf},function(e,t,n){var r=n(57),o=n(181);n(230)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(385);var r=n(12).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(20);r(r.S+r.F*!n(30),"Object",{defineProperty:n(26).f})},function(e,t,n){e.exports={default:n(387),__esModule:!0}},function(e,t,n){n(65),n(95),e.exports=n(169).f("iterator")},function(e,t,n){e.exports={default:n(389),__esModule:!0}},function(e,t,n){n(390),n(192),n(394),n(395),e.exports=n(12).Symbol},function(e,t,n){"use strict";var r=n(16),o=n(37),i=n(30),a=n(20),s=n(180),l=n(336).KEY,c=n(42),u=n(91),f=n(81),p=n(67),d=n(17),h=n(169),b=n(170),g=n(391),m=n(392),v=n(23),y=n(24),_=n(39),w=n(97),x=n(53),k=n(131),E=n(393),O=n(234),C=n(26),S=n(54),j=O.f,T=C.f,A=E.f,P=r.Symbol,R=r.JSON,N=R&&R.stringify,L=d("_hidden"),M=d("toPrimitive"),D={}.propertyIsEnumerable,B=u("symbol-registry"),I=u("symbols"),F=u("op-symbols"),z=Object.prototype,H="function"==typeof P,q=r.QObject,U=!q||!q.prototype||!q.prototype.findChild,K=i&&c(function(){return 7!=k(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=j(z,t);r&&delete z[t],T(e,t,n),r&&e!==z&&T(z,t,r)}:T,V=function(e){var t=I[e]=k(P.prototype);return t._k=e,t},W=H&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},G=function(e,t,n){return e===z&&G(F,t,n),v(e),t=w(t,!0),v(n),o(I,t)?(n.enumerable?(o(e,L)&&e[L][t]&&(e[L][t]=!1),n=k(n,{enumerable:x(0,!1)})):(o(e,L)||T(e,L,x(1,{})),e[L][t]=!0),K(e,t,n)):T(e,t,n)},$=function(e,t){v(e);for(var n,r=g(t=_(t)),o=0,i=r.length;i>o;)G(e,n=r[o++],t[n]);return e},X=function(e,t){return void 0===t?k(e):$(k(e),t)},Y=function(e){var t=D.call(this,e=w(e,!0));return!(this===z&&o(I,e)&&!o(F,e))&&(!(t||!o(this,e)||!o(I,e)||o(this,L)&&this[L][e])||t)},Z=function(e,t){if(e=_(e),t=w(t,!0),e!==z||!o(I,t)||o(F,t)){var n=j(e,t);return!n||!o(I,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=A(_(e)),r=[],i=0;n.length>i;)o(I,t=n[i++])||t==L||t==l||r.push(t);return r},J=function(e){for(var t,n=e===z,r=A(n?F:_(e)),i=[],a=0;r.length>a;)!o(I,t=r[a++])||n&&!o(z,t)||i.push(I[t]);return i};H||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(F,n),o(this,L)&&o(this[L],e)&&(this[L][e]=!1),K(this,e,x(1,n))};return i&&U&&K(z,e,{configurable:!0,set:t}),V(e)},s(P.prototype,"toString",function(){return this._k}),O.f=Z,C.f=G,n(233).f=E.f=Q,n(63).f=Y,n(98).f=J,i&&!n(87)&&s(z,"propertyIsEnumerable",Y,!0),h.f=function(e){return V(d(e))}),a(a.G+a.W+a.F*!H,{Symbol:P});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var ne=S(d.store),re=0;ne.length>re;)b(ne[re++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(B,e+="")?B[e]:B[e]=P(e)},keyFor:function(e){if(!W(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!H,"Object",{create:X,defineProperty:G,defineProperties:$,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:J}),R&&a(a.S+a.F*(!H||c(function(){var e=P();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(y(t)||void 0!==e)&&!W(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!W(t))return t}),r[1]=t,N.apply(R,r)}}),P.prototype[M]||n(34)(P.prototype,M,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(54),o=n(98),i=n(63);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(50);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(39),o=n(233).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){n(170)("asyncIterator")},function(e,t,n){n(170)("observable")},function(e,t,n){e.exports={default:n(397),__esModule:!0}},function(e,t,n){n(398),e.exports=n(12).Object.setPrototypeOf},function(e,t,n){var r=n(20);r(r.S,"Object",{setPrototypeOf:n(399).set})},function(e,t,n){var r=n(24),o=n(23),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(41)(Function.call,n(234).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(401),__esModule:!0}},function(e,t,n){n(402);var r=n(12).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(20);r(r.S,"Object",{create:n(131)})},function(e,t,n){function r(e){return"function"==typeof e?e:o}var o=n(44);e.exports=r},function(e,t,n){function r(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return i(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:r,maxWait:t,trailing:s})}var o=n(307),i=n(18),a="Expected a function";e.exports=r},function(e,t,n){var r=n(15),o=function(){return r.Date.now()};e.exports=o},function(e,t,n){"use strict";e.exports=n(407)},function(e,t,n){"use strict";function r(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,f=n.offsetRight||0;r=void 0===r||r;var p=o.isWindow(t),d=o.offset(e),h=o.outerHeight(e),b=o.outerWidth(e),g=void 0,m=void 0,v=void 0,y=void 0,_=void 0,w=void 0,x=void 0,k=void 0,E=void 0,O=void 0;p?(x=t,O=o.height(x),E=o.width(x),k={left:o.scrollLeft(x),top:o.scrollTop(x)},_={left:d.left-k.left-c,top:d.top-k.top-l},w={left:d.left+b-(k.left+E)+f,top:d.top+h-(k.top+O)+u},y=k):(g=o.offset(t),m=t.clientHeight,v=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},_={left:d.left-(g.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-c,top:d.top-(g.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-l},w={left:d.left+b-(g.left+v+(parseFloat(o.css(t,"borderRightWidth"))||0))+f,top:d.top+h-(g.top+m+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?o.scrollTop(t,y.top+_.top):!1===a?o.scrollTop(t,y.top+w.top):_.top<0?o.scrollTop(t,y.top+_.top):o.scrollTop(t,y.top+w.top):i||(a=void 0===a||!!a,a?o.scrollTop(t,y.top+_.top):o.scrollTop(t,y.top+w.top)),r&&(_.left<0||w.left>0?!0===s?o.scrollLeft(t,y.left+_.left):!1===s?o.scrollLeft(t,y.left+w.left):_.left<0?o.scrollLeft(t,y.left+_.left):o.scrollLeft(t,y.left+w.left):i||(s=void 0===s||!!s,s?o.scrollLeft(t,y.left+_.left):o.scrollLeft(t,y.left+w.left)))}var o=n(408);e.exports=r},function(e,t,n){"use strict";function r(e){var t=void 0,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=t.left,r=t.top,n-=a.clientLeft||i.clientLeft||0,r-=a.clientTop||i.clientTop||0,{left:n,top:r}}function o(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;n=o.documentElement[r],"number"!=typeof n&&(n=o.body[r])}return n}function i(e){return o(e)}function a(e){return o(e,!0)}function s(e){var t=r(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=i(o),t.top+=a(o),t}function l(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}function c(e,t){var n=e[E]&&e[E][t];if(x.test(n)&&!k.test(t)){var r=e.style,o=r[C],i=e[O][C];e[O][C]=e[E][C],r[C]="fontSize"===t?"1em":n||0,n=r.pixelLeft+S,r[C]=o,e[O][C]=i}return""===n?"auto":n}function u(e,t){for(var n=0;n<e.length;n++)t(e[n])}function f(e){return"border-box"===j(e,"boxSizing")}function p(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);n.call(e);for(i in t)t.hasOwnProperty(i)&&(o[i]=r[i])}function d(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(j(e,s))||0}return r}function h(e){return null!=e&&e==e.window}function b(e,t,n){if(h(e))return"width"===t?N.viewportWidth(e):N.viewportHeight(e);if(9===e.nodeType)return"width"===t?N.docWidth(e):N.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=j(e),a=f(e,i),s=0;(null==o||o<=0)&&(o=void 0,s=j(e,t),(null==s||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===n&&(n=a?R:A);var l=void 0!==o||a,c=o||s;if(n===A)return l?c-d(e,["border","padding"],r,i):s;if(l){var u=n===P?-d(e,["border"],r,i):d(e,["margin"],r,i);return c+(n===R?0:u)}return s+d(e,T.slice(n),r,i)}function g(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=b.apply(void 0,n):p(e,L,function(){t=b.apply(void 0,n)}),t}function m(e,t,n){var r=n;{if("object"!==(void 0===t?"undefined":_(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):j(e,t);for(var o in t)t.hasOwnProperty(o)&&m(e,o,t[o])}}function v(e,t){"static"===m(e,"position")&&(e.style.position="relative");var n=s(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(m(e,i))||0,r[i]=o+t[i]-n[i]);m(e,r)}var y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},w=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,x=new RegExp("^("+w+")(?!px)[a-z%]+$","i"),k=/^(top|right|bottom|left)$/,E="currentStyle",O="runtimeStyle",C="left",S="px",j=void 0;"undefined"!=typeof window&&(j=window.getComputedStyle?l:c);var T=["margin","border","padding"],A=-1,P=2,R=1,N={};u(["Width","Height"],function(e){N["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],N["viewport"+e](n))},N["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement,a=i[n];return"CSS1Compat"===r.compatMode&&a||o&&o[n]||a}});var L={position:"absolute",visibility:"hidden",display:"block"};u(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);N["outer"+t]=function(t,n){return t&&g(t,e,n?0:R)};var n="width"===e?["Left","Right"]:["Top","Bottom"];N[e]=function(t,r){if(void 0===r)return t&&g(t,e,A);if(t){var o=j(t);return f(t)&&(r+=d(t,["padding","border"],n,o)),m(t,e,r)}}}),e.exports=y({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);v(e,t)},isWindow:h,each:u,css:m,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(h(e)){if(void 0===t)return i(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(h(e)){if(void 0===t)return a(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},N)},function(e,t,n){"use strict";t.decode=t.parse=n(506),t.encode=t.stringify=n(507)},function(e,t,n){var r=n(229),o=n(82),i=n(93),a=n(212),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){var r=n(68),o=n(308),i=Object.prototype,a=i.hasOwnProperty,s=o(function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=s},function(e,t){function n(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}e.exports=n},function(e,t,n){function r(e,t,n,r){return o(e,function(e,o,i){t(r,e,n(e),i)}),r}var o=n(59);e.exports=r},function(e,t,n){function r(e,t){return o(e,t,function(t,n){return i(e,n)})}var o=n(333),i=n(189);e.exports=r},function(e,t,n){function r(e){return e=o(e),e&&s.test(e)?e.replace(a,i):e}var o=n(51),i=n(515),a=/&(?:amp|lt|gt|quot|#39);/g,s=RegExp(a.source);e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return a});var r=n(107),o=n.n(r),i=o.a.shape({trySubscribe:o.a.func.isRequired,tryUnsubscribe:o.a.func.isRequired,notifyNestedSubs:o.a.func.isRequired,isSubscribed:o.a.func.isRequired}),a=o.a.shape({subscribe:o.a.func.isRequired,dispatch:o.a.func.isRequired,getState:o.a.func.isRequired})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function s(){}function l(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function c(e){var t,n,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=c.getDisplayName,p=void 0===u?function(e){return"ConnectAdvanced("+e+")"}:u,_=c.methodName,w=void 0===_?"connectAdvanced":_,x=c.renderCountProp,k=void 0===x?void 0:x,E=c.shouldHandleStateChanges,O=void 0===E||E,C=c.storeKey,S=void 0===C?"store":C,j=c.withRef,T=void 0!==j&&j,A=a(c,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),P=S+"Subscription",R=v++,N=(t={},t[S]=g.a,t[P]=g.b,t),L=(n={},n[P]=g.b,n);return function(t){d()("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",a=p(n),c=m({},A,{getDisplayName:p,methodName:w,renderCountProp:k,shouldHandleStateChanges:O,storeKey:S,withRef:T,displayName:a,wrappedComponentName:n,WrappedComponent:t}),u=function(n){function u(e,t){r(this,u);var i=o(this,n.call(this,e,t));return i.version=R,i.state={},i.renderCount=0,i.store=e[S]||t[S],i.propsMode=Boolean(e[S]),i.setWrappedInstance=i.setWrappedInstance.bind(i),d()(i.store,'Could not find "'+S+'" in either the context or props of "'+a+'". Either wrap the root component in a <Provider>, or explicitly pass "'+S+'" as a prop to "'+a+'".'),i.initSelector(),i.initSubscription(),i}return i(u,n),u.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[P]=t||this.context[P],e},u.prototype.componentDidMount=function(){O&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},u.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},u.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},u.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=s,this.store=null,this.selector.run=s,this.selector.shouldComponentUpdate=!1},u.prototype.getWrappedInstance=function(){return d()(T,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+w+"() call."),this.wrappedInstance},u.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},u.prototype.initSelector=function(){var t=e(this.store.dispatch,c);this.selector=l(t,this.store),this.selector.run(this.props)},u.prototype.initSubscription=function(){if(O){var e=(this.propsMode?this.props:this.context)[P];this.subscription=new b.a(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},u.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(y)):this.notifyNestedSubs()},u.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},u.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},u.prototype.addExtraProps=function(e){if(!(T||k||this.propsMode&&this.subscription))return e;var t=m({},e);return T&&(t.ref=this.setWrappedInstance),k&&(t[k]=this.renderCount++),this.propsMode&&this.subscription&&(t[P]=this.subscription),t},u.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(h.createElement)(t,this.addExtraProps(e.props))},u}(h.Component);return u.WrappedComponent=t,u.displayName=a,u.childContextTypes=L,u.contextTypes=N,u.propTypes=N,f()(u,t)}}t.a=c;var u=n(517),f=n.n(u),p=n(518),d=n.n(p),h=n(13),b=(n.n(h),n(519)),g=n(416),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=0,y={}},function(e,t,n){"use strict";function r(e){return null==e?void 0===e?l:s:c&&c in Object(e)?Object(i.a)(e):Object(a.a)(e)}var o=n(238),i=n(421),a=n(422),s="[object Null]",l="[object Undefined]",c=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";var r=n(420),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(t,n(58))},function(e,t,n){"use strict";function r(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=n(238),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,l=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";function r(e){return i.call(e)}var o=Object.prototype,i=o.toString;t.a=r},function(e,t,n){"use strict";var r=n(424),o=Object(r.a)(Object.getPrototypeOf,Object);t.a=o},function(e,t,n){"use strict";function r(e,t){return function(n){return e(t(n))}}t.a=r},function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}t.a=r},function(e,t,n){e.exports=n(427)},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var o,i=n(428),a=function(e){return e&&e.__esModule?e:{default:e}}(i);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var s=(0,a.default)(o);t.default=s}).call(t,n(58),n(64)(e))},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function o(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:a.a.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+a.a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}function i(e){for(var t=Object.keys(e),n={},i=0;i<t.length;i++){var a=t[i];"function"==typeof e[a]&&(n[a]=e[a])}var s=Object.keys(n),l=void 0;try{o(n)}catch(e){l=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(l)throw l;for(var o=!1,i={},a=0;a<s.length;a++){var c=s[a],u=n[c],f=e[c],p=u(f,t);if(void 0===p){var d=r(c,t);throw new Error(d)}i[c]=p,o=o||p!==f}return o?i:e}}t.a=i;var a=n(237);n(193),n(239)},function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return r(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},i=0;i<n.length;i++){var a=n[i],s=e[a];"function"==typeof s&&(o[a]=r(s,t))}return o}t.a=o},function(e,t,n){"use strict";n(240),Object.assign},function(e,t,n){"use strict";function r(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}t.a=r,t.b=i;n(433)},function(e,t,n){"use strict";n(193),n(320)},function(e,t,n){function r(e,t,n){var r=-1;t=o(t.length?t:[u],l(i));var f=a(e,function(e,n,i){return{criteria:o(t,function(t){return t(e)}),index:++r,value:e}});return s(f,function(e,t){return c(e,t,n)})}var o=n(47),i=n(29),a=n(224),s=n(435),l=n(130),c=n(436),u=n(44);e.exports=r},function(e,t){function n(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}e.exports=n},function(e,t,n){function r(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++r<s;){var c=o(i[r],a[r]);if(c){if(r>=l)return c;return c*("desc"==n[r]?-1:1)}}return e.index-t.index}var o=n(437);e.exports=r},function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e===e,a=o(e),s=void 0!==t,l=null===t,c=t===t,u=o(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}var o=n(55);e.exports=r},,,,,,,,,,,function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(I.a)(e),r=A()(n.attributes,function(e,n,r){var o=t[r];return void 0!==o?e[r]=o:n.hasOwnProperty("default")&&(e[r]=n.default),e},{});return{uid:D()(),name:e,isValid:!0,attributes:r}}function o(e){var t=g()(e);if(!e||!t)return[];var n=e.length>1,r=t.name;if(n&&!L()(e,{name:r}))return[];var o=_()(Object(I.b)(),z(r,n)).map(function(e){return e.name}),i=Object(I.a)(r),a=R()(i,"transforms.to",[]),s=h()(n?_()(a,"isMultiBlock"):a,function(e){return e.blocks});return A()([].concat(u()(o),u()(s)),function(e,t){var n=Object(I.a)(t);return n&&!E()(e,n)&&e.push(n),e},[])}function i(e,t){var n=j()(e),r=n.length>1,o=n[0],i=o.name;if(r&&!L()(n,function(e){return e.name===i}))return null;var a=Object(I.a)(t),s=Object(I.a)(i),c=R()(a,"transforms.from",[]),u=R()(s,"transforms.to",[]),f=v()(u,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!r||e.isMultiBlock)})||v()(c,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(i)&&(!r||e.isMultiBlock)});if(!f)return null;var p=void 0;if(p=f.isMultiBlock?f.transform(n.map(function(e){return e.attributes})):f.transform(o.attributes),!x()(p))return null;if(p=j()(p),p.some(function(e){return!Object(I.a)(e.name)}))return null;var d=C()(p,function(e){return e.name===t});return d<0?null:p.map(function(e,t){return l()({},e,{uid:t===d?o.uid:e.uid})})}function a(e,t){return{id:-p()(),isTemporary:!0,title:Object(B.__)("Untitled block"),type:e,attributes:t}}t.a=r,t.c=o,t.d=i,t.b=a;var s=n(10),l=n.n(s),c=n(38),u=n.n(c),f=n(466),p=n.n(f),d=n(449),h=n.n(d),b=n(326),g=n.n(b),m=n(66),v=n.n(m),y=n(120),_=n.n(y),w=n(21),x=n.n(w),k=n(121),E=n.n(k),O=n(204),C=n.n(O),S=n(294),j=n.n(S),T=n(206),A=n.n(T),P=n(31),R=n.n(P),N=n(450),L=n.n(N),M=n(470),D=n.n(M),B=n(0),I=(n.n(B),n(295)),F=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return"block"===n.type&&-1!==n.blocks.indexOf(e)&&(!t||n.isMultiBlock)}},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return!!v()(R()(n,"transforms.from",[]),F(e,t))}}},function(e,t,n){function r(e,t){return o(i(e,t),1)}var o=n(82),i=n(62);e.exports=r},function(e,t,n){function r(e,t,n){var r=s(e)?o:i;return n&&l(e,t,n)&&(t=void 0),r(e,a(t,3))}var o=n(468),i=n(469),a=n(29),s=n(11),l=n(129);e.exports=r},function(e,t,n){e.exports={default:n(473),__esModule:!0}},function(e,t,n){var r=n(497),o=r("toUpperCase");e.exports=o},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),f=n(8),p=n.n(f),d=n(404),h=n.n(d),b=n(19),g=n.n(b),m=n(406),v=n.n(m),y=n(0),_=(n.n(y),n(2)),w=(n.n(_),n(43)),x=(n.n(w),n(1)),k=(n.n(x),w.keycodes.UP),E=w.keycodes.DOWN,O=w.keycodes.ENTER,C=function(e){return e.stopPropagation()},S=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.bindListNode=e.bindListNode.bind(e),e.updateSuggestions=h()(e.updateSuggestions.bind(e),200),e.suggestionNodes=[],e.state={posts:[],showSuggestions:!1,selectedSuggestion:null},e}return p()(t,e),l()(t,[{key:"bindListNode",value:function(e){this.listNode=e}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;if(this.suggestionsRequest&&this.suggestionsRequest.abort(),e.length<2)return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0}),this.suggestionsRequest=(new wp.api.collections.Posts).fetch({data:{search:e,per_page:20,orderby:"relevance"}}),this.suggestionsRequest.then(function(e){t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(y.sprintf)(Object(y._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(y.__)("No results."),"assertive")},function(e){"abort"!==e.statusText&&t.setState({loading:!1})})}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.selectedSuggestion,r=t.posts;if(this.state.showSuggestions&&this.state.posts.length)switch(e.keyCode){case k:e.stopPropagation(),e.preventDefault();var o=n?n-1:r.length-1;this.setState({selectedSuggestion:o});break;case E:e.stopPropagation(),e.preventDefault();var i=null===n||n===r.length-1?0:n+1;this.setState({selectedSuggestion:i});break;case O:if(this.state.selectedSuggestion){e.stopPropagation();var a=this.state.posts[this.state.selectedSuggestion];this.selectLink(a.link)}}}},{key:"selectLink",value:function(e){this.props.onChange(e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"componentWillUnmount",value:function(){this.suggestionsRequest&&this.suggestionsRequest.abort()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,v()(this.suggestionNodes[r],this.listNode,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=t.instanceId,o=this.state,i=o.showSuggestions,a=o.posts,s=o.selectedSuggestion,l=o.loading;return wp.element.createElement("div",{className:"blocks-url-input"},wp.element.createElement("input",{autoFocus:!0,type:"text","aria-label":Object(y.__)("URL"),required:!0,value:n,onChange:this.onChange,onInput:C,placeholder:Object(y.__)("Paste URL or type"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":i,"aria-autocomplete":"list","aria-owns":"blocks-url-input-suggestions-"+r,"aria-activedescendant":null!==s?"blocks-url-input-suggestion-"+r+"-"+s:void 0}),l&&wp.element.createElement(x.Spinner,null),i&&!!a.length&&wp.element.createElement("div",{id:"blocks-url-input-suggestions-"+r,tabIndex:"-1",className:"blocks-url-input__suggestions",ref:this.bindListNode,role:"listbox"},a.map(function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",id:"blocks-url-input-suggestion-"+r+"-"+n,ref:e.bindSuggestionNode(n),className:g()("blocks-url-input__suggestion",{"is-selected":n===s}),onClick:function(){return e.selectLink(t.link)},"aria-selected":n===s},Object(w.decodeEntities)(t.title.rendered)||Object(y.__)("(no title)"))})))}}]),t}(_.Component);t.a=Object(x.withSpokenMessages)(Object(x.withInstanceId)(S))},function(e,t,n){"use strict";function r(e){return o("post.php",{post:e,action:"edit"})}function o(e,t){return Object(a.a)(e,t)}function i(e){var t=e.replace(new RegExp("^https?://(www.)?"),"");return t.match("^[^/]+/$")?t.replace("/",""):t}t.b=r,t.c=o,t.a=i;var a=n(338)},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&c.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function i(e){return c.isString(e)&&(e=o(e)),e instanceof r?e.format():r.prototype.format.call(e)}function a(e,t){return o(e,!1,!0).resolve(t)}function s(e,t){return e?o(e,!1,!0).resolveObject(t):t}var l=n(504),c=n(505);t.parse=o,t.resolve=a,t.resolveObject=s,t.format=i,t.Url=r;var u=/^([a-z0-9.+-]+:)/i,f=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(d),b=["'"].concat(h),g=["%","/","?",";","#"].concat(b),m=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(409);r.prototype.parse=function(e,t,n){if(!c.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(o),a=/\\/g;i[0]=i[0].replace(a,"/"),e=i.join(o);var s=e;if(s=s.trim(),!n&&1===e.split("#").length){var f=p.exec(s);if(f)return this.path=s,this.href=s,this.pathname=f[1],f[2]?(this.search=f[2],this.query=t?k.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var d=u.exec(s);if(d){d=d[0];var h=d.toLowerCase();this.protocol=h,s=s.substr(d.length)}if(n||d||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===s.substr(0,2);!E||d&&w[d]||(s=s.substr(2),this.slashes=!0)}if(!w[d]&&(E||d&&!x[d])){for(var O=-1,C=0;C<m.length;C++){var S=s.indexOf(m[C]);-1!==S&&(-1===O||S<O)&&(O=S)}var j,T;T=-1===O?s.lastIndexOf("@"):s.lastIndexOf("@",O),-1!==T&&(j=s.slice(0,T),s=s.slice(T+1),this.auth=decodeURIComponent(j)),O=-1;for(var C=0;C<g.length;C++){var S=s.indexOf(g[C]);-1!==S&&(-1===O||S<O)&&(O=S)}-1===O&&(O=s.length),this.host=s.slice(0,O),s=s.slice(O),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var P=this.hostname.split(/\./),C=0,R=P.length;C<R;C++){var N=P[C];if(N&&!N.match(v)){for(var L="",M=0,D=N.length;M<D;M++)N.charCodeAt(M)>127?L+="x":L+=N[M];if(!L.match(v)){var B=P.slice(0,C),I=P.slice(C+1),F=N.match(y);F&&(B.push(F[1]),I.unshift(F[2])),I.length&&(s="/"+I.join(".")+s),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=l.toASCII(this.hostname));var z=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+z,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!_[h])for(var C=0,R=b.length;C<R;C++){var q=b[C];if(-1!==s.indexOf(q)){var U=encodeURIComponent(q);U===q&&(U=escape(q)),s=s.split(q).join(U)}}var K=s.indexOf("#");-1!==K&&(this.hash=s.substr(K),s=s.slice(0,K));var V=s.indexOf("?");if(-1!==V?(this.search=s.substr(V),this.query=s.substr(V+1),t&&(this.query=k.parse(this.query)),s=s.slice(0,V)):t&&(this.search="",this.query={}),s&&(this.pathname=s),x[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",W=this.search||"";this.path=z+W}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&c.isObject(this.query)&&Object.keys(this.query).length&&(i=k.stringify(this.query));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||x[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+o+n+a+r},r.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(c.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return x[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!x[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var d=f[p];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||w[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var b=n.pathname||"",g=n.search||"";n.path=b+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=v||m||n.host&&e.pathname,_=y,k=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],E=n.protocol&&!x[n.protocol];if(E&&(n.hostname="",n.port=null,n.host&&(""===k[0]?k[0]=n.host:k.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),y=y&&(""===h[0]||""===k[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,k=h;else if(h.length)k||(k=[]),k.pop(),k=k.concat(h),n.search=e.search,n.query=e.query;else if(!c.isNullOrUndefined(e.search)){if(E){n.hostname=n.host=k.shift();var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return n.search=e.search,n.query=e.query,c.isNull(n.pathname)&&c.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=k.slice(-1)[0],S=(n.host||e.host||k.length>1)&&("."===C||".."===C)||""===C,j=0,T=k.length;T>=0;T--)C=k[T],"."===C?k.splice(T,1):".."===C?(k.splice(T,1),j++):j&&(k.splice(T,1),j--);if(!y&&!_)for(;j--;j)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),S&&"/"!==k.join("/").substr(-1)&&k.push("");var A=""===k[0]||k[0]&&"/"===k[0].charAt(0);if(E){n.hostname=n.host=A?"":k.length?k.shift():"";var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return y=y||n.host&&k.length,y&&!A&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),c.isNull(n.pathname)&&c.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=f.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";function r(e){var t=e.value,n=e.onChange;return wp.element.createElement(s.Toolbar,{controls:l.map(function(e){var r=e.align,o=t===r;return i()({},e,{isActive:o,onClick:function(){return n(o?void 0:r)}})})})}t.a=r;var o=n(10),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),[{icon:"editor-alignleft",title:Object(a.__)("Align left"),align:"left"},{icon:"editor-aligncenter",title:Object(a.__)("Align center"),align:"center"},{icon:"editor-alignright",title:Object(a.__)("Align right"),align:"right"}])},function(e,t,n){"use strict";function r(e){return decodeURIComponent(e.replace(/\+/g," "))}function o(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,o={};t=n.exec(e);o[r(t[1])]=r(t[2]));return o}function i(e,t){t=t||"";var n=[];"string"!=typeof t&&(t="?");for(var r in e)a.call(e,r)&&n.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return n.length?t+n.join("&"):""}var a=Object.prototype.hasOwnProperty;t.stringify=i,t.parse=o},,,,,,,,,function(e,t,n){function r(e){var t=++i;return o(e)+t}var o=n(51),i=0;e.exports=r},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}e.exports=n},function(e,t,n){function r(e,t){var n=!0;return o(e,function(e,r,o){return n=!!t(e,r,o)}),n}var o=n(59);e.exports=r},function(e,t,n){function r(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null),e=e||{};var a=e.random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[r+s]=a[s];return t||i(a)}var o=n(471),i=n(472);e.exports=r},function(e,t,n){(function(t){var n,r=t.crypto||t.msCrypto;if(r&&r.getRandomValues){var o=new Uint8Array(16);n=function(){return r.getRandomValues(o),o}}if(!n){var i=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}e.exports=n}).call(t,n(58))},function(e,t){function n(e,t){var n=t||0,o=r;return o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]}for(var r=[],o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);e.exports=n},function(e,t,n){n(474),e.exports=n(12).Object.values},function(e,t,n){var r=n(20),o=n(475)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(54),o=n(39),i=n(63).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,c=0,u=[];l>c;)i.call(a,n=s[c++])&&u.push(e?[n,a[n]]:a[n]);return u}}},function(e,t,n){"use strict";function r(e,t){switch(t){case"string":return String(e);case"boolean":return Boolean(e);case"object":return Object(e);case"null":return null;case"array":return Array.isArray(e)?e:d()(e);case"integer":case"number":return Number(e)}return e}function o(e){switch(e.source){case"attribute":return Object(E.a)(e.selector,e.attribute);case"property":return Object(E.e)(e.selector,e.property);case"html":return Object(E.c)(e.selector);case"text":return Object(E.g)(e.selector);case"children":return Object(E.b)(e.selector);case"node":return Object(E.d)(e.selector);case"query":var t=m()(e.query,o);return Object(E.f)(e.selector,t);default:console.error('Unkown source type "'+e.source+'"')}}function i(e,t,n,i){var a=void 0;switch(t.source){case void 0:a=i?i[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":a=Object(v.c)(n,o(t))}return void 0===a?t.default:r(a,t.type)}function a(e,t,n){return m()(e.attributes,function(e,r){return i(r,e,t,n)})}function s(e,t,n){if(e.deprecated)for(var r=0;r<e.deprecated.length;r++){var o=f()({},b()(e,["attributes","save","supports"]),e.deprecated[r]),i=a(o,t,n),s=Object(x.a)(t,o,i);if(s)return i}}function l(e,t,n){"core/text"!==(e=e||Object(_.d)())&&"core/cover-text"!==e||(e="core/paragraph");var r=Object(_.a)(e),o=Object(_.d)();if(r||(e&&(t=Object(k.d)(e,n,t)),e=o,r=Object(_.a)(e)),r&&(t||e!==o)){var i=Object(w.a)(e,a(r,t,n));if(i.isValid=Object(x.a)(t,r,i.attributes),i.originalContent=t,!i.isValid){var l=s(r,t,n);l&&(i.isValid=!0,i.attributes=l)}return i}}function c(e){return Object(y.parse)(e).reduce(function(e,t){var n=t.blockName,r=t.innerHTML,o=t.attrs,i=l(n,r.trim(),o);return i&&e.push(i),e},[])}t.b=a,t.c=c;var u=n(10),f=n.n(u),p=n(115),d=n.n(p),h=n(351),b=n.n(h),g=n(210),m=n.n(g),v=n(552),y=n(627),_=(n.n(y),n(295)),w=n(448),x=n(553),k=n(479),E=n(636);t.a=c},function(e,t,n){function r(e,t,n){var r=-1,f=i,p=e.length,d=!0,h=[],b=h;if(n)d=!1,f=a;else if(p>=u){var g=t?null:l(e);if(g)return c(g);d=!1,f=s,b=new o}else b=t?[]:h;e:for(;++r<p;){var m=e[r],v=t?t(m):m;if(m=n||0!==m?m:0,d&&v===v){for(var y=b.length;y--;)if(b[y]===v)continue e;t&&b.push(v),h.push(m)}else f(b,v,n)||(b!==h&&b.push(v),h.push(m))}return h}var o=n(143),i=n(211),a=n(301),s=n(144),l=n(478),c=n(119),u=200;e.exports=r},function(e,t,n){var r=n(203),o=n(25),i=n(119),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){"use strict";function r(e){return"wp-block-"+e.replace(/\//,"-").replace(/^core-/,"")}function o(e,t){var n=e.save,r=void 0;if(n.prototype instanceof A.Component)r=Object(A.createElement)(n,{attributes:t});else if("string"==typeof(r=n({attributes:t})))return r;var o=function(n){if(!n||!E()(n))return n;var r=Object(P.applyFilters)("blocks.getSaveContent.extraProps",g()({},n.props),e,t);return Object(A.cloneElement)(n,r)};return A.Children.map(r,o)}function i(e,t){var n=o(e,t);return"string"==typeof n?n:Object(A.renderToString)(n)}function a(e,t){return C()(t.attributes,function(t,n,r){var o=e[r];return void 0===o?t:void 0!==n.source?t:"default"in n&&n.default===o?t:(t[r]=o,t)},{})}function s(e){return h()(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026")}function l(e){return Object(T.html)(e,{indent_inner_html:!0,wrap_line_length:0})}function c(e){var t=Object(R.a)(e.name),n=e.originalContent;if(e.isValid)try{n=i(t,e.attributes)}catch(e){}return Object(R.d)()!==e.name&&n?l(n):n}function u(e,t,n){var r=j()(t)?"":s(t)+" ",o=v()(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:"+o+" "+r+"--\x3e\n"+n+"\n\x3c!-- /wp:"+o+" --\x3e":"\x3c!-- wp:"+o+" "+r+"/--\x3e"}function f(e){var t=e.name,n=Object(R.a)(t),r=c(e),o=a(e.attributes,n);switch(t){case"core/more":var i=o.customText,s=o.noTeaser,l=i?"\x3c!--more "+i+"--\x3e":"\x3c!--more--\x3e",f=s?"\x3c!--noteaser--\x3e":"";return _()([l,f]).join("\n");case Object(R.d)():return r;default:return u(t,o,r)}}function p(e){return x()(e).map(f).join("\n\n")}t.c=r,t.f=o,t.e=i,t.b=c,t.d=u,t.a=p;var d=n(480),h=n.n(d),b=n(10),g=n.n(b),m=n(554),v=n.n(m),y=n(213),_=n.n(y),w=n(294),x=n.n(w),k=n(18),E=n.n(k),O=n(206),C=n.n(O),S=n(214),j=n.n(S),T=n(634),A=(n.n(T),n(2)),P=(n.n(A),n(221)),R=(n.n(P),n(295))},function(e,t,n){e.exports={default:n(481),__esModule:!0}},function(e,t,n){var r=n(12),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){var r,o;Object.values||(Object.values=function(e){if(e!==Object(e))throw new TypeError("Object.values called on a non-object");var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(e[t]);return n}),function(){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function i(e,t){function r(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function o(e){return e.replace(/^\s+|\s+$/g,"")}function i(e){return e.replace(/^\s+/g,"")}function a(e){e=e||p.before_newline;var t=Object.values(p);if(!r(e,t))throw new Error("Invalid Option Value: The option 'operator_position' must be one of the following values\n"+t+"\nYou passed in: '"+e+"'");return e}function s(e,t){"use strict";function s(e,t){var n=0;return e&&(n=e.indentation_level,!G.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:G.get_line_number(),ternary_depth:0}}function l(e,t){for(var n=e.newlines,r=ie.keep_array_indentation&&k(ee.mode),o=Y,i=0;i<e.comments_before.length;i++)Y=e.comments_before[i],l(Y,t),oe[Y.type](t);if(Y=o,r)for(var a=0;a<n;a+=1)m(a>0,t);else if(ie.max_preserve_newlines&&n>ie.max_preserve_newlines&&(n=ie.max_preserve_newlines),ie.preserve_newlines&&e.newlines>1){m(!1,t);for(var s=1;s<n;s+=1)m(!0,t)}}function b(e){e=e.replace(f.allLineBreaks,"\n");for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(e.substring(0,n)),e=e.substring(n+1),n=e.indexOf("\n");return e.length&&t.push(e),t}function g(e){if(e=void 0!==e&&e,!G.just_added_newline()){var t=ie.preserve_newlines&&Y.wanted_newline||e;if(r(ee.last_text,X.positionable_operators)||r(Y.text,X.positionable_operators)){var n=r(ee.last_text,X.positionable_operators)&&r(ie.operator_position,d)||r(Y.text,X.positionable_operators);t=t&&n}if(t)m(!1,!0);else if(ie.wrap_line_length){if("TK_RESERVED"===Z&&r(ee.last_text,ue))return;var o=G.current_line.get_character_count()+Y.text.length+(G.space_before_token?1:0);o>=ie.wrap_line_length&&m(!1,!0)}}}function m(e,t){if(!t&&";"!==ee.last_text&&","!==ee.last_text&&"="!==ee.last_text&&"TK_OPERATOR"!==Z)for(var n=P(1);!(ee.mode!==h.Statement||ee.if_block&&n&&"TK_RESERVED"===n.type&&"else"===n.text||ee.do_block);)O();G.add_new_line(e)&&(ee.multiline_frame=!0)}function v(){G.just_added_newline()&&(ie.keep_array_indentation&&k(ee.mode)&&Y.wanted_newline?(G.current_line.push(Y.whitespace_before),G.space_before_token=!1):G.set_indent(ee.indentation_level)&&(ee.line_indent_level=ee.indentation_level))}function y(e){if(G.raw)return void G.add_raw_token(Y);if(ie.comma_first&&"TK_COMMA"===Z&&G.just_added_newline()&&","===G.previous_line.last()){var t=G.previous_line.pop();G.previous_line.is_empty()&&(G.previous_line.push(t),G.trim(!0),G.current_line.pop(),G.trim()),v(),G.add_token(","),G.space_before_token=!0}e=e||Y.text,v(),G.add_token(e)}function _(){ee.indentation_level+=1}function w(){ee.indentation_level>0&&(!ee.parent||ee.indentation_level>ee.parent.indentation_level)&&(ee.indentation_level-=1)}function x(e){ee?(ne.push(ee),te=ee):te=s(null,e),ee=s(te,e)}function k(e){return e===h.ArrayLiteral}function E(e){return r(e,[h.Expression,h.ForInitializer,h.Conditional])}function O(){ne.length>0&&(te=ee,ee=ne.pop(),te.mode===h.Statement&&G.remove_redundant_indentation(te))}function C(){return ee.parent.mode===h.ObjectLiteral&&ee.mode===h.Statement&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Z&&r(ee.last_text,["get","set"]))}function S(){return!!("TK_RESERVED"===Z&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type||"TK_RESERVED"===Z&&"do"===ee.last_text||"TK_RESERVED"===Z&&r(ee.last_text,["return","throw"])&&!Y.wanted_newline||"TK_RESERVED"===Z&&"else"===ee.last_text&&("TK_RESERVED"!==Y.type||"if"!==Y.text||Y.comments_before.length)||"TK_END_EXPR"===Z&&(te.mode===h.ForInitializer||te.mode===h.Conditional)||"TK_WORD"===Z&&ee.mode===h.BlockStatement&&!ee.in_case&&"--"!==Y.text&&"++"!==Y.text&&"function"!==Q&&"TK_WORD"!==Y.type&&"TK_RESERVED"!==Y.type||ee.mode===h.ObjectLiteral&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Z&&r(ee.last_text,["get","set"])))&&(x(h.Statement),_(),l(Y,!0),C()||g("TK_RESERVED"===Y.type&&r(Y.text,["do","for","if","while"])),!0)}function j(e,t){for(var n=0;n<e.length;n++){if(o(e[n]).charAt(0)!==t)return!1}return!0}function T(e,t){for(var n,r=0,o=e.length;r<o;r++)if((n=e[r])&&0!==n.indexOf(t))return!1;return!0}function A(e){return r(e,["case","return","do","if","throw","else"])}function P(e){var t=$+(e||0);return t<0||t>=ae.length?null:ae[t]}function R(){S()||l(Y);var e=h.Expression;if("["===Y.text){if("TK_WORD"===Z||")"===ee.last_text)return"TK_RESERVED"===Z&&r(ee.last_text,X.line_starters)&&(G.space_before_token=!0),x(e),y(),_(),void(ie.space_in_paren&&(G.space_before_token=!0));e=h.ArrayLiteral,k(ee.mode)&&("["!==ee.last_text&&(","!==ee.last_text||"]"!==Q&&"}"!==Q)||ie.keep_array_indentation||m())}else"TK_RESERVED"===Z&&"for"===ee.last_text?e=h.ForInitializer:"TK_RESERVED"===Z&&r(ee.last_text,["if","while"])&&(e=h.Conditional);";"===ee.last_text||"TK_START_BLOCK"===Z?m():"TK_END_EXPR"===Z||"TK_START_EXPR"===Z||"TK_END_BLOCK"===Z||"."===ee.last_text?g(Y.wanted_newline):"TK_RESERVED"===Z&&"("===Y.text||"TK_WORD"===Z||"TK_OPERATOR"===Z?"TK_RESERVED"===Z&&("function"===ee.last_word||"typeof"===ee.last_word)||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?ie.space_after_anon_function&&(G.space_before_token=!0):"TK_RESERVED"!==Z||!r(ee.last_text,X.line_starters)&&"catch"!==ee.last_text||ie.space_before_conditional&&(G.space_before_token=!0):G.space_before_token=!0,"("===Y.text&&"TK_RESERVED"===Z&&"await"===ee.last_word&&(G.space_before_token=!0),"("===Y.text&&("TK_EQUALS"!==Z&&"TK_OPERATOR"!==Z||C()||g()),"("===Y.text&&"TK_WORD"!==Z&&"TK_RESERVED"!==Z&&g(),x(e),y(),ie.space_in_paren&&(G.space_before_token=!0),_()}function N(){for(;ee.mode===h.Statement;)O();l(Y),ee.multiline_frame&&g("]"===Y.text&&k(ee.mode)&&!ie.keep_array_indentation),ie.space_in_paren&&("TK_START_EXPR"!==Z||ie.space_in_empty_paren?G.space_before_token=!0:(G.trim(),G.space_before_token=!1)),"]"===Y.text&&ie.keep_array_indentation?(y(),O()):(O(),y()),G.remove_redundant_indentation(te),ee.do_while&&te.mode===h.Conditional&&(te.mode=h.Expression,ee.do_block=!1,ee.do_while=!1)}function L(){l(Y);var e=P(1),t=P(2);x(t&&(r(t.text,[":",","])&&r(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||r(e.text,["get","set","..."])&&r(t.type,["TK_WORD","TK_RESERVED"]))?r(Q,["class","interface"])?h.BlockStatement:h.ObjectLiteral:"TK_OPERATOR"===Z&&"=>"===ee.last_text?h.BlockStatement:r(Z,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===Z&&r(ee.last_text,["return","throw","import","default"])?h.ObjectLiteral:h.BlockStatement);var n=!e.comments_before.length&&"}"===e.text,o=n&&"function"===ee.last_word&&"TK_END_EXPR"===Z;if(ie.brace_preserve_inline){var i=0,a=null;ee.inline_frame=!0;do{if(i+=1,a=P(i),a.wanted_newline){ee.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==Y))}("expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline)&&!ee.inline_frame?"TK_OPERATOR"!==Z&&(o||"TK_EQUALS"===Z||"TK_RESERVED"===Z&&A(ee.last_text)&&"else"!==ee.last_text)?G.space_before_token=!0:m(!1,!0):(!k(te.mode)||"TK_START_EXPR"!==Z&&"TK_COMMA"!==Z||(("TK_COMMA"===Z||ie.space_in_paren)&&(G.space_before_token=!0),("TK_COMMA"===Z||"TK_START_EXPR"===Z&&ee.inline_frame)&&(g(),te.multiline_frame=te.multiline_frame||ee.multiline_frame,ee.multiline_frame=!1)),"TK_OPERATOR"!==Z&&"TK_START_EXPR"!==Z&&("TK_START_BLOCK"!==Z||ee.inline_frame?G.space_before_token=!0:m())),y(),_()}function M(){for(l(Y);ee.mode===h.Statement;)O();var e="TK_START_BLOCK"===Z;ee.inline_frame&&!e?G.space_before_token=!0:"expand"===ie.brace_style?e||m():e||(k(ee.mode)&&ie.keep_array_indentation?(ie.keep_array_indentation=!1,m(),ie.keep_array_indentation=!0):m()),O(),y()}function D(){if("TK_RESERVED"===Y.type)if(r(Y.text,["set","get"])&&ee.mode!==h.ObjectLiteral)Y.type="TK_WORD";else if(r(Y.text,["as","from"])&&!ee.import_block)Y.type="TK_WORD";else if(ee.mode===h.ObjectLiteral){var e=P(1);":"===e.text&&(Y.type="TK_WORD")}if(S()?"TK_RESERVED"===Z&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type&&(ee.declaration_statement=!0):!Y.wanted_newline||E(ee.mode)||"TK_OPERATOR"===Z&&"--"!==ee.last_text&&"++"!==ee.last_text||"TK_EQUALS"===Z||!ie.preserve_newlines&&"TK_RESERVED"===Z&&r(ee.last_text,["var","let","const","set","get"])?l(Y):(l(Y),m()),ee.do_block&&!ee.do_while){if("TK_RESERVED"===Y.type&&"while"===Y.text)return G.space_before_token=!0,y(),G.space_before_token=!0,void(ee.do_while=!0);m(),ee.do_block=!1}if(ee.if_block)if(ee.else_block||"TK_RESERVED"!==Y.type||"else"!==Y.text){for(;ee.mode===h.Statement;)O();ee.if_block=!1,ee.else_block=!1}else ee.else_block=!0;if("TK_RESERVED"===Y.type&&("case"===Y.text||"default"===Y.text&&ee.in_case_statement))return m(),(ee.case_body||ie.jslint_happy)&&(w(),ee.case_body=!1),y(),ee.in_case=!0,void(ee.in_case_statement=!0);if("TK_COMMA"!==Z&&"TK_START_EXPR"!==Z&&"TK_EQUALS"!==Z&&"TK_OPERATOR"!==Z||C()||g(),"TK_RESERVED"===Y.type&&"function"===Y.text)return(r(ee.last_text,["}",";"])||G.just_added_newline()&&!r(ee.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==Z)&&(G.just_added_blankline()||Y.comments_before.length||(m(),m(!0))),"TK_RESERVED"===Z||"TK_WORD"===Z?"TK_RESERVED"===Z&&r(ee.last_text,["get","set","new","return","export","async"])?G.space_before_token=!0:"TK_RESERVED"===Z&&"default"===ee.last_text&&"export"===Q?G.space_before_token=!0:m():"TK_OPERATOR"===Z||"="===ee.last_text?G.space_before_token=!0:(ee.multiline_frame||!E(ee.mode)&&!k(ee.mode))&&m(),y(),void(ee.last_word=Y.text);if(re="NONE","TK_END_BLOCK"===Z?te.inline_frame?re="SPACE":"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally","from"])?"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline?re="NEWLINE":(re="SPACE",G.space_before_token=!0):re="NEWLINE":"TK_SEMICOLON"===Z&&ee.mode===h.BlockStatement?re="NEWLINE":"TK_SEMICOLON"===Z&&E(ee.mode)?re="SPACE":"TK_STRING"===Z?re="NEWLINE":"TK_RESERVED"===Z||"TK_WORD"===Z||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?re="SPACE":"TK_START_BLOCK"===Z?re=ee.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===Z&&(G.space_before_token=!0,re="NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&(re=ee.inline_frame||"else"===ee.last_text||"export"===ee.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally"]))if(("TK_END_BLOCK"!==Z||te.mode!==h.BlockStatement||"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline)&&!ee.inline_frame)m();else{G.trim(!0);var t=G.current_line;"}"!==t.last()&&m(),G.space_before_token=!0}else"NEWLINE"===re?"TK_RESERVED"===Z&&A(ee.last_text)?G.space_before_token=!0:"TK_END_EXPR"!==Z?"TK_START_EXPR"===Z&&"TK_RESERVED"===Y.type&&r(Y.text,["var","let","const"])||":"===ee.last_text||("TK_RESERVED"===Y.type&&"if"===Y.text&&"else"===ee.last_text?G.space_before_token=!0:m()):"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&m():ee.multiline_frame&&k(ee.mode)&&","===ee.last_text&&"}"===Q?m():"SPACE"===re&&(G.space_before_token=!0);y(),ee.last_word=Y.text,"TK_RESERVED"===Y.type&&("do"===Y.text?ee.do_block=!0:"if"===Y.text?ee.if_block=!0:"import"===Y.text?ee.import_block=!0:ee.import_block&&"TK_RESERVED"===Y.type&&"from"===Y.text&&(ee.import_block=!1))}function B(){S()?G.space_before_token=!1:l(Y);for(var e=P(1);!(ee.mode!==h.Statement||ee.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||ee.do_block);)O();ee.import_block&&(ee.import_block=!1),y()}function I(){S()?G.space_before_token=!0:(l(Y),"TK_RESERVED"===Z||"TK_WORD"===Z||ee.inline_frame?G.space_before_token=!0:"TK_COMMA"===Z||"TK_START_EXPR"===Z||"TK_EQUALS"===Z||"TK_OPERATOR"===Z?C()||g():m()),y()}function F(){S()||l(Y),ee.declaration_statement&&(ee.declaration_assignment=!0),G.space_before_token=!0,y(),G.space_before_token=!0}function z(){l(Y,!0),y(),G.space_before_token=!0,ee.declaration_statement?(E(ee.parent.mode)&&(ee.declaration_assignment=!1),ee.declaration_assignment?(ee.declaration_assignment=!1,m(!1,!0)):ie.comma_first&&g()):ee.mode===h.ObjectLiteral||ee.mode===h.Statement&&ee.parent.mode===h.ObjectLiteral?(ee.mode===h.Statement&&O(),ee.inline_frame||m()):ie.comma_first&&g()}function H(){var e="*"===Y.text&&("TK_RESERVED"===Z&&r(ee.last_text,["function","yield"])||r(Z,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=r(Y.text,["-","+"])&&(r(Z,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(ee.last_text,X.line_starters)||","===ee.last_text);if(S());else{l(Y,!e)}if("TK_RESERVED"===Z&&A(ee.last_text))return G.space_before_token=!0,void y();if("*"===Y.text&&"TK_DOT"===Z)return void y();if("::"===Y.text)return void y();if("TK_OPERATOR"===Z&&r(ie.operator_position,d)&&g(),":"===Y.text&&ee.in_case)return ee.case_body=!0,_(),y(),m(),void(ee.in_case=!1);var n=!0,o=!0,i=!1;if(":"===Y.text?0===ee.ternary_depth?n=!1:(ee.ternary_depth-=1,i=!0):"?"===Y.text&&(ee.ternary_depth+=1),!t&&!e&&ie.preserve_newlines&&r(Y.text,X.positionable_operators)){var a=":"===Y.text,s=a&&i,c=a&&!i;switch(ie.operator_position){case p.before_newline:return G.space_before_token=!c,y(),a&&!s||g(),void(G.space_before_token=!0);case p.after_newline:return G.space_before_token=!0,!a||s?P(1).wanted_newline?m(!1,!0):g():G.space_before_token=!1,y(),void(G.space_before_token=!0);case p.preserve_newline:return c||g(),n=!(G.just_added_newline()||c),G.space_before_token=n,y(),void(G.space_before_token=!0)}}if(e){g(),n=!1;var u=P(1);o=u&&r(u.type,["TK_WORD","TK_RESERVED"])}else"..."===Y.text?(g(),n="TK_START_BLOCK"===Z,o=!1):(r(Y.text,["--","++","!","~"])||t)&&(n=!1,o=!1,!Y.wanted_newline||"--"!==Y.text&&"++"!==Y.text||m(!1,!0),";"===ee.last_text&&E(ee.mode)&&(n=!0),"TK_RESERVED"===Z?n=!0:"TK_END_EXPR"===Z?n=!("]"===ee.last_text&&("--"===Y.text||"++"===Y.text)):"TK_OPERATOR"===Z&&(n=r(Y.text,["--","-","++","+"])&&r(ee.last_text,["--","-","++","+"]),r(Y.text,["+","-"])&&r(ee.last_text,["--","++"])&&(o=!0)),(ee.mode!==h.BlockStatement||ee.inline_frame)&&ee.mode!==h.Statement||"{"!==ee.last_text&&";"!==ee.last_text||m());G.space_before_token=G.space_before_token||n,y(),G.space_before_token=o}function q(e){if(G.raw)return G.add_raw_token(Y),void(Y.directives&&"end"===Y.directives.preserve&&(G.raw=ie.test_output_raw));if(Y.directives)return m(!1,e),y(),"start"===Y.directives.preserve&&(G.raw=!0),void m(!1,!0);if(!f.newline.test(Y.text)&&!Y.wanted_newline)return G.space_before_token=!0,y(),void(G.space_before_token=!0);var t,n=b(Y.text),r=!1,o=!1,a=Y.whitespace_before,s=a.length;for(m(!1,e),n.length>1&&(r=j(n.slice(1),"*"),o=T(n.slice(1),a)),y(n[0]),t=1;t<n.length;t++)m(!1,!0),r?y(" "+i(n[t])):o&&n[t].length>s?y(n[t].substring(s)):G.add_token(n[t]);m(!1,e)}function U(e){Y.wanted_newline?m(!1,e):G.trim(!0),G.space_before_token=!0,y(),m(!1,e)}function K(){S()||l(Y,!0),"TK_RESERVED"===Z&&A(ee.last_text)?G.space_before_token=!0:g(")"===ee.last_text&&ie.break_chained_methods),y()}function V(e){y(),"\n"===Y.text[Y.text.length-1]&&m(!1,e)}function W(){for(;ee.mode===h.Statement;)O();l(Y)}var G,$,X,Y,Z,Q,J,ee,te,ne,re,oe,ie,ae=[],se="";oe={TK_START_EXPR:R,TK_END_EXPR:N,TK_START_BLOCK:L,TK_END_BLOCK:M,TK_WORD:D,TK_RESERVED:D,TK_SEMICOLON:B,TK_STRING:I,TK_EQUALS:F,TK_OPERATOR:H,TK_COMMA:z,TK_BLOCK_COMMENT:q,TK_COMMENT:U,TK_DOT:K,TK_UNKNOWN:V,TK_EOF:W},t=t||{},t=n(t,"js"),ie={},"expand-strict"===t.brace_style?t.brace_style="expand":"collapse-preserve-inline"===t.brace_style?t.brace_style="collapse,preserve-inline":void 0!==t.braces_on_own_line?t.brace_style=t.braces_on_own_line?"expand":"collapse":t.brace_style||(t.brace_style="collapse");var le=t.brace_style.split(/[^a-zA-Z0-9_\-]+/);for(ie.brace_style=le[0],ie.brace_preserve_inline=!!le[1]&&le[1],ie.indent_size=t.indent_size?parseInt(t.indent_size,10):4,ie.indent_char=t.indent_char?t.indent_char:" ",ie.eol=t.eol?t.eol:"auto",ie.preserve_newlines=void 0===t.preserve_newlines||t.preserve_newlines,ie.break_chained_methods=void 0!==t.break_chained_methods&&t.break_chained_methods,ie.max_preserve_newlines=void 0===t.max_preserve_newlines?0:parseInt(t.max_preserve_newlines,10),ie.space_in_paren=void 0!==t.space_in_paren&&t.space_in_paren,ie.space_in_empty_paren=void 0!==t.space_in_empty_paren&&t.space_in_empty_paren,ie.jslint_happy=void 0!==t.jslint_happy&&t.jslint_happy,ie.space_after_anon_function=void 0!==t.space_after_anon_function&&t.space_after_anon_function,ie.keep_array_indentation=void 0!==t.keep_array_indentation&&t.keep_array_indentation,ie.space_before_conditional=void 0===t.space_before_conditional||t.space_before_conditional,ie.unescape_strings=void 0!==t.unescape_strings&&t.unescape_strings,ie.wrap_line_length=void 0===t.wrap_line_length?0:parseInt(t.wrap_line_length,10),ie.e4x=void 0!==t.e4x&&t.e4x,ie.end_with_newline=void 0!==t.end_with_newline&&t.end_with_newline,ie.comma_first=void 0!==t.comma_first&&t.comma_first,ie.operator_position=a(t.operator_position),ie.test_output_raw=void 0!==t.test_output_raw&&t.test_output_raw,ie.jslint_happy&&(ie.space_after_anon_function=!0),t.indent_with_tabs&&(ie.indent_char="\t",ie.indent_size=1),"auto"===ie.eol&&(ie.eol="\n",e&&f.lineBreak.test(e||"")&&(ie.eol=e.match(f.lineBreak)[0])),ie.eol=ie.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),J="";ie.indent_size>0;)J+=ie.indent_char,ie.indent_size-=1;var ce=0;if(e&&e.length){for(;" "===e.charAt(ce)||"\t"===e.charAt(ce);)se+=e.charAt(ce),ce+=1;e=e.substring(ce)}Z="TK_START_BLOCK",Q="",G=new c(J,se),G.raw=ie.test_output_raw,ne=[],x(h.BlockStatement),this.beautify=function(){var t;for(X=new u(e,ie,J),ae=X.tokenize(),$=0,Y=P();Y;)oe[Y.type](),Q=ee.last_text,Z=Y.type,ee.last_text=Y.text,$+=1,Y=P();return t=G.get_code(),ie.end_with_newline&&(t+="\n"),"\n"!==ie.eol&&(t=t.replace(/[\n]/g,ie.eol)),t};var ue=["break","continue","return","throw"]}function l(e){var t=0,n=-1,r=[],o=!0;this.set_indent=function(r){t=e.baseIndentLength+r*e.indent_length,n=r},this.get_character_count=function(){return t},this.is_empty=function(){return o},this.last=function(){return this._empty?null:r[r.length-1]},this.push=function(e){r.push(e),t+=e.length,o=!1},this.pop=function(){var e=null;return o||(e=r.pop(),t-=e.length,o=0===r.length),e},this.remove_indent=function(){n>0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)r.pop(),t-=1;o=0===r.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=r.join("")),t}}function c(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var n=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new l(this),n.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return n.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(){return n.join("\n").replace(/[\r\n\t ]+$/,"")},this.set_indent=function(e){if(n.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.add_outputline();this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1},this.add_token=function(e){this.add_space_before_token(),this.current_line.push(e)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" "),this.space_before_token=!1},this.remove_redundant_indentation=function(e){if(!e.multiline_frame&&e.mode!==h.ForInitializer&&e.mode!==h.Conditional)for(var t=e.start_line_index,r=n.length;t<r;)n[t].remove_indent(),t++},this.trim=function(r){for(r=void 0!==r&&r,this.current_line.trim(e,t);r&&n.length>1&&this.current_line.is_empty();)n.pop(),this.current_line=n[n.length-1],this.current_line.trim();this.previous_line=n.length>1?n[n.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){if(this.just_added_newline()){if(1===n.length)return!0;return n[n.length-2].is_empty()}return!1}}function u(e,t){function n(e){if(!e.match(E))return null;var t={};O.lastIndex=0;for(var n=O.exec(e);n;)t[n[1]]=n[2],n=O.exec(e);return t}function i(){var e,i=[];h=0,m="";var b=_.next();if(null===b)return["","TK_EOF"];var E;for(E=y.length?y[y.length-1]:new g("TK_START_BLOCK","{");r(b,s);)if(f.newline.test(b)?"\n"===b&&"\r"===_.peek(-2)||(h+=1,i=[]):i.push(b),null===(b=_.next()))return["","TK_EOF"];if(i.length&&(m=i.join("")),l.test(b)||"."===b&&_.testChar(l)){var O=!0,j=!0,T=l;for("0"===b&&_.testChar(/[XxOoBb]/)?(O=!1,j=!1,T=_.testChar(/[Bb]/)?c:_.testChar(/[Oo]/)?u:p,b+=_.next()):"."===b?O=!1:(b="",_.back());_.testChar(T);)b+=_.next(),O&&"."===_.peek()&&(b+=_.next(),O=!1),j&&_.testChar(/[Ee]/)&&(b+=_.next(),_.testChar(/[+-]/)&&(b+=_.next()),j=!1,O=!1);return[b,"TK_WORD"]}if(f.isIdentifierStart(_.peekCharCode(-1))){if(_.hasNext())for(;f.isIdentifierChar(_.peekCharCode())&&(b+=_.next(),_.hasNext()););return"TK_DOT"===E.type||"TK_RESERVED"===E.type&&r(E.text,["set","get"])||!r(b,w)?[b,"TK_WORD"]:"in"===b||"of"===b?[b,"TK_OPERATOR"]:[b,"TK_RESERVED"]}if("("===b||"["===b)return[b,"TK_START_EXPR"];if(")"===b||"]"===b)return[b,"TK_END_EXPR"];if("{"===b)return[b,"TK_START_BLOCK"];if("}"===b)return[b,"TK_END_BLOCK"];if(";"===b)return[b,"TK_SEMICOLON"];if("/"===b){var A,P="";if("*"===_.peek()){_.next(),A=_.match(x),P="/*"+A[0];var R=n(P);return R&&"start"===R.ignore&&(A=_.match(C),P+=A[0]),P=P.replace(f.allLineBreaks,"\n"),[P,"TK_BLOCK_COMMENT",R]}if("/"===_.peek())return _.next(),A=_.match(k),P="//"+A[0],[P,"TK_COMMENT"]}var N=/<()([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;if("`"===b||"'"===b||'"'===b||("/"===b||t.e4x&&"<"===b&&_.test(N,-1))&&("TK_RESERVED"===E.type&&r(E.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===E.type&&")"===E.text&&E.parent&&"TK_RESERVED"===E.parent.type&&r(E.parent.text,["if","while","for"])||r(E.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var L=b,M=!1,D=!1;if(e=b,"/"===L)for(var B=!1;_.hasNext()&&(M||B||_.peek()!==L)&&!_.testChar(f.newline);)e+=_.peek(),M?M=!1:(M="\\"===_.peek(),"["===_.peek()?B=!0:"]"===_.peek()&&(B=!1)),_.next();else if(t.e4x&&"<"===L){var I=/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;_.back();var F="",z=_.match(N);if(z){for(var H=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),q=0===H.indexOf("{"),U=0;z;){var K=!!z[1],V=z[2],W=!!z[z.length-1]||"![CDATA["===V.slice(0,8);if(!W&&(V===H||q&&V.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(K?--U:++U),F+=z[0],U<=0)break;z=_.match(I)}return z||(F+=_.match(/[\s\S]*/g)[0]),F=F.replace(f.allLineBreaks,"\n"),[F,"TK_STRING"]}}else{var G=function(t,n,r){for(var o;_.hasNext()&&(o=_.peek(),M||o!==t&&(n||!f.newline.test(o)));)(M||n)&&f.newline.test(o)?("\r"===o&&"\n"===_.peek(1)&&(_.next(),o=_.peek()),e+="\n"):e+=o,M?("x"!==o&&"u"!==o||(D=!0),M=!1):M="\\"===o,_.next(),r&&-1!==e.indexOf(r,e.length-r.length)&&("`"===t?G("}",n,"`"):G("`",n,"${"),_.hasNext()&&(e+=_.next()))};"`"===L?G("`",!0,"${"):G(L)}if(D&&t.unescape_strings&&(e=a(e)),_.peek()===L&&(e+=L,_.next(),"/"===L))for(;_.hasNext()&&f.isIdentifierStart(_.peekCharCode());)e+=_.next();return[e,"TK_STRING"]}if("#"===b){if(0===y.length&&"!"===_.peek()){for(e=b;_.hasNext()&&"\n"!==b;)b=_.next(),e+=b;return[o(e)+"\n","TK_UNKNOWN"]}var $="#";if(_.hasNext()&&_.testChar(l)){do{b=_.next(),$+=b}while(_.hasNext()&&"#"!==b&&"="!==b);return"#"===b||("["===_.peek()&&"]"===_.peek(1)?($+="[]",_.next(),_.next()):"{"===_.peek()&&"}"===_.peek(1)&&($+="{}",_.next(),_.next())),[$,"TK_WORD"]}}if("<"===b&&("?"===_.peek()||"%"===_.peek())){_.back();var X=_.match(S);if(X)return b=X[0],b=b.replace(f.allLineBreaks,"\n"),[b,"TK_STRING"]}if("<"===b&&_.match(/\!--/g)){for(b="\x3c!--";_.hasNext()&&!_.testChar(f.newline);)b+=_.next();return v=!0,[b,"TK_COMMENT"]}if("-"===b&&v&&_.match(/->/g))return v=!1,["--\x3e","TK_COMMENT"];if("."===b)return"."===_.peek()&&"."===_.peek(1)?(b+=_.next()+_.next(),[b,"TK_OPERATOR"]):[b,"TK_DOT"];if(r(b,d)){for(;_.hasNext()&&r(b+_.peek(),d)&&(b+=_.next(),_.hasNext()););return","===b?[b,"TK_COMMA"]:"="===b?[b,"TK_EQUALS"]:[b,"TK_OPERATOR"]}return[b,"TK_UNKNOWN"]}function a(e){for(var t="",n=0,r=new b(e),o=null;r.hasNext();)if(o=r.match(/([\s]|[^\\]|\\\\)+/g),o&&(t+=o[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())o=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){t+="\\",r.hasNext()&&(t+=r.next());continue}o=r.match(/u([0-9A-Fa-f]{4})/g)}if(!o)return e;if((n=parseInt(o[1],16))>126&&n<=255&&0===o[0].indexOf("x"))return e;if(n>=0&&n<32){t+="\\"+o[0];continue}t+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return t}var s="\n\r\t ".split(""),l=/[0-9]/,c=/[01]/,u=/[01234567]/,p=/[0123456789abcdefABCDEF]/;this.positionable_operators="!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||".split(" ");var d=this.positionable_operators.concat("! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~ ...".split(" "));this.line_starters="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var h,m,v,y,_,w=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),x=/([\s\S]*?)((?:\*\/)|$)/g,k=/([^\n\r\u2028\u2029]*)/g,E=/\/\* beautify( \w+[:]\w+)+ \*\//g,O=/ (\w+)[:](\w+)/g,C=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,S=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;this.tokenize=function(){_=new b(e),v=!1,y=[];for(var t,n,r,o=null,a=[],s=[];!n||"TK_EOF"!==n.type;){for(r=i(),t=new g(r[1],r[0],h,m);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=r[2]),s.push(t),r=i(),t=new g(r[1],r[0],h,m);s.length&&(t.comments_before=s,s=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,a.push(o),o=t):("TK_END_BLOCK"===t.type||"TK_END_EXPR"===t.type)&&o&&("]"===t.text&&"["===o.text||")"===t.text&&"("===o.text||"}"===t.text&&"{"===o.text)&&(t.parent=o.parent,t.opened=o,o=a.pop()),y.push(t),n=t}return y}}var f={};!function(e){var t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n=new RegExp("["+t+"]"),r=new RegExp("["+t+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g"),e.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&n.test(String.fromCharCode(e)))},e.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&r.test(String.fromCharCode(e))))}}(f);var p={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},d=[p.before_newline,p.preserve_newline],h={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"},b=function(e){var t=e,n=t.length,r=0;this.back=function(){r-=1},this.hasNext=function(){return r<n},this.next=function(){var e=null;return this.hasNext()&&(e=t.charAt(r),r+=1),e},this.peek=function(e){var o=null;return e=e||0,e+=r,e>=0&&e<n&&(o=t.charAt(e)),o},this.peekCharCode=function(e){var o=0;return e=e||0,e+=r,e>=0&&e<n&&(o=t.charCodeAt(e)),o},this.test=function(e,n){return n=n||0,e.lastIndex=r+n,e.test(t)},this.testChar=function(e,t){var n=this.peek(t);return null!==n&&e.test(n)},this.match=function(e){e.lastIndex=r;var n=e.exec(t);return n&&n.index===r?r+=n[0].length:n=null,n}},g=function(e,t,n,r,o){this.type=e,this.text=t,this.comments_before=[],this.comments_after=[],this.newlines=n||0,this.wanted_newline=n>0,this.whitespace_before=r||"",this.parent=o||null,this.opened=null,this.directives=null};return new s(e,t).beautify()}r=[],void 0!==(o=function(){return{js_beautify:i}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){var r,o;!function(){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function i(e,t){function r(){return(w=e.charAt(++k))||""}function o(t){var n="",o=k;return t&&c(),n=e.charAt(k+1)||"",k=o-1,r(),n}function l(t){for(var n=k;r();)if("\\"===w)r();else{if(-1!==t.indexOf(w))break;if("\n"===w)break}return e.substring(n,k+1)}function c(e){for(var t=0;x.test(o());)r(),"\n"===w&&e&&b&&(T.newLine(!0),t++);return p=t,t}function u(t){var n=k;for(t="/"===o(),r();r();){if(!t&&"*"===w&&"/"===o()){r();break}if(t&&"\n"===w)return e.substring(n,k)}return e.substring(n,k)+w}function f(t){return e.substring(k-t.length,k).toLowerCase()===t}t=t||{},t=n(t,"css"),e=e||"";var p=0,d=t.indent_size?parseInt(t.indent_size,10):4,h=t.indent_char||" ",b=void 0!==t.preserve_newlines&&t.preserve_newlines,g=void 0===t.selector_separator_newline||t.selector_separator_newline,m=void 0!==t.end_with_newline&&t.end_with_newline,v=void 0===t.newline_between_rules||t.newline_between_rules,y=void 0!==t.space_around_combinator&&t.space_around_combinator;y=y||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var _=t.eol?t.eol:"auto";t.indent_with_tabs&&(h="\t",d=1),"auto"===_&&(_="\n",e&&a.test(e||"")&&(_=e.match(a)[0])),_=_.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(s,"\n");var w,x=/^\s+$/,k=-1,E=0,O=e.match(/^[\t ]*/)[0],C=new Array(d+1).join(h),S=0,j=0,T={};T["{"]=function(e){T.singleSpace(),A.push(e),c(!0)||T.newLine()},T["}"]=function(e){e&&T.newLine(),A.push("}"),c(!0)||T.newLine()},T._lastCharWhitespace=function(){return x.test(A[A.length-1])},T.newLine=function(e){A.length&&(e||"\n"===A[A.length-1]?A[A.length-1]===O&&A.pop():T.trim(),A.push("\n"),O&&A.push(O))},T.singleSpace=function(){A.length&&!T._lastCharWhitespace()&&A.push(" ")},T.preserveSingleSpace=function(){B&&T.singleSpace()},T.trim=function(){for(;T._lastCharWhitespace();)A.pop()};for(var A=[],P=!1,R=!1,N=!1,L="",M="";;){var D=function(){var e="";for(w&&x.test(w)&&(e=w);x.test(r());)e+=w;return e}(),B=""!==D,I=-1!==D.indexOf("\n");if(M=L,L=w,!w)break;if("/"===w&&"*"===o()){var F=0===S;(I||F)&&T.newLine(),A.push(u()),T.newLine(),F&&T.newLine(!0)}else if("/"===w&&"/"===o())I||"{"===M||T.trim(),T.singleSpace(),A.push(u()),T.newLine();else if("@"===w)if(T.preserveSingleSpace(),"{"===o())A.push(l("}"));else{A.push(w);var z=function(e){var t=k,n=l(e);return k=t-1,r(),n}(": ,;{}()[]/='\"");z.match(/[ :]$/)&&(r(),z=l(": ").replace(/\s$/,""),A.push(z),T.singleSpace()),z=z.replace(/\s$/,""),z in i.NESTED_AT_RULE&&(j+=1,z in i.CONDITIONAL_GROUP_RULE&&(N=!0))}else"#"===w&&"{"===o()?(T.preserveSingleSpace(),A.push(l("}"))):"{"===w?"}"===o(!0)?(c(),r(),T.singleSpace(),A.push("{"),T["}"](!1),p<2&&v&&0===S&&T.newLine(!0)):(!function(){S++,O+=C}(),T["{"](w),N?(N=!1,P=S>j):P=S>=j):"}"===w?(!function(){S--,O=O.slice(0,-d)}(),T["}"](!0),P=!1,R=!1,j&&j--,p<2&&v&&0===S&&T.newLine(!0)):":"===w?(c(),!P&&!N||f("&")||function(){for(var t=0,n=k+1;n<e.length;n++){var r=e.charAt(n);if("{"===r)return!0;if("("===r)t+=1;else if(")"===r){if(0===t)return!1;t-=1}else if(";"===r||"}"===r)return!1}return!1}()||f("(")?(f(" ")&&" "!==A[A.length-1]&&A.push(" "),":"===o()?(r(),A.push("::")):A.push(":")):(A.push(":"),R||(R=!0,T.singleSpace()))):'"'===w||"'"===w?(T.preserveSingleSpace(),A.push(l(w))):";"===w?(R=!1,A.push(w),c(!0)||T.newLine()):"("===w?f("url")?(A.push(w),c(),r()&&(")"!==w&&'"'!==w&&"'"!==w?A.push(l(")")):k--)):(E++,T.preserveSingleSpace(),A.push(w),c()):")"===w?(A.push(w),E--):","===w?(A.push(w),!c(!0)&&g&&!R&&E<1?T.newLine():T.singleSpace()):(">"===w||"+"===w||"~"===w)&&!R&&E<1?y?(T.singleSpace(),A.push(w),T.singleSpace()):(A.push(w),c(),w&&x.test(w)&&(w="")):"]"===w?A.push(w):"["===w?(T.preserveSingleSpace(),A.push(w)):"="===w?(c(),A.push("="),x.test(w)&&(w="")):(T.preserveSingleSpace(),A.push(w))}var H="";return O&&(H+=O),H+=A.join("").replace(/[\r\n\t ]+$/,""),m&&(H+="\n"),"\n"!==_&&(H=H.replace(/[\n]/g,_)),H}var a=/\r\n|[\n\r\u2028\u2029]/,s=new RegExp(a.source,"g");i.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},i.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},r=[],void 0!==(o=function(){return{css_beautify:i}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){n(485),e.exports=n(12).Object.keys},function(e,t,n){var r=n(57),o=n(54);n(230)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]]);return n};t.__esModule=!0;var a=n(13),s=n(107),l=n(487),c=n(488),u=c,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.dispatchEvent=function(e){var n=document.createEvent("Event");n.initEvent(e,!0,!1),t.textarea.dispatchEvent(n)},t.updateLineHeight=function(){t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t.saveDOMNodeRef=function(e){var n=t.props.innerRef;n&&n(e),t.textarea=e},t.getLocals=function(){var e=t,n=e.props,r=(n.onResize,n.maxRows),a=(n.onChange,n.style),s=(n.innerRef,i(n,["onResize","maxRows","onChange","style","innerRef"])),l=e.state.lineHeight,c=e.saveDOMNodeRef,u=r&&l?l*r:null;return o({},s,{saveDOMNodeRef:c,style:u?o({},a,{maxHeight:u}):a,onChange:t.onChange})},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows?(this.updateLineHeight(),setTimeout(function(){return l(e.textarea)})):l(this.textarea),n&&this.textarea.addEventListener("autosize:resized",n)},t.prototype.componentWillUnmount=function(){var e=this.props.onResize;e&&this.textarea.removeEventListener("autosize:resized",e),this.dispatchEvent("autosize:destroy")},t.prototype.render=function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=i(e,["children","saveDOMNodeRef"]);return a.createElement("textarea",o({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(){this.props.value!==this.currentValue&&this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:s.number,maxRows:s.number,onResize:s.func,innerRef:s.func},t}(a.Component);t.default=f},function(e,t,n){var r,o,i;/*!
|
7 |
+
Autosize 4.0.0
|
8 |
license: MIT
|
9 |
http://www.jacklmoore.com/autosize
|
10 |
*/
|
11 |
+
!function(n,a){o=[t,e],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(e,t){"use strict";function n(e){function t(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function n(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){var t=e.style.height,r=n(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="";var i=e.scrollHeight+s;if(0===e.scrollHeight)return void(e.style.height=t);e.style.height=i+"px",l=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}function o(){r();var n=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i!==n?"hidden"===o.overflowY&&(t("scroll"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(t("hidden"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==i){c=i;var s=a("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var s=null,l=e.clientWidth,c=null,u=function(){e.clientWidth!==l&&o()},f=function(t){window.removeEventListener("resize",u,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",f,!1),e.removeEventListener("autosize:update",o,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",f,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",u,!1),e.addEventListener("input",o,!1),e.addEventListener("autosize:update",o,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:f,update:o}),function(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),s="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(s)&&(s=0),o()}()}}function r(e){var t=i.get(e);t&&t.destroy()}function o(e){var t=i.get(e);t&&t.update()}var i="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),a=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){a=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e)}),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e}),t.exports=s})},function(e,t,n){function r(e){var t=o(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=o(e,"line-height"),n=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=o(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var l=document.body;l.appendChild(a);n=a.offsetHeight,l.removeChild(a)}return n}var o=n(489);e.exports=r},function(e,t){var n=function(e,t,n){return n=window.getComputedStyle,(n?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]};e.exports=n},function(e,t,n){function r(e){return function(t){return o(a(i(t).replace(s,"")),e,"")}}var o=n(122),i=n(491),a=n(493),s=RegExp("['’]","g");e.exports=r},function(e,t,n){function r(e){return(e=i(e))&&e.replace(a,o).replace(s,"")}var o=n(492),i=n(51),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=r},function(e,t,n){var r=n(337),o={"À":"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"},i=r(o);e.exports=i},function(e,t,n){function r(e,t,n){return e=a(e),t=n?void 0:t,void 0===t?i(e)?s(e):o(e):e.match(t)||[]}var o=n(494),i=n(495),a=n(51),s=n(496);e.exports=r},function(e,t){function n(e){return e.match(r)||[]}var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=n},function(e,t){function n(e){return r.test(e)}var r=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=n},function(e,t){function n(e){return e.match(b)||[]}var r="\\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",o="["+r+"]",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",a="[^\\ud800-\\udfff"+r+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:"+i+"|"+a+")",f="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,l].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*",d="[\\ufe0e\\ufe0f]?"+f+p,h="(?:"+["[\\u2700-\\u27bf]",s,l].join("|")+")"+d,b=RegExp([c+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,c,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[o,c+u,"$"].join("|")+")",c+"?"+u+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",h].join("|"),"g");e.exports=n},function(e,t,n){function r(e){return function(t){t=s(t);var n=i(t)?a(t):void 0,r=n?n[0]:t.charAt(0),l=n?o(n,1).join(""):t.slice(1);return r[e]()+l}}var o=n(498),i=n(304),a=n(499),s=n(51);e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:o(e,t,n)}var o=n(146);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var o=n(500),i=n(304),a=n(501);e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(f)||[]}var r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",l="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",c="[\\ufe0e\\ufe0f]?"+s+l,u="(?:"+["[^\\ud800-\\udfff]"+r+"?",r,i,a,"[\\ud800-\\udfff]"].join("|")+")",f=RegExp(o+"(?="+o+")|"+u+c,"g");e.exports=n},function(e,t){function n(e){if("function"!=typeof e)throw new TypeError(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var r="Expected a function";e.exports=n},function(e,t){!function(){e.exports=this.tinymce}()},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(R[e])}function s(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function l(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(P,"."),r+s(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],o=0,i=e.length;o<i;)t=e.charCodeAt(o++),t>=55296&&t<=56319&&o<i?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--)):r.push(t);return r}function u(e){return s(e,function(e){var t="";return e>65535&&(e-=65536,t+=M(e>>>10&1023|55296),e=56320|1023&e),t+=M(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?L(e/O):e>>1,e+=L(e/t);e>N*k>>1;r+=w)e=L(e/N);return L(r+(N+1)*e/(e+E))}function h(e){var t,n,r,o,i,s,l,c,p,h,b=[],g=e.length,m=0,v=S,y=C;for(n=e.lastIndexOf(j),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&a("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;){for(i=m,s=1,l=w;o>=g&&a("invalid-input"),c=f(e.charCodeAt(o++)),(c>=w||c>L((_-m)/s))&&a("overflow"),m+=c*s,p=l<=y?x:l>=y+k?k:l-y,!(c<p);l+=w)h=w-p,s>L(_/h)&&a("overflow"),s*=h;t=b.length+1,y=d(m-i,t,0==i),L(m/t)>_-v&&a("overflow"),v+=L(m/t),m%=t,b.splice(m++,0,v)}return u(b)}function b(e){var t,n,r,o,i,s,l,u,f,h,b,g,m,v,y,E=[];for(e=c(e),g=e.length,t=S,n=0,i=C,s=0;s<g;++s)(b=e[s])<128&&E.push(M(b));for(r=o=E.length,o&&E.push(j);r<g;){for(l=_,s=0;s<g;++s)(b=e[s])>=t&&b<l&&(l=b);for(m=r+1,l-t>L((_-n)/m)&&a("overflow"),n+=(l-t)*m,t=l,s=0;s<g;++s)if(b=e[s],b<t&&++n>_&&a("overflow"),b==t){for(u=n,f=w;h=f<=i?x:f>=i+k?k:f-i,!(u<h);f+=w)y=u-h,v=w-h,E.push(M(p(h+y%v,0))),u=L(y/v);E.push(M(p(u,0))),i=d(n,m,r==o),n=0,++r}++n,++t}return E.join("")}function g(e){return l(e,function(e){return T.test(e)?h(e.slice(4).toLowerCase()):e})}function m(e){return l(e,function(e){return A.test(e)?"xn--"+b(e):e})}var v=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,"object"==typeof r&&r);var y,_=2147483647,w=36,x=1,k=26,E=38,O=700,C=72,S=128,j="-",T=/^xn--/,A=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=w-x,L=Math.floor,M=String.fromCharCode;y={version:"1.4.1",ucs2:{decode:c,encode:u},decode:h,encode:b,toASCII:m,toUnicode:g},void 0!==(o=function(){return y}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(64)(e),n(58))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var f,p,d,h,b=e[u].replace(s,"%20"),g=b.indexOf(n);g>=0?(f=b.substr(0,g),p=b.substr(g+1)):(f=b,p=""),d=decodeURIComponent(f),h=decodeURIComponent(p),r(a,d)?o(a[d])?a[d].push(h):a[d]=[a[d],h]:a[d]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(a(e),function(a){var s=encodeURIComponent(o(a))+n;return i(e[a])?r(e[a],function(e){return s+encodeURIComponent(o(e))}).join(t):s+encodeURIComponent(o(e[a]))}).join(t):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){function r(e){return e=o(e),e&&a.test(e)?e.replace(i,"\\$&"):e}var o=n(51),i=/[\\^$.*+?()[\]{}|]/g,a=RegExp(i.source);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.defaultColors,n=e.colors,r=e.value,o=e.onChange,c=n||t;return wp.element.createElement("div",{className:"blocks-color-palette"},c.map(function(e){var t={color:e},n=i()("blocks-color-palette__item",{"is-active":r===e});return wp.element.createElement("div",{key:e,className:"blocks-color-palette__item-wrapper"},wp.element.createElement("button",{type:"button",className:n,style:t,onClick:function(){return o(r===e?void 0:e)},"aria-label":Object(l.sprintf)(Object(l.__)("Color: %s"),e),"aria-pressed":r===e}))}),wp.element.createElement(s.Dropdown,{className:"blocks-color-palette__item-wrapper blocks-color-palette__custom-color",contentClassName:"blocks-color-palette__picker ",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement("button",{type:"button","aria-expanded":t,className:"blocks-color-palette__item",onClick:n,"aria-label":Object(l.__)("Custom color picker")},wp.element.createElement("span",{className:"blocks-color-palette__custom-color-gradient"}))},renderContent:function(){return wp.element.createElement(a.ChromePicker,{color:r,onChangeComplete:function(e){return o(e.hex)},style:{width:"100%"},disableAlpha:!0})}}),wp.element.createElement("button",{className:"button-link blocks-color-palette__clear",type:"button",onClick:function(){return o(void 0)}},Object(l.__)("Clear")))}var o=n(19),i=n.n(o),a=n(713),s=(n.n(a),n(1)),l=(n.n(s),n(0)),c=(n.n(l),n(772));n.n(c);t.a=Object(s.withContext)("editor")(function(e){return{defaultColors:e.colors}})(r)},function(e,t,n){function r(e,t){return e&&o(e,i(t))}var o=n(135),i=n(403);e.exports=r},function(e,t,n){e.exports=n(305)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(743),i=r(o),a=n(744),s=r(a),l=n(745),c=r(l);t.Raised=i.default,t.Tile=s.default,t.Tabs=c.default},function(e,t,n){function r(e,t,n){return t=(n?i(e,t,n):void 0===t)?1:a(t),o(s(e),t)}var o=n(514),i=n(129),a=n(75),s=n(51);e.exports=r},function(e,t){function n(e,t){var n="";if(!e||t<1||t>r)return n;do{t%2&&(n+=e),(t=o(t/2))&&(e+=e)}while(t);return n}var r=9007199254740991,o=Math.floor;e.exports=n},function(e,t,n){var r=n(337),o={"&":"&","<":"<",">":">",""":'"',"'":"'"},i=r(o);e.exports=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}var a=n(13),s=(n.n(a),n(107)),l=n.n(s),c=n(416);n(320);t.a=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],s=n||t+"Subscription",u=function(e){function n(i,a){r(this,n);var s=o(this,e.call(this,i,a));return s[t]=i.store,s}return i(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[s]=null,e},n.prototype.render=function(){return a.Children.only(this.props.children)},n}(a.Component);return u.propTypes={store:c.a.isRequired,children:l.a.element.isRequired},u.childContextTypes=(e={},e[t]=c.a.isRequired,e[s]=c.b,e),u}()},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(u){var p=c(n);p&&p!==u&&e(t,p,f)}var d=a(n);s&&(d=d.concat(s(n)));for(var h=0;h<d.length;++h){var b=d[h];if(!(r[b]||o[b]||f&&f[b])){var g=l(n,b);try{i(t,b,g)}catch(e){}}}return t}return t}},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;l=new Error(t.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=i,e=i},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==i&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}n.d(t,"a",function(){return s});var i=null,a={notify:function(){}},s=function(){function e(t,n,o){r(this,e),this.store=t,this.parentSub=n,this.onStateChange=o,this.unsubscribe=null,this.listeners=a}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=o())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=a)},e}()},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(e,t){return e===t}var a=n(417),s=n(521),l=n(522),c=n(523),u=n(524),f=n(525),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?a.a:t,d=e.mapStateToPropsFactories,h=void 0===d?c.a:d,b=e.mapDispatchToPropsFactories,g=void 0===b?l.a:b,m=e.mergePropsFactories,v=void 0===m?u.a:m,y=e.selectorFactory,_=void 0===y?f.a:y;return function(e,t,a){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=l.pure,u=void 0===c||c,f=l.areStatesEqual,d=void 0===f?i:f,b=l.areOwnPropsEqual,m=void 0===b?s.a:b,y=l.areStatePropsEqual,w=void 0===y?s.a:y,x=l.areMergedPropsEqual,k=void 0===x?s.a:x,E=r(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),O=o(e,h,"mapStateToProps"),C=o(t,g,"mapDispatchToProps"),S=o(a,v,"mergeProps");return n(_,p({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:O,initMapDispatchToProps:C,initMergeProps:S,pure:u,areStatesEqual:d,areOwnPropsEqual:m,areStatePropsEqual:w,areMergedPropsEqual:k},E))}}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(!i.call(t,n[a])||!r(e[n[a]],t[n[a]]))return!1;return!0}t.a=o;var i=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e){return"function"==typeof e?Object(s.b)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:Object(s.a)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?Object(s.a)(function(t){return Object(a.a)(e,t)}):void 0}var a=n(236),s=n(432);t.a=[r,o,i]},function(e,t,n){"use strict";function r(e){return"function"==typeof e?Object(i.b)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:Object(i.a)(function(){return{}})}var i=n(432);t.a=[r,o]},function(e,t,n){"use strict";function r(e,t,n){return s({},n,e,t)}function o(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,s){var l=e(t,n,s);return i?r&&o(l,a)||(a=l):(i=!0,a=l),a}}}function i(e){return"function"==typeof e?o(e):void 0}function a(e){return e?void 0:function(){return r}}var s=(n(433),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});t.a=[i,a]},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function i(e,t,n,r,o){function i(o,i){return h=o,b=i,g=e(h,b),m=t(r,b),v=n(g,m,b),d=!0,v}function a(){return g=e(h,b),t.dependsOnOwnProps&&(m=t(r,b)),v=n(g,m,b)}function s(){return e.dependsOnOwnProps&&(g=e(h,b)),t.dependsOnOwnProps&&(m=t(r,b)),v=n(g,m,b)}function l(){var t=e(h,b),r=!p(t,g);return g=t,r&&(v=n(g,m,b)),v}function c(e,t){var n=!f(t,b),r=!u(e,h);return h=e,b=t,n&&r?a():n?s():r?l():v}var u=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1,h=void 0,b=void 0,g=void 0,m=void 0,v=void 0;return function(e,t){return d?c(e,t):i(e,t)}}function a(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,s=t.initMergeProps,l=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,l),u=a(e,l),f=s(e,l);return(l.pure?i:o)(c,u,f,e,l)}t.a=a;n(526)},function(e,t,n){"use strict";n(320)},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(141),o=n(69),i=n(550),a=n(33),s=n(94),l=n(36),c=Object.prototype,u=c.hasOwnProperty,f=i(function(e,t){if(s(t)||a(t))return void o(t,l(t),e);for(var n in t)u.call(t,n)&&r(e,n,t[n])});e.exports=f},function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t})}var o=n(93),i=n(129);e.exports=r},function(e,t,n){"use strict";function r(){return i}t.a=r;var o=n(0),i=(n.n(o),[{slug:"common",title:Object(o.__)("Common Blocks")},{slug:"formatting",title:Object(o.__)("Formatting")},{slug:"layout",title:Object(o.__)("Layout Blocks")},{slug:"widgets",title:Object(o.__)("Widgets")},{slug:"embed",title:Object(o.__)("Embed")},{slug:"reusable-blocks",title:Object(o.__)("Saved Blocks")}])},function(e,t,n){"use strict";function r(e,t){if(t){if("string"==typeof e){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce(function(n,o){return n[o]=r(e,t[o]),n},{})}}function o(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return Object(c.a)(r,t)}}function i(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=o(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}function a(e){return o(e,"innerHTML")}function s(e){return o(e,"textContent")}function l(e,t){return function(n){var o=n.querySelectorAll(e);return[].map.call(o,function(e){return r(e,t)})}}t.c=r,t.d=o,t.a=i,t.b=a,t.f=s,t.e=l;var c=n(626)},function(e,t,n){"use strict";function r(e){return e.trim().split(T)}function o(e){return r(e).join(" ")}function i(e){return e.attributes.filter(function(e){var t=v()(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||_()(L,n)})}function a(e,t){var n=x.a.apply(void 0,g()([e.chars,t.chars].map(o)));return n||M.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),n}function s(e){return e.replace(P,"url($1)")}function l(e){var t=e.replace(/;?\s*$/,"").split(";").map(function(e){var t=e.split(":"),n=h()(t),r=n[0],o=n.slice(1),i=o.join(":");return[r.trim(),s(i.trim())]});return E()(t)}function c(e,t){if(e.length!==t.length)return M.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(E.a),r=v()(n,2),o=r[0],i=r[1];for(var a in o){if(!i.hasOwnProperty(a))return M.warning("Encountered unexpected attribute `%s`.",a),!1;var s=o[a],l=i[a],c=D[a];if(c){if(!c(s,l))return M.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}else if(s!==l)return M.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}return!0}function u(e){for(var t=void 0;t=e.shift();){if("Chars"!==t.type)return t;if(!A.test(t.chars))return t}}function f(e,t){for(var n=[e,t].map(S.tokenize),r=v()(n,2),o=r[0],i=r[1],a=void 0,s=void 0;a=u(o);){if(!(s=u(i)))return M.warning("Expected end of content, instead saw %o.",a),!1;if(a.type!==s.type)return M.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",s.type,s,a.type,a),!1;var l=B[a.type];if(l&&!l(a,s))return!1}return!(s=u(i))||(M.warning("Expected %o, instead saw end of content.",s),!1)}function p(e,t,n){var r=void 0;try{r=Object(j.e)(t,n)}catch(e){return M.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),!1}var o=f(e,r);return o||M.error("Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s",t.name,t,r,e),o}t.a=p;var d=n(628),h=n.n(d),b=n(38),g=n.n(b),m=n(147),v=n.n(m),y=n(121),_=n.n(y),w=n(137),x=n.n(w),k=n(629),E=n.n(k),O=n(630),C=n.n(O),S=n(632),j=(n.n(S),n(479)),T=/[\t\n\r\v\f ]+/g,A=/^[\t\n\r\v\f ]*$/,P=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,R=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","open","playsinline","readonly","required","reversed","selected","typemustmatch"],N=["autocomplete","contenteditable","crossorigin","dir","dir","draggable","enctype","formenctype","formmethod","inputmode","kind","method","preload","sandbox","scope","shape","spellcheck","step","translate","type","type","workertype","wrap"],L=[].concat(R,N),M=function(){function e(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,["Block validation: "+t].concat(r))}}return{error:e(console.error),warning:e(console.warn)}}(),D={class:function(e,t){return!C.a.apply(void 0,g()([e,t].map(r))).length},style:function(e,t){return x.a.apply(void 0,g()([e,t].map(l)))}},B={StartTag:function(e,t){return e.tagName!==t.tagName?(M.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):c.apply(void 0,g()([e,t].map(i)))},Chars:a,Comment:a}},function(e,t,n){function r(e,t,n){return e=s(e),n=null==n?0:o(a(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}var o=n(633),i=n(182),a=n(75),s=n(51);e.exports=r},function(e,t,n){"use strict";function r(e){return e.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}function o(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(";").reduce(function(e,t){var n=t.split(":"),o=r(n[0]||"").trim(),i=(n[1]||"").trim();return o&&i&&(e[o]=i),e},{})}function i(e){return[].concat((0,c.default)(e)).reduce(function(e,t){var n=t.name,r=t.value,i=d[n.replace(/[-:]/,"")]||n;return"style"===i&&(r=o(r)),e[i]=r,e},{})}function a(e,t){return[].concat((0,c.default)(e)).reduce(function(e,n){n._domReactKey||(n._domReactKey="_domReact"+String(h++));var r=s(n,t);return Array.isArray(r)?e.push.apply(e,(0,c.default)(r)):e.push(r),e},[])}function s(e,t){if(!e)return null;if(3===e.nodeType)return e.nodeValue;if(1!==e.nodeType)return null;var n=e.nodeName.toLowerCase(),r={},o=[];return e.hasAttributes()&&(r=i(e.attributes)),e._domReactKey&&(r.key=e._domReactKey),e.hasChildNodes()&&(o=a(e.childNodes,t)),t.apply(void 0,[n,r].concat((0,c.default)(o)))}Object.defineProperty(t,"__esModule",{value:!0});var l=n(38),c=function(e){return e&&e.__esModule?e:{default:e}}(l);t.attributeListToReact=i,t.nodeListToReact=a,t.nodeToReact=s;var u=["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap"],f=["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],p=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"],d=[].concat(u,f,p).reduce(function(e,t){var n=t.toLowerCase();return t!==n&&(e[n]=t),e},{});d.class="className";var h=0},function(e,t,n){"use strict";var r=n(375),o=window.Node,i=o.ELEMENT_NODE,a=o.TEXT_NODE;t.a=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),o=t.body,s=n.body;for(o.innerHTML=e;o.firstChild;){var l=o.firstChild;l.nodeType===a?l.nodeValue.trim()?(s.lastChild&&"P"===s.lastChild.nodeName||s.appendChild(document.createElement("P")),s.lastChild.appendChild(l)):o.removeChild(l):l.nodeType===i?"BR"===l.nodeName?(l.nextSibling&&"BR"===l.nextSibling.nodeName&&(s.appendChild(document.createElement("P")),o.removeChild(l.nextSibling)),s.lastChild&&"P"===s.lastChild.nodeName&&s.lastChild.hasChildNodes()?s.lastChild.appendChild(l):o.removeChild(l)):"P"===l.nodeName?Object(r.g)(l)?o.removeChild(l):s.appendChild(l):Object(r.h)(l)?(s.lastChild&&"P"===s.lastChild.nodeName||s.appendChild(document.createElement("P")),s.lastChild.appendChild(l)):s.appendChild(l):o.removeChild(l)}return s.innerHTML}},function(e,t,n){"use strict";function r(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}var o=window.Node.ELEMENT_NODE;t.a=function(e,t){return function(n){if(n.nodeType===o&&e(n)){var i=t&&t(n);i&&n.appendChild(i),r(n)}}}},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,a=e.onChange,l=e.type,u=void 0===l?"text":l,f=s()(e,["label","value","help","instanceId","onChange","type"]),p="inspector-text-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(c.a,{label:t,id:p,help:r},wp.element.createElement("input",i()({className:"blocks-text-control__input",type:u,id:p,value:n,onChange:d,"aria-describedby":r?p+"__help":void 0},f)))}var o=n(10),i=n.n(o),a=n(40),s=n.n(a),l=n(1),c=(n.n(l),n(231)),u=n(658);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t,n){"use strict";function r(){console.warn("Attributes matchers are deprecated and they will be removed in a future version of Gutenberg. Please update your attributes definition https://wordpress.org/gutenberg/handbook/block-api/attributes/")}function o(e){return e.attributes=l()(e.attributes,function(e){return u()(e.source)?a()({},e,e.source()):e}),e}n.d(t,"a",function(){return p}),n.d(t,"e",function(){return d}),n.d(t,"c",function(){return h}),n.d(t,"g",function(){return b}),n.d(t,"f",function(){return g}),n.d(t,"b",function(){return m}),n.d(t,"d",function(){return v});var i=n(10),a=n.n(i),s=n(210),l=n.n(s),c=n(79),u=n.n(c),f=n(221),p=(n.n(f),function(e,t){return function(){return r(),{source:"attribute",attribute:void 0===t?e:t,selector:void 0===t?void 0:e}}}),d=function(e,t){return function(){return r(),{source:"property",property:void 0===t?e:t,selector:void 0===t?void 0:e}}},h=function(e){return function(){return r(),{source:"html",selector:e}}},b=function(e){return function(){return r(),{source:"text",selector:e}}},g=function(e,t){return function(){return r(),{source:"query",selector:e,query:t}}},m=function(e){return function(){return r(),{source:"children",selector:e}}},v=function(e){return function(){return r(),{source:"node",selector:e}}};Object(f.addFilter)("blocks.registerBlockType","core/matchers",o)},function(e,t,n){function r(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||o(e,t,n)}var o=n(68),i=n(80);e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"a",function(){return m});var r=n(554),o=n.n(r),i=n(377),a=n.n(i),s=n(36),l=n.n(s),c=n(684),u=n.n(c),f=n(137),p=n.n(f),d=n(410),h=n.n(d),b=function(e){return o()(e,"aria-")},g=function(e){return a()(e,function(e,t){return b(t)&&!u()(e)})},m=function(e,t){var n=l()(g(e)),r=l()(g(t));return{removedKeys:h()(n,r),updatedKeys:r.filter(function(n){return!p()(e[n],t[n])})}}},function(e,t,n){"use strict";function r(e){var t=e.className,n=e.icon,r=e.label,o=e.onSelectImage,u=function(e){var t=i()(e,1),n=t[0];return o(n)},f=function(e){return Object(s.mediaUpload)(e,u)},p=function(e){return Object(s.mediaUpload)(e.target.files,u)};return wp.element.createElement(a.Placeholder,{className:t,instructions:Object(l.__)("Drag image here or add from media library"),icon:n,label:r},wp.element.createElement(a.DropZone,{onFilesDrop:f}),wp.element.createElement(a.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:p,accept:"image/*"},Object(l.__)("Upload")),wp.element.createElement(c.a,{buttonProps:{isLarge:!0},onSelect:o,type:"image"},Object(l.__)("Add from Media Library")))}t.a=r;var o=n(147),i=n.n(o),a=n(1),s=(n.n(a),n(43)),l=(n.n(s),n(0)),c=(n.n(l),n(309))},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),f=n(8),p=n.n(f),d=n(19),h=n.n(d),b=n(688),g=(n.n(b),n(0)),m=(n.n(g),n(2)),v=(n.n(m),n(1)),y=(n.n(v),n(453)),_=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.toggle=e.toggle.bind(e),e.submitLink=e.submitLink.bind(e),e.state={expanded:!1},e}return p()(t,e),l()(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded;return wp.element.createElement("div",{className:"blocks-url-input__button"},wp.element.createElement(v.IconButton,{icon:"admin-links",label:Object(g.__)("Edit Link"),onClick:this.toggle,className:h()("components-toolbar__control",{"is-active":t})}),r&&wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",onSubmit:this.submitLink},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line"},wp.element.createElement(v.IconButton,{className:"blocks-url-input__back",icon:"arrow-left-alt",label:Object(g.__)("Close"),onClick:this.toggle}),wp.element.createElement(y.a,{value:t||"",onChange:n,"data-test":"UrlInput"}),wp.element.createElement(v.IconButton,{icon:"editor-break",label:Object(g.__)("Submit"),type:"submit"}))))}}]),t}(m.Component);t.a=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var o=n(13),i=r(o),a=n(22),s=r(a),l=n(724),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(l),u=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=e.borderRadius,l=e.boxShadow,u=(0,s.default)({default:{grid:{borderRadius:a,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+c.get(t,n,r,o.canvas)+") center left"}}});return i.default.createElement("div",{style:u.grid})};u.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(307),p=r(f),d=n(217),h=r(d),b=t.ColorWrap=function(e){var t=function(t){function n(e){o(this,n);var t=i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=s({},h.default.toState(e.color,0)),t.debounce=(0,p.default)(function(e,t,n){e(t,n)},100),t}return a(n,t),l(n,[{key:"componentWillReceiveProps",value:function(e){this.setState(s({},h.default.toState(e.color,this.state.oldHue)))}},{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),u.default.createElement(e,s({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}(c.PureComponent||c.Component);return t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t};t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",function(){return r}),n.d(t,"pink",function(){return o}),n.d(t,"purple",function(){return i}),n.d(t,"deepPurple",function(){return a}),n.d(t,"indigo",function(){return s}),n.d(t,"blue",function(){return l}),n.d(t,"lightBlue",function(){return c}),n.d(t,"cyan",function(){return u}),n.d(t,"teal",function(){return f}),n.d(t,"green",function(){return p}),n.d(t,"lightGreen",function(){return d}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return b}),n.d(t,"amber",function(){return g}),n.d(t,"orange",function(){return m}),n.d(t,"deepOrange",function(){return v}),n.d(t,"brown",function(){return y}),n.d(t,"grey",function(){return _}),n.d(t,"blueGrey",function(){return w}),n.d(t,"darkText",function(){return x}),n.d(t,"lightText",function(){return k}),n.d(t,"darkIcons",function(){return E}),n.d(t,"lightIcons",function(){return O}),n.d(t,"white",function(){return C}),n.d(t,"black",function(){return S});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},l={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},u={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},g={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},v={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},x={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},k={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},E={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},O={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},C="#ffffff",S="#000000";t.default={red:r,pink:o,purple:i,deepPurple:a,indigo:s,blue:l,lightBlue:c,cyan:u,teal:f,green:p,lightGreen:d,lime:h,yellow:b,amber:g,orange:m,deepOrange:v,brown:y,grey:_,blueGrey:w,darkText:x,lightText:k,darkIcons:E,lightIcons:O,white:C,black:S}},function(e,t,n){"use strict";function r(e){var t=e.backgroundColor,n=e.textColor,r=e.isLargeText,o=e.fallbackBackgroundColor,l=e.fallbackTextColor;if(!t&&!o||!n&&!l)return null;var c=i()(t||o),u=i()(n||l);if(i.a.isReadable(c,u,{level:"AA",size:r?"large":"small"}))return null;var f=c.getBrightness()<u.getBrightness()?Object(a.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(a.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return wp.element.createElement("div",{className:"blocks-contrast-checker"},wp.element.createElement(s.Notice,{status:"warning",content:f,isDismissible:!1}))}var o=n(773),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),n(774));n.n(l);t.a=r},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return p()(e,function(e){return[{value:e.id,label:h()(" ",3*t)+g()(e.name)}].concat(l()(r(e.children,t+1)))})}function o(e){var t=e.termsTree,n=e.label,o=e.noOptionLabel,i=e.selectedTerm,s=e.onChange,c=u()([o&&{value:"",label:o}].concat(l()(r(t))));return wp.element.createElement(m.a,a()({label:n,options:c,onChange:s},{value:i}))}t.a=o;var i=n(10),a=n.n(i),s=n(38),l=n.n(s),c=n(213),u=n.n(c),f=n(449),p=n.n(f),d=n(513),h=n.n(d),b=n(415),g=n.n(b),m=n(379)},function(e,t){},function(e,t){},function(e,t,n){function r(e,t){if((e=a(e))<1||e>s)return[];var n=l,r=c(e,l);t=i(t),e-=l;for(var u=o(r,t);++n<e;)t(n);return u}var o=n(220),i=n(403),a=n(75),s=9007199254740991,l=4294967295,c=Math.min;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.name,n=e.attributes,r=void 0===n?{}:n,o=Object(c.f)(t);if(!o)return null;var a=Object(c.m)(o,"className",!0)?Object(c.e)(t):null,l=s()(a,r.className),u=o.edit||o.save;return wp.element.createElement(u,i()({},e,{className:l}))}var o=n(10),i=n.n(o),a=n(19),s=n.n(a),l=n(1),c=(n.n(l),n(35));t.a=Object(l.withFilters)("blocks.BlockEdit")(r)},function(e,t,n){"use strict";function r(e){var t=e.icon;return"string"==typeof t?wp.element.createElement(o.Dashicon,{icon:t}):"function"==typeof t?t.prototype instanceof i.Component?Object(i.createElement)(t):t():t||null}t.a=r;var o=n(1),i=(n.n(o),n(2));n.n(i)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"source",function(){return y});var r=(n(624),n(664),n(35));n.d(t,"createBlock",function(){return r.a}),n.d(t,"getPossibleBlockTransformations",function(){return r.j}),n.d(t,"switchToBlockType",function(){return r.v}),n.d(t,"createReusableBlock",function(){return r.b}),n.d(t,"parse",function(){return r.p}),n.d(t,"getBlockAttributes",function(){return r.c}),n.d(t,"rawHandler",function(){return r.q}),n.d(t,"serialize",function(){return r.s}),n.d(t,"getBlockContent",function(){return r.d}),n.d(t,"getBlockDefaultClassname",function(){return r.e}),n.d(t,"getSaveElement",function(){return r.k}),n.d(t,"isValidBlock",function(){return r.o}),n.d(t,"getCategories",function(){return r.h}),n.d(t,"registerBlockType",function(){return r.r}),n.d(t,"unregisterBlockType",function(){return r.w}),n.d(t,"setUnknownTypeHandlerName",function(){return r.u}),n.d(t,"getUnknownTypeHandlerName",function(){return r.l}),n.d(t,"setDefaultBlockName",function(){return r.t}),n.d(t,"getDefaultBlockName",function(){return r.i}),n.d(t,"getBlockType",function(){return r.f}),n.d(t,"getBlockTypes",function(){return r.g}),n.d(t,"hasBlockSupport",function(){return r.m}),n.d(t,"isReusableBlock",function(){return r.n});var o=n(456);n.d(t,"AlignmentToolbar",function(){return o.a});var i=n(126);n.d(t,"BlockAlignmentToolbar",function(){return i.a});var a=n(76);n.d(t,"BlockControls",function(){return a.a});var s=n(820);n.d(t,"BlockDescription",function(){return s.a});var l=n(574);n.d(t,"BlockEdit",function(){return l.a});var c=n(575);n.d(t,"BlockIcon",function(){return c.a});var u=n(509);n.d(t,"ColorPalette",function(){return u.a});var f=n(96);n.d(t,"Editable",function(){return f.a});var p=n(822);n.d(t,"EditableProvider",function(){return p.a});var d=n(138);n.d(t,"InspectorControls",function(){return d.a});var h=n(309);n.d(t,"MediaUploadButton",function(){return h.a});var b=n(570);n.d(t,"TermTreeSelect",function(){return b.a});var g=n(453);n.d(t,"UrlInput",function(){return g.a});var m=n(563);n.d(t,"UrlInputButton",function(){return m.a});var v=n(559),y={attr:v.a,prop:v.e,text:v.g,html:v.c,query:v.f,node:v.d,children:v.b}},function(e,t,n){"use strict";n(625),n(662),n(663),n(559)},function(e,t,n){"use strict";function r(e){return Object(d.m)(e,"anchor")&&(e.attributes=c()(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}function o(e){var t=function(t){var n=Object(d.m)(t.name,"anchor")&&t.focus;return[wp.element.createElement(e,s()({key:"block-edit-anchor"},t)),n&&wp.element.createElement(h.a,{key:"inspector-anchor"},wp.element.createElement(h.a.TextControl,{label:Object(p.__)("HTML Anchor"),help:Object(p.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(b,"-"),t.setAttributes({anchor:e})}}))]};return t.displayName=Object(u.getWrapperDisplayName)(e,"anchor"),t}function i(e,t,n){return Object(d.m)(t,"anchor")&&(e.id=n.anchor),e}var a=n(10),s=n.n(a),l=n(549),c=n.n(l),u=n(2),f=(n.n(u),n(221)),p=(n.n(f),n(0)),d=(n.n(p),n(35)),h=n(138),b=/[\s#]/g;Object(f.addFilter)("blocks.registerBlockType","core/anchor/attribute",r),Object(f.addFilter)("blocks.BlockEdit","core/anchor/inspector-control",o),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",i)},function(e,t,n){"use strict";function r(e,t){for(var n=t.split("."),r=void 0;r=n.shift();){if(!(r in e))return;e=e[r]}return e}t.a=r},function(e,t,n){"use strict";function r(e,t,n,o){this.message=e,this.expected=t,this.found=n,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}function o(e,t){function n(e,t){return{type:"literal",text:e,ignoreCase:t}}function o(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function i(e){return{type:"other",description:e}}function a(t){var n,r=ve[t];if(r)return r;for(n=t-1;!ve[n];)n--;for(r=ve[n],r={line:r.line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return ve[t]=r,r}function s(e,t){var n=a(e),r=a(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function l(e){ge<ye||(ge>ye&&(ye=ge,_e=[]),_e.push(e))}function c(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function u(){var t,n,r,o,i,a,s,c,u,p;for(t=ge,n=ge,r=[],o=ge,i=ge,we++,a=f(),we--,a===j?i=void 0:(ge=i,i=j),i!==j?(e.length>ge?(a=e.charAt(ge),ge++):(a=j,0===we&&l(P)),a!==j?(i=[i,a],o=i):(ge=o,o=j)):(ge=o,o=j);o!==j;)r.push(o),o=ge,i=ge,we++,a=f(),we--,a===j?i=void 0:(ge=i,i=j),i!==j?(e.length>ge?(a=e.charAt(ge),ge++):(a=j,0===we&&l(P)),a!==j?(i=[i,a],o=i):(ge=o,o=j)):(ge=o,o=j);if((n=r!==j?e.substring(n,ge):r)!==j){if(r=[],o=ge,(i=f())!==j){for(a=ge,s=[],c=ge,u=ge,we++,p=f(),we--,p===j?u=void 0:(ge=u,u=j),u!==j?(e.length>ge?(p=e.charAt(ge),ge++):(p=j,0===we&&l(P)),p!==j?(u=[u,p],c=u):(ge=c,c=j)):(ge=c,c=j);c!==j;)s.push(c),c=ge,u=ge,we++,p=f(),we--,p===j?u=void 0:(ge=u,u=j),u!==j?(e.length>ge?(p=e.charAt(ge),ge++):(p=j,0===we&&l(P)),p!==j?(u=[u,p],c=u):(ge=c,c=j)):(ge=c,c=j);a=s!==j?e.substring(a,ge):s,a!==j?(me=o,i=R(n,i,a),o=i):(ge=o,o=j)}else ge=o,o=j;for(;o!==j;)if(r.push(o),o=ge,(i=f())!==j){for(a=ge,s=[],c=ge,u=ge,we++,p=f(),we--,p===j?u=void 0:(ge=u,u=j),u!==j?(e.length>ge?(p=e.charAt(ge),ge++):(p=j,0===we&&l(P)),p!==j?(u=[u,p],c=u):(ge=c,c=j)):(ge=c,c=j);c!==j;)s.push(c),c=ge,u=ge,we++,p=f(),we--,p===j?u=void 0:(ge=u,u=j),u!==j?(e.length>ge?(p=e.charAt(ge),ge++):(p=j,0===we&&l(P)),p!==j?(u=[u,p],c=u):(ge=c,c=j)):(ge=c,c=j);a=s!==j?e.substring(a,ge):s,a!==j?(me=o,i=R(n,i,a),o=i):(ge=o,o=j)}else ge=o,o=j;if(r!==j){for(o=ge,i=[],e.length>ge?(a=e.charAt(ge),ge++):(a=j,0===we&&l(P));a!==j;)i.push(a),e.length>ge?(a=e.charAt(ge),ge++):(a=j,0===we&&l(P));o=i!==j?e.substring(o,ge):i,o!==j?(me=t,n=N(n,r,o),t=n):(ge=t,t=j)}else ge=t,t=j}else ge=t,t=j;return t}function f(){var e;return e=p(),e===j&&(e=d())===j&&(e=h()),e}function p(){var t,n,r,o,i,a,s,c,u,f,p,d,h;if(t=ge,e.substr(ge,4)===L?(n=L,ge+=4):(n=j,0===we&&l(M)),n!==j){for(r=[],o=x();o!==j;)r.push(o),o=x();if(r!==j)if(e.substr(ge,4)===D?(o=D,ge+=4):(o=j,0===we&&l(B)),o!==j){if(i=ge,a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){for(s=ge,c=[],u=ge,f=ge,we++,p=ge,d=[],h=x();h!==j;)d.push(h),h=x();if(d!==j?(e.substr(ge,3)===I?(h=I,ge+=3):(h=j,0===we&&l(F)),h!==j?(d=[d,h],p=d):(ge=p,p=j)):(ge=p,p=j),we--,p===j?f=void 0:(ge=f,f=j),f!==j?(e.length>ge?(p=e.charAt(ge),ge++):(p=j,0===we&&l(P)),p!==j?(f=[f,p],u=f):(ge=u,u=j)):(ge=u,u=j),u!==j)for(;u!==j;){for(c.push(u),u=ge,f=ge,we++,p=ge,d=[],h=x();h!==j;)d.push(h),h=x();d!==j?(e.substr(ge,3)===I?(h=I,ge+=3):(h=j,0===we&&l(F)),h!==j?(d=[d,h],p=d):(ge=p,p=j)):(ge=p,p=j),we--,p===j?f=void 0:(ge=f,f=j),f!==j?(e.length>ge?(p=e.charAt(ge),ge++):(p=j,0===we&&l(P)),p!==j?(f=[f,p],u=f):(ge=u,u=j)):(ge=u,u=j)}else c=j;s=c!==j?e.substring(s,ge):c,s!==j?(me=i,a=z(s),i=a):(ge=i,i=j)}else ge=i,i=j;if(i===j&&(i=null),i!==j){for(a=[],s=x();s!==j;)a.push(s),s=x();if(a!==j)if(e.substr(ge,3)===I?(s=I,ge+=3):(s=j,0===we&&l(F)),s!==j){for(c=ge,u=[],f=x();f!==j;)u.push(f),f=x();u!==j?(e.substr(ge,15)===H?(f=H,ge+=15):(f=j,0===we&&l(q)),f!==j?(u=[u,f],c=u):(ge=c,c=j)):(ge=c,c=j),c===j&&(c=null),c!==j?(me=t,n=U(i,c),t=n):(ge=t,t=j)}else ge=t,t=j;else ge=t,t=j}else ge=t,t=j}else ge=t,t=j;else ge=t,t=j}else ge=t,t=j;return t}function d(){var t,n,r,o,i,a,s,c,u,f;if(t=ge,e.substr(ge,4)===L?(n=L,ge+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(ge,3)===K?(o=K,ge+=3):(o=j,0===we&&l(V)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){if(s=ge,(c=w())!==j){if(u=[],(f=x())!==j)for(;f!==j;)u.push(f),f=x();else u=j;u!==j?(me=s,c=W(i,c),s=c):(ge=s,s=j)}else ge=s,s=j;s===j&&(s=null),s!==j?(e.substr(ge,4)===G?(c=G,ge+=4):(c=j,0===we&&l($)),c!==j?(me=t,n=X(i,s),t=n):(ge=t,t=j)):(ge=t,t=j)}else ge=t,t=j}else ge=t,t=j;else ge=t,t=j;else ge=t,t=j}else ge=t,t=j;return t}function h(){var t,n,r,o,i,a,s;if(t=ge,(n=b())!==j){for(r=[],o=f(),o===j&&(o=ge,i=ge,a=ge,we++,s=g(),we--,s===j?a=void 0:(ge=a,a=j),a!==j?(e.length>ge?(s=e.charAt(ge),ge++):(s=j,0===we&&l(P)),s!==j?(a=[a,s],i=a):(ge=i,i=j)):(ge=i,i=j),o=i!==j?e.substring(o,ge):i);o!==j;)r.push(o),(o=f())===j&&(o=ge,i=ge,a=ge,we++,s=g(),we--,s===j?a=void 0:(ge=a,a=j),a!==j?(e.length>ge?(s=e.charAt(ge),ge++):(s=j,0===we&&l(P)),s!==j?(a=[a,s],i=a):(ge=i,i=j)):(ge=i,i=j),o=i!==j?e.substring(o,ge):i);r!==j?(o=g(),o!==j?(me=t,n=Y(n,r,o),t=n):(ge=t,t=j)):(ge=t,t=j)}else ge=t,t=j;return t}function b(){var t,n,r,o,i,a,s,c,u,f;if(t=ge,e.substr(ge,4)===L?(n=L,ge+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(ge,3)===K?(o=K,ge+=3):(o=j,0===we&&l(V)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){if(s=ge,(c=w())!==j){if(u=[],(f=x())!==j)for(;f!==j;)u.push(f),f=x();else u=j;u!==j?(me=s,c=W(i,c),s=c):(ge=s,s=j)}else ge=s,s=j;s===j&&(s=null),s!==j?(e.substr(ge,3)===I?(c=I,ge+=3):(c=j,0===we&&l(F)),c!==j?(me=t,n=Z(i,s),t=n):(ge=t,t=j)):(ge=t,t=j)}else ge=t,t=j}else ge=t,t=j;else ge=t,t=j;else ge=t,t=j}else ge=t,t=j;return t}function g(){var t,n,r,o,i,a,s;if(t=ge,e.substr(ge,4)===L?(n=L,ge+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(ge,4)===Q?(o=Q,ge+=4):(o=j,0===we&&l(J)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;a!==j?(e.substr(ge,3)===I?(s=I,ge+=3):(s=j,0===we&&l(F)),s!==j?(me=t,n=ee(i),t=n):(ge=t,t=j)):(ge=t,t=j)}else ge=t,t=j;else ge=t,t=j;else ge=t,t=j}else ge=t,t=j;return t}function m(){var e;return e=v(),e===j&&(e=y()),e}function v(){var t,n,r,o,i;return t=ge,n=ge,r=_(),r!==j?(47===e.charCodeAt(ge)?(o=te,ge++):(o=j,0===we&&l(ne)),o!==j?(i=_(),i!==j?(r=[r,o,i],n=r):(ge=n,n=j)):(ge=n,n=j)):(ge=n,n=j),t=n!==j?e.substring(t,ge):n}function y(){var t,n,r;return t=ge,n=ge,r=_(),n=r!==j?e.substring(n,ge):r,n!==j&&(me=t,n=re(n)),t=n}function _(){var t,n,r,o,i;if(t=ge,n=ge,oe.test(e.charAt(ge))?(r=e.charAt(ge),ge++):(r=j,0===we&&l(ie)),r!==j){for(o=[],ae.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=j,0===we&&l(se));i!==j;)o.push(i),ae.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=j,0===we&&l(se));o!==j?(r=[r,o],n=r):(ge=n,n=j)}else ge=n,n=j;return t=n!==j?e.substring(t,ge):n}function w(){var t,n,r,o,i,a,s,c,u,f,p,d,h;if(t=ge,n=ge,r=ge,123===e.charCodeAt(ge)?(o=le,ge++):(o=j,0===we&&l(ce)),o!==j){if(i=[],a=ge,s=ge,we++,c=ge,125===e.charCodeAt(ge)?(u=ue,ge++):(u=j,0===we&&l(fe)),u!==j){if(f=[],(p=x())!==j)for(;p!==j;)f.push(p),p=x();else f=j;f!==j?(p=pe,p!==j?(47===e.charCodeAt(ge)?(d=te,ge++):(d=j,0===we&&l(ne)),d===j&&(d=null),d!==j?(e.substr(ge,3)===I?(h=I,ge+=3):(h=j,0===we&&l(F)),h!==j?(u=[u,f,p,d,h],c=u):(ge=c,c=j)):(ge=c,c=j)):(ge=c,c=j)):(ge=c,c=j)}else ge=c,c=j;for(we--,c===j?s=void 0:(ge=s,s=j),s!==j?(e.length>ge?(c=e.charAt(ge),ge++):(c=j,0===we&&l(P)),c!==j?(s=[s,c],a=s):(ge=a,a=j)):(ge=a,a=j);a!==j;){if(i.push(a),a=ge,s=ge,we++,c=ge,125===e.charCodeAt(ge)?(u=ue,ge++):(u=j,0===we&&l(fe)),u!==j){if(f=[],(p=x())!==j)for(;p!==j;)f.push(p),p=x();else f=j;f!==j?(p=pe,p!==j?(47===e.charCodeAt(ge)?(d=te,ge++):(d=j,0===we&&l(ne)),d===j&&(d=null),d!==j?(e.substr(ge,3)===I?(h=I,ge+=3):(h=j,0===we&&l(F)),h!==j?(u=[u,f,p,d,h],c=u):(ge=c,c=j)):(ge=c,c=j)):(ge=c,c=j)):(ge=c,c=j)}else ge=c,c=j;we--,c===j?s=void 0:(ge=s,s=j),s!==j?(e.length>ge?(c=e.charAt(ge),ge++):(c=j,0===we&&l(P)),c!==j?(s=[s,c],a=s):(ge=a,a=j)):(ge=a,a=j)}i!==j?(125===e.charCodeAt(ge)?(a=ue,ge++):(a=j,0===we&&l(fe)),a!==j?(o=[o,i,a],r=o):(ge=r,r=j)):(ge=r,r=j)}else ge=r,r=j;return n=r!==j?e.substring(n,ge):r,n!==j&&(me=t,n=de(n)),t=n}function x(){var t;return he.test(e.charAt(ge))?(t=e.charAt(ge),ge++):(t=j,0===we&&l(be)),t}function k(e){return e.length&&{attrs:{},innerHTML:e}}function E(e,t,n){var r,o,i,a,s,l=[];for(e.length&&l.push(k(e)),r=0,o=t.length;r<o;r++)a=t[r],s=a[0],i=a[1],l.push(s),i.length&&l.push(k(i));return n.length&&l.push(k(n)),l}function O(e){try{return JSON.parse(e)}catch(e){return null}}function C(e,t){var n,r,o,i=[],a=[];for(n=0,r=t.length;n<r;n++)o=t[n],e(o)?i.push(o):a.push(o);return[i,a]}t=void 0!==t?t:{};var S,j={},T={Block_List:u},A=u,P=function(){return{type:"any"}}(),R=function(e,t,n){return[t,n]},N=function(e,t,n){return E(e,t,n)},L="\x3c!--",M=n("\x3c!--",!1),D="more",B=n("more",!1),I="--\x3e",F=n("--\x3e",!1),z=function(e){return e},H="\x3c!--noteaser--\x3e",q=n("\x3c!--noteaser--\x3e",!1),U=function(e,t){return{blockName:"core/more",attrs:{customText:e||void 0,noTeaser:!!t},innerHTML:""}},K="wp:",V=n("wp:",!1),W=function(e,t){return t},G="/--\x3e",$=n("/--\x3e",!1),X=function(e,t){return{blockName:e,attrs:t,innerBlocks:[],innerHTML:""}},Y=function(e,t,n){var r=C(function(e){return"string"==typeof e},t),o=r[0],i=r[1];return{blockName:e.blockName,attrs:e.attrs,innerBlocks:i,innerHTML:o.join("")}},Z=function(e,t){return{blockName:e,attrs:t}},Q="/wp:",J=n("/wp:",!1),ee=function(e){return{blockName:e}},te="/",ne=n("/",!1),re=function(e){return"core/"+e},oe=/^[a-z]/,ie=o([["a","z"]],!1,!1),ae=/^[a-z0-9_\-]/,se=o([["a","z"],["0","9"],"_","-"],!1,!1),le="{",ce=n("{",!1),ue="}",fe=n("}",!1),pe="",de=function(e){return O(e)},he=/^[ \t\r\n]/,be=o([" ","\t","\r","\n"],!1,!1),ge=(o(["\r","\n"],!1,!1),o([" ","\t"],!1,!1),0),me=0,ve=[{line:1,column:1}],ye=0,_e=[],we=0;if("startRule"in t){if(!(t.startRule in T))throw new Error("Can't start parsing from rule \""+t.startRule+'".');A=T[t.startRule]}if((S=A())!==j&&ge===e.length)return S;throw S!==j&&ge<e.length&&l(function(){return{type:"end"}}()),c(_e,ye<e.length?e.charAt(ye):null,ye<e.length?s(ye,ye+1):s(ye,ye))}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(r,Error),r.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function i(e){return a[e.type](e)}var a={literal:function(e){return'"'+r(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?o(e.parts[t][0])+"-"+o(e.parts[t][1]):o(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};return"Expected "+function(e){var t,n,r=new Array(e.length);for(t=0;t<e.length;t++)r[t]=i(e[t]);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+function(e){return e?'"'+r(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:r,parse:o}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(115),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return Array.isArray(e)?e:(0,o.default)(e)}},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}e.exports=n},function(e,t,n){var r=n(145),o=n(93),i=n(631),a=n(212),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,l=Array(r);++s<r;)for(var c=e[s],u=-1;++u<r;)u!=s&&(l[s]=o(l[s]||c,e[u],t,n));return a(i(l,1),t,n)}var o=n(229),i=n(82),a=n(477);e.exports=r},function(e,t,n){!function(e,n){n(t)}(0,function(e){"use strict";function t(e){return u.test(e)}function n(e){return f.test(e)}function r(e){return e.replace(p,"\n")}function o(e,t){return new h(new c(i),t).tokenize(e)}var i={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},a=/^#[xX]([A-Fa-f0-9]+)$/,s=/^#([0-9]+)$/,l=/^([A-Za-z0-9]+)$/,c=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(a);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(s))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(l),t?this.named[t[1]]:void 0)}},e}(),u=/[\t\n\f ]/,f=/[A-Za-z]/,p=/\r\n?/g,d=function(){function e(e,r){this.delegate=e,this.entityParser=r,this.state=null,this.input=null,this.index=-1,this.tagLine=-1,this.tagColumn=-1,this.line=-1,this.column=-1,this.states={beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":n(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();t(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();if(t(e))return void this.consume();"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.state="attributeName",this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();t(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();if(t(e))return void this.consume();"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();t(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();t(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();t(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();n(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}},this.reset()}return e.prototype.reset=function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=r(e);this.index<this.input.length;)this.states[this.state].call(this)},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},e}(),h=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.currentAttribute=null,this.tokenizer=new d(this,e)}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.addLocInfo=function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},e.prototype.appendToData=function(e){this.token.chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},e.prototype.appendToCommentData=function(e){this.token.chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.beginStartTag=function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},e.prototype.beginEndTag=function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.token.selfClosing=!0},e.prototype.appendToTagName=function(e){this.token.tagName+=e},e.prototype.beginAttribute=function(){this.currentAttribute=["","",null],this.token.attributes.push(this.currentAttribute)},e.prototype.appendToAttributeName=function(e){this.currentAttribute[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute[1]=this.currentAttribute[1]||"",this.currentAttribute[1]+=e},e.prototype.finishAttributeValue=function(){},e.prototype.reportSyntaxError=function(e){this.token.syntaxError=e},e}();e.HTML5NamedCharRefs=i,e.EntityParser=c,e.EventedTokenizer=d,e.Tokenizer=h,e.tokenize=o,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t){function n(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=function(t,n){return e.js_beautify(t,n)};return r.js=e.js_beautify,r.css=t.css_beautify,r.html=n.html_beautify,r.js_beautify=e.js_beautify,r.css_beautify=t.css_beautify,r.html_beautify=n.html_beautify,r}var o,i;o=[n(482),n(483),n(635)],void 0!==(i=function(e,t,n){return r(e,t,n)}.apply(t,o))&&(e.exports=i)},function(e,t,n){var r,o;!function(){function i(e){return e.replace(/^\s+/g,"")}function a(e){return e.replace(/\s+$/g,"")}function s(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function l(e,t,n,r){function o(){function e(e){var t="";return{add:function(n){var r=t+n.toLowerCase();t=r.length<=e.length?r:r.substr(r.length-e.length,e.length)},doesNotMatch:function(){return-1===t.indexOf(e)}}}return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=f,this.indent_body_inner_html=p,this.indent_head_inner_html=d,this.Utils={whitespace:"\n\r\t ".split(""),single_token:t.void_elements||["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","?php","basefont","isindex"],extra_liners:T,in_array:function(e,t){for(var n=0;n<t.length;n++)if(e===t[n])return!0;return!1}},this.is_whitespace=function(e){for(var t=0;t<e.length;t++)if(!this.Utils.in_array(e.charAt(t),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var e="";if(e=this.input.charAt(this.pos),this.Utils.in_array(e,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(e,this.Utils.whitespace);)_&&"\n"===e&&this.newlines<=w&&(this.newlines+=1),this.pos++,e=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(e){return this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e),!0):(this.line_char_count++,e.push(" "),!1)},this.get_content=function(){for(var e="",t=[],n=0;"<"!==this.input.charAt(this.pos)||2===n;){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(n<2&&this.traverse_whitespace())this.space_or_wrap(t);else{if(e=this.input.charAt(this.pos),x){if("{"===e?n+=1:n<2&&(n=0),"}"===e&&n>0&&0==n--)break;var r=this.input.substr(this.pos,3);if("{{#"===r||"{{/"===r)break;if("{{!"===r)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=new RegExp("</"+e+"\\s*>","igm");n.lastIndex=this.pos;var r=n.exec(this.input),o=r?r.index:this.input.length;return this.pos<o&&(t=this.input.substring(this.pos,o),this.pos=o),t},this.record_tag=function(e){this.tags[e+"count"]?(this.tags[e+"count"]++,this.tags[e+this.tags[e+"count"]]=this.indent_level):(this.tags[e+"count"]=1,this.tags[e+this.tags[e+"count"]]=this.indent_level),this.tags[e+this.tags[e+"count"]+"parent"]=this.tags.parent,this.tags.parent=e+this.tags[e+"count"]},this.retrieve_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]],this.tags.parent=this.tags[t+"parent"]),delete this.tags[e+this.tags[e+"count"]+"parent"],delete this.tags[e+this.tags[e+"count"]],1===this.tags[e+"count"]?delete this.tags[e+"count"]:this.tags[e+"count"]--}},this.indent_to_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]])}},this.get_tag=function(e){var t,n,r,o="",i=[],a="",s=!1,l=!0,c=!1,u=this.pos,f=this.line_char_count,p=!1;e=void 0!==e&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=u,this.line_char_count=f),i.length?i.join(""):["","TK_EOF"];if(o=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(o,this.Utils.whitespace))s=!0;else{if("'"!==o&&'"'!==o||(o+=this.get_unformatted(o),s=!0),"="===o&&(s=!1),r=this.input.substr(this.pos-1),!C||!c||p||">"!==o&&"/"!==o||r.match(/^\/?\s*>/)&&(s=!1,p=!0,this.print_newline(!1,i),this.print_indentation(i)),i.length&&"="!==i[i.length-1]&&">"!==o&&s){var d=this.space_or_wrap(i),h=d&&"/"!==o&&!O;if(s=!1,O&&"/"!==o){var b=!1;if(C&&l){b=!(null!==r.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))}l&&!b||(this.print_newline(!1,i),this.print_indentation(i),h=!0)}if(h){c=!0;var g=E;S&&(g=i.indexOf(" ")+1);for(var m=0;m<g;m++)i.push(" ")}if(l)for(var _=0;_<i.length;_++)if(" "===i[_]){l=!1;break}}if(x&&"<"===n&&o+this.input.charAt(this.pos)==="{{"&&(o+=this.get_unformatted("}}"),i.length&&" "!==i[i.length-1]&&"<"!==i[i.length-1]&&(o=" "+o),s=!0),"<"!==o||n||(t=this.pos-1,n="<"),x&&!n&&i.length>=2&&"{"===i[i.length-1]&&"{"===i[i.length-2]&&(t="#"===o||"/"===o||"!"===o?this.pos-3:this.pos-2,n="{"),this.line_char_count++,i.push(o),i[1]&&("!"===i[1]||"?"===i[1]||"%"===i[1])){i=[this.get_comment(t)];break}if(x&&i[1]&&"{"===i[1]&&i[2]&&"!"===i[2]){i=[this.get_comment(t)];break}if(x&&"{"===n&&i.length>2&&"}"===i[i.length-2]&&"}"===i[i.length-1])break}}while(">"!==o);var w,k,j=i.join("");w=-1!==j.indexOf(" ")?j.indexOf(" "):-1!==j.indexOf("\n")?j.indexOf("\n"):"{"===j.charAt(0)?j.indexOf("}"):j.indexOf(">"),k="<"!==j.charAt(0)&&x?"#"===j.charAt(2)?3:2:1;var T=j.substring(k,w).toLowerCase();return"/"===j.charAt(j.length-2)||this.Utils.in_array(T,this.Utils.single_token)?e||(this.tag_type="SINGLE"):x&&"{"===j.charAt(0)&&"else"===T?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(T,v)||this.is_unformatted(T,y)?(a=this.get_unformatted("</"+T+">",j),i.push(a),this.pos-1,this.tag_type="SINGLE"):"script"===T&&(-1===j.search("type")||j.search("type")>-1&&j.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1)?e||(this.record_tag(T),this.tag_type="SCRIPT"):"style"===T&&(-1===j.search("type")||j.search("type")>-1&&j.search("text/css")>-1)?e||(this.record_tag(T),this.tag_type="STYLE"):"!"===T.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===T.charAt(0)?(this.retrieve_tag(T.substring(1)),this.tag_type="END"):(this.record_tag(T),"html"!==T.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(i),this.Utils.in_array(T,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=u,this.line_char_count=f),i.join("")},this.get_comment=function(e){var t="",n=">",r=!1;this.pos=e;var o=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&(t+=o,t.charAt(t.length-1)!==n.charAt(n.length-1)||-1===t.indexOf(n));)!r&&t.length<10&&(0===t.indexOf("<![if")?(n="<![endif]>",r=!0):0===t.indexOf("<![cdata[")?(n="]]>",r=!0):0===t.indexOf("<![")?(n="]>",r=!0):0===t.indexOf("\x3c!--")?(n="--\x3e",r=!0):0===t.indexOf("{{!--")?(n="--}}",r=!0):0===t.indexOf("{{!")?5===t.length&&-1===t.indexOf("{{!--")&&(n="}}",r=!0):0===t.indexOf("<?")?(n="?>",r=!0):0===t.indexOf("<%")&&(n="%>",r=!0)),o=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(t,n){if(n&&-1!==n.toLowerCase().indexOf(t))return"";var r="",o="",i=!0,a=e(t);do{if(this.pos>=this.input.length)return o;if(r=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(r,this.Utils.whitespace)){if(!i){this.line_char_count--;continue}if("\n"===r||"\r"===r){o+="\n",this.line_char_count=0;continue}}o+=r,a.add(r),this.line_char_count++,i=!0,x&&"{"===r&&o.length&&"{"===o.charAt(o.length-2)&&(o+=this.get_unformatted("}}"))}while(a.doesNotMatch());return o},this.get_token=function(){var e;if("TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token){var t=this.last_token.substr(7);return e=this.get_contents_to(t),"string"!=typeof e?e:[e,"TK_"+t]}if("CONTENT"===this.current_mode)return e=this.get_content(),"string"!=typeof e?e:[e,"TK_CONTENT"];if("TAG"===this.current_mode){if("string"!=typeof(e=this.get_tag()))return e;return[e,"TK_TAG_"+this.tag_type]}},this.get_full_indent=function(e){return e=this.indent_level+e||0,e<1?"":Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!==e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=this.get_tag(!0),r=(n||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(r&&!this.Utils.in_array(r[1],t))},this.printer=function(e,t,n,r,o){this.input=e||"",this.input=this.input.replace(/\r\n|[\r\u2028\u2029]/g,"\n"),this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=n,this.brace_style=o,this.indent_level=0,this.wrap_line_length=r,this.line_char_count=0;for(var s=0;s<this.indent_size;s++)this.indent_string+=this.indent_character;this.print_newline=function(e,t){this.line_char_count=0,t&&t.length&&(e||"\n"!==t[t.length-1])&&("\n"!==t[t.length-1]&&(t[t.length-1]=a(t[t.length-1])),t.push("\n"))},this.print_indentation=function(e){for(var t=0;t<this.indent_level;t++)e.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(e){this.is_whitespace(e)&&!this.output.length||((e||""!==e)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),e=i(e)),this.print_token_raw(e))},this.print_token_raw=function(e){this.newlines>0&&(e=a(e)),e&&""!==e&&(e.length>1&&"\n"===e.charAt(e.length-1)?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t<this.newlines;t++)this.print_newline(t>0,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}var l,f,p,d,h,b,g,m,v,y,_,w,x,k,E,O,C,S,j,T,A;for(t=t||{},t=s(t,"html"),void 0!==t.wrap_line_length&&0!==parseInt(t.wrap_line_length,10)||void 0===t.max_char||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),f=void 0!==t.indent_inner_html&&t.indent_inner_html,p=void 0===t.indent_body_inner_html||t.indent_body_inner_html,d=void 0===t.indent_head_inner_html||t.indent_head_inner_html,h=void 0===t.indent_size?4:parseInt(t.indent_size,10),b=void 0===t.indent_char?" ":t.indent_char,m=void 0===t.brace_style?"collapse":t.brace_style,g=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),v=t.unformatted||["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","address","big","dt","ins","strike","tt"],y=t.content_unformatted||["pre"],_=void 0===t.preserve_newlines||t.preserve_newlines,w=_?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,x=void 0!==t.indent_handlebars&&t.indent_handlebars,k=void 0===t.wrap_attributes?"auto":t.wrap_attributes,E=isNaN(parseInt(t.wrap_attributes_indent_size,10))?h:parseInt(t.wrap_attributes_indent_size,10),O="force"===k.substr(0,"force".length),C="force-expand-multiline"===k,S="force-aligned"===k,j=void 0!==t.end_with_newline&&t.end_with_newline,T="object"==typeof t.extra_liners&&t.extra_liners?t.extra_liners.concat():"string"==typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),A=t.eol?t.eol:"auto",t.indent_with_tabs&&(b="\t",h=1),"auto"===A&&(A="\n",e&&c.test(e||"")&&(A=e.match(c)[0])),A=A.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(u,"\n"),l=new o,l.printer(e,b,h,g,m);;){var P=l.get_token();if(l.token_text=P[0],l.token_type=P[1],"TK_EOF"===l.token_type)break;switch(l.token_type){case"TK_TAG_START":l.print_newline(!1,l.output),l.print_token(l.token_text),l.indent_content&&(!l.indent_body_inner_html&&l.token_text.match(/<body(?:.*)>/)||!l.indent_head_inner_html&&l.token_text.match(/<head(?:.*)>/)||l.indent(),l.indent_content=!1),l.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":l.print_newline(!1,l.output),l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===l.last_token&&""===l.last_text){var R=(l.token_text.match(/\w+/)||[])[0],N=null;l.output.length&&(N=l.output[l.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===N||N[1]!==R&&!l.Utils.in_array(N[1],v))&&l.print_newline(!1,l.output)}l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var L=l.token_text.match(/^\s*<([a-z-]+)/i);L&&l.Utils.in_array(L[1],v)||l.print_newline(!1,l.output),l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var M=!1,D=l.output.length-1;D>=0&&"\n"!==l.output[D];D--)if(l.output[D].match(/{{#if/)){M=!0;break}M||l.print_newline(!1,l.output),l.print_token(l.token_text),l.indent_content&&(l.indent(),l.indent_content=!1),l.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":l.print_token(l.token_text),l.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==l.token_text){l.print_newline(!1,l.output);var B,I=l.token_text,F=1;"TK_SCRIPT"===l.token_type?B="function"==typeof n&&n:"TK_STYLE"===l.token_type&&(B="function"==typeof r&&r),"keep"===t.indent_scripts?F=0:"separate"===t.indent_scripts&&(F=-l.indent_level);var z=l.get_full_indent(F);if(B){var H=function(){this.eol="\n"};H.prototype=t;var q=new H;I=B(I.replace(/^\s*/,z),q)}else{var U=I.match(/^\s*/)[0],K=U.match(/[^\n\r]*$/)[0].split(l.indent_string).length-1,V=l.get_full_indent(F-K);I=I.replace(/^\s*/,z).replace(/\r\n|\r|\n/g,"\n"+V).replace(/\s+$/,"")}I&&(l.print_token_raw(I),l.print_newline(!0,l.output))}l.current_mode="TAG";break;default:""!==l.token_text&&l.print_token(l.token_text)}l.last_token=l.token_type,l.last_text=l.token_text}var W=l.output.join("").replace(/[\r\n\t ]+$/,"");return j&&(W+="\n"),"\n"!==A&&(W=W.replace(/[\n]/g,A)),W}var c=/\r\n|[\n\r\u2028\u2029]/,u=new RegExp(c.source,"g");r=[n,n(482),n(483)],void 0!==(o=function(e){var t=n(482),r=n(483);return{html_beautify:function(e,n){return l(e,n,t.js_beautify,r.css_beautify)}}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"d",function(){return s});var r=n(2),o=(n.n(r),n(555)),i=(n.n(o),n(552));n.d(t,"a",function(){return i.a}),n.d(t,"e",function(){return i.d}),n.d(t,"c",function(){return i.b}),n.d(t,"g",function(){return i.f}),n.d(t,"f",function(){return i.e});var a=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Object(o.nodeListToReact)(n.childNodes||[],r.createElement):[]}},s=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),Object(o.nodeToReact)(n,r.createElement)}}},function(e,t,n){"use strict";function r(e){var t=e.HTML,n=e.plainText,r=void 0===n?"":n,o=e.mode,a=void 0===o?"AUTO":o,l=e.tagName;if(t=t.replace(/<meta[^>]+>/,""),"INLINE"!==a&&-1!==t.indexOf("\x3c!-- wp:"))return Object(g.c)(t);if(r&&Object(T.l)(t)){var u=new d.a.Converter;u.setOption("noHeaderId",!0),u.setOption("tables",!0),t=u.makeHtml(r),"AUTO"===a&&-1===r.indexOf("\n")&&0!==r.indexOf("<p>")&&0===t.indexOf("<p>")&&(a="INLINE")}var p=Object(A.a)(t),P=p.length>1,R="AUTO"===a&&Object(w.a)(t,l)&&!P;return"INLINE"===a||R?(t=Object(T.a)(t,[x.a,v.a,y.a,Object(_.a)(function(e){return!Object(T.h)(e,l)})]),window.console.log("Processed inline HTML:\n\n",t),t):p.reduce(function(e,t){if("string"!=typeof t)return[].concat(s()(e),[t]);t=Object(T.a)(t,[k.a]),t=Object(T.a)(t,[E.a,O.a,x.a,v.a,y.a,Object(_.a)(T.k),C.a,S.a,j.a]),t=Object(T.a)(t,[Object(_.a)(T.j)]),t=Object(m.a)(t),window.console.log("Processed HTML piece:\n\n",t);var n=document.implementation.createHTMLDocument("");n.body.innerHTML=t;var r=i()(n.body.children).map(function(e){var t=Object(b.b)().reduce(function(t,n){if(t)return t;var r=c()(n,"transforms.from",[]),o=f()(r,function(e){return"raw"===e.type});return o&&o.isMatch(e)?o.transform?o.transform(e):Object(h.a)(n.name,Object(g.b)(n,e.outerHTML)):t},null);return t||Object(h.a)(Object(b.d)(),{content:e.outerHTML})});return[].concat(s()(e),s()(r))},[])}t.a=r;var o=n(115),i=n.n(o),a=n(38),s=n.n(a),l=n(31),c=n.n(l),u=n(66),f=n.n(u),p=n(638),d=n.n(p),h=n(448),b=n(295),g=n(476),m=n(556),v=n(639),y=n(640),_=n(557),w=n(641),x=n(642),k=n(643),E=n(644),O=n(645),C=n(646),S=n(647),j=n(648),T=n(375),A=n(649)},function(e,t,n){var r;/*! showdown v 1.7.4 - 08-09-2017 */
|
12 |
+
(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}function i(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};s.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var i=n+" sub-extension "+o+": ",a=e[o];if("object"!=typeof a)return r.valid=!1,r.error=i+"must be an object, but "+typeof a+" given",r;if(!s.helper.isString(a.type))return r.valid=!1,r.error=i+'property "type" must be a string, but '+typeof a.type+" given",r;var l=a.type=a.type.toLowerCase();if("language"===l&&(l=a.type="lang"),"html"===l&&(l=a.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return r.valid=!1,r.error=i+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===l){if(s.helper.isUndefined(a.listeners))return r.valid=!1,r.error=i+'. Extensions of type "listener" must have a property called "listeners"',r}else if(s.helper.isUndefined(a.filter)&&s.helper.isUndefined(a.regex))return r.valid=!1,r.error=i+l+' extensions must define either a "regex" property or a "filter" method',r;if(a.listeners){if("object"!=typeof a.listeners)return r.valid=!1,r.error=i+'"listeners" property must be an object but '+typeof a.listeners+" given",r;for(var c in a.listeners)if(a.listeners.hasOwnProperty(c)&&"function"!=typeof a.listeners[c])return r.valid=!1,r.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof a.listeners[c]+" given",r}if(a.filter){if("function"!=typeof a.filter)return r.valid=!1,r.error=i+'"filter" must be a function, but '+typeof a.filter+" given",r}else if(a.regex){if(s.helper.isString(a.regex)&&(a.regex=new RegExp(a.regex,"g")),!(a.regex instanceof RegExp))return r.valid=!1,r.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof a.regex+" given",r;if(s.helper.isUndefined(a.replace))return r.valid=!1,r.error=i+'"regex" extensions must implement a replace string or function',r}}return r}function a(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}var s={},l={},c={},u=o(!0),f="vanilla",p={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};s.helper={},s.extensions={},s.setOption=function(e,t){"use strict";return u[e]=t,this},s.getOption=function(e){"use strict";return u[e]},s.getOptions=function(){"use strict";return u},s.resetOptions=function(){"use strict";u=o(!0)},s.setFlavor=function(e){"use strict";if(!p.hasOwnProperty(e))throw Error(e+" flavor was not found");s.resetOptions();var t=p[e];f=e;for(var n in t)t.hasOwnProperty(n)&&(u[n]=t[n])},s.getFlavor=function(){"use strict";return f},s.getFlavorOptions=function(e){"use strict";if(p.hasOwnProperty(e))return p[e]},s.getDefaultOptions=function(e){"use strict";return o(e)},s.subParser=function(e,t){"use strict";if(s.helper.isString(e)){if(void 0===t){if(l.hasOwnProperty(e))return l[e];throw Error("SubParser named "+e+" not registered!")}l[e]=t}},s.extension=function(e,t){"use strict";if(!s.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=s.helper.stdExtName(e),s.helper.isUndefined(t)){if(!c.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return c[e]}"function"==typeof t&&(t=t()),s.helper.isArray(t)||(t=[t]);var n=i(t,e);if(!n.valid)throw Error(n.error);c[e]=t},s.getAllExtensions=function(){"use strict";return c},s.removeExtension=function(e){"use strict";delete c[e]},s.resetExtensions=function(){"use strict";c={}},s.validateExtension=function(e){"use strict";var t=i(e,null);return!!t.valid||(console.warn(t.error),!1)},s.hasOwnProperty("helper")||(s.helper={}),s.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},s.helper.isFunction=function(e){"use strict";var t={};return e&&"[object Function]"===t.toString.call(e)},s.helper.isArray=function(e){"use strict";return Array.isArray(e)},s.helper.isUndefined=function(e){"use strict";return void 0===e},s.helper.forEach=function(e,t){"use strict";if(s.helper.isUndefined(e))throw new Error("obj param is required");if(s.helper.isUndefined(t))throw new Error("callback param is required");if(!s.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(s.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},s.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},s.helper.escapeCharactersCallback=a,s.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,a)};var d=function(e,t,n,r){"use strict";var o,i,a,s,l,c=r||"",u=c.indexOf("g")>-1,f=new RegExp(t+"|"+n,"g"+c.replace(/g/g,"")),p=new RegExp(t,c.replace(/g/g,"")),d=[];do{for(o=0;a=f.exec(e);)if(p.test(a[0]))o++||(i=f.lastIndex,s=i-a[0].length);else if(o&&!--o){l=a.index+a[0].length;var h={left:{start:s,end:i},match:{start:i,end:a.index},right:{start:a.index,end:l},wholeMatch:{start:s,end:l}};if(d.push(h),!u)return d}}while(o&&(f.lastIndex=i));return d};s.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=d(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},s.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!s.helper.isFunction(t)){var i=t;t=function(){return i}}var a=d(e,n,r,o),l=e,c=a.length;if(c>0){var u=[];0!==a[0].wholeMatch.start&&u.push(e.slice(0,a[0].wholeMatch.start));for(var f=0;f<c;++f)u.push(t(e.slice(a[f].wholeMatch.start,a[f].wholeMatch.end),e.slice(a[f].match.start,a[f].match.end),e.slice(a[f].left.start,a[f].left.end),e.slice(a[f].right.start,a[f].right.end))),f<c-1&&u.push(e.slice(a[f].wholeMatch.end,a[f+1].wholeMatch.start));a[c-1].wholeMatch.end<e.length&&u.push(e.slice(a[c-1].wholeMatch.end)),l=u.join("")}return l},s.helper.regexIndexOf=function(e,t,n){"use strict";if(!s.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},s.helper.splitAtIndex=function(e,t){"use strict";if(!s.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},s.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),s.helper.regexes={asteriskAndDash:/([*_])/g},s.Converter=function(e){"use strict";function t(e,t){if(t=t||null,s.helper.isString(e)){if(e=s.helper.stdExtName(e),t=e,s.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void n(s.extensions[e],e);if(s.helper.isUndefined(c[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=c[e]}"function"==typeof e&&(e=e()),s.helper.isArray(e)||(e=[e]);var o=i(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":l.push(e[a]);break;case"output":d.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var u in e[a].listeners)e[a].listeners.hasOwnProperty(u)&&r(u,e[a].listeners[u])}}function n(e,t){"function"==typeof e&&(e=e(new s.Converter)),s.helper.isArray(e)||(e=[e]);var n=i(e,t);if(!n.valid)throw Error(n.error);for(var r=0;r<e.length;++r)switch(e[r].type){case"lang":l.push(e[r]);break;case"output":d.push(e[r]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function r(e,t){if(!s.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");h.hasOwnProperty(e)||(h[e]=[]),h[e].push(t)}function o(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}var a={},l=[],d=[],h={},b=f;!function(){e=e||{};for(var n in u)u.hasOwnProperty(n)&&(a[n]=u[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(a[r]=e[r]);a.extensions&&s.helper.forEach(a.extensions,t)}(),this._dispatch=function(e,t,n,r){if(h.hasOwnProperty(e))for(var o=0;o<h[e].length;++o){var i=h[e][o](e,t,this,n,r);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return r(e,t),this},this.makeHtml=function(e){if(!e)return e;var t={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:l,outputModifiers:d,converter:this,ghCodeBlocks:[]};return e=e.replace(/¨/g,"¨T"),e=e.replace(/\$/g,"¨D"),e=e.replace(/\r\n/g,"\n"),e=e.replace(/\r/g,"\n"),e=e.replace(/\u00A0/g," "),a.smartIndentationFix&&(e=o(e)),e="\n\n"+e+"\n\n",e=s.subParser("detab")(e,a,t),e=e.replace(/^[ \t]+$/gm,""),s.helper.forEach(l,function(n){e=s.subParser("runExtension")(n,e,a,t)}),e=s.subParser("hashPreCodeTags")(e,a,t),e=s.subParser("githubCodeBlocks")(e,a,t),e=s.subParser("hashHTMLBlocks")(e,a,t),e=s.subParser("hashCodeTags")(e,a,t),e=s.subParser("stripLinkDefinitions")(e,a,t),e=s.subParser("blockGamut")(e,a,t),e=s.subParser("unhashHTMLSpans")(e,a,t),e=s.subParser("unescapeSpecialChars")(e,a,t),e=e.replace(/¨D/g,"$$"),e=e.replace(/¨T/g,"¨"),s.helper.forEach(d,function(n){e=s.subParser("runExtension")(n,e,a,t)}),e},this.setOption=function(e,t){a[e]=t},this.getOption=function(e){return a[e]},this.getOptions=function(){return a},this.addExtension=function(e,n){n=n||null,t(e,n)},this.useExtension=function(e){t(e)},this.setFlavor=function(e){if(!p.hasOwnProperty(e))throw Error(e+" flavor was not found");var t=p[e];b=e;for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n])},this.getFlavor=function(){return b},this.removeExtension=function(e){s.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var n=e[t],r=0;r<l.length;++r)l[r]===n&&l[r].splice(r,1);for(;0<d.length;++r)d[0]===n&&d[0].splice(r,1)}},this.getAllExtensions=function(){return{language:l,output:d}}},s.subParser("anchors",function(e,t,n){"use strict";e=n.converter._dispatch("anchors.before",e,t,n);var r=function(e,r,o,i,a,l,c){if(s.helper.isUndefined(c)&&(c=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),i="#"+o,s.helper.isUndefined(n.gUrls[o]))return e;i=n.gUrls[o],s.helper.isUndefined(n.gTitles[o])||(c=n.gTitles[o])}i=i.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var u='<a href="'+i+'"';return""!==c&&null!==c&&(c=c.replace(/"/g,"""),c=c.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),u+=' title="'+c+'"'),t.openLinksInNewWindow&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,n,r,o,i){if("\\"===r)return n+o;if(!s.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var a=t.ghMentionsLink.replace(/\{u}/g,i),l="";return t.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),n+'<a href="'+a+'"'+l+">"+o+"</a>"})),e=n.converter._dispatch("anchors.after",e,t,n)});var h=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)()(?=\s|$)(?!["<>])/gi,b=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]]?)(?=\s|$)(?!["<>])/gi,g=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-\/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,v=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,i){var a=n,s="",l="";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&i&&(s=i),e.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),'<a href="'+n+'"'+l+">"+a+"</a>"+s}},_=function(e,t){"use strict";return function(n,r,o){var i="mailto:";return r=r||"",o=s.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(i=s.helper.encodeEmailAddress(i+o),o=s.helper.encodeEmailAddress(o)):i+=o,r+'<a href="'+i+'">'+o+"</a>"}};s.subParser("autoLinks",function(e,t,n){"use strict";return e=n.converter._dispatch("autoLinks.before",e,t,n),e=e.replace(g,y(t)),e=e.replace(v,_(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),s.subParser("simplifiedAutoLinks",function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=t.excludeTrailingPunctuationFromURLs?e.replace(b,y(t)):e.replace(h,y(t)),e=e.replace(m,_(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),s.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=s.subParser("blockQuotes")(e,t,n),e=s.subParser("headers")(e,t,n),e=s.subParser("horizontalRule")(e,t,n),e=s.subParser("lists")(e,t,n),e=s.subParser("codeBlocks")(e,t,n),e=s.subParser("tables")(e,t,n),e=s.subParser("hashHTMLBlocks")(e,t,n),e=s.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),s.subParser("blockQuotes",function(e,t,n){"use strict";return e=n.converter._dispatch("blockQuotes.before",e,t,n),e=e.replace(/((^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,r){var o=r;return o=o.replace(/^[ \t]*>[ \t]?/gm,"¨0"),o=o.replace(/¨0/g,""),o=o.replace(/^[ \t]+$/gm,""),o=s.subParser("githubCodeBlocks")(o,t,n),o=s.subParser("blockGamut")(o,t,n),o=o.replace(/(^|\n)/g,"$1 "),o=o.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^ /gm,"¨0"),n=n.replace(/¨0/g,"")}),s.subParser("hashBlock")("<blockquote>\n"+o+"\n</blockquote>",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),s.subParser("codeBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0";var r=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return e=e.replace(r,function(e,r,o){var i=r,a=o,l="\n";return i=s.subParser("outdent")(i,t,n),i=s.subParser("encodeCode")(i,t,n),i=s.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),i="<pre><code>"+i+l+"</code></pre>",s.subParser("hashBlock")(i,t,n)+a}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),s.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),void 0===e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,o,i){var a=i;return a=a.replace(/^([ \t]*)/g,""),a=a.replace(/[ \t]*$/g,""),a=s.subParser("encodeCode")(a,t,n),r+"<code>"+a+"</code>"}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),s.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}),e=e.replace(/¨A/g," "),e=e.replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),s.subParser("encodeAmpsAndAngles",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n),e=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),e=e.replace(/<(?![a-z\/?$!])/gi,"<"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),s.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,s.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,s.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),s.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,s.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),s.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var r=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi;return e=e.replace(r,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,s.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),s.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(e,r,o){var i=t.omitExtraWLInCodeBlocks?"":"\n";return o=s.subParser("encodeCode")(o,t,n),o=s.subParser("detab")(o,t,n),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),o="<pre><code"+(r?' class="'+r+" language-"+r+'"':"")+">"+o+i+"</code></pre>",o=s.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),s.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),s.subParser("hashCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);var r=function(e,r,o,i){var a=o+s.subParser("encodeCode")(r,t,n)+i;return"¨C"+(n.gHtmlSpans.push(a)-1)+"C"};return e=s.helper.replaceRecursiveRegExp(e,r,"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),s.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=r.replace(/\n\n/g,"\n"),r=r.replace(/^\n/,""),r=r.replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),s.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var i=0;i<r.length;++i)for(var a,l=new RegExp("^ {0,3}(<"+r[i]+"\\b[^>]*>)","im"),c="<"+r[i]+"\\b[^>]*>",u="</"+r[i]+">";-1!==(a=s.helper.regexIndexOf(e,l));){var f=s.helper.splitAtIndex(e,a),p=s.helper.replaceRecursiveRegExp(f[1],o,c,u,"im");if(p===f[1])break;e=f[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,s.subParser("hashElement")(e,t,n)),e=s.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,s.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),s.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return r(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),s.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i)break;++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)}),s.subParser("hashPreCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);var r=function(e,r,o,i){var a=o+s.subParser("encodeCode")(r,t,n)+i;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"};return e=s.helper.replaceRecursiveRegExp(e,r,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),s.subParser("headers",function(e,t,n){"use strict";function r(e){var r,o;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return r=e,o=s.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}e=n.converter._dispatch("headers.before",e,t,n);var o=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),i=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=e.replace(i,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',c=o,u="<h"+c+l+">"+a+"</h"+c+">";return s.subParser("hashBlock")(u,t,n)}),e=e.replace(a,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',c=o+1,u="<h"+c+l+">"+a+"</h"+c+">";return s.subParser("hashBlock")(u,t,n)});var l=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;return e=e.replace(l,function(e,i,a){var l=a;t.customizedHeaderId&&(l=a.replace(/\s?\{([^{]+?)}\s*$/,""));var c=s.subParser("spanGamut")(l,t,n),u=t.noHeaderId?"":' id="'+r(a)+'"',f=o-1+i.length,p="<h"+f+u+">"+c+"</h"+f+">";return s.subParser("hashBlock")(p,t,n)}),e=n.converter._dispatch("headers.after",e,t,n)}),s.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=s.subParser("hashBlock")("<hr />",t,n);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),s.subParser("images",function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){return r=r.replace(/\s/g,""),o(e,t,n,r,i,a,s,l)}function o(e,t,r,o,i,a,l,c){var u=n.gUrls,f=n.gTitles,p=n.gDimensions;if(r=r.toLowerCase(),c||(c=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,s.helper.isUndefined(u[r]))return e;o=u[r],s.helper.isUndefined(f[r])||(c=f[r]),s.helper.isUndefined(p[r])||(i=p[r].width,a=p[r].height)}t=t.replace(/"/g,""").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),o=o.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var d='<img src="'+o+'" alt="'+t+'"';return c&&(c=c.replace(/"/g,""").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),d+=' title="'+c+'"'),i&&a&&(i="*"===i?"auto":i,a="*"===a?"auto":a,d+=' width="'+i+'"',d+=' height="'+a+'"'),d+=" />"}e=n.converter._dispatch("images.before",e,t,n);var i=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,a=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,l=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+\/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,c=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,u=/!\[([^\[\]]+)]()()()()()/g;return e=e.replace(c,o),e=e.replace(l,r),e=e.replace(a,o),e=e.replace(i,o),e=e.replace(u,o),e=n.converter._dispatch("images.after",e,t,n)}),s.subParser("italicsAndBold",function(e,t,n){"use strict";function r(e,r,o){return t.simplifiedAutoLink&&(e=s.subParser("simplifiedAutoLinks")(e,t,n)),r+e+o}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")}),e=e.replace(/\b__(\S[\s\S]*)__\b/g,function(e,t){return r(t,"<strong>","</strong>")}),e=e.replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),t.literalMidWordAsterisks?(e=e.trim().replace(/(^| )\*{3}(\S[\s\S]*?)\*{3}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong><em>","</em></strong>"+o)}),e=e.trim().replace(/(^| )\*{2}(\S[\s\S]*?)\*{2}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong>","</strong>"+o)}),e=e.trim().replace(/(^| )\*(\S[\s\S]*?)\*([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<em>","</em>"+o)})):(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),s.subParser("lists",function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n"),e+="¨0";var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e);return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(o,function(e,r,o,a,l,c,u){u=u&&""!==u.trim();var f=s.subParser("outdent")(l,t,n),p="";return c&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"})),f=f.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),r||f.search(/\n{2,}/)>-1?(f=s.subParser("githubCodeBlocks")(f,t,n),f=s.subParser("blockGamut")(f,t,n)):(f=s.subParser("lists")(f,t,n),f=f.replace(/\n$/,""),f=s.subParser("hashHTMLBlocks")(f,t,n),f=f.replace(/\n\n+/g,"\n\n"),f=i?s.subParser("paragraphs")(f,t,n):s.subParser("spanGamut")(f,t,n)),f=f.replace("¨A",""),f="<li"+p+">"+f+"</li>\n"}),e=e.replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,n,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,a=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,s="ul"===n?i:a,l="";return-1!==e.search(s)?function e(t){var c=t.search(s);-1!==c?(l+="\n<"+n+">\n"+r(t.slice(0,c),!!o)+"</"+n+">\n",n="ul"===n?"ol":"ul",s="ul"===n?i:a,e(t.slice(c))):l+="\n<"+n+">\n"+r(t,!!o)+"</"+n+">\n"}(e):l="\n<"+n+">\n"+r(e,!!o)+"</"+n+">\n",l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){return o(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){return o(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}),e=e.replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)}),s.subParser("outdent",function(e,t,n){"use strict";return e=n.converter._dispatch("outdent.before",e,t,n),e=e.replace(/^(\t|[ ]{1,4})/gm,"¨0"),e=e.replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),s.subParser("paragraphs",function(e,t,n){"use strict";e=n.converter._dispatch("paragraphs.before",e,t,n),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,"");for(var r=e.split(/\n{2,}/g),o=[],i=r.length,a=0;a<i;a++){var l=r[a];l.search(/¨(K|G)(\d+)\1/g)>=0?o.push(l):l.search(/\S/)>=0&&(l=s.subParser("spanGamut")(l,t,n),l=l.replace(/^([ \t]*)/g,"<p>"),l+="</p>",o.push(l))}for(i=o.length,a=0;a<i;a++){for(var c="",u=o[a],f=!1;/¨(K|G)(\d+)\1/.test(u);){var p=RegExp.$1,d=RegExp.$2;c="K"===p?n.gHtmlBlocks[d]:f?s.subParser("encodeCode")(n.ghCodeBlocks[d].text,t,n):n.ghCodeBlocks[d].codeblock,c=c.replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(f=!0)}o[a]=u}return e=o.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),s.subParser("runExtension",function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t}),s.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=s.subParser("codeSpans")(e,t,n),e=s.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=s.subParser("encodeBackslashEscapes")(e,t,n),e=s.subParser("images")(e,t,n),e=s.subParser("anchors")(e,t,n),e=s.subParser("autoLinks")(e,t,n),e=s.subParser("italicsAndBold")(e,t,n),e=s.subParser("strikethrough")(e,t,n),e=s.subParser("simplifiedAutoLinks")(e,t,n),e=s.subParser("hashHTMLSpans")(e,t,n),e=s.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),s.subParser("strikethrough",function(e,t,n){"use strict";function r(e){return t.simplifiedAutoLink&&(e=s.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return r(t)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),s.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,o=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+\/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;e+="¨0";var i=function(e,r,o,i,a,l,c){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=s.subParser("encodeAmpsAndAngles")(o,t,n),l?l+c:(c&&(n.gTitles[r]=c.replace(/"|'/g,""")),t.parseImgDimensions&&i&&a&&(n.gDimensions[r]={width:i,height:a}),"")};return e=e.replace(o,i),e=e.replace(r,i),e=e.replace(/¨0/,"")}),s.subParser("tables",function(e,t,n){"use strict";function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function o(e,r){var o="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(o=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=s.subParser("spanGamut")(e,t,n),"<th"+o+r+">"+e+"</th>\n"}function i(e,r){return"<td"+r+">"+s.subParser("spanGamut")(e,t,n)+"</td>\n"}function a(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}function l(e){var t,n=e.split("\n");for(t=0;t<n.length;++t)/^ {0,3}\|/.test(n[t])&&(n[t]=n[t].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(n[t])&&(n[t]=n[t].replace(/\|[ \t]*$/,""));var l=n[0].split("|").map(function(e){return e.trim()}),c=n[1].split("|").map(function(e){return e.trim()}),u=[],f=[],p=[],d=[];for(n.shift(),n.shift(),t=0;t<n.length;++t)""!==n[t].trim()&&u.push(n[t].split("|").map(function(e){return e.trim()}));if(l.length<c.length)return e;for(t=0;t<c.length;++t)p.push(r(c[t]));for(t=0;t<l.length;++t)s.helper.isUndefined(p[t])&&(p[t]=""),f.push(o(l[t],p[t]));for(t=0;t<u.length;++t){for(var h=[],b=0;b<f.length;++b)s.helper.isUndefined(u[t][b]),h.push(i(u[t][b],p[b]));d.push(h)}return a(f,d)}if(!t.tables)return e;var c=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,u=/^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|\n( {0,3}\|.+\|\n)*(?:\n|¨0)/gm;return e=n.converter._dispatch("tables.before",e,t,n),e=e.replace(/\\(\|)/g,s.helper.escapeCharactersCallback),e=e.replace(c,l),e=e.replace(u,l),e=n.converter._dispatch("tables.after",e,t,n)}),s.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n),e=e.replace(/¨E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)});void 0!==(r=function(){"use strict";return s}.call(t,n,t,e))&&(e.exports=r)}).call(this)},function(e,t,n){"use strict";var r=n(115),o=n.n(r),i=n(375),a=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===a&&e.hasAttributes()){var t=e.nodeName.toLowerCase();o()(e.attributes).forEach(function(n){var r=n.name;"class"===r||Object(i.d)(t,r)||e.removeAttribute(r)});var n=e.getAttribute("class");if(n){var r=n.split(" ").filter(function(e){return e&&Object(i.e)(t,e)}).join(" ");r.length?e.setAttribute("class",r):e.removeAttribute("class")}}}},function(e,t,n){"use strict";var r=window.Node.COMMENT_NODE;t.a=function(e){e.nodeType===r&&e.parentNode.removeChild(e)}},function(e,t,n){"use strict";function r(e,t){return e.every(function(e){return("SPAN"===e.nodeName||Object(a.h)(e,t))&&r(i()(e.children),t)})}var o=n(115),i=n.n(o),a=n(375);t.a=function(e,t){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;var o=i()(n.body.children);return!o.some(a.f)&&r(o,t)}},function(e,t,n){"use strict";function r(e,t){for(var n=document.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e)}var o=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===o){if("SPAN"===e.nodeName){var t=e.style.fontWeight,n=e.style.fontStyle;"bold"===t||"700"===t?r(e,"strong"):"italic"===n&&r(e,"em")}"B"===e.nodeName&&r(e,"strong"),"I"===e.nodeName&&r(e,"em")}}},function(e,t,n){"use strict";function r(e){return"OL"===e.nodeName||"UL"===e.nodeName}var o=window,i=o.parseInt,a=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===a&&"P"===e.nodeName){var t=e.getAttribute("style");if(t&&-1!==t.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(t);if(n){var o=i(n[1],10)-1||0,s=e.previousElementSibling;if(!s||!r(s)){var l=e.textContent.trim().slice(0,1),c=/[1iIaA]/.test(l),u=document.createElement(c?"ol":"ul");c&&u.setAttribute("type",l),e.parentNode.insertBefore(u,e)}var f=e.previousElementSibling,p=f.nodeName,d=document.createElement("li"),h=f;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;o--;)h=h.lastElementChild||h,r(h)&&(h=h.lastElementChild||h);r(h)||(h=h.appendChild(document.createElement(p))),h.appendChild(d),e.parentNode.removeChild(e)}}}}},function(e,t,n){"use strict";var r=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===r){var t=e.nodeName;if(("OL"===t||"UL"===t)&&1===e.children.length){var n=e.previousElementSibling;n&&n.nodeName===t&&(n.appendChild(e.firstChild),e.parentNode.removeChild(e))}}}},function(e,t,n){"use strict";var r=n(147),o=n.n(r),i=n(43),a=(n.n(i),window),s=a.atob,l=a.Blob,c=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===c&&"IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t=e.src.split(","),n=o()(t,2),r=n[0],a=n[1],u=r.slice(5).split(";"),f=o()(u,1),p=f[0];if(!a||!p)return void(e.src="");var d=void 0;try{d=s(a)}catch(t){return void(e.src="")}for(var h=new Uint8Array(d.length),b=0;b<h.length;b++)h[b]=d.charCodeAt(b);var g=new l([h],{type:p});e.src=Object(i.createBlobURL)(g)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}},function(e,t,n){"use strict";var r=n(556),o=window.Node.ELEMENT_NODE;t.a=function(e){e.nodeType===o&&"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Object(r.a)(e.innerHTML))}},function(e,t,n){"use strict";var r=window.Node.TEXT_NODE;t.a=function(e){if(e.nodeType===r){var t=e.parentNode;-1!==["TR","TBODY","THEAD","TFOOT","TABLE"].indexOf(t.nodeName)&&t.removeChild(e)}}},function(e,t,n){"use strict";var r=n(375),o=n(557),i=window.Node.ELEMENT_NODE;t.a=function(e,t){e.nodeType===i&&Object(r.i)(e)&&Object(r.b)(e.childNodes,[Object(o.a)(function(t){return!Object(r.h)(t)&&!Object(r.c)(e,t)},function(e){return e.nextElementSibling&&t.createElement("BR")})],t)}},function(e,t,n){"use strict";var r=n(38),o=n.n(r),i=n(376),a=n.n(i),s=n(10),l=n.n(s),c=n(332),u=n.n(c),f=n(377),p=n.n(f),d=n(210),h=n.n(d),b=n(124),g=n.n(b),m=n(650),v=n.n(m),y=n(31),_=n.n(y),w=n(66),x=n.n(w),k=n(294),E=n.n(k),O=n(448),C=n(295),S=n(476),j=window.wp.shortcode;t.a=function(e){var t=Object(C.b)().reduce(function(t,n){var r=_()(n,"transforms.from",[]),o=x()(r,function(e){return"shortcode"===e.type});if(!o)return t;var i=E()(o.tag),a=void 0,s=0,c=!0,f=!1,d=void 0;try{for(var b,g=u()(i);!(c=(b=g.next()).done);c=!0)for(var m=b.value;a=j.next(m,e,s);){s=a.index+a.content.length;var v=h()(p()(o.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(a.shortcode.attrs,a)}),y=Object(O.a)(n.name,Object(S.b)(l()({},n,{attributes:o.attributes}),a.shortcode.content,v));t[a.index]={block:y,lastIndex:s}}}catch(e){f=!0,d=e}finally{try{!c&&g.return&&g.return()}finally{if(f)throw d}}return t},{}),n=0;return a()(t).sort(function(e,t){return e-t}).reduce(function(e,r){var i=t[r];return e=[].concat(o()(v()(e)),[g()(e).slice(0,r-n),i.block,g()(e).slice(i.lastIndex-n)]),n=i.lastIndex,e},[e])}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),t=r-t,o(e,0,t<0?0:t)):[]}var o=n(146),i=n(75);e.exports=r},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.heading,r=e.checked,o=e.help,a=e.instanceId,l=e.onChange,u=s()(e,["label","heading","checked","help","instanceId","onChange"]),f="inspector-checkbox-control-"+a,p=function(e){return l(e.target.value)};return wp.element.createElement(c.a,{label:n,id:f,help:o},wp.element.createElement("input",i()({id:f,className:"blocks-checkbox-control__input",type:"checkbox",value:"1",onChange:p,checked:r,"aria-describedby":o?f+"__help":void 0},u)),wp.element.createElement("label",{className:"blocks-checkbox-control__label",htmlFor:f},t))}var o=n(10),i=n.n(o),a=n(40),s=n.n(a),l=n(1),c=(n.n(l),n(231)),u=n(653);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.selected,r=e.help,o=e.instanceId,a=e.onChange,l=e.options,c=void 0===l?[]:l,u="inspector-radio-control-"+o,f=function(e){return a(e.target.value)};return!i()(c)&&wp.element.createElement(s.a,{label:t,id:u,help:r,className:"blocks-radio-control"},c.map(function(e,t){return wp.element.createElement("div",{key:u+"-"+t,className:"blocks-radio-control__option"},wp.element.createElement("input",{id:u+"-"+t,className:"blocks-radio-control__input",type:"radio",name:u,value:e.value,onChange:f,checked:e.value===n,"aria-describedby":r?u+"__help":void 0}),wp.element.createElement("label",{key:e.value,htmlFor:u+"-"+t},e.label))}))}var o=n(214),i=n.n(o),a=n(1),s=(n.n(a),n(231)),l=n(655);n.n(l);t.a=Object(a.withInstanceId)(r)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,a=e.onChange,l=e.rows,u=void 0===l?4:l,f=s()(e,["label","value","help","instanceId","onChange","rows"]),p="inspector-textarea-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(c.a,{label:t,id:p,help:r},wp.element.createElement("textarea",i()({className:"blocks-textarea-control__input",id:p,rows:u,onChange:d,"aria-describedby":r?p+"__help":void 0,value:n},f)))}var o=n(10),i=n.n(o),a=n(40),s=n.n(a),l=n(1),c=(n.n(l),n(231)),u=n(660);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return Object(b.m)(e,"customClassName",!0)&&(e.attributes=c()(e.attributes,{className:{type:"string"}})),e}function o(e){var t=function(t){var n=Object(b.m)(t.name,"customClassName",!0)&&t.focus;return[wp.element.createElement(e,s()({key:"block-edit-custom-class-name"},t)),n&&wp.element.createElement(g.a,{key:"inspector-custom-class-name"},wp.element.createElement(g.a.TextControl,{label:Object(h.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))]};return t.displayName=Object(p.getWrapperDisplayName)(e,"customClassName"),t}function i(e,t,n){return Object(b.m)(t,"customClassName",!0)&&n.className&&(e.className=f()(e.className,n.className)),e}var a=n(10),s=n.n(a),l=n(549),c=n.n(l),u=n(19),f=n.n(u),p=n(2),d=(n.n(p),n(221)),h=(n.n(d),n(0)),b=(n.n(h),n(35)),g=n(138);Object(d.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",r),Object(d.addFilter)("blocks.BlockEdit","core/custom-class-name/inspector-control",o),Object(d.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",i)},function(e,t,n){"use strict";function r(e,t){if(Object(s.m)(t,"className",!0)){var n=i()(Object(s.e)(t.name),e.className);e.className=n}return e}var o=n(19),i=n.n(o),a=n(221),s=(n.n(a),n(35));Object(a.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",r)},function(e,t,n){"use strict";n(665),n(667),n(690),n(695),n(697),n(700),n(703),n(706),n(708),n(710),n(775),n(778),n(782),n(784),n(786),n(788),n(791),n(796),n(798),n(801),n(804),n(806),n(809),n(812),n(815)},function(e,t,n){"use strict";var r=n(303),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(666)),l=(n.n(s),n(35));Object(l.r)("core/shortcode",{title:Object(i.__)("Shortcode"),description:Object(i.__)("A shortcode is a WordPress-specific code snippet that is written between square brackets as [shortcode]. "),icon:"marker",category:"widgets",attributes:{text:{type:"string",source:"text"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){return t.content}}}}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(a.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,s="blocks-shortcode-input-"+r;return wp.element.createElement("div",{className:"wp-block-shortcode"},wp.element.createElement("label",{htmlFor:s},wp.element.createElement(a.Dashicon,{icon:"editor-code"}),Object(i.__)("Shortcode")),wp.element.createElement(o.a,{id:s,autoComplete:"off",value:t.text,placeholder:Object(i.__)("Write shortcode here…"),onChange:function(e){return n({text:e.target.value})}}))}),save:function(e){return e.attributes.text}})},function(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(0),a=(n.n(i),n(43)),s=(n.n(a),n(668)),l=(n.n(s),n(669)),c=(n.n(l),n(35)),u=n(670);Object(c.r)("core/image",{title:Object(i.__)("Image"),description:Object(i.__)("Worth a thousand words."),icon:"format-image",category:"common",keywords:[Object(i.__)("photo")],attributes:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt"},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"}},transforms:{from:[{type:"raw",isMatch:function(e){var t=e.nodeName.toLowerCase(),n=!!e.textContent.trim(),r=e.querySelector("img");return"img"===t||r&&!n||r&&"figure"===t},transform:function(e){var t=e.parentNode.querySelector("figure,img"),n=/align(left|center|right)/.exec(t.className),r=n?n[1]:void 0,o=Object(c.f)("core/image"),i=Object(c.c)(o,t.outerHTML,{align:r});return Object(c.a)("core/image",i)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){return Object(a.createMediaFromFile)(e[0]).then(function(e){return Object(c.a)("core/image",{id:e.id,url:e.source_url})})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{type:"array",source:"text"},href:{type:"string",source:"attribute",attribute:"href",selector:"a"},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:u.a,save:function(e){var t=e.attributes,n=t.url,r=t.alt,i=t.caption,a=t.align,s=t.href,l=t.width,c=t.height,u=l||c?{width:l,height:c}:{},f=wp.element.createElement("img",o()({src:n,alt:r},u)),p={};return l?p={width:l}:"left"!==a&&"right"!==a||(p={maxWidth:"50%"}),wp.element.createElement("figure",{className:a?"align"+a:null,style:p},s?wp.element.createElement("a",{href:s},f):f,i&&i.length>0&&wp.element.createElement("figcaption",null,i))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(8),h=n.n(d),b=n(31),g=n.n(b),m=n(62),v=n.n(m),y=n(214),_=n.n(y),w=n(671),x=n.n(w),k=n(19),E=n.n(k),O=n(672),C=n(0),S=(n.n(C),n(2)),j=(n.n(S),n(43)),T=(n.n(j),n(1)),A=(n.n(T),n(96)),P=n(562),R=n(309),N=n(138),L=n(558),M=n(379),D=n(76),B=n(126),I=n(563),F=n(689),z=function(e){function t(){l()(this,t);var e=p()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.updateAlt=e.updateAlt.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSetHref=e.onSetHref.bind(e),e.updateImageURL=e.updateImageURL.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.id,o=t.url,i=void 0===o?"":o;r||0!==i.indexOf("blob:")||Object(j.getBlobByURL)(i).then(j.createMediaFromFile).then(function(e){n({id:e.id,url:e.source_url})})}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,i=this.props.attributes,a=i.id,s=i.url,l=void 0===s?"":s;!n&&0===o.indexOf("blob:")&&a&&-1===l.indexOf("blob:")&&Object(j.revokeBlobURL)(l)}},{key:"onSelectImage",value:function(e){var t={url:e.url,alt:e.alt,id:e.id};e.caption&&(t.caption=[e.caption]),this.props.setAttributes(t)}},{key:"onSetHref",value:function(e){this.props.setAttributes({href:e})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(o()({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e})}},{key:"getAvailableSizes",value:function(){return g()(this.props.image,["data","media_details","sizes"],{})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.className,s=e.settings,l=e.toggleSelection,c=t.url,u=t.alt,f=t.caption,p=t.align,d=t.id,h=t.href,b=t.width,g=t.height,m=this.getAvailableSizes(),y=b?{width:b}:{},w=-1===["wide","full"].indexOf(p)&&!j.viewPort.isExtraSmall(),k=Object(C.__)("Edit image"),S=r&&wp.element.createElement(D.a,{key:"controls"},wp.element.createElement(B.a,{value:p,onChange:this.updateAlignment}),wp.element.createElement(T.Toolbar,null,wp.element.createElement(R.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":k},onSelect:this.onSelectImage,type:"image",value:d,tooltip:k},wp.element.createElement(T.Dashicon,{icon:"edit"})),wp.element.createElement(I.a,{onChange:this.onSetHref,url:h})));if(!c)return[S,wp.element.createElement(P.a,{className:a,key:"image-placeholder",icon:"format-image",label:Object(C.__)("Image"),onSelectImage:this.onSelectImage})];var z=function(e){return i(o()({editable:"caption"},e))},H=E()(a,{"is-transient":0===c.indexOf("blob:"),"is-resized":!!b,"is-focused":!!r});return[S,r&&wp.element.createElement(N.a,{key:"inspector"},wp.element.createElement("h2",null,Object(C.__)("Image Settings")),wp.element.createElement(L.a,{label:Object(C.__)("Textual Alternative"),value:u,onChange:this.updateAlt,help:Object(C.__)("Describe the purpose of the image. Leave empty if the image is not a key part of the content.")}),!_()(m)&&wp.element.createElement(M.a,{label:Object(C.__)("Size"),value:c,options:v()(m,function(e,t){return{value:e.source_url,label:x()(t)}}),onChange:this.updateImageURL})),wp.element.createElement("figure",{key:"image",className:H,style:y},wp.element.createElement(F.a,{src:c,dirtynessTrigger:p},function(e){var t=e.imageWidthWithinContainer,r=e.imageHeightWithinContainer,o=e.imageWidth,a=e.imageHeight,f=wp.element.createElement("img",{src:c,alt:u,onClick:i});if(!w||!t)return f;var p=b||t,d=g||r,h=o/a,m=o<a?20:20*h,v=a<o?20:20/h;return wp.element.createElement(O.a,{size:{width:p,height:d},minWidth:m,maxWidth:s.maxWidth,minHeight:v,maxHeight:s.maxWidth/h,lockAspectRatio:!0,handleClasses:{topRight:"wp-block-image__resize-handler-top-right",bottomRight:"wp-block-image__resize-handler-bottom-right",topLeft:"wp-block-image__resize-handler-top-left",bottomLeft:"wp-block-image__resize-handler-bottom-left"},enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},onResizeStart:function(){l(!1)},onResizeStop:function(e,t,r,o){n({width:parseInt(p+o.width,10),height:parseInt(d+o.height,10)}),l(!0)}},f)}),f&&f.length>0||r?wp.element.createElement(A.a,{tagName:"figcaption",placeholder:Object(C.__)("Write caption…"),value:f,focus:r&&"caption"===r.editable?r:void 0,onFocus:z,onChange:function(e){return n({caption:e})},inlineToolbar:!0}):null)]}}]),t}(S.Component);t.a=Object(S.compose)([Object(T.withContext)("editor")(function(e){return{settings:e}}),Object(T.withAPIData)(function(e){var t=e.attributes.id;return t?{image:"/wp/v2/media/"+t}:{}})])(z)},function(e,t,n){var r=n(490),o=n(452),i=r(function(e,t,n){return e+(n?" ":"")+o(t)});e.exports=i},function(e,t,n){"use strict";var r=n(13),o=(n.n(r),function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var s={key:e,arg:t,resolve:n,reject:o,next:null};a?a=a.next=s:(i=a=s,r(e,t))})}function r(n,i){try{var a=t[n](i),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(a.done?"return":"normal",a.value)}catch(e){o("throw",e)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):a=null}var i,a;this._invoke=n,"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)},l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},c={base:{position:"absolute"},top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},u=function(e){return Object(r.createElement)("div",{className:e.className,style:a({},c.base,c[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}})},f={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},p={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},d=function(e,t,n){return Math.max(Math.min(e,n),t)},h=function(e,t){return Math.round(e/t)*t},b=function(e,t){return e.substr(e.length-t.length,t.length)===t},g=function(e){return b(e.toString(),"px")?e.toString():b(e.toString(),"%")?e.toString():e+"px"},m=0,v=["style","className","grid","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop"],y=function(e){function t(e){o(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0}},n.updateExtendsProps(e),n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n.baseSizeId="__resizable"+m,m+=1,"undefined"!=typeof window&&(window.addEventListener("mouseup",n.onMouseUp),window.addEventListener("mousemove",n.onMouseMove),window.addEventListener("touchmove",n.onMouseMove),window.addEventListener("touchend",n.onMouseUp)),n}return s(t,e),i(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce(function(t,n){return-1!==v.indexOf(n)?t:(t[n]=e[n],t)},{})}},{key:"getParentSize",value:function(){var e=document.getElementById(this.baseSizeId);return e?{width:e.offsetWidth,height:e.offsetHeight}:{width:window.innerWidth,height:window.innerHeight}}},{key:"componentDidMount",value:function(){var e=this.size;this.setState({width:this.state.width||e.width,height:this.state.height||e.height});var t=document.createElement("div");t.id=this.baseSizeId,t.style.width="100%",t.style.height="100%",t.style.position="relative",t.style.transform="scale(0, 0)",t.style.left="-2147483647px";var n=this.parentNode;n instanceof HTMLElement&&n.appendChild(t)}},{key:"componentWillReceiveProps",value:function(e){this.updateExtendsProps(e)}},{key:"componentWillUnmount",value:function(){if("undefined"!=typeof window){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("touchend",this.onMouseUp);var e=this.parentNode,t=document.getElementById(this.baseSizeId);if(!t)return;if(!(e instanceof HTMLElement&&t instanceof Node))return;e.removeChild(t)}}},{key:"onResizeStart",value:function(e,t){var n=0,r=0;if(e.nativeEvent instanceof MouseEvent){if(n=e.nativeEvent.clientX,r=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof TouchEvent&&(n=e.nativeEvent.touches[0].clientX,r=e.nativeEvent.touches[0].clientY);this.props.onResizeStart&&this.props.onResizeStart(e,t,this.resizable),this.setState({original:{x:n,y:r,width:this.size.width,height:this.size.height},isResizing:!0,direction:t})}},{key:"onMouseMove",value:function(e){if(this.state.isResizing){var t=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,n=e instanceof MouseEvent?e.clientY:e.touches[0].clientY,r=this.state,o=r.direction,i=r.original,a=r.width,s=r.height,l=this.props.lockAspectRatio,c=this.props,u=c.maxWidth,f=c.maxHeight,p=c.minWidth,g=c.minHeight,m=this.getParentSize();if(u&&"string"==typeof u&&b(u,"%")){var v=Number(u.replace("%",""))/100;u=m.width*v}if(f&&"string"==typeof f&&b(f,"%")){var y=Number(f.replace("%",""))/100;f=m.height*y}if(p&&"string"==typeof p&&b(p,"%")){var _=Number(p.replace("%",""))/100;p=m.width*_}if(g&&"string"==typeof g&&b(g,"%")){var w=Number(g.replace("%",""))/100;g=m.height*w}u=void 0===u?void 0:Number(u),f=void 0===f?void 0:Number(f),p=void 0===p?void 0:Number(p),g=void 0===g?void 0:Number(g);var x=i.height/i.width,k=i.width,E=i.height;if(/right/i.test(o)&&(k=i.width+(t-i.x),l&&(E=k*x)),/left/i.test(o)&&(k=i.width-(t-i.x),l&&(E=k*x)),/bottom/i.test(o)&&(E=i.height+(n-i.y),l&&(k=E/x)),/top/i.test(o)&&(E=i.height-(n-i.y),l&&(k=E/x)),"parent"===this.props.bounds){var O=this.parentNode;if(O instanceof HTMLElement){var C=O.getBoundingClientRect(),S=C.left,j=C.top,T=this.resizable.getBoundingClientRect(),A=T.left,P=T.top,R=O.offsetWidth+(S-A),N=O.offsetHeight+(j-P);u=u&&u<R?u:R,f=f&&f<N?f:N}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var L=this.resizable.getBoundingClientRect(),M=L.left,D=L.top,B=window.innerWidth-M,I=window.innerHeight-D;u=u&&u<B?u:B,f=f&&f<I?f:I}}else if(this.props.bounds instanceof HTMLElement){var F=this.props.bounds.getBoundingClientRect(),z=F.left,H=F.top,q=this.resizable.getBoundingClientRect(),U=q.left,K=q.top;if(!(this.props.bounds instanceof HTMLElement))return;var V=this.props.bounds.offsetWidth+(z-U),W=this.props.bounds.offsetHeight+(H-K);u=u&&u<V?u:V,f=f&&f<W?f:W}var G=void 0===p||p<10?10:p,$=void 0===u||u<0?k:u,X=void 0===g||g<10?10:g,Y=void 0===f||f<0?E:f;if(l){var Z=G>X/x?G:X/x,Q=$<Y/x?$:Y/x,J=X>G*x?X:G*x,ee=Y<$*x?Y:$*x;k=d(k,Z,Q),E=d(E,J,ee)}else k=d(k,G,$),E=d(E,X,Y);this.props.grid&&(k=h(k,this.props.grid[0])),this.props.grid&&(E=h(E,this.props.grid[1]));var te={width:k-i.width,height:E-i.height};if(a&&"string"==typeof a&&b(a,"%")){k=k/m.width*100+"%"}if(s&&"string"==typeof s&&b(s,"%")){E=E/m.height*100+"%"}this.setState({width:"auto"!==a||void 0===this.props.width?k:"auto",height:"auto"!==s||void 0===this.props.height?E:"auto"}),this.props.onResize&&this.props.onResize(e,o,this.resizable,te)}}},{key:"onMouseUp",value:function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.setState({isResizing:!1})}}},{key:"updateSize",value:function(e){this.setState({width:e.width,height:e.height})}},{key:"renderResizer",value:function(){var e=this,t=this.props,n=t.enable,o=t.handleStyles,i=t.handleClasses,a=t.handleWrapperStyle,s=t.handleWrapperClass;if(!n)return null;var l=Object.keys(n).map(function(t){return!1!==n[t]?Object(r.createElement)(u,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:o&&o[t],className:i&&i[t]}):null});return Object(r.createElement)("span",{className:s,style:a},l)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?f:p;return Object(r.createElement)("div",a({ref:function(t){e.resizable=t},style:a({position:"relative"},t,this.props.style,this.sizeStyle,{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box"}),className:this.props.className},this.extendsProps),this.props.children,this.renderResizer())}},{key:"parentNode",get:function(){return this.resizable.parentNode}},{key:"propsSize",get:function(){return this.props.size||this.props.defaultSize}},{key:"size",get:function(){var e=0,t=0;return"undefined"!=typeof window&&(e=this.resizable.offsetWidth,t=this.resizable.offsetHeight),{width:e,height:t}}},{key:"sizeStyle",get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&b(e.propsSize[t].toString(),"%")){if(b(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return g(e.state[t])};return{width:t&&t.width&&!this.state.isResizing?g(t.width):n("width"),height:t&&t.height&&!this.state.isResizing?g(t.height):n("height")}}}]),t}(r.Component);y.defaultProps={onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1},t.a=y},function(e,t,n){var r=n(674),o=n(93),i=o(function(e,t){return r(e,1,t)});e.exports=i},function(e,t){function n(e,t,n){if("function"!=typeof e)throw new TypeError(r);return setTimeout(function(){e.apply(void 0,n)},t)}var r="Expected a function";e.exports=n},function(e,t,n){var r=n(676),o=n(550),i=o(function(e,t,n){r(e,t,n)});e.exports=i},function(e,t,n){function r(e,t,n,u,f){e!==t&&a(t,function(a,c){if(l(a))f||(f=new o),s(e,t,c,n,r,u,f);else{var p=u?u(e[c],a,c+"",e,t,f):void 0;void 0===p&&(p=a),i(e,c,p)}},c)}var o=n(102),i=n(560),a=n(225),s=n(677),l=n(18),c=n(191);e.exports=r},function(e,t,n){function r(e,t,n,r,v,y,_){var w=e[n],x=t[n],k=_.get(x);if(k)return void o(e,n,k);var E=y?y(w,x,n+"",e,t,_):void 0,O=void 0===E;if(O){var C=u(x),S=!C&&p(x),j=!C&&!S&&g(x);E=x,C||S||j?u(w)?E=w:f(w)?E=s(w):S?(O=!1,E=i(x,!0)):j?(O=!1,E=a(x,!0)):E=[]:b(x)||c(x)?(E=w,c(w)?E=m(w):(!h(w)||r&&d(w))&&(E=l(x))):O=!1}O&&(_.set(x,E),v(E,x,r,y,_),_.delete(x)),o(e,n,E)}var o=n(560),i=n(329),a=n(330),s=n(123),l=n(331),c=n(61),u=n(11),f=n(212),p=n(86),d=n(79),h=n(18),b=n(297),g=n(114),m=n(678);e.exports=r},function(e,t,n){function r(e){return o(e,i(e))}var o=n(69),i=n(191);e.exports=r},function(e,t,n){function r(e,t){return a(e,i(o(t)))}var o=n(29),i=n(502),a=n(377);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(125),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),b=n(8),g=n.n(b),m=n(0),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(43)),w=(n.n(_),n(682)),x=(n.n(w),n(453)),k=n(454),E=n(215),O=_.keycodes.ESCAPE,C=_.keycodes.LEFT,S=_.keycodes.RIGHT,j=_.keycodes.UP,T=_.keycodes.DOWN,A=[{icon:"editor-bold",title:Object(m.__)("Bold"),format:"bold"},{icon:"editor-italic",title:Object(m.__)("Italic"),format:"italic"},{icon:"editor-strikethrough",title:Object(m.__)("Strikethrough"),format:"strikethrough"},{icon:"admin-links",title:Object(m.__)("Link"),format:"link"}],P=["bold","italic","strikethrough","link"],R=function(e){return e.stopPropagation()},N=function(e){function t(){u()(this,t);var e=h()(this,(t.__proto__||l()(t)).apply(this,arguments));return e.state={isAddingLink:!1,isEditingLink:!1,settingsVisible:!1,opensInNewWindow:!1,newLinkValue:""},e.addLink=e.addLink.bind(e),e.editLink=e.editLink.bind(e),e.dropLink=e.dropLink.bind(e),e.submitLink=e.submitLink.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.onChangeLinkValue=e.onChangeLinkValue.bind(e),e.toggleLinkSettingsVisibility=e.toggleLinkSettingsVisibility.bind(e),e.setLinkTarget=e.setLinkTarget.bind(e),e}return g()(t,e),p()(t,[{key:"onKeyDown",value:function(e){e.keyCode===O&&this.state.isEditingLink&&(e.stopPropagation(),this.dropLink()),[C,T,S,j].indexOf(e.keyCode)>-1&&R(e)}},{key:"componentWillReceiveProps",value:function(e){this.props.selectedNodeId!==e.selectedNodeId&&this.setState({isAddingLink:!1,isEditingLink:!1,settingsVisible:!1,opensInNewWindow:!!e.formats.link&&!!e.formats.link.target,newLinkValue:""})}},{key:"onChangeLinkValue",value:function(e){this.setState({newLinkValue:e})}},{key:"toggleFormat",value:function(e){var t=this;return function(){t.props.onChange(a()({},e,!t.props.formats[e]))}}},{key:"toggleLinkSettingsVisibility",value:function(){this.setState(function(e){return{settingsVisible:!e.settingsVisible}})}},{key:"setLinkTarget",value:function(e){var t=e.target.checked;this.setState({opensInNewWindow:t}),this.props.onChange({link:{value:this.props.formats.link.value,target:t?"_blank":""}})}},{key:"addLink",value:function(){this.setState({isEditingLink:!1,isAddingLink:!0,newLinkValue:""})}},{key:"dropLink",value:function(){this.props.onChange({link:void 0}),this.setState({isEditingLink:!1,isAddingLink:!1,newLinkValue:""})}},{key:"editLink",value:function(e){e.preventDefault(),this.setState({isEditingLink:!1,isAddingLink:!0,newLinkValue:this.props.formats.link.value})}},{key:"submitLink",value:function(e){e.preventDefault(),this.props.onChange({link:{value:this.state.newLinkValue,target:this.state.opensInNewWindow?"_blank":""}}),this.state.isAddingLink&&this.props.speak(Object(m.__)("Link added."),"assertive")}},{key:"isFormatActive",value:function(e){return this.props.formats[e]&&this.props.formats[e].isActive}},{key:"render",value:function(){var e=this,t=this.props,n=t.formats,r=t.focusPosition,i=t.enabledControls,a=void 0===i?P:i,s=t.customControls,l=void 0===s?[]:s,c=this.state,u=c.isAddingLink,f=c.isEditingLink,p=c.newLinkValue,d=c.settingsVisible,h=c.opensInNewWindow,b=r?o()({position:"absolute"},r):null,g=A.concat(l).filter(function(e){return-1!==a.indexOf(e.format)}).map(function(t){var n="link"===t.format;return o()({},t,{onClick:n?e.addLink:e.toggleFormat(t.format),isActive:e.isFormatActive(t.format)||n&&u})}),v=d&&wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line blocks-format-toolbar__link-settings"},wp.element.createElement(E.a,{label:Object(m.__)("Open in new window"),checked:h,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"blocks-format-toolbar"},wp.element.createElement(y.Toolbar,{controls:g}),(u||f)&&wp.element.createElement(y.Fill,{name:"Editable.Siblings"},wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",style:b,onKeyPress:R,onKeyDown:this.onKeyDown,onSubmit:this.submitLink},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line"},wp.element.createElement(x.a,{value:p,onChange:this.onChangeLinkValue}),wp.element.createElement(y.IconButton,{icon:"editor-break",label:Object(m.__)("Apply"),type:"submit"}),wp.element.createElement(y.IconButton,{icon:"editor-unlink",label:Object(m.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(y.IconButton,{icon:"admin-generic",label:Object(m.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d})),v)),!!n.link&&!u&&!f&&wp.element.createElement(y.Fill,{name:"Editable.Siblings"},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal",style:b,onKeyPress:R},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line"},wp.element.createElement("a",{className:"blocks-format-toolbar__link-value",href:n.link.value,target:"_blank"},n.link.value&&Object(k.a)(decodeURI(n.link.value))),wp.element.createElement(y.IconButton,{icon:"edit",label:Object(m.__)("Edit"),onClick:this.editLink}),wp.element.createElement(y.IconButton,{icon:"editor-unlink",label:Object(m.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(y.IconButton,{icon:"admin-generic",label:Object(m.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d})),v)))}}]),t}(v.Component);t.a=Object(y.withSpokenMessages)(N)},function(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(149),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),b=n(8),g=n.n(b),m=n(137),v=n.n(m),y=n(503),_=n.n(y),w=n(19),x=n.n(w),k=n(2),E=(n.n(k),n(561)),O=function(e){function t(){return u()(this,t),h()(this,(t.__proto__||l()(t)).apply(this,arguments))}return g()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.initialize()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillReceiveProps",value:function(e){var t=this,n="data-is-placeholder-visible",r=String(!!e.isPlaceholderVisible);this.editorNode.getAttribute(n)!==r&&this.editorNode.setAttribute(n,r),v()(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),a()(this.editorNode.style,e.style)),v()(this.props.className,e.className)||(this.editorNode.className=x()(e.className,"blocks-editable__tinymce"));var o=Object(E.a)(this.props,e),i=o.removedKeys,s=o.updatedKeys;i.forEach(function(e){return t.editorNode.removeAttribute(e)}),s.forEach(function(n){return t.editorNode.setAttribute(n,e[n])})}},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.container=document.createDocumentFragment(),this.editor.destroy(),delete this.editor)}},{key:"initialize",value:function(){var e=this,t=this.props.focus,n=this.props.getSettings({theme:!1,inline:!0,toolbar:!1,browser_spellcheck:!0,entity_encoding:"raw",convert_urls:!1,inline_boundaries_selector:"a[href],code,b,i,strong,em,del,ins,sup,sub",plugins:[],formats:{strikethrough:{inline:"del"}}});n.plugins.push("paste"),_.a.init(o()({},n,{target:this.editorNode,setup:function(t){e.editor=t,e.props.onSetup(t)}})),t&&this.editorNode.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,i=t.style,a=t.defaultValue,s=t.className,l=Object(E.b)(this.props),c=void 0;return a&&(c=k.Children.toArray(a)),Object(k.createElement)(r,o()({ref:function(t){return e.editorNode=t},contentEditable:!0,suppressContentEditableWarning:!0,className:x()(s,"blocks-editable__tinymce"),style:i},l),c)}}]),t}(k.Component);t.a=O},function(e,t){function n(e){return null==e}e.exports=n},function(e,t,n){"use strict";var r=n(38),o=n.n(r),i=n(686),a=n.n(i),s=n(411),l=n.n(s),c=n(508),u=n.n(c),f=n(31),p=n.n(f),d=n(66),h=n.n(d),b=n(503),g=n.n(b),m=n(43),v=(n.n(m),n(295)),y=window,_=y.setTimeout,w=m.keycodes.ESCAPE,x=m.keycodes.ENTER,k=m.keycodes.SPACE,E=m.keycodes.BACKSPACE;t.a=function(e){function t(){var t=e.selection.getRng(),n=t.startContainer,r=t.startOffset;if(n&&3===n.nodeType&&n.data.length&&r){var o=n.data.slice(0,r),i=n.data.charAt(r-1),a=y.reduce(function(e,t){if(e.result)return e;if(i!==t.delimiter.slice(-1))return e;var n=u()(t.delimiter),a=new RegExp("(.*)"+n+".+"+n+"$"),s=o.match(a);if(!s)return e;var l=s[1].length,c=r-t.delimiter.length,f=o.charAt(l-1),p=o.charAt(l+t.delimiter.length),d=t.delimiter.charAt(0);if(l&&/\S/.test(f)&&(/\s/.test(p)||f===d))return e;var h=new RegExp("^[\\s"+u()(d)+"]+$"),b=o.slice(l,c);return h.test(b)?e:{start:l,pattern:t}},{}),s=a.start,l=a.pattern;if(l){var c=l.delimiter,f=l.format,p=e.formatter.get(f);p&&p[0].inline&&(e.undoManager.add(),e.undoManager.transact(function(){n.insertData(r,"\ufeff");var t=n.splitText(s),o=t.splitText(r-s);t.deleteData(0,c.length),t.deleteData(t.data.length-c.length,c.length),e.formatter.apply(f,{},t),e.selection.setCursorLocation(o,1),_(function(){O="space",e.once("selectionchange",function(){if(o){var e=o.data.indexOf("\ufeff");-1!==e&&o.deleteData(e,e+1)}})})}))}}}function n(t){if(s){e.getBody().normalize();var n=i();if(n.length){var r=n[0],l=t.reduce(function(e,t){return e.result?e:{result:t.regExp.exec(r),pattern:t}},{}),c=l.result,u=l.pattern;if(c){var f=e.selection.getRng(),p=c[0].length,d=r.slice(p);if(f.startOffset===p){var h=u.transform({content:[d].concat(o()(a()(n))),match:c});s([h])}}}}}function r(){if(s){e.getBody().normalize();var t=i();if(t.length){var n=h()(b,function(e){return e.regExp.test(t[0])});if(n){var r=n.transform({content:t});e.once("keyup",function(){return s([r])})}}}}var i=this.getContent.bind(this),s=this.props.onReplace,c=g.a.util.VK,f=e.settings.wptextpattern||{},d=l()(Object(v.b)().reduce(function(e,t){var n=p()(t,"transforms.from",[]),r=n.filter(function(e){return"pattern"===e.type});return[].concat(o()(e),o()(r))},[]),"trigger"),b=d.enter,m=d.undefined,y=f.inline||[{delimiter:"`",format:"code"}],O=void 0;e.on("selectionchange",function(){O=null}),e.on("keydown",function(o){var i=o.keyCode;(O&&i===w||"space"===O&&i===E)&&(e.undoManager.undo(),o.preventDefault(),o.stopImmediatePropagation()),c.metaKeyPressed(o)||(i===x?r():i===k?_(function(){return n(m)}):i>47&&!(i>=91&&i<=93)&&_(t))},!0)}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),o(e,t<0?0:t,r)):[]}var o=n(146),i=n(75);e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=["Focus","Blur","FocusIn","FocusOut","Click","DblClick","MouseDown","MouseUp","MouseMove","MouseOver","BeforePaste","Paste","Cut","Copy","SelectionChange","MouseOut","MouseEnter","MouseLeave","Wheel","KeyDown","KeyPress","KeyUp","Input","ContextMenu","DragStart","DragEnd","DragOver","DragGesture","DragDrop","Drop","Drag","Submit","CompositionStart","CompositionEnd","CompositionUpdate","TouchStart","TouchMove","TouchEnd"]},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),f=n(8),p=n.n(f),d=n(25),h=n.n(d),b=n(2),g=(n.n(b),function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(e),e.calculateSize=e.calculateSize.bind(e),e}return p()(t,e),l()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=h.a)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e=this.container.clientWidth,t=this.image.width>e,n=this.image.height/this.image.width,r=t?e:this.image.width,o=t?e*n:this.image.height;this.setState({width:r,height:o})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return wp.element.createElement("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(b.Component));t.a=g},function(e,t,n){"use strict";var r=n(216),o=n.n(r),i=n(450),a=n.n(i),s=n(120),l=n.n(s),c=n(0),u=(n.n(c),n(43)),f=(n.n(u),n(691)),p=(n.n(f),n(692)),d=(n.n(p),n(35)),h=n(693);Object(d.r)("core/gallery",{title:Object(c.__)("Gallery"),description:Object(c.__)("Image galleries are a great way to share groups of pictures on your site."),icon:"format-gallery",category:"common",keywords:[Object(c.__)("images"),Object(c.__)("photos")],attributes:{align:{type:"string",default:"none"},images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt"},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=l()(e,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(d.a)("core/gallery",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt}})}):Object(d.a)("core/gallery")}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return t?t.split(",").map(function(e){return{id:parseInt(e,10)}}):[]}},columns:{type:"number",shortcode:function(e){var t=e.named.columns,n=void 0===t?"3":t;return parseInt(n,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&a()(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e){return o.a.all(e.map(function(e){return Object(u.createMediaFromFile)(e)})).then(function(e){return Object(d.a)("core/gallery",{images:e.map(function(e){return{id:e.id,url:e.source_url}})})})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt;return Object(d.a)("core/image",{id:t,url:n,alt:r})}):Object(d.a)("core/image")}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:h.a,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Object(h.b)(t):r,i=t.align,a=t.imageCrop,s=t.linkTo;return wp.element.createElement("div",{className:"align"+i+" columns-"+o+" "+(a?"is-cropped":"")},n.map(function(e){var t=void 0;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}var n=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id});return wp.element.createElement("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?wp.element.createElement("a",{href:t},n):n)}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return Math.min(3,e.images.length)}t.b=r;var o=n(10),i=n.n(o),a=n(38),s=n.n(a),l=n(4),c=n.n(l),u=n(5),f=n.n(u),p=n(6),d=n.n(p),h=n(7),b=n.n(h),g=n(8),m=n.n(g),v=n(120),y=n.n(v),_=n(2),w=(n.n(_),n(0)),x=(n.n(w),n(43)),k=(n.n(x),n(1)),E=(n.n(k),n(309)),O=n(138),C=n(302),S=n(215),j=n(379),T=n(76),A=n(126),P=n(694),R=[{value:"attachment",label:Object(w.__)("Attachment Page")},{value:"media",label:Object(w.__)("Media File")},{value:"none",label:Object(w.__)("None")}],N=function(e){function t(){f()(this,t);var e=b()(this,(t.__proto__||c()(t)).apply(this,arguments));return e.onSelectImage=e.onSelectImage.bind(e),e.onSelectImages=e.onSelectImages.bind(e),e.setLinkTo=e.setLinkTo.bind(e),e.setColumnsNumber=e.setColumnsNumber.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.toggleImageCrop=e.toggleImageCrop.bind(e),e.uploadFromFiles=e.uploadFromFiles.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.setImageAttributes=e.setImageAttributes.bind(e),e.dropFiles=e.dropFiles.bind(e),e.state={selectedImage:null},e}return m()(t,e),d()(t,[{key:"onSelectImage",value:function(e){var t=this;return function(){t.setState(function(t){return{selectedImage:e===t.selectedImage?null:e}})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=y()(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.props.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e})}},{key:"setLinkTo",value:function(e){this.props.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.props.setAttributes({columns:e})}},{key:"updateAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"toggleImageCrop",value:function(){this.props.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"uploadFromFiles",value:function(e){var t=this;Object(x.mediaUpload)(e.target.files,function(e){t.props.setAttributes({images:e})})}},{key:"setImageAttributes",value:function(e,t){var n=this.props,r=n.attributes.images;(0,n.setAttributes)({images:[].concat(s()(r.slice(0,e)),[i()({},r[e],t)],s()(r.slice(e+1)))})}},{key:"dropFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.setAttributes;Object(x.mediaUpload)(e,function(e){n({images:t.concat(e)})})}},{key:"componentWillReceiveProps",value:function(e){!e.focus&&this.props.focus&&this.setState({selectedImage:null})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.focus,i=t.className,a=n.images,s=n.columns,l=void 0===s?r(n):s,c=n.align,u=n.imageCrop,f=n.linkTo,p=wp.element.createElement(k.DropZone,{onFilesDrop:this.dropFiles}),d=Object(w.__)("Edit Gallery"),h=o&&wp.element.createElement(T.a,{key:"controls"},wp.element.createElement(A.a,{value:c,onChange:this.updateAlignment}),!!a.length&&wp.element.createElement(k.Toolbar,null,wp.element.createElement(E.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":d},onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0,value:a.map(function(e){return e.id}),tooltip:d},wp.element.createElement(k.Dashicon,{icon:"edit"}))));if(0===a.length){var b={isLarge:!0};return[h,wp.element.createElement(k.Placeholder,{key:"placeholder",instructions:Object(w.__)("Drag images here or add from media library"),icon:"format-gallery",label:Object(w.__)("Gallery"),className:i},p,wp.element.createElement(k.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:this.uploadFromFiles,accept:"image/*",multiple:"true"},Object(w.__)("Upload")),wp.element.createElement(E.a,{buttonProps:b,onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0},Object(w.__)("Add from Media Library")))]}return[h,o&&wp.element.createElement(O.a,{key:"inspector"},wp.element.createElement("h2",null,Object(w.__)("Gallery Settings")),a.length>1&&wp.element.createElement(C.a,{label:Object(w.__)("Columns"),value:l,onChange:this.setColumnsNumber,min:1,max:Math.min(8,a.length)}),wp.element.createElement(S.a,{label:Object(w.__)("Crop Images"),checked:!!u,onChange:this.toggleImageCrop}),wp.element.createElement(j.a,{label:Object(w.__)("Link to"),value:f,onChange:this.setLinkTo,options:R})),wp.element.createElement("div",{key:"gallery",className:i+" align"+c+" columns-"+l+" "+(u?"is-cropped":"")},p,a.map(function(t,n){return wp.element.createElement(P.a,{key:t.id||t.url,url:t.url,alt:t.alt,id:t.id,isSelected:e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onClick:e.onSelectImage(n),setAttributes:function(t){return e.setImageAttributes(n,t)}})}))]}}]),t}(_.Component);t.a=N},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),f=n(8),p=n.n(f),d=n(19),h=n.n(d),b=n(2),g=(n.n(b),n(1)),m=(n.n(g),n(0)),v=(n.n(m),function(e){function t(){return a()(this,t),u()(this,(t.__proto__||o()(t)).apply(this,arguments))}return p()(t,e),l()(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.image;t&&t.data&&!this.props.url&&this.props.setAttributes({url:t.data.source_url,alt:t.data.alt_text})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.alt,r=e.id,o=e.linkTo,i=e.link,a=e.isSelected,s=e.onClick,l=e.onRemove,c=void 0;switch(o){case"media":c=t;break;case"attachment":c=i}var u=t?wp.element.createElement("img",{src:t,alt:n,"data-id":r}):wp.element.createElement(g.Spinner,null),f=h()("blocks-gallery-image",{"is-selected":a});return wp.element.createElement("figure",{className:f,onClick:s},a&&wp.element.createElement("div",{className:"blocks-gallery-image__inline-menu"},wp.element.createElement(g.IconButton,{icon:"no-alt",onClick:l,className:"blocks-gallery-image__remove",label:Object(m.__)("Remove Image")})),c?wp.element.createElement("a",{href:c},u):u)}}]),t}(b.Component));t.a=Object(g.withAPIData)(function(e){var t=e.id;return{image:t?"/wp/v2/media/"+t:{}}})(v)},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),n(1)),a=(n.n(i),n(696)),s=(n.n(a),n(35)),l=n(96),c=n(76),u=n(138),f=n(456);Object(s.r)("core/heading",{title:Object(r.__)("Heading"),description:Object(r.__)("Search engines use the headings to index the structure and content of your web pages."),icon:"heading",category:"common",keywords:[Object(r.__)("title"),Object(r.__)("subtitle")],supports:{className:!1,anchor:!0},attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"},align:{type:"string"},placeholder:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.a)("core/heading",{content:t})}},{type:"raw",isMatch:function(e){return/H\d/.test(e.nodeName)}},{type:"pattern",regExp:/^(#{2,6})\s/,transform:function(e){var t=e.content,n=e.match,r=n[1].length;return Object(s.a)("core/heading",{nodeName:"H"+r,content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.a)("core/paragraph",{content:t})}}]},merge:function(e,t){return{content:Object(o.concatChildren)(e.content,t.content)}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,a=e.setFocus,p=e.mergeBlocks,d=e.insertBlocksAfter,h=e.onReplace,b=t.align,g=t.content,m=t.nodeName,v=t.placeholder;return[o&&wp.element.createElement(c.a,{key:"controls",controls:"234".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===m,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),o&&wp.element.createElement(u.a,{key:"inspector"},wp.element.createElement("h3",null,Object(r.__)("Heading Settings")),wp.element.createElement("p",null,Object(r.__)("Size")),wp.element.createElement(i.Toolbar,{controls:"123456".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===m,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),wp.element.createElement("p",null,Object(r.__)("Text Alignment")),wp.element.createElement(f.a,{value:b,onChange:function(e){n({align:e})}})),wp.element.createElement(l.a,{key:"editable",wrapperClassName:"wp-block-heading",tagName:m.toLowerCase(),value:g,focus:o,onFocus:a,onChange:function(e){return n({content:e})},onMerge:p,onSplit:d?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),d([].concat(o,[Object(s.a)("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return h([])},style:{textAlign:b},placeholder:v||Object(r.__)("Write heading…")})]},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content,i=r.toLowerCase();return wp.element.createElement(i,{style:{textAlign:n}},o)}})},function(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(40),a=n.n(i),s=n(31),l=n.n(s),c=n(106),u=n.n(c),f=n(19),p=n.n(f),d=n(0),h=(n.n(d),n(1)),b=(n.n(h),n(698)),g=(n.n(b),n(699)),m=(n.n(g),n(35)),v=n(456),y=n(76),_=n(96),w=function(e){return e.map(function(e){return e.children})},x=function(e){return e.map(function(e){return{children:e}})},k={value:{type:"array",source:"query",selector:"blockquote > p",query:{children:{source:"node"}},default:[]},citation:{type:"array",source:"children",selector:"cite"},align:{type:"string"},style:{type:"number",default:1}};Object(m.r)("core/quote",{title:Object(d.__)("Quote"),description:Object(d.__)("Quote. In quoting others, we cite ourselves. (Julio Cortázar)"),icon:"format-quote",category:"common",attributes:k,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"pattern",regExp:/^>\s/,transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"raw",isMatch:function(e){return"BLOCKQUOTE"===e.nodeName}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map(function(e){return Object(m.a)("core/paragraph",{content:[l()(e,"children.props.children","")]})}).concat(n?Object(m.a)("core/paragraph",{content:n}):[]):Object(m.a)("core/paragraph")}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=a()(e,["value","citation"]),i=t[0];if(!i)return Object(m.a)("core/heading",{content:n});var s=u()(i.children)?i.children:i.children.props.children;if(Array.isArray(t)||n){return[Object(m.a)("core/heading",{content:s}),Object(m.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):[]}))]}return Object(m.a)("core/heading",{content:s})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.mergeBlocks,s=e.onReplace,l=e.className,c=t.align,u=t.value,f=t.citation,b=t.style,g=r?r.editable||"value":null,m=p()(l,2===b?"is-large":"");return[r&&wp.element.createElement(y.a,{key:"controls"},wp.element.createElement(h.Toolbar,{controls:[1,2].map(function(e){return{icon:1===e?"format-quote":"testimonial",title:Object(d.sprintf)(Object(d.__)("Quote style %d"),e),isActive:Number(b)===e,onClick:function(){n({style:e})}}})}),wp.element.createElement(v.a,{value:c,onChange:function(e){n({align:e})}})),wp.element.createElement("blockquote",{key:"quote",className:m,style:{textAlign:c}},wp.element.createElement(_.a,{multiline:"p",value:w(u),onChange:function(e){return n({value:x(e)})},focus:"value"===g?r:null,onFocus:function(e){return i(o()({},e,{editable:"value"}))},onMerge:a,onRemove:function(e){var t=!f||0===f.length;!e&&t&&s([])},placeholder:Object(d.__)("Write quote…")}),(f&&f.length>0||!!r)&&wp.element.createElement(_.a,{tagName:"cite",value:f,onChange:function(e){return n({citation:e})},focus:"citation"===g?r:null,onFocus:function(e){return i(o()({},e,{editable:"citation"}))},onRemove:function(e){e||i(o()({},r,{editable:"value"}))},placeholder:Object(d.__)("Write citation…")}))]},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,i=t.style;return wp.element.createElement("blockquote",{className:2===i?"is-large":"",style:{textAlign:n||null}},r.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),o&&o.length>0&&wp.element.createElement("cite",null,o))},deprecated:[{attributes:o()({},k,{citation:{type:"array",source:"children",selector:"footer"}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,i=t.style;return wp.element.createElement("blockquote",{className:"blocks-quote-style-"+i,style:{textAlign:n||null}},r.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),o&&o.length>0&&wp.element.createElement("footer",null,o))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.title,n=e.icon,r=e.category,o=void 0===r?"embed":r,a=e.transforms,l=e.keywords,u=void 0===l?[]:l;return{title:t,description:Object(m.__)("The Embed block allows you to easily add videos, images, tweets, audio, and other content to your post or page."),icon:n,category:o,keywords:u,attributes:{url:{type:"string"},caption:{type:"array",source:"children",selector:"figcaption",default:[]},align:{type:"string"}},transforms:a,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function r(){s()(this,r);var e=f()(this,(r.__proto__||i()(r)).apply(this,arguments));return e.doServerSideRender=e.doServerSideRender.bind(e),e.state={html:"",type:"",error:!1,fetching:!1},e}return d()(r,e),c()(r,[{key:"componentWillMount",value:function(){this.props.attributes.url&&(this.setState({fetching:!0}),this.doServerSideRender())}},{key:"componentWillUnmount",value:function(){this.unmounting=!0}},{key:"getPhotoHtml",value:function(e){var t=wp.element.createElement("p",null,wp.element.createElement("img",{src:e.thumbnail_url,alt:e.title,width:"100%"}));return Object(v.renderToString)(t)}},{key:"doServerSideRender",value:function(e){var t=this;e&&e.preventDefault();var n=this.props.attributes.url,r=Object(_.a)(wpApiSettings.root+"oembed/1.0/proxy",{url:n,_wpnonce:wpApiSettings.nonce});this.setState({error:!1,fetching:!0}),window.fetch(r,{credentials:"include"}).then(function(e){t.unmounting||e.json().then(function(e){var n=e.html,r=e.type;n?t.setState({html:n,type:r}):"photo"===r?t.setState({html:t.getPhotoHtml(e),type:r}):t.setState({error:!0}),t.setState({fetching:!1})})})}},{key:"render",value:function(){var e=this.state,r=e.html,o=e.type,i=e.error,a=e.fetching,s=this.props.attributes,l=s.align,c=s.url,u=s.caption,f=this.props,p=f.setAttributes,d=f.focus,h=f.setFocus,v=function(e){return p({align:e})},_=d&&wp.element.createElement(O.a,{key:"controls"},wp.element.createElement(C.a,{value:l,onChange:v}));if(a)return[_,wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(y.Spinner,null),wp.element.createElement("p",null,Object(m.__)("Embedding…")))];if(!r){var w=Object(m.sprintf)(Object(m.__)("%s URL"),t);return[_,wp.element.createElement(y.Placeholder,{key:"placeholder",icon:n,label:w,className:"wp-block-embed"},wp.element.createElement("form",{onSubmit:this.doServerSideRender},wp.element.createElement("input",{type:"url",value:c||"",className:"components-placeholder__input","aria-label":w,placeholder:Object(m.__)("Enter URL to embed here…"),onChange:function(e){return p({url:e.target.value})}}),wp.element.createElement(y.Button,{isLarge:!0,type:"submit"},Object(m.__)("Embed")),i&&wp.element.createElement("p",{className:"components-placeholder__error"},Object(m.__)("Sorry, we could not embed that content."))))]}var x=Object(g.parse)(c),k=b()(S,x.host.replace(/^www\./,"")),j=Object(m.sprintf)(Object(m.__)("Embedded content from %s"),x.host),T="wp-block-embed";return"video"===o&&(T+=" is-video"),[_,wp.element.createElement("figure",{key:"embed",className:T},k?wp.element.createElement(y.Placeholder,{icon:n,label:Object(m.__)("Embed URL")},wp.element.createElement("p",{className:"components-placeholder__error"},wp.element.createElement("a",{href:c},c)),wp.element.createElement("p",{className:"components-placeholder__error"},Object(m.__)("Previews for this are unavailable in the editor, sorry!"))):wp.element.createElement("div",{className:"wp-block-embed__wrapper"},wp.element.createElement(y.SandBox,{html:r,title:j,type:o,onFocus:function(){return h()}})),u&&u.length>0||d?wp.element.createElement(E.a,{tagName:"figcaption",placeholder:Object(m.__)("Write caption…"),value:u,focus:d,onFocus:h,onChange:function(e){return p({caption:e})},inlineToolbar:!0}):null)]}}]),r}(v.Component),save:function(e){var t=e.attributes,n=t.url,r=t.caption,o=t.align;if(n)return wp.element.createElement("figure",{className:o?"align"+o:null},"\n"+n+"\n",r&&r.length>0&&wp.element.createElement("figcaption",null,r))}}}var o=n(4),i=n.n(o),a=n(5),s=n.n(a),l=n(6),c=n.n(l),u=n(7),f=n.n(u),p=n(8),d=n.n(p),h=n(121),b=n.n(h),g=n(455),m=(n.n(g),n(0)),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(338)),w=n(701),x=(n.n(w),n(702)),k=(n.n(x),n(35)),E=n(96),O=n(76),C=n(126),S=["facebook.com"];Object(k.r)("core/embed",r({title:Object(m.__)("Embed"),icon:"embed-generic",transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*/i.test(e.textContent)},transform:function(e){return Object(k.a)("core/embed",{url:e.textContent.trim()})}}]}})),Object(k.r)("core-embed/twitter",r({title:"Twitter",icon:"embed-post",keywords:[Object(m.__)("tweet")]})),Object(k.r)("core-embed/youtube",r({title:"YouTube",icon:"embed-video",keywords:[Object(m.__)("music"),Object(m.__)("video")]})),Object(k.r)("core-embed/facebook",r({title:"Facebook",icon:"embed-post"})),Object(k.r)("core-embed/instagram",r({title:"Instagram",icon:"embed-photo",keywords:[Object(m.__)("image")]})),Object(k.r)("core-embed/wordpress",r({title:"WordPress",icon:"embed-post",keywords:[Object(m.__)("post"),Object(m.__)("blog")]})),Object(k.r)("core-embed/soundcloud",r({title:"SoundCloud",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.r)("core-embed/spotify",r({title:"Spotify",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.r)("core-embed/flickr",r({title:"Flickr",icon:"embed-photo",keywords:[Object(m.__)("image")]})),Object(k.r)("core-embed/vimeo",r({title:"Vimeo",icon:"embed-video",keywords:[Object(m.__)("video")]})),Object(k.r)("core-embed/animoto",r({title:"Animoto",icon:"embed-video"})),Object(k.r)("core-embed/cloudup",r({title:"Cloudup",icon:"embed-post"})),Object(k.r)("core-embed/collegehumor",r({title:"CollegeHumor",icon:"embed-video"})),Object(k.r)("core-embed/dailymotion",r({title:"Dailymotion",icon:"embed-video"})),Object(k.r)("core-embed/funnyordie",r({title:"Funny or Die",icon:"embed-video"})),Object(k.r)("core-embed/hulu",r({title:"Hulu",icon:"embed-video"})),Object(k.r)("core-embed/imgur",r({title:"Imgur",icon:"embed-photo"})),Object(k.r)("core-embed/issuu",r({title:"Issuu",icon:"embed-post"})),Object(k.r)("core-embed/kickstarter",r({title:"Kickstarter",icon:"embed-post"})),Object(k.r)("core-embed/meetup-com",r({title:"Meetup.com",icon:"embed-post"})),Object(k.r)("core-embed/mixcloud",r({title:"Mixcloud",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.r)("core-embed/photobucket",r({title:"Photobucket",icon:"embed-photo"})),Object(k.r)("core-embed/polldaddy",r({title:"Polldaddy",icon:"embed-post"})),Object(k.r)("core-embed/reddit",r({title:"Reddit",icon:"embed-post"})),Object(k.r)("core-embed/reverbnation",r({title:"ReverbNation",icon:"embed-audio"})),Object(k.r)("core-embed/screencast",r({title:"Screencast",icon:"embed-video"})),Object(k.r)("core-embed/scribd",r({title:"Scribd",icon:"embed-post"})),Object(k.r)("core-embed/slideshare",r({title:"Slideshare",icon:"embed-post"})),Object(k.r)("core-embed/smugmug",r({title:"SmugMug",icon:"embed-photo"})),Object(k.r)("core-embed/speaker",r({title:"Speaker",icon:"embed-audio"})),Object(k.r)("core-embed/ted",r({title:"TED",icon:"embed-video"})),Object(k.r)("core-embed/tumblr",r({title:"Tumblr",icon:"embed-post"})),Object(k.r)("core-embed/videopress",r({title:"VideoPress",icon:"embed-video",keywords:[Object(m.__)("video")]})),Object(k.r)("core-embed/vine",r({title:"Vine",icon:"embed-video"})),Object(k.r)("core-embed/wordpress-tv",r({title:"WordPress.tv",icon:"embed-video"}))},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),f=n(8),p=n.n(f),d=n(38),h=n.n(d),b=n(10),g=n.n(b),m=n(214),v=n.n(m),y=n(124),_=n.n(y),w=n(704),x=n.n(w),k=n(31),E=n.n(k),O=n(213),C=n.n(O),S=n(66),j=n.n(S),T=n(2),A=(n.n(T),n(0)),P=(n.n(A),n(705)),R=(n.n(P),n(35)),N=n(96),L=n(76),M=function(e){if(void 0===e)return e;var t=[];return t.push(Object(T.createElement)("li",[],[])),e.forEach(function(e,n,r){"br"===e.type&&n<r.length-1?t.push(Object(T.createElement)("li",[],[])):t[t.length-1].props.children.push(e)}),t};Object(R.r)("core/list",{title:Object(A.__)("List"),description:Object(A.__)("List. Numbered or bulleted."),icon:"editor-ul",category:"common",keywords:[Object(A.__)("bullet list"),Object(A.__)("ordered list"),Object(A.__)("numbered list")],attributes:{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"},values:{type:"array",source:"children",selector:"ol,ul",default:[]}},supports:{className:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){var t=e.map(function(e){return e.content}),n=!t.every(v.a);return Object(R.a)("core/list",{nodeName:"UL",values:n?t.map(function(e,t){return wp.element.createElement("li",{key:t},e)}):[]})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation,r=t.map(function(e){return E()(e,"children.props.children")});v()(n)||r.push(n);var o=!r.every(v.a);return Object(R.a)("core/list",{nodeName:"UL",values:o?r.map(function(e,t){return wp.element.createElement("li",{key:t},e)}):[]})}},{type:"raw",isMatch:function(e){return"OL"===e.nodeName||"UL"===e.nodeName}},{type:"pattern",regExp:/^[*-]\s/,transform:function(e){var t=e.content;return Object(R.a)("core/list",{nodeName:"UL",values:M(t)})}},{type:"pattern",regExp:/^1[.)]\s/,transform:function(e){var t=e.content;return Object(R.a)("core/list",{nodeName:"OL",values:M(t)})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return C()(t.map(function(e){return E()(e,"props.children",null)})).map(function(e){return Object(R.a)("core/paragraph",{content:[e]})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(R.a)("core/quote",{value:C()((1===t.length?t:x()(t)).map(function(e){return E()(e,"props.children",null)})).map(function(e){return{children:wp.element.createElement("p",null,e)}}),citation:1===t.length?void 0:[E()(_()(t),"props.children")]})}}]},merge:function(e,t){var n=t.values||[];return t.content&&n.push(t.content),g()({},e,{values:[].concat(h()(e.values),h()(n))})},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.setupEditor=e.setupEditor.bind(e),e.getEditorSettings=e.getEditorSettings.bind(e),e.setNextValues=e.setNextValues.bind(e),e.state={internalListType:null},e}return p()(t,e),l()(t,[{key:"isListActive",value:function(e){var t=this.state.internalListType,n=this.props.attributes.nodeName;return e===(t||n)}},{key:"findInternalListType",value:function(e){var t=e.parents,n=j()(t,function(e){return"UL"===e.nodeName||"OL"===e.nodeName});return n?n.nodeName:null}},{key:"setupEditor",value:function(e){var t=this;e.on("nodeChange",function(e){t.setState({internalListType:t.findInternalListType(e)})}),/^(?:fr|nl|sv|ru|de|es|it)/.test(window.navigator.browserLanguage||window.navigator.language)?(e.shortcuts.add("meta+shift+m","Decrease indent","Outdent"),e.shortcuts.add("meta+m","Increase indent","Indent")):(e.shortcuts.add("meta+219","Decrease indent","Outdent"),e.shortcuts.add("meta+221","Increase indent","Indent")),this.editor=e}},{key:"createSetListType",value:function(e,t){var n=this;return function(){var r=n.props.setAttributes,o=n.state.internalListType;o?o!==e&&n.editor&&n.editor.execCommand(t):r({nodeName:e})}}},{key:"createExecCommand",value:function(e){var t=this;return function(){t.editor&&t.editor.execCommand(e)}}},{key:"getEditorSettings",value:function(e){return g()({},e,{plugins:(e.plugins||[]).concat("lists"),lists_indent_on_tab:!1})}},{key:"setNextValues",value:function(e){this.props.setAttributes({values:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.focus,r=e.setFocus,o=e.insertBlocksAfter,i=e.setAttributes,a=e.mergeBlocks,s=e.onReplace,l=t.nodeName,c=t.values;return[n&&wp.element.createElement(L.a,{key:"controls",controls:[{icon:"editor-ul",title:Object(A.__)("Convert to unordered list"),isActive:this.isListActive("UL"),onClick:this.createSetListType("UL","InsertUnorderedList")},{icon:"editor-ol",title:Object(A.__)("Convert to ordered list"),isActive:this.isListActive("OL"),onClick:this.createSetListType("OL","InsertOrderedList")},{icon:"editor-outdent",title:Object(A.__)("Outdent list item"),onClick:this.createExecCommand("Outdent")},{icon:"editor-indent",title:Object(A.__)("Indent list item"),onClick:this.createExecCommand("Indent")}]}),wp.element.createElement(N.a,{multiline:"li",key:"editable",tagName:l.toLowerCase(),getSettings:this.getEditorSettings,onSetup:this.setupEditor,onChange:this.setNextValues,value:c,focus:n,onFocus:r,wrapperClassName:"blocks-list",placeholder:Object(A.__)("Write list…"),onMerge:a,onSplit:o?function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];r.length||r.push(Object(R.a)("core/paragraph")),t.length&&r.push(Object(R.a)("core/list",{nodeName:l,values:t})),i({values:e}),o(r)}:void 0,onRemove:function(){return s([])}})]}}]),t}(T.Component),save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(T.createElement)(n.toLowerCase(),null,r)}})},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,0,-1):[]}var o=n(146);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(707)),i=(n.n(o),n(35));Object(i.r)("core/separator",{title:Object(r.__)("Separator"),description:Object(r.__)("Use the separator to indicate a thematic change in the content."),icon:"minus",category:"layout",keywords:[Object(r.__)("horizontal-line"),"hr",Object(r.__)("divider")],transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^-{3,}$/,transform:function(){return Object(i.a)("core/separator")}},{type:"raw",isMatch:function(e){return"HR"===e.nodeName}}]},edit:function(e){var t=e.className;return wp.element.createElement("hr",{className:t})},save:function(){return wp.element.createElement("hr",null)}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(709)),i=(n.n(o),n(35)),a=n(138),s=n(215);Object(i.r)("core/more",{title:Object(r.__)("More"),description:Object(r.__)('"More" allows you to break your post into a part shown on index pages, and the subsequent after clicking a "Read More" link.'),icon:"editor-insertmore",category:"layout",useOnce:!0,supports:{customClassName:!1,className:!1,html:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,l=t.customText,c=t.noTeaser,u=function(){return n({noTeaser:!c})},f=Object(r.__)("Read more"),p=void 0!==l?l:f,d=p.length?p.length+1:1;return[o&&wp.element.createElement(a.a,{key:"inspector"},wp.element.createElement(s.a,{label:Object(r.__)('Hide the teaser before the "More" tag'),checked:!!c,onChange:u})),wp.element.createElement("div",{key:"more-tag",className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:p,size:d,onChange:function(e){return n({customText:e.target.value})},onFocus:i}))]},save:function(){return null}})},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),c=n(7),u=n.n(c),f=n(8),p=n.n(f),d=n(0),h=(n.n(d),n(2)),b=(n.n(h),n(1)),g=(n.n(b),n(711)),m=(n.n(g),n(712)),v=(n.n(m),n(35)),y=n(96),_=n(453),w=n(76),x=n(215),k=n(126),E=n(509),O=n(567),C=n(138),S=window,j=S.getComputedStyle,T=Object(b.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=!n&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:r||!e?void 0:j(e).backgroundColor,fallbackTextColor:n||!o?void 0:j(o).color}})(O.a),A=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.nodeRef=null,e.bindRef=e.bindRef.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.toggleClear=e.toggleClear.bind(e),e}return p()(t,e),l()(t,[{key:"updateAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"toggleClear",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({clear:!t.clear})}},{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.focus,o=e.setFocus,i=e.className,a=t.text,s=t.url,l=t.title,c=t.align,u=t.color,f=t.textColor,p=t.clear;return[r&&wp.element.createElement(w.a,{key:"controls"},wp.element.createElement(k.a,{value:c,onChange:this.updateAlignment})),wp.element.createElement("span",{key:"button",className:i,title:l,ref:this.bindRef},wp.element.createElement(y.a,{tagName:"span",placeholder:Object(d.__)("Add text…"),value:a,focus:r,onFocus:o,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"wp-block-button__link",style:{backgroundColor:u,color:f},keepPlaceholderOnFocus:!0}),r&&wp.element.createElement(C.a,{key:"inspector"},wp.element.createElement(x.a,{label:Object(d.__)("Wrap text"),checked:!!p,onChange:this.toggleClear}),wp.element.createElement(b.PanelColor,{title:Object(d.__)("Background Color"),colorValue:u},wp.element.createElement(E.a,{value:u,onChange:function(e){return n({color:e})}})),wp.element.createElement(b.PanelColor,{title:Object(d.__)("Text Color"),colorValue:f},wp.element.createElement(E.a,{value:f,onChange:function(e){return n({textColor:e})}})),this.nodeRef&&wp.element.createElement(T,{node:this.nodeRef,textColor:f,backgroundColor:u,isLargeText:!0}))),r&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(b.Dashicon,{icon:"admin-links"}),wp.element.createElement(_.a,{value:s,onChange:function(e){return n({url:e})}}),wp.element.createElement(b.IconButton,{icon:"editor-break",label:Object(d.__)("Apply"),type:"submit"}))]}}]),t}(h.Component),P={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"none"},color:{type:"string"},textColor:{type:"string"}};Object(v.r)("core/button",{title:Object(d.__)("Button"),description:Object(d.__)("A nice little button. Call something out with it."),icon:"button",category:"layout",attributes:P,getEditWrapperProps:function(e){var t=e.align,n=e.clear,r={};return"left"!==t&&"right"!==t&&"center"!==t||(r["data-align"]=t),n&&(r["data-clear"]="true"),r},edit:A,save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,i=t.align,a=t.color,s=t.textColor,l={backgroundColor:a,color:s};return wp.element.createElement("div",{className:"align"+i},wp.element.createElement("a",{className:"wp-block-button__link",href:n,title:o,style:l},r))},deprecated:[{attributes:P,save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,i=t.align,a=t.color,s=t.textColor;return wp.element.createElement("div",{className:"align"+i,style:{backgroundColor:a}},wp.element.createElement("a",{href:n,title:o,style:{color:s}},r))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var o=n(714);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n(734);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(i).default}});var a=n(736);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(a).default}});var s=n(738);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(s).default}});var l=n(742);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(l).default}});var c=n(750);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(c).default}});var u=n(752);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(u).default}});var f=n(754);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(f).default}});var p=n(755);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(p).default}});var d=n(761);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(d).default}});var h=n(764);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(h).default}});var b=n(768);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(b).default}});var g=n(771);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(g).default}});var m=n(565);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(m).default}});var v=r(s);t.default=v.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(22),l=r(s),c=n(52),u=n(733),f=r(u),p=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,r=e.width,i=e.height,s=e.onChange,u=e.direction,f=e.style,p=e.renderers,d=e.pointer,h=(0,l.default)({default:{picker:{position:"relative",width:r,height:i},alpha:{radius:"2px",style:f}}});return a.default.createElement("div",{style:h.picker,className:"alpha-picker"},a.default.createElement(c.Alpha,o({},h.alpha,{rgb:t,hsl:n,pointer:d,renderers:p,onChange:s,direction:u})))};p.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:f.default},t.default=(0,c.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var o=n(106),i=r(o),a=n(510),s=r(a),l=n(297),c=r(l),u=n(62),f=r(u),p=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,f.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,c.default)(t)?(0,s.default)(t,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,i.default)(t)&&n.push(t)}),n};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var o=n(510),i=r(o),a=n(717),s=r(a),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,s.default)(e.default)||{};return t.map(function(t){var r=e[t];return r&&(0,i.default)(r,function(e,t){n[t]||(n[t]={}),n[t]=l({},n[t],r[t])}),t}),n};t.default=c},function(e,t,n){function r(e){return o(e,i|a)}var o=n(296),i=1,a=4;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r=n(510),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},s=t.autoprefix=function(e){var t={};return(0,o.default)(e,function(e,n){var r={};(0,o.default)(e,function(e,t){var n=a[t];n?r=i({},r,n(e)):r[t]=e}),t[n]=r}),t};t.default=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(p))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return l.default.createElement(t,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)};t.default=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(p))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return l.default.createElement(t,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(22),p=r(f),d=n(723),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d),b=n(564),g=r(b),m=t.Alpha=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.handleChange=function(e,t){var n=h.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,p.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden"},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:s({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return u.default.createElement("div",{style:n.alpha},u.default.createElement("div",{style:n.checkboard},u.default.createElement(g.default,{renderers:this.props.renderers})),u.default.createElement("div",{style:n.gradient}),u.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},u.default.createElement("div",{style:n.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.default.createElement("div",{style:n.slider}))))}}]),t}(c.PureComponent||c.Component);t.default=m},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(u=c<0?0:c>i?1:Math.round(100*c/i)/100,n.hsl.a!==u)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:u,source:"rgb"}}else{var f=void 0;if(f=l<0?0:l>o?1:Math.round(100*l/o)/100,n.a!==f)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:f,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){"use strict";function r(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}function o(e,t,n,o){var a=e+"-"+t+"-"+n+(o?"-server":""),s=r(e,t,n,o);return i[a]?i[a]:(i[a]=s,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.render=r,t.get=o;var i={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(22),p=r(f),d=t.EditableInput=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,e.target.value),e):n.props.onChange&&n.props.onChange(e.target.value,e),n.setState({value:e.target.value})},n.handleKeyDown=function(e){var t=String(e.target.value),r=t.indexOf("%")>-1,i=Number(t.replace(/%/g,""));if(!isNaN(i)){var a=n.props.arrowOffset||1;38===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,i+a),e):n.props.onChange&&n.props.onChange(i+a,e),r?n.setState({value:i+a+"%"}):n.setState({value:i+a})),40===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,i-a),e):n.props.onChange&&n.props.onChange(i-a,e),r?n.setState({value:i-a+"%"}):n.setState({value:i-a}))}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(o({},n.props.label,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n}return s(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=(0,p.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return u.default.createElement("div",{style:t.wrap},u.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label?u.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(c.PureComponent||c.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(22),f=r(u),p=n(727),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),h=t.Hue=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.handleChange=function(e,t){var n=d.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,f.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%"},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return c.default.createElement("div",{style:r.hue},c.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),c.default.createElement("div",{style:r.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:r.slider}))))}}]),t}(l.PureComponent||l.Component);t.default=h},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(c<0)u=359;else if(c>i)u=0;else{var f=-100*c/i+100;u=360*f/100}if(n.hsl.h!==u)return{h:u,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var p=void 0;if(l<0)p=0;else if(l>o)p=359;else{var d=100*l/o;p=360*d/100}if(n.hsl.h!==p)return{h:p,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.
|