Gutenberg - Version 2.7.0

Version Description

Download this release

Release Info

Developer mcsf
Plugin Icon 128x128 Gutenberg
Version 2.7.0
Comparing to
See all releases

Code changes from version 2.6.0 to 2.7.0

blocks/build/edit-blocks-rtl.css CHANGED
@@ -1 +1 @@
1
- .wp-block-freeform.blocks-rich-text__tinymce{overflow:hidden;margin:-4px;padding:4px}.wp-block-freeform.blocks-rich-text__tinymce li,.wp-block-freeform.blocks-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.blocks-rich-text__tinymce ol,.wp-block-freeform.blocks-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.blocks-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.blocks-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.blocks-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.blocks-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.blocks-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.blocks-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.blocks-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.blocks-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.blocks-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.blocks-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.blocks-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.blocks-rich-text__tinymce a{color:#007fac}.wp-block-freeform.blocks-rich-text__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-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.blocks-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.blocks-rich-text__tinymce .alignright{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.blocks-rich-text__tinymce .alignleft{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.blocks-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.blocks-rich-text__tinymce .wp-more-tag{width:96%;height:0;display:block;margin:15px auto;outline:0;cursor:default;border:2px dashed #bababa}.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;min-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}.blocks-font-size__main{display:flex;justify-content:space-between}.blocks-paragraph__custom-size-slider .components-range-control__slider+.dashicon{width:30px;height:30px}.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:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-quote{margin:0}.wp-block-quote cite{display:block}.wp-block-quote:not(.is-large){border-right:4px solid #000;padding-right:1em}.gutenberg .wp-block-gallery:not(.components-placeholder){margin-right:-8px;margin-left:-8px}.blocks-gallery-item .is-selected{outline:4px solid #00a0d2;outline-offset:-4px}.blocks-gallery-item.is-transient img{animation:loading_fade 1.6s ease-in-out infinite}.blocks-gallery-item .blocks-rich-text{position:absolute;width:100%}.blocks-gallery-item .blocks-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative}.blocks-gallery-item .is-selected .blocks-rich-text{width:calc(100% - 8px);right:4px;margin-top:-4px}.blocks-gallery-item .button.blocks-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .button.blocks-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .button.blocks-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .button.blocks-gallery-add-item-button:focus,.blocks-gallery-item .button.blocks-gallery-add-item-button:hover{border:1px solid #999}.blocks-gallery-item__inline-menu{padding:2px;position:absolute;top:0;left:0;background-color:#00a0d2;display:inline-flex;z-index:20}.blocks-gallery-item__inline-menu .components-button,.blocks-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .spinner{position:absolute;top:50%;right:50%;transform:translate(50%,-50%)}.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{max-width:400px}.wp-block-audio .components-placeholder__fieldset form{max-width:none}.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%;transform:translateX(50%)}.wp-block-button .blocks-link-url__suggestions{left:-35px}.wp-block-button .blocks-rich-text__tinymce{cursor:text}.blocks-button__inline-link{background:#fff;width:280px;display:flex;flex-wrap:wrap;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,.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}.gutenberg .wp-block-categories ul{padding-right:2.5em}.gutenberg .wp-block-categories ul ul{margin-top:6px}.wp-block-code .blocks-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1.6em;overflow-x:auto!important;border:1px solid #e2e4e7;border-radius:4px}.components-tab-button{display:inline-flex;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}.wp-block-columns .editor-block-list__layout:first-child{margin-right:-14px}.wp-block-columns .editor-block-list__layout:last-child{margin-left:-14px}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.editor-block-list__block[data-align=wide] .wp-block-columns .editor-block-list__layout:first-child{margin-right:0}.editor-block-list__block[data-align=wide] .wp-block-columns .editor-block-list__layout:last-child{margin-left:0}.editor-block-list__block[data-align=full] .wp-block-columns .editor-block-list__layout:first-child{margin-right:36px}.editor-block-list__block[data-align=full] .wp-block-columns .editor-block-list__layout:last-child{margin-left:36px}.wp-block-columns .editor-inserter-with-shortcuts{display:none}.wp-block-columns .editor-block-list__empty-block-inserter,.wp-block-columns .editor-default-block-appender .editor-inserter{right:auto;left:10px}.wp-block-cover-image{margin:0}.wp-block-cover-image .blocks-rich-text__tinymce[data-is-empty=true]:before{position:inherit}.wp-block-cover-image .blocks-rich-text__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-rich-text strong{font-weight:300}.wp-block-cover-image.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-rich-text__inline-toolbar{justify-content:flex-start}.wp-block-cover-image.has-right-content .block-rich-text__inline-toolbar{justify-content:flex-end}.wp-block-embed{margin:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items: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%}.wp-block-image{position:relative;margin:0}.wp-block-image img{display:block;width:100%}.wp-block-image.is-transient img{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-audio__upload-button.button,.wp-core-ui .wp-block-image__upload-button.button,.wp-core-ui .wp-block-video__upload-button.button{margin-left:5px}.wp-core-ui .wp-block-audio__upload-button.button .dashicon,.wp-core-ui .wp-block-image__upload-button.button .dashicon,.wp-core-ui .wp-block-video__upload-button.button .dashicon{vertical-align:middle;margin-bottom:3px}.wp-core-ui .wp-block-audio__upload-button.button:hover,.wp-core-ui .wp-block-image__upload-button.button:hover,.wp-core-ui .wp-block-video__upload-button.button:hover{color:#23282d}.editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image div{margin-right:auto;margin-left:auto}.gutenberg .wp-block-html iframe{display:block;pointer-events:none}.gutenberg .wp-block-html .CodeMirror{border-radius:4px;border:1px solid #e2e4e7;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;height:auto}.gutenberg .wp-block-html .CodeMirror-gutters{background:#fff;border-left:none}.gutenberg .wp-block-html .CodeMirror-lines{padding:8px 0 8px 8px}.gutenberg .wp-block-latest-posts{padding-right:2.5em}.gutenberg .wp-block-latest-posts.is-grid{padding-right:0}.blocks-list .blocks-rich-text__tinymce,.blocks-list .blocks-rich-text__tinymce ol,.blocks-list .blocks-rich-text__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;text-align:center}.gutenberg .wp-block-more input:focus{box-shadow:none}.gutenberg .wp-block-more:before{content:"";position:absolute;top:50%;right:50px;left:50px;border-top:3px dashed #ccd0d4;z-index:-1}.wp-block-preformatted pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-rich-text p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-rich-text p{font-size:20px}.wp-block-pullquote cite{display:block}.wp-block-pullquote cite .blocks-rich-text__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-rich-text__tinymce[data-is-empty=true]:before{width:100%;right:50%;transform:translateX(50%)}.wp-block-pullquote>.blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.wp-block-pullquote>.blocks-rich-text p{font-size:24px;font-weight:900;line-height:1.6}.wp-block-shortcode{display:flex;flex-direction:row;padding:1em;background-color:#f8f9f9}.wp-block-shortcode label{flex-basis:0;display:flex;align-items:center;margin-left:10px;white-space:nowrap}.wp-block-shortcode .blocks-plain-text{flex:1 0 0%;padding:4px 8px;border:1px solid #e2e4e7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-shortcode .blocks-plain-text:focus{border:1px solid #555d66}.wp-block-shortcode .dashicon{margin-left:10px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.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-text-columns .blocks-rich-text__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{max-width:400px}.wp-block-video .components-placeholder__fieldset form{max-width:none}.editor-block-list__block[data-align=center]{text-align:center}
1
+ .gutenberg .wp-block-html iframe{display:block;pointer-events:none}.gutenberg .wp-block-html .CodeMirror{border-radius:4px;border:1px solid #e2e4e7;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;height:auto}.gutenberg .wp-block-html .CodeMirror-gutters{background:#fff;border-left:none}.gutenberg .wp-block-html .CodeMirror-lines{padding:8px 0 8px 8px}.blocks-font-size__main{display:flex;justify-content:space-between;margin-bottom:1em}.blocks-paragraph__custom-size-slider .components-range-control__slider+.dashicon{width:30px;height:30px}.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:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-quote{margin:0}.wp-block-quote cite{display:block}.wp-block-quote:not(.is-large){border-right:4px solid #000;padding-right:1em}.gutenberg .wp-block-gallery:not(.components-placeholder){margin-right:-8px;margin-left:-8px}.blocks-gallery-item .is-selected{outline:4px solid #00a0d2;outline-offset:-4px}.blocks-gallery-item.is-transient img{animation:loading_fade 1.6s ease-in-out infinite}.blocks-gallery-item .blocks-rich-text{position:absolute;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .blocks-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}.blocks-gallery-item .is-selected .blocks-rich-text{width:calc(100% - 8px);right:4px;margin-top:-4px}.blocks-gallery-item .button.blocks-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .button.blocks-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .button.blocks-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .button.blocks-gallery-add-item-button:focus,.blocks-gallery-item .button.blocks-gallery-add-item-button:hover{border:1px solid #999}.blocks-gallery-item__inline-menu{padding:2px;position:absolute;top:0;left:0;background-color:#00a0d2;display:inline-flex;z-index:20}.blocks-gallery-item__inline-menu .components-button,.blocks-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .spinner{position:absolute;top:50%;right:50%;transform:translate(50%,-50%)}.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{max-width:400px}.wp-block-audio .components-placeholder__fieldset form{max-width:none}.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-rich-text__tinymce{cursor:text}.blocks-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;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;width:280px}.blocks-button__inline-link .blocks-url-input{width:auto}.blocks-button__inline-link .blocks-url-input__suggestions{width:208px;z-index:6}.blocks-button__inline-link>.dashicon{width:36px}.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,.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}.gutenberg .wp-block-categories ul{padding-right:2.5em}.gutenberg .wp-block-categories ul ul{margin-top:6px}.wp-block-code .blocks-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1.6em;border:1px solid #e2e4e7;border-radius:4px}.components-tab-button{display:inline-flex;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}.wp-block-columns .editor-block-list__layout:first-child{margin-right:-14px}.wp-block-columns .editor-block-list__layout:last-child{margin-left:-14px}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.editor-block-list__block[data-align=wide] .wp-block-columns .editor-block-list__layout:first-child{margin-right:0}.editor-block-list__block[data-align=wide] .wp-block-columns .editor-block-list__layout:last-child{margin-left:0}.editor-block-list__block[data-align=full] .wp-block-columns .editor-block-list__layout:first-child{margin-right:36px}.editor-block-list__block[data-align=full] .wp-block-columns .editor-block-list__layout:last-child{margin-left:36px}.wp-block-columns .editor-inserter-with-shortcuts{display:none}.wp-block-columns .editor-block-list__empty-block-inserter,.wp-block-columns .editor-default-block-appender .editor-inserter{right:auto;left:10px}.wp-block-cover-image{margin:0}.wp-block-cover-image .blocks-rich-text__tinymce[data-is-empty=true]:before{position:inherit}.wp-block-cover-image .blocks-rich-text__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-rich-text strong{font-weight:300}.wp-block-cover-image.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-rich-text__inline-toolbar{justify-content:flex-start}.wp-block-cover-image.has-right-content .block-rich-text__inline-toolbar{justify-content:flex-end}.wp-block-embed{margin:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items: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%}.wp-block-freeform.blocks-rich-text__tinymce{overflow:hidden;margin:-4px;padding:4px}.wp-block-freeform.blocks-rich-text__tinymce li,.wp-block-freeform.blocks-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.blocks-rich-text__tinymce ol,.wp-block-freeform.blocks-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.blocks-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.blocks-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.blocks-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.blocks-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.blocks-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.blocks-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.blocks-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.blocks-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.blocks-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.blocks-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.blocks-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.blocks-rich-text__tinymce a{color:#007fac}.wp-block-freeform.blocks-rich-text__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-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.blocks-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.blocks-rich-text__tinymce .alignright{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.blocks-rich-text__tinymce .alignleft{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.blocks-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.blocks-rich-text__tinymce .wp-more-tag{width:96%;height:0;display:block;margin:15px auto;outline:0;cursor:default;border:2px dashed #bababa}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit:before{outline:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}.freeform-toolbar{width:auto;margin:-14px;margin-bottom:14px}.freeform-toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.freeform-toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.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-container-body.mce-abs-layout{overflow:visible}.freeform-toolbar .mce-menubar,.freeform-toolbar div.mce-toolbar-grp{position:static}.freeform-toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.freeform-toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-image{position:relative;margin:0}.wp-block-image img{display:block;width:100%}.wp-block-image.is-resized img{height:100%}.wp-block-image.is-transient img{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}.wp-core-ui .wp-block-audio__upload-button.button,.wp-core-ui .wp-block-image__upload-button.button,.wp-core-ui .wp-block-video__upload-button.button{margin-left:5px}.wp-core-ui .wp-block-audio__upload-button.button .dashicon,.wp-core-ui .wp-block-image__upload-button.button .dashicon,.wp-core-ui .wp-block-video__upload-button.button .dashicon{vertical-align:middle;margin-bottom:3px}.wp-core-ui .wp-block-audio__upload-button.button:hover,.wp-core-ui .wp-block-image__upload-button.button:hover,.wp-core-ui .wp-block-video__upload-button.button:hover{color:#23282d}.editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .blocks-image__dimensions{margin-bottom:1em}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__height,.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__height input,.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__width{margin-left:5px}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__height{margin-right:5px}.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .blocks-format-toolbar__link-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .blocks-format-toolbar__link-modal{margin:-1px}}.gutenberg .wp-block-latest-posts{padding-right:2.5em}.gutenberg .wp-block-latest-posts.is-grid{padding-right:0}.blocks-list .blocks-rich-text__tinymce,.blocks-list .blocks-rich-text__tinymce ol,.blocks-list .blocks-rich-text__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{display:block;text-align:center;white-space:nowrap}.gutenberg .wp-block-more input[type=text]{font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.gutenberg .wp-block-more input[type=text]:focus{box-shadow:none}.gutenberg .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4;z-index:-1}.editor-visual-editor__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4;z-index:-1}.wp-block-preformatted pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-rich-text p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-rich-text p{font-size:20px}.wp-block-pullquote cite{display:block}.wp-block-pullquote cite .blocks-rich-text__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-rich-text__tinymce[data-is-empty=true]:before{width:100%;right:50%;transform:translateX(50%)}.wp-block-pullquote>.blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.wp-block-pullquote>.blocks-rich-text p{font-size:24px;line-height:1.6}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-shortcode label{flex-basis:0;display:flex;align-items:center;margin-left:10px;white-space:nowrap;font-weight:600}.wp-block-shortcode .blocks-plain-text{flex:1 0 0%}.wp-block-shortcode .dashicon{margin-left:10px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.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-text-columns .blocks-rich-text__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{max-width:400px}.wp-block-video .components-placeholder__fieldset form{max-width:none}.editor-block-list__block[data-align=center]{text-align:center}
blocks/build/edit-blocks.css CHANGED
@@ -1 +1 @@
1
- .wp-block-freeform.blocks-rich-text__tinymce{overflow:hidden;margin:-4px;padding:4px}.wp-block-freeform.blocks-rich-text__tinymce li,.wp-block-freeform.blocks-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.blocks-rich-text__tinymce ol,.wp-block-freeform.blocks-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.blocks-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.blocks-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.blocks-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.blocks-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.blocks-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.blocks-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.blocks-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.blocks-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.blocks-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.blocks-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.blocks-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.blocks-rich-text__tinymce a{color:#007fac}.wp-block-freeform.blocks-rich-text__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-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.blocks-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.blocks-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.blocks-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.blocks-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.blocks-rich-text__tinymce .wp-more-tag{width:96%;height:0;display:block;margin:15px auto;outline:0;cursor:default;border:2px dashed #bababa}.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;min-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}.blocks-font-size__main{display:flex;justify-content:space-between}.blocks-paragraph__custom-size-slider .components-range-control__slider+.dashicon{width:30px;height:30px}.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:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-quote{margin:0}.wp-block-quote cite{display:block}.wp-block-quote:not(.is-large){border-left:4px solid #000;padding-left:1em}.gutenberg .wp-block-gallery:not(.components-placeholder){margin-left:-8px;margin-right:-8px}.blocks-gallery-item .is-selected{outline:4px solid #00a0d2;outline-offset:-4px}.blocks-gallery-item.is-transient img{animation:loading_fade 1.6s ease-in-out infinite}.blocks-gallery-item .blocks-rich-text{position:absolute;width:100%}.blocks-gallery-item .blocks-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative}.blocks-gallery-item .is-selected .blocks-rich-text{width:calc(100% - 8px);left:4px;margin-top:-4px}.blocks-gallery-item .button.blocks-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .button.blocks-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .button.blocks-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .button.blocks-gallery-add-item-button:focus,.blocks-gallery-item .button.blocks-gallery-add-item-button:hover{border:1px solid #999}.blocks-gallery-item__inline-menu{padding:2px;position:absolute;top:0;right:0;background-color:#00a0d2;display:inline-flex;z-index:20}.blocks-gallery-item__inline-menu .components-button,.blocks-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.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{max-width:400px}.wp-block-audio .components-placeholder__fieldset form{max-width:none}.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%;transform:translateX(-50%)}.wp-block-button .blocks-link-url__suggestions{right:-35px}.wp-block-button .blocks-rich-text__tinymce{cursor:text}.blocks-button__inline-link{background:#fff;width:280px;display:flex;flex-wrap:wrap;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,.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}.gutenberg .wp-block-categories ul{padding-left:2.5em}.gutenberg .wp-block-categories ul ul{margin-top:6px}.wp-block-code .blocks-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1.6em;overflow-x:auto!important;border:1px solid #e2e4e7;border-radius:4px}.components-tab-button{display:inline-flex;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}.wp-block-columns .editor-block-list__layout:first-child{margin-left:-14px}.wp-block-columns .editor-block-list__layout:last-child{margin-right:-14px}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.editor-block-list__block[data-align=wide] .wp-block-columns .editor-block-list__layout:first-child{margin-left:0}.editor-block-list__block[data-align=wide] .wp-block-columns .editor-block-list__layout:last-child{margin-right:0}.editor-block-list__block[data-align=full] .wp-block-columns .editor-block-list__layout:first-child{margin-left:36px}.editor-block-list__block[data-align=full] .wp-block-columns .editor-block-list__layout:last-child{margin-right:36px}.wp-block-columns .editor-inserter-with-shortcuts{display:none}.wp-block-columns .editor-block-list__empty-block-inserter,.wp-block-columns .editor-default-block-appender .editor-inserter{left:auto;right:10px}.wp-block-cover-image{margin:0}.wp-block-cover-image .blocks-rich-text__tinymce[data-is-empty=true]:before{position:inherit}.wp-block-cover-image .blocks-rich-text__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-rich-text strong{font-weight:300}.wp-block-cover-image.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-rich-text__inline-toolbar{justify-content:flex-start}.wp-block-cover-image.has-right-content .block-rich-text__inline-toolbar{justify-content:flex-end}.wp-block-embed{margin:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items: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%}.wp-block-image{position:relative;margin:0}.wp-block-image img{display:block;width:100%}.wp-block-image.is-transient img{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-audio__upload-button.button,.wp-core-ui .wp-block-image__upload-button.button,.wp-core-ui .wp-block-video__upload-button.button{margin-right:5px}.wp-core-ui .wp-block-audio__upload-button.button .dashicon,.wp-core-ui .wp-block-image__upload-button.button .dashicon,.wp-core-ui .wp-block-video__upload-button.button .dashicon{vertical-align:middle;margin-bottom:3px}.wp-core-ui .wp-block-audio__upload-button.button:hover,.wp-core-ui .wp-block-image__upload-button.button:hover,.wp-core-ui .wp-block-video__upload-button.button:hover{color:#23282d}.editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image div{margin-left:auto;margin-right:auto}.gutenberg .wp-block-html iframe{display:block;pointer-events:none}.gutenberg .wp-block-html .CodeMirror{border-radius:4px;border:1px solid #e2e4e7;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;height:auto}.gutenberg .wp-block-html .CodeMirror-gutters{background:#fff;border-right:none}.gutenberg .wp-block-html .CodeMirror-lines{padding:8px 8px 8px 0}.gutenberg .wp-block-latest-posts{padding-left:2.5em}.gutenberg .wp-block-latest-posts.is-grid{padding-left:0}.blocks-list .blocks-rich-text__tinymce,.blocks-list .blocks-rich-text__tinymce ol,.blocks-list .blocks-rich-text__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;text-align:center}.gutenberg .wp-block-more input:focus{box-shadow:none}.gutenberg .wp-block-more:before{content:"";position:absolute;top:50%;left:50px;right:50px;border-top:3px dashed #ccd0d4;z-index:-1}.wp-block-preformatted pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-rich-text p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-rich-text p{font-size:20px}.wp-block-pullquote cite{display:block}.wp-block-pullquote cite .blocks-rich-text__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-rich-text__tinymce[data-is-empty=true]:before{width:100%;left:50%;transform:translateX(-50%)}.wp-block-pullquote>.blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.wp-block-pullquote>.blocks-rich-text p{font-size:24px;font-weight:900;line-height:1.6}.wp-block-shortcode{display:flex;flex-direction:row;padding:1em;background-color:#f8f9f9}.wp-block-shortcode label{flex-basis:0;display:flex;align-items:center;margin-right:10px;white-space:nowrap}.wp-block-shortcode .blocks-plain-text{flex:1 0 0%;padding:4px 8px;border:1px solid #e2e4e7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-shortcode .blocks-plain-text:focus{border:1px solid #555d66}.wp-block-shortcode .dashicon{margin-right:10px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.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-text-columns .blocks-rich-text__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{max-width:400px}.wp-block-video .components-placeholder__fieldset form{max-width:none}.editor-block-list__block[data-align=center]{text-align:center}
1
+ .gutenberg .wp-block-html iframe{display:block;pointer-events:none}.gutenberg .wp-block-html .CodeMirror{border-radius:4px;border:1px solid #e2e4e7;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;height:auto}.gutenberg .wp-block-html .CodeMirror-gutters{background:#fff;border-right:none}.gutenberg .wp-block-html .CodeMirror-lines{padding:8px 8px 8px 0}.blocks-font-size__main{display:flex;justify-content:space-between;margin-bottom:1em}.blocks-paragraph__custom-size-slider .components-range-control__slider+.dashicon{width:30px;height:30px}.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:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-quote{margin:0}.wp-block-quote cite{display:block}.wp-block-quote:not(.is-large){border-left:4px solid #000;padding-left:1em}.gutenberg .wp-block-gallery:not(.components-placeholder){margin-left:-8px;margin-right:-8px}.blocks-gallery-item .is-selected{outline:4px solid #00a0d2;outline-offset:-4px}.blocks-gallery-item.is-transient img{animation:loading_fade 1.6s ease-in-out infinite}.blocks-gallery-item .blocks-rich-text{position:absolute;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .blocks-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}.blocks-gallery-item .is-selected .blocks-rich-text{width:calc(100% - 8px);left:4px;margin-top:-4px}.blocks-gallery-item .button.blocks-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .button.blocks-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .button.blocks-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .button.blocks-gallery-add-item-button:focus,.blocks-gallery-item .button.blocks-gallery-add-item-button:hover{border:1px solid #999}.blocks-gallery-item__inline-menu{padding:2px;position:absolute;top:0;right:0;background-color:#00a0d2;display:inline-flex;z-index:20}.blocks-gallery-item__inline-menu .components-button,.blocks-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.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{max-width:400px}.wp-block-audio .components-placeholder__fieldset form{max-width:none}.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-rich-text__tinymce{cursor:text}.blocks-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;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;width:280px}.blocks-button__inline-link .blocks-url-input{width:auto}.blocks-button__inline-link .blocks-url-input__suggestions{width:208px;z-index:6}.blocks-button__inline-link>.dashicon{width:36px}.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,.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}.gutenberg .wp-block-categories ul{padding-left:2.5em}.gutenberg .wp-block-categories ul ul{margin-top:6px}.wp-block-code .blocks-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1.6em;border:1px solid #e2e4e7;border-radius:4px}.components-tab-button{display:inline-flex;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}.wp-block-columns .editor-block-list__layout:first-child{margin-left:-14px}.wp-block-columns .editor-block-list__layout:last-child{margin-right:-14px}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.editor-block-list__block[data-align=wide] .wp-block-columns .editor-block-list__layout:first-child{margin-left:0}.editor-block-list__block[data-align=wide] .wp-block-columns .editor-block-list__layout:last-child{margin-right:0}.editor-block-list__block[data-align=full] .wp-block-columns .editor-block-list__layout:first-child{margin-left:36px}.editor-block-list__block[data-align=full] .wp-block-columns .editor-block-list__layout:last-child{margin-right:36px}.wp-block-columns .editor-inserter-with-shortcuts{display:none}.wp-block-columns .editor-block-list__empty-block-inserter,.wp-block-columns .editor-default-block-appender .editor-inserter{left:auto;right:10px}.wp-block-cover-image{margin:0}.wp-block-cover-image .blocks-rich-text__tinymce[data-is-empty=true]:before{position:inherit}.wp-block-cover-image .blocks-rich-text__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-rich-text strong{font-weight:300}.wp-block-cover-image.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-rich-text__inline-toolbar{justify-content:flex-start}.wp-block-cover-image.has-right-content .block-rich-text__inline-toolbar{justify-content:flex-end}.wp-block-embed{margin:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items: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%}.wp-block-freeform.blocks-rich-text__tinymce{overflow:hidden;margin:-4px;padding:4px}.wp-block-freeform.blocks-rich-text__tinymce li,.wp-block-freeform.blocks-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.blocks-rich-text__tinymce ol,.wp-block-freeform.blocks-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.blocks-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.blocks-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.blocks-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.blocks-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.blocks-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.blocks-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.blocks-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.blocks-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.blocks-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.blocks-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.blocks-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.blocks-rich-text__tinymce a{color:#007fac}.wp-block-freeform.blocks-rich-text__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-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.blocks-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.blocks-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.blocks-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.blocks-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.blocks-rich-text__tinymce .wp-more-tag{width:96%;height:0;display:block;margin:15px auto;outline:0;cursor:default;border:2px dashed #bababa}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit:before{outline:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}.freeform-toolbar{width:auto;margin:-14px;margin-bottom:14px}.freeform-toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.freeform-toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.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-container-body.mce-abs-layout{overflow:visible}.freeform-toolbar .mce-menubar,.freeform-toolbar div.mce-toolbar-grp{position:static}.freeform-toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.freeform-toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-image{position:relative;margin:0}.wp-block-image img{display:block;width:100%}.wp-block-image.is-resized img{height:100%}.wp-block-image.is-transient img{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*/.wp-core-ui .wp-block-audio__upload-button.button,.wp-core-ui .wp-block-image__upload-button.button,.wp-core-ui .wp-block-video__upload-button.button{margin-right:5px}.wp-core-ui .wp-block-audio__upload-button.button .dashicon,.wp-core-ui .wp-block-image__upload-button.button .dashicon,.wp-core-ui .wp-block-video__upload-button.button .dashicon{vertical-align:middle;margin-bottom:3px}.wp-core-ui .wp-block-audio__upload-button.button:hover,.wp-core-ui .wp-block-image__upload-button.button:hover,.wp-core-ui .wp-block-video__upload-button.button:hover{color:#23282d}.editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .blocks-image__dimensions{margin-bottom:1em}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__height,.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__height input,.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__width{margin-right:5px}.edit-post-sidebar .blocks-image__dimensions .blocks-image__dimensions__row .blocks-image__dimensions__height{margin-left:5px}.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .blocks-format-toolbar__link-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .blocks-format-toolbar__link-modal{margin:-1px}}.gutenberg .wp-block-latest-posts{padding-left:2.5em}.gutenberg .wp-block-latest-posts.is-grid{padding-left:0}.blocks-list .blocks-rich-text__tinymce,.blocks-list .blocks-rich-text__tinymce ol,.blocks-list .blocks-rich-text__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{display:block;text-align:center;white-space:nowrap}.gutenberg .wp-block-more input[type=text]{font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.gutenberg .wp-block-more input[type=text]:focus{box-shadow:none}.gutenberg .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4;z-index:-1}.editor-visual-editor__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4;z-index:-1}.wp-block-preformatted pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .blocks-rich-text p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .blocks-rich-text p{font-size:20px}.wp-block-pullquote cite{display:block}.wp-block-pullquote cite .blocks-rich-text__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-rich-text__tinymce[data-is-empty=true]:before{width:100%;left:50%;transform:translateX(-50%)}.wp-block-pullquote>.blocks-pullquote__content .blocks-rich-text__tinymce[data-is-empty=true]:before,.wp-block-pullquote>.blocks-rich-text p{font-size:24px;line-height:1.6}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-shortcode label{flex-basis:0;display:flex;align-items:center;margin-right:10px;white-space:nowrap;font-weight:600}.wp-block-shortcode .blocks-plain-text{flex:1 0 0%}.wp-block-shortcode .dashicon{margin-right:10px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.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-text-columns .blocks-rich-text__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{max-width:400px}.wp-block-video .components-placeholder__fieldset form{max-width:none}.editor-block-list__block[data-align=center]{text-align:center}
blocks/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=572)}([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";t.__esModule=!0;var r,o=n(157),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.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,n){"use strict";t.__esModule=!0;var r,o=n(228),i=(r=o)&&r.__esModule?r:{default: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,i.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=a(n(328)),o=a(n(285)),i=a(n(117));function a(e){return e&&e.__esModule?e:{default:e}}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,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(117),i=(r=o)&&r.__esModule?r:{default: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,i.default)(t))&&"function"!=typeof t?e:t}},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){e.exports={default:n(330),__esModule:!0}},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.utils}()},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,n){var r;
2
  /*!
3
  Copyright (c) 2016 Jed Watson.
4
  Licensed under the MIT License (MIT), see
@@ -9,10 +9,10 @@ this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function n(r){if(t[r])re
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
- !function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(114),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(78)("wks"),o=n(57),i=n(21).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,n){var r=n(89);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(105),i=(r=o)&&r.__esModule?r:{default: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,i.default)(e)}},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){e.exports=function(){}},function(e,t,n){var r=n(21),o=n(14),i=n(45),a=n(34),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,g=e&s.B,m=e&s.W,b=f?o:o[t]||(o[t]={}),v=b.prototype,y=f?r:d?r[t]:(r[t]||{}).prototype;for(l in f&&(n=t),n)(c=!p&&y&&void 0!==y[l])&&l in b||(u=c?y[l]:n[l],b[l]=f&&"function"!=typeof y[l]?n[l]:g&&c?i(u,r):m&&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&&((b.virtual||(b.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){var r=n(28);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},,function(e,t,n){var r=n(24),o=n(116),i=n(86),a=Object.defineProperty;t.f=n(27)?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(40)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},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){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(216),o=n(213);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(228),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(26),o=n(47);e.exports=n(27)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(43),o=n(223),i=n(222),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(108),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(156),o=n(146),i=n(44);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(252),o=n(234),i=n(58),a=n(13),s=n(225);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},function(e,t){e.exports={}},function(e,t,n){var r=n(17).Symbol;e.exports=r},function(e,t,n){var r=n(74),o=n(81);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(73);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){var r=n(56),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},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(281),o=n(44),i=n(134),a=n(107),s=n(339),l=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var u=e.length;return n<0&&(n=l(u+n,0)),i(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&r(e,t,n)>-1}},function(e,t,n){var r=n(62),o=n(41),i=n(351),a=n(13);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(115),o=n(72);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(192);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(32)(Object,"create");e.exports=r},function(e,t,n){var r=n(80);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(210),o=n(209),i=n(208),a=n(207),s=n(206);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(36),o=n(31),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==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){e.exports=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=c(n(679)),o=c(n(678)),i=c(n(676)),a=c(n(675)),s=c(n(674)),l=c(n(673));function c(e){return e&&e.__esModule?e:{default:e}}t.hover=a.default,t.handleHover=a.default,t.handleActive=s.default,t.loop=l.default;var u=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),l=(0,o.default)(e,s);return(0,i.default)(l)};t.default=u},function(e,t,n){var r=n(13),o=n(84),i=n(186),a=n(83);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(26).f,o=n(35),i=n(18)("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){e.exports=function(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}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){!function(){e.exports=this.moment}()},function(e,t,n){var r=n(78)("keys"),o=n(57);e.exports=function(e){return r[e]||(r[e]=o(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){"use strict";t.__esModule=!0;var r=i(n(407)),o=i(n(303));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var s,l=(0,o.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t){e.exports=!0},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=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},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(36),o=n(29),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==l}},function(e,t,n){var r=n(32)(n(17),"Map");e.exports=r},function(e,t,n){"use strict";var r=n(212)(!0);n(111)(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(221),o=n(31),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){var r=n(21),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){var r=n(200),o=n(193),i=n(191),a=n(190),s=n(189);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(28),o=n(21).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(171);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(13),o=n(56),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},function(e,t,n){(function(e){var r=n(17),o=n(220),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}).call(this,n(90)(e))},function(e,t,n){var r=n(28);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,n){var r=n(24),o=n(172),i=n(72),a=n(66)("IE_PROTO"),s=function(){},l=function(){var e,t=n(82)("iframe"),r=i.length;for(t.style.display="none",n(128).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).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(67),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(60),o=n(46);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},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){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(372)(n(304));e.exports=r},function(e,t,n){e.exports={default:n(324),__esModule:!0}},function(e,t,n){var r=n(136),o=n(277)(r);e.exports=o},function(e,t,n){var r=n(219),o=n(130),i=n(218),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(146),o=n(125),i=n(77),a=n(13),s=n(44),l=n(85),c=n(98),u=n(95),p="[object Map]",f="[object Set]",d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=o(e);if(t==p||t==f)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},function(e,t,n){var r=n(55),o=n(205),i=n(204),a=n(203),s=n(202),l=n(201);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(13);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},function(e,t,n){var r=n(138),o=n(426),i=n(41),a=n(13);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},function(e,t,n){var r=n(176),o=n(94),i=n(41),a=n(362),s=n(13);e.exports=function(e,t,n){var l=s(e)?r:a,c=arguments.length<3;return l(e,i(t,4),n,c,o)}},function(e,t,n){var r=n(21),o=n(14),i=n(69),a=n(106),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){n(241);for(var r=n(21),o=n(34),i=n(42),a=n(18)("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){e.exports={default:n(302),__esModule:!0}},function(e,t,n){t.f=n(18)},function(e,t,n){var r=n(336);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},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(250),o=n(31);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){"use strict";var r=n(69),o=n(23),i=n(129),a=n(34),s=n(35),l=n(42),c=n(211),u=n(61),p=n(139),f=n(18)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,g,m,b,v){c(n,t,g);var y,_,w,x=function(e){if(!d&&e in S)return S[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"==m,C=!1,S=e.prototype,O=S[f]||S["@@iterator"]||m&&S[m],T=!d&&O||x(m),A=m?E?x("entries"):T:void 0,j="Array"==t&&S.entries||O;if(j&&(w=p(j.call(new e)))!==Object.prototype&&w.next&&(u(w,k,!0),r||s(w,f)||a(w,f,h)),E&&O&&"values"!==O.name&&(C=!0,T=function(){return O.call(this)}),r&&!v||!d&&!C&&S[f]||a(S,f,T),l[t]=T,l[k]=h,m)if(y={values:E?T:x("values"),keys:b?T:x("keys"),entries:A},v)for(_ in y)_ in S||i(S,_,y[_]);else o(o.P+o.F*(d||C),t,y);return y}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(154);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(121))},function(e,t,n){var r=n(35),o=n(37),i=n(174)(!1),a=n(66)("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){e.exports=!n(27)&&!n(40)(function(){return 7!=Object.defineProperty(n(82)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(262)),o=a(n(224)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){var r=n(113),o=n(136),i=n(41);e.exports=function(e,t){var n={};return t=i(t,3),o(e,function(e,o,i){r(n,o,t(e,o,i))}),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(50),o=n(18)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},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(109);e.exports=function(e,t){return r(e,t)}},function(e,t,n){e.exports=n(462)},function(e,t,n){var r=n(62),o=n(333),i=n(409),a=n(60),s=n(141),l=n(408),c=n(230),u=n(298),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){var r=n(188),o=n(75),i=n(187),a=n(160),s=n(137),l=n(36),c=n(112),u=c(r),p=c(o),f=c(i),d=c(a),h=c(s),g=l;(r&&"[object DataView]"!=g(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=g(new o)||i&&"[object Promise]"!=g(i.resolve())||a&&"[object Set]"!=g(new a)||s&&"[object WeakMap]"!=g(new s))&&(g=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=g},function(e,t,n){var r=n(138),o=n(152),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(t){return i.call(e,t)}))}:o;e.exports=s},function(e,t,n){var r=n(120),o=n(18)("iterator"),i=n(42);e.exports=n(14).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(21).document;e.exports=r&&r.documentElement},function(e,t,n){e.exports=n(34)},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){var r=n(29);e.exports=function(e){return e==e&&!r(e)}},function(e,t,n){var r=n(145),o=n(164),i=n(144),a=1,s=2;e.exports=function(e,t,n,l,c,u){var p=n&a,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 g=-1,m=!0,b=n&s?new r:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var v=e[g],y=t[g];if(l)var _=p?l(y,v,g,t,e,u):l(v,y,g,e,t,u);if(void 0!==_){if(_)continue;m=!1;break}if(b){if(!o(t,function(e,t){if(!i(b,t)&&(v===e||c(v,e,n,l,u)))return b.push(t)})){m=!1;break}}else if(v!==y&&!c(v,y,n,l,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},function(e,t,n){var r=n(36),o=n(13),i=n(31),a="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&r(e)==a}},function(e,t,n){var r=n(29),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(231),o=n(38);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(32)(n(17),"WeakMap");e.exports=r},function(e,t){e.exports=function(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}},function(e,t,n){var r=n(35),o=n(63),i=n(66)("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){var r=n(58),o=n(260),i=n(179);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){var r=n(253),o=n(113);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},function(e,t,n){var r=n(164),o=n(41),i=n(425),a=n(13),s=n(278);e.exports=function(e,t,n){var l=a(e)?r:i;return n&&s(e,t,n)&&(t=void 0),l(e,o(t,3))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(672);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return u(r).default}});var o=n(522);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return u(o).default}});var i=n(669);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return u(i).default}});var a=n(668);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return u(a).default}});var s=n(666);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return u(s).default}});var l=n(521);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return u(l).default}});var c=n(663);function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return u(c).default}})},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(79),o=n(249),i=n(248);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t,n){var r=n(98),o=n(217),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(135),o=n(147),i=4294967295;function a(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=i,this.__views__=[]}a.prototype=r(o.prototype),a.prototype.constructor=a,e.exports=a},function(e,t,n){"use strict";var r=n(73);e.exports.f=function(e){return new function(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=r(t),this.reject=r(n)}(e)}},function(e,t){},function(e,t,n){var r=n(115),o=n(72).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(110),o=n(13);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t,n){var r=n(32),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(180),o=n(77),i=n(13),a=n(85),s=n(71),l=n(95),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),p=!n&&!u&&a(e),f=!n&&!u&&!p&&l(e),d=n||u||p||f,h=d?r(e.length,String):[],g=h.length;for(var m in e)!t&&!c.call(e,m)||d&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||h.push(m);return h}},function(e,t,n){e.exports={default:n(284),__esModule:!0}},function(e,t,n){e.exports=n(448)()},function(e,t){e.exports=function(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}},function(e,t,n){var r=n(32)(n(17),"Set");e.exports=r},function(e,t,n){var r=n(153),o=n(126),i=n(38);e.exports=function(e){return r(e,i,o)}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t,n){var r=n(17).Uint8Array;e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t,n){var r=n(42),o=n(18)("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(24);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){e.exports=function(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)}},function(e,t,n){var r=n(135),o=n(147);function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}i.prototype=r(o.prototype),i.prototype.constructor=i,e.exports=i},function(e,t,n){var r=n(64),o=n(47),i=n(37),a=n(86),s=n(35),l=n(116),c=Object.getOwnPropertyDescriptor;t.f=n(27)?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(244),o=n(233);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t,n){var r=n(43),o=n(62),i=n(13),a=n(56),s=1/0,l=r?r.prototype:void 0,c=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},function(e,t,n){var r=n(26),o=n(24),i=n(51);e.exports=n(27)?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){var r=n(67),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(37),o=n(88),i=n(173);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){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t){e.exports=function(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}},function(e,t,n){var r=n(110),o=n(334);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},function(e,t,n){var r=n(18)("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(335),o=n(279)(r);e.exports=o},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t){var n="__lodash_placeholder__";e.exports=function(e,t){for(var r=-1,o=e.length,i=0,a=[];++r<o;){var s=e[r];s!==t&&s!==n||(e[r]=n,a[i++]=r)}return a}},function(e,t,n){var r=n(267),o=n(22),i=r?function(e){return r.get(e)}:o;e.exports=i},function(e,t,n){var r=n(135),o=n(29);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=r(e.prototype),i=e.apply(n,t);return o(i)?i:n}}},function(e,t,n){var r=n(79),o="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);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(i.Cache||r),n}i.Cache=r,e.exports=i},function(e,t,n){var r=n(184),o=500;e.exports=function(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=/^\./,o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(185)(function(e){var t=[];return r.test(e)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=a},function(e,t,n){var r=n(32)(n(17),"Promise");e.exports=r},function(e,t,n){var r=n(32)(n(17),"DataView");e.exports=r},function(e,t,n){var r=n(52);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(52);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(52);e.exports=function(e){return r(this,e).get(e)}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(52);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t,n){var r=n(53),o="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}},function(e,t,n){var r=n(53),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(53),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return i.call(t,e)?t[e]:void 0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(53);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(198),o=n(197),i=n(196),a=n(195),s=n(194);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(199),o=n(55),i=n(75);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(55),o=n(75),i=n(79),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t,n){var r=n(55);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t,n){var r=n(54);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(54);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(54);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(54),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){"use strict";var r=n(87),o=n(47),i=n(61),a={};n(34)(a,n(18)("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(67),o=n(70);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))<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){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(17)["__core-js_shared__"];e.exports=r},function(e,t,n){var r,o=n(214),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(74),o=n(215),i=n(29),a=n(112),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r=n(155)(Object.keys,Object);e.exports=r},function(e,t,n){(function(e){var r=n(114),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(90)(e))},function(e,t,n){var r=n(36),o=n(81),i=n(31),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(36),o=n(31),i="[object Arguments]";e.exports=function(e){return o(e)&&r(e)==i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(43),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t,n){e.exports={default:n(273),__esModule:!0}},function(e,t,n){var r=n(232),o=n(243),i=n(84),a=n(46);e.exports=function(e){return i(e)?r(a(e)):o(e)}},function(e,t,n){var r=n(29),o=n(401),i=n(280),a="Expected a function",s=Math.max,l=Math.min;e.exports=function(e,t,n){var c,u,p,f,d,h,g=0,m=!1,b=!1,v=!0;if("function"!=typeof e)throw new TypeError(a);function y(t){var n=c,r=u;return c=u=void 0,g=t,f=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||n>=t||n<0||b&&e-g>=p}function w(){var e=o();if(_(e))return x(e);d=setTimeout(w,function(e){var n=t-(e-h);return b?l(n,p-(e-g)):n}(e))}function x(e){return d=void 0,v&&c?y(e):(c=u=void 0,f)}function k(){var e=o(),n=_(e);if(c=arguments,u=this,h=e,n){if(void 0===d)return function(e){return g=e,d=setTimeout(w,t),m?y(e):f}(h);if(b)return d=setTimeout(w,t),y(h)}return void 0===d&&(d=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,p=(b="maxWait"in n)?s(i(n.maxWait)||0,t):p,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==d&&clearTimeout(d),g=0,c=h=u=d=void 0},k.flush=function(){return void 0===d?f:x(o())},k}},function(e,t,n){var r=n(57)("meta"),o=n(28),i=n(35),a=n(26).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(40)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey: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},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&p.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){e.exports={default:n(297),__esModule:!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(331),o=n(260),i=n(179);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(242)();e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(60),o=n(77),i=n(13),a=n(71),s=n(81),l=n(46);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,p=!1;++c<u;){var f=l(t[c]);if(!(p=null!=e&&n(e,f)))break;e=e[f]}return p||++c!=u?p:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(i(e)||o(e))}},function(e,t,n){var r=n(109),o=n(19),i=n(170),a=n(84),s=n(132),l=n(131),c=n(46),u=1,p=2;e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,u|p)}}},function(e,t,n){var r=n(140),o=n(396),i=n(265),a=n(181),s=r(function(e,t){var n=a(t,i(s));return o(e,32,void 0,t,n)});s.placeholder={},e.exports=s},function(e,t,n){var r=n(24),o=n(28),i=n(149);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){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,o,i,a=n(45),s=n(322),l=n(128),c=n(82),u=n(21),p=u.process,f=u.setImmediate,d=u.clearImmediate,h=u.MessageChannel,g=u.Dispatch,m=0,b={},v=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[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 b[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},d=function(e){delete b[e]},"process"==n(50)(p)?r=function(e){p.nextTick(a(v,e,1))}:g&&g.now?r=function(e){g.now(a(v,e,1))}:h?(i=(o=new h).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,n){var r=n(24),o=n(73),i=n(18)("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){e.exports=function(){}},function(e,t,n){"use strict";var r=n(240),o=n(229),i=n(42),a=n(37);e.exports=n(111)(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)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(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}}},function(e,t,n){var r=n(89);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(132),o=n(38);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},function(e,t,n){var r=n(161),o=1,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,s,l){var c=n&o,u=r(e),p=u.length;if(p!=r(t).length&&!c)return!1;for(var f=p;f--;){var d=u[f];if(!(c?d in t:i.call(t,d)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var g=!0;l.set(e,t),l.set(t,e);for(var m=c;++f<p;){var b=e[d=u[f]],v=t[d];if(a)var y=c?a(v,b,d,t,e,l):a(b,v,d,e,t,l);if(!(void 0===y?b===v||s(b,v,n,a,l):y)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(g=!1)}return l.delete(e),l.delete(t),g}},function(e,t,n){var r=n(43),o=n(163),i=n(80),a=n(133),s=n(162),l=n(119),c=1,u=2,p="[object Boolean]",f="[object Date]",d="[object Error]",h="[object Map]",g="[object Number]",m="[object RegExp]",b="[object Set]",v="[object String]",y="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",x=r?r.prototype:void 0,k=x?x.valueOf:void 0;e.exports=function(e,t,n,r,x,E,C){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!E(new o(e),new o(t)));case p:case f:case g:return i(+e,+t);case d:return e.name==t.name&&e.message==t.message;case m:case v:return e==t+"";case h:var S=s;case b:var O=r&c;if(S||(S=l),e.size!=t.size&&!O)return!1;var T=C.get(e);if(T)return T==t;r|=u,C.set(e,t);var A=a(S(e),S(t),r,x,E,C);return C.delete(e),A;case y:if(k)return k.call(e)==k.call(t)}return!1}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t,n){var r=n(97),o=n(133),i=n(247),a=n(246),s=n(125),l=n(13),c=n(85),u=n(95),p=1,f="[object Arguments]",d="[object Array]",h="[object Object]",g=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,b,v){var y=l(e),_=l(t),w=y?d:s(e),x=_?d:s(t),k=(w=w==f?h:w)==h,E=(x=x==f?h:x)==h,C=w==x;if(C&&c(e)){if(!c(t))return!1;y=!0,k=!1}if(C&&!k)return v||(v=new r),y||u(e)?o(e,t,n,m,b,v):i(e,t,w,n,m,b,v);if(!(n&p)){var S=k&&g.call(e,"__wrapped__"),O=E&&g.call(t,"__wrapped__");if(S||O){var T=S?e.value():e,A=O?t.value():t;return v||(v=new r),b(T,A,n,m,v)}}return!!C&&(v||(v=new r),a(e,t,n,m,b,v))}},function(e,t,n){var r=n(97),o=n(109),i=1,a=2;e.exports=function(e,t,n,s){var l=n.length,c=l,u=!s;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;){var f=(p=n[l])[0],d=e[f],h=p[1];if(u&&p[2]){if(void 0===d&&!(f in e))return!1}else{var g=new r;if(s)var m=s(d,h,f,e,t,g);if(!(void 0===m?o(h,d,i|a,s,g):m))return!1}}return!0}},function(e,t,n){var r=n(251),o=n(245),i=n(131);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(113),o=n(80),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(398),o=n(230)(function(e,t){return null==e?{}:r(e,t)});e.exports=o},,function(e,t,n){var r=n(45),o=n(166),i=n(165),a=n(24),s=n(88),l=n(127),c={},u={};(t=e.exports=function(e,t,n,p,f){var d,h,g,m,b=f?function(){return e}:l(e),v=r(n,p,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(i(b)){for(d=s(e.length);d>y;y++)if((m=t?v(a(h=e[y])[0],h[1]):v(e[y]))===c||m===u)return m}else for(g=b.call(e);!(h=g.next()).done;)if((m=o(g,v,h.value,t))===c||m===u)return m}).BREAK=c,t.RETURN=u},function(e,t,n){var r=n(50);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o: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}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(167),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},function(e,t){e.exports=function(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}},function(e,t,n){e.exports={default:n(295),__esModule:!0}},function(e,t,n){var r=n(259),o=n(94),i=n(402),a=n(13);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},function(e,t,n){var r=n(350),o=n(140),i=n(307),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},function(e,t){e.exports=function(e){return e.placeholder}},function(e,t,n){var r=n(313),o=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",n=r[t],i=o.call(r,t)?n.length:0;i--;){var a=n[i],s=a.func;if(null==s||s==e)return a.name}return t}},function(e,t,n){var r=n(137),o=r&&new r;e.exports=o},function(e,t,n){n(103)("observable")},function(e,t,n){n(103)("asyncIterator")},function(e,t,n){var r=n(37),o=n(151).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(51),o=n(99),i=n(64);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){"use strict";var r=n(21),o=n(35),i=n(27),a=n(23),s=n(129),l=n(227).KEY,c=n(40),u=n(78),p=n(61),f=n(57),d=n(18),h=n(106),g=n(103),m=n(271),b=n(257),v=n(24),y=n(28),_=n(37),w=n(86),x=n(47),k=n(87),E=n(270),C=n(169),S=n(26),O=n(51),T=C.f,A=S.f,j=E.f,R=r.Symbol,N=r.JSON,P=N&&N.stringify,L=d("_hidden"),M=d("toPrimitive"),B={}.propertyIsEnumerable,D=u("symbol-registry"),I=u("symbols"),F=u("op-symbols"),z=Object.prototype,H="function"==typeof R,U=r.QObject,q=!U||!U.prototype||!U.prototype.findChild,K=i&&c(function(){return 7!=k(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=T(z,t);r&&delete z[t],A(e,t,n),r&&e!==z&&A(z,t,r)}:A,V=function(e){var t=I[e]=k(R.prototype);return t._k=e,t},W=H&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},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)||A(e,L,x(1,{})),e[L][t]=!0),K(e,t,n)):A(e,t,n)},$=function(e,t){v(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){var t=B.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)},Y=function(e,t){if(e=_(e),t=w(t,!0),e!==z||!o(I,t)||o(F,t)){var n=T(e,t);return!n||!o(I,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=j(_(e)),r=[],i=0;n.length>i;)o(I,t=n[i++])||t==L||t==l||r.push(t);return r},Q=function(e){for(var t,n=e===z,r=j(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||(s((R=function(){if(this instanceof R)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&&q&&K(z,e,{configurable:!0,set:t}),V(e)}).prototype,"toString",function(){return this._k}),C.f=Y,S.f=G,n(151).f=E.f=Z,n(64).f=X,n(99).f=Q,i&&!n(69)&&s(z,"propertyIsEnumerable",X,!0),h.f=function(e){return V(d(e))}),a(a.G+a.W+a.F*!H,{Symbol:R});for(var J="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;J.length>ee;)d(J[ee++]);for(var te=O(d.store),ne=0;te.length>ne;)g(te[ne++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(D,e+="")?D[e]:D[e]=R(e)},keyFor:function(e){if(!W(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?k(e):$(k(e),t)},defineProperty:G,defineProperties:$,getOwnPropertyDescriptor:Y,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),N&&a(a.S+a.F*(!H||c(function(){var e=R();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(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 b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!W(t))return t}),r[1]=t,P.apply(N,r)}}),R.prototype[M]||n(34)(R.prototype,M,R.prototype.valueOf),p(R,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){n(272),n(150),n(269),n(268),e.exports=n(14).Symbol},function(e,t,n){var r=n(281);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},function(e,t,n){var r=n(163);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(155)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(44);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},function(e,t,n){var r=n(80),o=n(44),i=n(71),a=n(29);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t){var n=800,r=16,o=Date.now;e.exports=function(e){var t=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(29),o=n(56),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):s.test(e)?i:+e}},function(e,t,n){var r=n(261),o=n(338),i=n(337);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t,n){"use strict";var r=n(51),o=n(99),i=n(64),a=n(63),s=n(108),l=Object.assign;e.exports=!l||n(40)(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),g=h.length,m=0;g>m;)p.call(d,f=h[m++])&&(n[f]=d[f]);return n}:l},function(e,t,n){var r=n(23);r(r.S+r.F,"Object",{assign:n(282)})},function(e,t,n){n(283),e.exports=n(14).Object.assign},function(e,t,n){e.exports={default:n(294),__esModule:!0}},function(e,t,n){var r=n(436),o=n(461),i=n(41),a=n(13),s=n(278);e.exports=function(e,t,n){var l=a(e)?r:o;return n&&s(e,t,n)&&(t=void 0),l(e,i(t,3))}},,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){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(23),o=n(14),i=n(40);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){var r=n(148),o=n(182),i=n(266),a=n(312);e.exports=function(e){var t=i(e),n=a[t];if("function"!=typeof n||!(t in r.prototype))return!1;if(e===n)return!0;var s=o(n);return!!s&&e===s[0]}},function(e,t,n){"use strict";var r=n(21),o=n(14),i=n(26),a=n(27),s=n(18)("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){var r=n(23);r(r.S,"Object",{create:n(87)})},function(e,t,n){n(293);var r=n(14).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(76),n(104),e.exports=n(106).f("iterator")},function(e,t,n){var r=n(23);r(r.S+r.F*!n(27),"Object",{defineProperty:n(26).f})},function(e,t,n){n(296);var r=n(14).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(153),o=n(332),i=n(299);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(156),o=n(422),i=n(44);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){"use strict";var r=n(26),o=n(47);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(45),o=n(23),i=n(63),a=n(166),s=n(165),l=n(88),c=n(300),u=n(127);o(o.S+o.F*!n(178)(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,g=h>1?arguments[1]:void 0,m=void 0!==g,b=0,v=u(f);if(m&&(g=r(g,h>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(n=new d(t=l(f.length));t>b;b++)c(n,b,m?g(f[b],b):f[b]);else for(p=v.call(f),n=new d;!(o=p.next()).done;b++)c(n,b,m?a(p,g,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){n(76),n(301),e.exports=n(14).Array.from},function(e,t,n){e.exports={default:n(360),__esModule:!0}},function(e,t,n){var r=n(261),o=n(41),i=n(107),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(e,o(t,3),l)}},function(e,t,n){"use strict";t.decode=t.parse=n(503),t.encode=t.stringify=n(502)},,function(e,t,n){var r=n(44),o=n(31);e.exports=function(e){return o(e)&&r(e)}},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(392),o=n(391),i=n(179),a=n(390);e.exports=function(e,t,n){var s=t+"";return i(e,o(s,a(r(s),n)))}},function(e,t,n){var r=n(318),o=n(279)(r);e.exports=o},function(e,t,n){var r=n(148),o=n(168),i=n(175);e.exports=function(e){if(e instanceof r)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=i(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},function(e,t,n){var r=n(148),o=n(168),i=n(147),a=n(13),s=n(31),l=n(311),c=Object.prototype.hasOwnProperty;function u(e){if(s(e)&&!a(e)&&!(e instanceof r)){if(e instanceof o)return e;if(c.call(e,"__wrapped__"))return l(e)}return new o(e)}u.prototype=i.prototype,u.prototype.constructor=u,e.exports=u},function(e,t){e.exports={}},function(e,t,n){var r=n(291),o=n(310),i=n(309),a=1,s=2,l=4,c=8,u=32,p=64;e.exports=function(e,t,n,f,d,h,g,m,b,v){var y=t&c;t|=y?u:p,(t&=~(y?p:u))&l||(t&=~(a|s));var _=[e,t,d,y?h:void 0,y?g:void 0,y?void 0:h,y?void 0:g,m,b,v],w=n.apply(void 0,_);return r(e)&&o(w,_),w.placeholder=f,i(w,e,t)}},function(e,t){var n=Math.max;e.exports=function(e,t,r,o){for(var i=-1,a=e.length,s=-1,l=r.length,c=-1,u=t.length,p=n(a-l,0),f=Array(p+u),d=!o;++i<p;)f[i]=e[i];for(var h=i;++c<u;)f[h+c]=t[c];for(;++s<l;)(d||i<a)&&(f[h+r[s]]=e[i++]);return f}},function(e,t){var n=Math.max;e.exports=function(e,t,r,o){for(var i=-1,a=e.length,s=r.length,l=-1,c=t.length,u=n(a-s,0),p=Array(c+u),f=!o;++l<c;)p[l]=t[l];for(;++i<s;)(f||i<a)&&(p[r[i]]=e[i]);for(;u--;)p[l++]=e[i++];return p}},function(e,t,n){var r=n(316),o=n(315),i=n(393),a=n(183),s=n(314),l=n(265),c=n(389),u=n(181),p=n(17),f=1,d=2,h=8,g=16,m=128,b=512;e.exports=function e(t,n,v,y,_,w,x,k,E,C){var S=n&m,O=n&f,T=n&d,A=n&(h|g),j=n&b,R=T?void 0:a(t);return function f(){for(var d=arguments.length,h=Array(d),g=d;g--;)h[g]=arguments[g];if(A)var m=l(f),b=i(h,m);if(y&&(h=r(h,y,_,A)),w&&(h=o(h,w,x,A)),d-=b,A&&d<C){var N=u(h,m);return s(t,n,e,f.placeholder,v,h,N,k,E,C-d)}var P=O?v:this,L=T?P[t]:t;return d=h.length,k?h=c(h,k):j&&d>1&&h.reverse(),S&&E<d&&(h.length=E),this&&this!==p&&this instanceof f&&(L=R||a(L)),L.apply(P,h)}}},function(e,t,n){var r=n(58),o=n(267),i=o?function(e,t){return o.set(e,t),e}:r;e.exports=i},function(e,t,n){"use strict";var r=n(23),o=n(149),i=n(237);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";var r=n(23),o=n(14),i=n(21),a=n(239),s=n(236);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){var r=n(21),o=n(238).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 p=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=p=!p}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},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){"use strict";var r,o,i,a,s=n(69),l=n(21),c=n(45),u=n(120),p=n(23),f=n(28),d=n(73),h=n(289),g=n(256),m=n(239),b=n(238).set,v=n(321)(),y=n(149),_=n(237),w=n(236),x=l.TypeError,k=l.process,E=l.Promise,C="process"==u(k),S=function(){},O=o=y.f,T=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(18)("species")]=function(e){e(S,S)};return(C||"function"==typeof PromiseRejectionEvent)&&e.then(S)instanceof t}catch(e){}}(),A=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},j=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,a=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&&P(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.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&R(e)})}},R=function(e){b.call(l,function(){var t,n,r,o=e._v,i=N(e);if(i&&(t=_(function(){C?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=C||N(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},P=function(e){b.call(l,function(){var t;C?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)._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(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=A(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,j(n,!1))}catch(e){L.call({_w:n,_d:!1},e)}}};T||(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}).prototype=n(288)(E.prototype,{then:function(e,t){var n=O(m(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=C?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(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=O=function(e){return e===E||e===a?new i(e):o(e)}),p(p.G+p.W+p.F*!T,{Promise:E}),n(61)(E,"Promise"),n(292)("Promise"),a=n(14).Promise,p(p.S+p.F*!T,"Promise",{reject:function(e){var t=O(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!T),"Promise",{resolve:function(e){return w(s&&this===a?E:this,e)}}),p(p.S+p.F*!(T&&n(178)(function(e){E.all(e).catch(S)})),"Promise",{all:function(e){var t=this,n=O(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;g(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=O(t),r=n.reject,o=_(function(){g(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){n(150),n(76),n(104),n(323),n(320),n(319),e.exports=n(14).Promise},function(e,t,n){var r=n(28),o=n(24),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(45)(Function.call,n(169).f(Object.prototype,"__proto__").set,2))(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){var r=n(23);r(r.S,"Object",{setPrototypeOf:n(325).set})},function(e,t,n){n(326),e.exports=n(14).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(327),__esModule:!0}},function(e,t,n){var r=n(63),o=n(139);n(290)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(329),e.exports=n(14).Object.getPrototypeOf},function(e,t,n){var r=n(177);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},function(e,t,n){var r=n(110),o=n(276),i=n(126),a=n(152),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){var r=n(97),o=n(259),i=n(253),a=n(424),s=n(423),l=n(376),c=n(175),u=n(420),p=n(419),f=n(161),d=n(298),h=n(125),g=n(418),m=n(417),b=n(374),v=n(13),y=n(85),_=n(29),w=n(38),x=1,k=2,E=4,C="[object Arguments]",S="[object Function]",O="[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=function e(t,n,j,R,N,P){var L,M=n&x,B=n&k,D=n&E;if(j&&(L=N?j(t,R,N,P):j(t)),void 0!==L)return L;if(!_(t))return t;var I=v(t);if(I){if(L=g(t),!M)return c(t,L)}else{var F=h(t),z=F==S||F==O;if(y(t))return l(t,M);if(F==T||F==C||z&&!N){if(L=B||z?{}:b(t),!M)return B?p(t,s(L,t)):u(t,a(L,t))}else{if(!A[F])return N?t:{};L=m(t,F,e,M)}}P||(P=new r);var H=P.get(t);if(H)return H;P.set(t,L);var U=D?B?d:f:B?keysIn:w,q=I?void 0:U(t);return o(q||t,function(r,o){q&&(r=t[o=r]),i(L,o,e(r,n,j,o,t,P))}),L}},function(e,t,n){var r=n(43),o=n(77),i=n(13),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(308),o=n(154),i=n(58),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){var r=n(280),o=1/0,i=1.7976931348623157e308;e.exports=function(e){return e?(e=r(e))===o||e===-o?(e<0?-1:1)*i:e==e?e:0:0===e?e:0}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t,n){var r=n(363),o=n(38);e.exports=function(e){return null==e?[]:r(e,o(e))}},,function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,s=r,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<l;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===o&&(o=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(t=new Array(l),a=0;a<l;a++)t[a]=arguments[a];return s={args:t,val:e.apply(null,t)},r?(r.prev=s,s.next=r):o=s,i===n?(o=o.prev).next=null:i++,r=s,s.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},function(e,t,n){var r=n(226),o=n(29),i="Expected a function";e.exports=function(e,t,n){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:a,maxWait:t,trailing:s})}},,,function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],p=t[c];if(!1===(o=n?n.call(r,u,p,c):void 0)||void 0===o&&u!==p)return!1}return!0}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(20),i=(r=o)&&r.__esModule?r:{default:r};t.attributeListToReact=s,t.nodeListToReact=c,t.nodeToReact=u;var a=[].concat(["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"],["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],["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"]).reduce(function(e,t){var n=t.toLowerCase();return t!==n&&(e[n]=t),e},{});function s(e){return[].concat((0,i.default)(e)).reduce(function(e,t){var n=t.name,r=t.value,o=a[n.replace(/[-:]/,"")]||n;return"style"===o&&(r=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(";").reduce(function(e,t){var n,r=t.split(":"),o=(n=r[0]||"",n.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})).trim(),i=(r[1]||"").trim();return o&&i&&(e[o]=i),e},{})}(r)),e[o]=r,e},{})}a.class="className";var l=0;function c(e,t){return[].concat((0,i.default)(e)).reduce(function(e,n){n._domReactKey||(n._domReactKey="_domReact"+String(l++));var r=u(n,t);return Array.isArray(r)?e.push.apply(e,(0,i.default)(r)):e.push(r),e},[])}function u(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=s(e.attributes)),e._domReactKey&&(r.key=e._domReactKey),e.hasChildNodes()&&(o=c(e.childNodes,t)),t.apply(void 0,[n,r].concat((0,i.default)(o)))}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t,n){var r=n(145),o=n(274),i=n(349),a=n(62),s=n(130),l=n(144),c=200;e.exports=function(e,t,n,u){var p=-1,f=o,d=!0,h=e.length,g=[],m=t.length;if(!h)return g;n&&(t=a(t,s(n))),u?(f=i,d=!1):t.length>=c&&(f=l,d=!1,t=new r(t));e:for(;++p<h;){var b=e[p],v=null==n?b:n(b);if(b=u||0!==b?b:0,d&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;g.push(b)}else f(t,v,u)||g.push(b)}return g}},function(e,t,n){var r=n(94),o=n(44);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,function(e,r,o){i[++n]=t(e,r,o)}),i}},,function(e,t,n){var r=n(83),o=n(445),i=/&(?:amp|lt|gt|quot|#39);/g,a=RegExp(i.source);e.exports=function(e){return(e=r(e))&&a.test(e)?e.replace(i,o):e}},function(e,t){!function(){e.exports=this.tinymce}()},function(e,t,n){var r=n(177),o=n(455),i=n(140),a=n(278),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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var r=i(n(472)),o=i(n(664));function i(e){return e&&e.__esModule?e:{default:e}}t.default={simpleCheckForValidColor:function(e){var t=0,n=0;return(0,r.default)(["r","g","b","a","h","s","a","v"],function(r){e[r]&&(t+=1,isNaN(e[r])||(n+=1))}),t===n&&e},toState:function(e,t){var n=e.hex?(0,o.default)(e.hex):(0,o.default)(e),r=n.toHsl(),i=n.toHsv(),a=n.toRgb(),s=n.toHex();return 0===r.s&&(r.h=t||0,i.h=t||0),{hsl:r,hex:"000000"===s&&0===a.a?"transparent":"#"+s,rgb:a,hsv:i,oldHue:e.h||t||r.h,source:e.source}},isValidHex:function(e){return(0,o.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,n){var r=n(89),o=n(403),i=n(60);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var c=t[a],u=r(e,c);n(u,c)&&o(l,i(c,e),u)}return l}},function(e,t,n){var r=n(24),o=n(127);e.exports=n(14).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){n(104),n(76),e.exports=n(359)},function(e,t,n){var r=n(36),o=n(276),i=n(31),a="[object Object]",s=Function.prototype,l=Object.prototype,c=s.toString,u=l.hasOwnProperty,p=c.call(Object);e.exports=function(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==p}},function(e,t){e.exports=function(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}},function(e,t,n){var r=n(62);e.exports=function(e,t){return r(t,function(t){return e[t]})}},function(e,t,n){var r=n(62),o=n(41),i=n(358),a=n(298);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),function(e){return[e]});return t=o(t),i(e,n,function(e,n){return t(e,n[0])})}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(488);t.default=r.default},function(e,t,n){var r=n(509),o=n(171),i=n(107),a=n(83);e.exports=function(e,t,n){return e=a(e),n=null==n?0:r(i(n),0,e.length),t=o(t),e.slice(n,n+t.length)==t}},function(e,t,n){e.exports={default:n(511),__esModule:!0}},function(e,t,n){"use strict";var r=n(505),o=n(504);function i(){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}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),p=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(305);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var y=e=c.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var _=l.exec(y);if(_)return this.path=y,this.href=y,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(y);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===y.substr(0,2);!k||w&&m[w]||(y=y.substr(2),this.slashes=!0)}if(!m[w]&&(k||w&&!b[w])){for(var E,C,S=-1,O=0;O<f.length;O++){-1!==(T=y.indexOf(f[O]))&&(-1===S||T<S)&&(S=T)}-1!==(C=-1===S?y.lastIndexOf("@"):y.lastIndexOf("@",S))&&(E=y.slice(0,C),y=y.slice(C+1),this.auth=decodeURIComponent(E)),S=-1;for(O=0;O<p.length;O++){var T;-1!==(T=y.indexOf(p[O]))&&(-1===S||T<S)&&(S=T)}-1===S&&(S=y.length),this.host=y.slice(0,S),y=y.slice(S),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var j=this.hostname.split(/\./),R=(O=0,j.length);O<R;O++){var N=j[O];if(N&&!N.match(d)){for(var P="",L=0,M=N.length;L<M;L++)N.charCodeAt(L)>127?P+="x":P+=N[L];if(!P.match(d)){var B=j.slice(0,O),D=j.slice(O+1),I=N.match(h);I&&(B.push(I[1]),D.unshift(I[2])),D.length&&(y="/"+D.join(".")+y),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+F,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!g[x])for(O=0,R=u.length;O<R;O++){var H=u[O];if(-1!==y.indexOf(H)){var U=encodeURIComponent(H);U===H&&(U=escape(H)),y=y.split(H).join(U)}}var q=y.indexOf("#");-1!==q&&(this.hash=y.substr(q),y=y.slice(0,q));var K=y.indexOf("?");if(-1!==K?(this.search=y.substr(K),this.query=y.substr(K+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,K)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var V=this.search||"";this.path=F+V}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[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||m[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 g=n.pathname||"",v=n.search||"";n.path=g+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||y||n.host&&e.pathname,x=w,k=n.pathname&&n.pathname.split("/")||[],E=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[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),w=w&&(""===h[0]||""===k[0])),_)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(!o.isNullOrUndefined(e.search)){if(E)n.hostname=n.host=k.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.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,O=0,T=k.length;T>=0;T--)"."===(C=k[T])?k.splice(T,1):".."===C?(k.splice(T,1),O++):O&&(k.splice(T,1),O--);if(!w&&!x)for(;O--;O)k.unshift("..");!w||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),S&&"/"!==k.join("/").substr(-1)&&k.push("");var A,j=""===k[0]||k[0]&&"/"===k[0].charAt(0);E&&(n.hostname=n.host=j?"":k.length?k.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(w=w||n.host&&k.length)&&!j&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.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},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},,function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(400),o=n(399),i=n(41),a=n(13);e.exports=function(e,t){return function(n,s){var l=a(n)?r:o,c=t?t():{};return l(n,e,i(s,2),c)}}},function(e,t,n){var r=n(41),o=n(44),i=n(38);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=r(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[l?t[c]:c]:void 0}}},function(e,t,n){var r=n(89),o=n(258);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t,n){var r=n(135),o=n(276),i=n(98);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(275);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){(function(e){var r=n(17),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(90)(e))},,,function(e,t,n){var r=n(113),o=n(371),i=Object.prototype.hasOwnProperty,a=o(function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=a},function(e,t,n){"use strict";e.exports=n(450)},function(e,t,n){e.exports={default:n(456),__esModule:!0}},function(e,t,n){e.exports={default:n(460),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return a});var r=n(427);function o(e){return i("post.php",{post:e,action:"edit"})}function i(e,t){return Object(r.a)(e,t)}function a(e){var t=e.replace(new RegExp("^https?://(www.)?"),"");return t.match("^[^/]+/$")?t.replace("/",""):t}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e){return decodeURIComponent(e.replace(/\+/g," "))}t.stringify=function(e,t){t=t||"";var n=[];for(var o in"string"!=typeof t&&(t="?"),e)r.call(e,o)&&n.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return n.length?t+n.join("&"):""},t.parse=function(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,r={};t=n.exec(e);r[o(t[1])]=o(t[2]));return r}},function(e,t,n){var r=n(177),o=n(49);e.exports=function(e,t){return r(o(e,t),1)}},function(e,t,n){var r=n(253),o=n(141),i=n(524),a=n(44),s=n(98),l=n(38),c=Object.prototype.hasOwnProperty,u=i(function(e,t){if(s(t)||a(t))o(t,l(t),e);else for(var n in t)c.call(t,n)&&r(e,n,t[n])});e.exports=u},function(e,t,n){var r=n(316),o=n(315),i=n(181),a="__lodash_placeholder__",s=1,l=2,c=4,u=8,p=128,f=256,d=Math.min;e.exports=function(e,t){var n=e[1],h=t[1],g=n|h,m=g<(s|l|p),b=h==p&&n==u||h==p&&n==f&&e[7].length<=t[8]||h==(p|f)&&t[7].length<=t[8]&&n==u;if(!m&&!b)return e;h&s&&(e[2]=t[2],g|=n&s?0:c);var v=t[3];if(v){var y=e[3];e[3]=y?r(y,v,t[4]):v,e[4]=y?i(e[3],a):t[4]}return(v=t[5])&&(y=e[5],e[5]=y?o(y,v,t[6]):v,e[6]=y?i(e[5],a):t[6]),(v=t[7])&&(e[7]=v),h&p&&(e[8]=null==e[8]?t[8]:d(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=g,e}},function(e,t,n){var r=n(167),o=n(183),i=n(17),a=1;e.exports=function(e,t,n,s){var l=t&a,c=o(e);return function t(){for(var o=-1,a=arguments.length,u=-1,p=s.length,f=Array(p+a),d=this&&this!==i&&this instanceof t?c:e;++u<p;)f[u]=s[u];for(;a--;)f[u++]=arguments[++o];return r(d,l?n:this,f)}}},function(e,t,n){var r=n(175),o=n(71),i=Math.min;e.exports=function(e,t){for(var n=e.length,a=i(t.length,n),s=r(e);a--;){var l=t[a];e[a]=o(l,n)?s[l]:void 0}return e}},function(e,t,n){var r=n(259),o=n(274),i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=function(e,t){return r(i,function(n){var r="_."+n[0];t&n[1]&&!o(e,r)&&e.push(r)}),e.sort()}},function(e,t){var n=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;e.exports=function(e,t){var r=t.length;if(!r)return e;var o=r-1;return t[o]=(r>1?"& ":"")+t[o],t=t.join(r>2?", ":" "),e.replace(n,"{\n/* [wrapped with "+t+"] */\n")}},function(e,t){var n=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;e.exports=function(e){var t=e.match(n);return t?t[1].split(r):[]}},function(e,t){e.exports=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}},function(e,t,n){var r=n(167),o=n(183),i=n(317),a=n(314),s=n(265),l=n(181),c=n(17);e.exports=function(e,t,n){var u=o(e);return function o(){for(var p=arguments.length,f=Array(p),d=p,h=s(o);d--;)f[d]=arguments[d];var g=p<3&&f[0]!==h&&f[p-1]!==h?[]:l(f,h);return(p-=g.length)<n?a(e,t,i,o.placeholder,void 0,f,g,void 0,void 0,n-p):r(this&&this!==c&&this instanceof o?u:e,this,f)}}},function(e,t,n){var r=n(183),o=n(17),i=1;e.exports=function(e,t,n){var a=t&i,s=r(e);return function t(){return(this&&this!==o&&this instanceof t?s:e).apply(a?n:this,arguments)}}},function(e,t,n){var r=n(318),o=n(395),i=n(394),a=n(317),s=n(388),l=n(182),c=n(387),u=n(310),p=n(309),f=n(107),d="Expected a function",h=1,g=2,m=8,b=16,v=32,y=64,_=Math.max;e.exports=function(e,t,n,w,x,k,E,C){var S=t&g;if(!S&&"function"!=typeof e)throw new TypeError(d);var O=w?w.length:0;if(O||(t&=~(v|y),w=x=void 0),E=void 0===E?E:_(f(E),0),C=void 0===C?C:f(C),O-=x?x.length:0,t&y){var T=w,A=x;w=x=void 0}var j=S?void 0:l(e),R=[e,t,n,w,x,T,A,k,E,C];if(j&&c(R,j),e=R[0],t=R[1],n=R[2],w=R[3],x=R[4],!(C=R[9]=void 0===R[9]?S?0:e.length:_(R[9]-O,0))&&t&(m|b)&&(t&=~(m|b)),t&&t!=h)N=t==m||t==b?i(e,t,C):t!=v&&t!=(h|v)||x.length?a.apply(void 0,R):s(e,t,n,w);else var N=o(e,t,n);return p((j?r:u)(N,R),e,t)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){var r=n(358),o=n(170);e.exports=function(e,t){return r(e,t,function(t,n){return o(e,n)})}},function(e,t,n){var r=n(94);e.exports=function(e,t,n,o){return r(e,function(e,r,i){t(o,e,n(e),i)}),o}},function(e,t){e.exports=function(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}},function(e,t,n){var r=n(17);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(58);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(253),o=n(60),i=n(71),a=n(29),s=n(46);e.exports=function(e,t,n,l){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,p=u-1,f=e;null!=f&&++c<u;){var d=s(t[c]),h=n;if(c!=p){var g=f[d];void 0===(h=l?l(g,d,f):void 0)&&(h=a(g)?g:i(t[c+1])?[]:{})}r(f,d,h),f=f[d]}return e}},function(e,t,n){var r=n(145),o=n(274),i=n(349),a=n(144),s=n(457),l=n(119),c=200;e.exports=function(e,t,n){var u=-1,p=o,f=e.length,d=!0,h=[],g=h;if(n)d=!1,p=i;else if(f>=c){var m=t?null:s(e);if(m)return l(m);d=!1,p=a,g=new r}else g=t?[]:h;e:for(;++u<f;){var b=e[u],v=t?t(b):b;if(b=n||0!==b?b:0,d&&v==v){for(var y=g.length;y--;)if(g[y]===v)continue e;t&&g.push(v),h.push(b)}else p(g,v,n)||(g!==h&&g.push(v),h.push(b))}return h}},function(e,t,n){var r=n(120),o=n(18)("iterator"),i=n(42);e.exports=n(14).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){n(104),n(76),e.exports=n(405)},function(e,t,n){e.exports={default:n(406),__esModule:!0}},function(e,t,n){var r=n(361);e.exports=function(e){return r(e)?void 0:e}},function(e,t,n){var r=n(60),o=n(91),i=n(373),a=n(46);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t,n){var r=n(43),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t){e.exports=function(e,t){return e.add(t),e}},function(e,t,n){var r=n(411),o=n(176),i=n(119),a=1;e.exports=function(e,t,n){var s=t?n(i(e),a):i(e);return o(s,r,new e.constructor)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t){e.exports=function(e,t){return e.set(t[0],t[1]),e}},function(e,t,n){var r=n(414),o=n(176),i=n(162),a=1;e.exports=function(e,t,n){var s=t?n(i(e),a):i(e);return o(s,r,new e.constructor)}},function(e,t,n){var r=n(275);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t,n){var r=n(275),o=n(416),i=n(415),a=n(413),s=n(412),l=n(410),c=n(375),u="[object Boolean]",p="[object Date]",f="[object Map]",d="[object Number]",h="[object RegExp]",g="[object Set]",m="[object String]",b="[object Symbol]",v="[object ArrayBuffer]",y="[object DataView]",_="[object Float32Array]",w="[object Float64Array]",x="[object Int8Array]",k="[object Int16Array]",E="[object Int32Array]",C="[object Uint8Array]",S="[object Uint8ClampedArray]",O="[object Uint16Array]",T="[object Uint32Array]";e.exports=function(e,t,n,A){var j=e.constructor;switch(t){case v:return r(e);case u:case p:return new j(+e);case y:return o(e,A);case _:case w:case x:case k:case E:case C:case S:case O:case T:return c(e,A);case f:return i(e,A,n);case d:case m:return new j(e);case h:return a(e);case g:return s(e,A,n);case b:return l(e)}}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(141),o=n(332);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(141),o=n(126);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){var r=n(29),o=n(98),i=n(421),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t,n){var r=n(141),o=n(299);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(141),o=n(38);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(94);e.exports=function(e,t){var n;return r(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}},function(e,t,n){var r=n(94);e.exports=function(e,t){var n=[];return r(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(3),o=n.n(r),i=n(368);n(305);function a(e,t){var n=Object(i.parse)(e,!0),r=o()({},n.query,t);return delete n.search,Object(i.format)(o()({},n,{query:r}))}},function(e,t,n){var r=n(404);e.exports=function(e){return e&&e.length?r(e):[]}},function(e,t,n){var r=n(333),o=4;e.exports=function(e){return r(e,o)}},,function(e,t,n){var r=n(180),o=n(402),i=n(107),a=9007199254740991,s=4294967295,l=Math.min;e.exports=function(e,t){if((e=i(e))<1||e>a)return[];var n=s,c=l(e,s);t=o(t),e-=s;for(var u=r(c,t);++n<e;)t(n);return u}},,function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,l){if(r(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,o,i,a,s,l],p=0;(c=new Error(t.replace(/%s/g,function(){return u[p++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},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){var n;"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof n.closest&&(n.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},function(e,t,n){var r=n(493)("toUpperCase");e.exports=r},,,function(e,t,n){var r=n(83),o=/[\\^$.*+?()[\]{}|]/g,i=RegExp(o.source);e.exports=function(e){return(e=r(e))&&i.test(e)?e.replace(o,"\\$&"):e}},function(e,t,n){var r=n(506),o=n(140)(function(e,t){return r(e,1,t)});e.exports=o},function(e,t,n){var r=n(513),o=n(512);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}},,,function(e,t,n){var r=n(370)({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});e.exports=r},function(e,t,n){var r=n(176),o=n(499),i=n(497),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(434),o=n(433),i=n(447);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";var r=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},o="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};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,p="currentStyle",f="runtimeStyle",d="left",h="px";var g=void 0;function m(e,t){for(var n=0;n<e.length;n++)t(e[n])}function b(e){return"border-box"===g(e,"boxSizing")}"undefined"!=typeof window&&(g=window.getComputedStyle?function(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(e,t){var n=e[p]&&e[p][t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r[d],i=e[f][d];e[f][d]=e[p][d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+h,r[d]=o,e[f][d]=i}return""===n?"auto":n});var v=["margin","border","padding"],y=-1,_=2,w=1;function x(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(g(e,s))||0}return r}function k(e){return null!=e&&e==e.window}var E={};function C(e,t,n){if(k(e))return"width"===t?E.viewportWidth(e):E.viewportHeight(e);if(9===e.nodeType)return"width"===t?E.docWidth(e):E.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(g(e),b(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=g(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?w:y);var s=void 0!==o||i,l=o||a;if(n===y)return s?l-x(e,["border","padding"],r):a;if(s){var c=n===_?-x(e,["border"],r):x(e,["margin"],r);return l+(n===w?0:c)}return a+x(e,v.slice(n),r)}m(["Width","Height"],function(e){E["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],E["viewport"+e](n))},E["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}});var S={position:"absolute",visibility:"hidden",display:"block"};function O(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=C.apply(void 0,n):function(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]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}(e,S,function(){t=C.apply(void 0,n)}),t}function T(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):g(e,t);for(var i in t)t.hasOwnProperty(i)&&T(e,i,t[i])}m(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);E["outer"+t]=function(t,n){return t&&O(t,e,n?0:w)};var n="width"===e?["Left","Right"]:["Top","Bottom"];E[e]=function(t,r){if(void 0===r)return t&&O(t,e,y);if(t){g(t);return b(t)&&(r+=x(t,["padding","border"],n)),T(t,e,r)}}}),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===T(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(T(e,i))||0,r[i]=o+t[i]-n[i]);T(e,r)}(e,t)},isWindow:k,each:m,css:T,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(k(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(k(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},E)},function(e,t,n){"use strict";var r=n(449);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=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;o=void 0===o||o;var f=r.isWindow(t),d=r.offset(e),h=r.outerHeight(e),g=r.outerWidth(e),m=void 0,b=void 0,v=void 0,y=void 0,_=void 0,w=void 0,x=void 0,k=void 0,E=void 0,C=void 0;f?(x=t,C=r.height(x),E=r.width(x),k={left:r.scrollLeft(x),top:r.scrollTop(x)},_={left:d.left-k.left-c,top:d.top-k.top-l},w={left:d.left+g-(k.left+E)+p,top:d.top+h-(k.top+C)+u},y=k):(m=r.offset(t),b=t.clientHeight,v=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},_={left:d.left-(m.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:d.top-(m.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},w={left:d.left+g-(m.left+v+(parseFloat(r.css(t,"borderRightWidth"))||0))+p,top:d.top+h-(m.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?r.scrollTop(t,y.top+_.top):!1===a?r.scrollTop(t,y.top+w.top):_.top<0?r.scrollTop(t,y.top+_.top):r.scrollTop(t,y.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,y.top+_.top):r.scrollTop(t,y.top+w.top)),o&&(_.left<0||w.left>0?!0===s?r.scrollLeft(t,y.left+_.left):!1===s?r.scrollLeft(t,y.left+w.left):_.left<0?r.scrollLeft(t,y.left+_.left):r.scrollLeft(t,y.left+w.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,y.left+_.left):r.scrollLeft(t,y.left+w.left)))}},function(e,t){var n="Expected a function";e.exports=function(e){if("function"!=typeof e)throw new TypeError(n);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)}}},function(e,t,n){var r=n(56);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e==e,a=r(e),s=void 0!==t,l=null===t,c=t==t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&n&&i&&!o&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}},function(e,t,n){var r=n(452);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o<s;){var c=r(i[o],a[o]);if(c)return o>=l?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},function(e,t,n){var r=n(62),o=n(41),i=n(351),a=n(454),s=n(130),l=n(453),c=n(58);e.exports=function(e,t,n){var u=-1;t=r(t.length?t:[c],s(o));var p=i(e,function(e,n,o){return{criteria:r(t,function(t){return t(e)}),index:++u,value:e}});return a(p,function(e,t){return l(e,t,n)})}},function(e,t,n){var r=n(14),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){var r=n(160),o=n(22),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){var r=n(51),o=n(37),i=n(64).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){var r=n(23),o=n(458)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){n(459),e.exports=n(14).Object.values},function(e,t,n){var r=n(94);e.exports=function(e,t){var n=!0;return r(e,function(e,r,o){return n=!!t(e,r,o)}),n}},function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h});var r=n(93),o=n.n(r),i=n(20),a=n.n(i),s=n(366),l=n.n(s),c=n(19),u=n.n(c),p=n(159),f=n.n(p);function d(e,t,n){var r=[],o=function(e,n){r[e]=n,t(f()(r))};[].concat(a()(e)).forEach(function(e,i){var a,s,c;if(a=e.type,l()(a,n+"/"))return r.push({url:window.URL.createObjectURL(e)}),t(r),(s=e,c=new window.FormData,c.append("file",s,s.name||s.type.replace("/",".")),wp.apiRequest({path:"/wp/v2/media",data:c,contentType:!1,processData:!1,method:"POST"})).then(function(e){var t={id:e.id,url:e.source_url,link:e.link},n=u()(e,["caption","raw"]);n&&(t.caption=[n]),o(i,t)},function(){o(i,null)})})}function h(e){return new o.a(function(t){var n=new window.Image;n.onload=function(){t(e)},n.src=e})}},,,function(e,t,n){var r=n(446)(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});e.exports=r},function(e,t,n){var r=n(258),o=n(107);e.exports=function(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:o(t),r(e,t<0?0:t,i)):[]}},function(e,t,n){var r=n(350),o=n(177),i=n(140),a=n(307),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(41),o=n(451),i=n(364);e.exports=function(e,t){return i(e,o(r(t)))}},function(e,t,n){var r=n(138),o=n(426),i=n(41),a=n(13),s=n(451);e.exports=function(e,t){return(a(e)?r:o)(e,s(i(t,3)))}},,function(e,t,n){e.exports=n(263)},,,,,,,,function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,p=o.random;function f(e,t){if(e=e||"",t=t||{},e instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,l=null,p=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(j[e])e=j[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=q.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=q.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=q.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=q.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=q.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=q.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=q.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=q.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:n?"name":"hex"};if(t=q.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=q.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(d=e.r,h=e.g,g=e.b,t={r:255*P(d,255),g:255*P(h,255),b:255*P(g,255)},p=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):K(e.h)&&K(e.s)&&K(e.v)?(r=D(e.s),s=D(e.v),t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(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]}}(e.h,r,s),p=!0,f="hsv"):K(e.h)&&K(e.s)&&K(e.l)&&(r=D(e.s),l=D(e.l),t=function(e,t,n){var r,o,i;function a(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}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),p=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var d,h,g;return n=N(n),{ok:p,format:e.format||f,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=s++}function d(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=c(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 h(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=c(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 g(e,t,n,r){var o=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(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 m(e,t,n,r){return[B(I(r)),B(l(e).toString(16)),B(l(t).toString(16)),B(l(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=L(n.s),f(n)}function v(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=L(n.s),f(n)}function y(e){return f(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=L(n.l),f(n)}function w(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),f(n)}function x(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=L(n.l),f(n)}function k(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function E(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function O(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function T(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function A(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.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=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(n).toString(16)),B(I(r))];if(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))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*P(this._r,255))+"%",g:l(100*P(this._g,255))+"%",b:l(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*P(this._r,255))+"%, "+l(100*P(this._g,255))+"%, "+l(100*P(this._b,255))+"%)":"rgba("+l(100*P(this._r,255))+"%, "+l(100*P(this._g,255))+"%, "+l(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(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 f(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(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:p(),g:p(),b:p()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=f.readability(e,t[c]))>l&&(l=r,s=f(t[c]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var j=f.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"},R=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(j);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return c(1,u(0,e))}function M(e){return parseInt(e,16)}function B(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function I(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return M(e)/255}var z,H,U,q=(H="[\\s|\\(]+("+(z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",U="[\\s|\\(]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",{CSS_UNIT:new RegExp(z),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+U),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})$/});function K(e){return!!q.CSS_UNIT.exec(e)}void 0!==e&&e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t){e.exports=function(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}},,,,function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]}},function(e,t,n){var r=n(485);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o: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="&nbsp;","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=r(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}},function(e,t,n){var r,o,i;
13
  /*!
14
  autosize 4.0.1
15
  license: MIT
16
  http://www.jacklmoore.com/autosize
17
- */o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t=null,n=null,r=null,a=function(){e.clientWidth!==n&&p()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",p,!1),e.removeEventListener("keyup",p,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",p,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),o.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",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",p,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",p,!1),e.addEventListener("autosize:update",p,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:s,update:p}),"vertical"===(l=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===l.resize&&(e.style.resize="horizontal"),t="content-box"===l.boxSizing?-(parseFloat(l.paddingTop)+parseFloat(l.paddingBottom)):parseFloat(l.borderTopWidth)+parseFloat(l.borderBottomWidth),isNaN(t)&&(t=0),p()}var l;function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var r=function(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}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}}function p(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o!==t?"hidden"===n.overflowY&&(c("scroll"),u(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),u(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),r!==o){r=o;var a=i("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}function s(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return a(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=c,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=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){var o=0;for(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 s=n(11),l=n(158),c=n(487),u=n(486),p=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),o=(n.onChange,n.style),s=(n.innerRef,a(n,["onResize","maxRows","onChange","style","innerRef"])),l=e.state.lineHeight,c=e.saveDOMNodeRef,u=r&&l?l*r:null;return i({},s,{saveDOMNodeRef:c,style:u?i({},o,{maxHeight:u}):o,onChange:t.onChange})},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows&&this.updateLineHeight(),setTimeout(function(){return c(e.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=a(e,["children","saveDOMNodeRef"]);return s.createElement("textarea",i({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(){this.props.value!==this.currentValue&&this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.func},t}(s.Component);t.default=p},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?"+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+l+")*"),u="(?:"+[i+r+"?",r,a,s,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+u+c,"g");e.exports=function(e){return e.match(p)||[]}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t,n){var r=n(490),o=n(397),i=n(489);e.exports=function(e){return o(e)?i(e):r(e)}},function(e,t,n){var r=n(258);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},function(e,t,n){var r=n(492),o=n(397),i=n(491),a=n(83);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},function(e,t){var n="\\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",r="["+n+"]",o="\\d+",i="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+n+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",p="(?:"+a+"|"+s+")",f="(?:"+u+"|"+s+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,c].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),g="(?:"+[i,l,c].join("|")+")"+h,m=RegExp([u+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,u,"$"].join("|")+")",f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,u+p,"$"].join("|")+")",u+"?"+p+"+(?:['’](?:d|ll|m|re|s|t|ve))?",u+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",o,g].join("|"),"g");e.exports=function(e){return e.match(m)||[]}},function(e,t){var n=/[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=function(e){return n.test(e)}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t,n){var r=n(496),o=n(495),i=n(83),a=n(494);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},function(e,t,n){var r=n(370)({"À":"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"});e.exports=r},function(e,t,n){var r=n(498),o=n(83),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(651)),i=r(n(650)),a=r(n(649));t.Raised=o.default,t.Tile=i.default,t.Tabs=a.default},function(e,t,n){var r=n(136),o=n(402);e.exports=function(e,t){return e&&r(e,o(t))}},function(e,t,n){"use strict";var r=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?i(a(e),function(a){var s=encodeURIComponent(r(a))+n;return o(e[a])?i(e[a],function(e){return s+encodeURIComponent(r(e))}).join(t):s+encodeURIComponent(r(e[a]))}).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(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 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){"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,g=e[u].replace(s,"%20"),m=g.indexOf(n);m>=0?(p=g.substr(0,m),f=g.substr(m+1)):(p=g,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";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){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,c=36,u=1,p=26,f=38,d=700,h=72,g=128,m="-",b=/^xn--/,v=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,x=Math.floor,k=String.fromCharCode;function E(e){throw new RangeError(_[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function S(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(y,".")).split("."),t).join(".")}function O(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function T(e){return C(e,function(e){var t="";return e>65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)}).join("")}function A(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function j(e,t,n){var r=0;for(e=n?x(e/d):e>>1,e+=x(e/t);e>w*p>>1;r+=c)e=x(e/w);return x(r+(w+1)*e/(e+f))}function R(e){var t,n,r,o,i,a,s,f,d,b,v,y=[],_=e.length,w=0,k=g,C=h;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&E("not-basic"),y.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<_;){for(i=w,a=1,s=c;o>=_&&E("invalid-input"),((f=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:c)>=c||f>x((l-w)/a))&&E("overflow"),w+=f*a,!(f<(d=s<=C?u:s>=C+p?p:s-C));s+=c)a>x(l/(b=c-d))&&E("overflow"),a*=b;C=j(w-i,t=y.length+1,0==i),x(w/t)>l-k&&E("overflow"),k+=x(w/t),w%=t,y.splice(w++,0,k)}return T(y)}function N(e){var t,n,r,o,i,a,s,f,d,b,v,y,_,w,C,S=[];for(y=(e=O(e)).length,t=g,n=0,i=h,a=0;a<y;++a)(v=e[a])<128&&S.push(k(v));for(r=o=S.length,o&&S.push(m);r<y;){for(s=l,a=0;a<y;++a)(v=e[a])>=t&&v<s&&(s=v);for(s-t>x((l-n)/(_=r+1))&&E("overflow"),n+=(s-t)*_,t=s,a=0;a<y;++a)if((v=e[a])<t&&++n>l&&E("overflow"),v==t){for(f=n,d=c;!(f<(b=d<=i?u:d>=i+p?p:d-i));d+=c)C=f-b,w=c-b,S.push(k(A(b+C%w,0))),f=x(C/w);S.push(k(A(f,0))),i=j(n,_,r==o),n=0,++r}++n,++t}return S.join("")}s={version:"1.4.1",ucs2:{decode:O,encode:T},decode:R,encode:N,toASCII:function(e){return S(e,function(e){return v.test(e)?"xn--"+N(e):e})},toUnicode:function(e){return S(e,function(e){return b.test(e)?R(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return s}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(90)(e),n(121))},function(e,t){var n="Expected a function";e.exports=function(e,t,r){if("function"!=typeof e)throw new TypeError(n);return setTimeout(function(){e.apply(void 0,r)},t)}},function(e,t,n){var r;!function(){var n=/\r\n|[\n\r\u2028\u2029]/,o=new RegExp(n.source,"g");function i(e,t){t=function(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}(t=t||{},"css"),e=e||"";var r=0,a=t.indent_size?parseInt(t.indent_size,10):4,s=t.indent_char||" ",l=void 0!==t.preserve_newlines&&t.preserve_newlines,c=void 0===t.selector_separator_newline||t.selector_separator_newline,u=void 0!==t.end_with_newline&&t.end_with_newline,p=void 0===t.newline_between_rules||t.newline_between_rules,f=void 0!==t.space_around_combinator&&t.space_around_combinator;f=f||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var d=t.eol?t.eol:"auto";t.indent_with_tabs&&(s="\t",a=1),"auto"===d&&(d="\n",e&&n.test(e||"")&&(d=e.match(n)[0])),d=d.replace(/\\r/,"\r").replace(/\\n/,"\n");var h,g=/^\s+$/,m=-1,b=0;function v(){return(h=e.charAt(++m))||""}function y(t){var n,r=m;return t&&w(),n=e.charAt(m+1)||"",m=r-1,v(),n}function _(t){for(var n=m;v();)if("\\"===h)v();else{if(-1!==t.indexOf(h))break;if("\n"===h)break}return e.substring(n,m+1)}function w(e){for(var t=0;g.test(y());)v(),"\n"===h&&e&&l&&(N.newLine(!0),t++);return r=t,t}function x(){var e="";for(h&&g.test(h)&&(e=h);g.test(v());)e+=h;return e}function k(t){var n=m;for(t="/"===y(),v();v();){if(!t&&"*"===h&&"/"===y()){v();break}if(t&&"\n"===h)return e.substring(n,m)}return e.substring(n,m)+h}function E(t){return e.substring(m-t.length,m).toLowerCase()===t}function C(){for(var t=0,n=m+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}var S=(e=e.replace(o,"\n")).match(/^[\t ]*/)[0],O=new Array(a+1).join(s),T=0,A=0;for(var j,R,N={"{":function(e){N.singleSpace(),P.push(e),w(!0)||N.newLine()},"}":function(e){e&&N.newLine(),P.push("}"),w(!0)||N.newLine()},_lastCharWhitespace:function(){return g.test(P[P.length-1])},newLine:function(e){P.length&&(e||"\n"===P[P.length-1]?P[P.length-1]===S&&P.pop():N.trim(),P.push("\n"),S&&P.push(S))},singleSpace:function(){P.length&&!N._lastCharWhitespace()&&P.push(" ")},preserveSingleSpace:function(){z&&N.singleSpace()},trim:function(){for(;N._lastCharWhitespace();)P.pop()}},P=[],L=!1,M=!1,B=!1,D="",I="";;){var F=x(),z=""!==F,H=-1!==F.indexOf("\n");if(I=D,D=h,!h)break;if("/"===h&&"*"===y()){var U=0===T;(H||U)&&N.newLine(),P.push(k()),N.newLine(),U&&N.newLine(!0)}else if("/"===h&&"/"===y())H||"{"===I||N.trim(),N.singleSpace(),P.push(k()),N.newLine();else if("@"===h)if(N.preserveSingleSpace(),"{"===y())P.push(_("}"));else{P.push(h);var q=(void 0,void 0,j=m,R=_(": ,;{}()[]/='\""),m=j-1,v(),R);q.match(/[ :]$/)&&(v(),q=_(": ").replace(/\s$/,""),P.push(q),N.singleSpace()),(q=q.replace(/\s$/,""))in i.NESTED_AT_RULE&&(A+=1,q in i.CONDITIONAL_GROUP_RULE&&(B=!0))}else"#"===h&&"{"===y()?(N.preserveSingleSpace(),P.push(_("}"))):"{"===h?"}"===y(!0)?(w(),v(),N.singleSpace(),P.push("{"),N["}"](!1),r<2&&p&&0===T&&N.newLine(!0)):(T++,S+=O,N["{"](h),B?(B=!1,L=T>A):L=T>=A):"}"===h?(T--,S=S.slice(0,-a),N["}"](!0),L=!1,M=!1,A&&A--,r<2&&p&&0===T&&N.newLine(!0)):":"===h?(w(),!L&&!B||E("&")||C()||E("(")?(E(" ")&&" "!==P[P.length-1]&&P.push(" "),":"===y()?(v(),P.push("::")):P.push(":")):(P.push(":"),M||(M=!0,N.singleSpace()))):'"'===h||"'"===h?(N.preserveSingleSpace(),P.push(_(h))):";"===h?(M=!1,P.push(h),w(!0)||N.newLine()):"("===h?E("url")?(P.push(h),w(),v()&&(")"!==h&&'"'!==h&&"'"!==h?P.push(_(")")):m--)):(b++,N.preserveSingleSpace(),P.push(h),w()):")"===h?(P.push(h),b--):","===h?(P.push(h),!w(!0)&&c&&!M&&b<1?N.newLine():N.singleSpace()):(">"===h||"+"===h||"~"===h)&&!M&&b<1?f?(N.singleSpace(),P.push(h),N.singleSpace()):(P.push(h),w(),h&&g.test(h)&&(h="")):"]"===h?P.push(h):"["===h?(N.preserveSingleSpace(),P.push(h)):"="===h?(w(),P.push("="),g.test(h)&&(h="")):(N.preserveSingleSpace(),P.push(h))}var K="";return S&&(K+=S),K+=P.join("").replace(/[\r\n\t ]+$/,""),u&&(K+="\n"),"\n"!==d&&(K=K.replace(/[\n]/g,d)),K}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},void 0===(r=function(){return{css_beautify:i}}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r;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,o,i,a={};function s(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function l(e){return e.replace(/^\s+|\s+$/g,"")}n=a,r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",o=new RegExp("["+r+"]"),i=new RegExp("["+r+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),n.newline=/[\n\r\u2028\u2029]/,n.lineBreak=new RegExp("\r\n|"+n.newline.source),n.allLineBreaks=new RegExp(n.lineBreak.source,"g"),n.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&o.test(String.fromCharCode(e)))},n.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&i.test(String.fromCharCode(e))))};var c={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},u=[c.before_newline,c.preserve_newline],p={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};var f=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)>=0&&e<n&&(o=t.charAt(e)),o},this.peekCharCode=function(e){var o=0;return e=e||0,(e+=r)>=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}},d=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 function(e,t){"use strict";var n,r,o,i,h,g,m,b,v,y,_,w,x,k=[],E="";function C(e,t){var r=0;return e&&(r=e.indentation_level,!n.just_added_newline()&&e.line_indent_level>r&&(r=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:r,line_indent_level:e?e.line_indent_level:r,start_line_index:n.get_line_number(),ternary_depth:0}}w={TK_START_EXPR:function(){z()||T(i);var e=p.Expression;if("["===i.text){if("TK_WORD"===h||")"===b.last_text)return"TK_RESERVED"===h&&s(b.last_text,o.line_starters)&&(n.space_before_token=!0),M(e),P(),L(),void(x.space_in_paren&&(n.space_before_token=!0));e=p.ArrayLiteral,B(b.mode)&&("["!==b.last_text&&(","!==b.last_text||"]"!==g&&"}"!==g)||x.keep_array_indentation||R())}else"TK_RESERVED"===h&&"for"===b.last_text?e=p.ForInitializer:"TK_RESERVED"===h&&s(b.last_text,["if","while"])&&(e=p.Conditional);";"===b.last_text||"TK_START_BLOCK"===h?R():"TK_END_EXPR"===h||"TK_START_EXPR"===h||"TK_END_BLOCK"===h||"."===b.last_text?j(i.wanted_newline):"TK_RESERVED"===h&&"("===i.text||"TK_WORD"===h||"TK_OPERATOR"===h?"TK_RESERVED"===h&&("function"===b.last_word||"typeof"===b.last_word)||"*"===b.last_text&&(s(g,["function","yield"])||b.mode===p.ObjectLiteral&&s(g,["{",","]))?x.space_after_anon_function&&(n.space_before_token=!0):"TK_RESERVED"!==h||!s(b.last_text,o.line_starters)&&"catch"!==b.last_text||x.space_before_conditional&&(n.space_before_token=!0):n.space_before_token=!0,"("===i.text&&"TK_RESERVED"===h&&"await"===b.last_word&&(n.space_before_token=!0),"("===i.text&&("TK_EQUALS"!==h&&"TK_OPERATOR"!==h||F()||j()),"("===i.text&&"TK_WORD"!==h&&"TK_RESERVED"!==h&&j(),M(e),P(),x.space_in_paren&&(n.space_before_token=!0),L()},TK_END_EXPR:function(){for(;b.mode===p.Statement;)I();T(i),b.multiline_frame&&j("]"===i.text&&B(b.mode)&&!x.keep_array_indentation),x.space_in_paren&&("TK_START_EXPR"!==h||x.space_in_empty_paren?n.space_before_token=!0:(n.trim(),n.space_before_token=!1)),"]"===i.text&&x.keep_array_indentation?(P(),I()):(I(),P()),n.remove_redundant_indentation(v),b.do_while&&v.mode===p.Conditional&&(v.mode=p.Expression,b.do_block=!1,b.do_while=!1)},TK_START_BLOCK:function(){T(i);var e=U(1),t=U(2);t&&(s(t.text,[":",","])&&s(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||s(e.text,["get","set","..."])&&s(t.type,["TK_WORD","TK_RESERVED"]))?s(g,["class","interface"])?M(p.BlockStatement):M(p.ObjectLiteral):"TK_OPERATOR"===h&&"=>"===b.last_text?M(p.BlockStatement):s(h,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===h&&s(b.last_text,["return","throw","import","default"])?M(p.ObjectLiteral):M(p.BlockStatement);var r=!e.comments_before.length&&"}"===e.text&&"function"===b.last_word&&"TK_END_EXPR"===h;if(x.brace_preserve_inline){var o=0,a=null;b.inline_frame=!0;do{if((a=U(o+=1)).wanted_newline){b.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==i))}("expand"===x.brace_style||"none"===x.brace_style&&i.wanted_newline)&&!b.inline_frame?"TK_OPERATOR"!==h&&(r||"TK_EQUALS"===h||"TK_RESERVED"===h&&H(b.last_text)&&"else"!==b.last_text)?n.space_before_token=!0:R(!1,!0):(!B(v.mode)||"TK_START_EXPR"!==h&&"TK_COMMA"!==h||(("TK_COMMA"===h||x.space_in_paren)&&(n.space_before_token=!0),("TK_COMMA"===h||"TK_START_EXPR"===h&&b.inline_frame)&&(j(),v.multiline_frame=v.multiline_frame||b.multiline_frame,b.multiline_frame=!1)),"TK_OPERATOR"!==h&&"TK_START_EXPR"!==h&&("TK_START_BLOCK"!==h||b.inline_frame?n.space_before_token=!0:R())),P(),L()},TK_END_BLOCK:function(){for(T(i);b.mode===p.Statement;)I();var e="TK_START_BLOCK"===h;b.inline_frame&&!e?n.space_before_token=!0:"expand"===x.brace_style?e||R():e||(B(b.mode)&&x.keep_array_indentation?(x.keep_array_indentation=!1,R(),x.keep_array_indentation=!0):R()),I(),P()},TK_WORD:q,TK_RESERVED:q,TK_SEMICOLON:function(){z()?n.space_before_token=!1:T(i);for(var e=U(1);!(b.mode!==p.Statement||b.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||b.do_block);)I();b.import_block&&(b.import_block=!1),P()},TK_STRING:function(){z()?n.space_before_token=!0:(T(i),"TK_RESERVED"===h||"TK_WORD"===h||b.inline_frame?n.space_before_token=!0:"TK_COMMA"===h||"TK_START_EXPR"===h||"TK_EQUALS"===h||"TK_OPERATOR"===h?F()||j():R()),P()},TK_EQUALS:function(){z()||T(i),b.declaration_statement&&(b.declaration_assignment=!0),n.space_before_token=!0,P(),n.space_before_token=!0},TK_OPERATOR:function(){var e="*"===i.text&&("TK_RESERVED"===h&&s(b.last_text,["function","yield"])||s(h,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=s(i.text,["-","+"])&&(s(h,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||s(b.last_text,o.line_starters)||","===b.last_text);if(z());else{var r=!e;T(i,r)}if("TK_RESERVED"===h&&H(b.last_text))return n.space_before_token=!0,void P();if("*"!==i.text||"TK_DOT"!==h)if("::"!==i.text){if("TK_OPERATOR"===h&&s(x.operator_position,u)&&j(),":"===i.text&&b.in_case)return b.case_body=!0,L(),P(),R(),void(b.in_case=!1);var a=!0,l=!0,f=!1;if(":"===i.text?0===b.ternary_depth?a=!1:(b.ternary_depth-=1,f=!0):"?"===i.text&&(b.ternary_depth+=1),!t&&!e&&x.preserve_newlines&&s(i.text,o.positionable_operators)){var d=":"===i.text,g=d&&f,m=d&&!f;switch(x.operator_position){case c.before_newline:return n.space_before_token=!m,P(),d&&!g||j(),void(n.space_before_token=!0);case c.after_newline:return n.space_before_token=!0,!d||g?U(1).wanted_newline?R(!1,!0):j():n.space_before_token=!1,P(),void(n.space_before_token=!0);case c.preserve_newline:return m||j(),a=!(n.just_added_newline()||m),n.space_before_token=a,P(),void(n.space_before_token=!0)}}if(e){j(),a=!1;var v=U(1);l=v&&s(v.type,["TK_WORD","TK_RESERVED"])}else"..."===i.text?(j(),a="TK_START_BLOCK"===h,l=!1):(s(i.text,["--","++","!","~"])||t)&&(a=!1,l=!1,!i.wanted_newline||"--"!==i.text&&"++"!==i.text||R(!1,!0),";"===b.last_text&&D(b.mode)&&(a=!0),"TK_RESERVED"===h?a=!0:"TK_END_EXPR"===h?a=!("]"===b.last_text&&("--"===i.text||"++"===i.text)):"TK_OPERATOR"===h&&(a=s(i.text,["--","-","++","+"])&&s(b.last_text,["--","-","++","+"]),s(i.text,["+","-"])&&s(b.last_text,["--","++"])&&(l=!0)),(b.mode!==p.BlockStatement||b.inline_frame)&&b.mode!==p.Statement||"{"!==b.last_text&&";"!==b.last_text||R());n.space_before_token=n.space_before_token||a,P(),n.space_before_token=l}else P();else P()},TK_COMMA:function(){T(i,!0),P(),n.space_before_token=!0,b.declaration_statement?(D(b.parent.mode)&&(b.declaration_assignment=!1),b.declaration_assignment?(b.declaration_assignment=!1,R(!1,!0)):x.comma_first&&j()):b.mode===p.ObjectLiteral||b.mode===p.Statement&&b.parent.mode===p.ObjectLiteral?(b.mode===p.Statement&&I(),b.inline_frame||R()):x.comma_first&&j()},TK_BLOCK_COMMENT:function(e){if(n.raw)return n.add_raw_token(i),void(i.directives&&"end"===i.directives.preserve&&(n.raw=x.test_output_raw));if(i.directives)return R(!1,e),P(),"start"===i.directives.preserve&&(n.raw=!0),void R(!1,!0);if(!a.newline.test(i.text)&&!i.wanted_newline)return n.space_before_token=!0,P(),void(n.space_before_token=!0);var t,r=function(e){for(var t=[],n=(e=e.replace(a.allLineBreaks,"\n")).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}(i.text),o=!1,s=!1,c=i.whitespace_before,u=c.length;for(R(!1,e),r.length>1&&(o=function(e,t){for(var n=0;n<e.length;n++){var r=l(e[n]);if(r.charAt(0)!==t)return!1}return!0}(r.slice(1),"*"),s=function(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}(r.slice(1),c)),P(r[0]),t=1;t<r.length;t++)R(!1,!0),o?P(" "+r[t].replace(/^\s+/g,"")):s&&r[t].length>u?P(r[t].substring(u)):n.add_token(r[t]);R(!1,e)},TK_COMMENT:function(e){i.wanted_newline?R(!1,e):n.trim(!0),n.space_before_token=!0,P(),R(!1,e)},TK_DOT:function(){z()||T(i,!0),"TK_RESERVED"===h&&H(b.last_text)?n.space_before_token=!0:j(")"===b.last_text&&x.break_chained_methods),P()},TK_UNKNOWN:function(e){P(),"\n"===i.text[i.text.length-1]&&R(!1,e)},TK_EOF:function(){for(;b.mode===p.Statement;)I();T(i)}},t=function(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}(t=t||{},"js"),x={},"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 S=t.brace_style.split(/[^a-zA-Z0-9_\-]+/);for(x.brace_style=S[0],x.brace_preserve_inline=!!S[1]&&S[1],x.indent_size=t.indent_size?parseInt(t.indent_size,10):4,x.indent_char=t.indent_char?t.indent_char:" ",x.eol=t.eol?t.eol:"auto",x.preserve_newlines=void 0===t.preserve_newlines||t.preserve_newlines,x.break_chained_methods=void 0!==t.break_chained_methods&&t.break_chained_methods,x.max_preserve_newlines=void 0===t.max_preserve_newlines?0:parseInt(t.max_preserve_newlines,10),x.space_in_paren=void 0!==t.space_in_paren&&t.space_in_paren,x.space_in_empty_paren=void 0!==t.space_in_empty_paren&&t.space_in_empty_paren,x.jslint_happy=void 0!==t.jslint_happy&&t.jslint_happy,x.space_after_anon_function=void 0!==t.space_after_anon_function&&t.space_after_anon_function,x.keep_array_indentation=void 0!==t.keep_array_indentation&&t.keep_array_indentation,x.space_before_conditional=void 0===t.space_before_conditional||t.space_before_conditional,x.unescape_strings=void 0!==t.unescape_strings&&t.unescape_strings,x.wrap_line_length=void 0===t.wrap_line_length?0:parseInt(t.wrap_line_length,10),x.e4x=void 0!==t.e4x&&t.e4x,x.end_with_newline=void 0!==t.end_with_newline&&t.end_with_newline,x.comma_first=void 0!==t.comma_first&&t.comma_first,x.operator_position=function(e){e=e||c.before_newline;var t=Object.values(c);if(!s(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}(t.operator_position),x.test_output_raw=void 0!==t.test_output_raw&&t.test_output_raw,x.jslint_happy&&(x.space_after_anon_function=!0),t.indent_with_tabs&&(x.indent_char="\t",x.indent_size=1),"auto"===x.eol&&(x.eol="\n",e&&a.lineBreak.test(e||"")&&(x.eol=e.match(a.lineBreak)[0])),x.eol=x.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),m="";x.indent_size>0;)m+=x.indent_char,x.indent_size-=1;var O=0;if(e&&e.length){for(;" "===e.charAt(O)||"\t"===e.charAt(O);)E+=e.charAt(O),O+=1;e=e.substring(O)}function T(e,t){for(var n=e.newlines,r=x.keep_array_indentation&&B(b.mode),o=i,a=0;a<e.comments_before.length;a++)T(i=e.comments_before[a],t),w[i.type](t);if(i=o,r)for(var s=0;s<n;s+=1)R(s>0,t);else if(x.max_preserve_newlines&&n>x.max_preserve_newlines&&(n=x.max_preserve_newlines),x.preserve_newlines&&e.newlines>1){R(!1,t);for(var l=1;l<n;l+=1)R(!0,t)}}h="TK_START_BLOCK",g="",(n=new function(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 function(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}}(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(){var e=n.join("\n").replace(/[\r\n\t ]+$/,"");return e},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!==p.ForInitializer&&e.mode!==p.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;var e=n[n.length-2];return e.is_empty()}return!1}}(m,E)).raw=x.test_output_raw,y=[],M(p.BlockStatement),this.beautify=function(){var t;for(o=new function(e,t){var n="\n\r\t ".split(""),r=/[0-9]/,o=/[01]/,i=/[01234567]/,c=/[0123456789abcdefABCDEF]/;this.positionable_operators="!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||".split(" ");var u=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 p,h,g,m,b,v=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),y=/([\s\S]*?)((?:\*\/)|$)/g,_=/([^\n\r\u2028\u2029]*)/g,w=/\/\* beautify( \w+[:]\w+)+ \*\//g,x=/ (\w+)[:](\w+)/g,k=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,E=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;function C(){var e,C=[];p=0,h="";var S,O=b.next();if(null===O)return["","TK_EOF"];for(S=m.length?m[m.length-1]:new d("TK_START_BLOCK","{");s(O,n);)if(a.newline.test(O)?"\n"===O&&"\r"===b.peek(-2)||(p+=1,C=[]):C.push(O),null===(O=b.next()))return["","TK_EOF"];if(C.length&&(h=C.join("")),r.test(O)||"."===O&&b.testChar(r)){var T=!0,A=!0,j=r;for("0"===O&&b.testChar(/[XxOoBb]/)?(T=!1,A=!1,j=b.testChar(/[Bb]/)?o:b.testChar(/[Oo]/)?i:c,O+=b.next()):"."===O?T=!1:(O="",b.back());b.testChar(j);)O+=b.next(),T&&"."===b.peek()&&(O+=b.next(),T=!1),A&&b.testChar(/[Ee]/)&&(O+=b.next(),b.testChar(/[+-]/)&&(O+=b.next()),A=!1,T=!1);return[O,"TK_WORD"]}if(a.isIdentifierStart(b.peekCharCode(-1))){if(b.hasNext())for(;a.isIdentifierChar(b.peekCharCode())&&(O+=b.next(),b.hasNext()););return"TK_DOT"===S.type||"TK_RESERVED"===S.type&&s(S.text,["set","get"])||!s(O,v)?[O,"TK_WORD"]:"in"===O||"of"===O?[O,"TK_OPERATOR"]:[O,"TK_RESERVED"]}if("("===O||"["===O)return[O,"TK_START_EXPR"];if(")"===O||"]"===O)return[O,"TK_END_EXPR"];if("{"===O)return[O,"TK_START_BLOCK"];if("}"===O)return[O,"TK_END_BLOCK"];if(";"===O)return[O,"TK_SEMICOLON"];if("/"===O){var R,N="";if("*"===b.peek()){b.next(),R=b.match(y);var P=function(e){if(!e.match(w))return null;var t={};x.lastIndex=0;for(var n=x.exec(e);n;)t[n[1]]=n[2],n=x.exec(e);return t}(N="/*"+R[0]);return P&&"start"===P.ignore&&(R=b.match(k),N+=R[0]),[N=N.replace(a.allLineBreaks,"\n"),"TK_BLOCK_COMMENT",P]}if("/"===b.peek())return b.next(),R=b.match(_),[N="//"+R[0],"TK_COMMENT"]}var L=/<()([-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("`"===O||"'"===O||'"'===O||("/"===O||t.e4x&&"<"===O&&b.test(L,-1))&&("TK_RESERVED"===S.type&&s(S.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===S.type&&")"===S.text&&S.parent&&"TK_RESERVED"===S.parent.type&&s(S.parent.text,["if","while","for"])||s(S.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var M=O,B=!1,D=!1;if(e=O,"/"===M)for(var I=!1;b.hasNext()&&(B||I||b.peek()!==M)&&!b.testChar(a.newline);)e+=b.peek(),B?B=!1:(B="\\"===b.peek(),"["===b.peek()?I=!0:"]"===b.peek()&&(I=!1)),b.next();else if(t.e4x&&"<"===M){var F=/[\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;b.back();var z="",H=b.match(L);if(H){for(var U=H[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),q=0===U.indexOf("{"),K=0;H;){var V=!!H[1],W=H[2],G=!!H[H.length-1]||"![CDATA["===W.slice(0,8);if(!G&&(W===U||q&&W.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(V?--K:++K),z+=H[0],K<=0)break;H=b.match(F)}return H||(z+=b.match(/[\s\S]*/g)[0]),[z=z.replace(a.allLineBreaks,"\n"),"TK_STRING"]}}else{var $=function(t,n,r){for(var o;b.hasNext()&&(o=b.peek(),B||o!==t&&(n||!a.newline.test(o)));)(B||n)&&a.newline.test(o)?("\r"===o&&"\n"===b.peek(1)&&(b.next(),o=b.peek()),e+="\n"):e+=o,B?("x"!==o&&"u"!==o||(D=!0),B=!1):B="\\"===o,b.next(),r&&-1!==e.indexOf(r,e.length-r.length)&&("`"===t?$("}",n,"`"):$("`",n,"${"),b.hasNext()&&(e+=b.next()))};"`"===M?$("`",!0,"${"):$(M)}if(D&&t.unescape_strings&&(e=function(e){for(var t="",n=0,r=new f(e),o=null;r.hasNext();)if((o=r.match(/([\s]|[^\\]|\\\\)+/g))&&(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}(e)),b.peek()===M&&(e+=M,b.next(),"/"===M))for(;b.hasNext()&&a.isIdentifierStart(b.peekCharCode());)e+=b.next();return[e,"TK_STRING"]}if("#"===O){if(0===m.length&&"!"===b.peek()){for(e=O;b.hasNext()&&"\n"!==O;)O=b.next(),e+=O;return[l(e)+"\n","TK_UNKNOWN"]}var X="#";if(b.hasNext()&&b.testChar(r)){do{O=b.next(),X+=O}while(b.hasNext()&&"#"!==O&&"="!==O);return"#"===O||("["===b.peek()&&"]"===b.peek(1)?(X+="[]",b.next(),b.next()):"{"===b.peek()&&"}"===b.peek(1)&&(X+="{}",b.next(),b.next())),[X,"TK_WORD"]}}if("<"===O&&("?"===b.peek()||"%"===b.peek())){b.back();var Y=b.match(E);if(Y)return[O=(O=Y[0]).replace(a.allLineBreaks,"\n"),"TK_STRING"]}if("<"===O&&b.match(/\!--/g)){for(O="\x3c!--";b.hasNext()&&!b.testChar(a.newline);)O+=b.next();return g=!0,[O,"TK_COMMENT"]}if("-"===O&&g&&b.match(/->/g))return g=!1,["--\x3e","TK_COMMENT"];if("."===O)return"."===b.peek()&&"."===b.peek(1)?[O+=b.next()+b.next(),"TK_OPERATOR"]:[O,"TK_DOT"];if(s(O,u)){for(;b.hasNext()&&s(O+b.peek(),u)&&(O+=b.next(),b.hasNext()););return","===O?[O,"TK_COMMA"]:"="===O?[O,"TK_EQUALS"]:[O,"TK_OPERATOR"]}return[O,"TK_UNKNOWN"]}this.tokenize=function(){var t,n,r;b=new f(e),g=!1,m=[];for(var o=null,i=[],a=[];!n||"TK_EOF"!==n.type;){for(r=C(),t=new d(r[1],r[0],p,h);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=r[2]),a.push(t),r=C(),t=new d(r[1],r[0],p,h);a.length&&(t.comments_before=a,a=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,i.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=i.pop()),m.push(t),n=t}return m}}(e,x,m),k=o.tokenize(),r=0,i=U();i;)w[i.type](),g=b.last_text,h=i.type,b.last_text=i.text,r+=1,i=U();return t=n.get_code(),x.end_with_newline&&(t+="\n"),"\n"!==x.eol&&(t=t.replace(/[\n]/g,x.eol)),t};var A=["break","continue","return","throw"];function j(e){if(e=void 0!==e&&e,!n.just_added_newline()){var t=x.preserve_newlines&&i.wanted_newline||e;if(s(b.last_text,o.positionable_operators)||s(i.text,o.positionable_operators)){var r=s(b.last_text,o.positionable_operators)&&s(x.operator_position,u)||s(i.text,o.positionable_operators);t=t&&r}if(t)R(!1,!0);else if(x.wrap_line_length){if("TK_RESERVED"===h&&s(b.last_text,A))return;n.current_line.get_character_count()+i.text.length+(n.space_before_token?1:0)>=x.wrap_line_length&&R(!1,!0)}}}function R(e,t){if(!t&&";"!==b.last_text&&","!==b.last_text&&"="!==b.last_text&&"TK_OPERATOR"!==h)for(var r=U(1);!(b.mode!==p.Statement||b.if_block&&r&&"TK_RESERVED"===r.type&&"else"===r.text||b.do_block);)I();n.add_new_line(e)&&(b.multiline_frame=!0)}function N(){n.just_added_newline()&&(x.keep_array_indentation&&B(b.mode)&&i.wanted_newline?(n.current_line.push(i.whitespace_before),n.space_before_token=!1):n.set_indent(b.indentation_level)&&(b.line_indent_level=b.indentation_level))}function P(e){if(n.raw)n.add_raw_token(i);else{if(x.comma_first&&"TK_COMMA"===h&&n.just_added_newline()&&","===n.previous_line.last()){var t=n.previous_line.pop();n.previous_line.is_empty()&&(n.previous_line.push(t),n.trim(!0),n.current_line.pop(),n.trim()),N(),n.add_token(","),n.space_before_token=!0}e=e||i.text,N(),n.add_token(e)}}function L(){b.indentation_level+=1}function M(e){b?(y.push(b),v=b):v=C(null,e),b=C(v,e)}function B(e){return e===p.ArrayLiteral}function D(e){return s(e,[p.Expression,p.ForInitializer,p.Conditional])}function I(){y.length>0&&(v=b,b=y.pop(),v.mode===p.Statement&&n.remove_redundant_indentation(v))}function F(){return b.parent.mode===p.ObjectLiteral&&b.mode===p.Statement&&(":"===b.last_text&&0===b.ternary_depth||"TK_RESERVED"===h&&s(b.last_text,["get","set"]))}function z(){return!!("TK_RESERVED"===h&&s(b.last_text,["var","let","const"])&&"TK_WORD"===i.type||"TK_RESERVED"===h&&"do"===b.last_text||"TK_RESERVED"===h&&s(b.last_text,["return","throw"])&&!i.wanted_newline||"TK_RESERVED"===h&&"else"===b.last_text&&("TK_RESERVED"!==i.type||"if"!==i.text||i.comments_before.length)||"TK_END_EXPR"===h&&(v.mode===p.ForInitializer||v.mode===p.Conditional)||"TK_WORD"===h&&b.mode===p.BlockStatement&&!b.in_case&&"--"!==i.text&&"++"!==i.text&&"function"!==g&&"TK_WORD"!==i.type&&"TK_RESERVED"!==i.type||b.mode===p.ObjectLiteral&&(":"===b.last_text&&0===b.ternary_depth||"TK_RESERVED"===h&&s(b.last_text,["get","set"])))&&(M(p.Statement),L(),T(i,!0),F()||j("TK_RESERVED"===i.type&&s(i.text,["do","for","if","while"])),!0)}function H(e){return s(e,["case","return","do","if","throw","else"])}function U(e){var t=r+(e||0);return t<0||t>=k.length?null:k[t]}function q(){if("TK_RESERVED"===i.type&&(s(i.text,["set","get"])&&b.mode!==p.ObjectLiteral?i.type="TK_WORD":s(i.text,["as","from"])&&!b.import_block?i.type="TK_WORD":b.mode===p.ObjectLiteral&&":"===U(1).text&&(i.type="TK_WORD")),z()?"TK_RESERVED"===h&&s(b.last_text,["var","let","const"])&&"TK_WORD"===i.type&&(b.declaration_statement=!0):!i.wanted_newline||D(b.mode)||"TK_OPERATOR"===h&&"--"!==b.last_text&&"++"!==b.last_text||"TK_EQUALS"===h||!x.preserve_newlines&&"TK_RESERVED"===h&&s(b.last_text,["var","let","const","set","get"])?T(i):(T(i),R()),b.do_block&&!b.do_while){if("TK_RESERVED"===i.type&&"while"===i.text)return n.space_before_token=!0,P(),n.space_before_token=!0,void(b.do_while=!0);R(),b.do_block=!1}if(b.if_block)if(b.else_block||"TK_RESERVED"!==i.type||"else"!==i.text){for(;b.mode===p.Statement;)I();b.if_block=!1,b.else_block=!1}else b.else_block=!0;return"TK_RESERVED"===i.type&&("case"===i.text||"default"===i.text&&b.in_case_statement)?(R(),(b.case_body||x.jslint_happy)&&(b.indentation_level>0&&(!b.parent||b.indentation_level>b.parent.indentation_level)&&(b.indentation_level-=1),b.case_body=!1),P(),b.in_case=!0,void(b.in_case_statement=!0)):("TK_COMMA"!==h&&"TK_START_EXPR"!==h&&"TK_EQUALS"!==h&&"TK_OPERATOR"!==h||F()||j(),"TK_RESERVED"===i.type&&"function"===i.text?((s(b.last_text,["}",";"])||n.just_added_newline()&&!s(b.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==h)&&(n.just_added_blankline()||i.comments_before.length||(R(),R(!0))),"TK_RESERVED"===h||"TK_WORD"===h?"TK_RESERVED"===h&&s(b.last_text,["get","set","new","return","export","async"])?n.space_before_token=!0:"TK_RESERVED"===h&&"default"===b.last_text&&"export"===g?n.space_before_token=!0:R():"TK_OPERATOR"===h||"="===b.last_text?n.space_before_token=!0:(b.multiline_frame||!D(b.mode)&&!B(b.mode))&&R(),P(),void(b.last_word=i.text)):(_="NONE","TK_END_BLOCK"===h?v.inline_frame?_="SPACE":"TK_RESERVED"===i.type&&s(i.text,["else","catch","finally","from"])?"expand"===x.brace_style||"end-expand"===x.brace_style||"none"===x.brace_style&&i.wanted_newline?_="NEWLINE":(_="SPACE",n.space_before_token=!0):_="NEWLINE":"TK_SEMICOLON"===h&&b.mode===p.BlockStatement?_="NEWLINE":"TK_SEMICOLON"===h&&D(b.mode)?_="SPACE":"TK_STRING"===h?_="NEWLINE":"TK_RESERVED"===h||"TK_WORD"===h||"*"===b.last_text&&(s(g,["function","yield"])||b.mode===p.ObjectLiteral&&s(g,["{",","]))?_="SPACE":"TK_START_BLOCK"===h?_=b.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===h&&(n.space_before_token=!0,_="NEWLINE"),"TK_RESERVED"===i.type&&s(i.text,o.line_starters)&&")"!==b.last_text&&(_=b.inline_frame||"else"===b.last_text||"export"===b.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===i.type&&s(i.text,["else","catch","finally"])?("TK_END_BLOCK"!==h||v.mode!==p.BlockStatement||"expand"===x.brace_style||"end-expand"===x.brace_style||"none"===x.brace_style&&i.wanted_newline)&&!b.inline_frame?R():(n.trim(!0),"}"!==n.current_line.last()&&R(),n.space_before_token=!0):"NEWLINE"===_?"TK_RESERVED"===h&&H(b.last_text)?n.space_before_token=!0:"TK_END_EXPR"!==h?"TK_START_EXPR"===h&&"TK_RESERVED"===i.type&&s(i.text,["var","let","const"])||":"===b.last_text||("TK_RESERVED"===i.type&&"if"===i.text&&"else"===b.last_text?n.space_before_token=!0:R()):"TK_RESERVED"===i.type&&s(i.text,o.line_starters)&&")"!==b.last_text&&R():b.multiline_frame&&B(b.mode)&&","===b.last_text&&"}"===g?R():"SPACE"===_&&(n.space_before_token=!0),P(),b.last_word=i.text,void("TK_RESERVED"===i.type&&("do"===i.text?b.do_block=!0:"if"===i.text?b.if_block=!0:"import"===i.text?b.import_block=!0:b.import_block&&"TK_RESERVED"===i.type&&"from"===i.text&&(b.import_block=!1)))))}}(e,t).beautify()}void 0===(r=function(){return{js_beautify:n}}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},function(e,t,n){var r=n(63),o=n(51);n(290)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){n(510),e.exports=n(14).Object.keys},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[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(this,n(121))},,,,,,,function(e,t,n){"use strict";n.r(t),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 g}),n.d(t,"amber",function(){return m}),n.d(t,"orange",function(){return b}),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 C}),n.d(t,"white",function(){return S}),n.d(t,"black",function(){return O});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"},g={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"},m={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"},b={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)"},C={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},S="#ffffff",O="#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:g,amber:m,orange:b,deepOrange:v,brown:y,grey:_,blueGrey:w,darkText:x,lightText:k,darkIcons:E,lightIcons:C,white:S,black:O}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var r=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},o=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}}(),i=n(11),a=c(i),s=c(n(226)),l=c(n(357));function c(e){return e&&e.__esModule?e:{default:e}}var u=t.ColorWrap=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=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}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(l.default.simpleCheckForValidColor(e)){var r=l.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(l.default.simpleCheckForValidColor(e)){var r=l.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=r({},l.default.toState(e.color,0)),t.debounce=(0,s.default)(function(e,t,n){e(t,n)},100),t}return 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)}(n,i.PureComponent||i.Component),o(n,[{key:"componentWillReceiveProps",value:function(e){this.setState(r({},l.default.toState(e.color,this.state.oldHue)))}},{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),a.default.createElement(e,r({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}();return t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var r=a(n(11)),o=a(n(59)),i=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}(n(670));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Checkboard=function(e){var t=e.white,n=e.grey,a=e.size,s=e.renderers,l=e.borderRadius,c=e.boxShadow,u=(0,o.default)({default:{grid:{borderRadius:l,boxShadow:c,absolute:"0px 0px 0px 0px",background:"url("+i.get(t,n,a,s.canvas)+") center left"}}});return r.default.createElement("div",{style:u.grid})};s.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=s},function(e,t,n){var r=n(113),o=n(80);e.exports=function(e,t,n){(void 0===n||o(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(140),o=n(278);e.exports=function(e){return r(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t})}},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(258);e.exports=function(e){return null!=e&&e.length?r(e,0,-1):[]}},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){var r=n(83);e.exports=function(e){return r(e).toLowerCase()}},function(e,t,n){var r=n(446),o=n(437),i=r(function(e,t,n){return e+(n?" ":"")+o(t)});e.exports=i},function(e,t,n){"use strict";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 r=n(680);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return v(r).default}});var o=n(660);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return v(o).default}});var i=n(658);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return v(i).default}});var a=n(656);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return v(a).default}});var s=n(652);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return v(s).default}});var l=n(644);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return v(l).default}});var c=n(642);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return v(c).default}});var u=n(640);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return v(u).default}});var p=n(639);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return v(p).default}});var f=n(633);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return v(f).default}});var d=n(630);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return v(d).default}});var h=n(626);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return v(h).default}});var g=n(623);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return v(g).default}});var m=n(521);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return v(m).default}});var b=v(a);function v(e){return e&&e.__esModule?e:{default:e}}t.default=b.default},function(e,t){e.exports=function(e){return null==e}},function(e,t,n){var r=n(683),o=n(524)(function(e,t,n){r(e,t,n)});e.exports=o},function(e,t,n){var r=n(684),o=n(136),i=n(41);e.exports=function(e,t){return r(e,i(t,3),o)}},function(e,t,n){var r=n(17).isFinite;e.exports=function(e){return"number"==typeof e&&r(e)}},function(e,t,n){var r=n(685);e.exports=function(e){return r(2,e)}},function(e,t,n){var r;/*! showdown v 1.7.4 - 08-09-2017 */
18
- (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}var i={},a={},s={},l=o(!0),c="vanilla",u={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}()};function p(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",s=e[o];if("object"!=typeof s)return r.valid=!1,r.error=a+"must be an object, but "+typeof s+" given",r;if(!i.helper.isString(s.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof s.type+" given",r;var l=s.type=s.type.toLowerCase();if("language"===l&&(l=s.type="lang"),"html"===l&&(l=s.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return r.valid=!1,r.error=a+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===l){if(i.helper.isUndefined(s.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(s.filter)&&i.helper.isUndefined(s.regex))return r.valid=!1,r.error=a+l+' extensions must define either a "regex" property or a "filter" method',r;if(s.listeners){if("object"!=typeof s.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof s.listeners+" given",r;for(var c in s.listeners)if(s.listeners.hasOwnProperty(c)&&"function"!=typeof s.listeners[c])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof s.listeners[c]+" given",r}if(s.filter){if("function"!=typeof s.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof s.filter+" given",r}else if(s.regex){if(i.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",r;if(i.helper.isUndefined(s.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function f(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return l[e]=t,this},i.getOption=function(e){"use strict";return l[e]},i.getOptions=function(){"use strict";return l},i.resetOptions=function(){"use strict";l=o(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var n in c=e,t)t.hasOwnProperty(n)&&(l[n]=t[n])},i.getFlavor=function(){"use strict";return c},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=p(t,e);if(!n.valid)throw Error(n.error);s[e]=t},i.getAllExtensions=function(){"use strict";return s},i.removeExtension=function(e){"use strict";delete s[e]},i.resetExtensions=function(){"use strict";s={}},i.validateExtension=function(e){"use strict";var t=p(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.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)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=f,i.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,f)};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++||(s=(i=p.lastIndex)-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};i.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},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var s=d(e,n,r,o),l=e,c=s.length;if(c>0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var p=0;p<c;++p)u.push(t(e.slice(s[p].wholeMatch.start,s[p].wholeMatch.end),e.slice(s[p].match.start,s[p].match.end),e.slice(s[p].left.start,s[p].left.end),e.slice(s[p].right.start,s[p].right.end))),p<c-1&&u.push(e.slice(s[p].wholeMatch.end,s[p+1].wholeMatch.start));s[c-1].wholeMatch.end<e.length&&u.push(e.slice(s[c-1].wholeMatch.end)),l=u.join("")}return l},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.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},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.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}}),i.helper.regexes={asteriskAndDash:/([*_])/g},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=c;function f(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.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 function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=p(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=p(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var l in e[a].listeners)e[a].listeners.hasOwnProperty(l)&&d(l,e[a].listeners[l])}}function d(e,t){if(!i.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");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},l)l.hasOwnProperty(n)&&(t[n]=l[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)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,f)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return d(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[]};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,function(n){e=i.subParser("runExtension")(n,e,t,o)}),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),i.helper.forEach(r,function(n){e=i.subParser("runExtension")(n,e,t,o)}),e},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){f(e,t=t||null)},this.useExtension=function(e){f(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=u[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}}},i.subParser("anchors",function(e,t,n){"use strict";var r=function(e,r,o,a,s,l,c){if(i.helper.isUndefined(c)&&(c=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(c=n.gTitles[o])}var u='<a href="'+(a=a.replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback))+'"';return""!==c&&null!==c&&(u+=' title="'+(c=(c=c.replace(/"/g,"&quot;")).replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,a),l="";return t.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),n+'<a href="'+s+'"'+l+">"+o+"</a>"})),e=n.converter._dispatch("anchors.after",e,t,n)});var h=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)()(?=\s|$)(?!["<>])/gi,g=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]]?)(?=\s|$)(?!["<>])/gi,m=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>/gi,b=/(^|\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 a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(m,y(t))).replace(v,_(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),i.subParser("simplifiedAutoLinks",function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,y(t)):e.replace(h,y(t))).replace(b,_(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),i.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),i.subParser("blockQuotes",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("blockQuotes.before",e,t,n)).replace(/((^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,r){var o=r;return o=(o=(o=o.replace(/^[ \t]*>[ \t]?/gm,"¨0")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),o=i.subParser("githubCodeBlocks")(o,t,n),o=(o=(o=i.subParser("blockGamut")(o,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")}),i.subParser("hashBlock")("<blockquote>\n"+o+"\n</blockquote>",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),i.subParser("codeBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,r,o){var a=r,s=o,l="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),a="<pre><code>"+a+l+"</code></pre>",i.subParser("hashBlock")(a,t,n)+s})).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),i.subParser("codeSpans",function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,o,a){var s=a;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),r+"<code>"+(s=i.subParser("encodeCode")(s,t,n))+"</code>"}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),i.subParser("detab",function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n})).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),i.subParser("encodeAmpsAndAngles",function(e,t,n){"use strict";return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),i.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),i.subParser("encodeCode",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),i.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),i.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(e,r,o){var a=t.omitExtraWLInCodeBlocks?"":"\n";return o=i.subParser("encodeCode")(o,t,n),o=(o=(o=i.subParser("detab")(o,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),o="<pre><code"+(r?' class="'+r+" language-"+r+'"':"")+">"+o+a+"</code></pre>",o=i.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"})).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),i.subParser("hashBlock",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).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)}),i.subParser("hashCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(s)-1)+"C"},"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),i.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),i.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"&lt;"+t+"&gt;"}));for(var a=0;a<r.length;++a)for(var s,l=new RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),c="<"+r[a]+"\\b[^>]*>",u="</"+r[a]+">";-1!==(s=i.helper.regexIndexOf(e,l));){var p=i.helper.splitAtIndex(e,s),f=i.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,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),i.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,function(e){return r(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),i.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)}),i.subParser("hashPreCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"},"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),i.subParser("headers",function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=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=e.replace(o,function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+l(o)+'"',c="<h"+r+s+">"+a+"</h"+r+">";return i.subParser("hashBlock")(c,t,n)})).replace(a,function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+l(o)+'"',c=r+1,u="<h"+c+s+">"+a+"</h"+c+">";return i.subParser("hashBlock")(u,t,n)});var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function l(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&amp;/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}return e=e.replace(s,function(e,o,a){var s=a;t.customizedHeaderId&&(s=a.replace(/\s?\{([^{]+?)}\s*$/,""));var c=i.subParser("spanGamut")(s,t,n),u=t.noHeaderId?"":' id="'+l(a)+'"',p=r-1+o.length,f="<h"+p+u+">"+c+"</h"+p+">";return i.subParser("hashBlock")(f,t,n)}),e=n.converter._dispatch("headers.after",e,t,n)}),i.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),i.subParser("images",function(e,t,n){"use strict";function r(e,t,r,o,a,s,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,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(p[r])||(c=p[r]),i.helper.isUndefined(f[r])||(a=f[r].width,s=f[r].height)}t=t.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback);var d='<img src="'+(o=o.replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return c&&(d+=' title="'+(c=c.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback))+'"'),a&&s&&(d+=' width="'+(a="*"===a?"auto":a)+'"',d+=' height="'+(s="*"===s?"auto":s)+'"'),d+=" />"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \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,function(e,t,n,o,i,a,s,l){return r(e,t,n,o=o.replace(/\s/g,""),i,a,0,l)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)}),i.subParser("italicsAndBold",function(e,t,n){"use strict";function r(e,r,o){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),r+e+o}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*)__\b/g,function(e,t){return r(t,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}),e=t.literalMidWordAsterisks?(e=(e=e.trim().replace(/(^| )\*{3}(\S[\s\S]*?)\*{3}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong><em>","</em></strong>"+o)})).trim().replace(/(^| )\*{2}(\S[\s\S]*?)\*{2}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong>","</strong>"+o)})).trim().replace(/(^| )\*(\S[\s\S]*?)\*([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<em>","</em>"+o)}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):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)}),i.subParser("lists",function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,function(e,r,o,s,l,c,u){u=u&&""!==u.trim();var p=i.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=i.subParser("githubCodeBlocks")(p,t,n),p=i.subParser("blockGamut")(p,t,n)):(p=(p=i.subParser("lists")(p,t,n)).replace(/\n$/,""),p=(p=i.subParser("hashHTMLBlocks")(p,t,n)).replace(/\n\n+/g,"\n\n"),p=a?i.subParser("paragraphs")(p,t,n):i.subParser("spanGamut")(p,t,n)),p="<li"+f+">"+(p=p.replace("¨A",""))+"</li>\n"})).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",s="ul"===(n="ul"===n?"ol":"ul")?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=(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)})).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)}),i.subParser("outdent",function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),i.subParser("paragraphs",function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,s=0;s<a;s++){var l=r[s];l.search(/¨(K|G)(\d+)\1/g)>=0?o.push(l):l.search(/\S/)>=0&&(l=(l=i.subParser("spanGamut")(l,t,n)).replace(/^([ \t]*)/g,"<p>"),l+="</p>",o.push(l))}for(a=o.length,s=0;s<a;s++){for(var c="",u=o[s],p=!1;/¨(K|G)(\d+)\1/.test(u);){var f=RegExp.$1,d=RegExp.$2;c=(c="K"===f?n.gHtmlBlocks[d]:p?i.subParser("encodeCode")(n.ghCodeBlocks[d].text,t,n):n.ghCodeBlocks[d].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(p=!0)}o[s]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),i.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}),i.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.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)}),i.subParser("strikethrough",function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}(r)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),i.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=function(e,r,o,a,s,l,c){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),l?l+c:(c&&(n.gTitles[r]=c.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&a&&s&&(n.gDimensions[r]={width:a,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {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,r)).replace(/^ {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,r)).replace(/¨0/,"")}),i.subParser("tables",function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return"<td"+r+">"+i.subParser("spanGamut")(e,t,n)+"</td>\n"}function o(e){var o,a=e.split("\n");for(o=0;o<a.length;++o)/^ {0,3}\|/.test(a[o])&&(a[o]=a[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(a[o])&&(a[o]=a[o].replace(/\|[ \t]*$/,""));var s,l,c,u,p=a[0].split("|").map(function(e){return e.trim()}),f=a[1].split("|").map(function(e){return e.trim()}),d=[],h=[],g=[],m=[];for(a.shift(),a.shift(),o=0;o<a.length;++o)""!==a[o].trim()&&d.push(a[o].split("|").map(function(e){return e.trim()}));if(p.length<f.length)return e;for(o=0;o<f.length;++o)g.push((s=f[o],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(o=0;o<p.length;++o)i.helper.isUndefined(g[o])&&(g[o]=""),h.push((l=p[o],c=g[o],u=void 0,u="",l=l.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+l.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+c+">"+(l=i.subParser("spanGamut")(l,t,n))+"</th>\n"));for(o=0;o<d.length;++o){for(var b=[],v=0;v<h.length;++v)i.helper.isUndefined(d[o][v]),b.push(r(d[o][v],g[v]));m.push(b)}return function(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"}(h,m)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|\n( {0,3}\|.+\|\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)}),i.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).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 i}.call(t,n,t,e))||(e.exports=r)}).call(this)},function(e,t,n){var r,o;r=[n(508),n(507),n(686)],void 0===(o=function(e,t,n){return function(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}(e,t,n)}.apply(t,r))||(e.exports=o)},function(e,t,n){!function(e){"use strict";var t={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:"‌"},n=/^#[xX]([A-Fa-f0-9]+)$/,r=/^#([0-9]+)$/,o=/^([A-Za-z0-9]+)$/,i=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(n);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(r))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(o))?this.named[t[1]]:void 0}},e}(),a=/[\t\n\f ]/,s=/[A-Za-z]/,l=/\r\n?/g;function c(e){return a.test(e)}function u(e){return s.test(e)}var p=function(){function e(e,t){this.delegate=e,this.entityParser=t,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(){var e=this.peek();"<"===e?(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":u(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){var e=this.consume();"-"===e&&"-"===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();c(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();c(e)?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();c(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();c(e)?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();c(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();c(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();c(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(){var e=this.peek();">"===e?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();u(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+=function(e){return e.replace(l,"\n")}(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}(),f=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 p(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=t,e.EntityParser=i,e.EventedTokenizer=p,e.Tokenizer=f,e.tokenize=function(e,n){return new f(new i(t),n).tokenize(e)},Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){var r=n(138),o=n(140),i=n(687),a=n(307),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t){e.exports=function(){return!0}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(105),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){return Array.isArray(e)?e:(0,i.default)(e)}},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(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(r,Error),r.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?i(e.parts[t][0])+"-"+i(e.parts[t][1]):i(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}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(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"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function i(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"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}return"Expected "+function(e){var t,r,o,i=new Array(e.length);for(t=0;t<e.length;t++)i[t]=(o=e[t],n[o.type](o));if(i.sort(),i.length>0){for(t=1,r=1;t<i.length;t++)i[t-1]!==i[t]&&(i[r]=i[t],r++);i.length=r}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:r,parse:function(e,t){t=void 0!==t?t:{};var n,o={},i={Block_List:Z},a=Z,s={type:"any"},l=function(e,t,n){return[t,n]},c=function(e,t,n){return function(e,t,n){var r,o,i,a,s,l=[];for(e.length&&l.push(oe(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(oe(i));return n.length&&l.push(oe(n)),l}(e,t,n)},u="\x3c!--",p=V("\x3c!--",!1),f="wp:",d=V("wp:",!1),h=function(e,t){return t},g="/--\x3e",m=V("/--\x3e",!1),b=function(e,t){return{blockName:e,attrs:t,innerBlocks:[],innerHTML:""}},v=function(e,t,n){var r=function(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]}(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("")}},y="--\x3e",_=V("--\x3e",!1),w=function(e,t){return{blockName:e,attrs:t}},x="/wp:",k=V("/wp:",!1),E=function(e){return{blockName:e}},C="/",S=V("/",!1),O=function(e){return"core/"+e},T=/^[a-z]/,A=W([["a","z"]],!1,!1),j=/^[a-z0-9_\-]/,R=W([["a","z"],["0","9"],"_","-"],!1,!1),N="{",P=V("{",!1),L="}",M=V("}",!1),B="",D=function(e){return function(e){try{return JSON.parse(e)}catch(e){return null}}(e)},I=/^[ \t\r\n]/,F=W([" ","\t","\r","\n"],!1,!1),z=(W(["\r","\n"],!1,!1),W([" ","\t"],!1,!1),0),H=[{line:1,column:1}],U=0,q=[],K=0;if("startRule"in t){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=i[t.startRule]}function V(e,t){return{type:"literal",text:e,ignoreCase:t}}function W(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function G(t){var n,r=H[t];if(r)return r;for(n=t-1;!H[n];)n--;for(r={line:(r=H[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return H[t]=r,r}function $(e,t){var n=G(e),r=G(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function X(e){z<U||(z>U&&(U=z,q=[]),q.push(e))}function Y(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function Z(){var t,n,r,i,a,u,p,f,d,h;for(t=z,n=z,r=[],i=z,a=z,K++,u=Q(),K--,u===o?a=void 0:(z=a,a=o),a!==o?(e.length>z?(u=e.charAt(z),z++):(u=o,0===K&&X(s)),u!==o?i=a=[a,u]:(z=i,i=o)):(z=i,i=o);i!==o;)r.push(i),i=z,a=z,K++,u=Q(),K--,u===o?a=void 0:(z=a,a=o),a!==o?(e.length>z?(u=e.charAt(z),z++):(u=o,0===K&&X(s)),u!==o?i=a=[a,u]:(z=i,i=o)):(z=i,i=o);if((n=r!==o?e.substring(n,z):r)!==o){if(r=[],i=z,(a=Q())!==o){for(u=z,p=[],f=z,d=z,K++,h=Q(),K--,h===o?d=void 0:(z=d,d=o),d!==o?(e.length>z?(h=e.charAt(z),z++):(h=o,0===K&&X(s)),h!==o?f=d=[d,h]:(z=f,f=o)):(z=f,f=o);f!==o;)p.push(f),f=z,d=z,K++,h=Q(),K--,h===o?d=void 0:(z=d,d=o),d!==o?(e.length>z?(h=e.charAt(z),z++):(h=o,0===K&&X(s)),h!==o?f=d=[d,h]:(z=f,f=o)):(z=f,f=o);(u=p!==o?e.substring(u,z):p)!==o?i=a=l(n,a,u):(z=i,i=o)}else z=i,i=o;for(;i!==o;)if(r.push(i),i=z,(a=Q())!==o){for(u=z,p=[],f=z,d=z,K++,h=Q(),K--,h===o?d=void 0:(z=d,d=o),d!==o?(e.length>z?(h=e.charAt(z),z++):(h=o,0===K&&X(s)),h!==o?f=d=[d,h]:(z=f,f=o)):(z=f,f=o);f!==o;)p.push(f),f=z,d=z,K++,h=Q(),K--,h===o?d=void 0:(z=d,d=o),d!==o?(e.length>z?(h=e.charAt(z),z++):(h=o,0===K&&X(s)),h!==o?f=d=[d,h]:(z=f,f=o)):(z=f,f=o);(u=p!==o?e.substring(u,z):p)!==o?i=a=l(n,a,u):(z=i,i=o)}else z=i,i=o;if(r!==o){for(i=z,a=[],e.length>z?(u=e.charAt(z),z++):(u=o,0===K&&X(s));u!==o;)a.push(u),e.length>z?(u=e.charAt(z),z++):(u=o,0===K&&X(s));(i=a!==o?e.substring(i,z):a)!==o?t=n=c(n,r,i):(z=t,t=o)}else z=t,t=o}else z=t,t=o;return t}function Q(){var t;return(t=function(){var t,n,r,i,a,s,l,c,v,y;if(t=z,e.substr(z,4)===u?(n=u,z+=4):(n=o,0===K&&X(p)),n!==o){if(r=[],(i=re())!==o)for(;i!==o;)r.push(i),i=re();else r=o;if(r!==o)if(e.substr(z,3)===f?(i=f,z+=3):(i=o,0===K&&X(d)),i!==o)if((a=ee())!==o){if(s=[],(l=re())!==o)for(;l!==o;)s.push(l),l=re();else s=o;if(s!==o){if(l=z,(c=ne())!==o){if(v=[],(y=re())!==o)for(;y!==o;)v.push(y),y=re();else v=o;v!==o?(c=h(a,c),l=c):(z=l,l=o)}else z=l,l=o;l===o&&(l=null),l!==o?(e.substr(z,4)===g?(c=g,z+=4):(c=o,0===K&&X(m)),c!==o?(n=b(a,l),t=n):(z=t,t=o)):(z=t,t=o)}else z=t,t=o}else z=t,t=o;else z=t,t=o;else z=t,t=o}else z=t,t=o;return t}())===o&&(t=function(){var t,n,r,i,a,l,c;if(t=z,(n=function(){var t,n,r,i,a,s,l,c,g,m;if(t=z,e.substr(z,4)===u?(n=u,z+=4):(n=o,0===K&&X(p)),n!==o){if(r=[],(i=re())!==o)for(;i!==o;)r.push(i),i=re();else r=o;if(r!==o)if(e.substr(z,3)===f?(i=f,z+=3):(i=o,0===K&&X(d)),i!==o)if((a=ee())!==o){if(s=[],(l=re())!==o)for(;l!==o;)s.push(l),l=re();else s=o;if(s!==o){if(l=z,(c=ne())!==o){if(g=[],(m=re())!==o)for(;m!==o;)g.push(m),m=re();else g=o;g!==o?(c=h(a,c),l=c):(z=l,l=o)}else z=l,l=o;l===o&&(l=null),l!==o?(e.substr(z,3)===y?(c=y,z+=3):(c=o,0===K&&X(_)),c!==o?(n=w(a,l),t=n):(z=t,t=o)):(z=t,t=o)}else z=t,t=o}else z=t,t=o;else z=t,t=o;else z=t,t=o}else z=t,t=o;return t}())!==o){for(r=[],(i=Q())===o&&(i=z,a=z,l=z,K++,c=J(),K--,c===o?l=void 0:(z=l,l=o),l!==o?(e.length>z?(c=e.charAt(z),z++):(c=o,0===K&&X(s)),c!==o?a=l=[l,c]:(z=a,a=o)):(z=a,a=o),i=a!==o?e.substring(i,z):a);i!==o;)r.push(i),(i=Q())===o&&(i=z,a=z,l=z,K++,c=J(),K--,c===o?l=void 0:(z=l,l=o),l!==o?(e.length>z?(c=e.charAt(z),z++):(c=o,0===K&&X(s)),c!==o?a=l=[l,c]:(z=a,a=o)):(z=a,a=o),i=a!==o?e.substring(i,z):a);r!==o&&(i=J())!==o?(n=v(n,r,i),t=n):(z=t,t=o)}else z=t,t=o;return t}()),t}function J(){var t,n,r,i,a,s,l;if(t=z,e.substr(z,4)===u?(n=u,z+=4):(n=o,0===K&&X(p)),n!==o){if(r=[],(i=re())!==o)for(;i!==o;)r.push(i),i=re();else r=o;if(r!==o)if(e.substr(z,4)===x?(i=x,z+=4):(i=o,0===K&&X(k)),i!==o)if((a=ee())!==o){if(s=[],(l=re())!==o)for(;l!==o;)s.push(l),l=re();else s=o;s!==o?(e.substr(z,3)===y?(l=y,z+=3):(l=o,0===K&&X(_)),l!==o?t=n=E(a):(z=t,t=o)):(z=t,t=o)}else z=t,t=o;else z=t,t=o;else z=t,t=o}else z=t,t=o;return t}function ee(){var t,n,r;return(t=function(){var t,n,r,i,a;return t=z,n=z,(r=te())!==o?(47===e.charCodeAt(z)?(i=C,z++):(i=o,0===K&&X(S)),i!==o&&(a=te())!==o?n=r=[r,i,a]:(z=n,n=o)):(z=n,n=o),t=n!==o?e.substring(t,z):n}())===o&&(n=z,(n=(r=te())!==o?e.substring(n,z):r)!==o&&(n=O(n)),t=n),t}function te(){var t,n,r,i,a;if(t=z,n=z,T.test(e.charAt(z))?(r=e.charAt(z),z++):(r=o,0===K&&X(A)),r!==o){for(i=[],j.test(e.charAt(z))?(a=e.charAt(z),z++):(a=o,0===K&&X(R));a!==o;)i.push(a),j.test(e.charAt(z))?(a=e.charAt(z),z++):(a=o,0===K&&X(R));i!==o?n=r=[r,i]:(z=n,n=o)}else z=n,n=o;return t=n!==o?e.substring(t,z):n}function ne(){var t,n,r,i,a,l,c,u,p,f,d,h;if(z,t=z,n=z,123===e.charCodeAt(z)?(r=N,z++):(r=o,0===K&&X(P)),r!==o){if(i=[],a=z,l=z,K++,c=z,125===e.charCodeAt(z)?(u=L,z++):(u=o,0===K&&X(M)),u!==o){if(p=[],(f=re())!==o)for(;f!==o;)p.push(f),f=re();else p=o;p!==o&&(f=B)!==o?(47===e.charCodeAt(z)?(d=C,z++):(d=o,0===K&&X(S)),d===o&&(d=null),d!==o?(e.substr(z,3)===y?(h=y,z+=3):(h=o,0===K&&X(_)),h!==o?c=u=[u,p,f,d,h]:(z=c,c=o)):(z=c,c=o)):(z=c,c=o)}else z=c,c=o;for(K--,c===o?l=void 0:(z=l,l=o),l!==o?(e.length>z?(c=e.charAt(z),z++):(c=o,0===K&&X(s)),c!==o?a=l=[l,c]:(z=a,a=o)):(z=a,a=o);a!==o;){if(i.push(a),a=z,l=z,K++,c=z,125===e.charCodeAt(z)?(u=L,z++):(u=o,0===K&&X(M)),u!==o){if(p=[],(f=re())!==o)for(;f!==o;)p.push(f),f=re();else p=o;p!==o&&(f=B)!==o?(47===e.charCodeAt(z)?(d=C,z++):(d=o,0===K&&X(S)),d===o&&(d=null),d!==o?(e.substr(z,3)===y?(h=y,z+=3):(h=o,0===K&&X(_)),h!==o?c=u=[u,p,f,d,h]:(z=c,c=o)):(z=c,c=o)):(z=c,c=o)}else z=c,c=o;K--,c===o?l=void 0:(z=l,l=o),l!==o?(e.length>z?(c=e.charAt(z),z++):(c=o,0===K&&X(s)),c!==o?a=l=[l,c]:(z=a,a=o)):(z=a,a=o)}i!==o?(125===e.charCodeAt(z)?(a=L,z++):(a=o,0===K&&X(M)),a!==o?n=r=[r,i,a]:(z=n,n=o)):(z=n,n=o)}else z=n,n=o;return(t=n!==o?e.substring(t,z):n)!==o&&(t=D(t)),t}function re(){var t;return I.test(e.charAt(z))?(t=e.charAt(z),z++):(t=o,0===K&&X(F)),t}function oe(e){return e.length&&{attrs:{},innerHTML:e}}if((n=a())!==o&&z===e.length)return n;throw n!==o&&z<e.length&&X({type:"end"}),Y(q,U<e.length?e.charAt(U):null,U<e.length?$(U,U+1):$(U,U))}}},,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.d(r,"name",function(){return Wi}),n.d(r,"settings",function(){return Gi});var o={};n.d(o,"name",function(){return xa}),n.d(o,"settings",function(){return Ea});var i={};n.d(i,"name",function(){return Ca}),n.d(i,"settings",function(){return Sa});var a={};n.d(a,"name",function(){return Na}),n.d(a,"settings",function(){return Pa});var s={};n.d(s,"name",function(){return Ua}),n.d(s,"settings",function(){return qa});var l={};n.d(l,"name",function(){return Ka}),n.d(l,"settings",function(){return Va});var c={};n.d(c,"name",function(){return Ya}),n.d(c,"settings",function(){return Za});var u={};n.d(u,"name",function(){return os}),n.d(u,"settings",function(){return is});var p={};n.d(p,"name",function(){return cs}),n.d(p,"settings",function(){return us});var f={};n.d(f,"name",function(){return ms}),n.d(f,"settings",function(){return bs});var d={};n.d(d,"name",function(){return _s}),n.d(d,"settings",function(){return ws});var h={};n.d(h,"name",function(){return Ns}),n.d(h,"settings",function(){return Ps}),n.d(h,"common",function(){return Ls}),n.d(h,"others",function(){return Ms});var g={};n.d(g,"name",function(){return Fs}),n.d(g,"settings",function(){return zs});var m={};n.d(m,"name",function(){return Hs}),n.d(m,"settings",function(){return Us});var b={};n.d(b,"name",function(){return Xs}),n.d(b,"settings",function(){return Ys});var v={};n.d(v,"name",function(){return Js}),n.d(v,"settings",function(){return el});var y={};n.d(y,"name",function(){return tl}),n.d(y,"settings",function(){return nl});var _={};n.d(_,"name",function(){return rl}),n.d(_,"settings",function(){return ol});var w={};n.d(w,"name",function(){return al}),n.d(w,"settings",function(){return sl});var x={};n.d(x,"name",function(){return bl}),n.d(x,"settings",function(){return vl});var k={};n.d(k,"name",function(){return yl}),n.d(k,"settings",function(){return _l});var E={};n.d(E,"name",function(){return wl}),n.d(E,"settings",function(){return xl});var C={};n.d(C,"name",function(){return kl}),n.d(C,"settings",function(){return El});var S={};n.d(S,"name",function(){return Al}),n.d(S,"settings",function(){return jl});var O={};n.d(O,"name",function(){return Rl}),n.d(O,"settings",function(){return Nl});var T={};n.d(T,"name",function(){return Pl}),n.d(T,"settings",function(){return Ll});var A={};n.d(A,"name",function(){return Ml}),n.d(A,"settings",function(){return Bl});var j=n(3),R=n.n(j),N=n(48),P=n.n(N),L=n(386),M=n.n(L),B=n(16),D=n.n(B),I=n(2),F=n(39),z=n(1);function H(e){var t=e.controls,n=e.children;return wp.element.createElement(z.Fill,{name:"Block.Toolbar"},wp.element.createElement(z.Toolbar,{controls:t}),n)}var U=n(0),q={left:{icon:"align-left",title:Object(U.__)("Align left")},center:{icon:"align-center",title:Object(U.__)("Align center")},right:{icon:"align-right",title:Object(U.__)("Align right")},wide:{icon:"align-wide",title:Object(U.__)("Wide width")},full:{icon:"align-full-width",title:Object(U.__)("Full width")}},K=["left","center","right","wide","full"],V=["wide","full"];var W=Object(z.withContext)("editor")(function(e){return{wideControlsEnabled:e.alignWide}})(function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?K:r,i=e.wideControlsEnabled,a=void 0!==i&&i?o:o.filter(function(e){return-1===V.indexOf(e)});return wp.element.createElement(z.Toolbar,{controls:a.map(function(e){return R()({},q[e],{isActive:t===e,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r})})}),G=n(20),$=n.n(G),X=n(385),Y=n.n(X),Z=n(123),Q=n.n(Z),J=n(101),ee=n.n(J),te=n(31),ne=n.n(te),re=n(304),oe=n.n(re),ie=n(100),ae=n.n(ie),se=n(102),le=n.n(se),ce=n(286),ue=n.n(ce),pe=n(442),fe=n.n(pe),de=n(382),he=n.n(de),ge=n(142),me=n.n(ge),be=n(74),ve=n.n(be),ye=n(19),_e=n.n(ye),we=[{slug:"common",title:Object(U.__)("Common Blocks")},{slug:"formatting",title:Object(U.__)("Formatting")},{slug:"layout",title:Object(U.__)("Layout Elements")},{slug:"widgets",title:Object(U.__)("Widgets")},{slug:"embed",title:Object(U.__)("Embeds")},{slug:"shared",title:Object(U.__)("Shared Blocks")}];function xe(){return we}var ke={},Ee=xe(),Ce=void 0,Se=void 0,Oe={audio:"core/audio",gallery:"core/gallery",image:"core/image",quote:"core/quote",video:"core/video"};function Te(e,t){if(t=R()({name:e},_e()(window._wpBlocks,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(ke[e])console.error('Block "'+e+'" is already registered.');else if((t=Object(F.applyFilters)("blocks.registerBlockType",t,e))&&ve()(t.save))if("edit"in t&&!ve()(t.edit))console.error('The "edit" property must be a valid function.');else if("keywords"in t&&t.keywords.length>3)console.error('The block "'+e+'" can have a maximum of 3 keywords.');else if("category"in t)if("category"in t&&!me()(Ee,{slug:t.category}))console.error('The block "'+e+'" must have a registered category.');else if("title"in t&&""!==t.title){if("string"==typeof t.title)return t.icon||(t.icon="block-default"),ke[e]=t;console.error("Block titles must be strings.")}else console.error('The block "'+e+'" must have a title.');else console.error('The block "'+e+'" must have a category.');else console.error('The "save" property must be specified and must be a valid function.');else 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");else console.error("Block names must be strings.")}function Ae(e){if(ke[e]){var t=ke[e];return delete ke[e],t}console.error('Block "'+e+'" is not registered.')}function je(e){Ce=e}function Re(){return Ce}function Ne(e){Se=e}function Pe(){return Se}function Le(e){var t=Oe[e];return t&&Me(t)?t:null}function Me(e){return ke[e]}function Be(){return he()(ke)}function De(e,t,n){var r="string"==typeof e?Me(e):e;return _e()(r,["supports",t],n)}function Ie(e,t,n){return!!De(e,t,n)}function Fe(e){return"core/block"===e.name}function ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Me(e),o=le()(r.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:fe()(),name:e,isValid:!0,attributes:o,innerBlocks:n}}function He(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return R()({},e,{uid:fe()(),attributes:R()({},e.attributes,t),innerBlocks:n||e.innerBlocks.map(function(e){return He(e)})})}var Ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return!!Ke(Ve("from",n.name),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)}}(e,t))}};function qe(e){var t=Q()(e);if(!e||!t)return[];var n=e.length>1,r=t.name;if(n&&!ue()(e,{name:r}))return[];var o=ee()(Be(),Ue(r,n)).map(function(e){return e.name}),i=Ve("to",Me(r).name),a=Y()(n?ee()(i,"isMultiBlock"):i,function(e){return e.blocks});return le()([].concat($()(o),$()(a)),function(e,t){var n=Me(t);return n&&!P()(e,n)&&e.push(n),e},[])}function Ke(e,t){for(var n=Object(F.createHooks)(),r=function(r){var o=e[r];t(o)&&n.addFilter("transform","transform/"+r.toString(),function(e){return e||o},o.priority)},o=0;o<e.length;o++)r(o);return n.applyFilters("transform",null)}function Ve(e,t){if(void 0===t)return Y()(Be(),function(t){var n=t.name;return Ve(e,n)});var n=(Me(t)||{}).transforms;return n&&Array.isArray(n[e])?n[e].map(function(e){return R()({},e,{blockName:t})}):[]}function We(e,t){var n=ae()(e),r=n.length>1,o=n[0],i=o.name;if(r&&!ue()(n,function(e){return e.name===i}))return null;var a=Ve("from",t),s=Ke(Ve("to",i),function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!r||e.isMultiBlock)})||Ke(a,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(i)&&(!r||e.isMultiBlock)});if(!s)return null;var l=void 0;if(l=s.isMultiBlock?s.transform(n.map(function(e){return e.attributes})):s.transform(o.attributes),!ne()(l))return null;if((l=ae()(l)).some(function(e){return!Me(e.name)}))return null;var c=oe()(l,function(e){return e.name===t});return c<0?null:l.map(function(t,n){var r=R()({},t,{uid:n===c?o.uid:t.uid});return Object(F.applyFilters)("blocks.switchToBlockType.transformedBlock",r,e)})}var Ge=n(105),$e=n.n(Ge),Xe=n(124),Ye=n.n(Xe),Ze=n(118),Qe=n.n(Ze);function Je(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,r){return n[r]=Je(e,t[r]),n},{})}}function et(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return function(e,t){for(var n=t.split("."),r=void 0;r=n.shift();){if(!(r in e))return;e=e[r]}return e}(r,t)}}var tt=n(68),nt=n.n(tt),rt=n(367),ot=n.n(rt),it=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function at(e,t){for(var n=function(e){for(var t=[],n=e,r=void 0;r=n.match(it);)t.push(n.slice(0,r.index)),t.push(r[0]),n=n.slice(r.index+r[0].length);return n.length&&t.push(n),t}(e),r=!1,o=ot()(t),i=1;i<n.length;i+=2)for(var a=0;a<o.length;a++){var s=o[a];if(-1!==n[i].indexOf(s)){n[i]=n[i].replace(new RegExp(s,"g"),t[s]),r=!0;break}}return r&&(e=n.join("")),e}var st=n(562),lt=n(561),ct=n.n(lt),ut=n(560),pt=n.n(ut),ft=n(122),dt=n.n(ft),ht=n(481),gt=n.n(ht),mt=n(559),bt=n.n(mt),vt=n(558),yt=n(381),_t=n.n(yt),wt=n(366),xt=n.n(wt),kt=n(29),Et=n.n(kt),Ct=n(96),St=n.n(Ct),Ot=n(557),Tt=n(345),At=n.n(Tt),jt=n(9),Rt=n.n(jt),Nt=n(8),Pt=n.n(Nt),Lt=n(5),Mt=n.n(Lt),Bt=n(7),Dt=n.n(Bt),It=n(6),Ft=n.n(It),zt=function(e){function t(){return Pt()(this,t),Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments))}return Ft()(t,e),Mt()(t,[{key:"getChildContext",value:function(){var e=this.props.innerBlocks;return{BlockContent:function(){var t=$t(e);return wp.element.createElement(I.RawHTML,null,t)}}}},{key:"render",value:function(){return this.props.children}}]),t}(I.Component);zt.childContextTypes={BlockContent:function(){}};var Ht=zt;function Ut(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(F.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function qt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=e.save;if(r.prototype instanceof I.Component){var o=new r({attributes:t});r=o.render.bind(o)}var i=r({attributes:t,innerBlocks:n});if(Et()(i)&&Object(F.hasFilter)("blocks.getSaveContent.extraProps")){var a=Object(F.applyFilters)("blocks.getSaveContent.extraProps",R()({},i.props),e,t);At()(a,i.props)||(i=Object(I.cloneElement)(i,a))}return i=Object(F.applyFilters)("blocks.getSaveElement",i,e,t),wp.element.createElement(Ht,{innerBlocks:n},i)}function Kt(e,t,n){return Object(I.renderToString)(qt(e,t,n))}function Vt(e){var t,n=Me(e.name),r=e.originalContent;if(e.isValid||e.innerBlocks.length)try{r=Kt(n,e.attributes,e.innerBlocks)}catch(e){}return Re()!==e.name&&r?(t=r,Object(Ot.html)(t,{indent_inner_html:!0,wrap_line_length:0})):r}function Wt(e,t,n){var r,o=St()(t)?"":(r=t,_t()(r).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026")+" "),i=xt()(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:"+i+" "+o+"--\x3e\n"+n+"\n\x3c!-- /wp:"+i+" --\x3e":"\x3c!-- wp:"+i+" "+o+"/--\x3e"}function Gt(e){var t=e.name,n=Me(t),r=Vt(e),o=function(e,t){return le()(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)},{})}(e.attributes,n);switch(t){case Re():return r;default:return Wt(t,o,r)}}function $t(e){return ae()(e).map(Gt).join("\n\n")}var Xt=/[\t\n\r\v\f ]+/g,Yt=/^[\t\n\r\v\f ]*$/,Zt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Qt=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],Jt=[].concat(Qt,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),en=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)}}();function tn(e){return e.trim().split(Xt)}function nn(e){return tn(e).join(" ")}function rn(e){return e.attributes.filter(function(e){var t=nt()(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||P()(Jt,n)})}function on(e,t){var n=dt.a.apply(void 0,$()([e.chars,t.chars].map(nn)));return n||en.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),n}function an(e){var t=e.replace(/;?\s*$/,"").split(";").map(function(e){var t=e.split(":"),n=ct()(t),r=n[0],o=n.slice(1).join(":");return[r.trim(),function(e){return e.replace(Zt,"url($1)")}(o.trim())]});return gt()(t)}var sn=R()({class:function(e,t){return!bt.a.apply(void 0,$()([e,t].map(tn))).length},style:function(e,t){return dt.a.apply(void 0,$()([e,t].map(an)))}},gt()(Qt.map(function(e){return[e,pt.a]})));var ln={StartTag:function(e,t){return e.tagName!==t.tagName?(en.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t){if(e.length!==t.length)return en.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(gt.a),r=nt()(n,2),o=r[0],i=r[1];for(var a in o){if(!i.hasOwnProperty(a))return en.warning("Encountered unexpected attribute `%s`.",a),!1;var s=o[a],l=i[a],c=sn[a];if(c){if(!c(s,l))return en.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}else if(s!==l)return en.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}return!0}.apply(void 0,$()([e,t].map(rn)))},Chars:on,Comment:on};function cn(e){for(var t=void 0;t=e.shift();){if("Chars"!==t.type)return t;if(!Yt.test(t.chars))return t}}function un(e,t,n){var r=void 0;try{r=Kt(t,n)}catch(e){return en.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),!1}var o=function(e,t){for(var n=[e,t].map(vt.tokenize),r=nt()(n,2),o=r[0],i=r[1],a=void 0,s=void 0;a=cn(o);){if(!(s=cn(i)))return en.warning("Expected end of content, instead saw %o.",a),!1;if(a.type!==s.type)return en.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",s.type,s,a.type,a),!1;var l=ln[a.type];if(l&&!l(a,s))return!1}return!(s=cn(i))||(en.warning("Expected %o, instead saw end of content.",s),!1)}(e,r);return o||en.error("Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s",t.name,t,r,e),o}var pn=n(348),fn=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Object(pn.nodeListToReact)(n.childNodes||[],I.createElement):[]}},dn=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),Object(pn.nodeToReact)(n,I.createElement)}};function hn(e){switch(e.source){case"attribute":return function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=et(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}(e.selector,e.attribute);case"property":return et(e.selector,e.property);case"html":return et(e.selector,"innerHTML");case"text":return function(e){return et(e,"textContent")}(e.selector);case"children":return fn(e.selector);case"node":return dn(e.selector);case"query":var t=Qe()(e.query,hn);return function(e,t){return function(n){var r=n.querySelectorAll(e);return[].map.call(r,function(e){return Je(e,t)})}}(e.selector,t);default:console.error('Unknown source type "'+e.source+'"')}}function gn(e,t){return Je(e,hn(t))}function mn(e,t,n,r){var o=void 0;switch(t.source){case void 0:o=r?r[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":o=gn(n,t)}return void 0===o?t.default:function(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:$e()(e);case"integer":case"number":return Number(e)}return e}(o,t.type)}function bn(e,t,n){return Qe()(e.attributes,function(e,r){return mn(r,e,t,n)})}function vn(e){var t=e.blockName,n=e.attrs,r=e.innerBlocks,o=void 0===r?[]:r,i=e.innerHTML;n=n||{},i=i.trim(),"core/text"!==(t=t||Re())&&"core/cover-text"!==t||(t="core/paragraph");var a=Me(t),s=Re();if(t===s&&(i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var r=e.split("</pre>"),o=r.pop();e="";for(var i=0;i<r.length;i++){var a=r[i],s=a.indexOf("<pre");if(-1!==s){var l="<pre wp-pre-tag-"+i+"></pre>";n.push([l,a.substr(s)+"</pre>"]),e+=a.substr(0,s)+l}else e+=a}e+=o}var c="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=at(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+c+"[s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+c+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var u=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",u.forEach(function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>s*(</?"+c+"[^>]*>)s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>s*(</?"+c+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+c+"[^>]*>)s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")})).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,function(e,t){return t?e:"<br />\n"})).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+c+"[^>]*>)s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach(function(t){var n=nt()(t,2),r=n[0],o=n[1];e=e.replace(r,o)}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}(i).trim()),a||(t&&(i=Wt(t,n,i)),a=Me(t=s)),o=o.map(vn),a&&(i||t!==s)){var l=ze(t,bn(a,i,n),o);if(t!==s&&(l.isValid=un(i,a,l.attributes)),l.originalContent=i,!l.isValid){var c=function(e,t,n){if(e.deprecated&&e.deprecated.length)for(var r=0;r<e.deprecated.length;r++){var o=R()({},Ye()(e,["attributes","save","supports"]),e.deprecated[r]);try{var i=bn(o,t,n),a=o.migrate?o.migrate(i):i;if(un(t,o,i))return a}catch(e){}}}(a,i,n);c&&(l.isValid=!0,l.attributes=c)}return l}}function yn(e){return Object(st.parse)(e).reduce(function(e,t){var n=vn(t);return n&&e.push(n),e},[])}var _n=yn,wn=n(159),xn=n.n(wn),kn=n(556),En=n.n(kn),Cn=window.Node,Sn=Cn.ELEMENT_NODE,On=Cn.TEXT_NODE,Tn=[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]],An={strong:{},em:{},del:{},ins:{},a:{attributes:["href"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{}},jn={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone"]},iframe:{attributes:["src","allowfullscreen","height","width"]}},Rn={figcaption:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},p:{},li:{children:["ul","ol","li"]},pre:{},td:{},th:{}},Nn=R()({},An,Rn,jn,{figure:{},blockquote:{},hr:{},ul:{},ol:{attributes:["type"]},table:{},thead:{},tfoot:{},tbody:{},tr:{}});function Pn(e){return!function(e){return Nn.hasOwnProperty(e.nodeName.toLowerCase())}(e)}function Ln(e,t){var n=e.nodeName.toLowerCase();return An.hasOwnProperty(n)||function(e,t){return!(!t||!e)&&Tn.some(function(n){return P()(n,e)&&P()(n,t)})}(n,t)}function Mn(e){return!!Ln(e)&&(!!e.hasChildNodes()&&$e()(e.childNodes).some(function(e){return e.nodeType===Sn&&(!Ln(e)||Mn(e))}))}function Bn(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function Dn(e){return!e.hasChildNodes()||$e()(e.childNodes).every(function(e){return e.nodeType===On?!e.nodeValue.trim():e.nodeType!==Sn||("BR"===e.nodeName||!e.hasAttributes()&&Dn(e))})}function In(e,t,n){$e()(e).forEach(function(e){In(e.childNodes,t,n),t.forEach(function(t){n.contains(e)&&t(e,n)})})}function Fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,In(n.body.childNodes,t,n),n.body.innerHTML}var zn=window.Node,Hn=zn.ELEMENT_NODE,Un=zn.TEXT_NODE,qn=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),r=t.body,o=n.body;for(r.innerHTML=e;r.firstChild;){var i=r.firstChild;i.nodeType===Un?i.nodeValue.trim()?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(document.createElement("P")),o.lastChild.appendChild(i)):r.removeChild(i):i.nodeType===Hn?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(o.appendChild(document.createElement("P")),r.removeChild(i.nextSibling)),o.lastChild&&"P"===o.lastChild.nodeName&&o.lastChild.hasChildNodes()?o.lastChild.appendChild(i):r.removeChild(i)):"P"===i.nodeName?Dn(i)?r.removeChild(i):o.appendChild(i):Ln(i)?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(document.createElement("P")),o.lastChild.appendChild(i)):o.appendChild(i):r.removeChild(i)}return o.innerHTML},Kn=window.Node.ELEMENT_NODE,Vn=function(e){if(e.nodeType===Kn&&e.hasAttributes()){var t=e.nodeName.toLowerCase();$e()(e.attributes).forEach(function(n){var r=n.name;"class"===r||function(e,t){return Nn[e]&&Nn[e].attributes&&-1!==Nn[e].attributes.indexOf(t)}(t,r)||e.removeAttribute(r)});var n=e.getAttribute("class");if(n){var r=n.split(" ").filter(function(e){return e&&function(e,t){return Nn[e]&&Nn[e].classes&&-1!==Nn[e].classes.indexOf(t)}(t,e)}).join(" ");r.length?e.setAttribute("class",r):e.removeAttribute("class")}}},Wn=n(12),Gn=window.Node.COMMENT_NODE,$n=function(e){if(e.nodeType===Gn&&0===e.nodeValue.indexOf("more")){for(var t=e.nodeValue.slice(4).trim(),n=e,r=!1;n=n.nextSibling;)if(n.nodeType===Gn&&"noteaser"===n.nodeValue){r=!0,Object(Wn.remove)(n);break}for(var o=function(e,t){var n=document.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(t,r),i=e.parentNode;"BODY"!==i.nodeName;)i=i.parentNode;Object(Wn.replace)(e,o)}};var Xn=window.Node.COMMENT_NODE,Yn=function(e){e.nodeType===Xn&&e.parentNode.removeChild(e)},Zn=window.Node.ELEMENT_NODE;var Qn=function(e,t){return function(n){if(n.nodeType===Zn&&e(n)){var r=t&&t(n);r&&n.appendChild(r),function(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}(n)}}},Jn=function(e,t){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;var r=$e()(n.body.children);return!r.some(Bn)&&function e(t,n){return t.every(function(t){return("SPAN"===t.nodeName||Ln(t,n))&&e($e()(t.children),n)})}(r,t)};var er=window.Node.ELEMENT_NODE;function tr(e,t){for(var n=document.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e)}var nr=function(e){if(e.nodeType===er){if("SPAN"===e.nodeName){var t=e.style.fontWeight,n=e.style.fontStyle;"bold"===t||"700"===t?tr(e,"strong"):"italic"===n&&tr(e,"em")}"B"===e.nodeName&&tr(e,"strong"),"I"===e.nodeName&&tr(e,"em")}},rr=window.parseInt,or=window.Node.ELEMENT_NODE;function ir(e){return"OL"===e.nodeName||"UL"===e.nodeName}var ar=function(e){if(e.nodeType===or&&"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 r=rr(n[1],10)-1||0,o=e.previousElementSibling;if(!o||!ir(o)){var i=e.textContent.trim().slice(0,1),a=/[1iIaA]/.test(i),s=document.createElement(a?"ol":"ul");a&&s.setAttribute("type",i),e.parentNode.insertBefore(s,e)}var l=e.previousElementSibling,c=l.nodeName,u=document.createElement("li"),p=l;for(e.removeChild(e.firstElementChild);e.firstChild;)u.appendChild(e.firstChild);for(;r--;)ir(p=p.lastElementChild||p)&&(p=p.lastElementChild||p);ir(p)||(p=p.appendChild(document.createElement(c))),p.appendChild(u),e.parentNode.removeChild(e)}}}},sr=window.Node.ELEMENT_NODE;var lr=function(e){if(e.nodeType===sr){var t=e.nodeName;if("OL"===t||"UL"===t){var n=e,r=e.previousElementSibling;r&&r.nodeName===t&&1===n.children.length&&(r.appendChild(n.firstChild),n.parentNode.removeChild(n));var o,i=e.parentNode;if(i&&"LI"===i.nodeName&&1===i.children.length&&!/\S/.test((o=i,[].concat($()(o.childNodes)).map(function(e){var t=e.nodeValue;return void 0===t?"":t}).join("")))){var a=i,s=a.previousElementSibling,l=a.parentNode;s?(s.appendChild(n),l.removeChild(a)):(l.parentNode.insertBefore(n,l),l.parentNode.removeChild(l))}}}},cr=window,ur=cr.atob,pr=cr.Blob,fr=window.Node.ELEMENT_NODE,dr=function(e){if(e.nodeType===fr&&"IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t=e.src.split(","),n=nt()(t,2),r=n[0],o=n[1],i=r.slice(5).split(";"),a=nt()(i,1)[0];if(!o||!a)return void(e.src="");var s=void 0;try{s=ur(o)}catch(t){return void(e.src="")}for(var l=new Uint8Array(s.length),c=0;c<l.length;c++)l[c]=s.charCodeAt(c);var u=new pr([l],{type:a});e.src=Object(Wn.createBlobURL)(u)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}},hr=window.Node.ELEMENT_NODE,gr=function(e){e.nodeType===hr&&"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=qn(e.innerHTML))},mr=window.Node.TEXT_NODE,br=function(e){if(e.nodeType===mr){var t=e.parentNode;-1!==["TR","TBODY","THEAD","TFOOT","TABLE"].indexOf(t.nodeName)&&t.removeChild(e)}},vr=window.Node.ELEMENT_NODE,yr=function(e,t){e.nodeType===vr&&function(e){return Rn.hasOwnProperty(e.nodeName.toLowerCase())}(e)&&In(e.childNodes,[Qn(function(t){return!Ln(t)&&!function(e,t){var n=e.nodeName.toLowerCase(),r=t.nodeName.toLowerCase();return Nn[n]&&Nn[n].children&&-1!==Nn[n].children.indexOf(r)}(e,t)},function(e){return e.nextElementSibling&&t.createElement("BR")})],t)},_r=window.Node.ELEMENT_NODE,wr=function(e){if(e.nodeType===_r&&function(e){return jn.hasOwnProperty(e.nodeName.toLowerCase())}(e)){var t=e;"IMG"===e.nodeName&&1===e.parentNode.childNodes.length&&"A"===e.parentNode.nodeName&&(t=e.parentNode);for(var n=t;n&&"P"!==n.nodeName;)n=n.parentElement;n&&n.parentNode.insertBefore(t,n)}},xr=n(364),kr=n.n(xr),Er=window.wp.shortcode;var Cr=function e(t){var n=Ke(Ve("from"),function(e){return"shortcode"===e.type&&me()(ae()(e.tag),function(e){return Er.regexp(e).test(t)})});if(!n)return[t];var r,o=ae()(n.tag),i=Q()(o),a=0;if(r=Er.next(i,t,a)){a=r.index+r.content.length;var s=Qe()(kr()(n.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(r.shortcode.attrs,r)}),l=ze(n.blockName,bn(R()({},Me(n.blockName),{attributes:n.attributes}),r.shortcode.content,s));return[t.substr(0,r.index),l].concat($()(e(t.substr(r.index+r.content.length))))}return[t]},Sr=function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,function(e,t,n,r){return t+"\n"+n+"\n"+r})};function Or(e){var t=e.HTML,n=e.plainText,r=void 0===n?"":n,o=e.mode,i=void 0===o?"AUTO":o,a=e.tagName,s=e.canUserUseUnfilteredHTML,l=void 0!==s&&s;if(t=t.replace(/<meta[^>]+>/,""),"INLINE"!==i&&-1!==t.indexOf("\x3c!-- wp:"))return yn(t);if(r&&function(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=t.querySelectorAll("br");return $e()(n).forEach(function(e){e.parentNode.replaceChild(document.createTextNode("\n"),e)}),t.body.normalize(),1===t.body.childNodes.length&&t.body.firstChild.nodeType===On}(t)){var c=new En.a.Converter;c.setOption("noHeaderId",!0),c.setOption("tables",!0),c.setOption("literalMidWordUnderscores",!0),c.setOption("omitExtraWLInCodeBlocks",!0),c.setOption("simpleLineBreaks",!0),r=Sr(r),t=c.makeHtml(r),"AUTO"===i&&-1===r.indexOf("\n")&&0!==r.indexOf("<p>")&&0===t.indexOf("<p>")&&(i="INLINE")}var u=Cr(t),p=u.length>1,f="AUTO"===i&&Jn(t,a)&&!p;return"INLINE"===i||f?(t=Fn(t,[nr,Vn,$n,Yn,Qn(function(e){return!Ln(e,a)})]),window.console.log("Processed inline HTML:\n\n",t),t):u.reduce(function(e,t){if("string"!=typeof t)return[].concat($()(e),[t]);t=Fn(t=Fn(t=Fn(t,[ar]),xn()([lr,dr,nr,Vn,$n,Yn,!l&&Qn(function(e){return"IFRAME"===e.nodeName}),wr,Qn(Pn),gr,br,yr])),[Qn(Mn)]),t=qn(t),window.console.log("Processed HTML piece:\n\n",t);var n=document.implementation.createHTMLDocument("");n.body.innerHTML=t;var r=Ve("from"),o=$e()(n.body.children).map(function(e){var t=Ke(r,function(t){return"raw"===t.type&&t.isMatch(e)});return t?t.transform?t.transform(e):ze(t.blockName,bn(Me(t.blockName),e.outerHTML)):ze(Re(),{content:e.outerHTML})});return[].concat($()(e),$()(o))},[])}var Tr=n(38),Ar=n.n(Tr);function jr(e){var t=Pe();if(e.name!==t)return!1;var n=ze(t),r=Object(F.applyFilters)("blocks.isUnmodifiedDefaultBlock.attributes",[].concat($()(Ar()(n.attributes)),$()(Ar()(e.attributes))));return ue()(r,function(t){return dt()(n.attributes[t],e.attributes[t])})}var Rr=n(49),Nr=n.n(Rr);function Pr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&ue()(t,function(t,n){var r=nt()(t,3),o=r[0],i=r[2],a=e[n];return o===a.name&&Pr(a.innerBlocks,i)})}function Lr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Nr()(t,function(t,n){var r=nt()(t,3),o=r[0],i=r[1],a=r[2],s=e[n];if(s&&s.name===o){var l=Lr(s.innerBlocks,a);return R()({},s,{innerBlocks:l})}return ze(o,i,Lr([],a))})}function Mr(e){var t=De(e,"align");if(Array.isArray(t))return t;var n=[];return!0===t&&(n.push("left","center","right"),Ie(e,"wideAlign",!0)&&n.push("wide","full")),n}var Br=Object(I.createHigherOrderComponent)(function(e){return function(t){var n=Mr(t.name);return[n.length>0&&t.isSelected&&wp.element.createElement(H,{key:"align-controls"},wp.element.createElement(W,{value:t.attributes.align,onChange:function(e){return t.setAttributes({align:e})},controls:n})),wp.element.createElement(e,R()({key:"edit"},t))]}},"withToolbarControls"),Dr=Object(I.createHigherOrderComponent)(function(e){return function(t){var n=t.block.attributes.align,r=Mr(t.block.name),o=t.wrapperProps;return P()(r,n)&&(o=R()({},o,{"data-align":n})),wp.element.createElement(e,R()({},t,{wrapperProps:o}))}},"withAlign");Object(F.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Ie(e,"align")&&(e.attributes=M()(e.attributes,{align:{type:"string"}})),e}),Object(F.addFilter)("editor.BlockListBlock","core/align/withAlign",Dr),Object(F.addFilter)("blocks.BlockEdit","core/align/withToolbarControls",Br),Object(F.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",function(e,t,n){var r=n.align;return P()(Mr(t),r)&&(e.className=D()("align"+r,e.className)),e});var Ir=Object(z.createSlotFill)("InspectorAdvancedControls"),Fr=/[\s#]/g;var zr=Object(I.createHigherOrderComponent)(function(e){return function(t){return Ie(t.name,"anchor")&&t.isSelected?wp.element.createElement(I.Fragment,null,wp.element.createElement(e,t),wp.element.createElement(Ir,null,wp.element.createElement(z.TextControl,{label:Object(U.__)("HTML Anchor"),help:Object(U.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Fr,"-"),t.setAttributes({anchor:e})}}))):wp.element.createElement(e,t)}},"withInspectorControl");Object(F.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Ie(e,"anchor")&&(e.attributes=M()(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(F.addFilter)("blocks.BlockEdit","core/anchor/inspector-control",zr),Object(F.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Ie(t,"anchor")&&(e.id=n.anchor),e});var Hr=Object(I.createHigherOrderComponent)(function(e){return function(t){return Ie(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(I.Fragment,null,wp.element.createElement(e,t),wp.element.createElement(Ir,null,wp.element.createElement(z.TextControl,{label:Object(U.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))):wp.element.createElement(e,t)}},"withInspectorControl");Object(F.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Ie(e,"customClassName",!0)&&(e.attributes=M()(e.attributes,{className:{type:"string"}})),e}),Object(F.addFilter)("blocks.BlockEdit","core/custom-class-name/inspector-control",Hr),Object(F.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",function(e,t,n){return Ie(t,"customClassName",!0)&&n.className&&(e.className=D()(e.className,n.className)),e});var Ur=n(429),qr=n.n(Ur),Kr=(n(818),n(93)),Vr=n.n(Kr),Wr=n(555),Gr=n.n(Wr),$r=n(355),Xr=n.n($r);function Yr(e){var t=e.icon;return"string"==typeof t?wp.element.createElement(z.Dashicon,{icon:t}):"function"==typeof t?t.prototype instanceof I.Component?Object(I.createElement)(t):t():t||null}var Zr={name:"blocks",className:"blocks-autocompleters__block",triggerPrefix:"/",options:Gr()(function(){return Vr.a.resolve(Xr()(Be(),function(e){return"common"!==e.category}))}),getOptionKeywords:function(e){var t=e.title,n=e.keywords,r=void 0===n?[]:n;return[].concat($()(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[wp.element.createElement(Yr,{key:"icon",icon:t}),n]},allowContext:function(e,t){return!(/\S/.test(e.toString())||/\S/.test(t.toString()))},getOptionCompletion:function(e){return{action:"replace",value:ze(e.name)}}},Qr=[{name:"users",className:"blocks-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),wp.apiRequest({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[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)]},allowNode:function(){return!0},getOptionCompletion:function(e){return"@"+e.slug}}];Object(F.addFilter)("blocks.Autocomplete.completers","blocks/autocompleters/set-default-completers",function(e){return e||(e=Qr.map(qr.a)),e});var Jr=n(428),eo=n.n(Jr);Object(F.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return Ie(t,"className",!0)&&("string"==typeof e.className?e.className=eo()([Ut(t.name)].concat($()(e.className.split(" ")))).join(" ").trim():e.className=Ut(t.name)),e});var to=n(264),no=n.n(to);Object(F.addFilter)("blocks.registerBlockType","core/layout/attribute",function(e){return e.attributes=M()(e.attributes,{layout:{type:"string"}}),e}),Object(F.addFilter)("blocks.getSaveContent.extraProps","core/layout/save-props",function(e,t,n){var r=n.layout;return r&&(e.className=xn()([e.className,"layout-"+r]).join(" ")),e}),Object(F.addFilter)("blocks.switchToBlockType.transformedBlock","core/layout/preserve-layout",function(e,t){var n=_e()(t,[0,"attributes","layout"]);return e.attributes.layout=n,e}),Object(F.addFilter)("blocks.isUnmodifiedDefaultBlock.attributes","core/layout/exclude-layout-attribute-check",function(e){return no()(e,"layout")});var ro=n(33),oo=n.n(ro),io=n(554),ao=n.n(io),so=n(553),lo=n.n(so),co=(n(817),n(816),[{icon:"editor-alignleft",title:Object(U.__)("Align left"),align:"left"},{icon:"editor-aligncenter",title:Object(U.__)("Align center"),align:"center"},{icon:"editor-alignright",title:Object(U.__)("Align right"),align:"right"}]);function uo(e){var t=e.value,n=e.onChange;return wp.element.createElement(z.Toolbar,{controls:co.map(function(e){var r=e.align,o=t===r;return R()({},e,{isActive:o,onClick:function(e){return function(){return n(t===e?void 0:e)}}(r)})})})}n(117);var po=n(470),fo=n.n(po),ho=n(22),go=n.n(ho),mo=n(441),bo=n.n(mo),vo=n(92),yo=n.n(vo),_o=n(58),wo=n.n(_o),xo=n(552),ko=n.n(xo),Eo=n(263),Co=n.n(Eo),So=n(469),Oo=n.n(So),To=n(91),Ao=n.n(To),jo=(n(435),n(10)),Ro=(n(815),[]);var No,Po=(No=z.Autocomplete,function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).call(this));return e.state={completers:Ro},e.saveParentRef=e.saveParentRef.bind(e),e.onFocus=e.onFocus.bind(e),e}return Ft()(t,e),Mt()(t,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props.completers,t=e;Object(F.hasFilter)("blocks.Autocomplete.completers")&&(e=Object(F.applyFilters)("blocks.Autocomplete.completers",e&&e.map(qr.a))),this.setState({lastFilteredCompletersProp:t,completers:e||Ro})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var e=this.state.completers,t=R()({},this.props,{completers:e});return wp.element.createElement("div",{onFocus:this.onFocus,ref:this.saveParentRef},wp.element.createElement(No,R()({onFocus:this.onFocus},t)))}}]),t}(I.Component)),Lo=(n(814),n(342)),Mo=n.n(Lo),Bo=n(380),Do=n.n(Bo),Io=n(384),Fo=Wn.keycodes.UP,zo=Wn.keycodes.DOWN,Ho=Wn.keycodes.ENTER,Uo=function(e){return e.stopPropagation()},qo=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(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=Mo()(e.updateSuggestions.bind(e),200),e.suggestionNodes=[],e.state={posts:[],showSuggestions:!1,selectedSuggestion:null},e}return Ft()(t,e),Mt()(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;this.suggestionsRequest&&this.suggestionsRequest.abort(),e.length<2?this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1}):(this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0}),this.suggestionsRequest=wp.apiRequest({path:"/wp/v2/posts?"+Object(Io.stringify)({search:e,per_page:20,orderby:"relevance"})}),this.suggestionsRequest.then(function(e){t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(U.sprintf)(Object(U._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(U.__)("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 Fo:e.stopPropagation(),e.preventDefault();var o=n?n-1:r.length-1;this.setState({selectedSuggestion:o});break;case zo:e.stopPropagation(),e.preventDefault();var i=null===n||n===r.length-1?0:n+1;this.setState({selectedSuggestion:i});break;case Ho: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,Do()(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=void 0===n?"":n,o=t.instanceId,i=this.state,a=i.showSuggestions,s=i.posts,l=i.selectedSuggestion,c=i.loading;return wp.element.createElement("div",{className:"blocks-url-input"},wp.element.createElement("input",{autoFocus:!0,type:"text","aria-label":Object(U.__)("URL"),required:!0,value:r,onChange:this.onChange,onInput:Uo,placeholder:Object(U.__)("Paste URL or type"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":a,"aria-autocomplete":"list","aria-owns":"blocks-url-input-suggestions-"+o,"aria-activedescendant":null!==l?"blocks-url-input-suggestion-"+o+"-"+l:void 0}),c&&wp.element.createElement(z.Spinner,null),a&&!!s.length&&wp.element.createElement("div",{id:"blocks-url-input-suggestions-"+o,tabIndex:"-1",className:"blocks-url-input__suggestions",ref:this.bindListNode,role:"listbox"},s.map(function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",id:"blocks-url-input-suggestion-"+o+"-"+n,ref:e.bindSuggestionNode(n),className:D()("blocks-url-input__suggestion",{"is-selected":n===l}),onClick:function(){return e.selectLink(t.link)},"aria-selected":n===l},Object(Wn.decodeEntities)(t.title.rendered)||Object(U.__)("(no title)"))})))}}]),t}(I.Component),Ko=Object(z.withSpokenMessages)(Object(z.withInstanceId)(qo)),Vo=n(383),Wo=Wn.keycodes.ESCAPE,Go=Wn.keycodes.LEFT,$o=Wn.keycodes.RIGHT,Xo=Wn.keycodes.UP,Yo=Wn.keycodes.DOWN,Zo=Wn.keycodes.BACKSPACE,Qo=Wn.keycodes.ENTER,Jo=[{icon:"editor-bold",title:Object(U.__)("Bold"),format:"bold"},{icon:"editor-italic",title:Object(U.__)("Italic"),format:"italic"},{icon:"editor-strikethrough",title:Object(U.__)("Strikethrough"),format:"strikethrough"},{icon:"admin-links",title:Object(U.__)("Link"),format:"link"}],ei=["bold","italic","strikethrough","link"],ti=function(e){return e.stopPropagation()},ni=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.state={isAddingLink:!1,isEditingLink:!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}return Ft()(t,e),Mt()(t,[{key:"onKeyDown",value:function(e){e.keyCode===Wo&&(this.state.isEditingLink||this.state.isAddingLink)&&(e.stopPropagation(),this.dropLink()),[Go,Yo,$o,Xo,Zo,Qo].indexOf(e.keyCode)>-1&&ti(e)}},{key:"componentWillReceiveProps",value:function(e){this.props.selectedNodeId!==e.selectedNodeId&&this.setState({isAddingLink:!1,isEditingLink:!1,newLinkValue:""})}},{key:"onChangeLinkValue",value:function(e){this.setState({newLinkValue:e})}},{key:"toggleFormat",value:function(e){var t=this;return function(){t.props.onChange(oo()({},e,!t.props.formats[e]))}}},{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}}),this.state.isAddingLink&&this.props.speak(Object(U.__)("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,o=t.enabledControls,i=void 0===o?ei:o,a=t.customControls,s=void 0===a?[]:a,l=this.state,c=l.isAddingLink,u=l.isEditingLink,p=l.newLinkValue,f=r?R()({position:"absolute"},r):null,d=Jo.concat(s).filter(function(e){return-1!==i.indexOf(e.format)}).map(function(t){var n="link"===t.format;return R()({},t,{onClick:n?e.addLink:e.toggleFormat(t.format),isActive:e.isFormatActive(t.format)||n&&c})});return wp.element.createElement("div",{className:"blocks-format-toolbar"},wp.element.createElement(z.Toolbar,{controls:d}),(c||u)&&wp.element.createElement(z.Fill,{name:"RichText.Siblings"},wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",style:f,onKeyPress:ti,onKeyDown:this.onKeyDown,onSubmit:this.submitLink},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line"},wp.element.createElement(Ko,{value:p,onChange:this.onChangeLinkValue}),wp.element.createElement(z.IconButton,{icon:"editor-break",label:Object(U.__)("Apply"),type:"submit"}),wp.element.createElement(z.IconButton,{icon:"editor-unlink",label:Object(U.__)("Remove link"),onClick:this.dropLink})))),!!n.link&&!c&&!u&&wp.element.createElement(z.Fill,{name:"RichText.Siblings"},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal",style:f,onKeyPress:ti},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(Vo.a)(decodeURI(n.link.value))),wp.element.createElement(z.IconButton,{icon:"edit",label:Object(U.__)("Edit"),onClick:this.editLink}),wp.element.createElement(z.IconButton,{icon:"editor-unlink",label:Object(U.__)("Remove link"),onClick:this.dropLink})))))}}]),t}(I.Component),ri=Object(z.withSpokenMessages)(ni),oi=n(157),ii=n.n(oi),ai=n(354),si=n.n(ai),li=n(551),ci=n.n(li),ui=n(468),pi=n.n(ui),fi=function(e){return kr()(e,function(e,t){return n=t,xt()(n,"aria-")&&!ci()(e);var n})},di=function(e){function t(){return Pt()(this,t),Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments))}return Ft()(t,e),Mt()(t,[{key:"componentDidMount",value:function(){this.initialize()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),dt()(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),ii()(this.editorNode.style,e.style)),dt()(this.props.className,e.className)||(this.editorNode.className=D()(e.className,"blocks-rich-text__tinymce"));var n=function(e,t){var n=Ar()(fi(e)),r=Ar()(fi(t));return{removedKeys:pi()(n,r),updatedKeys:r.filter(function(n){return!dt()(e[n],t[n])})}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;r.forEach(function(e){return t.editorNode.removeAttribute(e)}),o.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.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"}}});t.plugins.push("paste"),si.a.init(R()({},t,{target:this.editorNode,setup:function(t){e.editor=t,e.props.onSetup(t)}}))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.tagName,o=void 0===r?"div":r,i=n.style,a=n.defaultValue,s=n.className,l=n.isPlaceholderVisible,c=fi(this.props);-1===["ul","ol","table"].indexOf(o)&&(c.role="textbox");var u=void 0;return a&&(u=I.Children.toArray(a)),Object(I.createElement)(o,R()({},c,(e={className:D()(s,"blocks-rich-text__tinymce"),contentEditable:!0},oo()(e,"data-is-placeholder-visible",l),oo()(e,"ref",function(e){return t.editorNode=e}),oo()(e,"style",i),oo()(e,"suppressContentEditableWarning",!0),e)),u)}}]),t}(I.Component),hi=n(467),gi=n.n(hi),mi=n(379),bi=n.n(mi),vi=n(440),yi=n.n(vi),_i=Wn.keycodes.ESCAPE,wi=Wn.keycodes.ENTER,xi=Wn.keycodes.SPACE,ki=Wn.keycodes.BACKSPACE,Ei=function(e){var t=this.getContent.bind(this),n=this.props,r=n.setTimeout,o=n.onReplace,i=si.a.util.VK,a=e.settings.wptextpattern||{},s=bi()(ee()(Ve("from"),{type:"pattern"}),"trigger"),l=s.enter,c=s.undefined,u=a.inline||[{delimiter:"`",format:"code"}],p=void 0;function f(){var t=e.selection.getRng(),n=t.startContainer,o=t.startOffset;if(n&&3===n.nodeType&&n.data.length&&o){var i=n.data.slice(0,o),a=n.data.charAt(o-1),s=u.reduce(function(e,t){if(e.result)return e;if(a!==t.delimiter.slice(-1))return e;var n=yi()(t.delimiter),r=new RegExp("(.*)"+n+".+"+n+"$"),s=i.match(r);if(!s)return e;var l=s[1].length,c=o-t.delimiter.length,u=i.charAt(l-1),p=i.charAt(l+t.delimiter.length),f=t.delimiter.charAt(0);if(l&&/\S/.test(u)&&(/\s/.test(p)||u===f))return e;var d=new RegExp("^[\\s"+yi()(f)+"]+$"),h=i.slice(l,c);return d.test(h)?e:{start:l,pattern:t}},{}),l=s.start,c=s.pattern;if(c){var f=c.delimiter,d=c.format,h=e.formatter.get(d);h&&h[0].inline&&(e.undoManager.add(),e.undoManager.transact(function(){n.insertData(o,"\ufeff");var t=n.splitText(l),i=t.splitText(o-l);t.deleteData(0,f.length),t.deleteData(t.data.length-f.length,f.length),e.formatter.apply(d,{},t),e.selection.setCursorLocation(i,1),r(function(){p="space",e.once("selectionchange",function(){if(i){var e=i.data.indexOf("\ufeff");-1!==e&&i.deleteData(e,e+1)}})})}))}}}e.on("selectionchange",function(){p=null}),e.on("keydown",function(n){var a=n.keyCode;(p&&a===_i||"space"===p&&a===ki)&&(e.undoManager.undo(),n.preventDefault(),n.stopImmediatePropagation()),i.metaKeyPressed(n)||(a===wi?function(n){if(!o)return;e.getBody().normalize();var r=t();if(!r.length)return;var i=Ke(l,function(e){var t=e.regExp;return t.test(r[0])});if(!i)return;var a=i.transform({content:r});o([a]),n.preventDefault(),n.stopImmediatePropagation()}(n):a===xi?r(function(){return function(n){if(!o)return;e.getBody().normalize();var r=t();if(!r.length)return;var i=r[0],a=Ke(n,function(e){return e.regExp.test(i)});if(!a)return;var s=i.match(a.regExp),l=e.selection.getRng(),c=s[0].length,u=i.slice(c);if(l.startOffset!==c)return;var p=a.transform({content:[u].concat($()(gi()(r))),match:s});o([p])}(c)}):a>47&&!(a>=91&&a<=93)&&r(f))},!0)},Ci=["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"],Si=Wn.keycodes.BACKSPACE,Oi=Wn.keycodes.DELETE,Ti=Wn.keycodes.ENTER;function Ai(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:I.createElement.apply(void 0,[e,Oo()(t,function(e,t){return 0===t.indexOf("data-mce-")})].concat(r))}function ji(e){return""===e.nodeValue||function(e){return"\ufeff"===("A"===e.nodeName?e.innerText:e.textContent)}(e)}var Ri=function(e){function t(e){Pt()(this,t);var n=Dt()(this,(t.__proto__||Rt()(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.onNodeChange=n.onNodeChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.onKeyUp=n.onKeyUp.bind(n),n.changeFormats=n.changeFormats.bind(n),n.onPropagateUndo=n.onPropagateUndo.bind(n),n.onPastePreProcess=n.onPastePreProcess.bind(n),n.onPaste=n.onPaste.bind(n),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(n),n.state={formats:{},selectedNodeId:0},n.isEmpty=!r||!r.length,n}return Ft()(t,e),Mt()(t,[{key:"getSettings",value:function(e){return(this.props.getSettings||wo.a)(R()({},e,{forced_root_block:this.props.multiline||!1,custom_undo_redo_levels:1}))}},{key:"onSetup",value:function(e){var t=this;this.editor=e,Ci.forEach(function(n){e.on(n,t.proxyPropHandler(n))}),e.on("init",this.onInit),e.on("NewBlock",this.onNewBlock),e.on("nodechange",this.onNodeChange),e.on("keydown",this.onKeyDown),e.on("keyup",this.onKeyUp),e.on("BeforeExecCommand",this.onPropagateUndo),e.on("PastePreProcess",this.onPastePreProcess,!0),e.on("paste",this.onPaste,!0),e.on("input",this.onChange),e.on("change",this.onCreateUndoLevel),Ei.apply(this,[e]),this.props.onSetup&&this.props.onSetup(e)}},{key:"proxyPropHandler",value:function(e){var t=this;return function(n){"function"==typeof t.props["on"+e]&&t.props["on"+e](n)}}},{key:"onInit",value:function(){this.registerCustomFormatters()}},{key:"adaptFormatter",value:function(e){switch(e.type){case"inline-style":return{inline:"span",styles:R()({},e.style)}}}},{key:"registerCustomFormatters",value:function(){var e=this;Co()(this.props.formatters,function(t){e.editor.formatter.register(t.format,e.adaptFormatter(t))})}},{key:"onPropagateUndo",value:function(e){var t=this.context,n=t.onUndo,r=t.onRedo,o=e.command;"Undo"===o&&n&&(bo()(n),e.preventDefault()),"Redo"===o&&r&&(bo()(r),e.preventDefault())}},{key:"onPaste",value:function(e){var t=this,n=e.clipboardData||e.dataTransfer||this.editor.getDoc().dataTransfer||{getData:function(){return""}},r=n.items,o=void 0===r?[]:r,i=n.files,a=void 0===i?[]:i,s=n.types,l=void 0===s?[]:s,c=yo()([].concat($()(o),$()(a)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}),u=n.getData("text/plain"),p=n.getData("text/html");if(c&&!p){var f=c.getAsFile?c.getAsFile():c,d=this.editor.getBody(),h=this.editor.dom.isEmpty(d),g=Or({HTML:'<img src="'+Object(Wn.createBlobURL)(f)+'">',mode:"BLOCKS",tagName:this.props.tagName});window.console.log("Received item:\n\n",f),h&&this.props.onReplace?this.props.setTimeout(function(){return t.props.onReplace(g)}):this.props.onSplit&&this.props.setTimeout(function(){return t.splitContent(g)}),e.preventDefault()}this.pastedPlainText=u,this.isPlainTextPaste=1===l.length&&"text/plain"===l[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=Or({HTML:t,plainText:this.pastedPlainText,mode:s,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.context.canUserUseUnfilteredHTML});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:"onChange",value:function(){this.isEmpty=this.editor.dom.isEmpty(this.editor.getBody()),this.savedContent=this.isEmpty?[]:this.getContent(),this.props.onChange(this.savedContent)}},{key:"onCreateUndoLevel",value:function(){this.onChange(),this.context.onCreateUndoLevel()}},{key:"getFocusPosition",value:function(e){var t=function e(t){var n=window.getComputedStyle(t);return"relative"===n.position||"absolute"===n.position?t:e(t.parentNode)}(this.editor.getBody()).getBoundingClientRect(),n=10,r=0;return{top:e.top-t.top+e.height+n,left:e.left-t.left-149+e.width/2+r}}},{key:"onKeyDown",value:function(e){var t=this.editor.dom,n=this.editor.getBody();if(e.keyCode===Si&&Object(Wn.isHorizontalEdge)(n,!0)||e.keyCode===Oi&&Object(Wn.isHorizontalEdge)(n,!1)){if(!this.props.onMerge&&!this.props.onRemove)return;this.onCreateUndoLevel();var r=e.keyCode===Oi;this.props.onMerge&&this.props.onMerge(r),this.props.onRemove&&t.isEmpty(n)&&this.props.onRemove(r),e.preventDefault(),e.stopImmediatePropagation()}if(e.keyCode===Ti)if(this.props.multiline){if(!this.props.onSplit)return;var o=this.editor.selection.getNode();if(o.parentNode!==n)return;if(!t.isEmpty(o))return;e.preventDefault(),this.onCreateUndoLevel();var i=$e()(n.childNodes),a=t.nodeIndex(o),s=i.slice(0,a),l=i.slice(a+1),c=Object(pn.nodeListToReact)(s,Ai),u=Object(pn.nodeListToReact)(l,Ai);this.restoreContentAndSplit(c,u)}else e.preventDefault(),this.onCreateUndoLevel(),e.shiftKey||!this.props.onSplit?this.editor.execCommand("InsertLineBreak",!1,e):this.splitContent()}},{key:"onKeyUp",value:function(e){var t=e.keyCode;t===Si&&this.onChange(),this.props.isViewportSmall&&t!==Si&&t!==Ti&&this.scrollToRect(Object(Wn.getRectangleFromRange)(this.editor.selection.getRng()))}},{key:"scrollToRect",value:function(e){var t=e.top,n=Object(Wn.getScrollContainer)(this.editor.getBody());if(n){var r=t-100;Math.abs(r)>10&&n.scrollTo(n.scrollLeft,n.scrollTop+r)}}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(this.props.onSplit){var t,n=this.editor.dom,r=this.editor.getBody(),o=n.createRng(),i=n.createRng(),a=this.editor.selection.getRng();if(r.childNodes.length){o.setStart(r,0),o.setEnd(a.startContainer,a.startOffset),i.setStart(a.endContainer,a.endOffset),i.setEnd(r,n.nodeIndex(r.lastChild)+1);var s=o.extractContents(),l=i.extractContents(),c=Object(pn.nodeListToReact)(s.childNodes,Ai),u=Object(pn.nodeListToReact)((t=l.childNodes,fo()(t,ji)),Ai);this.restoreContentAndSplit(c,u,e)}else this.restoreContentAndSplit([],[],e)}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=$e()(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 r=e.slice(0,n),o=Ao()(r);if(!(!o||r.length<2||o.textContent)){var i=r.slice(0,r.length-1),a=e.slice(n).reduce(function(e,t){return e.length||t.textContent?(e.push(t),e):e},[]);this.setContent(this.props.value),this.restoreContentAndSplit(Object(pn.nodeListToReact)(i,Ai),Object(pn.nodeListToReact)(a,Ai))}}}}},{key:"onNodeChange",value:function(e){var t=e.parents;if(document.activeElement===this.editor.getBody()){var n=this.props.formattingControls,r=this.editor.formatter.matchAll(n).reduce(function(e,n){return e[n]=R()({isActive:!0},function(e,t){switch(e){case"link":var n=yo()(t,function(e){return"a"===e.nodeName.toLowerCase()});return n?{value:n.getAttribute("href")||"",node:n}:{};default:return{}}}(n,t)),e},{}),o=Object(Wn.getRectangleFromRange)(this.editor.selection.getRng()),i=this.getFocusPosition(o);this.setState({formats:r,focusPosition:i,selectedNodeId:this.state.selectedNodeId+1}),this.props.isViewportSmall&&this.scrollToRect(o)}}},{key:"updateContent",value:function(){var e=this;this.editor.undoManager.ignore(function(){var t=e.editor.selection.getBookmark(2,!0);e.savedContent=e.props.value,e.setContent(e.savedContent),e.editor.selection.moveToBookmark(t)})}},{key:"setContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.editor.setContent(Object(I.renderToString)(e))}},{key:"getContent",value:function(){return Object(pn.nodeListToReact)(this.editor.getBody().childNodes||[],Ai)}},{key:"componentWillUnmount",value:function(){this.onChange()}},{key:"componentDidUpdate",value:function(e){!this.editor||this.props.tagName!==e.tagName||this.props.value===e.value||this.props.value===this.savedContent||dt()(this.props.value,e.value)||dt()(this.props.value,this.savedContent)||this.updateContent()}},{key:"componentWillReceiveProps",value:function(e){0}},{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;Co()(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},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:ko()({},t.formats,e)}})}},{key:"restoreContentAndSplit",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.updateContent(),(n=this.props).onSplit.apply(n,[e,t].concat($()(r)))}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.value,a=t.wrapperClassName,s=t.className,l=t.inlineToolbar,c=void 0!==l&&l,u=t.formattingControls,p=t.placeholder,f=t.multiline,d=t.keepPlaceholderOnFocus,h=void 0!==d&&d,g=t.isSelected,m=void 0!==g&&g,b=t.formatters,v=t.autocompleters,y=R()({},fi(this.props),{"aria-multiline":!!f}),_=["editor",r].join(),w=p&&(!m||h)&&this.isEmpty,x=D()(a,"blocks-rich-text"),k=wp.element.createElement(ri,{selectedNodeId:this.state.selectedNodeId,focusPosition:this.state.focusPosition,formats:this.state.formats,onChange:this.changeFormats,enabledControls:u,customControls:b});return wp.element.createElement("div",{className:x},m&&wp.element.createElement(z.Fill,{name:"Formatting.Toolbar"},!c&&k),m&&c&&wp.element.createElement("div",{className:"block-rich-text__inline-toolbar"},k),wp.element.createElement(Po,{onReplace:this.props.onReplace,completers:v},function(t){var n=t.isExpanded,a=t.listBoxId,l=t.activeId;return wp.element.createElement(I.Fragment,null,wp.element.createElement(di,R()({tagName:r,getSettings:e.getSettings,onSetup:e.onSetup,style:o,defaultValue:i,isPlaceholderVisible:w,"aria-label":p,"aria-autocomplete":"list","aria-expanded":n,"aria-owns":a,"aria-activedescendant":l},y,{className:s,key:_})),w&&wp.element.createElement(r,{className:D()("blocks-rich-text__tinymce",s),style:o},f?wp.element.createElement(f,null,p):p),m&&wp.element.createElement(z.Slot,{name:"RichText.Siblings"}))}))}}]),t}(I.Component);Ri.contextTypes={onUndo:go.a,onRedo:go.a,canUserUseUnfilteredHTML:go.a,onCreateUndoLevel:go.a},Ri.defaultProps={formattingControls:["bold","italic","strikethrough","link"],formatters:[]};var Ni=Object(I.compose)([Object(jo.withSelect)(function(e){var t=(e("core/viewport")||{}).isViewportMatch;return{isViewportSmall:(void 0===t?wo.a:t)("< small")}}),z.withSafeTimeout])(Ri),Pi=Object(z.createSlotFill)("InspectorControls"),Li=n(550);n(813);var Mi=Object(z.withContext)("editor")(function(e,t){return{colors:t.colors||e.colors,disableCustomColors:void 0!==t.disableCustomColors?t.disableCustomColors:e.disableCustomColors}})(function(e){var t=e.colors,n=e.disableCustomColors,r=void 0!==n&&n,o=e.value,i=e.onChange;return wp.element.createElement("div",{className:"blocks-color-palette"},Nr()(t,function(e){var t={color:e},n=D()("blocks-color-palette__item",{"is-active":o===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(e){return function(){return i(o===e?void 0:e)}}(e),"aria-label":Object(U.sprintf)(Object(U.__)("Color: %s"),e),"aria-pressed":o===e}))}),!r&&wp.element.createElement(z.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(U.__)("Custom color picker")},wp.element.createElement("span",{className:"blocks-color-palette__custom-color-gradient"}))},renderContent:function(){return wp.element.createElement(Li.ChromePicker,{color:o,onChangeComplete:function(e){return i(e.hex)},style:{width:"100%"},disableAlpha:!0})}}),wp.element.createElement("button",{className:"button-link blocks-color-palette__clear",type:"button",onClick:function(){return i(void 0)}},Object(U.__)("Clear")))}),Bi=n(480),Di=n.n(Bi);n(812);var Ii=function(e){var t=e.backgroundColor,n=e.textColor,r=e.isLargeText,o=e.fallbackBackgroundColor,i=e.fallbackTextColor;if(!t&&!o||!n&&!i)return null;var a=Di()(t||o),s=Di()(n||i);if(1!==a.getAlpha()||1!==s.getAlpha()||Di.a.isReadable(a,s,{level:"AA",size:r?"large":"small"}))return null;var l=a.getBrightness()<s.getBrightness()?Object(U.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(U.__)("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(z.Notice,{status:"warning",isDismissible:!1},l))},Fi=window.getComputedStyle,zi=Object(z.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=n&&r||!e?null:e.querySelector('[contenteditable="true"]'),i=o?Fi(o):null;return{fallbackBackgroundColor:r||!i?void 0:i.backgroundColor,fallbackTextColor:n||!i?void 0:i.color}})(Ii),Hi={small:14,regular:16,large:36,larger:48},Ui=[Zr].concat($()(Qr)),qi=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.nodeRef=null,e.bindRef=e.bindRef.bind(e),e.onReplace=e.onReplace.bind(e),e.toggleDropCap=e.toggleDropCap.bind(e),e.getFontSize=e.getFontSize.bind(e),e.setFontSize=e.setFontSize.bind(e),e}return Ft()(t,e),Mt()(t,[{key:"onReplace",value:function(e){var t=this.props,n=t.attributes,r=t.onReplace;r(e.map(function(e,t){return 0===t&&e.name===Wi?R()({},e,{attributes:R()({},n,e.attributes)}):e}))}},{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:"getFontSize",value:function(){var e=this.props.attributes,t=e.customFontSize,n=e.fontSize;return n?Hi[n]:t||Hi.regular}},{key:"setFontSize",value:function(e){var t=this.props.setAttributes,n=lo()(Hi,function(t){return t===e});t(n?{fontSize:n,customFontSize:void 0}:{fontSize:void 0,customFontSize:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.insertBlocksAfter,i=t.isSelected,a=t.mergeBlocks,s=t.onReplace,l=t.className,c=n.align,u=n.content,p=n.dropCap,f=n.placeholder,d=n.backgroundColor,h=n.textColor,g=n.width,m=this.getFontSize();return[i&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(uo,{value:c,onChange:function(e){r({align:e})}})),i&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,{title:Object(U.__)("Text Settings"),className:"blocks-font-size"},wp.element.createElement("div",{className:"blocks-font-size__main"},wp.element.createElement(z.ButtonGroup,{"aria-label":Object(U.__)("Font Size")},Nr()({S:"small",M:"regular",L:"large",XL:"larger"},function(t,n){return wp.element.createElement(z.Button,{key:n,isLarge:!0,isPrimary:m===Hi[t],"aria-pressed":m===Hi[t],onClick:function(){return e.setFontSize(Hi[t])}},n)})),wp.element.createElement(z.Button,{isLarge:!0,onClick:function(){return e.setFontSize(void 0)}},Object(U.__)("Reset"))),wp.element.createElement(z.RangeControl,{className:"blocks-paragraph__custom-size-slider",label:Object(U.__)("Custom Size"),value:m,onChange:function(t){return e.setFontSize(t)},min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(z.ToggleControl,{label:Object(U.__)("Drop Cap"),checked:!!p,onChange:this.toggleDropCap})),wp.element.createElement(z.PanelColor,{title:Object(U.__)("Background Color"),colorValue:d,initialOpen:!1},wp.element.createElement(Mi,{value:d,onChange:function(e){return r({backgroundColor:e})}})),wp.element.createElement(z.PanelColor,{title:Object(U.__)("Text Color"),colorValue:h,initialOpen:!1},wp.element.createElement(Mi,{value:h,onChange:function(e){return r({textColor:e})}})),this.nodeRef&&wp.element.createElement(zi,{node:this.nodeRef,textColor:h,backgroundColor:d,isLargeText:m>=18}),wp.element.createElement(z.PanelBody,{title:Object(U.__)("Block Alignment")},wp.element.createElement(W,{value:g,onChange:function(e){return r({width:e})}}))),wp.element.createElement("div",{key:"editable",ref:this.bindRef},wp.element.createElement(Ni,{tagName:"p",className:D()("wp-block-paragraph",l,{"has-background":d,"has-drop-cap":p}),style:{backgroundColor:d,color:h,fontSize:m!==Hi.regular?m+"px":void 0,textAlign:c},value:u,onChange:function(e){r({content:e})},onSplit:o?function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];r({content:e}),o([].concat(i,[ze("core/paragraph",{content:t})]))}:void 0,onMerge:a,onReplace:this.onReplace,onRemove:function(){return s([])},placeholder:f||Object(U.__)("Add text or type / to add content"),isSelected:i,autocompleters:Ui}))]}}]),t}(I.Component),Ki={className:!1},Vi={content:{type:"array",source:"children",selector:"p",default:[]},align:{type:"string"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},width:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}},Wi="core/paragraph",Gi={title:Object(U.__)("Paragraph"),description:Object(U.__)("This is a simple text only block for adding a single paragraph of content."),icon:"editor-paragraph",category:"common",keywords:[Object(U.__)("text")],supports:Ki,attributes:Vi,transforms:{from:[{type:"raw",priority:20,isMatch:function(e){return"P"===e.nodeName&&!e.querySelector("audio, canvas, embed, iframe, img, math, object, svg, video")}}]},deprecated:[{supports:Ki,attributes:Ye()(R()({},Vi,{fontSize:{type:"number"}}),"customFontSize"),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,i=n.content,a=n.dropCap,s=n.backgroundColor,l=n.textColor,c=n.fontSize,u=D()((t={},oo()(t,"align"+r,r),oo()(t,"has-background",s),oo()(t,"has-drop-cap",a),t)),p={backgroundColor:s,color:l,fontSize:c,textAlign:o};return wp.element.createElement("p",{style:p,className:u||void 0},i)},migrate:function(e){return ao()(e.fontSize)?Ye()(R()({},e,{customFontSize:e.fontSize}),"fontSize"):e}},{supports:Ki,attributes:R()({},Vi,{content:{type:"string",source:"html"}}),save:function(e){var t=e.attributes;return wp.element.createElement(I.RawHTML,null,t.content)},migrate:function(e){return R()({},e,{content:[wp.element.createElement(I.RawHTML,{key:"html"},e.content)]})}}],merge:function(e,t){return{content:Object(I.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:qi,save:function(e){var t,n=e.attributes,r=n.width,o=n.align,i=n.content,a=n.dropCap,s=n.backgroundColor,l=n.textColor,c=n.fontSize,u=n.customFontSize,p=D()((t={},oo()(t,"align"+r,r),oo()(t,"has-background",s),oo()(t,"has-drop-cap",a),oo()(t,"is-"+c+"-text",c&&Hi[c]),t)),f={backgroundColor:s,color:l,fontSize:!c&&u?u:void 0,textAlign:o};return wp.element.createElement("p",{style:f,className:p||void 0},i)}},$i=(n(811),n(810),n(254)),Xi=n.n($i),Yi=n(549),Zi=n.n(Yi),Qi=n(11),Ji=(function(){function e(e){this.value=e}function t(t){var n,r;function o(n,r){try{var a=t[n](r),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){o("next",e)},function(e){o("throw",e)}):i(a.done?"return":"normal",a.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":n.resolve({value:t,done:!0});break;case"throw":n.reject(t);break;default:n.resolve({value:t,done:!1})}(n=n.next)?o(n.key,n.arg):r=null}this._invoke=function(e,t){return new Promise(function(i,a){var s={key:e,arg:t,resolve:i,reject:a,next:null};r?r=r.next=s:(n=r=s,o(e,t))})},"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")}),ea=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}}(),ta=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},na=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},ra={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"}},oa=function(e){return Object(Qi.createElement)("div",{className:e.className,style:ta({},ra.base,ra[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}})},ia={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},aa={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},sa=function(e,t,n){return Math.max(Math.min(e,n),t)},la=function(e,t){return Math.round(e/t)*t},ca=function(e,t){return e.substr(e.length-t.length,t.length)===t},ua=function(e){return ca(e.toString(),"px")?e.toString():ca(e.toString(),"%")?e.toString():e+"px"},pa=0,fa=["style","className","grid","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop"],da=function(e){function t(e){Ji(this,t);var n=na(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"+pa,pa+=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 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)}(t,Qi["Component"]),ea(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce(function(t,n){return-1!==fa.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,d=c.minHeight,h=this.getParentSize();if(u&&"string"==typeof u&&ca(u,"%")){var g=Number(u.replace("%",""))/100;u=h.width*g}if(p&&"string"==typeof p&&ca(p,"%")){var m=Number(p.replace("%",""))/100;p=h.height*m}if(f&&"string"==typeof f&&ca(f,"%")){var b=Number(f.replace("%",""))/100;f=h.width*b}if(d&&"string"==typeof d&&ca(d,"%")){var v=Number(d.replace("%",""))/100;d=h.height*v}u=void 0===u?void 0:Number(u),p=void 0===p?void 0:Number(p),f=void 0===f?void 0:Number(f),d=void 0===d?void 0:Number(d);var y=i.height/i.width,_=i.width,w=i.height;if(/right/i.test(o)&&(_=i.width+(t-i.x),l&&(w=_*y)),/left/i.test(o)&&(_=i.width-(t-i.x),l&&(w=_*y)),/bottom/i.test(o)&&(w=i.height+(n-i.y),l&&(_=w/y)),/top/i.test(o)&&(w=i.height-(n-i.y),l&&(_=w/y)),"parent"===this.props.bounds){var x=this.parentNode;if(x instanceof HTMLElement){var k=x.getBoundingClientRect(),E=k.left,C=k.top,S=this.resizable.getBoundingClientRect(),O=S.left,T=S.top,A=x.offsetWidth+(E-O),j=x.offsetHeight+(C-T);u=u&&u<A?u:A,p=p&&p<j?p:j}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var R=this.resizable.getBoundingClientRect(),N=R.left,P=R.top,L=window.innerWidth-N,M=window.innerHeight-P;u=u&&u<L?u:L,p=p&&p<M?p:M}}else if(this.props.bounds instanceof HTMLElement){var B=this.props.bounds.getBoundingClientRect(),D=B.left,I=B.top,F=this.resizable.getBoundingClientRect(),z=F.left,H=F.top;if(!(this.props.bounds instanceof HTMLElement))return;var U=this.props.bounds.offsetWidth+(D-z),q=this.props.bounds.offsetHeight+(I-H);u=u&&u<U?u:U,p=p&&p<q?p:q}var K=void 0===f||f<10?10:f,V=void 0===u||u<0?_:u,W=void 0===d||d<10?10:d,G=void 0===p||p<0?w:p;if(l){var $=W>K*y?W:K*y,X=G<V*y?G:V*y;_=sa(_,K>W/y?K:W/y,V<G/y?V:G/y),w=sa(w,$,X)}else _=sa(_,K,V),w=sa(w,W,G);this.props.grid&&(_=la(_,this.props.grid[0])),this.props.grid&&(w=la(w,this.props.grid[1]));var Y={width:_-i.width,height:w-i.height};if(a&&"string"==typeof a&&ca(a,"%"))_=_/h.width*100+"%";if(s&&"string"==typeof s&&ca(s,"%"))w=w/h.height*100+"%";this.setState({width:"auto"!==a||void 0===this.props.width?_:"auto",height:"auto"!==s||void 0===this.props.height?w:"auto"}),this.props.onResize&&this.props.onResize(e,o,this.resizable,Y)}}},{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,r=t.handleStyles,o=t.handleClasses,i=t.handleWrapperStyle,a=t.handleWrapperClass;if(!n)return null;var s=Object.keys(n).map(function(t){return!1!==n[t]?Object(Qi.createElement)(oa,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]}):null});return Object(Qi.createElement)("span",{className:a,style:i},s)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?ia:aa;return Object(Qi.createElement)("div",ta({ref:function(t){e.resizable=t},style:ta({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]&&ca(e.propsSize[t].toString(),"%")){if(ca(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 ua(e.state[t])};return{width:t&&t.width&&!this.state.isResizing?ua(t.width):n("width"),height:t&&t.height&&!this.state.isResizing?ua(t.height):n("height")}}}]),t}();da.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};var ha=da,ga=Object(z.withFilters)("blocks.MediaUpload")(function(){return null});function ma(e){var t=e.className,n=e.icon,r=e.label,o=e.onSelectImage,i=e.multiple,a=void 0!==i&&i,s=a?o:function(e){var t=nt()(e,1)[0];return o(t)};return wp.element.createElement(z.Placeholder,{className:t,instructions:a?Object(U.__)("Drag images here or add from media library"):Object(U.__)("Drag image here or add from media library"),icon:n,label:r},wp.element.createElement(z.DropZone,{onFilesDrop:function(e){return Object(Wn.mediaUpload)(e,s,"image")},onHTMLDrop:function(e){return s(Nr()(Or({HTML:e,mode:"BLOCKS"}).filter(function(e){return"core/image"===e.name}),"attributes"))}}),wp.element.createElement(z.FormFileUpload,{multiple:a,isLarge:!0,className:"wp-block-image__upload-button",onChange:function(e){return Object(Wn.mediaUpload)(e.target.files,s,"image")},accept:"image/*"},Object(U.__)("Upload")),wp.element.createElement(ga,{gallery:a,multiple:a,onSelect:o,type:"image",render:function(e){var t=e.open;return wp.element.createElement(z.Button,{isLarge:!0,onClick:t},Object(U.__)("Add from Media Library"))}}))}n(809);var ba=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.toggle=e.toggle.bind(e),e.submitLink=e.submitLink.bind(e),e.state={expanded:!1},e}return Ft()(t,e),Mt()(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,o=t?Object(U.__)("Edit Link"):Object(U.__)("Insert Link");return wp.element.createElement("div",{className:"blocks-url-input__button"},wp.element.createElement(z.IconButton,{icon:"admin-links",label:o,onClick:this.toggle,className:D()("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(z.IconButton,{className:"blocks-url-input__back",icon:"arrow-left-alt",label:Object(U.__)("Close"),onClick:this.toggle}),wp.element.createElement(Ko,{value:t||"",onChange:n,"data-test":"UrlInput"}),wp.element.createElement(z.IconButton,{icon:"editor-break",label:Object(U.__)("Submit"),type:"submit"}))))}}]),t}(I.Component),va=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(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 Ft()(t,e),Mt()(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=go.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}(I.Component),ya=n(463),_a=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.updateAlt=e.updateAlt.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onFocusCaption=e.onFocusCaption.bind(e),e.onImageClick=e.onImageClick.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSetHref=e.onSetHref.bind(e),e.updateImageURL=e.updateImageURL.bind(e),e.state={captionFocused:!1},e}return Ft()(t,e),Mt()(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(Wn.getBlobByURL)(i).then(function(e){return Object(ya.a)([e],function(e){var t=nt()(e,1)[0];n(R()({},t))},"image")})}},{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(Wn.revokeBlobURL)(l)}},{key:"componentWillReceiveProps",value:function(e){!e.isSelected&&this.props.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onSelectImage",value:function(e){this.props.setAttributes(Xi()(e,["alt","id","caption","url"]))}},{key:"onSetHref",value:function(e){this.props.setAttributes({href:e})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{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(R()({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e})}},{key:"getAvailableSizes",value:function(){return _e()(this.props.image,["media_details","sizes"],{})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.isSelected,i=t.className,a=t.settings,s=t.toggleSelection,l=n.url,c=n.alt,u=n.caption,p=n.align,f=n.id,d=n.href,h=n.width,g=n.height,m=this.getAvailableSizes(),b=h?{width:h}:{},v=-1===["wide","full"].indexOf(p)&&!Wn.viewPort.isExtraSmall(),y=o&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:p,onChange:this.updateAlignment}),wp.element.createElement(z.Toolbar,null,wp.element.createElement(ga,{onSelect:this.onSelectImage,type:"image",value:f,render:function(e){var t=e.open;return wp.element.createElement(z.IconButton,{className:"components-toolbar__control",label:Object(U.__)("Edit image"),icon:"edit",onClick:t})}}),wp.element.createElement(ba,{onChange:this.onSetHref,url:d})));if(!l)return[y,wp.element.createElement(ma,{className:i,key:"image-placeholder",icon:"format-image",label:Object(U.__)("Image"),onSelectImage:this.onSelectImage})];var _=D()(i,{"is-transient":0===l.indexOf("blob:"),"is-resized":!!h,"is-focused":o});return[y,o&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,{title:Object(U.__)("Image Settings")},wp.element.createElement(z.TextControl,{label:Object(U.__)("Textual Alternative"),value:c,onChange:this.updateAlt,help:Object(U.__)("Describe the purpose of the image. Leave empty if the image is not a key part of the content.")}),!St()(m)&&wp.element.createElement(z.SelectControl,{label:Object(U.__)("Size"),value:l,options:Nr()(m,function(e,t){return{value:e.source_url,label:Zi()(t)}}),onChange:this.updateImageURL}))),wp.element.createElement("figure",{key:"image",className:_,style:b},wp.element.createElement(va,{src:l,dirtynessTrigger:p},function(t){var n=t.imageWidthWithinContainer,o=t.imageHeightWithinContainer,i=t.imageWidth,u=t.imageHeight,p=wp.element.createElement("img",{src:l,alt:c,onClick:e.onImageClick});if(!v||!n)return p;var f=h||n,d=g||o,m=i/u,b=i<u?20:20*m,y=u<i?20:20/m;return wp.element.createElement(ha,{size:{width:f,height:d},minWidth:b,maxWidth:a.maxWidth,minHeight:y,maxHeight:a.maxWidth/m,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(){s(!1)},onResizeStop:function(e,t,n,o){r({width:parseInt(f+o.width,10),height:parseInt(d+o.height,10)}),s(!0)}},p)}),u&&u.length>0||o?wp.element.createElement(Ni,{tagName:"figcaption",placeholder:Object(U.__)("Write caption…"),value:u||[],onFocus:this.onFocusCaption,onChange:function(e){return r({caption:e})},isSelected:this.state.captionFocused,inlineToolbar:!0}):null)]}}]),t}(I.Component),wa=Object(I.compose)([Object(z.withContext)("editor")(function(e){return{settings:e}}),Object(jo.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{image:r?n(r):null}})])(_a),xa="core/image",ka={url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"}},Ea={title:Object(U.__)("Image"),description:Object(U.__)("Worth a thousand words."),icon:"format-image",category:"common",keywords:[Object(U.__)("photo")],attributes:ka,transforms:{from:[{type:"raw",isMatch:function(e){var t=e.nodeName.toLowerCase(),n=e.querySelector("img");return"img"===t||n&&"figure"===t},transform:function(e){var t=/align(left|center|right)/.exec(e.className),n=t?t[1]:void 0;return ze("core/image",bn(Me("core/image"),e.outerHTML,{align:n}))}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return ze("core/image",{url:window.URL.createObjectURL(t)})}},{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||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:wa,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,i=t.align,a=t.href,s=t.width,l=t.height,c=t.id,u=wp.element.createElement("img",{src:n,alt:r,className:c?"wp-image-"+c:null,width:s,height:l}),p={};return s?p={width:s}:"left"!==i&&"right"!==i||(p={maxWidth:"50%"}),wp.element.createElement("figure",{className:i?"align"+i:null,style:p},a?wp.element.createElement("a",{href:a},u):u,o&&o.length>0&&wp.element.createElement("figcaption",null,o))},deprecated:[{attributes:ka,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,i=t.align,a=t.href,s=t.width,l=t.height,c=s||l?{width:s,height:l}:{},u=wp.element.createElement("img",R()({src:n,alt:r},c)),p={};return s?p={width:s}:"left"!==i&&"right"!==i||(p={maxWidth:"50%"}),wp.element.createElement("figure",{className:i?"align"+i:null,style:p},a?wp.element.createElement("a",{href:a},u):u,o&&o.length>0&&wp.element.createElement("figcaption",null,o))}}]},Ca=(n(808),"core/heading"),Sa={title:Object(U.__)("Heading"),description:Object(U.__)("Search engines use the headings to index the structure and content of your web pages."),icon:"heading",category:"common",keywords:[Object(U.__)("title"),Object(U.__)("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){return ze("core/heading",{content:e.content})}},{type:"raw",isMatch:function(e){return/H\d/.test(e.nodeName)}},{type:"pattern",regExp:/^(#{2,6})\s/,transform:function(e){var t=e.content;return ze("core/heading",{nodeName:"H"+e.match[1].length,content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return ze("core/paragraph",{content:e.content})}}]},merge:function(e,t){return{content:Object(I.concatChildren)(e.content,t.content)}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,i=e.insertBlocksAfter,a=e.onReplace,s=e.className,l=t.align,c=t.content,u=t.nodeName,p=t.placeholder;return[r&&wp.element.createElement(H,{key:"controls",controls:"234".split("").map(function(e){return{icon:"heading",title:Object(U.sprintf)(Object(U.__)("Heading %s"),e),isActive:"H"+e===u,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),r&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,{title:Object(U.__)("Heading Settings")},wp.element.createElement("p",null,Object(U.__)("Level")),wp.element.createElement(z.Toolbar,{controls:"123456".split("").map(function(e){return{icon:"heading",title:Object(U.sprintf)(Object(U.__)("Heading %s"),e),isActive:"H"+e===u,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),wp.element.createElement("p",null,Object(U.__)("Text Alignment")),wp.element.createElement(uo,{value:l,onChange:function(e){n({align:e})}}))),wp.element.createElement(Ni,{key:"editable",wrapperClassName:"wp-block-heading",tagName:u.toLowerCase(),value:c,onChange:function(e){return n({content:e})},onMerge:o,onSplit:i?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];n({content:e}),i([].concat(o,[ze("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a([])},style:{textAlign:l},className:s,placeholder:p||Object(U.__)("Write heading…"),isSelected:r})]},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)}},Oa=n(30),Ta=n.n(Oa),Aa=n(134),ja=n.n(Aa),Ra=(n(807),n(806),{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}}),Na="core/quote",Pa={title:Object(U.__)("Quote"),description:Object(U.__)("Quote. In quoting others, we cite ourselves. (Julio Cortázar)"),icon:"format-quote",category:"common",attributes:Ra,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return ze("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return ze("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"pattern",regExp:/^>\s/,transform:function(e){var t=e.content;return ze("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 ze("core/paragraph",{content:[_e()(e,"children.props.children","")]})}).concat(n?ze("core/paragraph",{content:n}):[]):ze("core/paragraph")}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Ta()(e,["value","citation"]);if(!t||!t.length)return ze("core/heading",{content:n});var o=_e()(t,[0,"children"]),i=ae()(ja()(o)?o:_e()(o,["props","children"],""));return n||1!==t.length?[ze("core/heading",{content:i}),ze("core/quote",R()({},r,{citation:n,value:t.slice(1)}))]:ze("core/heading",{content:i})}}]},edit:Object(z.withState)({editable:"content"})(function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,i=e.onReplace,a=e.className,s=e.editable,l=e.setState,c=t.align,u=t.value,p=t.citation,f=t.style,d=D()(a,2===f?"is-large":""),h=function(e){return function(){l({editable:e})}};return[r&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(z.Toolbar,{controls:[1,2].map(function(e){return{icon:1===e?"format-quote":"testimonial",title:Object(U.sprintf)(Object(U.__)("Quote style %d"),e),isActive:Number(f)===e,onClick:function(){n({style:e})}}})}),wp.element.createElement(uo,{value:c,onChange:function(e){n({align:e})}})),wp.element.createElement("blockquote",{key:"quote",className:d,style:{textAlign:c}},wp.element.createElement(Ni,{multiline:"p",value:function(e){return e.map(function(e){return e.children})}(u),onChange:function(e){return n({value:(t=e,t.map(function(e){return{children:e}}))});var t},onMerge:o,onRemove:function(e){var t=!p||0===p.length;!e&&t&&i([])},placeholder:Object(U.__)("Write quote…"),isSelected:r&&"content"===s,onFocus:h("content")}),(p&&p.length>0||r)&&wp.element.createElement(Ni,{tagName:"cite",value:p,onChange:function(e){return n({citation:e})},placeholder:Object(U.__)("Write citation…"),isSelected:r&&"cite"===s,onFocus:h("cite")}))]}),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:R()({},Ra,{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))}}]},La=(n(805),n(804),Wn.keycodes.BACKSPACE),Ma=Wn.keycodes.DELETE,Ba=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.onImageClick=e.onImageClick.bind(e),e.onSelectCaption=e.onSelectCaption.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.bindContainer=e.bindContainer.bind(e),e.state={captionSelected:!1},e}return Ft()(t,e),Mt()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[La,Ma].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentWillReceiveProps",value:function(e){var t=e.isSelected,n=e.image,r=e.url;n&&!r&&this.props.setAttributes({url:n.source_url,alt:n.alt_text}),this.state.captionSelected&&!t&&this.props.isSelected&&this.setState({captionSelected:!1})}},{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.caption,l=e.onRemove,c=e.setAttributes,u=void 0;switch(o){case"media":u=t;break;case"attachment":u=i}var p=t?wp.element.createElement("img",{src:t,alt:n,"data-id":r,onClick:this.onImageClick}):wp.element.createElement(z.Spinner,null),f=D()({"is-selected":a,"is-transient":t&&0===t.indexOf("blob:")});return wp.element.createElement("figure",{className:f,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},a&&wp.element.createElement("div",{className:"blocks-gallery-item__inline-menu"},wp.element.createElement(z.IconButton,{icon:"no-alt",onClick:l,className:"blocks-gallery-item__remove",label:Object(U.__)("Remove Image")})),u?wp.element.createElement("a",{href:u},p):p,s&&s.length>0||a?wp.element.createElement(Ni,{tagName:"figcaption",placeholder:Object(U.__)("Write caption…"),value:s,isSelected:this.state.captionSelected,onChange:function(e){return c({caption:e})},onFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(I.Component),Da=Object(jo.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(Ba),Ia=[{value:"attachment",label:Object(U.__)("Attachment Page")},{value:"media",label:Object(U.__)("Media File")},{value:"none",label:Object(U.__)("None")}];function Fa(e){return Math.min(3,e.images.length)}var za=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(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.onRemoveImage=e.onRemoveImage.bind(e),e.setImageAttributes=e.setImageAttributes.bind(e),e.addFiles=e.addFiles.bind(e),e.uploadFromFiles=e.uploadFromFiles.bind(e),e.state={selectedImage:null},e}return Ft()(t,e),Mt()(t,[{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=ee()(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.props.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e.map(function(e){return Xi()(e,["alt","caption","id","url"])})})}},{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:"setImageAttributes",value:function(e,t){var n=this.props,r=n.attributes.images,o=n.setAttributes;r[e]&&o({images:[].concat($()(r.slice(0,e)),[R()({},r[e],t)],$()(r.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.setAttributes;Object(Wn.mediaUpload)(e,function(e){n({images:t.concat(e)})},"image")}},{key:"componentWillReceiveProps",value:function(e){!e.isSelected&&this.props.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.isSelected,o=t.className,i=n.images,a=n.columns,s=void 0===a?Fa(n):a,l=n.align,c=n.imageCrop,u=n.linkTo,p=wp.element.createElement(z.DropZone,{onFilesDrop:this.addFiles}),f=r&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:l,onChange:this.updateAlignment}),!!i.length&&wp.element.createElement(z.Toolbar,null,wp.element.createElement(ga,{onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0,value:i.map(function(e){return e.id}),render:function(e){var t=e.open;return wp.element.createElement(z.IconButton,{className:"components-toolbar__control",label:Object(U.__)("Edit Gallery"),icon:"edit",onClick:t})}})));return 0===i.length?[f,wp.element.createElement(ma,{key:"gallery-placeholder",className:o,icon:"format-gallery",label:Object(U.__)("Gallery"),onSelectImage:this.onSelectImages,multiple:!0})]:[f,r&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,{title:Object(U.__)("Gallery Settings")},i.length>1&&wp.element.createElement(z.RangeControl,{label:Object(U.__)("Columns"),value:s,onChange:this.setColumnsNumber,min:1,max:Math.min(8,i.length)}),wp.element.createElement(z.ToggleControl,{label:Object(U.__)("Crop Images"),checked:!!c,onChange:this.toggleImageCrop}),wp.element.createElement(z.SelectControl,{label:Object(U.__)("Link to"),value:u,onChange:this.setLinkTo,options:Ia}))),wp.element.createElement("ul",{key:"gallery",className:o+" align"+l+" columns-"+s+" "+(c?"is-cropped":"")},p,i.map(function(t,n){return wp.element.createElement("li",{className:"blocks-gallery-item",key:t.id||t.url},wp.element.createElement(Da,{url:t.url,alt:t.alt,id:t.id,isSelected:r&&e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onSelect:e.onSelectImage(n),setAttributes:function(t){return e.setImageAttributes(n,t)},caption:t.caption}))}),r&&wp.element.createElement("li",{className:"blocks-gallery-item"},wp.element.createElement(z.FormFileUpload,{multiple:!0,isLarge:!0,className:"blocks-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(U.__)("Upload an image"))))]}}]),t}(I.Component),Ha={align:{type:"string",default:"none"},images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},Ua="core/gallery",qa={title:Object(U.__)("Gallery"),description:Object(U.__)("Image galleries are a great way to share groups of pictures on your site."),icon:"format-gallery",category:"common",keywords:[Object(U.__)("images"),Object(U.__)("photos")],attributes:Ha,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=ee()(e,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?ze("core/gallery",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})}):ze("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;return parseInt(void 0===t?"3":t,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&&ue()(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=ze("core/gallery");return Object(Wn.mediaUpload)(e,function(e){return t(n.uid,{images:e})},"image"),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){return ze("core/image",{id:e.id,url:e.url,alt:e.alt,caption:e.caption})}):ze("core/image")}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:za,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Fa(t):r,i=t.align,a=t.imageCrop,s=t.linkTo;return wp.element.createElement("ul",{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,"data-link":e.link});return wp.element.createElement("li",{key:e.id||e.url,className:"blocks-gallery-item"},wp.element.createElement("figure",null,t?wp.element.createElement("a",{href:t},n):n,e.caption&&e.caption.length>0&&wp.element.createElement("figcaption",null,e.caption)))}))},deprecated:[{attributes:R()({},Ha,{images:R()({},Ha.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"})}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Fa(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)}))}}]},Ka=(n(803),n(802),"core/audio"),Va={title:Object(U.__)("Audio"),description:Object(U.__)("The Audio block allows you to embed audio files and play them back using a simple player."),icon:"format-audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"array",source:"children",selector:"figcaption"},id:{type:"number"}},supports:{align:!0},edit:function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.state={editing:!e.props.attributes.src,src:e.props.attributes.src},e}return Ft()(t,e),Mt()(t,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.caption,r=t.id,o=this.props,i=o.setAttributes,a=o.isSelected,s=o.className,l=this.state,c=l.editing,u=l.src,p=function(t){t&&t.url&&(i({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1}))},f=function(e){var t=nt()(e,1)[0];return p(t)};return c?wp.element.createElement(z.Placeholder,{icon:"media-audio",label:Object(U.__)("Audio"),instructions:Object(U.__)("Select an audio file from your library, or upload a new one"),className:s},wp.element.createElement("form",{onSubmit:function(t){return t.preventDefault(),u&&(i({src:u}),e.setState({editing:!1})),!1}},wp.element.createElement("input",{type:"url",className:"components-placeholder__input",placeholder:Object(U.__)("Enter URL of audio file here…"),onChange:function(t){return e.setState({src:t.target.value})},value:u||""}),wp.element.createElement(z.Button,{isLarge:!0,type:"submit"},Object(U.__)("Use URL"))),wp.element.createElement(z.FormFileUpload,{isLarge:!0,className:"wp-block-audio__upload-button",onChange:function(e){return Object(Wn.mediaUpload)(e.target.files,f,"audio")},accept:"audio/*"},Object(U.__)("Upload")),wp.element.createElement(ga,{onSelect:p,type:"audio",value:r,render:function(e){var t=e.open;return wp.element.createElement(z.Button,{isLarge:!0,onClick:t},Object(U.__)("Add from Media Library"))}})):[a&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(z.Toolbar,null,wp.element.createElement(z.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(U.__)("Edit audio"),onClick:function(){e.setState({editing:!0})},icon:"edit"}))),wp.element.createElement("figure",{key:"audio",className:s},wp.element.createElement("audio",{controls:"controls",src:u}),(n&&n.length||!!a)&&wp.element.createElement(Ni,{tagName:"figcaption",placeholder:Object(U.__)("Write caption…"),value:n,onChange:function(e){return i({caption:e})},isSelected:a,inlineToolbar:!0}))]}}]),t}(I.Component),save:function(e){var t=e.attributes,n=t.src,r=t.caption;return wp.element.createElement("figure",null,wp.element.createElement("audio",{controls:"controls",src:n}),r&&r.length>0&&wp.element.createElement("figcaption",null,r))}},Wa=(n(801),n(800),window.getComputedStyle),Ga=Object(z.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:Wa(e).backgroundColor,fallbackTextColor:n||!o?void 0:Wa(o).color}})(Ii),$a=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(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 Ft()(t,e),Mt()(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.isSelected,o=e.className,i=t.text,a=t.url,s=t.title,l=t.align,c=t.color,u=t.textColor,p=t.clear;return[r&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:l,onChange:this.updateAlignment})),wp.element.createElement("span",{key:"button",className:o,title:s,ref:this.bindRef},wp.element.createElement(Ni,{tagName:"span",placeholder:Object(U.__)("Add text…"),value:i,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"wp-block-button__link",style:{backgroundColor:c,color:u},isSelected:r,keepPlaceholderOnFocus:!0}),r&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,null,wp.element.createElement(z.ToggleControl,{label:Object(U.__)("Wrap text"),checked:!!p,onChange:this.toggleClear}),wp.element.createElement(z.PanelColor,{title:Object(U.__)("Background Color"),colorValue:c},wp.element.createElement(Mi,{value:c,onChange:function(e){return n({color:e})}})),wp.element.createElement(z.PanelColor,{title:Object(U.__)("Text Color"),colorValue:u},wp.element.createElement(Mi,{value:u,onChange:function(e){return n({textColor:e})}})),this.nodeRef&&wp.element.createElement(Ga,{node:this.nodeRef,textColor:u,backgroundColor:c,isLargeText:!0})))),r&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(z.Dashicon,{icon:"admin-links"}),wp.element.createElement(Ko,{value:a,onChange:function(e){return n({url:e})}}),wp.element.createElement(z.IconButton,{icon:"editor-break",label:Object(U.__)("Apply"),type:"submit"}))]}}]),t}(I.Component),Xa={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"}},Ya="core/button",Za={title:Object(U.__)("Button"),description:Object(U.__)("A nice little button. Call something out with it."),icon:"button",category:"layout",attributes:Xa,getEditWrapperProps:function(e){var t=e.align,n=e.clear,r={"data-resized":!0};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={backgroundColor:t.color,color:t.textColor};return wp.element.createElement("div",{className:"align"+i},wp.element.createElement("a",{className:"wp-block-button__link",href:n,title:o,style:a},r))},deprecated:[{attributes:Xa,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))}}]},Qa=(n(799),n(798),n(353)),Ja=n.n(Qa),es=n(431),ts=n.n(es),ns=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(e),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(e),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(e),e}return Ft()(t,e),Mt()(t,[{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.props.categories;return t&&t.length?null===e?t:t.filter(function(t){return t.parent===e}):[]}},{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?Ja()(e.name).trim():Object(U.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return wp.element.createElement("ul",{className:this.getCategoryListClassName(0)},n.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?0:null,n=this.getCategories(t);return wp.element.createElement("select",{className:this.props.className+"__dropdown"},n.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},ts()(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,t=e.attributes,n=e.focus,r=e.setAttributes,o=e.isRequesting,i=t.align,a=t.displayAsDropdown,s=t.showHierarchy,l=t.showPostCounts,c=n&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,{title:Object(U.__)("Categories Settings")},wp.element.createElement(z.ToggleControl,{label:Object(U.__)("Display as dropdown"),checked:a,onChange:this.toggleDisplayAsDropdown}),wp.element.createElement(z.ToggleControl,{label:Object(U.__)("Show post counts"),checked:l,onChange:this.toggleShowPostCounts}),wp.element.createElement(z.ToggleControl,{label:Object(U.__)("Show hierarchy"),checked:s,onChange:this.toggleShowHierarchy})));return o?[c,wp.element.createElement(z.Placeholder,{key:"placeholder",icon:"admin-post",label:Object(U.__)("Categories")},wp.element.createElement(z.Spinner,null))]:[c,n&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:i,onChange:function(e){r({align:e})},controls:["left","center","right","full"]})),wp.element.createElement("div",{key:"categories",className:this.props.className},a?this.renderCategoryDropdown():this.renderCategoryList())]}}]),t}(I.Component),rs=Object(jo.withSelect)(function(e){var t=e("core"),n=t.getCategories,r=t.isRequestingCategories;return{categories:n(),isRequesting:r()}})(ns),os="core/categories",is={title:Object(U.__)("Categories"),description:Object(U.__)("Shows a list of your site's 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"}},supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t)return{"data-align":t}},edit:rs,save:function(){return null}},as=(n(797),n(365)),ss=n.n(as);n(796);var ls=function(e){var t=e.onChange,n=e.className,r=Ta()(e,["onChange","className"]);return wp.element.createElement(ss.a,R()({className:D()("blocks-plain-text",n),onChange:function(e){return t(e.target.value)}},r))},cs="core/code",us={title:Object(U.__)("Code"),description:Object(U.__)("The code block maintains spaces and tabs, great for showing code snippets."),icon:"editor-code",category:"formatting",attributes:{content:{type:"string",source:"property",selector:"code",property:"textContent"}},supports:{html:!1},transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^```$/,transform:function(){return ze("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.className;return wp.element.createElement("div",{className:r},wp.element.createElement(ls,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(U.__)("Write code…"),"aria-label":Object(U.__)("Code")}))},save:function(e){var t=e.attributes;return wp.element.createElement("pre",null,wp.element.createElement("code",null,t.content))}},ps=n(341),fs=n.n(ps);n(795),n(794);function ds(e){var t=e.BlockList,n=e.layouts;return wp.element.createElement(t,{layouts:n})}(ds=Object(z.withContext)("BlockList")()(ds)).Content=function(e){var t=e.BlockContent;return wp.element.createElement(t,null)},ds.Content=Object(z.withContext)("BlockContent")()(ds.Content);var hs=ds,gs=fs()(function(e){return ts()(e,function(e){return{name:"column-"+(e+1),label:Object(U.sprintf)(Object(U.__)("Column %d"),e+1),icon:"columns"}})}),ms="core/columns",bs={title:Object(U.sprintf)(Object(U.__)("%1$s (%2$s)"),Object(U.__)("Columns"),Object(U.__)("Experimental")),icon:"columns",category:"layout",attributes:{columns:{type:"number",default:2},align:{type:"string"}},description:Object(U.__)("A multi-column layout of content."),getEditWrapperProps:function(e){return{"data-align":e.align}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.focus,i=t.align,a=t.columns,s=D()(r,"has-"+a+"-columns");return[].concat($()(o?[wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{controls:["wide","full"],value:i,onChange:function(e){n({align:e})}})),wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,null,wp.element.createElement(z.RangeControl,{label:Object(U.__)("Columns"),value:a,onChange:function(e){n({columns:e})},min:2,max:6})))]:[]),[wp.element.createElement("div",{className:s,key:"container"},wp.element.createElement(hs,{layouts:gs(a)}))])},save:function(e){var t=e.attributes.columns;return wp.element.createElement("div",{className:"has-"+t+"-columns"},wp.element.createElement(hs.Content,null))}},vs=(n(793),n(792),["left","center","right","wide","full"]),ys={title:{type:"array",source:"children",selector:"p"},url:{type:"string"},align:{type:"string"},contentAlign:{type:"string",default:"center"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50}},_s="core/cover-image",ws={title:Object(U.__)("Cover Image"),description:Object(U.__)("Cover Image is a bold image block with an optional title."),icon:"cover-image",category:"common",attributes:ys,transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){return ze("core/cover-image",{title:e.content})}}],to:[{type:"block",blocks:["core/heading"],transform:function(e){return ze("core/heading",{content:e.title})}}]},getEditWrapperProps:function(e){var t=e.align;if(-1!==vs.indexOf(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,i=t.url,a=t.title,s=t.align,l=t.contentAlign,c=t.id,u=t.hasParallax,p=t.dimRatio,f=function(e){return n({url:e.url,id:e.id})},d=ks(i),h=D()(o,"center"!==l&&"has-"+l+"-content",xs(p),{"has-background-dim":0!==p,"has-parallax":u}),g=wp.element.createElement(uo,{value:l,onChange:function(e){n({contentAlign:e})}}),m=r&&[wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:s,onChange:function(e){return n({align:e})}}),g,wp.element.createElement(z.Toolbar,null,wp.element.createElement(ga,{onSelect:f,type:"image",value:c,render:function(e){var t=e.open;return wp.element.createElement(z.IconButton,{className:"components-toolbar__control",label:Object(U.__)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,{title:Object(U.__)("Cover Image Settings")},wp.element.createElement(z.ToggleControl,{label:Object(U.__)("Fixed Background"),checked:!!u,onChange:function(){return n({hasParallax:!u})}}),wp.element.createElement(z.RangeControl,{label:Object(U.__)("Background Dimness"),value:p,onChange:function(e){return n({dimRatio:e})},min:0,max:100,step:10})),wp.element.createElement(z.PanelBody,{title:Object(U.__)("Text Alignment")},g))];if(!i){var b=!St()(a),v=b?void 0:"format-image",y=b?wp.element.createElement(Ni,{tagName:"h2",value:a,onChange:function(e){return n({title:e})},isSelected:r,inlineToolbar:!0}):Object(U.__)("Cover Image");return[m,wp.element.createElement(ma,R()({key:"cover-image-placeholder"},{className:o,icon:v,label:y,onSelectImage:f}))]}return[m,wp.element.createElement("div",{key:"preview","data-url":i,style:d,className:h},a||r?wp.element.createElement(Ni,{tagName:"p",className:"wp-block-cover-image-text",placeholder:Object(U.__)("Write title…"),value:a,onChange:function(e){return n({title:e})},isSelected:r,inlineToolbar:!0}):null)]},save:function(e){var t=e.attributes,n=e.className,r=t.url,o=t.title,i=t.hasParallax,a=t.dimRatio,s=t.align,l=t.contentAlign,c=ks(r),u=D()(n,xs(a),oo()({"has-background-dim":0!==a,"has-parallax":i},"has-"+l+"-content","center"!==l),s?"align"+s:null);return wp.element.createElement("div",{className:u,style:c},o&&o.length>0&&wp.element.createElement("p",{className:"wp-block-cover-image-text"},o))},deprecated:[{attributes:R()({},ys,{title:{type:"array",source:"children",selector:"h2"}}),save:function(e){var t=e.attributes,n=e.className,r=t.url,o=t.title,i=t.hasParallax,a=t.dimRatio,s=t.align,l=ks(r),c=D()(n,xs(a),{"has-background-dim":0!==a,"has-parallax":i},s?"align"+s:null);return wp.element.createElement("section",{className:c,style:l},wp.element.createElement("h2",null,o))}}]};function xs(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function ks(e){return e?{backgroundImage:"url("+e+")"}:void 0}var Es=n(548),Cs=n.n(Es),Ss=n(466),Os=n.n(Ss),Ts=n(368),As=n(305),js=(n(791),n(790),["facebook.com"]);function Rs(e){var t=e.title,n=e.icon,r=e.category,o=void 0===r?"embed":r,i=e.transforms,a=e.keywords,s=void 0===a?[]:a;return{title:t,description:Object(U.__)("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:s,attributes:{url:{type:"string"},caption:{type:"array",source:"children",selector:"figcaption",default:[]},align:{type:"string"},type:{type:"string"},providerNameSlug:{type:"string"}},transforms:i,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(){Pt()(this,r);var e=Dt()(this,(r.__proto__||Rt()(r)).apply(this,arguments));return e.doServerSideRender=e.doServerSideRender.bind(e),e.state={html:"",type:"",error:!1,fetching:!1,providerName:""},e}return Ft()(r,e),Mt()(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(I.renderToString)(t)}},{key:"doServerSideRender",value:function(e){var t=this;e&&e.preventDefault();var n=this.props.attributes.url,r=this.props.setAttributes;this.setState({error:!1,fetching:!0}),wp.apiRequest({path:"/oembed/1.0/proxy?"+Object(As.stringify)({url:n})}).then(function(e){if(!t.unmounting){var n=e.html,o=e.provider_name,i=Os()(Cs()(o)),a=e.type;P()(n,'class="wp-embedded-content" data-secret')&&(a="wp-embed"),n?(t.setState({html:n,type:a,providerNameSlug:i}),r({type:a,providerNameSlug:i})):"photo"===a&&(t.setState({html:t.getPhotoHtml(e),type:a,providerNameSlug:i}),r({type:a,providerNameSlug:i})),t.setState({fetching:!1})}},function(){t.setState({fetching:!1,error:!0})})}},{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.isSelected,h=p.className,g=d&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:l,onChange:function(e){return f({align:e})}}));if(a)return[g,wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(z.Spinner,null),wp.element.createElement("p",null,Object(U.__)("Embedding…")))];if(!r){var m=Object(U.sprintf)(Object(U.__)("%s URL"),t);return[g,wp.element.createElement(z.Placeholder,{key:"placeholder",icon:n,label:m,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":m,placeholder:Object(U.__)("Enter URL to embed here…"),onChange:function(e){return f({url:e.target.value})}}),wp.element.createElement(z.Button,{isLarge:!0,type:"submit"},Object(U.__)("Embed")),i&&wp.element.createElement("p",{className:"components-placeholder__error"},Object(U.__)("Sorry, we could not embed that content."))))]}var b=Object(Ts.parse)(c),v=P()(js,b.host.replace(/^www\./,"")),y=Object(U.sprintf)(Object(U.__)("Embedded content from %s"),b.host),_="wp-embed"===o?wp.element.createElement("div",{className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:r}}):wp.element.createElement("div",{className:"wp-block-embed__wrapper"},wp.element.createElement(z.SandBox,{html:r,title:y,type:o}));return[g,wp.element.createElement("figure",{key:"embed",className:D()(h,{"is-video":"video"===o})},v?wp.element.createElement(z.Placeholder,{icon:n,label:Object(U.__)("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(U.__)("Previews for this are unavailable in the editor, sorry!"))):_,u&&u.length>0||d?wp.element.createElement(Ni,{tagName:"figcaption",placeholder:Object(U.__)("Write caption…"),value:u,onChange:function(e){return f({caption:e})},isSelected:d,inlineToolbar:!0}):null)]}}]),r}(I.Component),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,i=n.align,a=n.type,s=n.providerNameSlug;if(!r)return null;var l=D()("wp-block-embed",(t={},oo()(t,"align"+i,i),oo()(t,"is-type-"+a,a),oo()(t,"is-provider-"+s,s),t));return wp.element.createElement("figure",{className:l},"\n"+r+"\n",o&&o.length>0&&wp.element.createElement("figcaption",null,o))}}}var Ns="core/embed",Ps=Rs({title:Object(U.__)("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 ze("core/embed",{url:e.textContent.trim()})}}]}}),Ls=[{name:"core-embed/twitter",settings:Rs({title:"Twitter",icon:"embed-post",keywords:[Object(U.__)("tweet")]})},{name:"core-embed/youtube",settings:Rs({title:"YouTube",icon:"embed-video",keywords:[Object(U.__)("music"),Object(U.__)("video")]})},{name:"core-embed/facebook",settings:Rs({title:"Facebook",icon:"embed-post"})},{name:"core-embed/instagram",settings:Rs({title:"Instagram",icon:"embed-photo",keywords:[Object(U.__)("image")]})},{name:"core-embed/wordpress",settings:Rs({title:"WordPress",icon:"embed-post",keywords:[Object(U.__)("post"),Object(U.__)("blog")]})},{name:"core-embed/soundcloud",settings:Rs({title:"SoundCloud",icon:"embed-audio",keywords:[Object(U.__)("music"),Object(U.__)("audio")]})},{name:"core-embed/spotify",settings:Rs({title:"Spotify",icon:"embed-audio",keywords:[Object(U.__)("music"),Object(U.__)("audio")]})},{name:"core-embed/flickr",settings:Rs({title:"Flickr",icon:"embed-photo",keywords:[Object(U.__)("image")]})},{name:"core-embed/vimeo",settings:Rs({title:"Vimeo",icon:"embed-video",keywords:[Object(U.__)("video")]})}],Ms=[{name:"core-embed/animoto",settings:Rs({title:"Animoto",icon:"embed-video"})},{name:"core-embed/cloudup",settings:Rs({title:"Cloudup",icon:"embed-post"})},{name:"core-embed/collegehumor",settings:Rs({title:"CollegeHumor",icon:"embed-video"})},{name:"core-embed/dailymotion",settings:Rs({title:"Dailymotion",icon:"embed-video"})},{name:"core-embed/funnyordie",settings:Rs({title:"Funny or Die",icon:"embed-video"})},{name:"core-embed/hulu",settings:Rs({title:"Hulu",icon:"embed-video"})},{name:"core-embed/imgur",settings:Rs({title:"Imgur",icon:"embed-photo"})},{name:"core-embed/issuu",settings:Rs({title:"Issuu",icon:"embed-post"})},{name:"core-embed/kickstarter",settings:Rs({title:"Kickstarter",icon:"embed-post"})},{name:"core-embed/meetup-com",settings:Rs({title:"Meetup.com",icon:"embed-post"})},{name:"core-embed/mixcloud",settings:Rs({title:"Mixcloud",icon:"embed-audio",keywords:[Object(U.__)("music"),Object(U.__)("audio")]})},{name:"core-embed/photobucket",settings:Rs({title:"Photobucket",icon:"embed-photo"})},{name:"core-embed/polldaddy",settings:Rs({title:"Polldaddy",icon:"embed-post"})},{name:"core-embed/reddit",settings:Rs({title:"Reddit",icon:"embed-post"})},{name:"core-embed/reverbnation",settings:Rs({title:"ReverbNation",icon:"embed-audio"})},{name:"core-embed/screencast",settings:Rs({title:"Screencast",icon:"embed-video"})},{name:"core-embed/scribd",settings:Rs({title:"Scribd",icon:"embed-post"})},{name:"core-embed/slideshare",settings:Rs({title:"Slideshare",icon:"embed-post"})},{name:"core-embed/smugmug",settings:Rs({title:"SmugMug",icon:"embed-photo"})},{name:"core-embed/speaker",settings:Rs({title:"Speaker",icon:"embed-audio"})},{name:"core-embed/ted",settings:Rs({title:"TED",icon:"embed-video"})},{name:"core-embed/tumblr",settings:Rs({title:"Tumblr",icon:"embed-post"})},{name:"core-embed/videopress",settings:Rs({title:"VideoPress",icon:"embed-video",keywords:[Object(U.__)("video")]})},{name:"core-embed/wordpress-tv",settings:Rs({title:"WordPress.tv",icon:"embed-video"})}],Bs=(n(789),Wn.keycodes.BACKSPACE),Ds=Wn.keycodes.DELETE;var Is=function(e){function t(e){Pt()(this,t);var n=Dt()(this,(t.__proto__||Rt()(t)).call(this,e));return n.initialize=n.initialize.bind(n),n.onSetup=n.onSetup.bind(n),n}return Ft()(t,e),Mt()(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("editor-"+this.props.id)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.id,r=t.attributes.content,o=window.tinymce.get("editor-"+n);e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.id,t=window.wpEditorL10n.tinymce.settings;wp.oldEditor.initialize("editor-"+e,{tinymce:R()({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-"+e,setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t=this,n=this.props,r=n.attributes.content,o=n.setAttributes,i=this.ref;r&&e.on("loadContent",function(){return e.setContent(r)}),e.on("blur",function(){return o({content:e.getContent()}),!1}),e.on("keydown",function(n){n.keyCode!==Bs&&n.keyCode!==Ds||!function(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))}(e)||(t.props.onReplace([]),n.preventDefault(),n.stopImmediatePropagation())}),e.addButton("kitchensink",{tooltip:Object(U.__)("More"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(i,"has-advanced-toolbar",t)}})}},{key:"render",value:function(){var e=this,t=this.props,n=t.isSelected,r=t.id;return[wp.element.createElement("div",{key:"toolbar",id:"toolbar-"+r,ref:function(t){return e.ref=t},className:"freeform-toolbar",style:n?{}:{display:"none"}}),wp.element.createElement("div",{key:"editor",id:"editor-"+r,className:"wp-block-freeform blocks-rich-text__tinymce"})]}}]),t}(I.Component),Fs="core/freeform",zs={title:Object(U.__)("Classic"),description:Object(U.__)("The classic editor, in block form."),icon:"editor-kitchensink",category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1},edit:Is,save:function(e){var t=e.attributes.content;return wp.element.createElement(I.RawHTML,null,t)}},Hs=(n(788),"core/html"),Us={title:Object(U.__)("Custom HTML"),description:Object(U.__)("Add custom HTML code and preview it right here in the editor."),icon:"html",category:"formatting",keywords:[Object(U.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{from:[{type:"raw",isMatch:function(e){return"IFRAME"===e.nodeName}}]},edit:Object(z.withState)({preview:!1})(function(e){var t=e.attributes,n=e.setAttributes,r=e.setState,o=e.isSelected,i=e.toggleSelection,a=e.preview;return wp.element.createElement("div",{className:"wp-block-html"},o&&wp.element.createElement(H,null,wp.element.createElement("div",{className:"components-toolbar"},wp.element.createElement("button",{className:"components-tab-button "+(a?"":"is-active"),onClick:function(){return r({preview:!1})}},wp.element.createElement("span",null,"HTML")),wp.element.createElement("button",{className:"components-tab-button "+(a?"is-active":""),onClick:function(){return r({preview:!0})}},wp.element.createElement("span",null,Object(U.__)("Preview"))))),a?wp.element.createElement(z.SandBox,{html:t.content}):wp.element.createElement(z.CodeEditor,{value:t.content,focus:o,onFocus:i,onChange:function(e){return n({content:e})}}))}),save:function(e){var t=e.attributes;return wp.element.createElement(I.RawHTML,null,t.content)}},qs=(n(787),n(786),n(547)),Ks=n.n(qs),Vs=n(65),Ws=n.n(Vs),Gs=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(e),e}return Ft()(t,e),Mt()(t,[{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this,t=this.props.latestPosts.data,n=this.props,r=n.attributes,o=n.categoriesList,i=n.isSelected,a=n.setAttributes,s=r.displayPostDate,l=r.align,c=r.layout,u=r.columns,p=r.order,f=r.orderBy,d=r.categories,h=r.postsToShow,g=i&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,{title:Object(U.__)("Latest Posts Settings")},wp.element.createElement(z.QueryControls,R()({order:p,orderBy:f},{numberOfItems:h,categoriesList:_e()(o,"data",{}),selectedCategoryId:d,onOrderChange:function(e){return a({order:e})},onOrderByChange:function(e){return a({orderBy:e})},onCategoryChange:function(e){return a({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return a({postsToShow:e})}})),wp.element.createElement(z.ToggleControl,{label:Object(U.__)("Display post date"),checked:s,onChange:this.toggleDisplayPostDate}),"grid"===c&&wp.element.createElement(z.RangeControl,{label:Object(U.__)("Columns"),value:u,onChange:function(e){return a({columns:e})},min:2,max:m?Math.min(6,t.length):6}))),m=Array.isArray(t)&&t.length;if(!m)return[g,wp.element.createElement(z.Placeholder,{key:"placeholder",icon:"admin-post",label:Object(U.__)("Latest Posts")},Array.isArray(t)?Object(U.__)("No posts found."):wp.element.createElement(z.Spinner,null))];var b=t.length>h?t.slice(0,h):t,v=[{icon:"list-view",title:Object(U.__)("List View"),onClick:function(){return a({layout:"list"})},isActive:"list"===c},{icon:"grid-view",title:Object(U.__)("Grid View"),onClick:function(){return a({layout:"grid"})},isActive:"grid"===c}];return[g,i&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:l,onChange:function(e){a({align:e})},controls:["center","wide","full"]}),wp.element.createElement(z.Toolbar,{controls:v})),wp.element.createElement("ul",{className:D()(this.props.className,oo()({"is-grid":"grid"===c},"columns-"+u,"grid"===c)),key:"latest-posts"},b.map(function(t,n){return wp.element.createElement("li",{key:n},wp.element.createElement("a",{href:t.link,target:"_blank"},Object(Wn.decodeEntities)(t.title.rendered.trim())||Object(U.__)("(Untitled)")),s&&t.date_gmt&&wp.element.createElement("time",{dateTime:Ws()(t.date_gmt).utc().format(),className:e.props.className+"__post-date"},Ws()(t.date_gmt).local().format("MMMM DD, Y")))}))]}}]),t}(I.Component),$s=Object(z.withAPIData)(function(e){var t=e.attributes,n=t.postsToShow,r=t.order,o=t.orderBy,i=t.categories;return{latestPosts:"/wp/v2/posts?"+Object(Io.stringify)(kr()({categories:i,order:r,orderBy:o,per_page:n,_fields:["date_gmt","link","title"]},function(e){return!Ks()(e)})),categoriesList:"/wp/v2/categories?"+Object(Io.stringify)({per_page:100,_fields:["id","name","parent"]})}})(Gs),Xs="core/latest-posts",Ys={title:Object(U.__)("Latest Posts"),description:Object(U.__)("Shows a list of your site's most recent posts."),icon:"list-view",category:"widgets",keywords:[Object(U.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:$s,save:function(){return null}},Zs=n(546),Qs=n.n(Zs),Js=(n(785),"core/list"),el={title:Object(U.__)("List"),description:Object(U.__)("List. Numbered or bulleted."),icon:"editor-ul",category:"common",keywords:[Object(U.__)("bullet list"),Object(U.__)("ordered list"),Object(U.__)("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});return ze("core/list",{nodeName:"UL",values:!t.every(St.a)?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")});return St()(n)||r.push(n),ze("core/list",{nodeName:"UL",values:!r.every(St.a)?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 ze("core/list",{nodeName:"UL",values:[wp.element.createElement("li",{key:"1"},t)]})}},{type:"pattern",regExp:/^1[.)]\s/,transform:function(e){var t=e.content;return ze("core/list",{nodeName:"OL",values:[wp.element.createElement("li",{key:"1"},t)]})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return xn()(t.map(function(e){return _e()(e,"props.children",null)})).map(function(e){return ze("core/paragraph",{content:[e]})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return ze("core/quote",{value:xn()((1===t.length?t:Qs()(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()(Ao()(t),"props.children")]})}}]},merge:function(e,t){var n=t.values||[];return t.content&&n.push(t.content),R()({},e,{values:[].concat($()(e.values),$()(n))})},edit:function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(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 Ft()(t,e),Mt()(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=yo()(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)})});var n=window.navigator.browserLanguage||window.navigator.language;!/^(?:fr|nl|sv|ru|de|es|it)/.test(n)?(e.shortcuts.add("meta+219","Decrease indent","Outdent"),e.shortcuts.add("meta+221","Increase indent","Indent")):(e.shortcuts.add("meta+shift+m","Decrease indent","Outdent"),e.shortcuts.add("meta+m","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 R()({},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.isSelected,r=e.insertBlocksAfter,o=e.setAttributes,i=e.mergeBlocks,a=e.onReplace,s=e.className,l=t.nodeName,c=t.values;return[n&&wp.element.createElement(H,{key:"controls",controls:[{icon:"editor-ul",title:Object(U.__)("Convert to unordered list"),isActive:this.isListActive("UL"),onClick:this.createSetListType("UL","InsertUnorderedList")},{icon:"editor-ol",title:Object(U.__)("Convert to ordered list"),isActive:this.isListActive("OL"),onClick:this.createSetListType("OL","InsertOrderedList")},{icon:"editor-outdent",title:Object(U.__)("Outdent list item"),onClick:this.createExecCommand("Outdent")},{icon:"editor-indent",title:Object(U.__)("Indent list item"),onClick:this.createExecCommand("Indent")}]}),wp.element.createElement(Ni,{multiline:"li",key:"editable",tagName:l.toLowerCase(),getSettings:this.getEditorSettings,onSetup:this.setupEditor,onChange:this.setNextValues,value:c,wrapperClassName:"blocks-list",className:s,placeholder:Object(U.__)("Write list…"),onMerge:i,onSplit:r?function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];i.length||i.push(ze("core/paragraph")),t.length&&i.push(ze("core/list",{nodeName:l,values:t})),o({values:e}),r(i)}:void 0,onRemove:function(){return a([])},isSelected:n})]}}]),t}(I.Component),save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(I.createElement)(n.toLowerCase(),null,r)}},tl=(n(784),"core/more"),nl={title:Object(U.__)("More"),description:Object(U.__)('"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}},transforms:{from:[{type:"raw",isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),ze("core/more",o)}}]},edit:function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.onChangeInput=e.onChangeInput.bind(e),e.state={defaultText:Object(U.__)("Read more")},e}return Ft()(t,e),Mt()(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props,o=r.setAttributes,i=r.isSelected,a=this.state.defaultText,s=void 0!==t?t:a,l=s.length+1;return[i&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,null,wp.element.createElement(z.ToggleControl,{label:Object(U.__)('Hide the teaser before the "More" tag'),checked:!!n,onChange:function(){return o({noTeaser:!n})}}))),wp.element.createElement("div",{key:"more-tag",className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:s,size:l,onChange:this.onChangeInput}))]}}]),t}(I.Component),save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more "+n+"--\x3e":"\x3c!--more--\x3e",i=r?"\x3c!--noteaser--\x3e":"";return wp.element.createElement(I.RawHTML,null,xn()([o,i]).join("\n"))}},rl=(n(783),"core/preformatted"),ol={title:Object(U.__)("Preformatted"),description:Object(U.__)("Preformatted text keeps your spaces, tabs and linebreaks as they are."),icon:"text",category:"formatting",attributes:{content:{type:"array",source:"children",selector:"pre"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return ze("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 ze("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.isSelected,i=t.content;return[wp.element.createElement(Ni,{key:"block",tagName:"pre",value:i,onChange:function(e){n({content:e})},placeholder:Object(U.__)("Write preformatted text…"),wrapperClassName:r,isSelected:o})]},save:function(e){var t=e.attributes.content;return wp.element.createElement("pre",null,t)}},il=(n(782),n(781),{value:{type:"array",source:"query",selector:"blockquote > p",query:{children:{source:"node"}}},citation:{type:"array",source:"children",selector:"cite"},align:{type:"string",default:"none"}}),al="core/pullquote",sl={title:Object(U.__)("Pullquote"),description:Object(U.__)("A pullquote is a brief, attention-catching quotation taken from the main text of an article and used as a subheading or graphic feature."),icon:"format-quote",category:"formatting",attributes:il,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:Object(z.withState)({editable:"content"})(function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,i=e.editable,a=e.setState,s=t.value,l=t.citation,c=t.align,u=function(e){return function(){return a({editable:e})}};return[r&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:c,onChange:function(e){return n({align:e})}})),wp.element.createElement("blockquote",{key:"quote",className:o},wp.element.createElement(Ni,{multiline:"p",value:function(e){return Nr()(e,function(e){return e.children})}(s),onChange:function(e){return n({value:(t=e,Nr()(t,function(e){return{children:e}}))});var t},placeholder:Object(U.__)("Write quote…"),wrapperClassName:"blocks-pullquote__content",isSelected:r&&"content"===i,onFocus:u("content")}),(l||r)&&wp.element.createElement(Ni,{tagName:"cite",value:l,placeholder:Object(U.__)("Write citation…"),onChange:function(e){return n({citation:e})},isSelected:r&&"cite"===i,onFocus:u("cite")}))]}),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:R()({},il,{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))}}]},ll=n(235),cl=n.n(ll),ul=function(e){function t(){return Pt()(this,t),Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments))}return Ft()(t,e),Mt()(t,[{key:"getChildContext",value:function(){var e=this.props,t=e.id,n=e.user;return{BlockList:(0,e.createInnerBlockList)(t),canUserUseUnfilteredHTML:_e()(n.data,["capabilities","unfiltered_html"],!1)}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.attributes,r=void 0===n?{}:n,o=e.isSelected,i=Me(t);if(!i)return null;var a=Ie(i,"className",!0)?Ut(t):null,s=D()(a,r.className),l=i.edit||i.save;return wp.element.createElement(l,R()({},this.props,{className:s,focus:!!o&&{},setFocus:go.a}))}}]),t}(I.Component);ul.childContextTypes={BlockList:go.a,canUserUseUnfilteredHTML:go.a};var pl=Object(I.compose)([Object(z.withFilters)("blocks.BlockEdit"),Object(jo.withSelect)(function(e){return{postType:e("core/editor").getEditedPostAttribute("type")}}),Object(z.withAPIData)(function(e){return{user:"/wp/v2/users/me?post_type="+e.postType+"&context=edit"}}),Object(z.withContext)("createInnerBlockList")()])(ul),fl=(n(780),Wn.keycodes.ESCAPE),dl=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.bindTitleRef=e.bindTitleRef.bind(e),e.handleFormSubmit=e.handleFormSubmit.bind(e),e.handleTitleChange=e.handleTitleChange.bind(e),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(e),e}return Ft()(t,e),Mt()(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleRef.select()}},{key:"bindTitleRef",value:function(e){this.titleRef=e}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===fl&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.onEdit,i=e.onSave,a=e.onCancel;return wp.element.createElement(I.Fragment,null,!t&&!r&&wp.element.createElement("div",{className:"reusable-block-edit-panel"},wp.element.createElement("b",{className:"reusable-block-edit-panel__info"},n),wp.element.createElement(z.Button,{isLarge:!0,className:"reusable-block-edit-panel__button",onClick:o},Object(U.__)("Edit"))),(t||r)&&wp.element.createElement("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},wp.element.createElement("input",{ref:this.bindTitleRef,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown}),wp.element.createElement(z.Button,{type:"submit",isPrimary:!0,isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button",onClick:i},Object(U.__)("Save")),wp.element.createElement(z.Button,{isLarge:!0,disabled:r,className:"reusable-block-edit-panel__button",onClick:a},Object(U.__)("Cancel"))))}}]),t}(I.Component);n(779);var hl=function(e){var t=e.title;return wp.element.createElement(z.Tooltip,{text:Object(U.sprintf)(Object(U.__)("Shared Block: %s"),t)},wp.element.createElement("span",{className:"reusable-block-indicator"},wp.element.createElement(z.Dashicon,{icon:"controls-repeat"})))},gl=function(e){function t(e){var n=e.reusableBlock;Pt()(this,t);var r=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return r.startEditing=r.startEditing.bind(r),r.stopEditing=r.stopEditing.bind(r),r.setAttributes=r.setAttributes.bind(r),r.setTitle=r.setTitle.bind(r),r.save=r.save.bind(r),r.state={isEditing:!(!n||!n.isTemporary),title:null,changedAttributes:null},r}return Ft()(t,e),Mt()(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,changedAttributes:{}})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,changedAttributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){if(null!==t.changedAttributes)return{changedAttributes:R()({},t.changedAttributes,e)}})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.reusableBlock,n=e.onUpdateTitle,r=e.updateAttributes,o=e.block,i=e.onSave,a=this.state,s=a.title,l=a.changedAttributes;s!==t.title&&n(s),r(o.uid,l),i(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.block,o=e.isFetching,i=e.isSaving,a=this.state,s=a.isEditing,l=a.title,c=a.changedAttributes;if(!n&&o)return wp.element.createElement(z.Placeholder,null,wp.element.createElement(z.Spinner,null));if(!n||!r)return wp.element.createElement(z.Placeholder,null,Object(U.__)("Block has been deleted or is unavailable."));var u=wp.element.createElement(pl,R()({},this.props,{isSelected:s&&t,id:r.uid,name:r.name,attributes:R()({},r.attributes,c),setAttributes:s?this.setAttributes:go.a}));return s||(u=wp.element.createElement(z.Disabled,null,u)),wp.element.createElement(I.Fragment,null,u,(t||s)&&wp.element.createElement(dl,{isEditing:s,title:null!==l?l:n.title,isSaving:i&&!n.isTemporary,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!s&&wp.element.createElement(hl,{title:n.title}))}}]),t}(I.Component),ml=Object(I.compose)([Object(jo.withSelect)(function(e,t){var n=e("core/editor"),r=n.getReusableBlock,o=n.isFetchingReusableBlock,i=n.isSavingReusableBlock,a=n.getBlock,s=t.attributes.ref,l=r(s);return{reusableBlock:l,isFetching:o(s),isSaving:i(s),block:l?a(l.uid):null}}),Object(jo.withDispatch)(function(e,t){var n=e("core/editor"),r=n.fetchReusableBlocks,o=n.updateBlockAttributes,i=n.updateReusableBlockTitle,a=n.saveReusableBlock,s=t.attributes.ref;return{fetchReusableBlock:cl()(r,s),updateAttributes:o,onUpdateTitle:cl()(i,s),onSave:cl()(a,s)}})])(gl),bl="core/block",vl={title:Object(U.__)("Shared Block"),category:"shared",isPrivate:!0,attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1},edit:ml,save:function(){return null}},yl=(n(778),"core/separator"),_l={title:Object(U.__)("Separator"),description:Object(U.__)("Use the separator to indicate a thematic change in the content."),icon:"minus",category:"layout",keywords:[Object(U.__)("horizontal-line"),"hr",Object(U.__)("divider")],transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^-{3,}$/,transform:function(){return ze("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)}},wl=(n(777),"core/shortcode"),xl={title:Object(U.__)("Shortcode"),description:Object(U.__)("A shortcode is a WordPress-specific code snippet that is written between square brackets as [shortcode]. "),icon:"shortcode",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}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(z.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r="blocks-shortcode-input-"+e.instanceId;return wp.element.createElement("div",{className:"wp-block-shortcode"},wp.element.createElement("label",{htmlFor:r},wp.element.createElement(z.Dashicon,{icon:"editor-code"}),Object(U.__)("Shortcode")),wp.element.createElement(ls,{id:r,value:t.text,placeholder:Object(U.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return wp.element.createElement(I.RawHTML,null,t.text)}},kl=(n(776),n(775),"core/subhead"),El={title:Object(U.__)("Subhead"),description:Object(U.__)("Explanatory text under the main heading of an article."),icon:"text",category:"common",useOnce:!0,attributes:{content:{type:"array",source:"children",selector:"p"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return ze("core/subhead",{content:e.content})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return ze("core/paragraph",{content:e.content})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,i=t.content,a=t.placeholder;return wp.element.createElement(Ni,{tagName:"p",key:"editable",value:i,onChange:function(e){n({content:e})},className:o,placeholder:a||Object(U.__)("Write subhead…"),isSelected:r})},save:function(e){var t=e.attributes,n=e.className,r=t.content;return wp.element.createElement("p",{className:n},r)}};n(774),n(773);function Cl(e){var t=e.getBody().querySelector("td,th");t&&(t.focus(),e.selection.select(t,!0),e.selection.collapse(!1))}function Sl(e){return function(t){t&&(function(e){return e.dom.getParent(e.selection.getStart(!0),"table",e.getBody().parentNode)}(t)||Cl(t),t.execCommand(e))}}var Ol=[{icon:"table-row-before",title:Object(U.__)("Add Row Before"),onClick:Sl("mceTableInsertRowBefore")},{icon:"table-row-after",title:Object(U.__)("Add Row After"),onClick:Sl("mceTableInsertRowAfter")},{icon:"table-row-delete",title:Object(U.__)("Delete Row"),onClick:Sl("mceTableDeleteRow")},{icon:"table-col-before",title:Object(U.__)("Add Column Before"),onClick:Sl("mceTableInsertColBefore")},{icon:"table-col-after",title:Object(U.__)("Add Column After"),onClick:Sl("mceTableInsertColAfter")},{icon:"table-col-delete",title:Object(U.__)("Delete Column"),onClick:Sl("mceTableDeleteCol")}],Tl=function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).call(this));return e.handleSetup=e.handleSetup.bind(e),e.state={editor:null},e}return Ft()(t,e),Mt()(t,[{key:"handleSetup",value:function(e,t){e.on("init",function(){t&&Cl(e)}),this.setState({editor:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.onChange,o=t.className,i=t.isSelected;return[wp.element.createElement(Ni,{key:"editor",tagName:"table",wrapperClassName:o,getSettings:function(e){return R()({},e,{plugins:(e.plugins||[]).concat("table"),table_tab_navigation:!1})},onSetup:function(t){return e.handleSetup(t,i)},onChange:r,value:n,isSelected:i}),i&&wp.element.createElement(H,{key:"menu"},wp.element.createElement(z.Toolbar,null,wp.element.createElement(z.DropdownMenu,{icon:"editor-table",label:Object(U.__)("Edit Table"),controls:Ol.map(function(t){return R()({},t,{onClick:function(){return t.onClick(e.state.editor)}})})})))]}}]),t}(I.Component),Al="core/table",jl={title:Object(U.__)("Table"),description:Object(U.__)("Tables. Best used for tabular data."),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,r=e.isSelected,o=e.className,i=t.content;return[r&&wp.element.createElement(H,{key:"toolbar"},wp.element.createElement(W,{value:t.align,onChange:function(e){return n({align:e})}})),wp.element.createElement(Tl,{key:"editor",onChange:function(e){n({content:e})},content:i,className:o,isSelected:r})]},save:function(e){var t=e.attributes,n=t.content,r=t.align;return wp.element.createElement("table",{className:r?"align"+r:null},n)}},Rl=(n(772),n(771),"core/text-columns"),Nl={title:Object(U.__)("Text Columns"),description:Object(U.__)("Add text across columns. This block is experimental"),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,o=e.isSelected,i=t.width,a=t.content,s=t.columns;return[o&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:i,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),o&&wp.element.createElement(Pi,{key:"inspector"},wp.element.createElement(z.PanelBody,null,wp.element.createElement(z.RangeControl,{label:Object(U.__)("Columns"),value:s,onChange:function(e){return n({columns:e})},min:2,max:4}))),wp.element.createElement("div",{className:r+" align"+i+" columns-"+s,key:"block"},ts()(s,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement(Ni,{tagName:"p",value:a&&a[e]&&a[e].children,onChange:function(t){n({content:[].concat($()(a.slice(0,e)),[{children:t}],$()(a.slice(e+1)))})},placeholder:Object(U.__)("New Column"),isSelected:o}))}))]},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return wp.element.createElement("div",{className:"align"+n+" columns-"+o},ts()(o,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement("p",null,r&&r[e].children))}))}},Pl=(n(770),"core/verse"),Ll={title:Object(U.__)("Verse"),description:Object(U.__)("Write poetry and other literary expressions honoring all spaces and line-breaks."),icon:"edit",category:"formatting",keywords:[Object(U.__)("poetry")],attributes:{content:{type:"array",source:"children",selector:"pre"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return ze("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return ze("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.isSelected,i=t.content;return wp.element.createElement(Ni,{tagName:"pre",value:i,onChange:function(e){n({content:e})},placeholder:Object(U.__)("Write…"),wrapperClassName:r,formattingControls:["bold","italic","strikethrough"],isSelected:o})},save:function(e){var t=e.attributes,n=e.className;return wp.element.createElement("pre",{className:n},t.content)}},Ml=(n(769),n(768),"core/video"),Bl={title:Object(U.__)("Video"),description:Object(U.__)("The Video block allows you to embed video files and play them back using a simple player."),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||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function t(){Pt()(this,t);var e=Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments));return e.state={editing:!e.props.attributes.src,src:e.props.attributes.src},e}return Ft()(t,e),Mt()(t,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.align,r=t.caption,o=t.id,i=this.props,a=i.setAttributes,s=i.isSelected,l=i.className,c=this.state,u=c.editing,p=c.src,f=function(t){t&&t.url&&(a({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1}))},d=function(e){var t=nt()(e,1)[0];return f(t)},h=s&&wp.element.createElement(H,{key:"controls"},wp.element.createElement(W,{value:n,onChange:function(e){return a({align:e})}}),!u&&wp.element.createElement(z.Toolbar,null,wp.element.createElement(z.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(U.__)("Edit video"),onClick:function(){e.setState({editing:!0})},icon:"edit"})));return u?[h,wp.element.createElement(z.Placeholder,{key:"placeholder",icon:"media-video",label:Object(U.__)("Video"),instructions:Object(U.__)("Select a video file from your library, or upload a new one"),className:l},wp.element.createElement("form",{onSubmit:function(t){return t.preventDefault(),p&&(a({src:p}),e.setState({editing:!1})),!1}},wp.element.createElement("input",{type:"url",className:"components-placeholder__input",placeholder:Object(U.__)("Enter URL of video file here…"),onChange:function(t){return e.setState({src:t.target.value})},value:p||""}),wp.element.createElement(z.Button,{isLarge:!0,type:"submit"},Object(U.__)("Use URL"))),wp.element.createElement(z.FormFileUpload,{isLarge:!0,className:"wp-block-video__upload-button",onChange:function(e){return Object(Wn.mediaUpload)(e.target.files,d,"video")},accept:"video/*"},Object(U.__)("Upload")),wp.element.createElement(ga,{onSelect:f,type:"video",id:o,render:function(e){var t=e.open;return wp.element.createElement(z.Button,{isLarge:!0,onClick:t},Object(U.__)("Add from Media Library"))}}))]:[h,wp.element.createElement("figure",{key:"video",className:l},wp.element.createElement("video",{controls:!0,src:p}),(r&&r.length||s)&&wp.element.createElement(Ni,{tagName:"figcaption",placeholder:Object(U.__)("Write caption…"),value:r,onChange:function(e){return a({caption:e})},isSelected:s,inlineToolbar:!0}))]}}]),t}(I.Component),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))}},Dl=function(){[r,o,i,s,v,a,E,l,c,u,p,f,d,h].concat($()(Ls),$()(Ms),[g,m,b,y,_,w,x,k,C,S,O,T,A]).forEach(function(e){Te(e.name,e.settings)}),Ne(Wi),je(Fs)},Il=function(e){function t(){return Pt()(this,t),Dt()(this,(t.__proto__||Rt()(t)).apply(this,arguments))}return Ft()(t,e),Mt()(t,[{key:"getChildContext",value:function(){return Xi()(this.props,ot()(this.constructor.childContextTypes))}},{key:"render",value:function(){return this.props.children}}]),t}(I.Component);Il.childContextTypes={onUndo:go.a,onRedo:go.a,onCreateUndoLevel:go.a};var Fl=Il;n.d(t,"createBlock",function(){return ze}),n.d(t,"cloneBlock",function(){return He}),n.d(t,"getPossibleBlockTransformations",function(){return qe}),n.d(t,"switchToBlockType",function(){return We}),n.d(t,"getBlockTransforms",function(){return Ve}),n.d(t,"findTransform",function(){return Ke}),n.d(t,"parse",function(){return _n}),n.d(t,"getBlockAttributes",function(){return bn}),n.d(t,"parseWithAttributeSchema",function(){return gn}),n.d(t,"rawHandler",function(){return Or}),n.d(t,"serialize",function(){return $t}),n.d(t,"getBlockContent",function(){return Vt}),n.d(t,"getBlockDefaultClassName",function(){return Ut}),n.d(t,"getSaveElement",function(){return qt}),n.d(t,"isValidBlock",function(){return un}),n.d(t,"getCategories",function(){return xe}),n.d(t,"registerBlockType",function(){return Te}),n.d(t,"unregisterBlockType",function(){return Ae}),n.d(t,"setUnknownTypeHandlerName",function(){return je}),n.d(t,"getUnknownTypeHandlerName",function(){return Re}),n.d(t,"setDefaultBlockName",function(){return Ne}),n.d(t,"getDefaultBlockName",function(){return Pe}),n.d(t,"getDefaultBlockForPostFormat",function(){return Le}),n.d(t,"getBlockType",function(){return Me}),n.d(t,"getBlockTypes",function(){return Be}),n.d(t,"getBlockSupport",function(){return De}),n.d(t,"hasBlockSupport",function(){return Ie}),n.d(t,"isReusableBlock",function(){return Fe}),n.d(t,"isUnmodifiedDefaultBlock",function(){return jr}),n.d(t,"doBlocksMatchTemplate",function(){return Pr}),n.d(t,"synchronizeBlocksWithTemplate",function(){return Lr}),n.d(t,"registerCoreBlocks",function(){return Dl}),n.d(t,"AlignmentToolbar",function(){return uo}),n.d(t,"Autocomplete",function(){return Po}),n.d(t,"BlockAlignmentToolbar",function(){return W}),n.d(t,"BlockControls",function(){return H}),n.d(t,"BlockEdit",function(){return pl}),n.d(t,"BlockIcon",function(){return Yr}),n.d(t,"ColorPalette",function(){return Mi}),n.d(t,"ImagePlaceholder",function(){return ma}),n.d(t,"InnerBlocks",function(){return hs}),n.d(t,"InspectorControls",function(){return Pi}),n.d(t,"InspectorAdvancedControls",function(){return Ir}),n.d(t,"PlainText",function(){return ls}),n.d(t,"MediaUpload",function(){return ga}),n.d(t,"RichText",function(){return Ni}),n.d(t,"RichTextProvider",function(){return Fl}),n.d(t,"UrlInput",function(){return Ko}),n.d(t,"UrlInputButton",function(){return ba})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var r=l(n(11)),o=l(n(59)),i=l(n(49)),a=l(n(357)),s=n(143);function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,l=e.hex,c=e.colors,u=e.width,p=e.triangle,f=(0,o.default)({default:{card:{width:u,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"===p,"top-left-triangle":"top-left"===p,"top-right-triangle":"top-right"===p}),d=function(e,n){a.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return r.default.createElement("div",{style:f.card,className:"twitter-picker"},r.default.createElement("div",{style:f.triangleShadow}),r.default.createElement("div",{style:f.triangle}),r.default.createElement("div",{style:f.body},(0,i.default)(c,function(e,t){return r.default.createElement(s.Swatch,{key:t,color:e,hex:e,style:f.swatch,onClick:d,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),r.default.createElement("div",{style:f.hash},"#"),r.default.createElement(s.EditableInput,{style:{input:f.input},value:l.replace("#",""),onChange:d}),r.default.createElement("div",{style:f.clear})))};c.defaultProps={width:"276px",colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"},t.default=(0,s.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var r=a(n(11)),o=a(n(59)),i=n(143);function a(e){return e&&e.__esModule?e:{default:e}}var s=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,a=void 0===n?function(){}:n,s=e.onSwatchHover,l=e.first,c=e.last,u=e.active,p=(0,o.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:l,last:c,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.default.createElement(i.Swatch,{color:t,style:p.color,onClick:a,onHover:s,focusStyle:{boxShadow:"0 0 4px "+t}},r.default.createElement("div",{style:p.check},r.default.createElement("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},r.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var r=s(n(11)),o=s(n(59)),i=s(n(49)),a=s(n(624));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.SwatchesGroup=function(e){var t=e.onClick,n=e.onSwatchHover,s=e.group,l=e.active,c=(0,o.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return r.default.createElement("div",{style:c.group},(0,i.default)(s,function(e,o){return r.default.createElement(a.default,{key:e,color:e,active:e.toLowerCase()===l,first:0===o,last:o===s.length-1,onClick:t,onSwatchHover:n})}))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var r=p(n(11)),o=p(n(59)),i=p(n(49)),a=p(n(357)),s=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}(n(520)),l=n(143),c=n(500),u=p(n(625));function p(e){return e&&e.__esModule?e:{default:e}}var f=t.Swatches=function(e){var t=e.width,n=e.height,s=e.onChange,l=e.onSwatchHover,p=e.colors,f=e.hex,d=(0,o.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),h=function(e,t){a.default.isValidHex(e)&&s({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:d.picker,className:"swatches-picker"},r.default.createElement(c.Raised,null,r.default.createElement("div",{style:d.overflow},r.default.createElement("div",{style:d.body},(0,i.default)(p,function(e){return r.default.createElement(u.default,{key:e.toString(),group:e,active:f,onClick:h,onSwatchHover:l})}),r.default.createElement("div",{style:d.clear})))))};f.defaultProps={width:320,height:240,colors:[[s.red[900],s.red[700],s.red[500],s.red[300],s.red[100]],[s.pink[900],s.pink[700],s.pink[500],s.pink[300],s.pink[100]],[s.purple[900],s.purple[700],s.purple[500],s.purple[300],s.purple[100]],[s.deepPurple[900],s.deepPurple[700],s.deepPurple[500],s.deepPurple[300],s.deepPurple[100]],[s.indigo[900],s.indigo[700],s.indigo[500],s.indigo[300],s.indigo[100]],[s.blue[900],s.blue[700],s.blue[500],s.blue[300],s.blue[100]],[s.lightBlue[900],s.lightBlue[700],s.lightBlue[500],s.lightBlue[300],s.lightBlue[100]],[s.cyan[900],s.cyan[700],s.cyan[500],s.cyan[300],s.cyan[100]],[s.teal[900],s.teal[700],s.teal[500],s.teal[300],s.teal[100]],["#194D33",s.green[700],s.green[500],s.green[300],s.green[100]],[s.lightGreen[900],s.lightGreen[700],s.lightGreen[500],s.lightGreen[300],s.lightGreen[100]],[s.lime[900],s.lime[700],s.lime[500],s.lime[300],s.lime[100]],[s.yellow[900],s.yellow[700],s.yellow[500],s.yellow[300],s.yellow[100]],[s.amber[900],s.amber[700],s.amber[500],s.amber[300],s.amber[100]],[s.orange[900],s.orange[700],s.orange[500],s.orange[300],s.orange[100]],[s.deepOrange[900],s.deepOrange[700],s.deepOrange[500],s.deepOrange[300],s.deepOrange[100]],[s.brown[900],s.brown[700],s.brown[500],s.brown[300],s.brown[100]],[s.blueGrey[900],s.blueGrey[700],s.blueGrey[500],s.blueGrey[300],s.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]]},t.default=(0,l.ColorWrap)(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.SliderPointer=function(){var e=(0,o.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 r.default.createElement("div",{style:e.picker})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.SliderSwatch=function(e){var t=e.hsl,n=e.offset,i=e.onClick,a=void 0===i?function(){}:i,s=e.active,l=e.first,c=e.last,u=(0,o.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:s,first:l,last:c});return r.default.createElement("div",{style:u.swatch,onClick:function(e){return a({h:t.h,s:.5,l:n,source:"hsl"},e)}})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var r=a(n(11)),o=a(n(59)),i=a(n(628));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.SliderSwatches=function(e){var t=e.onClick,n=e.hsl,a=(0,o.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return r.default.createElement("div",{style:a.swatches},r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".80",active:Math.round(100*n.l)/100==.8&&Math.round(100*n.s)/100==.5,onClick:t,first:!0})),r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".65",active:Math.round(100*n.l)/100==.65&&Math.round(100*n.s)/100==.5,onClick:t})),r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".50",active:Math.round(100*n.l)/100==.5&&Math.round(100*n.s)/100==.5,onClick:t})),r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".35",active:Math.round(100*n.l)/100==.35&&Math.round(100*n.s)/100==.5,onClick:t})),r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".20",active:Math.round(100*n.l)/100==.2&&Math.round(100*n.s)/100==.5,onClick:t,last:!0})),r.default.createElement("div",{style:a.clear}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var r=l(n(11)),o=l(n(59)),i=n(143),a=l(n(629)),s=l(n(627));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Slider=function(e){var t=e.hsl,n=e.onChange,s=e.pointer,l=(0,o.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}});return r.default.createElement("div",{className:"slider-picker"},r.default.createElement("div",{style:l.hue},r.default.createElement(i.Hue,{style:l.Hue,hsl:t,pointer:s,onChange:n})),r.default.createElement("div",{style:l.swatches},r.default.createElement(a.default,{hsl:t,onClick:n})))};c.defaultProps={pointer:s.default},t.default=(0,i.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var r=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},o=l(n(11)),i=l(n(158)),a=l(n(59)),s=n(143);function l(e){return e&&e.__esModule?e:{default:e}}var c=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,i=void 0===n?function(){}:n,l=e.onSwatchHover,c=(0,a.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}),u=function(e,t){i({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:c.colors,className:"flexbox-fix"},t.map(function(e){var t="string"==typeof e?{color:e}:e;return o.default.createElement("div",{key:t.color,style:c.swatchWrap},o.default.createElement(s.Swatch,r({},t,{style:c.swatch,onClick:u,onHover:l,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))}))};c.propTypes={colors:i.default.arrayOf(i.default.oneOfType([i.default.string,i.default.shape({color:i.default.string,title:i.default.string})]))},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShetchFields=void 0;var r=s(n(11)),o=s(n(59)),i=s(n(357)),a=n(143);function s(e){return e&&e.__esModule?e:{default:e}}var l=t.ShetchFields=function(e){var t=e.onChange,n=e.rgb,s=e.hsl,l=e.hex,c=e.disableAlpha,u=(0,o.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:c}),p=function(e,r){e.hex?i.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):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"},r):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,t({h:s.h,s:s.s,l:s.l,a:e.a,source:"rgb"},r))};return r.default.createElement("div",{style:u.fields,className:"flexbox-fix"},r.default.createElement("div",{style:u.double},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"hex",value:l.replace("#",""),onChange:p})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"r",value:n.r,onChange:p,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"g",value:n.g,onChange:p,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"b",value:n.b,onChange:p,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.alpha},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"a",value:Math.round(100*n.a),onChange:p,dragLabel:"true",dragMax:"100"})))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var r=l(n(11)),o=l(n(59)),i=n(143),a=l(n(632)),s=l(n(631));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Sketch=function(e){var t=e.width,n=e.rgb,l=e.hex,c=e.hsv,u=e.hsl,p=e.onChange,f=e.onSwatchHover,d=e.disableAlpha,h=e.presetColors,g=e.renderers,m=(0,o.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 r.default.createElement("div",{style:m.picker,className:"sketch-picker"},r.default.createElement("div",{style:m.saturation},r.default.createElement(i.Saturation,{style:m.Saturation,hsl:u,hsv:c,onChange:p})),r.default.createElement("div",{style:m.controls,className:"flexbox-fix"},r.default.createElement("div",{style:m.sliders},r.default.createElement("div",{style:m.hue},r.default.createElement(i.Hue,{style:m.Hue,hsl:u,onChange:p})),r.default.createElement("div",{style:m.alpha},r.default.createElement(i.Alpha,{style:m.Alpha,rgb:n,hsl:u,renderers:g,onChange:p}))),r.default.createElement("div",{style:m.color},r.default.createElement(i.Checkboard,null),r.default.createElement("div",{style:m.activeColor}))),r.default.createElement(a.default,{rgb:n,hsl:u,hex:l,onChange:p,disableAlpha:d}),r.default.createElement(s.default,{colors:h,onClick:p,onSwatchHover:f}))};c.defaultProps={presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"],width:200},t.default=(0,i.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,i=(0,o.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 r.default.createElement("div",null,r.default.createElement("div",{style:i.label},"new"),r.default.createElement("div",{style:i.swatches},r.default.createElement("div",{style:i.new}),r.default.createElement("div",{style:i.current})),r.default.createElement("div",{style:i.label},"current"))};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopBotton=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.PhotoshopBotton=function(e){var t=e.onClick,n=e.label,i=e.children,a=e.active,s=(0,o.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:a});return r.default.createElement("div",{style:s.button,onClick:t},n||i)};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.PhotoshopPointerCircle=function(){var e=(0,o.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 r.default.createElement("div",{style:e.pointer},r.default.createElement("div",{style:e.left},r.default.createElement("div",{style:e.leftInside})),r.default.createElement("div",{style:e.right},r.default.createElement("div",{style:e.rightInside})))};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.PhotoshopPointerCircle=function(e){var t=e.hsl,n=(0,o.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 r.default.createElement("div",{style:n.picker})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var r=s(n(11)),o=s(n(59)),i=s(n(357)),a=n(143);function s(e){return e&&e.__esModule?e:{default:e}}var l=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,s=e.hsv,l=e.hex,c=(0,o.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"}}}),u=function(e,r){e["#"]?i.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},r):(e.h||e.s||e.v)&&t({h:e.h||s.h,s:e.s||s.s,v:e.v||s.v,source:"hsv"},r)};return r.default.createElement("div",{style:c.fields},r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(s.h),onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(100*s.s),onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(100*s.v),onChange:u}),r.default.createElement("div",{style:c.divider}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:n.r,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:n.g,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:n.b,onChange:u}),r.default.createElement("div",{style:c.divider}),r.default.createElement(a.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:l.replace("#",""),onChange:u}),r.default.createElement("div",{style:c.fieldSymbols},r.default.createElement("div",{style:c.symbol},"°"),r.default.createElement("div",{style:c.symbol},"%"),r.default.createElement("div",{style:c.symbol},"%")))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var r=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}}(),o=f(n(11)),i=f(n(59)),a=n(143),s=f(n(638)),l=f(n(637)),c=f(n(636)),u=f(n(635)),p=f(n(634));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Photoshop=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:e.hex},n}return 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)}(t,o.default.Component),r(t,[{key:"render",value:function(){var e=(0,i.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 o.default.createElement("div",{style:e.picker,className:"photoshop-picker"},o.default.createElement("div",{style:e.head},this.props.header),o.default.createElement("div",{style:e.body,className:"flexbox-fix"},o.default.createElement("div",{style:e.saturation},o.default.createElement(a.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:l.default,onChange:this.props.onChange})),o.default.createElement("div",{style:e.hue},o.default.createElement(a.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:c.default,onChange:this.props.onChange})),o.default.createElement("div",{style:e.controls},o.default.createElement("div",{style:e.top,className:"flexbox-fix"},o.default.createElement("div",{style:e.previews},o.default.createElement(p.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),o.default.createElement("div",{style:e.actions},o.default.createElement(u.default,{label:"OK",onClick:this.props.onAccept,active:!0}),o.default.createElement(u.default,{label:"Cancel",onClick:this.props.onCancel}),o.default.createElement(s.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}();d.defaultProps={header:"Color Picker"},t.default=(0,a.ColorWrap)(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var r=l(n(11)),o=l(n(59)),i=l(n(357)),a=n(500),s=n(143);function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Material=function(e){var t=e.onChange,n=e.hex,l=e.rgb,c=(0,o.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"}}}),u=function(e,n){e.hex?i.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||l.r,g:e.g||l.g,b:e.b||l.b,source:"rgb"},n)};return r.default.createElement(a.Raised,null,r.default.createElement("div",{style:c.material,className:"material-picker"},r.default.createElement(s.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"hex",value:n,onChange:u}),r.default.createElement("div",{style:c.split,className:"flexbox-fix"},r.default.createElement("div",{style:c.third},r.default.createElement(s.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:l.r,onChange:u})),r.default.createElement("div",{style:c.third},r.default.createElement(s.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:l.g,onChange:u})),r.default.createElement("div",{style:c.third},r.default.createElement(s.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:l.b,onChange:u})))))};t.default=(0,s.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.SliderPointer=function(e){var t=e.direction,n=(0,o.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 r.default.createElement("div",{style:n.picker})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var r=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},o=l(n(11)),i=l(n(59)),a=n(143),s=l(n(641));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.HuePicker=function(e){var t=e.width,n=e.height,s=e.onChange,l=e.hsl,c=e.direction,u=e.pointer,p=(0,i.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}});return o.default.createElement("div",{style:p.picker,className:"hue-picker"},o.default.createElement(a.Hue,r({},p.hue,{hsl:l,pointer:u,onChange:function(e){return s({a:1,h:e.h,l:.5,s:1})},direction:c})))};c.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:s.default},t.default=(0,a.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var r=s(n(11)),o=n(59),i=s(o),a=n(143);function s(e){return e&&e.__esModule?e:{default:e}}var l=t.GithubSwatch=function(e){var t=e.hover,n=e.color,o=e.onClick,s=e.onSwatchHover,l={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},c=(0,i.default)({default:{swatch:{width:"25px",height:"25px"}},hover:{swatch:l}},{hover:t});return r.default.createElement("div",{style:c.swatch},r.default.createElement(a.Swatch,{color:n,onClick:o,onHover:s,focusStyle:l}))};t.default=(0,o.handleHover)(l)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var r=l(n(11)),o=l(n(59)),i=l(n(49)),a=n(143),s=l(n(643));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Github=function(e){var t=e.width,n=e.colors,a=e.onChange,l=e.onSwatchHover,c=e.triangle,u=(0,o.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"===c,"top-left-triangle":"top-left"===c,"top-right-triangle":"top-right"===c,"bottom-right-triangle":"bottom-right"===c}),p=function(e,t){return a({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:u.card,className:"github-picker"},r.default.createElement("div",{style:u.triangleShadow}),r.default.createElement("div",{style:u.triangle}),(0,i.default)(n,function(e){return r.default.createElement(s.default,{color:e,key:e,onClick:p,onSwatchHover:l})}))};c.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,a.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var r=a(n(11)),o=a(n(59)),i=n(143);function a(e){return e&&e.__esModule?e:{default:e}}var s=t.CompactFields=function(e){var t=e.hex,n=e.rgb,a=e.onChange,s=(0,o.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"}}}),l=function(e,t){e.r||e.g||e.b?a({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):a({hex:e.hex,source:"hex"},t)};return r.default.createElement("div",{style:s.fields,className:"flexbox-fix"},r.default.createElement("div",{style:s.active}),r.default.createElement(i.EditableInput,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"hex",value:t,onChange:l}),r.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:n.r,onChange:l}),r.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:n.g,onChange:l}),r.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:n.b,onChange:l}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var r=a(n(11)),o=a(n(59)),i=n(143);function a(e){return e&&e.__esModule?e:{default:e}}var s=t.CompactColor=function(e){var t=e.color,n=e.onClick,a=void 0===n?function(){}:n,s=e.onSwatchHover,l=e.active,c=(0,o.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:l,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.default.createElement(i.Swatch,{style:c.color,color:t,onClick:a,onHover:s,focusStyle:{boxShadow:"0 0 4px "+t}},r.default.createElement("div",{style:c.dot}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),o=a(n(11)),i=a(n(134));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return 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)}(t,o.default.Component),r(t,[{key:"handleClick",value:function(e){this.props.onClick&&this.props.onClick(e,this.props.callbackValue)}},{key:"render",value:function(){return(0,i.default)(this.props.onClick)?o.default.createElement("a",{style:{textDecoration:"none"},href:this.props.onClick,target:this.props.newTab&&"_blank"},this.props.children):o.default.createElement("a",{style:{textDecoration:"none"},onClick:this.handleClick},this.props.children)}}]),t}();s.defaultProps={newTab:!1},t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),o=s(n(11)),i=s(n(158)),a=s(n(59));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return 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)}(t,o.default.Component),r(t,[{key:"handleClick",value:function(){!1!==this.props.selectable&&this.props.onClick(this.props.tab)}},{key:"render",value:function(){var e=(0,a.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 o.default.createElement("div",{style:e.tab,onClick:this.handleClick},this.props.children)}}]),t}();l.propTypes={selected:i.default.bool},l.defaultProps={selected:!1,color:"#fff"},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),o=c(n(11)),i=c(n(59)),a=c(n(134)),s=c(n(648)),l=c(n(647));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n,r=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}(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 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)}(t,o.default.Component),r(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,i.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,c,u,p,f=this.props.tabs[n];(0,a.default)(f)?(r=f,c=null):(r=f.label,c=f.onClick,u=f.callbackValue,p=f.newTab),t.push(o.default.createElement("div",{style:e.tab,ref:"tab-"+n,key:n},o.default.createElement(l.default,{onClick:c,callbackValue:u,newTab:p},o.default.createElement(s.default,{style:e.Tab,tab:n,selected:this.state.selectedTab===n,selectable:f.selectable,onClick:this.handleClick},r))))}return o.default.createElement("div",{style:e.tabs,ref:"tabs"},o.default.createElement("div",{style:e.tabWrap,className:"flexbox-fix"},t),o.default.createElement("div",{style:e.indicator,ref:"indicator"}))}}]),t}();u.defaultProps={selectedTab:0,background:"transparent",color:"#fff"},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(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}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=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}}(),i=s(n(11)),a=s(n(59));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return 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)}(t,i.default.Component),o(t,[{key:"render",value:function(){var e=(0,a.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=r(this.props.children,2),n=t[0],o=t[1];return i.default.createElement("div",{style:e.tile,className:"flexbox-fix"},i.default.createElement("div",{style:e.primary,className:"flexbox-fix"},i.default.createElement("div",{style:e.sidebar,key:"sidebar-#{ sidebar }"},n),i.default.createElement("div",{style:e.content,key:"content-#{ content }"},o)))}}]),t}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),o=s(n(11)),i=s(n(158)),a=s(n(59));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return 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)}(t,o.default.Component),r(t,[{key:"render",value:function(){var e=(0,a.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 o.default.createElement("div",{style:e.wrap},o.default.createElement("div",{style:e.bg}),o.default.createElement("div",{style:e.content},this.props.children))}}]),t}();l.propTypes={background:i.default.string,zDepth:i.default.oneOf(["0","1","2","3","4","5",0,1,2,3,4,5]),radius:i.default.oneOfType([i.default.string,i.default.number])},l.defaultProps={background:"#fff",zDepth:"1",radius:"2px"},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var r=p(n(11)),o=p(n(59)),i=p(n(49)),a=p(n(357)),s=n(500),l=n(143),c=p(n(646)),u=p(n(645));function p(e){return e&&e.__esModule?e:{default:e}}var f=t.Compact=function(e){var t=e.onChange,n=e.onSwatchHover,l=e.colors,p=e.hex,f=e.rgb,d=(0,o.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}}),h=function(e,n){e.hex?a.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return r.default.createElement(s.Raised,{style:d.Compact},r.default.createElement("div",{style:d.compact,className:"compact-picker"},r.default.createElement("div",null,(0,i.default)(l,function(e){return r.default.createElement(c.default,{key:e,color:e,active:e.toLowerCase()===p,onClick:h,onSwatchHover:n})}),r.default.createElement("div",{style:d.clear})),r.default.createElement(u.default,{hex:p,rgb:f,onChange:h})))};f.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,l.ColorWrap)(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.ChromePointerCircle=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r.default.createElement("div",{style:e.picker})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.ChromePointer=function(){var e=(0,o.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 r.default.createElement("div",{style:e.picker})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var r=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}}(),o=l(n(11)),i=l(n(59)),a=l(n(357)),s=n(143);function l(e){return e&&e.__esModule?e:{default:e}}function c(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}var u=t.ChromeFields=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=r=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),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?a.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"},c(r,n)}return 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)}(t,o.default.Component),r(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,i.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=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(s.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(s.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(s.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(s.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(s.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=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(s.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(s.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(s.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(s.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),o.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,o.default.createElement("div",{style:t.toggle},o.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},o.default.createElement("svg",{style:t.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},o.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"}),o.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}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var r=c(n(11)),o=c(n(59)),i=n(143),a=c(n(655)),s=c(n(654)),l=c(n(653));function c(e){return e&&e.__esModule?e:{default:e}}var u=t.Chrome=function(e){var t=e.onChange,n=e.disableAlpha,c=e.rgb,u=e.hsl,p=e.hsv,f=e.hex,d=e.renderers,h=(0,o.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("+c.r+", "+c.g+", "+c.b+", "+c.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 r.default.createElement("div",{style:h.picker,className:"chrome-picker"},r.default.createElement("div",{style:h.saturation},r.default.createElement(i.Saturation,{style:h.Saturation,hsl:u,hsv:p,pointer:l.default,onChange:t})),r.default.createElement("div",{style:h.body},r.default.createElement("div",{style:h.controls,className:"flexbox-fix"},r.default.createElement("div",{style:h.color},r.default.createElement("div",{style:h.swatch},r.default.createElement("div",{style:h.active}),r.default.createElement(i.Checkboard,{renderers:d}))),r.default.createElement("div",{style:h.toggles},r.default.createElement("div",{style:h.hue},r.default.createElement(i.Hue,{style:h.Hue,hsl:u,pointer:s.default,onChange:t})),r.default.createElement("div",{style:h.alpha},r.default.createElement(i.Alpha,{style:h.Alpha,rgb:c,hsl:u,pointer:s.default,renderers:d,onChange:t})))),r.default.createElement(a.default,{rgb:c,hsl:u,hex:f,onChange:t,disableAlpha:n})))};t.default=(0,i.ColorWrap)(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var r=s(n(11)),o=n(59),i=s(o),a=n(143);function s(e){return e&&e.__esModule?e:{default:e}}var l=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,o=e.onSwatchHover,s=e.hover,l=e.active,c=e.circleSize,u=e.circleSpacing,p=(0,i.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:s,active:l});return r.default.createElement("div",{style:p.swatch},r.default.createElement(a.Swatch,{style:p.Swatch,color:t,onClick:n,onHover:o,focusStyle:{boxShadow:p.Swatch.boxShadow+", 0 0 5px "+t}}))};l.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,o.handleHover)(l)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var r=c(n(11)),o=c(n(59)),i=c(n(49)),a=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}(n(520)),s=n(143),l=c(n(657));function c(e){return e&&e.__esModule?e:{default:e}}var u=t.Circle=function(e){var t=e.width,n=e.onChange,a=e.onSwatchHover,s=e.colors,c=e.hex,u=e.circleSize,p=e.circleSpacing,f=(0,o.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-p,marginBottom:-p}}}),d=function(e,t){return n({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:f.card,className:"circle-picker"},(0,i.default)(s,function(e){return r.default.createElement(l.default,{key:e,color:e,onClick:d,onSwatchHover:a,active:c===e.toLowerCase(),circleSize:u,circleSpacing:p})}))};u.defaultProps={width:"252px",circleSize:28,circleSpacing:14,colors:[a.red[500],a.pink[500],a.purple[500],a.deepPurple[500],a.indigo[500],a.blue[500],a.lightBlue[500],a.cyan[500],a.teal[500],a.green[500],a.lightGreen[500],a.lime[500],a.yellow[500],a.amber[500],a.orange[500],a.deepOrange[500],a.brown[500],a.blueGrey[500]]},t.default=(0,s.ColorWrap)(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var r=s(n(11)),o=s(n(59)),i=s(n(49)),a=n(143);function s(e){return e&&e.__esModule?e:{default:e}}var l=t.BlockSwatches=function(e){var t=e.colors,n=e.onClick,s=e.onSwatchHover,l=(0,o.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return r.default.createElement("div",{style:l.swatches},(0,i.default)(t,function(e){return r.default.createElement(a.Swatch,{key:e,color:e,style:l.swatch,onClick:n,onHover:s,focusStyle:{boxShadow:"0 0 4px "+e}})}),r.default.createElement("div",{style:l.clear}))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var r=l(n(11)),o=l(n(59)),i=l(n(357)),a=n(143),s=l(n(659));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,l=e.hex,c=e.colors,u=e.width,p=e.triangle,f="transparent"===l,d=function(e,n){i.default.isValidHex(e)&&t({hex:e,source:"hex"},n)},h=(0,o.default)({default:{card:{width:u,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:l,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:f?"rgba(0,0,0,0.4)":"#fff",position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+l+" 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"===p});return r.default.createElement("div",{style:h.card,className:"block-picker"},r.default.createElement("div",{style:h.triangle}),r.default.createElement("div",{style:h.head},f&&r.default.createElement(a.Checkboard,{borderRadius:"6px 6px 0 0"}),r.default.createElement("div",{style:h.label},l)),r.default.createElement("div",{style:h.body},r.default.createElement(s.default,{colors:c,onClick:d,onSwatchHover:n}),r.default.createElement(a.EditableInput,{style:{input:h.input},value:l,onChange:d})))};c.defaultProps={width:"170px",colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top"},t.default=(0,a.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var r=i(n(11)),o=i(n(59));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.AlphaPointer=function(e){var t=e.direction,n=(0,o.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 r.default.createElement("div",{style:n.picker})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var r,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(11),a=(r=i)&&r.__esModule?r:{default:r};function s(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}t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return i=l=s(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={focus:!1},l.handleFocus=function(){return l.setState({focus:!0})},l.handleBlur=function(){return l.setState({focus:!1})},l.render=function(){return a.default.createElement(t,{onFocus:l.handleFocus,onBlur:l.handleBlur},a.default.createElement(e,o({},l.props,l.state)))},s(l,i)}return 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)}(r,a.default.Component),r}()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var r=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},o=l(n(11)),i=l(n(59)),a=n(662),s=n(143);function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Swatch=function(e){var t=e.color,n=e.style,a=e.onClick,l=void 0===a?function(){}:a,c=e.onHover,u=e.title,p=void 0===u?t:u,f=e.children,d=e.focus,h=e.focusStyle,g=void 0===h?{}:h,m="transparent"===t,b=(0,i.default)({default:{swatch:r({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?g:{})}}),v={};return c&&(v.onMouseOver=function(e){return c(t,e)}),o.default.createElement("div",r({style:b.swatch,onClick:function(e){return l(t,e)},title:p,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&l(t,e)}},v),f,m&&o.default.createElement(s.Checkboard,{borderRadius:b.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,a.handleFocus)(c)},function(e,t,n){var r;!function(){var o=/^[\s,#]+/,i=/\s+$/,a=0,s=Math,l=s.round,c=s.min,u=s.max,p=s.random;function f(e,t){if(e=e||"",t=t||{},e instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=!1,a=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var t,n=!1;if(j[e])e=j[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=H.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=H.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=H.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=H.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=H.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=H.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=H.hex8.exec(e))return{a:(r=t[1],M(r)/255),r:M(t[2]),g:M(t[3]),b:M(t[4]),format:n?"name":"hex8"};var r;if(t=H.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:n?"name":"hex"};if(t=H.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));if("object"==typeof e){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b"))d=e.r,h=e.g,g=e.b,t={r:255*P(d,255),g:255*P(h,255),b:255*P(g,255)},r=!0,a="%"===String(e.r).substr(-1)?"prgb":"rgb";else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){var l=D(e.s,1),p=D(e.v,1);t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(n,100);var r=s.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),l=n*(1-(1-o)*t),c=r%6;return{r:255*[n,a,i,i,l,n][c],g:255*[l,n,n,a,i,i][c],b:255*[i,i,l,n,n,a][c]}}(e.h,l,p),r=!0,a="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){var l=D(e.s),f=D(e.l);t=function(e,t,n){var r,o,i;function a(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}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,l,f),r=!0,a="hsl"}e.hasOwnProperty("a")&&(n=e.a)}var d,h,g;return n=N(n),{ok:r,format:e.format||a,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=a++}function d(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=c(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 h(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=c(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 g(e,t,n,r){var o=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(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 m(e,t,n,r){var o;return[B((o=r,Math.round(255*parseFloat(o)).toString(16))),B(l(e).toString(16)),B(l(t).toString(16)),B(l(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=L(n.s),f(n)}function v(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=L(n.s),f(n)}function y(e){return f(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=L(n.l),f(n)}function w(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),f(n)}function x(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=L(n.l),f(n)}function k(e,t){var n=f(e).toHsl(),r=(l(n.h)+t)%360;return n.h=r<0?360+r:r,f(n)}function E(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function O(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function T(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function A(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.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=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return m(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*P(this._r,255))+"%",g:l(100*P(this._g,255))+"%",b:l(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*P(this._r,255))+"%, "+l(100*P(this._g,255))+"%, "+l(100*P(this._b,255))+"%)":"rgba("+l(100*P(this._r,255))+"%, "+l(100*P(this._g,255))+"%, "+l(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";e&&(n=f(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(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:p(),g:p(),b:p()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r,o=f(e).toRgb(),i=f(t).toRgb(),a=n/100,s=2*a-1,l=i.a-o.a,c=1-(r=((r=s*l==-1?s:(s+l)/(1+s*l))+1)/2);return f({r:i.r*r+o.r*c,g:i.g*r+o.g*c,b:i.b*r+o.b*c,a:i.a*a+o.a*(1-a)})},f.readability=function(e,t){var n=f(e),r=f(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=f.readability(e,t[c]))>l&&(l=r,s=f(t[c]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var j=f.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"},R=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(j);function N(e){var t=parseFloat(e);return(isNaN(t)||t<0||t>1)&&(t=1),t}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),s.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return c(1,u(0,e))}function M(e){return parseInt(e,16)}function B(e){return 1==e.length?"0"+e:""+e}function D(e,t){return t=t||100,e<=1&&(e=e*t+"%"),e}var I,F,z,H=(F="[\\s|\\(]+("+(I="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",z="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",{rgb:new RegExp("rgb"+F),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+F),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+F),hsva:new RegExp("hsva"+z),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=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(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"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var r=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}}(),o=n(11),i=c(o),a=c(n(59)),s=c(n(342)),l=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}(n(665));function c(e){return e&&e.__esModule?e:{default:e}}var u=t.Saturation=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.props.onChange&&n.throttle(n.props.onChange,l.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,s.default)(function(e,t,n){e(t,n)},50),n}return 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)}(t,o.PureComponent||o.Component),r(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,s=t.pointer,l=t.circle,c=(0,a.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:s,circle:l}},{custom:!!this.props.style});return i.default.createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.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 "),i.default.createElement("div",{style:c.white,className:"saturation-white"},i.default.createElement("div",{style:c.black,className:"saturation-black"}),i.default.createElement("div",{style:c.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:c.circle}))))}}]),t}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var r=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}}(),o=n(11),i=l(o),a=l(n(59)),s=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}(n(667));function l(e){return e&&e.__esModule?e:{default:e}}function c(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}var u=t.Hue=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e,t){var n=s.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()},c(r,n)}return 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)}(t,o.PureComponent||o.Component),r(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,a.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 i.default.createElement("div",{style:r.hue},i.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},i.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 "),i.default.createElement("div",{style:r.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:r.slider}))))}}]),t}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var r=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}}(),o=n(11),i=s(o),a=s(n(59));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=t.EditableInput=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=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}(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(l({},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,o=Number(t.replace(/%/g,""));if(!isNaN(o)){var i=n.props.arrowOffset||1;38===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(l({},n.props.label,o+i),e):n.props.onChange&&n.props.onChange(o+i,e),r?n.setState({value:o+i+"%"}):n.setState({value:o+i})),40===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(l({},n.props.label,o-i),e):n.props.onChange&&n.props.onChange(o-i,e),r?n.setState({value:o-i+"%"}):n.setState({value:o-i}))}},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(l({},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 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)}(t,o.PureComponent||o.Component),r(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,a.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 i.default.createElement("div",{style:t.wrap},i.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?i.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.render=o,t.get=function(e,t,n,i){var a=e+"-"+t+"-"+n+(i?"-server":""),s=o(e,t,n,i);if(r[a])return r[a];return r[a]=s,s};var r={};function o(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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var r=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},o=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}}(),i=n(11),a=u(i),s=u(n(59)),l=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}(n(671)),c=u(n(522));function u(e){return e&&e.__esModule?e:{default:e}}function p(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}var f=t.Alpha=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e,t){var n=l.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)},p(r,n)}return 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)}(t,i.PureComponent||i.Component),o(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,s.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:r({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return a.default.createElement("div",{style:n.alpha},a.default.createElement("div",{style:n.checkboard},a.default.createElement(c.default,{renderers:this.props.renderers})),a.default.createElement("div",{style:n.gradient}),a.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("div",{style:n.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:n.slider}))))}}]),t}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var r,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(11),a=(r=i)&&r.__esModule?r:{default:r};function s(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}var l=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return i=l=s(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={active:!1},l.handleMouseDown=function(){return l.setState({active:!0})},l.handleMouseUp=function(){return l.setState({active:!1})},l.render=function(){return a.default.createElement(t,{onMouseDown:l.handleMouseDown,onMouseUp:l.handleMouseUp},a.default.createElement(e,o({},l.props,l.state)))},s(l,i)}return 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)}(r,a.default.Component),r}()};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var r,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(11),a=(r=i)&&r.__esModule?r:{default:r};function s(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}var l=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return i=l=s(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={hover:!1},l.handleMouseOver=function(){return l.setState({hover:!0})},l.handleMouseOut=function(){return l.setState({hover:!1})},l.render=function(){return a.default.createElement(t,{onMouseOver:l.handleMouseOver,onMouseOut:l.handleMouseOut},a.default.createElement(e,o({},l.props,l.state)))},s(l,i)}return 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)}(r,a.default.Component),r}()};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,o=n(501),i=(r=o)&&r.__esModule?r:{default:r},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};var s={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}}},l=t.autoprefix=function(e){var t={};return(0,i.default)(e,function(e,n){var r={};(0,i.default)(e,function(e,t){var n=s[t];n?r=a({},r,n(e)):r[t]=e}),t[n]=r}),t};t.default=l},function(e,t,n){var r=n(333),o=1,i=4;e.exports=function(e){return r(e,o|i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=a(n(501)),o=a(n(677)),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 a(e){return e&&e.__esModule?e:{default:e}}var s=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,o.default)(e.default)||{};return t.map(function(t){var o=e[t];return o&&(0,r.default)(o,function(e,t){n[t]||(n[t]={}),n[t]=i({},n[t],o[t])}),t}),n};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=s(n(134)),o=s(n(501)),i=s(n(361)),a=s(n(49));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,a.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,i.default)(t)?(0,o.default)(t,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,r.default)(t)&&n.push(t)}),n};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var r=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},o=l(n(11)),i=l(n(59)),a=n(143),s=l(n(661));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,s=e.width,l=e.height,c=e.onChange,u=e.direction,p=e.style,f=e.renderers,d=e.pointer,h=(0,i.default)({default:{picker:{position:"relative",width:s,height:l},alpha:{radius:"2px",style:p}}});return o.default.createElement("div",{style:h.picker,className:"alpha-picker"},o.default.createElement(a.Alpha,r({},h.alpha,{rgb:t,hsl:n,pointer:d,renderers:f,onChange:c,direction:u})))};c.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:s.default},t.default=(0,a.ColorWrap)(c)},function(e,t,n){var r=n(141),o=n(299);e.exports=function(e){return r(e,o(e))}},function(e,t,n){var r=n(523),o=n(376),i=n(375),a=n(175),s=n(374),l=n(77),c=n(13),u=n(307),p=n(85),f=n(74),d=n(29),h=n(361),g=n(95),m=n(681);e.exports=function(e,t,n,b,v,y,_){var w=e[n],x=t[n],k=_.get(x);if(k)r(e,n,k);else{var E=y?y(w,x,n+"",e,t,_):void 0,C=void 0===E;if(C){var S=c(x),O=!S&&p(x),T=!S&&!O&&g(x);E=x,S||O||T?c(w)?E=w:u(w)?E=a(w):O?(C=!1,E=o(x,!0)):T?(C=!1,E=i(x,!0)):E=[]:h(x)||l(x)?(E=w,l(w)?E=m(w):(!d(w)||b&&f(w))&&(E=s(x))):C=!1}C&&(_.set(x,E),v(E,x,b,y,_),_.delete(x)),r(e,n,E)}}},function(e,t,n){var r=n(97),o=n(523),i=n(231),a=n(682),s=n(29),l=n(299);e.exports=function e(t,n,c,u,p){t!==n&&i(n,function(i,l){if(s(i))p||(p=new r),a(t,n,l,c,e,u,p);else{var f=u?u(t[l],i,l+"",t,n,p):void 0;void 0===f&&(f=i),o(t,l,f)}},l)}},function(e,t){e.exports=function(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}},function(e,t,n){var r=n(107),o="Expected a function";e.exports=function(e,t){var n;if("function"!=typeof t)throw new TypeError(o);return e=r(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}},function(e,t,n){var r,o;!function(){function i(e){return e.replace(/\s+$/g,"")}var a=/\r\n|[\n\r\u2028\u2029]/,s=new RegExp(a.source,"g");r=[n,n(508),n(507)],void 0===(o=function(e){var t=n(508),r=n(507);return{html_beautify:function(e,n){return function(e,t,n,r){var o,l,c,u,p,f,d,h,g,m,b,v,y,_,w,x,k,E,C,S,O;for(void 0!==(t=function(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}(t=t||{},"html")).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),l=void 0!==t.indent_inner_html&&t.indent_inner_html,c=void 0===t.indent_body_inner_html||t.indent_body_inner_html,u=void 0===t.indent_head_inner_html||t.indent_head_inner_html,p=void 0===t.indent_size?4:parseInt(t.indent_size,10),f=void 0===t.indent_char?" ":t.indent_char,h=void 0===t.brace_style?"collapse":t.brace_style,d=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),g=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"],m=t.content_unformatted||["pre"],b=void 0===t.preserve_newlines||t.preserve_newlines,v=b?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,y=void 0!==t.indent_handlebars&&t.indent_handlebars,_=void 0===t.wrap_attributes?"auto":t.wrap_attributes,w=isNaN(parseInt(t.wrap_attributes_indent_size,10))?p:parseInt(t.wrap_attributes_indent_size,10),x="force"===_.substr(0,"force".length),k="force-expand-multiline"===_,E="force-aligned"===_,C=void 0!==t.end_with_newline&&t.end_with_newline,S="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(","),O=t.eol?t.eol:"auto",t.indent_with_tabs&&(f="\t",p=1),"auto"===O&&(O="\n",e&&a.test(e||"")&&(O=e.match(a)[0])),O=O.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(s,"\n"),(o=new function(){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=l,this.indent_body_inner_html=c,this.indent_head_inner_html=u,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:S,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);)b&&"\n"===e&&this.newlines<=v&&(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),y){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),!k||!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)&&"/"!==o&&!x;if(s=!1,x&&"/"!==o){var h=!1;k&&l&&(h=!(null!==r.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))),l&&!h||(this.print_newline(!1,i),this.print_indentation(i),d=!0)}if(d){c=!0;var b=w;E&&(b=i.indexOf(" ")+1);for(var v=0;v<b;v++)i.push(" ")}if(l)for(var _=0;_<i.length;_++)if(" "===i[_]){l=!1;break}}if(y&&"<"===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="<"),y&&!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(y&&i[1]&&"{"===i[1]&&i[2]&&"!"===i[2]){i=[this.get_comment(t)];break}if(y&&"{"===n&&i.length>2&&"}"===i[i.length-2]&&"}"===i[i.length-1])break}}while(">"!==o);var C,S,O=i.join("");C=-1!==O.indexOf(" ")?O.indexOf(" "):-1!==O.indexOf("\n")?O.indexOf("\n"):"{"===O.charAt(0)?O.indexOf("}"):O.indexOf(">"),S="<"!==O.charAt(0)&&y?"#"===O.charAt(2)?3:2:1;var T=O.substring(S,C).toLowerCase();return"/"===O.charAt(O.length-2)||this.Utils.in_array(T,this.Utils.single_token)?e||(this.tag_type="SINGLE"):y&&"{"===O.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,g)||this.is_unformatted(T,m)?(a=this.get_unformatted("</"+T+">",O),i.push(a),this.pos,this.tag_type="SINGLE"):"script"===T&&(-1===O.search("type")||O.search("type")>-1&&O.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===O.search("type")||O.search("type")>-1&&O.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).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(e,t){if(t&&-1!==t.toLowerCase().indexOf(e))return"";var n="",r="",o=!0,i=function(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)}}}(e);do{if(this.pos>=this.input.length)return r;if(n=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(n,this.Utils.whitespace)){if(!o){this.line_char_count--;continue}if("\n"===n||"\r"===n){r+="\n",this.line_char_count=0;continue}}r+=n,i.add(n),this.line_char_count++,o=!0,y&&"{"===n&&r.length&&"{"===r.charAt(r.length-2)&&(r+=this.get_unformatted("}}"))}while(i.doesNotMatch());return r},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"string"!=typeof(e=this.get_contents_to(t))?e:[e,"TK_"+t]}return"CONTENT"===this.current_mode?"string"!=typeof(e=this.get_content())?e:[e,"TK_CONTENT"]:"TAG"===this.current_mode?"string"!=typeof(e=this.get_tag())?e:[e,"TK_TAG_"+this.tag_type]:void 0},this.get_full_indent=function(e){return(e=this.indent_level+e||0)<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)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(n&&!this.Utils.in_array(n[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 a=0;a<this.indent_size;a++)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]=i(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=e.replace(/^\s+/g,"")),this.print_token_raw(e))},this.print_token_raw=function(e){this.newlines>0&&(e=i(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}).printer(e,f,p,d,h);;){var T=o.get_token();if(o.token_text=T[0],o.token_type=T[1],"TK_EOF"===o.token_type)break;switch(o.token_type){case"TK_TAG_START":o.print_newline(!1,o.output),o.print_token(o.token_text),o.indent_content&&(!o.indent_body_inner_html&&o.token_text.match(/<body(?:.*)>/)||!o.indent_head_inner_html&&o.token_text.match(/<head(?:.*)>/)||o.indent(),o.indent_content=!1),o.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":o.print_newline(!1,o.output),o.print_token(o.token_text),o.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===o.last_token&&""===o.last_text){var A=(o.token_text.match(/\w+/)||[])[0],j=null;o.output.length&&(j=o.output[o.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===j||j[1]!==A&&!o.Utils.in_array(j[1],g))&&o.print_newline(!1,o.output)}o.print_token(o.token_text),o.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var R=o.token_text.match(/^\s*<([a-z-]+)/i);R&&o.Utils.in_array(R[1],g)||o.print_newline(!1,o.output),o.print_token(o.token_text),o.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var N=!1,P=o.output.length-1;P>=0&&"\n"!==o.output[P];P--)if(o.output[P].match(/{{#if/)){N=!0;break}N||o.print_newline(!1,o.output),o.print_token(o.token_text),o.indent_content&&(o.indent(),o.indent_content=!1),o.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":o.print_token(o.token_text),o.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==o.token_text){o.print_newline(!1,o.output);var L,M=o.token_text,B=1;"TK_SCRIPT"===o.token_type?L="function"==typeof n&&n:"TK_STYLE"===o.token_type&&(L="function"==typeof r&&r),"keep"===t.indent_scripts?B=0:"separate"===t.indent_scripts&&(B=-o.indent_level);var D=o.get_full_indent(B);if(L){var I=function(){this.eol="\n"};I.prototype=t;var F=new I;M=L(M.replace(/^\s*/,D),F)}else{var z=M.match(/^\s*/)[0].match(/[^\n\r]*$/)[0].split(o.indent_string).length-1,H=o.get_full_indent(B-z);M=M.replace(/^\s*/,D).replace(/\r\n|\r|\n/g,"\n"+H).replace(/\s+$/,"")}M&&(o.print_token_raw(M),o.print_newline(!0,o.output))}o.current_mode="TAG";break;default:""!==o.token_text&&o.print_token(o.token_text)}o.last_token=o.token_type,o.last_text=o.token_text}var U=o.output.join("").replace(/[\r\n\t ]+$/,"");return C&&(U+="\n"),"\n"!==O&&(U=U.replace(/[\n]/g,O)),U}(e,n,t.js_beautify,r.css_beautify)}}}.apply(t,r))||(e.exports=o)}()},function(e,t,n){var r=n(350),o=n(177),i=n(404);e.exports=function(e,t,n){var a=e.length;if(a<2)return a?i(e[0]):[];for(var s=-1,l=Array(a);++s<a;)for(var c=e[s],u=-1;++u<a;)u!=s&&(l[s]=r(l[s]||c,e[u],t,n));return i(o(l,1),t,n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){}]);
1
+ this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=298)}([function(e,t){!function(){e.exports=this.lodash}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(69),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.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,n){"use strict";t.__esModule=!0;var r,o=n(92),i=(r=o)&&r.__esModule?r:{default: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,i.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,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=a(n(140)),o=a(n(110)),i=a(n(67));function a(e){return e&&e.__esModule?e:{default:e}}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,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(67),i=(r=o)&&r.__esModule?r:{default: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,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){e.exports={default:n(142),__esModule:!0}},,function(e,t){!function(){e.exports=this.React}()},,function(e,t){!function(){e.exports=this.wp.utils}()},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r;
2
  /*!
3
  Copyright (c) 2016 Jed Watson.
4
  Licensed under the MIT License (MIT), see
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
+ !function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},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(51)("wks"),o=n(38),i=n(17).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,n){"use strict";t.__esModule=!0;var r,o=n(64),i=(r=o)&&r.__esModule?r:{default: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,i.default)(e)}},function(e,t,n){var r=n(17),o=n(15),i=n(34),a=n(28),s=function(e,t,n){var l,c,u,p=e&s.F,d=e&s.G,f=e&s.S,h=e&s.P,g=e&s.B,m=e&s.W,b=d?o:o[t]||(o[t]={}),v=b.prototype,y=d?r:f?r[t]:(r[t]||{}).prototype;for(l in d&&(n=t),n)(c=!p&&y&&void 0!==y[l])&&l in b||(u=c?y[l]:n[l],b[l]=d&&"function"!=typeof y[l]?n[l]:g&&c?i(u,r):m&&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&&((b.virtual||(b.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){var r=n(25);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(21),o=n(63),i=n(54),a=Object.defineProperty;t.f=n(23)?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(31)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof 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){"use strict";t.__esModule=!0;var r,o=n(92),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(22),o=n(35);e.exports=n(23)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(58),o=n(46);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){e.exports={}},function(e,t,n){var r=n(49);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,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(62),o=n(48);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-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){var r=n(46);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(172)),o=i(n(124));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var s,l=(0,o.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=c(n(492)),o=c(n(423)),i=c(n(398)),a=c(n(397)),s=c(n(396)),l=c(n(395));function c(e){return e&&e.__esModule?e:{default:e}}t.hover=a.default,t.handleHover=a.default,t.handleActive=s.default,t.loop=l.default;var u=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),l=(0,o.default)(e,s);return(0,i.default)(l)};t.default=u},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){var r=n(22).f,o=n(29),i=n(18)("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(51)("keys"),o=n(38);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){!function(){e.exports=this.moment}()},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=!0},function(e,t,n){var r=n(17),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){var r=n(25),o=n(17).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";var r=n(86)(!0);n(66)(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(25);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,n){var r=n(43),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(21),o=n(83),i=n(48),a=n(45)("IE_PROTO"),s=function(){},l=function(){var e,t=n(52)("iframe"),r=i.length;for(t.style.display="none",n(71).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).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){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(37);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){e.exports={default:n(136),__esModule:!0}},function(e,t,n){var r=n(17),o=n(15),i=n(50),a=n(65),s=n(22).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){n(99);for(var r=n(17),o=n(28),i=n(33),a=n(18)("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){var r=n(29),o=n(30),i=n(79)(!1),a=n(45)("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){e.exports=!n(23)&&!n(31)(function(){return 7!=Object.defineProperty(n(52)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports={default:n(123),__esModule:!0}},function(e,t,n){t.f=n(18)},function(e,t,n){"use strict";var r=n(50),o=n(20),i=n(72),a=n(28),s=n(29),l=n(33),c=n(85),u=n(44),p=n(73),d=n(18)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,g,m,b,v){c(n,t,g);var y,_,w,x=function(e){if(!f&&e in O)return O[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"==m,C=!1,O=e.prototype,S=O[d]||O["@@iterator"]||m&&O[m],T=!f&&S||x(m),j=m?E?x("entries"):T:void 0,A="Array"==t&&O.entries||S;if(A&&(w=p(A.call(new e)))!==Object.prototype&&w.next&&(u(w,k,!0),r||s(w,d)||a(w,d,h)),E&&S&&"values"!==S.name&&(C=!0,T=function(){return S.call(this)}),r&&!v||!f&&!C&&O[d]||a(O,d,T),l[t]=T,l[k]=h,m)if(y={values:E?T:x("values"),keys:b?T:x("keys"),entries:j},v)for(_ in y)_ in O||i(O,_,y[_]);else o(o.P+o.F*(f||C),t,y);return y}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(102)),o=a(n(90)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){var r=n(37),o=n(18)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){e.exports={default:n(89),__esModule:!0}},function(e,t,n){var r=n(68),o=n(18)("iterator"),i=n(33);e.exports=n(15).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(17).document;e.exports=r&&r.documentElement},function(e,t,n){e.exports=n(28)},function(e,t,n){var r=n(29),o=n(39),i=n(45)("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){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(394);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return u(r).default}});var o=n(248);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return u(o).default}});var i=n(391);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return u(i).default}});var a=n(390);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return u(a).default}});var s=n(388);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return u(s).default}});var l=n(246);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return u(l).default}});var c=n(380);function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return u(c).default}})},function(e,t,n){"use strict";var r=n(49);e.exports.f=function(e){return new function(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=r(t),this.reject=r(n)}(e)}},function(e,t){},function(e,t,n){var r=n(62),o=n(48).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(43),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(30),o=n(55),i=n(78);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(33),o=n(18)("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(21);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(40),o=n(35),i=n(30),a=n(54),s=n(29),l=n(63),c=Object.getOwnPropertyDescriptor;t.f=n(23)?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(22),o=n(21),i=n(36);e.exports=n(23)?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){var r=n(18)("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){"use strict";var r=n(56),o=n(35),i=n(44),a={};n(28)(a,n(18)("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(43),o=n(46);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))<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(36),o=n(57),i=n(40),a=n(39),s=n(58),l=Object.assign;e.exports=!l||n(31)(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 d,f=s(arguments[c++]),h=u?r(f).concat(u(f)):r(f),g=h.length,m=0;g>m;)p.call(f,d=h[m++])&&(n[d]=f[d]);return n}:l},function(e,t,n){var r=n(20);r(r.S+r.F,"Object",{assign:n(87)})},function(e,t,n){n(88),e.exports=n(15).Object.assign},function(e,t,n){e.exports={default:n(109),__esModule:!0}},function(e,t,n){var r=n(38)("meta"),o=n(25),i=n(29),a=n(22).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(31)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey: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},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&p.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){e.exports={default:n(120),__esModule:!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(21),o=n(25),i=n(75);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){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,o,i,a=n(34),s=n(134),l=n(71),c=n(52),u=n(17),p=u.process,d=u.setImmediate,f=u.clearImmediate,h=u.MessageChannel,g=u.Dispatch,m=0,b={},v=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},y=function(e){v.call(e.data)};d&&f||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},f=function(e){delete b[e]},"process"==n(37)(p)?r=function(e){p.nextTick(a(v,e,1))}:g&&g.now?r=function(e){g.now(a(v,e,1))}:h?(i=(o=new h).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:d,clear:f}},function(e,t,n){var r=n(21),o=n(49),i=n(18)("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){e.exports=function(){}},function(e,t,n){"use strict";var r=n(98),o=n(93),i=n(33),a=n(30);e.exports=n(66)(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)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(34),o=n(81),i=n(80),a=n(21),s=n(55),l=n(70),c={},u={};(t=e.exports=function(e,t,n,p,d){var f,h,g,m,b=d?function(){return e}:l(e),v=r(n,p,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(i(b)){for(f=s(e.length);f>y;y++)if((m=t?v(a(h=e[y])[0],h[1]):v(e[y]))===c||m===u)return m}else for(g=b.call(e);!(h=g.next()).done;)if((m=o(g,v,h.value,t))===c||m===u)return m}).BREAK=c,t.RETURN=u},function(e,t,n){var r=n(37);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){e.exports={default:n(118),__esModule:!0}},,function(e,t,n){n(60)("observable")},function(e,t,n){n(60)("asyncIterator")},function(e,t,n){var r=n(30),o=n(77).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(36),o=n(57),i=n(40);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){"use strict";var r=n(17),o=n(29),i=n(23),a=n(20),s=n(72),l=n(91).KEY,c=n(31),u=n(51),p=n(44),d=n(38),f=n(18),h=n(65),g=n(60),m=n(107),b=n(101),v=n(21),y=n(25),_=n(30),w=n(54),x=n(35),k=n(56),E=n(106),C=n(82),O=n(22),S=n(36),T=C.f,j=O.f,A=E.f,N=r.Symbol,R=r.JSON,P=R&&R.stringify,L=f("_hidden"),M=f("toPrimitive"),B={}.propertyIsEnumerable,D=u("symbol-registry"),F=u("symbols"),I=u("op-symbols"),z=Object.prototype,H="function"==typeof N,q=r.QObject,U=!q||!q.prototype||!q.prototype.findChild,K=i&&c(function(){return 7!=k(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=T(z,t);r&&delete z[t],j(e,t,n),r&&e!==z&&j(z,t,r)}:j,V=function(e){var t=F[e]=k(N.prototype);return t._k=e,t},W=H&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},G=function(e,t,n){return e===z&&G(I,t,n),v(e),t=w(t,!0),v(n),o(F,t)?(n.enumerable?(o(e,L)&&e[L][t]&&(e[L][t]=!1),n=k(n,{enumerable:x(0,!1)})):(o(e,L)||j(e,L,x(1,{})),e[L][t]=!0),K(e,t,n)):j(e,t,n)},$=function(e,t){v(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){var t=B.call(this,e=w(e,!0));return!(this===z&&o(F,e)&&!o(I,e))&&(!(t||!o(this,e)||!o(F,e)||o(this,L)&&this[L][e])||t)},Y=function(e,t){if(e=_(e),t=w(t,!0),e!==z||!o(F,t)||o(I,t)){var n=T(e,t);return!n||!o(F,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=A(_(e)),r=[],i=0;n.length>i;)o(F,t=n[i++])||t==L||t==l||r.push(t);return r},Q=function(e){for(var t,n=e===z,r=A(n?I:_(e)),i=[],a=0;r.length>a;)!o(F,t=r[a++])||n&&!o(z,t)||i.push(F[t]);return i};H||(s((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,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)}).prototype,"toString",function(){return this._k}),C.f=Y,O.f=G,n(77).f=E.f=Z,n(40).f=X,n(57).f=Q,i&&!n(50)&&s(z,"propertyIsEnumerable",X,!0),h.f=function(e){return V(f(e))}),a(a.G+a.W+a.F*!H,{Symbol:N});for(var J="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;J.length>ee;)f(J[ee++]);for(var te=S(f.store),ne=0;te.length>ne;)g(te[ne++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(D,e+="")?D[e]:D[e]=N(e)},keyFor:function(e){if(!W(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?k(e):$(k(e),t)},defineProperty:G,defineProperties:$,getOwnPropertyDescriptor:Y,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),R&&a(a.S+a.F*(!H||c(function(){var e=N();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(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 b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!W(t))return t}),r[1]=t,P.apply(R,r)}}),N.prototype[M]||n(28)(N.prototype,M,N.prototype.valueOf),p(N,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){n(108),n(76),n(105),n(104),e.exports=n(15).Symbol},function(e,t,n){e.exports={default:n(117),__esModule:!0}},function(e,t,n){var r=n(28);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){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(20),o=n(15),i=n(31);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){var r=n(205),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";var r=n(17),o=n(15),i=n(22),a=n(23),s=n(18)("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){var r=n(20);r(r.S,"Object",{create:n(56)})},function(e,t,n){n(116);var r=n(15).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(53),n(61),e.exports=n(65).f("iterator")},function(e,t,n){var r=n(20);r(r.S+r.F*!n(23),"Object",{defineProperty:n(22).f})},function(e,t,n){n(119);var r=n(15).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){"use strict";var r=n(22),o=n(35);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(34),o=n(20),i=n(39),a=n(81),s=n(80),l=n(55),c=n(121),u=n(70);o(o.S+o.F*!n(84)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,d=i(e),f="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,m=void 0!==g,b=0,v=u(d);if(m&&(g=r(g,h>2?arguments[2]:void 0,2)),void 0==v||f==Array&&s(v))for(n=new f(t=l(d.length));t>b;b++)c(n,b,m?g(d[b],b):d[b]);else for(p=v.call(d),n=new f;!(o=p.next()).done;b++)c(n,b,m?a(p,g,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){n(53),n(122),e.exports=n(15).Array.from},function(e,t,n){e.exports={default:n(157),__esModule:!0}},function(e,t,n){"use strict";t.decode=t.parse=n(234),t.encode=t.stringify=n(233)},,function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,s=r,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<l;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===o&&(o=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(t=new Array(l),a=0;a<l;a++)t[a]=arguments[a];return s={args:t,val:e.apply(null,t)},r?(r.prev=s,s.next=r):o=s,i===n?(o=o.prev).next=null:i++,r=s,s.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},function(e,t,n){e.exports=n(183)()},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=n(20),o=n(75),i=n(95);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";var r=n(20),o=n(15),i=n(17),a=n(97),s=n(94);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){var r=n(17),o=n(96).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(37)(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 p=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),n=function(){d.data=p=!p}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},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){"use strict";var r,o,i,a,s=n(50),l=n(17),c=n(34),u=n(68),p=n(20),d=n(25),f=n(49),h=n(112),g=n(100),m=n(97),b=n(96).set,v=n(133)(),y=n(75),_=n(95),w=n(94),x=l.TypeError,k=l.process,E=l.Promise,C="process"==u(k),O=function(){},S=o=y.f,T=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(18)("species")]=function(e){e(O,O)};return(C||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof t}catch(e){}}(),j=function(e){var t;return!(!d(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,a=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&&P(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=j(n))?i.call(n,s,l):s(n)):l(r)}catch(e){l(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){b.call(l,function(){var t,n,r,o=e._v,i=R(e);if(i&&(t=_(function(){C?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=C||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},P=function(e){b.call(l,function(){var t;C?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)._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=j(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)}}};T||(E=function(e){h(this,E,"Promise","_h"),f(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}).prototype=n(111)(E.prototype,{then:function(e,t){var n=S(m(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=C?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)}),p(p.G+p.W+p.F*!T,{Promise:E}),n(44)(E,"Promise"),n(115)("Promise"),a=n(15).Promise,p(p.S+p.F*!T,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!T),"Promise",{resolve:function(e){return w(s&&this===a?E:this,e)}}),p(p.S+p.F*!(T&&n(84)(function(e){E.all(e).catch(O)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;g(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(){g(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){n(76),n(53),n(61),n(135),n(132),n(131),e.exports=n(15).Promise},function(e,t,n){var r=n(25),o=n(21),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(82).f(Object.prototype,"__proto__").set,2))(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){var r=n(20);r(r.S,"Object",{setPrototypeOf:n(137).set})},function(e,t,n){n(138),e.exports=n(15).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(139),__esModule:!0}},function(e,t,n){var r=n(39),o=n(73);n(113)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(141),e.exports=n(15).Object.getPrototypeOf},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){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],p=t[c];if(!1===(o=n?n.call(r,u,p,c):void 0)||void 0===o&&u!==p)return!1}return!0}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(19),i=(r=o)&&r.__esModule?r:{default:r};t.attributeListToReact=s,t.nodeListToReact=c,t.nodeToReact=u;var a=[].concat(["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"],["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],["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"]).reduce(function(e,t){var n=t.toLowerCase();return t!==n&&(e[n]=t),e},{});function s(e){return[].concat((0,i.default)(e)).reduce(function(e,t){var n=t.name,r=t.value,o=a[n.replace(/[-:]/,"")]||n;return"style"===o&&(r=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(";").reduce(function(e,t){var n,r=t.split(":"),o=(n=r[0]||"",n.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})).trim(),i=(r[1]||"").trim();return o&&i&&(e[o]=i),e},{})}(r)),e[o]=r,e},{})}a.class="className";var l=0;function c(e,t){return[].concat((0,i.default)(e)).reduce(function(e,n){n._domReactKey||(n._domReactKey="_domReact"+String(l++));var r=u(n,t);return Array.isArray(r)?e.push.apply(e,(0,i.default)(r)):e.push(r),e},[])}function u(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=s(e.attributes)),e._domReactKey&&(r.key=e._domReactKey),e.hasChildNodes()&&(o=c(e.childNodes,t)),t.apply(void 0,[n,r].concat((0,i.default)(o)))}},,function(e,t){!function(){e.exports=this.tinymce}()},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return a});var r=n(173);function o(e){return i("post.php",{post:e,action:"edit"})}function i(e,t){return Object(r.a)(e,t)}function a(e){var t=e.replace(new RegExp("^https?://(www.)?"),"");return t.match("^[^/]+/$")?t.replace("/",""):t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var r=i(n(383)),o=i(n(381));function i(e){return e&&e.__esModule?e:{default:e}}t.default={simpleCheckForValidColor:function(e){var t=0,n=0;return(0,r.default)(["r","g","b","a","h","s","a","v"],function(r){e[r]&&(t+=1,isNaN(e[r])||(n+=1))}),t===n&&e},toState:function(e,t){var n=e.hex?(0,o.default)(e.hex):(0,o.default)(e),r=n.toHsl(),i=n.toHsv(),a=n.toRgb(),s=n.toHex();return 0===r.s&&(r.h=t||0,i.h=t||0),{hsl:r,hex:"000000"===s&&0===a.a?"transparent":"#"+s,rgb:a,hsv:i,oldHue:e.h||t||r.h,source:e.source}},isValidHex:function(e){return(0,o.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){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(163),o=n(231),i=n(230),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(21),o=n(70);e.exports=n(15).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){n(61),n(53),e.exports=n(156)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(215);t.default=r.default},function(e,t,n){e.exports={default:n(240),__esModule:!0}},function(e,t,n){"use strict";var r=n(236),o=n(235);function i(){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}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(125);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var y=e=c.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var _=l.exec(y);if(_)return this.path=y,this.href=y,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(y);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===y.substr(0,2);!k||w&&m[w]||(y=y.substr(2),this.slashes=!0)}if(!m[w]&&(k||w&&!b[w])){for(var E,C,O=-1,S=0;S<d.length;S++){-1!==(T=y.indexOf(d[S]))&&(-1===O||T<O)&&(O=T)}-1!==(C=-1===O?y.lastIndexOf("@"):y.lastIndexOf("@",O))&&(E=y.slice(0,C),y=y.slice(C+1),this.auth=decodeURIComponent(E)),O=-1;for(S=0;S<p.length;S++){var T;-1!==(T=y.indexOf(p[S]))&&(-1===O||T<O)&&(O=T)}-1===O&&(O=y.length),this.host=y.slice(0,O),y=y.slice(O),this.parseHost(),this.hostname=this.hostname||"";var j="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!j)for(var A=this.hostname.split(/\./),N=(S=0,A.length);S<N;S++){var R=A[S];if(R&&!R.match(f)){for(var P="",L=0,M=R.length;L<M;L++)R.charCodeAt(L)>127?P+="x":P+=R[L];if(!P.match(f)){var B=A.slice(0,S),D=A.slice(S+1),F=R.match(h);F&&(B.push(F[1]),D.unshift(F[2])),D.length&&(y="/"+D.join(".")+y),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=r.toASCII(this.hostname));var I=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+I,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!g[x])for(S=0,N=u.length;S<N;S++){var H=u[S];if(-1!==y.indexOf(H)){var q=encodeURIComponent(H);q===H&&(q=escape(H)),y=y.split(H).join(q)}}var U=y.indexOf("#");-1!==U&&(this.hash=y.substr(U),y=y.slice(0,U));var K=y.indexOf("?");if(-1!==K?(this.search=y.substr(K),this.query=y.substr(K+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,K)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){I=this.pathname||"";var V=this.search||"";this.path=I+V}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var f=p[d];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[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 g=n.pathname||"",v=n.search||"";n.path=g+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||y||n.host&&e.pathname,x=w,k=n.pathname&&n.pathname.split("/")||[],E=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[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),w=w&&(""===h[0]||""===k[0])),_)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(!o.isNullOrUndefined(e.search)){if(E)n.hostname=n.host=k.shift(),(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.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],O=(n.host||e.host||k.length>1)&&("."===C||".."===C)||""===C,S=0,T=k.length;T>=0;T--)"."===(C=k[T])?k.splice(T,1):".."===C?(k.splice(T,1),S++):S&&(k.splice(T,1),S--);if(!w&&!x)for(;S--;S)k.unshift("..");!w||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),O&&"/"!==k.join("/").substr(-1)&&k.push("");var j,A=""===k[0]||k[0]&&"/"===k[0].charAt(0);E&&(n.hostname=n.host=A?"":k.length?k.shift():"",(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift()));return(w=w||n.host&&k.length)&&!A&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.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},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},,function(e,t,n){var r=n(267),o=n(483),i=n(425),a=n(127);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},function(e,t,n){var r=n(114).Symbol;e.exports=r},,function(e,t,n){"use strict";e.exports=n(187)},function(e,t,n){e.exports={default:n(188),__esModule:!0}},function(e,t,n){e.exports={default:n(191),__esModule:!0}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e){return decodeURIComponent(e.replace(/\+/g," "))}t.stringify=function(e,t){t=t||"";var n=[];for(var o in"string"!=typeof t&&(t="?"),e)r.call(e,o)&&n.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return n.length?t+n.join("&"):""},t.parse=function(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,r={};t=n.exec(e);r[o(t[1])]=o(t[2]));return r}},function(e,t,n){var r=n(470),o=n(467);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(68),o=n(18)("iterator"),i=n(33);e.exports=n(15).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){n(61),n(53),e.exports=n(170)},function(e,t,n){e.exports={default:n(171),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(5),o=n.n(r),i=n(160);n(125);function a(e,t){var n=Object(i.parse)(e,!0),r=o()({},n.query,t);return delete n.search,Object(i.format)(o()({},n,{query:r}))}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,l){if(r(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,o,i,a,s,l],p=0;(c=new Error(t.replace(/%s/g,function(){return u[p++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},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){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){var n;"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof n.closest&&(n.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},function(e,t,n){var r=n(155),o=n(184),i=n(130),a="[object Object]",s=Function.prototype,l=Object.prototype,c=s.toString,u=l.hasOwnProperty,p=c.call(Object);e.exports=function(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==p}},,function(e,t,n){var r=n(242),o=n(241);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}},,function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(175),o=n(174),i=n(182);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){var r=n(204)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(274),o=n(485),i=n(203);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){"use strict";var r=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},o="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};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,p="currentStyle",d="runtimeStyle",f="left",h="px";var g=void 0;function m(e,t){for(var n=0;n<e.length;n++)t(e[n])}function b(e){return"border-box"===g(e,"boxSizing")}"undefined"!=typeof window&&(g=window.getComputedStyle?function(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(e,t){var n=e[p]&&e[p][t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r[f],i=e[d][f];e[d][f]=e[p][f],r[f]="fontSize"===t?"1em":n||0,n=r.pixelLeft+h,r[f]=o,e[d][f]=i}return""===n?"auto":n});var v=["margin","border","padding"],y=-1,_=2,w=1;function x(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(g(e,s))||0}return r}function k(e){return null!=e&&e==e.window}var E={};function C(e,t,n){if(k(e))return"width"===t?E.viewportWidth(e):E.viewportHeight(e);if(9===e.nodeType)return"width"===t?E.docWidth(e):E.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(g(e),b(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=g(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?w:y);var s=void 0!==o||i,l=o||a;if(n===y)return s?l-x(e,["border","padding"],r):a;if(s){var c=n===_?-x(e,["border"],r):x(e,["margin"],r);return l+(n===w?0:c)}return a+x(e,v.slice(n),r)}m(["Width","Height"],function(e){E["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],E["viewport"+e](n))},E["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}});var O={position:"absolute",visibility:"hidden",display:"block"};function S(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=C.apply(void 0,n):function(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]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}(e,O,function(){t=C.apply(void 0,n)}),t}function T(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):g(e,t);for(var i in t)t.hasOwnProperty(i)&&T(e,i,t[i])}m(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);E["outer"+t]=function(t,n){return t&&S(t,e,n?0:w)};var n="width"===e?["Left","Right"]:["Top","Bottom"];E[e]=function(t,r){if(void 0===r)return t&&S(t,e,y);if(t){g(t);return b(t)&&(r+=x(t,["padding","border"],n)),T(t,e,r)}}}),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===T(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(T(e,i))||0,r[i]=o+t[i]-n[i]);T(e,r)}(e,t)},isWindow:k,each:m,css:T,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(k(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(k(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},E)},function(e,t,n){"use strict";var r=n(186);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=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;o=void 0===o||o;var d=r.isWindow(t),f=r.offset(e),h=r.outerHeight(e),g=r.outerWidth(e),m=void 0,b=void 0,v=void 0,y=void 0,_=void 0,w=void 0,x=void 0,k=void 0,E=void 0,C=void 0;d?(x=t,C=r.height(x),E=r.width(x),k={left:r.scrollLeft(x),top:r.scrollTop(x)},_={left:f.left-k.left-c,top:f.top-k.top-l},w={left:f.left+g-(k.left+E)+p,top:f.top+h-(k.top+C)+u},y=k):(m=r.offset(t),b=t.clientHeight,v=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},_={left:f.left-(m.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:f.top-(m.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},w={left:f.left+g-(m.left+v+(parseFloat(r.css(t,"borderRightWidth"))||0))+p,top:f.top+h-(m.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?r.scrollTop(t,y.top+_.top):!1===a?r.scrollTop(t,y.top+w.top):_.top<0?r.scrollTop(t,y.top+_.top):r.scrollTop(t,y.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,y.top+_.top):r.scrollTop(t,y.top+w.top)),o&&(_.left<0||w.left>0?!0===s?r.scrollLeft(t,y.left+_.left):!1===s?r.scrollLeft(t,y.left+w.left):_.left<0?r.scrollLeft(t,y.left+_.left):r.scrollLeft(t,y.left+w.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,y.left+_.left):r.scrollLeft(t,y.left+w.left)))}},function(e,t,n){var r=n(15),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){var r=n(36),o=n(30),i=n(40).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){var r=n(20),o=n(189)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){n(190),e.exports=n(15).Object.values},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return c});var r=n(59),o=n.n(r),i=n(19),a=n.n(i),s=n(0);function l(e,t,n){var r=[],o=function(e,n){r[e]=n,t(Object(s.compact)(r))};[].concat(a()(e)).forEach(function(e,i){var a,l,c;if(a=e.type,Object(s.startsWith)(a,n+"/"))return r.push({url:window.URL.createObjectURL(e)}),t(r),(l=e,c=new window.FormData,c.append("file",l,l.name||l.type.replace("/",".")),wp.apiRequest({path:"/wp/v2/media",data:c,contentType:!1,processData:!1,method:"POST"})).then(function(e){var t={id:e.id,url:e.source_url,link:e.link},n=Object(s.get)(e,["caption","raw"]);n&&(t.caption=[n]),o(i,t)},function(){o(i,null)})})}function c(e){return new o.a(function(t){var n=new window.Image;n.onload=function(){t(e)},n.src=e})}},,,function(e,t,n){var r=n(252),o=n(251);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},function(e,t,n){var r=n(197),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,n){var r=n(155),o=n(130),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(443),o=n(221),i=n(442),a=n(441),s=n(440),l=n(155),c=n(266),u=c(r),p=c(o),d=c(i),f=c(a),h=c(s),g=l;(r&&"[object DataView]"!=g(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=g(new o)||i&&"[object Promise]"!=g(i.resolve())||a&&"[object Set]"!=g(new a)||s&&"[object WeakMap]"!=g(new s))&&(g=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 d:return"[object Promise]";case f:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){var r=n(458);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(169)(Object,"create");e.exports=r},function(e,t,n){var r=n(222);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(480),o=n(479),i=n(478),a=n(477),s=n(476);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(270),o=n(227);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(143))},,,,function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,p=o.random;function d(e,t){if(e=e||"",t=t||{},e instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,l=null,p=!1,d=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(A[e])e=A[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:I(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:n?"name":"hex"};if(t=U.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=U.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(f=e.r,h=e.g,g=e.b,t={r:255*P(f,255),g:255*P(h,255),b:255*P(g,255)},p=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):K(e.h)&&K(e.s)&&K(e.v)?(r=D(e.s),s=D(e.v),t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(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]}}(e.h,r,s),p=!0,d="hsv"):K(e.h)&&K(e.s)&&K(e.l)&&(r=D(e.s),l=D(e.l),t=function(e,t,n){var r,o,i;function a(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}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),p=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,h,g;return n=R(n),{ok:p,format:e.format||d,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=s++}function f(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=c(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 h(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=c(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 g(e,t,n,r){var o=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(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 m(e,t,n,r){return[B(F(r)),B(l(e).toString(16)),B(l(t).toString(16)),B(l(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=L(n.s),d(n)}function v(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=L(n.s),d(n)}function y(e){return d(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=L(n.l),d(n)}function w(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),d(n)}function x(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=L(n.l),d(n)}function k(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function E(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function C(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function O(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function S(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function T(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),o=360/n,i=[d(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(d(r));return i}function j(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(d({h:r,s:o,v:i})),i=(i+s)%1;return a}d.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=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=R(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(n).toString(16)),B(F(r))];if(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))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*P(this._r,255))+"%",g:l(100*P(this._g,255))+"%",b:l(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*P(this._r,255))+"%, "+l(100*P(this._g,255))+"%, "+l(100*P(this._b,255))+"%)":"rgba("+l(100*P(this._r,255))+"%, "+l(100*P(this._g,255))+"%, "+l(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+m(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 d(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(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(j,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:p(),g:p(),b:p()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),i=n/100;return d({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,i=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},d.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=d.readability(e,t[c]))>l&&(l=r,s=d(t[c]));return d.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var A=d.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"},N=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(A);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return c(1,u(0,e))}function M(e){return parseInt(e,16)}function B(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function F(e){return o.round(255*parseFloat(e)).toString(16)}function I(e){return M(e)/255}var z,H,q,U=(H="[\\s|\\(]+("+(z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",q="[\\s|\\(]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",{CSS_UNIT:new RegExp(z),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+q),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+q),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+q),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})$/});function K(e){return!!U.CSS_UNIT.exec(e)}void 0!==e&&e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},,,function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]}},function(e,t,n){var r=n(212);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o: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="&nbsp;","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=r(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}},function(e,t,n){var r,o,i;
13
  /*!
14
  autosize 4.0.1
15
  license: MIT
16
  http://www.jacklmoore.com/autosize
17
+ */o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t=null,n=null,r=null,a=function(){e.clientWidth!==n&&p()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",p,!1),e.removeEventListener("keyup",p,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",p,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),o.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",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",p,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",p,!1),e.addEventListener("autosize:update",p,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:s,update:p}),"vertical"===(l=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===l.resize&&(e.style.resize="horizontal"),t="content-box"===l.boxSizing?-(parseFloat(l.paddingTop)+parseFloat(l.paddingBottom)):parseFloat(l.borderTopWidth)+parseFloat(l.borderBottomWidth),isNaN(t)&&(t=0),p()}var l;function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var r=function(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}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}}function p(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o!==t?"hidden"===n.overflowY&&(c("scroll"),u(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),u(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),r!==o){r=o;var a=i("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}function s(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return a(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=c,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=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){var o=0;for(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 s=n(12),l=n(129),c=n(214),u=n(213),p=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),o=(n.onChange,n.style),s=(n.innerRef,a(n,["onResize","maxRows","onChange","style","innerRef"])),l=e.state.lineHeight,c=e.saveDOMNodeRef,u=r&&l?l*r:null;return i({},s,{saveDOMNodeRef:c,style:u?i({},o,{maxHeight:u}):o,onChange:t.onChange})},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows&&this.updateLineHeight(),setTimeout(function(){return c(e.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=a(e,["children","saveDOMNodeRef"]);return s.createElement("textarea",i({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(){this.props.value!==this.currentValue&&this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.func},t}(s.Component);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});var o=r(n(368)),i=r(n(367)),a=r(n(366));t.Raised=o.default,t.Tile=i.default,t.Tabs=a.default},function(e,t,n){var r=n(263);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(127),o=n(197),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},function(e,t,n){var r=n(444),o=n(259),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(t){return i.call(e,t)}))}:o;e.exports=s},function(e,t,n){var r=n(466),o=n(459),i=n(457),a=n(456),s=n(455);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(169)(n(114),"Map");e.exports=r},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(202),o=n(475),i=n(474),a=n(473),s=n(472),l=n(471);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){(function(e){var r=n(205),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(176)(e))},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){(function(e){var r=n(114),o=n(487),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}).call(this,n(176)(e))},function(e,t,n){var r=n(275),o=n(269);e.exports=function(e,t){return e&&r(e,o(t))}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(163),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t,n){var r=n(155),o=n(127),i=n(130),a="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&r(e)==a}},function(e,t,n){"use strict";var r=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?i(a(e),function(a){var s=encodeURIComponent(r(a))+n;return o(e[a])?i(e[a],function(e){return s+encodeURIComponent(r(e))}).join(t):s+encodeURIComponent(r(e[a]))}).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(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 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){"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,d,f,h,g=e[u].replace(s,"%20"),m=g.indexOf(n);m>=0?(p=g.substr(0,m),d=g.substr(m+1)):(p=g,d=""),f=decodeURIComponent(p),h=decodeURIComponent(d),r(a,f)?o(a[f])?a[f].push(h):a[f]=[a[f],h]:a[f]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},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){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,c=36,u=1,p=26,d=38,f=700,h=72,g=128,m="-",b=/^xn--/,v=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,x=Math.floor,k=String.fromCharCode;function E(e){throw new RangeError(_[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function O(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(y,".")).split("."),t).join(".")}function S(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function T(e){return C(e,function(e){var t="";return e>65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)}).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?x(e/f):e>>1,e+=x(e/t);e>w*p>>1;r+=c)e=x(e/w);return x(r+(w+1)*e/(e+d))}function N(e){var t,n,r,o,i,a,s,d,f,b,v,y=[],_=e.length,w=0,k=g,C=h;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&E("not-basic"),y.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<_;){for(i=w,a=1,s=c;o>=_&&E("invalid-input"),((d=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:c)>=c||d>x((l-w)/a))&&E("overflow"),w+=d*a,!(d<(f=s<=C?u:s>=C+p?p:s-C));s+=c)a>x(l/(b=c-f))&&E("overflow"),a*=b;C=A(w-i,t=y.length+1,0==i),x(w/t)>l-k&&E("overflow"),k+=x(w/t),w%=t,y.splice(w++,0,k)}return T(y)}function R(e){var t,n,r,o,i,a,s,d,f,b,v,y,_,w,C,O=[];for(y=(e=S(e)).length,t=g,n=0,i=h,a=0;a<y;++a)(v=e[a])<128&&O.push(k(v));for(r=o=O.length,o&&O.push(m);r<y;){for(s=l,a=0;a<y;++a)(v=e[a])>=t&&v<s&&(s=v);for(s-t>x((l-n)/(_=r+1))&&E("overflow"),n+=(s-t)*_,t=s,a=0;a<y;++a)if((v=e[a])<t&&++n>l&&E("overflow"),v==t){for(d=n,f=c;!(d<(b=f<=i?u:f>=i+p?p:f-i));f+=c)C=d-b,w=c-b,O.push(k(j(b+C%w,0))),d=x(C/w);O.push(k(j(d,0))),i=A(n,_,r==o),n=0,++r}++n,++t}return O.join("")}s={version:"1.4.1",ucs2:{decode:S,encode:T},decode:N,encode:R,toASCII:function(e){return O(e,function(e){return v.test(e)?"xn--"+R(e):e})},toUnicode:function(e){return O(e,function(e){return b.test(e)?N(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return s}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(176)(e),n(143))},function(e,t,n){var r;!function(){var n=/\r\n|[\n\r\u2028\u2029]/,o=new RegExp(n.source,"g");function i(e,t){t=function(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}(t=t||{},"css"),e=e||"";var r=0,a=t.indent_size?parseInt(t.indent_size,10):4,s=t.indent_char||" ",l=void 0!==t.preserve_newlines&&t.preserve_newlines,c=void 0===t.selector_separator_newline||t.selector_separator_newline,u=void 0!==t.end_with_newline&&t.end_with_newline,p=void 0===t.newline_between_rules||t.newline_between_rules,d=void 0!==t.space_around_combinator&&t.space_around_combinator;d=d||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var f=t.eol?t.eol:"auto";t.indent_with_tabs&&(s="\t",a=1),"auto"===f&&(f="\n",e&&n.test(e||"")&&(f=e.match(n)[0])),f=f.replace(/\\r/,"\r").replace(/\\n/,"\n");var h,g=/^\s+$/,m=-1,b=0;function v(){return(h=e.charAt(++m))||""}function y(t){var n,r=m;return t&&w(),n=e.charAt(m+1)||"",m=r-1,v(),n}function _(t){for(var n=m;v();)if("\\"===h)v();else{if(-1!==t.indexOf(h))break;if("\n"===h)break}return e.substring(n,m+1)}function w(e){for(var t=0;g.test(y());)v(),"\n"===h&&e&&l&&(R.newLine(!0),t++);return r=t,t}function x(){var e="";for(h&&g.test(h)&&(e=h);g.test(v());)e+=h;return e}function k(t){var n=m;for(t="/"===y(),v();v();){if(!t&&"*"===h&&"/"===y()){v();break}if(t&&"\n"===h)return e.substring(n,m)}return e.substring(n,m)+h}function E(t){return e.substring(m-t.length,m).toLowerCase()===t}function C(){for(var t=0,n=m+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}var O=(e=e.replace(o,"\n")).match(/^[\t ]*/)[0],S=new Array(a+1).join(s),T=0,j=0;for(var A,N,R={"{":function(e){R.singleSpace(),P.push(e),w(!0)||R.newLine()},"}":function(e){e&&R.newLine(),P.push("}"),w(!0)||R.newLine()},_lastCharWhitespace:function(){return g.test(P[P.length-1])},newLine:function(e){P.length&&(e||"\n"===P[P.length-1]?P[P.length-1]===O&&P.pop():R.trim(),P.push("\n"),O&&P.push(O))},singleSpace:function(){P.length&&!R._lastCharWhitespace()&&P.push(" ")},preserveSingleSpace:function(){z&&R.singleSpace()},trim:function(){for(;R._lastCharWhitespace();)P.pop()}},P=[],L=!1,M=!1,B=!1,D="",F="";;){var I=x(),z=""!==I,H=-1!==I.indexOf("\n");if(F=D,D=h,!h)break;if("/"===h&&"*"===y()){var q=0===T;(H||q)&&R.newLine(),P.push(k()),R.newLine(),q&&R.newLine(!0)}else if("/"===h&&"/"===y())H||"{"===F||R.trim(),R.singleSpace(),P.push(k()),R.newLine();else if("@"===h)if(R.preserveSingleSpace(),"{"===y())P.push(_("}"));else{P.push(h);var U=(void 0,void 0,A=m,N=_(": ,;{}()[]/='\""),m=A-1,v(),N);U.match(/[ :]$/)&&(v(),U=_(": ").replace(/\s$/,""),P.push(U),R.singleSpace()),(U=U.replace(/\s$/,""))in i.NESTED_AT_RULE&&(j+=1,U in i.CONDITIONAL_GROUP_RULE&&(B=!0))}else"#"===h&&"{"===y()?(R.preserveSingleSpace(),P.push(_("}"))):"{"===h?"}"===y(!0)?(w(),v(),R.singleSpace(),P.push("{"),R["}"](!1),r<2&&p&&0===T&&R.newLine(!0)):(T++,O+=S,R["{"](h),B?(B=!1,L=T>j):L=T>=j):"}"===h?(T--,O=O.slice(0,-a),R["}"](!0),L=!1,M=!1,j&&j--,r<2&&p&&0===T&&R.newLine(!0)):":"===h?(w(),!L&&!B||E("&")||C()||E("(")?(E(" ")&&" "!==P[P.length-1]&&P.push(" "),":"===y()?(v(),P.push("::")):P.push(":")):(P.push(":"),M||(M=!0,R.singleSpace()))):'"'===h||"'"===h?(R.preserveSingleSpace(),P.push(_(h))):";"===h?(M=!1,P.push(h),w(!0)||R.newLine()):"("===h?E("url")?(P.push(h),w(),v()&&(")"!==h&&'"'!==h&&"'"!==h?P.push(_(")")):m--)):(b++,R.preserveSingleSpace(),P.push(h),w()):")"===h?(P.push(h),b--):","===h?(P.push(h),!w(!0)&&c&&!M&&b<1?R.newLine():R.singleSpace()):(">"===h||"+"===h||"~"===h)&&!M&&b<1?d?(R.singleSpace(),P.push(h),R.singleSpace()):(P.push(h),w(),h&&g.test(h)&&(h="")):"]"===h?P.push(h):"["===h?(R.preserveSingleSpace(),P.push(h)):"="===h?(w(),P.push("="),g.test(h)&&(h="")):(R.preserveSingleSpace(),P.push(h))}var K="";return O&&(K+=O),K+=P.join("").replace(/[\r\n\t ]+$/,""),u&&(K+="\n"),"\n"!==f&&(K=K.replace(/[\n]/g,f)),K}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},void 0===(r=function(){return{css_beautify:i}}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r;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,o,i,a={};function s(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function l(e){return e.replace(/^\s+|\s+$/g,"")}n=a,r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",o=new RegExp("["+r+"]"),i=new RegExp("["+r+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),n.newline=/[\n\r\u2028\u2029]/,n.lineBreak=new RegExp("\r\n|"+n.newline.source),n.allLineBreaks=new RegExp(n.lineBreak.source,"g"),n.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&o.test(String.fromCharCode(e)))},n.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&i.test(String.fromCharCode(e))))};var c={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},u=[c.before_newline,c.preserve_newline],p={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};var d=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)>=0&&e<n&&(o=t.charAt(e)),o},this.peekCharCode=function(e){var o=0;return e=e||0,(e+=r)>=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}},f=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 function(e,t){"use strict";var n,r,o,i,h,g,m,b,v,y,_,w,x,k=[],E="";function C(e,t){var r=0;return e&&(r=e.indentation_level,!n.just_added_newline()&&e.line_indent_level>r&&(r=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:r,line_indent_level:e?e.line_indent_level:r,start_line_index:n.get_line_number(),ternary_depth:0}}w={TK_START_EXPR:function(){z()||T(i);var e=p.Expression;if("["===i.text){if("TK_WORD"===h||")"===b.last_text)return"TK_RESERVED"===h&&s(b.last_text,o.line_starters)&&(n.space_before_token=!0),M(e),P(),L(),void(x.space_in_paren&&(n.space_before_token=!0));e=p.ArrayLiteral,B(b.mode)&&("["!==b.last_text&&(","!==b.last_text||"]"!==g&&"}"!==g)||x.keep_array_indentation||N())}else"TK_RESERVED"===h&&"for"===b.last_text?e=p.ForInitializer:"TK_RESERVED"===h&&s(b.last_text,["if","while"])&&(e=p.Conditional);";"===b.last_text||"TK_START_BLOCK"===h?N():"TK_END_EXPR"===h||"TK_START_EXPR"===h||"TK_END_BLOCK"===h||"."===b.last_text?A(i.wanted_newline):"TK_RESERVED"===h&&"("===i.text||"TK_WORD"===h||"TK_OPERATOR"===h?"TK_RESERVED"===h&&("function"===b.last_word||"typeof"===b.last_word)||"*"===b.last_text&&(s(g,["function","yield"])||b.mode===p.ObjectLiteral&&s(g,["{",","]))?x.space_after_anon_function&&(n.space_before_token=!0):"TK_RESERVED"!==h||!s(b.last_text,o.line_starters)&&"catch"!==b.last_text||x.space_before_conditional&&(n.space_before_token=!0):n.space_before_token=!0,"("===i.text&&"TK_RESERVED"===h&&"await"===b.last_word&&(n.space_before_token=!0),"("===i.text&&("TK_EQUALS"!==h&&"TK_OPERATOR"!==h||I()||A()),"("===i.text&&"TK_WORD"!==h&&"TK_RESERVED"!==h&&A(),M(e),P(),x.space_in_paren&&(n.space_before_token=!0),L()},TK_END_EXPR:function(){for(;b.mode===p.Statement;)F();T(i),b.multiline_frame&&A("]"===i.text&&B(b.mode)&&!x.keep_array_indentation),x.space_in_paren&&("TK_START_EXPR"!==h||x.space_in_empty_paren?n.space_before_token=!0:(n.trim(),n.space_before_token=!1)),"]"===i.text&&x.keep_array_indentation?(P(),F()):(F(),P()),n.remove_redundant_indentation(v),b.do_while&&v.mode===p.Conditional&&(v.mode=p.Expression,b.do_block=!1,b.do_while=!1)},TK_START_BLOCK:function(){T(i);var e=q(1),t=q(2);t&&(s(t.text,[":",","])&&s(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||s(e.text,["get","set","..."])&&s(t.type,["TK_WORD","TK_RESERVED"]))?s(g,["class","interface"])?M(p.BlockStatement):M(p.ObjectLiteral):"TK_OPERATOR"===h&&"=>"===b.last_text?M(p.BlockStatement):s(h,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===h&&s(b.last_text,["return","throw","import","default"])?M(p.ObjectLiteral):M(p.BlockStatement);var r=!e.comments_before.length&&"}"===e.text&&"function"===b.last_word&&"TK_END_EXPR"===h;if(x.brace_preserve_inline){var o=0,a=null;b.inline_frame=!0;do{if((a=q(o+=1)).wanted_newline){b.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==i))}("expand"===x.brace_style||"none"===x.brace_style&&i.wanted_newline)&&!b.inline_frame?"TK_OPERATOR"!==h&&(r||"TK_EQUALS"===h||"TK_RESERVED"===h&&H(b.last_text)&&"else"!==b.last_text)?n.space_before_token=!0:N(!1,!0):(!B(v.mode)||"TK_START_EXPR"!==h&&"TK_COMMA"!==h||(("TK_COMMA"===h||x.space_in_paren)&&(n.space_before_token=!0),("TK_COMMA"===h||"TK_START_EXPR"===h&&b.inline_frame)&&(A(),v.multiline_frame=v.multiline_frame||b.multiline_frame,b.multiline_frame=!1)),"TK_OPERATOR"!==h&&"TK_START_EXPR"!==h&&("TK_START_BLOCK"!==h||b.inline_frame?n.space_before_token=!0:N())),P(),L()},TK_END_BLOCK:function(){for(T(i);b.mode===p.Statement;)F();var e="TK_START_BLOCK"===h;b.inline_frame&&!e?n.space_before_token=!0:"expand"===x.brace_style?e||N():e||(B(b.mode)&&x.keep_array_indentation?(x.keep_array_indentation=!1,N(),x.keep_array_indentation=!0):N()),F(),P()},TK_WORD:U,TK_RESERVED:U,TK_SEMICOLON:function(){z()?n.space_before_token=!1:T(i);for(var e=q(1);!(b.mode!==p.Statement||b.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||b.do_block);)F();b.import_block&&(b.import_block=!1),P()},TK_STRING:function(){z()?n.space_before_token=!0:(T(i),"TK_RESERVED"===h||"TK_WORD"===h||b.inline_frame?n.space_before_token=!0:"TK_COMMA"===h||"TK_START_EXPR"===h||"TK_EQUALS"===h||"TK_OPERATOR"===h?I()||A():N()),P()},TK_EQUALS:function(){z()||T(i),b.declaration_statement&&(b.declaration_assignment=!0),n.space_before_token=!0,P(),n.space_before_token=!0},TK_OPERATOR:function(){var e="*"===i.text&&("TK_RESERVED"===h&&s(b.last_text,["function","yield"])||s(h,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=s(i.text,["-","+"])&&(s(h,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||s(b.last_text,o.line_starters)||","===b.last_text);if(z());else{var r=!e;T(i,r)}if("TK_RESERVED"===h&&H(b.last_text))return n.space_before_token=!0,void P();if("*"!==i.text||"TK_DOT"!==h)if("::"!==i.text){if("TK_OPERATOR"===h&&s(x.operator_position,u)&&A(),":"===i.text&&b.in_case)return b.case_body=!0,L(),P(),N(),void(b.in_case=!1);var a=!0,l=!0,d=!1;if(":"===i.text?0===b.ternary_depth?a=!1:(b.ternary_depth-=1,d=!0):"?"===i.text&&(b.ternary_depth+=1),!t&&!e&&x.preserve_newlines&&s(i.text,o.positionable_operators)){var f=":"===i.text,g=f&&d,m=f&&!d;switch(x.operator_position){case c.before_newline:return n.space_before_token=!m,P(),f&&!g||A(),void(n.space_before_token=!0);case c.after_newline:return n.space_before_token=!0,!f||g?q(1).wanted_newline?N(!1,!0):A():n.space_before_token=!1,P(),void(n.space_before_token=!0);case c.preserve_newline:return m||A(),a=!(n.just_added_newline()||m),n.space_before_token=a,P(),void(n.space_before_token=!0)}}if(e){A(),a=!1;var v=q(1);l=v&&s(v.type,["TK_WORD","TK_RESERVED"])}else"..."===i.text?(A(),a="TK_START_BLOCK"===h,l=!1):(s(i.text,["--","++","!","~"])||t)&&(a=!1,l=!1,!i.wanted_newline||"--"!==i.text&&"++"!==i.text||N(!1,!0),";"===b.last_text&&D(b.mode)&&(a=!0),"TK_RESERVED"===h?a=!0:"TK_END_EXPR"===h?a=!("]"===b.last_text&&("--"===i.text||"++"===i.text)):"TK_OPERATOR"===h&&(a=s(i.text,["--","-","++","+"])&&s(b.last_text,["--","-","++","+"]),s(i.text,["+","-"])&&s(b.last_text,["--","++"])&&(l=!0)),(b.mode!==p.BlockStatement||b.inline_frame)&&b.mode!==p.Statement||"{"!==b.last_text&&";"!==b.last_text||N());n.space_before_token=n.space_before_token||a,P(),n.space_before_token=l}else P();else P()},TK_COMMA:function(){T(i,!0),P(),n.space_before_token=!0,b.declaration_statement?(D(b.parent.mode)&&(b.declaration_assignment=!1),b.declaration_assignment?(b.declaration_assignment=!1,N(!1,!0)):x.comma_first&&A()):b.mode===p.ObjectLiteral||b.mode===p.Statement&&b.parent.mode===p.ObjectLiteral?(b.mode===p.Statement&&F(),b.inline_frame||N()):x.comma_first&&A()},TK_BLOCK_COMMENT:function(e){if(n.raw)return n.add_raw_token(i),void(i.directives&&"end"===i.directives.preserve&&(n.raw=x.test_output_raw));if(i.directives)return N(!1,e),P(),"start"===i.directives.preserve&&(n.raw=!0),void N(!1,!0);if(!a.newline.test(i.text)&&!i.wanted_newline)return n.space_before_token=!0,P(),void(n.space_before_token=!0);var t,r=function(e){for(var t=[],n=(e=e.replace(a.allLineBreaks,"\n")).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}(i.text),o=!1,s=!1,c=i.whitespace_before,u=c.length;for(N(!1,e),r.length>1&&(o=function(e,t){for(var n=0;n<e.length;n++){var r=l(e[n]);if(r.charAt(0)!==t)return!1}return!0}(r.slice(1),"*"),s=function(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}(r.slice(1),c)),P(r[0]),t=1;t<r.length;t++)N(!1,!0),o?P(" "+r[t].replace(/^\s+/g,"")):s&&r[t].length>u?P(r[t].substring(u)):n.add_token(r[t]);N(!1,e)},TK_COMMENT:function(e){i.wanted_newline?N(!1,e):n.trim(!0),n.space_before_token=!0,P(),N(!1,e)},TK_DOT:function(){z()||T(i,!0),"TK_RESERVED"===h&&H(b.last_text)?n.space_before_token=!0:A(")"===b.last_text&&x.break_chained_methods),P()},TK_UNKNOWN:function(e){P(),"\n"===i.text[i.text.length-1]&&N(!1,e)},TK_EOF:function(){for(;b.mode===p.Statement;)F();T(i)}},t=function(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}(t=t||{},"js"),x={},"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 O=t.brace_style.split(/[^a-zA-Z0-9_\-]+/);for(x.brace_style=O[0],x.brace_preserve_inline=!!O[1]&&O[1],x.indent_size=t.indent_size?parseInt(t.indent_size,10):4,x.indent_char=t.indent_char?t.indent_char:" ",x.eol=t.eol?t.eol:"auto",x.preserve_newlines=void 0===t.preserve_newlines||t.preserve_newlines,x.break_chained_methods=void 0!==t.break_chained_methods&&t.break_chained_methods,x.max_preserve_newlines=void 0===t.max_preserve_newlines?0:parseInt(t.max_preserve_newlines,10),x.space_in_paren=void 0!==t.space_in_paren&&t.space_in_paren,x.space_in_empty_paren=void 0!==t.space_in_empty_paren&&t.space_in_empty_paren,x.jslint_happy=void 0!==t.jslint_happy&&t.jslint_happy,x.space_after_anon_function=void 0!==t.space_after_anon_function&&t.space_after_anon_function,x.keep_array_indentation=void 0!==t.keep_array_indentation&&t.keep_array_indentation,x.space_before_conditional=void 0===t.space_before_conditional||t.space_before_conditional,x.unescape_strings=void 0!==t.unescape_strings&&t.unescape_strings,x.wrap_line_length=void 0===t.wrap_line_length?0:parseInt(t.wrap_line_length,10),x.e4x=void 0!==t.e4x&&t.e4x,x.end_with_newline=void 0!==t.end_with_newline&&t.end_with_newline,x.comma_first=void 0!==t.comma_first&&t.comma_first,x.operator_position=function(e){e=e||c.before_newline;var t=Object.values(c);if(!s(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}(t.operator_position),x.test_output_raw=void 0!==t.test_output_raw&&t.test_output_raw,x.jslint_happy&&(x.space_after_anon_function=!0),t.indent_with_tabs&&(x.indent_char="\t",x.indent_size=1),"auto"===x.eol&&(x.eol="\n",e&&a.lineBreak.test(e||"")&&(x.eol=e.match(a.lineBreak)[0])),x.eol=x.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),m="";x.indent_size>0;)m+=x.indent_char,x.indent_size-=1;var S=0;if(e&&e.length){for(;" "===e.charAt(S)||"\t"===e.charAt(S);)E+=e.charAt(S),S+=1;e=e.substring(S)}function T(e,t){for(var n=e.newlines,r=x.keep_array_indentation&&B(b.mode),o=i,a=0;a<e.comments_before.length;a++)T(i=e.comments_before[a],t),w[i.type](t);if(i=o,r)for(var s=0;s<n;s+=1)N(s>0,t);else if(x.max_preserve_newlines&&n>x.max_preserve_newlines&&(n=x.max_preserve_newlines),x.preserve_newlines&&e.newlines>1){N(!1,t);for(var l=1;l<n;l+=1)N(!0,t)}}h="TK_START_BLOCK",g="",(n=new function(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 function(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}}(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(){var e=n.join("\n").replace(/[\r\n\t ]+$/,"");return e},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!==p.ForInitializer&&e.mode!==p.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;var e=n[n.length-2];return e.is_empty()}return!1}}(m,E)).raw=x.test_output_raw,y=[],M(p.BlockStatement),this.beautify=function(){var t;for(o=new function(e,t){var n="\n\r\t ".split(""),r=/[0-9]/,o=/[01]/,i=/[01234567]/,c=/[0123456789abcdefABCDEF]/;this.positionable_operators="!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||".split(" ");var u=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 p,h,g,m,b,v=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),y=/([\s\S]*?)((?:\*\/)|$)/g,_=/([^\n\r\u2028\u2029]*)/g,w=/\/\* beautify( \w+[:]\w+)+ \*\//g,x=/ (\w+)[:](\w+)/g,k=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,E=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;function C(){var e,C=[];p=0,h="";var O,S=b.next();if(null===S)return["","TK_EOF"];for(O=m.length?m[m.length-1]:new f("TK_START_BLOCK","{");s(S,n);)if(a.newline.test(S)?"\n"===S&&"\r"===b.peek(-2)||(p+=1,C=[]):C.push(S),null===(S=b.next()))return["","TK_EOF"];if(C.length&&(h=C.join("")),r.test(S)||"."===S&&b.testChar(r)){var T=!0,j=!0,A=r;for("0"===S&&b.testChar(/[XxOoBb]/)?(T=!1,j=!1,A=b.testChar(/[Bb]/)?o:b.testChar(/[Oo]/)?i:c,S+=b.next()):"."===S?T=!1:(S="",b.back());b.testChar(A);)S+=b.next(),T&&"."===b.peek()&&(S+=b.next(),T=!1),j&&b.testChar(/[Ee]/)&&(S+=b.next(),b.testChar(/[+-]/)&&(S+=b.next()),j=!1,T=!1);return[S,"TK_WORD"]}if(a.isIdentifierStart(b.peekCharCode(-1))){if(b.hasNext())for(;a.isIdentifierChar(b.peekCharCode())&&(S+=b.next(),b.hasNext()););return"TK_DOT"===O.type||"TK_RESERVED"===O.type&&s(O.text,["set","get"])||!s(S,v)?[S,"TK_WORD"]:"in"===S||"of"===S?[S,"TK_OPERATOR"]:[S,"TK_RESERVED"]}if("("===S||"["===S)return[S,"TK_START_EXPR"];if(")"===S||"]"===S)return[S,"TK_END_EXPR"];if("{"===S)return[S,"TK_START_BLOCK"];if("}"===S)return[S,"TK_END_BLOCK"];if(";"===S)return[S,"TK_SEMICOLON"];if("/"===S){var N,R="";if("*"===b.peek()){b.next(),N=b.match(y);var P=function(e){if(!e.match(w))return null;var t={};x.lastIndex=0;for(var n=x.exec(e);n;)t[n[1]]=n[2],n=x.exec(e);return t}(R="/*"+N[0]);return P&&"start"===P.ignore&&(N=b.match(k),R+=N[0]),[R=R.replace(a.allLineBreaks,"\n"),"TK_BLOCK_COMMENT",P]}if("/"===b.peek())return b.next(),N=b.match(_),[R="//"+N[0],"TK_COMMENT"]}var L=/<()([-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("`"===S||"'"===S||'"'===S||("/"===S||t.e4x&&"<"===S&&b.test(L,-1))&&("TK_RESERVED"===O.type&&s(O.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===O.type&&")"===O.text&&O.parent&&"TK_RESERVED"===O.parent.type&&s(O.parent.text,["if","while","for"])||s(O.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var M=S,B=!1,D=!1;if(e=S,"/"===M)for(var F=!1;b.hasNext()&&(B||F||b.peek()!==M)&&!b.testChar(a.newline);)e+=b.peek(),B?B=!1:(B="\\"===b.peek(),"["===b.peek()?F=!0:"]"===b.peek()&&(F=!1)),b.next();else if(t.e4x&&"<"===M){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;b.back();var z="",H=b.match(L);if(H){for(var q=H[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),U=0===q.indexOf("{"),K=0;H;){var V=!!H[1],W=H[2],G=!!H[H.length-1]||"![CDATA["===W.slice(0,8);if(!G&&(W===q||U&&W.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(V?--K:++K),z+=H[0],K<=0)break;H=b.match(I)}return H||(z+=b.match(/[\s\S]*/g)[0]),[z=z.replace(a.allLineBreaks,"\n"),"TK_STRING"]}}else{var $=function(t,n,r){for(var o;b.hasNext()&&(o=b.peek(),B||o!==t&&(n||!a.newline.test(o)));)(B||n)&&a.newline.test(o)?("\r"===o&&"\n"===b.peek(1)&&(b.next(),o=b.peek()),e+="\n"):e+=o,B?("x"!==o&&"u"!==o||(D=!0),B=!1):B="\\"===o,b.next(),r&&-1!==e.indexOf(r,e.length-r.length)&&("`"===t?$("}",n,"`"):$("`",n,"${"),b.hasNext()&&(e+=b.next()))};"`"===M?$("`",!0,"${"):$(M)}if(D&&t.unescape_strings&&(e=function(e){for(var t="",n=0,r=new d(e),o=null;r.hasNext();)if((o=r.match(/([\s]|[^\\]|\\\\)+/g))&&(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}(e)),b.peek()===M&&(e+=M,b.next(),"/"===M))for(;b.hasNext()&&a.isIdentifierStart(b.peekCharCode());)e+=b.next();return[e,"TK_STRING"]}if("#"===S){if(0===m.length&&"!"===b.peek()){for(e=S;b.hasNext()&&"\n"!==S;)S=b.next(),e+=S;return[l(e)+"\n","TK_UNKNOWN"]}var X="#";if(b.hasNext()&&b.testChar(r)){do{S=b.next(),X+=S}while(b.hasNext()&&"#"!==S&&"="!==S);return"#"===S||("["===b.peek()&&"]"===b.peek(1)?(X+="[]",b.next(),b.next()):"{"===b.peek()&&"}"===b.peek(1)&&(X+="{}",b.next(),b.next())),[X,"TK_WORD"]}}if("<"===S&&("?"===b.peek()||"%"===b.peek())){b.back();var Y=b.match(E);if(Y)return[S=(S=Y[0]).replace(a.allLineBreaks,"\n"),"TK_STRING"]}if("<"===S&&b.match(/\!--/g)){for(S="\x3c!--";b.hasNext()&&!b.testChar(a.newline);)S+=b.next();return g=!0,[S,"TK_COMMENT"]}if("-"===S&&g&&b.match(/->/g))return g=!1,["--\x3e","TK_COMMENT"];if("."===S)return"."===b.peek()&&"."===b.peek(1)?[S+=b.next()+b.next(),"TK_OPERATOR"]:[S,"TK_DOT"];if(s(S,u)){for(;b.hasNext()&&s(S+b.peek(),u)&&(S+=b.next(),b.hasNext()););return","===S?[S,"TK_COMMA"]:"="===S?[S,"TK_EQUALS"]:[S,"TK_OPERATOR"]}return[S,"TK_UNKNOWN"]}this.tokenize=function(){var t,n,r;b=new d(e),g=!1,m=[];for(var o=null,i=[],a=[];!n||"TK_EOF"!==n.type;){for(r=C(),t=new f(r[1],r[0],p,h);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=r[2]),a.push(t),r=C(),t=new f(r[1],r[0],p,h);a.length&&(t.comments_before=a,a=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,i.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=i.pop()),m.push(t),n=t}return m}}(e,x,m),k=o.tokenize(),r=0,i=q();i;)w[i.type](),g=b.last_text,h=i.type,b.last_text=i.text,r+=1,i=q();return t=n.get_code(),x.end_with_newline&&(t+="\n"),"\n"!==x.eol&&(t=t.replace(/[\n]/g,x.eol)),t};var j=["break","continue","return","throw"];function A(e){if(e=void 0!==e&&e,!n.just_added_newline()){var t=x.preserve_newlines&&i.wanted_newline||e;if(s(b.last_text,o.positionable_operators)||s(i.text,o.positionable_operators)){var r=s(b.last_text,o.positionable_operators)&&s(x.operator_position,u)||s(i.text,o.positionable_operators);t=t&&r}if(t)N(!1,!0);else if(x.wrap_line_length){if("TK_RESERVED"===h&&s(b.last_text,j))return;n.current_line.get_character_count()+i.text.length+(n.space_before_token?1:0)>=x.wrap_line_length&&N(!1,!0)}}}function N(e,t){if(!t&&";"!==b.last_text&&","!==b.last_text&&"="!==b.last_text&&"TK_OPERATOR"!==h)for(var r=q(1);!(b.mode!==p.Statement||b.if_block&&r&&"TK_RESERVED"===r.type&&"else"===r.text||b.do_block);)F();n.add_new_line(e)&&(b.multiline_frame=!0)}function R(){n.just_added_newline()&&(x.keep_array_indentation&&B(b.mode)&&i.wanted_newline?(n.current_line.push(i.whitespace_before),n.space_before_token=!1):n.set_indent(b.indentation_level)&&(b.line_indent_level=b.indentation_level))}function P(e){if(n.raw)n.add_raw_token(i);else{if(x.comma_first&&"TK_COMMA"===h&&n.just_added_newline()&&","===n.previous_line.last()){var t=n.previous_line.pop();n.previous_line.is_empty()&&(n.previous_line.push(t),n.trim(!0),n.current_line.pop(),n.trim()),R(),n.add_token(","),n.space_before_token=!0}e=e||i.text,R(),n.add_token(e)}}function L(){b.indentation_level+=1}function M(e){b?(y.push(b),v=b):v=C(null,e),b=C(v,e)}function B(e){return e===p.ArrayLiteral}function D(e){return s(e,[p.Expression,p.ForInitializer,p.Conditional])}function F(){y.length>0&&(v=b,b=y.pop(),v.mode===p.Statement&&n.remove_redundant_indentation(v))}function I(){return b.parent.mode===p.ObjectLiteral&&b.mode===p.Statement&&(":"===b.last_text&&0===b.ternary_depth||"TK_RESERVED"===h&&s(b.last_text,["get","set"]))}function z(){return!!("TK_RESERVED"===h&&s(b.last_text,["var","let","const"])&&"TK_WORD"===i.type||"TK_RESERVED"===h&&"do"===b.last_text||"TK_RESERVED"===h&&s(b.last_text,["return","throw"])&&!i.wanted_newline||"TK_RESERVED"===h&&"else"===b.last_text&&("TK_RESERVED"!==i.type||"if"!==i.text||i.comments_before.length)||"TK_END_EXPR"===h&&(v.mode===p.ForInitializer||v.mode===p.Conditional)||"TK_WORD"===h&&b.mode===p.BlockStatement&&!b.in_case&&"--"!==i.text&&"++"!==i.text&&"function"!==g&&"TK_WORD"!==i.type&&"TK_RESERVED"!==i.type||b.mode===p.ObjectLiteral&&(":"===b.last_text&&0===b.ternary_depth||"TK_RESERVED"===h&&s(b.last_text,["get","set"])))&&(M(p.Statement),L(),T(i,!0),I()||A("TK_RESERVED"===i.type&&s(i.text,["do","for","if","while"])),!0)}function H(e){return s(e,["case","return","do","if","throw","else"])}function q(e){var t=r+(e||0);return t<0||t>=k.length?null:k[t]}function U(){if("TK_RESERVED"===i.type&&(s(i.text,["set","get"])&&b.mode!==p.ObjectLiteral?i.type="TK_WORD":s(i.text,["as","from"])&&!b.import_block?i.type="TK_WORD":b.mode===p.ObjectLiteral&&":"===q(1).text&&(i.type="TK_WORD")),z()?"TK_RESERVED"===h&&s(b.last_text,["var","let","const"])&&"TK_WORD"===i.type&&(b.declaration_statement=!0):!i.wanted_newline||D(b.mode)||"TK_OPERATOR"===h&&"--"!==b.last_text&&"++"!==b.last_text||"TK_EQUALS"===h||!x.preserve_newlines&&"TK_RESERVED"===h&&s(b.last_text,["var","let","const","set","get"])?T(i):(T(i),N()),b.do_block&&!b.do_while){if("TK_RESERVED"===i.type&&"while"===i.text)return n.space_before_token=!0,P(),n.space_before_token=!0,void(b.do_while=!0);N(),b.do_block=!1}if(b.if_block)if(b.else_block||"TK_RESERVED"!==i.type||"else"!==i.text){for(;b.mode===p.Statement;)F();b.if_block=!1,b.else_block=!1}else b.else_block=!0;return"TK_RESERVED"===i.type&&("case"===i.text||"default"===i.text&&b.in_case_statement)?(N(),(b.case_body||x.jslint_happy)&&(b.indentation_level>0&&(!b.parent||b.indentation_level>b.parent.indentation_level)&&(b.indentation_level-=1),b.case_body=!1),P(),b.in_case=!0,void(b.in_case_statement=!0)):("TK_COMMA"!==h&&"TK_START_EXPR"!==h&&"TK_EQUALS"!==h&&"TK_OPERATOR"!==h||I()||A(),"TK_RESERVED"===i.type&&"function"===i.text?((s(b.last_text,["}",";"])||n.just_added_newline()&&!s(b.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==h)&&(n.just_added_blankline()||i.comments_before.length||(N(),N(!0))),"TK_RESERVED"===h||"TK_WORD"===h?"TK_RESERVED"===h&&s(b.last_text,["get","set","new","return","export","async"])?n.space_before_token=!0:"TK_RESERVED"===h&&"default"===b.last_text&&"export"===g?n.space_before_token=!0:N():"TK_OPERATOR"===h||"="===b.last_text?n.space_before_token=!0:(b.multiline_frame||!D(b.mode)&&!B(b.mode))&&N(),P(),void(b.last_word=i.text)):(_="NONE","TK_END_BLOCK"===h?v.inline_frame?_="SPACE":"TK_RESERVED"===i.type&&s(i.text,["else","catch","finally","from"])?"expand"===x.brace_style||"end-expand"===x.brace_style||"none"===x.brace_style&&i.wanted_newline?_="NEWLINE":(_="SPACE",n.space_before_token=!0):_="NEWLINE":"TK_SEMICOLON"===h&&b.mode===p.BlockStatement?_="NEWLINE":"TK_SEMICOLON"===h&&D(b.mode)?_="SPACE":"TK_STRING"===h?_="NEWLINE":"TK_RESERVED"===h||"TK_WORD"===h||"*"===b.last_text&&(s(g,["function","yield"])||b.mode===p.ObjectLiteral&&s(g,["{",","]))?_="SPACE":"TK_START_BLOCK"===h?_=b.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===h&&(n.space_before_token=!0,_="NEWLINE"),"TK_RESERVED"===i.type&&s(i.text,o.line_starters)&&")"!==b.last_text&&(_=b.inline_frame||"else"===b.last_text||"export"===b.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===i.type&&s(i.text,["else","catch","finally"])?("TK_END_BLOCK"!==h||v.mode!==p.BlockStatement||"expand"===x.brace_style||"end-expand"===x.brace_style||"none"===x.brace_style&&i.wanted_newline)&&!b.inline_frame?N():(n.trim(!0),"}"!==n.current_line.last()&&N(),n.space_before_token=!0):"NEWLINE"===_?"TK_RESERVED"===h&&H(b.last_text)?n.space_before_token=!0:"TK_END_EXPR"!==h?"TK_START_EXPR"===h&&"TK_RESERVED"===i.type&&s(i.text,["var","let","const"])||":"===b.last_text||("TK_RESERVED"===i.type&&"if"===i.text&&"else"===b.last_text?n.space_before_token=!0:N()):"TK_RESERVED"===i.type&&s(i.text,o.line_starters)&&")"!==b.last_text&&N():b.multiline_frame&&B(b.mode)&&","===b.last_text&&"}"===g?N():"SPACE"===_&&(n.space_before_token=!0),P(),b.last_word=i.text,void("TK_RESERVED"===i.type&&("do"===i.text?b.do_block=!0:"if"===i.text?b.if_block=!0:"import"===i.text?b.import_block=!0:b.import_block&&"TK_RESERVED"===i.type&&"from"===i.text&&(b.import_block=!1)))))}}(e,t).beautify()}void 0===(r=function(){return{js_beautify:n}}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(39),o=n(36);n(113)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){n(239),e.exports=n(15).Object.keys},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[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(this,n(143))},,,function(e,t,n){"use strict";n.r(t),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 d}),n.d(t,"lightGreen",function(){return f}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return g}),n.d(t,"amber",function(){return m}),n.d(t,"orange",function(){return b}),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 C}),n.d(t,"white",function(){return O}),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"},d={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"},f={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"},g={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"},m={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"},b={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)"},C={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},O="#ffffff",S="#000000";t.default={red:r,pink:o,purple:i,deepPurple:a,indigo:s,blue:l,lightBlue:c,cyan:u,teal:p,green:d,lightGreen:f,lime:h,yellow:g,amber:m,orange:b,deepOrange:v,brown:y,grey:_,blueGrey:w,darkText:x,lightText:k,darkIcons:E,lightIcons:C,white:O,black:S}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var r=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},o=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}}(),i=n(12),a=c(i),s=c(n(247)),l=c(n(153));function c(e){return e&&e.__esModule?e:{default:e}}var u=t.ColorWrap=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=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}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(l.default.simpleCheckForValidColor(e)){var r=l.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(l.default.simpleCheckForValidColor(e)){var r=l.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=r({},l.default.toState(e.color,0)),t.debounce=(0,s.default)(function(e,t,n){e(t,n)},100),t}return 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)}(n,i.PureComponent||i.Component),o(n,[{key:"componentWillReceiveProps",value:function(e){this.setState(r({},l.default.toState(e.color,this.state.oldHue)))}},{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),a.default.createElement(e,r({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}();return t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t};t.default=u},function(e,t,n){var r=n(154),o=n(386),i=n(385),a="Expected a function",s=Math.max,l=Math.min;e.exports=function(e,t,n){var c,u,p,d,f,h,g=0,m=!1,b=!1,v=!0;if("function"!=typeof e)throw new TypeError(a);function y(t){var n=c,r=u;return c=u=void 0,g=t,d=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||n>=t||n<0||b&&e-g>=p}function w(){var e=o();if(_(e))return x(e);f=setTimeout(w,function(e){var n=t-(e-h);return b?l(n,p-(e-g)):n}(e))}function x(e){return f=void 0,v&&c?y(e):(c=u=void 0,d)}function k(){var e=o(),n=_(e);if(c=arguments,u=this,h=e,n){if(void 0===f)return function(e){return g=e,f=setTimeout(w,t),m?y(e):d}(h);if(b)return f=setTimeout(w,t),y(h)}return void 0===f&&(f=setTimeout(w,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,p=(b="maxWait"in n)?s(i(n.maxWait)||0,t):p,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==f&&clearTimeout(f),g=0,c=h=u=f=void 0},k.flush=function(){return void 0===f?d:x(o())},k}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var r=a(n(12)),o=a(n(42)),i=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}(n(392));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Checkboard=function(e){var t=e.white,n=e.grey,a=e.size,s=e.renderers,l=e.borderRadius,c=e.boxShadow,u=(0,o.default)({default:{grid:{borderRadius:l,boxShadow:c,absolute:"0px 0px 0px 0px",background:"url("+i.get(t,n,a,s.canvas)+") center left"}}});return r.default.createElement("div",{style:u.grid})};s.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=s},function(e,t,n){var r=n(260),o=n(184),i=n(219),a=n(259),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){var r=n(274),o=n(417),i=n(203);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(420);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(251),o=n(222),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(275),o=n(424)(r);e.exports=o},function(e,t,n){var r=n(127),o=n(218),i=n(436),a=n(433);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(255),o=n(196);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){var r=n(154);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(){return[]}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(260),o=n(127);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t,n){var r=n(261),o=n(219),i=n(185);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(114).Uint8Array;e.exports=r},function(e,t,n){var r=n(453),o=n(450),i=n(449),a=1,s=2;e.exports=function(e,t,n,l,c,u){var p=n&a,d=e.length,f=t.length;if(d!=f&&!(p&&f>d))return!1;var h=u.get(e);if(h&&u.get(t))return h==t;var g=-1,m=!0,b=n&s?new r:void 0;for(u.set(e,t),u.set(t,e);++g<d;){var v=e[g],y=t[g];if(l)var _=p?l(y,v,g,t,e,u):l(v,y,g,e,t,u);if(void 0!==_){if(_)continue;m=!1;break}if(b){if(!o(t,function(e,t){if(!i(b,t)&&(v===e||c(v,e,n,l,u)))return b.push(t)})){m=!1;break}}else if(v!==y&&!c(v,y,n,l,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},function(e,t,n){var r=n(454),o=n(130);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(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}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(268);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(155),o=n(154),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==l}},function(e,t,n){var r=n(486),o=n(226),i=n(225),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var o=typeof e;return!!(t=null==t?n:t)&&("number"==o||"symbol"!=o&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(488),o=n(130),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){var r=n(489),o=n(273),i=n(127),a=n(228),s=n(272),l=n(271),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),p=!n&&!u&&a(e),d=!n&&!u&&!p&&l(e),f=n||u||p||d,h=f?r(e.length,String):[],g=h.length;for(var m in e)!t&&!c.call(e,m)||f&&("length"==m||p&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||h.push(m);return h}},function(e,t,n){var r=n(491),o=n(185);e.exports=function(e,t){return e&&r(e,t,o)}},,,,,,,,function(e,t,n){"use strict";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 r=n(493);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return v(r).default}});var o=n(377);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return v(o).default}});var i=n(375);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return v(i).default}});var a=n(373);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return v(a).default}});var s=n(369);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return v(s).default}});var l=n(361);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return v(l).default}});var c=n(359);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return v(c).default}});var u=n(357);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return v(u).default}});var p=n(356);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return v(p).default}});var d=n(350);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return v(d).default}});var f=n(347);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return v(f).default}});var h=n(343);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return v(h).default}});var g=n(340);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return v(g).default}});var m=n(246);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return v(m).default}});var b=v(a);function v(e){return e&&e.__esModule?e:{default:e}}t.default=b.default},function(e,t,n){var r;/*! showdown v 1.7.4 - 08-09-2017 */
18
+ (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}var i={},a={},s={},l=o(!0),c="vanilla",u={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}()};function p(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",s=e[o];if("object"!=typeof s)return r.valid=!1,r.error=a+"must be an object, but "+typeof s+" given",r;if(!i.helper.isString(s.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof s.type+" given",r;var l=s.type=s.type.toLowerCase();if("language"===l&&(l=s.type="lang"),"html"===l&&(l=s.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return r.valid=!1,r.error=a+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===l){if(i.helper.isUndefined(s.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(s.filter)&&i.helper.isUndefined(s.regex))return r.valid=!1,r.error=a+l+' extensions must define either a "regex" property or a "filter" method',r;if(s.listeners){if("object"!=typeof s.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof s.listeners+" given",r;for(var c in s.listeners)if(s.listeners.hasOwnProperty(c)&&"function"!=typeof s.listeners[c])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof s.listeners[c]+" given",r}if(s.filter){if("function"!=typeof s.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof s.filter+" given",r}else if(s.regex){if(i.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",r;if(i.helper.isUndefined(s.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function d(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return l[e]=t,this},i.getOption=function(e){"use strict";return l[e]},i.getOptions=function(){"use strict";return l},i.resetOptions=function(){"use strict";l=o(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var n in c=e,t)t.hasOwnProperty(n)&&(l[n]=t[n])},i.getFlavor=function(){"use strict";return c},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=p(t,e);if(!n.valid)throw Error(n.error);s[e]=t},i.getAllExtensions=function(){"use strict";return s},i.removeExtension=function(e){"use strict";delete s[e]},i.resetExtensions=function(){"use strict";s={}},i.validateExtension=function(e){"use strict";var t=p(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.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)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=d,i.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,d)};var f=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,"")),d=new RegExp(t,c.replace(/g/g,"")),f=[];do{for(o=0;a=p.exec(e);)if(d.test(a[0]))o++||(s=(i=p.lastIndex)-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(f.push(h),!u)return f}}while(o&&(p.lastIndex=i));return f};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=f(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},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var s=f(e,n,r,o),l=e,c=s.length;if(c>0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var p=0;p<c;++p)u.push(t(e.slice(s[p].wholeMatch.start,s[p].wholeMatch.end),e.slice(s[p].match.start,s[p].match.end),e.slice(s[p].left.start,s[p].left.end),e.slice(s[p].right.start,s[p].right.end))),p<c-1&&u.push(e.slice(s[p].wholeMatch.end,s[p+1].wholeMatch.start));s[c-1].wholeMatch.end<e.length&&u.push(e.slice(s[c-1].wholeMatch.end)),l=u.join("")}return l},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.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},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.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}}),i.helper.regexes={asteriskAndDash:/([*_])/g},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=c;function d(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.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 function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=p(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=p(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var l in e[a].listeners)e[a].listeners.hasOwnProperty(l)&&f(l,e[a].listeners[l])}}function f(e,t){if(!i.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");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},l)l.hasOwnProperty(n)&&(t[n]=l[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)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,d)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return f(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[]};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,function(n){e=i.subParser("runExtension")(n,e,t,o)}),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),i.helper.forEach(r,function(n){e=i.subParser("runExtension")(n,e,t,o)}),e},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){d(e,t=t||null)},this.useExtension=function(e){d(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=u[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}}},i.subParser("anchors",function(e,t,n){"use strict";var r=function(e,r,o,a,s,l,c){if(i.helper.isUndefined(c)&&(c=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(c=n.gTitles[o])}var u='<a href="'+(a=a.replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback))+'"';return""!==c&&null!==c&&(u+=' title="'+(c=(c=c.replace(/"/g,"&quot;")).replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,a),l="";return t.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),n+'<a href="'+s+'"'+l+">"+o+"</a>"})),e=n.converter._dispatch("anchors.after",e,t,n)});var h=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)()(?=\s|$)(?!["<>])/gi,g=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]]?)(?=\s|$)(?!["<>])/gi,m=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>/gi,b=/(^|\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 a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(m,y(t))).replace(v,_(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),i.subParser("simplifiedAutoLinks",function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,y(t)):e.replace(h,y(t))).replace(b,_(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),i.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),i.subParser("blockQuotes",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("blockQuotes.before",e,t,n)).replace(/((^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,r){var o=r;return o=(o=(o=o.replace(/^[ \t]*>[ \t]?/gm,"¨0")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),o=i.subParser("githubCodeBlocks")(o,t,n),o=(o=(o=i.subParser("blockGamut")(o,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")}),i.subParser("hashBlock")("<blockquote>\n"+o+"\n</blockquote>",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),i.subParser("codeBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,r,o){var a=r,s=o,l="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),a="<pre><code>"+a+l+"</code></pre>",i.subParser("hashBlock")(a,t,n)+s})).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),i.subParser("codeSpans",function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,o,a){var s=a;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),r+"<code>"+(s=i.subParser("encodeCode")(s,t,n))+"</code>"}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),i.subParser("detab",function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n})).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),i.subParser("encodeAmpsAndAngles",function(e,t,n){"use strict";return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),i.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),i.subParser("encodeCode",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),i.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),i.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(e,r,o){var a=t.omitExtraWLInCodeBlocks?"":"\n";return o=i.subParser("encodeCode")(o,t,n),o=(o=(o=i.subParser("detab")(o,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),o="<pre><code"+(r?' class="'+r+" language-"+r+'"':"")+">"+o+a+"</code></pre>",o=i.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"})).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),i.subParser("hashBlock",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).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)}),i.subParser("hashCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(s)-1)+"C"},"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),i.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),i.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"&lt;"+t+"&gt;"}));for(var a=0;a<r.length;++a)for(var s,l=new RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),c="<"+r[a]+"\\b[^>]*>",u="</"+r[a]+">";-1!==(s=i.helper.regexIndexOf(e,l));){var p=i.helper.splitAtIndex(e,s),d=i.helper.replaceRecursiveRegExp(p[1],o,c,u,"im");if(d===p[1])break;e=p[0].concat(d)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),i.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,function(e){return r(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),i.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)}),i.subParser("hashPreCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"},"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),i.subParser("headers",function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=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=e.replace(o,function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+l(o)+'"',c="<h"+r+s+">"+a+"</h"+r+">";return i.subParser("hashBlock")(c,t,n)})).replace(a,function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+l(o)+'"',c=r+1,u="<h"+c+s+">"+a+"</h"+c+">";return i.subParser("hashBlock")(u,t,n)});var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function l(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&amp;/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}return e=e.replace(s,function(e,o,a){var s=a;t.customizedHeaderId&&(s=a.replace(/\s?\{([^{]+?)}\s*$/,""));var c=i.subParser("spanGamut")(s,t,n),u=t.noHeaderId?"":' id="'+l(a)+'"',p=r-1+o.length,d="<h"+p+u+">"+c+"</h"+p+">";return i.subParser("hashBlock")(d,t,n)}),e=n.converter._dispatch("headers.after",e,t,n)}),i.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),i.subParser("images",function(e,t,n){"use strict";function r(e,t,r,o,a,s,l,c){var u=n.gUrls,p=n.gTitles,d=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,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(p[r])||(c=p[r]),i.helper.isUndefined(d[r])||(a=d[r].width,s=d[r].height)}t=t.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback);var f='<img src="'+(o=o.replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return c&&(f+=' title="'+(c=c.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskAndDash,i.helper.escapeCharactersCallback))+'"'),a&&s&&(f+=' width="'+(a="*"===a?"auto":a)+'"',f+=' height="'+(s="*"===s?"auto":s)+'"'),f+=" />"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \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,function(e,t,n,o,i,a,s,l){return r(e,t,n,o=o.replace(/\s/g,""),i,a,0,l)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)}),i.subParser("italicsAndBold",function(e,t,n){"use strict";function r(e,r,o){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),r+e+o}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*)__\b/g,function(e,t){return r(t,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}),e=t.literalMidWordAsterisks?(e=(e=e.trim().replace(/(^| )\*{3}(\S[\s\S]*?)\*{3}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong><em>","</em></strong>"+o)})).trim().replace(/(^| )\*{2}(\S[\s\S]*?)\*{2}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong>","</strong>"+o)})).trim().replace(/(^| )\*(\S[\s\S]*?)\*([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<em>","</em>"+o)}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):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)}),i.subParser("lists",function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,function(e,r,o,s,l,c,u){u=u&&""!==u.trim();var p=i.subParser("outdent")(l,t,n),d="";return c&&t.tasklists&&(d=' 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=i.subParser("githubCodeBlocks")(p,t,n),p=i.subParser("blockGamut")(p,t,n)):(p=(p=i.subParser("lists")(p,t,n)).replace(/\n$/,""),p=(p=i.subParser("hashHTMLBlocks")(p,t,n)).replace(/\n\n+/g,"\n\n"),p=a?i.subParser("paragraphs")(p,t,n):i.subParser("spanGamut")(p,t,n)),p="<li"+d+">"+(p=p.replace("¨A",""))+"</li>\n"})).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",s="ul"===(n="ul"===n?"ol":"ul")?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=(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)})).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)}),i.subParser("outdent",function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),i.subParser("paragraphs",function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,s=0;s<a;s++){var l=r[s];l.search(/¨(K|G)(\d+)\1/g)>=0?o.push(l):l.search(/\S/)>=0&&(l=(l=i.subParser("spanGamut")(l,t,n)).replace(/^([ \t]*)/g,"<p>"),l+="</p>",o.push(l))}for(a=o.length,s=0;s<a;s++){for(var c="",u=o[s],p=!1;/¨(K|G)(\d+)\1/.test(u);){var d=RegExp.$1,f=RegExp.$2;c=(c="K"===d?n.gHtmlBlocks[f]:p?i.subParser("encodeCode")(n.ghCodeBlocks[f].text,t,n):n.ghCodeBlocks[f].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(p=!0)}o[s]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),i.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}),i.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.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)}),i.subParser("strikethrough",function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}(r)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),i.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=function(e,r,o,a,s,l,c){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),l?l+c:(c&&(n.gTitles[r]=c.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&a&&s&&(n.gDimensions[r]={width:a,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {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,r)).replace(/^ {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,r)).replace(/¨0/,"")}),i.subParser("tables",function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return"<td"+r+">"+i.subParser("spanGamut")(e,t,n)+"</td>\n"}function o(e){var o,a=e.split("\n");for(o=0;o<a.length;++o)/^ {0,3}\|/.test(a[o])&&(a[o]=a[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(a[o])&&(a[o]=a[o].replace(/\|[ \t]*$/,""));var s,l,c,u,p=a[0].split("|").map(function(e){return e.trim()}),d=a[1].split("|").map(function(e){return e.trim()}),f=[],h=[],g=[],m=[];for(a.shift(),a.shift(),o=0;o<a.length;++o)""!==a[o].trim()&&f.push(a[o].split("|").map(function(e){return e.trim()}));if(p.length<d.length)return e;for(o=0;o<d.length;++o)g.push((s=d[o],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(o=0;o<p.length;++o)i.helper.isUndefined(g[o])&&(g[o]=""),h.push((l=p[o],c=g[o],u=void 0,u="",l=l.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+l.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+c+">"+(l=i.subParser("spanGamut")(l,t,n))+"</th>\n"));for(o=0;o<f.length;++o){for(var b=[],v=0;v<h.length;++v)i.helper.isUndefined(f[o][v]),b.push(r(f[o][v],g[v]));m.push(b)}return function(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"}(h,m)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|\n( {0,3}\|.+\|\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)}),i.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).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 i}.call(t,n,t,e))||(e.exports=r)}).call(this)},function(e,t,n){var r,o;r=[n(238),n(237),n(494)],void 0===(o=function(e,t,n){return function(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}(e,t,n)}.apply(t,r))||(e.exports=o)},function(e,t,n){!function(e){"use strict";var t={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:"‌"},n=/^#[xX]([A-Fa-f0-9]+)$/,r=/^#([0-9]+)$/,o=/^([A-Za-z0-9]+)$/,i=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(n);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(r))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(o))?this.named[t[1]]:void 0}},e}(),a=/[\t\n\f ]/,s=/[A-Za-z]/,l=/\r\n?/g;function c(e){return a.test(e)}function u(e){return s.test(e)}var p=function(){function e(e,t){this.delegate=e,this.entityParser=t,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(){var e=this.peek();"<"===e?(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":u(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){var e=this.consume();"-"===e&&"-"===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();c(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();c(e)?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();c(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();c(e)?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();c(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();c(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();c(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(){var e=this.peek();">"===e?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();u(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+=function(e){return e.replace(l,"\n")}(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}(),d=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 p(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=t,e.EntityParser=i,e.EventedTokenizer=p,e.Tokenizer=d,e.tokenize=function(e,n){return new d(new i(t),n).tokenize(e)},Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(64),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){return Array.isArray(e)?e:(0,i.default)(e)}},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(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(r,Error),r.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?i(e.parts[t][0])+"-"+i(e.parts[t][1]):i(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}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(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"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function i(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"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}return"Expected "+function(e){var t,r,o,i=new Array(e.length);for(t=0;t<e.length;t++)i[t]=(o=e[t],n[o.type](o));if(i.sort(),i.length>0){for(t=1,r=1;t<i.length;t++)i[t-1]!==i[t]&&(i[r]=i[t],r++);i.length=r}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:r,parse:function(e,t){t=void 0!==t?t:{};var n,o={},i={Block_List:Z},a=Z,s={type:"any"},l=function(e,t,n){return[t,n]},c=function(e,t,n){return function(e,t,n){var r,o,i,a,s,l=[];for(e.length&&l.push(oe(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(oe(i));return n.length&&l.push(oe(n)),l}(e,t,n)},u="\x3c!--",p=V("\x3c!--",!1),d="wp:",f=V("wp:",!1),h=function(e,t){return t},g="/--\x3e",m=V("/--\x3e",!1),b=function(e,t){return{blockName:e,attrs:t,innerBlocks:[],innerHTML:""}},v=function(e,t,n){var r=function(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]}(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("")}},y="--\x3e",_=V("--\x3e",!1),w=function(e,t){return{blockName:e,attrs:t}},x="/wp:",k=V("/wp:",!1),E=function(e){return{blockName:e}},C="/",O=V("/",!1),S=function(e){return"core/"+e},T=/^[a-z]/,j=W([["a","z"]],!1,!1),A=/^[a-z0-9_\-]/,N=W([["a","z"],["0","9"],"_","-"],!1,!1),R="{",P=V("{",!1),L="}",M=V("}",!1),B="",D=function(e){return function(e){try{return JSON.parse(e)}catch(e){return null}}(e)},F=/^[ \t\r\n]/,I=W([" ","\t","\r","\n"],!1,!1),z=0,H=[{line:1,column:1}],q=0,U=[],K=0;if("startRule"in t){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=i[t.startRule]}function V(e,t){return{type:"literal",text:e,ignoreCase:t}}function W(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function G(t){var n,r=H[t];if(r)return r;for(n=t-1;!H[n];)n--;for(r={line:(r=H[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return H[t]=r,r}function $(e,t){var n=G(e),r=G(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function X(e){z<q||(z>q&&(q=z,U=[]),U.push(e))}function Y(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function Z(){var t,n,r,i,a,u,p,d,f,h;for(t=z,n=z,r=[],i=z,a=z,K++,u=Q(),K--,u===o?a=void 0:(z=a,a=o),a!==o?(e.length>z?(u=e.charAt(z),z++):(u=o,0===K&&X(s)),u!==o?i=a=[a,u]:(z=i,i=o)):(z=i,i=o);i!==o;)r.push(i),i=z,a=z,K++,u=Q(),K--,u===o?a=void 0:(z=a,a=o),a!==o?(e.length>z?(u=e.charAt(z),z++):(u=o,0===K&&X(s)),u!==o?i=a=[a,u]:(z=i,i=o)):(z=i,i=o);if((n=r!==o?e.substring(n,z):r)!==o){if(r=[],i=z,(a=Q())!==o){for(u=z,p=[],d=z,f=z,K++,h=Q(),K--,h===o?f=void 0:(z=f,f=o),f!==o?(e.length>z?(h=e.charAt(z),z++):(h=o,0===K&&X(s)),h!==o?d=f=[f,h]:(z=d,d=o)):(z=d,d=o);d!==o;)p.push(d),d=z,f=z,K++,h=Q(),K--,h===o?f=void 0:(z=f,f=o),f!==o?(e.length>z?(h=e.charAt(z),z++):(h=o,0===K&&X(s)),h!==o?d=f=[f,h]:(z=d,d=o)):(z=d,d=o);(u=p!==o?e.substring(u,z):p)!==o?i=a=l(n,a,u):(z=i,i=o)}else z=i,i=o;for(;i!==o;)if(r.push(i),i=z,(a=Q())!==o){for(u=z,p=[],d=z,f=z,K++,h=Q(),K--,h===o?f=void 0:(z=f,f=o),f!==o?(e.length>z?(h=e.charAt(z),z++):(h=o,0===K&&X(s)),h!==o?d=f=[f,h]:(z=d,d=o)):(z=d,d=o);d!==o;)p.push(d),d=z,f=z,K++,h=Q(),K--,h===o?f=void 0:(z=f,f=o),f!==o?(e.length>z?(h=e.charAt(z),z++):(h=o,0===K&&X(s)),h!==o?d=f=[f,h]:(z=d,d=o)):(z=d,d=o);(u=p!==o?e.substring(u,z):p)!==o?i=a=l(n,a,u):(z=i,i=o)}else z=i,i=o;if(r!==o){for(i=z,a=[],e.length>z?(u=e.charAt(z),z++):(u=o,0===K&&X(s));u!==o;)a.push(u),e.length>z?(u=e.charAt(z),z++):(u=o,0===K&&X(s));(i=a!==o?e.substring(i,z):a)!==o?t=n=c(n,r,i):(z=t,t=o)}else z=t,t=o}else z=t,t=o;return t}function Q(){var t;return(t=function(){var t,n,r,i,a,s;return t=z,e.substr(z,4)===u?(n=u,z+=4):(n=o,0===K&&X(p)),n!==o&&re()!==o?(e.substr(z,3)===d?(r=d,z+=3):(r=o,0===K&&X(f)),r!==o&&(i=ee())!==o&&re()!==o?(a=z,(s=ne())!==o&&re()!==o?(s=h(i,s),a=s):(z=a,a=o),a===o&&(a=null),a!==o?(e.substr(z,4)===g?(s=g,z+=4):(s=o,0===K&&X(m)),s!==o?(n=b(i,a),t=n):(z=t,t=o)):(z=t,t=o)):(z=t,t=o)):(z=t,t=o),t}())===o&&(t=function(){var t,n,r,i,a,l,c;if(t=z,(n=function(){var t,n,r,i,a,s;return t=z,e.substr(z,4)===u?(n=u,z+=4):(n=o,0===K&&X(p)),n!==o&&re()!==o?(e.substr(z,3)===d?(r=d,z+=3):(r=o,0===K&&X(f)),r!==o&&(i=ee())!==o&&re()!==o?(a=z,(s=ne())!==o&&re()!==o?(s=h(i,s),a=s):(z=a,a=o),a===o&&(a=null),a!==o?(e.substr(z,3)===y?(s=y,z+=3):(s=o,0===K&&X(_)),s!==o?(n=w(i,a),t=n):(z=t,t=o)):(z=t,t=o)):(z=t,t=o)):(z=t,t=o),t}())!==o){for(r=[],(i=Q())===o&&(i=z,a=z,l=z,K++,c=J(),K--,c===o?l=void 0:(z=l,l=o),l!==o?(e.length>z?(c=e.charAt(z),z++):(c=o,0===K&&X(s)),c!==o?a=l=[l,c]:(z=a,a=o)):(z=a,a=o),i=a!==o?e.substring(i,z):a);i!==o;)r.push(i),(i=Q())===o&&(i=z,a=z,l=z,K++,c=J(),K--,c===o?l=void 0:(z=l,l=o),l!==o?(e.length>z?(c=e.charAt(z),z++):(c=o,0===K&&X(s)),c!==o?a=l=[l,c]:(z=a,a=o)):(z=a,a=o),i=a!==o?e.substring(i,z):a);r!==o&&(i=J())!==o?(n=v(n,r,i),t=n):(z=t,t=o)}else z=t,t=o;return t}()),t}function J(){var t,n,r,i,a;return t=z,e.substr(z,4)===u?(n=u,z+=4):(n=o,0===K&&X(p)),n!==o&&re()!==o?(e.substr(z,4)===x?(r=x,z+=4):(r=o,0===K&&X(k)),r!==o&&(i=ee())!==o&&re()!==o?(e.substr(z,3)===y?(a=y,z+=3):(a=o,0===K&&X(_)),a!==o?t=n=E(i):(z=t,t=o)):(z=t,t=o)):(z=t,t=o),t}function ee(){var t,n,r;return(t=function(){var t,n,r,i,a;return t=z,n=z,(r=te())!==o?(47===e.charCodeAt(z)?(i=C,z++):(i=o,0===K&&X(O)),i!==o&&(a=te())!==o?n=r=[r,i,a]:(z=n,n=o)):(z=n,n=o),t=n!==o?e.substring(t,z):n}())===o&&(n=z,(n=(r=te())!==o?e.substring(n,z):r)!==o&&(n=S(n)),t=n),t}function te(){var t,n,r,i,a;if(t=z,n=z,T.test(e.charAt(z))?(r=e.charAt(z),z++):(r=o,0===K&&X(j)),r!==o){for(i=[],A.test(e.charAt(z))?(a=e.charAt(z),z++):(a=o,0===K&&X(N));a!==o;)i.push(a),A.test(e.charAt(z))?(a=e.charAt(z),z++):(a=o,0===K&&X(N));i!==o?n=r=[r,i]:(z=n,n=o)}else z=n,n=o;return t=n!==o?e.substring(t,z):n}function ne(){var t,n,r,i,a,l,c,u,p,d,f,h;if(z,t=z,n=z,123===e.charCodeAt(z)?(r=R,z++):(r=o,0===K&&X(P)),r!==o){for(i=[],a=z,l=z,K++,c=z,125===e.charCodeAt(z)?(u=L,z++):(u=o,0===K&&X(M)),u!==o&&(p=re())!==o&&(d=B)!==o?(47===e.charCodeAt(z)?(f=C,z++):(f=o,0===K&&X(O)),f===o&&(f=null),f!==o?(e.substr(z,3)===y?(h=y,z+=3):(h=o,0===K&&X(_)),h!==o?c=u=[u,p,d,f,h]:(z=c,c=o)):(z=c,c=o)):(z=c,c=o),K--,c===o?l=void 0:(z=l,l=o),l!==o?(e.length>z?(c=e.charAt(z),z++):(c=o,0===K&&X(s)),c!==o?a=l=[l,c]:(z=a,a=o)):(z=a,a=o);a!==o;)i.push(a),a=z,l=z,K++,c=z,125===e.charCodeAt(z)?(u=L,z++):(u=o,0===K&&X(M)),u!==o&&(p=re())!==o&&(d=B)!==o?(47===e.charCodeAt(z)?(f=C,z++):(f=o,0===K&&X(O)),f===o&&(f=null),f!==o?(e.substr(z,3)===y?(h=y,z+=3):(h=o,0===K&&X(_)),h!==o?c=u=[u,p,d,f,h]:(z=c,c=o)):(z=c,c=o)):(z=c,c=o),K--,c===o?l=void 0:(z=l,l=o),l!==o?(e.length>z?(c=e.charAt(z),z++):(c=o,0===K&&X(s)),c!==o?a=l=[l,c]:(z=a,a=o)):(z=a,a=o);i!==o?(125===e.charCodeAt(z)?(a=L,z++):(a=o,0===K&&X(M)),a!==o?n=r=[r,i,a]:(z=n,n=o)):(z=n,n=o)}else z=n,n=o;return(t=n!==o?e.substring(t,z):n)!==o&&(t=D(t)),t}function re(){var t,n;if(t=[],F.test(e.charAt(z))?(n=e.charAt(z),z++):(n=o,0===K&&X(I)),n!==o)for(;n!==o;)t.push(n),F.test(e.charAt(z))?(n=e.charAt(z),z++):(n=o,0===K&&X(I));else t=o;return t}function oe(e){return e.length&&{attrs:{},innerHTML:e}}if((n=a())!==o&&z===e.length)return n;throw n!==o&&z<e.length&&X({type:"end"}),Y(U,q<e.length?e.charAt(q):null,q<e.length?$(q,q+1):$(q,q))}}},,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.d(r,"name",function(){return Ro}),n.d(r,"settings",function(){return Po});var o={};n.d(o,"name",function(){return oi}),n.d(o,"settings",function(){return ai});var i={};n.d(i,"name",function(){return si}),n.d(i,"settings",function(){return li});var a={};n.d(a,"name",function(){return di}),n.d(a,"settings",function(){return fi});var s={};n.d(s,"name",function(){return xi}),n.d(s,"settings",function(){return ki});var l={};n.d(l,"name",function(){return Ei}),n.d(l,"settings",function(){return Ci});var c={};n.d(c,"name",function(){return Ai}),n.d(c,"settings",function(){return Ni});var u={};n.d(u,"name",function(){return Li}),n.d(u,"settings",function(){return Mi});var p={};n.d(p,"name",function(){return Ii}),n.d(p,"settings",function(){return zi});var d={};n.d(d,"name",function(){return Wi}),n.d(d,"settings",function(){return Gi});var f={};n.d(f,"name",function(){return Yi}),n.d(f,"settings",function(){return Zi});var h={};n.d(h,"name",function(){return oa}),n.d(h,"settings",function(){return ia}),n.d(h,"common",function(){return aa}),n.d(h,"others",function(){return sa});var g={};n.d(g,"name",function(){return da}),n.d(g,"settings",function(){return fa});var m={};n.d(m,"name",function(){return ha}),n.d(m,"settings",function(){return ga});var b={};n.d(b,"name",function(){return _a}),n.d(b,"settings",function(){return wa});var v={};n.d(v,"name",function(){return xa}),n.d(v,"settings",function(){return ka});var y={};n.d(y,"name",function(){return Ea}),n.d(y,"settings",function(){return Ca});var _={};n.d(_,"name",function(){return Oa}),n.d(_,"settings",function(){return Sa});var w={};n.d(w,"name",function(){return Ta}),n.d(w,"settings",function(){return ja});var x={};n.d(x,"name",function(){return Na}),n.d(x,"settings",function(){return Ra});var k={};n.d(k,"name",function(){return za}),n.d(k,"settings",function(){return Ha});var E={};n.d(E,"name",function(){return qa}),n.d(E,"settings",function(){return Ua});var C={};n.d(C,"name",function(){return Ka}),n.d(C,"settings",function(){return Va});var O={};n.d(O,"name",function(){return Wa}),n.d(O,"settings",function(){return Ga});var S={};n.d(S,"name",function(){return Qa}),n.d(S,"settings",function(){return Ja});var T={};n.d(T,"name",function(){return es}),n.d(T,"settings",function(){return ts});var j={};n.d(j,"name",function(){return ns}),n.d(j,"settings",function(){return rs});var A={};n.d(A,"name",function(){return os}),n.d(A,"settings",function(){return is});var N=n(5),R=n.n(N),P=n(16),L=n.n(P),M=n(0),B=n(2),D=n(32),F=n(3),I=Object(B.createContext)({isSelected:!0}),z=I.Consumer,H=I.Provider,q=Object(B.createHigherOrderComponent)(function(e){return function(t){return wp.element.createElement(z,null,function(n){return wp.element.createElement(e,R()({},t,{blockEditContext:n}))})}},"withBlockEditContext"),U=Object(B.createHigherOrderComponent)(function(e){return function(t){return wp.element.createElement(z,null,function(n){return n.isSelected&&wp.element.createElement(e,t)})}},"ifBlockEditSelected"),K=Object(F.createSlotFill)("BlockControls"),V=K.Fill,W=K.Slot,G=U(function(e){var t=e.controls,n=e.children;return wp.element.createElement(V,null,wp.element.createElement(F.Toolbar,{controls:t}),n)});G.Slot=W;var $=G,X=n(1),Y={alignWide:!1,colors:["#f78da7","#cf2e2e","#ff6900","#fcb900","#7bdcb5","#00d084","#8ed1fc","#0693e3","#eee","#abb8c3","#313131"],maxWidth:608,allowedBlockTypes:!0},Z=Object(B.createContext)(Y);Z.defaultSettings=Y;var Q=Z,J=function(e){return Object(B.createHigherOrderComponent)(function(t){return function(n){return wp.element.createElement(Z.Consumer,null,function(r){return wp.element.createElement(t,R()({},n,e?e(r,n):{settings:r}))})}},"withEditorSettings")},ee={left:{icon:"align-left",title:Object(X.__)("Align left")},center:{icon:"align-center",title:Object(X.__)("Align center")},right:{icon:"align-right",title:Object(X.__)("Align right")},wide:{icon:"align-wide",title:Object(X.__)("Wide width")},full:{icon:"align-full-width",title:Object(X.__)("Full width")}},te=["left","center","right","wide","full"],ne=["wide","full"];var re=J(function(e){return{wideControlsEnabled:e.alignWide}})(function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?te:r,i=e.wideControlsEnabled,a=void 0!==i&&i?o:o.filter(function(e){return-1===ne.indexOf(e)});return wp.element.createElement(F.Toolbar,{controls:a.map(function(e){return R()({},ee[e],{isActive:t===e,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r})})}),oe=n(19),ie=n.n(oe),ae=n(180),se=n.n(ae),le=n(167),ce=n.n(le),ue=[{slug:"common",title:Object(X.__)("Common Blocks")},{slug:"formatting",title:Object(X.__)("Formatting")},{slug:"layout",title:Object(X.__)("Layout Elements")},{slug:"widgets",title:Object(X.__)("Widgets")},{slug:"embed",title:Object(X.__)("Embeds")},{slug:"shared",title:Object(X.__)("Shared Blocks")}];function pe(){return ue}var de={},fe=pe(),he=void 0,ge=void 0,me={audio:"core/audio",gallery:"core/gallery",image:"core/image",quote:"core/quote",video:"core/video"};function be(e,t){if(t=R()({name:e},Object(M.get)(window._wpBlocks,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(de[e])console.error('Block "'+e+'" is already registered.');else if((t=Object(D.applyFilters)("blocks.registerBlockType",t,e))&&Object(M.isFunction)(t.save))if("edit"in t&&!Object(M.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("keywords"in t&&t.keywords.length>3)console.error('The block "'+e+'" can have a maximum of 3 keywords.');else if("category"in t)if("category"in t&&!Object(M.some)(fe,{slug:t.category}))console.error('The block "'+e+'" must have a registered category.');else if("title"in t&&""!==t.title){if("string"==typeof t.title)return t.icon||(t.icon="block-default"),de[e]=t;console.error("Block titles must be strings.")}else console.error('The block "'+e+'" must have a title.');else console.error('The block "'+e+'" must have a category.');else console.error('The "save" property must be specified and must be a valid function.');else 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");else console.error("Block names must be strings.")}function ve(e){if(de[e]){var t=de[e];return delete de[e],t}console.error('Block "'+e+'" is not registered.')}function ye(e){he=e}function _e(){return he}function we(e){ge=e}function xe(){return ge}function ke(e){var t=me[e];return t&&Ee(t)?t:null}function Ee(e){return de[e]}function Ce(){return ce()(de)}function Oe(e,t,n){var r="string"==typeof e?Ee(e):e;return Object(M.get)(r,["supports",t],n)}function Se(e,t,n){return!!Oe(e,t,n)}function Te(e){return"core/block"===e.name}function je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Ee(e),o=Object(M.reduce)(r.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:se()(),name:e,isValid:!0,attributes:o,innerBlocks:n}}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return R()({},e,{uid:se()(),attributes:R()({},e.attributes,t),innerBlocks:n||e.innerBlocks.map(function(e){return Ae(e)})})}var Ne=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return!!Pe(Le("from",n.name),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)}}(e,t))}};function Re(e){var t=Object(M.first)(e);if(!e||!t)return[];var n=e.length>1,r=t.name;if(n&&!Object(M.every)(e,{name:r}))return[];var o=Object(M.filter)(Ce(),Ne(r,n)).map(function(e){return e.name}),i=Le("to",Ee(r).name),a=Object(M.flatMap)(n?Object(M.filter)(i,"isMultiBlock"):i,function(e){return e.blocks});return Object(M.reduce)([].concat(ie()(o),ie()(a)),function(e,t){var n=Ee(t);return n&&!Object(M.includes)(e,n)&&e.push(n),e},[])}function Pe(e,t){for(var n=Object(D.createHooks)(),r=function(r){var o=e[r];t(o)&&n.addFilter("transform","transform/"+r.toString(),function(e){return e||o},o.priority)},o=0;o<e.length;o++)r(o);return n.applyFilters("transform",null)}function Le(e,t){if(void 0===t)return Object(M.flatMap)(Ce(),function(t){var n=t.name;return Le(e,n)});var n=(Ee(t)||{}).transforms;return n&&Array.isArray(n[e])?n[e].map(function(e){return R()({},e,{blockName:t})}):[]}function Me(e,t){var n=Object(M.castArray)(e),r=n.length>1,o=n[0],i=o.name;if(r&&!Object(M.every)(n,function(e){return e.name===i}))return null;var a=Le("from",t),s=Pe(Le("to",i),function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!r||e.isMultiBlock)})||Pe(a,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(i)&&(!r||e.isMultiBlock)});if(!s)return null;var l=void 0;if(l=s.isMultiBlock?s.transform(n.map(function(e){return e.attributes})):s.transform(o.attributes),!Object(M.isObjectLike)(l))return null;if((l=Object(M.castArray)(l)).some(function(e){return!Ee(e.name)}))return null;var c=Object(M.findIndex)(l,function(e){return e.name===t});return c<0?null:l.map(function(t,n){var r=R()({},t,{uid:n===c?o.uid:t.uid});return Object(D.applyFilters)("blocks.switchToBlockType.transformedBlock",r,e)})}var Be=n(41),De=n.n(Be),Fe=n(64),Ie=n.n(Fe);function ze(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,r){return n[r]=ze(e,t[r]),n},{})}}function He(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return function(e,t){for(var n=t.split("."),r=void 0;r=n.shift();){if(!(r in e))return;e=e[r]}return e}(r,t)}}var qe=n(159),Ue=n.n(qe),Ke=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function Ve(e,t){for(var n=function(e){for(var t=[],n=e,r=void 0;r=n.match(Ke);)t.push(n.slice(0,r.index)),t.push(r[0]),n=n.slice(r.index+r[0].length);return n.length&&t.push(n),t}(e),r=!1,o=Ue()(t),i=1;i<n.length;i+=2)for(var a=0;a<o.length;a++){var s=o[a];if(-1!==n[i].indexOf(s)){n[i]=n[i].replace(new RegExp(s,"g"),t[s]),r=!0;break}}return r&&(e=n.join("")),e}var We=n(288),Ge=n(287),$e=n.n(Ge),Xe=n(286),Ye=n(166),Ze=n.n(Ye),Qe=n(285),Je=n(146),et=n.n(Je),tt=n(10),nt=n.n(tt),rt=n(7),ot=n.n(rt),it=n(6),at=n.n(it),st=n(9),lt=n.n(st),ct=n(8),ut=n.n(ct),pt=function(e){function t(){return ot()(this,t),lt()(this,(t.__proto__||nt()(t)).apply(this,arguments))}return ut()(t,e),at()(t,[{key:"getChildContext",value:function(){var e=this.props.innerBlocks;return{BlockContent:function(){var t=yt(e);return wp.element.createElement(B.RawHTML,null,t)}}}},{key:"render",value:function(){return this.props.children}}]),t}(B.Component);pt.childContextTypes={BlockContent:function(){}};var dt=pt;function ft(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(D.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function ht(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=e.save;if(r.prototype instanceof B.Component){var o=new r({attributes:t});r=o.render.bind(o)}var i=r({attributes:t,innerBlocks:n});if(Object(M.isObject)(i)&&Object(D.hasFilter)("blocks.getSaveContent.extraProps")){var a=Object(D.applyFilters)("blocks.getSaveContent.extraProps",R()({},i.props),e,t);et()(a,i.props)||(i=Object(B.cloneElement)(i,a))}return i=Object(D.applyFilters)("blocks.getSaveElement",i,e,t),wp.element.createElement(dt,{innerBlocks:n},i)}function gt(e,t,n){return Object(B.renderToString)(ht(e,t,n))}function mt(e){var t,n=Ee(e.name),r=e.originalContent;if(e.isValid||e.innerBlocks.length)try{r=gt(n,e.attributes,e.innerBlocks)}catch(e){}return _e()!==e.name&&r?(t=r,Object(Qe.html)(t,{indent_inner_html:!0,wrap_line_length:0})):r}function bt(e,t,n){var r,o=Object(M.isEmpty)(t)?"":(r=t,Ze()(r).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026")+" "),i=Object(M.startsWith)(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:"+i+" "+o+"--\x3e\n"+n+"\n\x3c!-- /wp:"+i+" --\x3e":"\x3c!-- wp:"+i+" "+o+"/--\x3e"}function vt(e){var t=e.name,n=Ee(t),r=mt(e),o=function(e,t){return Object(M.reduce)(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)},{})}(e.attributes,n);switch(t){case _e():return r;default:return bt(t,o,r)}}function yt(e){return Object(M.castArray)(e).map(vt).join("\n\n")}var _t=/[\t\n\r\v\f ]+/g,wt=/^[\t\n\r\v\f ]*$/,xt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,kt=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],Et=[].concat(kt,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),Ct=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)}}();function Ot(e){return e.trim().split(_t)}function St(e){return Ot(e).join(" ")}function Tt(e){return e.attributes.filter(function(e){var t=De()(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||Object(M.includes)(Et,n)})}function jt(e,t){var n=M.isEqual.apply(void 0,ie()([e.chars,t.chars].map(St)));return n||Ct.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),n}function At(e){var t=e.replace(/;?\s*$/,"").split(";").map(function(e){var t=e.split(":"),n=$e()(t),r=n[0],o=n.slice(1).join(":");return[r.trim(),function(e){return e.replace(xt,"url($1)")}(o.trim())]});return Object(M.fromPairs)(t)}var Nt=R()({class:function(e,t){return!M.xor.apply(void 0,ie()([e,t].map(Ot))).length},style:function(e,t){return M.isEqual.apply(void 0,ie()([e,t].map(At)))}},Object(M.fromPairs)(kt.map(function(e){return[e,M.stubTrue]})));var Rt={StartTag:function(e,t){return e.tagName!==t.tagName?(Ct.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t){if(e.length!==t.length)return Ct.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(M.fromPairs),r=De()(n,2),o=r[0],i=r[1];for(var a in o){if(!i.hasOwnProperty(a))return Ct.warning("Encountered unexpected attribute `%s`.",a),!1;var s=o[a],l=i[a],c=Nt[a];if(c){if(!c(s,l))return Ct.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}else if(s!==l)return Ct.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}return!0}.apply(void 0,ie()([e,t].map(Tt)))},Chars:jt,Comment:jt};function Pt(e){for(var t=void 0;t=e.shift();){if("Chars"!==t.type)return t;if(!wt.test(t.chars))return t}}function Lt(e,t,n){var r=void 0;try{r=gt(t,n)}catch(e){return Ct.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),!1}var o=function(e,t){for(var n=[e,t].map(Xe.tokenize),r=De()(n,2),o=r[0],i=r[1],a=void 0,s=void 0;a=Pt(o);){if(!(s=Pt(i)))return Ct.warning("Expected end of content, instead saw %o.",a),!1;if(a.type!==s.type)return Ct.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",s.type,s,a.type,a),!1;var l=Rt[a.type];if(l&&!l(a,s))return!1}return!(s=Pt(i))||(Ct.warning("Expected %o, instead saw end of content.",s),!1)}(e,r);return o||Ct.error("Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s",t.name,t,r,e),o}var Mt=n(149),Bt=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Object(Mt.nodeListToReact)(n.childNodes||[],B.createElement):[]}},Dt=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),Object(Mt.nodeToReact)(n,B.createElement)}};function Ft(e){switch(e.source){case"attribute":return function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=He(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}(e.selector,e.attribute);case"property":return He(e.selector,e.property);case"html":return He(e.selector,"innerHTML");case"text":return function(e){return He(e,"textContent")}(e.selector);case"children":return Bt(e.selector);case"node":return Dt(e.selector);case"query":var t=Object(M.mapValues)(e.query,Ft);return function(e,t){return function(n){var r=n.querySelectorAll(e);return[].map.call(r,function(e){return ze(e,t)})}}(e.selector,t);default:console.error('Unknown source type "'+e.source+'"')}}function It(e,t){return ze(e,Ft(t))}function zt(e,t,n,r){var o=void 0;switch(t.source){case void 0:o=r?r[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":o=It(n,t)}return void 0===o?t.default:function(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:Ie()(e);case"integer":case"number":return Number(e)}return e}(o,t.type)}function Ht(e,t,n){return Object(M.mapValues)(e.attributes,function(e,r){return zt(r,e,t,n)})}function qt(e){var t=e.blockName,n=e.attrs,r=e.innerBlocks,o=void 0===r?[]:r,i=e.innerHTML;n=n||{},i=i.trim(),"core/text"!==(t=t||_e())&&"core/cover-text"!==t||(t="core/paragraph");var a=Ee(t),s=_e();if(t===s&&(i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var r=e.split("</pre>"),o=r.pop();e="";for(var i=0;i<r.length;i++){var a=r[i],s=a.indexOf("<pre");if(-1!==s){var l="<pre wp-pre-tag-"+i+"></pre>";n.push([l,a.substr(s)+"</pre>"]),e+=a.substr(0,s)+l}else e+=a}e+=o}var c="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=Ve(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+c+"[s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+c+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var u=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",u.forEach(function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>s*(</?"+c+"[^>]*>)s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>s*(</?"+c+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+c+"[^>]*>)s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")})).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,function(e,t){return t?e:"<br />\n"})).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+c+"[^>]*>)s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach(function(t){var n=De()(t,2),r=n[0],o=n[1];e=e.replace(r,o)}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}(i).trim()),a||(t&&(i=bt(t,n,i)),a=Ee(t=s)),o=o.map(qt),a&&(i||t!==s)){var l=je(t,Ht(a,i,n),o);if(t!==s&&(l.isValid=Lt(i,a,l.attributes)),l.originalContent=i,!l.isValid){var c=function(e,t,n,r){if(e.deprecated&&e.deprecated.length)for(var o=0;o<e.deprecated.length;o++){var i=R()({},Object(M.omit)(e,["attributes","save","supports"]),e.deprecated[o]);try{var a=Ht(i,t,n);if(Lt(t,i,a)){var s=i.migrate&&i.migrate(a,r);if(s){var l=Object(M.castArray)(s),c=De()(l,2),u=c[0],p=c[1];return{attributes:u,innerBlocks:void 0===p?r:p}}return{attributes:a,innerBlocks:r}}}catch(e){}}}(a,i,n,l.innerBlocks);c&&(l.isValid=!0,l.attributes=c.attributes,l.innerBlocks=c.innerBlocks||[])}return l}}function Ut(e){return Object(We.parse)(e).reduce(function(e,t){var n=qt(t);return n&&e.push(n),e},[])}var Kt=Ut,Vt=n(284),Wt=n.n(Vt),Gt=window.Node,$t=Gt.ELEMENT_NODE,Xt=Gt.TEXT_NODE,Yt=[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]],Zt={strong:{},em:{},del:{},ins:{},a:{attributes:["href"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{}},Qt={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone"]},iframe:{attributes:["src","allowfullscreen","height","width"]}},Jt={figcaption:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},p:{},li:{children:["ul","ol","li"]},pre:{},td:{},th:{}},en=R()({},Zt,Jt,Qt,{figure:{},blockquote:{},hr:{},ul:{},ol:{attributes:["type"]},table:{},thead:{},tfoot:{},tbody:{},tr:{}});function tn(e){return!function(e){return en.hasOwnProperty(e.nodeName.toLowerCase())}(e)}function nn(e,t){var n=e.nodeName.toLowerCase();return Zt.hasOwnProperty(n)||function(e,t){return!(!t||!e)&&Yt.some(function(n){return Object(M.includes)(n,e)&&Object(M.includes)(n,t)})}(n,t)}function rn(e){return!!nn(e)&&(!!e.hasChildNodes()&&Ie()(e.childNodes).some(function(e){return e.nodeType===$t&&(!nn(e)||rn(e))}))}function on(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function an(e){return!e.hasChildNodes()||Ie()(e.childNodes).every(function(e){return e.nodeType===Xt?!e.nodeValue.trim():e.nodeType!==$t||("BR"===e.nodeName||!e.hasAttributes()&&an(e))})}function sn(e,t,n){Ie()(e).forEach(function(e){sn(e.childNodes,t,n),t.forEach(function(t){n.contains(e)&&t(e,n)})})}function ln(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,sn(n.body.childNodes,t,n),n.body.innerHTML}var cn=window.Node,un=cn.ELEMENT_NODE,pn=cn.TEXT_NODE,dn=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),r=t.body,o=n.body;for(r.innerHTML=e;r.firstChild;){var i=r.firstChild;i.nodeType===pn?i.nodeValue.trim()?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(document.createElement("P")),o.lastChild.appendChild(i)):r.removeChild(i):i.nodeType===un?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(o.appendChild(document.createElement("P")),r.removeChild(i.nextSibling)),o.lastChild&&"P"===o.lastChild.nodeName&&o.lastChild.hasChildNodes()?o.lastChild.appendChild(i):r.removeChild(i)):"P"===i.nodeName?an(i)?r.removeChild(i):o.appendChild(i):nn(i)?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(document.createElement("P")),o.lastChild.appendChild(i)):o.appendChild(i):r.removeChild(i)}return o.innerHTML},fn=window.Node.ELEMENT_NODE,hn=function(e){if(e.nodeType===fn&&e.hasAttributes()){var t=e.nodeName.toLowerCase();Ie()(e.attributes).forEach(function(n){var r=n.name;"class"===r||function(e,t){return en[e]&&en[e].attributes&&-1!==en[e].attributes.indexOf(t)}(t,r)||e.removeAttribute(r)});var n=e.getAttribute("class");if(n){var r=n.split(" ").filter(function(e){return e&&function(e,t){return en[e]&&en[e].classes&&-1!==en[e].classes.indexOf(t)}(t,e)}).join(" ");r.length?e.setAttribute("class",r):e.removeAttribute("class")}}},gn=n(14),mn=window.Node.COMMENT_NODE,bn=function(e){if(e.nodeType===mn)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var t=e.nodeValue.slice(4).trim(),n=e,r=!1;n=n.nextSibling;)if(n.nodeType===mn&&"noteaser"===n.nodeValue){r=!0,Object(gn.remove)(n);break}Object(gn.replace)(e,function(e,t){var n=document.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(t,r))}}else Object(gn.replace)(e,function(){var e=document.createElement("wp-block");return e.dataset.block="core/nextpage",e}())};var vn=window.Node.COMMENT_NODE,yn=function(e){e.nodeType===vn&&e.parentNode.removeChild(e)},_n=window.Node.ELEMENT_NODE;var wn=function(e,t){return function(n){if(n.nodeType===_n&&e(n)){var r=t&&t(n);r&&n.appendChild(r),function(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}(n)}}},xn=function(e,t){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;var r=Ie()(n.body.children);return!r.some(on)&&function e(t,n){return t.every(function(t){return("SPAN"===t.nodeName||nn(t,n))&&e(Ie()(t.children),n)})}(r,t)};var kn=window.Node.ELEMENT_NODE;function En(e,t){for(var n=document.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e)}var Cn=function(e){if(e.nodeType===kn){if("SPAN"===e.nodeName){var t=e.style.fontWeight,n=e.style.fontStyle;"bold"===t||"700"===t?En(e,"strong"):"italic"===n&&En(e,"em")}"B"===e.nodeName&&En(e,"strong"),"I"===e.nodeName&&En(e,"em")}},On=window.parseInt,Sn=window.Node.ELEMENT_NODE;function Tn(e){return"OL"===e.nodeName||"UL"===e.nodeName}var jn=function(e){if(e.nodeType===Sn&&"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 r=On(n[1],10)-1||0,o=e.previousElementSibling;if(!o||!Tn(o)){var i=e.textContent.trim().slice(0,1),a=/[1iIaA]/.test(i),s=document.createElement(a?"ol":"ul");a&&s.setAttribute("type",i),e.parentNode.insertBefore(s,e)}var l=e.previousElementSibling,c=l.nodeName,u=document.createElement("li"),p=l;for(e.removeChild(e.firstElementChild);e.firstChild;)u.appendChild(e.firstChild);for(;r--;)Tn(p=p.lastElementChild||p)&&(p=p.lastElementChild||p);Tn(p)||(p=p.appendChild(document.createElement(c))),p.appendChild(u),e.parentNode.removeChild(e)}}}},An=window.Node.ELEMENT_NODE;var Nn=function(e){if(e.nodeType===An){var t=e.nodeName;if("OL"===t||"UL"===t){var n=e,r=e.previousElementSibling;r&&r.nodeName===t&&1===n.children.length&&(r.appendChild(n.firstChild),n.parentNode.removeChild(n));var o,i=e.parentNode;if(i&&"LI"===i.nodeName&&1===i.children.length&&!/\S/.test((o=i,[].concat(ie()(o.childNodes)).map(function(e){var t=e.nodeValue;return void 0===t?"":t}).join("")))){var a=i,s=a.previousElementSibling,l=a.parentNode;s?(s.appendChild(n),l.removeChild(a)):(l.parentNode.insertBefore(n,l),l.parentNode.removeChild(l))}}}},Rn=window,Pn=Rn.atob,Ln=Rn.Blob,Mn=window.Node.ELEMENT_NODE,Bn=function(e){if(e.nodeType===Mn&&"IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t=e.src.split(","),n=De()(t,2),r=n[0],o=n[1],i=r.slice(5).split(";"),a=De()(i,1)[0];if(!o||!a)return void(e.src="");var s=void 0;try{s=Pn(o)}catch(t){return void(e.src="")}for(var l=new Uint8Array(s.length),c=0;c<l.length;c++)l[c]=s.charCodeAt(c);var u=new Ln([l],{type:a});e.src=Object(gn.createBlobURL)(u)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}},Dn=window.Node.ELEMENT_NODE,Fn=function(e){e.nodeType===Dn&&"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=dn(e.innerHTML))},In=window.Node.TEXT_NODE,zn=function(e){if(e.nodeType===In){var t=e.parentNode;-1!==["TR","TBODY","THEAD","TFOOT","TABLE"].indexOf(t.nodeName)&&t.removeChild(e)}},Hn=window.Node.ELEMENT_NODE,qn=function(e,t){e.nodeType===Hn&&function(e){return Jt.hasOwnProperty(e.nodeName.toLowerCase())}(e)&&sn(e.childNodes,[wn(function(t){return!nn(t)&&!function(e,t){var n=e.nodeName.toLowerCase(),r=t.nodeName.toLowerCase();return en[n]&&en[n].children&&-1!==en[n].children.indexOf(r)}(e,t)},function(e){return e.nextElementSibling&&t.createElement("BR")})],t)},Un=window.Node.ELEMENT_NODE,Kn=function(e){if(e.nodeType===Un&&function(e){return Qt.hasOwnProperty(e.nodeName.toLowerCase())}(e)){var t=e;"IMG"===e.nodeName&&1===e.parentNode.childNodes.length&&"A"===e.parentNode.nodeName&&(t=e.parentNode);for(var n=t;n&&"P"!==n.nodeName;)n=n.parentElement;n&&n.parentNode.insertBefore(t,n)}},Vn=window.wp.shortcode;var Wn=function e(t){var n=Pe(Le("from"),function(e){return"shortcode"===e.type&&Object(M.some)(Object(M.castArray)(e.tag),function(e){return Vn.regexp(e).test(t)})});if(!n)return[t];var r,o=Object(M.castArray)(n.tag),i=Object(M.first)(o),a=0;if(r=Vn.next(i,t,a)){a=r.index+r.content.length;var s=Object(M.mapValues)(Object(M.pickBy)(n.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(r.shortcode.attrs,r)}),l=je(n.blockName,Ht(R()({},Ee(n.blockName),{attributes:n.attributes}),r.shortcode.content,s));return[t.substr(0,r.index),l].concat(ie()(e(t.substr(r.index+r.content.length))))}return[t]},Gn=function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,function(e,t,n,r){return t+"\n"+n+"\n"+r})};function $n(e){var t=e.HTML,n=e.plainText,r=void 0===n?"":n,o=e.mode,i=void 0===o?"AUTO":o,a=e.tagName,s=e.canUserUseUnfilteredHTML,l=void 0!==s&&s;if(t=t.replace(/<meta[^>]+>/,""),"INLINE"!==i&&-1!==t.indexOf("\x3c!-- wp:"))return Ut(t);if(r&&function(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=t.querySelectorAll("br");return Ie()(n).forEach(function(e){e.parentNode.replaceChild(document.createTextNode("\n"),e)}),t.body.normalize(),1===t.body.childNodes.length&&t.body.firstChild.nodeType===Xt}(t)){var c=new Wt.a.Converter;c.setOption("noHeaderId",!0),c.setOption("tables",!0),c.setOption("literalMidWordUnderscores",!0),c.setOption("omitExtraWLInCodeBlocks",!0),c.setOption("simpleLineBreaks",!0),r=Gn(r),t=c.makeHtml(r),"AUTO"===i&&-1===r.indexOf("\n")&&0!==r.indexOf("<p>")&&0===t.indexOf("<p>")&&(i="INLINE")}var u=Wn(t),p=u.length>1,d="AUTO"===i&&xn(t,a)&&!p;return"INLINE"===i||d?(t=ln(t,[Cn,hn,bn,yn,wn(function(e){return!nn(e,a)})]),window.console.log("Processed inline HTML:\n\n",t),t):u.reduce(function(e,t){if("string"!=typeof t)return[].concat(ie()(e),[t]);t=ln(t=ln(t=ln(t,[jn]),Object(M.compact)([Nn,Bn,Cn,hn,bn,yn,!l&&wn(function(e){return"IFRAME"===e.nodeName}),Kn,wn(tn),Fn,zn,qn])),[wn(rn)]),t=dn(t),window.console.log("Processed HTML piece:\n\n",t);var n=document.implementation.createHTMLDocument("");n.body.innerHTML=t;var r=Le("from"),o=Ie()(n.body.children).map(function(e){var t=Pe(r,function(t){return"raw"===t.type&&t.isMatch(e)});return t?t.transform?t.transform(e):je(t.blockName,Ht(Ee(t.blockName),e.outerHTML)):je(_e(),{content:e.outerHTML})});return[].concat(ie()(e),ie()(o))},[])}function Xn(e){var t=xe();if(e.name!==t)return!1;var n=je(t),r=Object(D.applyFilters)("blocks.isUnmodifiedDefaultBlock.attributes",[].concat(ie()(Object(M.keys)(n.attributes)),ie()(Object(M.keys)(e.attributes))));return Object(M.every)(r,function(t){return Object(M.isEqual)(n.attributes[t],e.attributes[t])})}function Yn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(M.every)(t,function(t,n){var r=De()(t,3),o=r[0],i=r[2],a=e[n];return o===a.name&&Yn(a.innerBlocks,i)})}function Zn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(M.map)(t,function(t,n){var r=De()(t,3),o=r[0],i=r[1],a=r[2],s=e[n];if(s&&s.name===o){var l=Zn(s.innerBlocks,a);return R()({},s,{innerBlocks:l})}return je(o,i,Zn([],a))})}function Qn(e){var t=Oe(e,"align");if(Array.isArray(t))return t;var n=[];return!0===t&&(n.push("left","center","right"),Se(e,"wideAlign",!0)&&n.push("wide","full")),n}var Jn=Object(B.createHigherOrderComponent)(function(e){return function(t){var n=Qn(t.name);return[n.length>0&&t.isSelected&&wp.element.createElement($,{key:"align-controls"},wp.element.createElement(re,{value:t.attributes.align,onChange:function(e){return t.setAttributes({align:e})},controls:n})),wp.element.createElement(e,R()({key:"edit"},t))]}},"withToolbarControls"),er=Object(B.createHigherOrderComponent)(function(e){return function(t){var n=t.block.attributes.align,r=Qn(t.block.name),o=t.wrapperProps;return Object(M.includes)(r,n)&&(o=R()({},o,{"data-align":n})),wp.element.createElement(e,R()({},t,{wrapperProps:o}))}},"withAlign");Object(D.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Se(e,"align")&&(e.attributes=Object(M.assign)(e.attributes,{align:{type:"string"}})),e}),Object(D.addFilter)("editor.BlockListBlock","core/align/withAlign",er),Object(D.addFilter)("blocks.BlockEdit","core/align/withToolbarControls",Jn),Object(D.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",function(e,t,n){var r=n.align;return Object(M.includes)(Qn(t),r)&&(e.className=L()("align"+r,e.className)),e});var tr=Object(F.createSlotFill)("InspectorAdvancedControls"),nr=tr.Fill,rr=tr.Slot,or=U(nr);or.Slot=rr;var ir=or,ar=/[\s#]/g;var sr=Object(B.createHigherOrderComponent)(function(e){return function(t){return Se(t.name,"anchor")&&t.isSelected?wp.element.createElement(B.Fragment,null,wp.element.createElement(e,t),wp.element.createElement(ir,null,wp.element.createElement(F.TextControl,{label:Object(X.__)("HTML Anchor"),help:Object(X.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(ar,"-"),t.setAttributes({anchor:e})}}))):wp.element.createElement(e,t)}},"withInspectorControl");Object(D.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Se(e,"anchor")&&(e.attributes=Object(M.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(D.addFilter)("blocks.BlockEdit","core/anchor/inspector-control",sr),Object(D.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Se(t,"anchor")&&(e.id=n.anchor),e});var lr=Object(B.createHigherOrderComponent)(function(e){return function(t){return Se(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(B.Fragment,null,wp.element.createElement(e,t),wp.element.createElement(ir,null,wp.element.createElement(F.TextControl,{label:Object(X.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))):wp.element.createElement(e,t)}},"withInspectorControl");Object(D.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Se(e,"customClassName",!0)&&(e.attributes=Object(M.assign)(e.attributes,{className:{type:"string"}})),e}),Object(D.addFilter)("blocks.BlockEdit","core/custom-class-name/inspector-control",lr),Object(D.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",function(e,t,n){return Se(t,"customClassName",!0)&&n.className&&(e.className=L()(e.className,n.className)),e});n(628);var cr=n(59),ur=n.n(cr);function pr(e){var t=e.icon;return"string"==typeof t?wp.element.createElement(F.Dashicon,{icon:t}):"function"==typeof t?t.prototype instanceof B.Component?Object(B.createElement)(t):t():t||null}var dr={name:"blocks",className:"blocks-autocompleters__block",triggerPrefix:"/",options:Object(M.once)(function(){return ur.a.resolve(Object(M.sortBy)(Ce(),function(e){return"common"!==e.category}))}),getOptionKeywords:function(e){var t=e.title,n=e.keywords,r=void 0===n?[]:n;return[].concat(ie()(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[wp.element.createElement(pr,{key:"icon",icon:t}),n]},allowContext:function(e,t){return!(/\S/.test(e.toString())||/\S/.test(t.toString()))},getOptionCompletion:function(e){return{action:"replace",value:je(e.name)}}},fr=[{name:"users",className:"blocks-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),wp.apiRequest({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[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)]},allowNode:function(){return!0},getOptionCompletion:function(e){return"@"+e.slug}}];Object(D.addFilter)("blocks.Autocomplete.completers","blocks/autocompleters/set-default-completers",function(e){return e||(e=fr.map(M.clone)),e}),Object(D.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return Se(t,"className",!0)&&("string"==typeof e.className?e.className=Object(M.uniq)([ft(t.name)].concat(ie()(e.className.split(" ")))).join(" ").trim():e.className=ft(t.name)),e}),Object(D.addFilter)("blocks.registerBlockType","core/layout/attribute",function(e){return e.attributes=Object(M.assign)(e.attributes,{layout:{type:"string"}}),e}),Object(D.addFilter)("blocks.getSaveContent.extraProps","core/layout/save-props",function(e,t,n){var r=n.layout;return r&&(e.className=Object(M.compact)([e.className,"layout-"+r]).join(" ")),e}),Object(D.addFilter)("blocks.switchToBlockType.transformedBlock","core/layout/preserve-layout",function(e,t){var n=Object(M.get)(t,[0,"attributes","layout"]);return e.attributes.layout=n,e}),Object(D.addFilter)("blocks.isUnmodifiedDefaultBlock.attributes","core/layout/exclude-layout-attribute-check",function(e){return Object(M.without)(e,"layout")});var hr=n(27),gr=n.n(hr),mr=(n(627),n(626),[{icon:"editor-alignleft",title:Object(X.__)("Align left"),align:"left"},{icon:"editor-aligncenter",title:Object(X.__)("Align center"),align:"center"},{icon:"editor-alignright",title:Object(X.__)("Align right"),align:"right"}]);function br(e){var t=e.value,n=e.onChange;return wp.element.createElement(F.Toolbar,{controls:mr.map(function(e){var r=e.align,o=t===r;return R()({},e,{isActive:o,onClick:function(e){return function(){return n(t===e?void 0:e)}}(r)})})})}n(67),n(177);var vr=n(4),yr=(n(625),[]);var _r,wr=(_r=F.Autocomplete,function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).call(this));return e.state={completers:yr},e.saveParentRef=e.saveParentRef.bind(e),e.onFocus=e.onFocus.bind(e),e}return ut()(t,e),at()(t,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props.completers,t=e;Object(D.hasFilter)("blocks.Autocomplete.completers")&&(e=Object(D.applyFilters)("blocks.Autocomplete.completers",e&&e.map(M.clone))),this.setState({lastFilteredCompletersProp:t,completers:e||yr})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var e=this.state.completers,t=R()({},this.props,{completers:e});return wp.element.createElement("div",{onFocus:this.onFocus,ref:this.saveParentRef},wp.element.createElement(_r,R()({onFocus:this.onFocus},t)))}}]),t}(B.Component)),xr=Object(F.createSlotFill)("BlockFormatControls"),kr=xr.Fill,Er=xr.Slot,Cr=U(kr);Cr.Slot=Er;var Or=Cr,Sr=(n(624),n(165)),Tr=n.n(Sr),jr=n(168),Ar=gn.keycodes.UP,Nr=gn.keycodes.DOWN,Rr=gn.keycodes.ENTER,Pr=function(e){return e.stopPropagation()},Lr=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(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=Object(M.throttle)(e.updateSuggestions.bind(e),200),e.suggestionNodes=[],e.state={posts:[],showSuggestions:!1,selectedSuggestion:null},e}return ut()(t,e),at()(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;this.suggestionsRequest&&this.suggestionsRequest.abort(),e.length<2?this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1}):(this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0}),this.suggestionsRequest=wp.apiRequest({path:"/wp/v2/posts?"+Object(jr.stringify)({search:e,per_page:20,orderby:"relevance"})}),this.suggestionsRequest.then(function(e){t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(X.sprintf)(Object(X._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(X.__)("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 Ar:e.stopPropagation(),e.preventDefault();var o=n?n-1:r.length-1;this.setState({selectedSuggestion:o});break;case Nr:e.stopPropagation(),e.preventDefault();var i=null===n||n===r.length-1?0:n+1;this.setState({selectedSuggestion:i});break;case Rr: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,Tr()(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=void 0===n?"":n,o=t.instanceId,i=this.state,a=i.showSuggestions,s=i.posts,l=i.selectedSuggestion,c=i.loading;return wp.element.createElement("div",{className:"blocks-url-input"},wp.element.createElement("input",{autoFocus:!0,type:"text","aria-label":Object(X.__)("URL"),required:!0,value:r,onChange:this.onChange,onInput:Pr,placeholder:Object(X.__)("Paste URL or type"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":a,"aria-autocomplete":"list","aria-owns":"blocks-url-input-suggestions-"+o,"aria-activedescendant":null!==l?"blocks-url-input-suggestion-"+o+"-"+l:void 0}),c&&wp.element.createElement(F.Spinner,null),a&&!!s.length&&wp.element.createElement("div",{id:"blocks-url-input-suggestions-"+o,tabIndex:"-1",className:"blocks-url-input__suggestions",ref:this.bindListNode,role:"listbox"},s.map(function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",id:"blocks-url-input-suggestion-"+o+"-"+n,ref:e.bindSuggestionNode(n),className:L()("blocks-url-input__suggestion",{"is-selected":n===l}),onClick:function(){return e.selectLink(t.link)},"aria-selected":n===l},Object(gn.decodeEntities)(t.title.rendered)||Object(X.__)("(no title)"))})))}}]),t}(B.Component),Mr=Object(F.withSpokenMessages)(Object(F.withInstanceId)(Lr)),Br=n(152),Dr=gn.keycodes.ESCAPE,Fr=gn.keycodes.LEFT,Ir=gn.keycodes.RIGHT,zr=gn.keycodes.UP,Hr=gn.keycodes.DOWN,qr=gn.keycodes.BACKSPACE,Ur=gn.keycodes.ENTER,Kr=[{icon:"editor-bold",title:Object(X.__)("Bold"),format:"bold"},{icon:"editor-italic",title:Object(X.__)("Italic"),format:"italic"},{icon:"editor-strikethrough",title:Object(X.__)("Strikethrough"),format:"strikethrough"},{format:"link"}],Vr=["bold","italic","strikethrough","link"],Wr=function(e){return e.stopPropagation()},Gr=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(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 ut()(t,e),at()(t,[{key:"onKeyDown",value:function(e){e.keyCode===Dr&&(this.state.isEditingLink||this.state.isAddingLink)&&(e.stopPropagation(),this.dropLink()),[Fr,Hr,Ir,zr,qr,Ur].indexOf(e.keyCode)>-1&&Wr(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(gr()({},e,!t.props.formats[e]))}}},{key:"toggleLinkSettingsVisibility",value:function(){this.setState(function(e){return{settingsVisible:!e.settingsVisible}})}},{key:"setLinkTarget",value:function(e){this.setState({opensInNewWindow:e}),this.props.formats.link&&this.props.onChange({link:{value:this.props.formats.link.value,target:e?"_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.setState({isEditingLink:!1,isAddingLink:!1,newLinkValue:""}),this.props.onChange({link:{value:this.state.newLinkValue,target:this.state.opensInNewWindow?"_blank":""}}),this.state.isAddingLink&&this.props.speak(Object(X.__)("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,o=t.enabledControls,i=void 0===o?Vr:o,a=t.customControls,s=void 0===a?[]:a,l=this.state,c=l.isAddingLink,u=l.isEditingLink,p=l.newLinkValue,d=l.settingsVisible,f=l.opensInNewWindow,h=Kr.concat(s).filter(function(e){return-1!==i.indexOf(e.format)}).map(function(t){if("link"===t.format){var n=e.isFormatActive("link"),r=n||c;return R()({},t,{icon:n?"editor-unlink":"admin-links",title:n?Object(X.__)("Unlink"):Object(X.__)("Link"),onClick:r?e.dropLink:e.addLink,isActive:r})}return R()({},t,{onClick:e.toggleFormat(t.format),isActive:e.isFormatActive(t.format)})}),g=d&&wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line blocks-format-toolbar__link-settings"},wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Open in new window"),checked:f,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"blocks-format-toolbar"},wp.element.createElement(F.Toolbar,{controls:h}),(c||u||n.link)&&wp.element.createElement(F.Fill,{name:"RichText.Siblings"},wp.element.createElement("div",{style:R()({position:"absolute"},r)},(c||u)&&wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",onKeyPress:Wr,onKeyDown:this.onKeyDown,onSubmit:this.submitLink},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal-line"},wp.element.createElement(Mr,{value:p,onChange:this.onChangeLinkValue}),wp.element.createElement(F.IconButton,{icon:"editor-break",label:Object(X.__)("Apply"),type:"submit"}),wp.element.createElement(F.IconButton,{className:"blocks-format-toolbar__link-settings-toggle",icon:"ellipsis",label:Object(X.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d})),g),n.link&&!c&&!u&&wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal",onKeyPress:Wr},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(Br.a)(decodeURI(n.link.value))),wp.element.createElement(F.IconButton,{icon:"edit",label:Object(X.__)("Edit"),onClick:this.editLink}),wp.element.createElement(F.IconButton,{className:"blocks-format-toolbar__link-settings-toggle",icon:"ellipsis",label:Object(X.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d})),g))))}}]),t}(B.Component),$r=Object(F.withSpokenMessages)(Gr),Xr=n(69),Yr=n.n(Xr),Zr=n(151),Qr=n.n(Zr),Jr=function(e){return Object(M.pickBy)(e,function(e,t){return n=t,Object(M.startsWith)(n,"aria-")&&!Object(M.isNil)(e);var n})},eo=function(e){function t(){return ot()(this,t),lt()(this,(t.__proto__||nt()(t)).apply(this,arguments))}return ut()(t,e),at()(t,[{key:"componentDidMount",value:function(){this.initialize()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(M.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Yr()(this.editorNode.style,e.style)),Object(M.isEqual)(this.props.className,e.className)||(this.editorNode.className=L()(e.className,"blocks-rich-text__tinymce"));var n=function(e,t){var n=Object(M.keys)(Jr(e)),r=Object(M.keys)(Jr(t));return{removedKeys:Object(M.difference)(n,r),updatedKeys:r.filter(function(n){return!Object(M.isEqual)(e[n],t[n])})}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;r.forEach(function(e){return t.editorNode.removeAttribute(e)}),o.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.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"}}});t.plugins.push("paste"),Qr.a.init(R()({},t,{target:this.editorNode,setup:function(t){e.editor=t,e.props.onSetup(t)}}))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.tagName,o=void 0===r?"div":r,i=n.style,a=n.defaultValue,s=n.className,l=n.isPlaceholderVisible,c=Jr(this.props);-1===["ul","ol","table"].indexOf(o)&&(c.role="textbox");var u=void 0;return a&&(u=B.Children.toArray(a)),Object(B.createElement)(o,R()({},c,(e={className:L()(s,"blocks-rich-text__tinymce"),contentEditable:!0},gr()(e,"data-is-placeholder-visible",l),gr()(e,"ref",function(e){return t.editorNode=e}),gr()(e,"style",i),gr()(e,"suppressContentEditableWarning",!0),e)),u)}}]),t}(B.Component),to=gn.keycodes.ESCAPE,no=gn.keycodes.ENTER,ro=gn.keycodes.SPACE,oo=gn.keycodes.BACKSPACE,io=function(e){var t=this.getContent.bind(this),n=this.props,r=n.setTimeout,o=n.onReplace,i=Qr.a.util.VK,a=e.settings.wptextpattern||{},s=Object(M.groupBy)(Object(M.filter)(Le("from"),{type:"pattern"}),"trigger"),l=s.enter,c=s.undefined,u=a.inline||[{delimiter:"`",format:"code"}],p=void 0;function d(){var t=e.selection.getRng(),n=t.startContainer,o=t.startOffset;if(n&&3===n.nodeType&&n.data.length&&o){var i=n.data.slice(0,o),a=n.data.charAt(o-1),s=u.reduce(function(e,t){if(e.result)return e;if(a!==t.delimiter.slice(-1))return e;var n=Object(M.escapeRegExp)(t.delimiter),r=new RegExp("(.*)"+n+".+"+n+"$"),s=i.match(r);if(!s)return e;var l=s[1].length,c=o-t.delimiter.length,u=i.charAt(l-1),p=i.charAt(l+t.delimiter.length),d=t.delimiter.charAt(0);if(l&&/\S/.test(u)&&(/\s/.test(p)||u===d))return e;var f=new RegExp("^[\\s"+Object(M.escapeRegExp)(d)+"]+$"),h=i.slice(l,c);return f.test(h)?e:{start:l,pattern:t}},{}),l=s.start,c=s.pattern;if(c){var d=c.delimiter,f=c.format,h=e.formatter.get(f);h&&h[0].inline&&(e.undoManager.add(),e.undoManager.transact(function(){n.insertData(o,"\ufeff");var t=n.splitText(l),i=t.splitText(o-l);t.deleteData(0,d.length),t.deleteData(t.data.length-d.length,d.length),e.formatter.apply(f,{},t),e.selection.setCursorLocation(i,1),r(function(){p="space",e.once("selectionchange",function(){if(i){var e=i.data.indexOf("\ufeff");-1!==e&&i.deleteData(e,e+1)}})})}))}}}e.on("selectionchange",function(){p=null}),e.on("keydown",function(n){var a=n.keyCode;(p&&a===to||"space"===p&&a===oo)&&(e.undoManager.undo(),n.preventDefault(),n.stopImmediatePropagation()),i.metaKeyPressed(n)||(a===no?function(n){if(!o)return;e.getBody().normalize();var r=t();if(!r.length)return;var i=Pe(l,function(e){var t=e.regExp;return t.test(r[0])});if(!i)return;var a=i.transform({content:r});o([a]),n.preventDefault(),n.stopImmediatePropagation()}(n):a===ro?r(function(){return function(n){if(!o)return;e.getBody().normalize();var r=t();if(!r.length)return;var i=r[0],a=Pe(n,function(e){return e.regExp.test(i)});if(!a)return;var s=i.match(a.regExp),l=e.selection.getRng(),c=s[0].length,u=i.slice(c);if(l.startOffset!==c)return;var p=a.transform({content:[u].concat(ie()(Object(M.drop)(r))),match:s});o([p])}(c)}):a>47&&!(a>=91&&a<=93)&&r(d))},!0)},ao=["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"],so=gn.keycodes.BACKSPACE,lo=gn.keycodes.DELETE,co=gn.keycodes.ENTER;function uo(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:B.createElement.apply(void 0,[e,Object(M.omitBy)(t,function(e,t){return 0===t.indexOf("data-mce-")})].concat(r))}function po(e){return""===e.nodeValue||function(e){return"\ufeff"===("A"===e.nodeName?e.innerText:e.textContent)}(e)}var fo=function(e){function t(e){ot()(this,t);var n=lt()(this,(t.__proto__||nt()(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.onNodeChange=n.onNodeChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.onKeyUp=n.onKeyUp.bind(n),n.changeFormats=n.changeFormats.bind(n),n.onPropagateUndo=n.onPropagateUndo.bind(n),n.onPastePreProcess=n.onPastePreProcess.bind(n),n.onPaste=n.onPaste.bind(n),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(n),n.state={formats:{},selectedNodeId:0},n.isEmpty=!r||!r.length,n}return ut()(t,e),at()(t,[{key:"getSettings",value:function(e){return(this.props.getSettings||M.identity)(R()({},e,{forced_root_block:this.props.multiline||!1,custom_undo_redo_levels:1}))}},{key:"onSetup",value:function(e){var t=this;this.editor=e,ao.forEach(function(n){e.on(n,t.proxyPropHandler(n))}),e.on("init",this.onInit),e.on("NewBlock",this.onNewBlock),e.on("nodechange",this.onNodeChange),e.on("keydown",this.onKeyDown),e.on("keyup",this.onKeyUp),e.on("BeforeExecCommand",this.onPropagateUndo),e.on("PastePreProcess",this.onPastePreProcess,!0),e.on("paste",this.onPaste,!0),e.on("input",this.onChange),e.on("change",this.onCreateUndoLevel),io.apply(this,[e]),this.props.onSetup&&this.props.onSetup(e)}},{key:"proxyPropHandler",value:function(e){var t=this;return function(n){"function"==typeof t.props["on"+e]&&t.props["on"+e](n)}}},{key:"onInit",value:function(){this.registerCustomFormatters()}},{key:"adaptFormatter",value:function(e){switch(e.type){case"inline-style":return{inline:"span",styles:R()({},e.style)}}}},{key:"registerCustomFormatters",value:function(){var e=this;Object(M.forEach)(this.props.formatters,function(t){e.editor.formatter.register(t.format,e.adaptFormatter(t))})}},{key:"onPropagateUndo",value:function(e){var t=this.context,n=t.onUndo,r=t.onRedo,o=e.command;"Undo"===o&&n&&(Object(M.defer)(n),e.preventDefault()),"Redo"===o&&r&&(Object(M.defer)(r),e.preventDefault())}},{key:"onPaste",value:function(e){var t=this,n=e.clipboardData||e.dataTransfer||this.editor.getDoc().dataTransfer||{getData:function(){return""}},r=n.items,o=void 0===r?[]:r,i=n.files,a=void 0===i?[]:i,s=n.types,l=void 0===s?[]:s,c=Object(M.find)([].concat(ie()(o),ie()(a)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}),u=n.getData("text/plain"),p=n.getData("text/html");if(c&&!p){var d=c.getAsFile?c.getAsFile():c,f=this.editor.getBody(),h=this.editor.dom.isEmpty(f),g=$n({HTML:'<img src="'+Object(gn.createBlobURL)(d)+'">',mode:"BLOCKS",tagName:this.props.tagName});window.console.log("Received item:\n\n",d),h&&this.props.onReplace?this.props.setTimeout(function(){return t.props.onReplace(g)}):this.props.onSplit&&this.props.setTimeout(function(){return t.splitContent(g)}),e.preventDefault()}this.pastedPlainText=u,this.isPlainTextPaste=1===l.length&&"text/plain"===l[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=$n({HTML:t,plainText:this.pastedPlainText,mode:s,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.context.canUserUseUnfilteredHTML});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:"onChange",value:function(){this.isEmpty=this.editor.dom.isEmpty(this.editor.getBody()),this.savedContent=this.isEmpty?[]:this.getContent(),this.props.onChange(this.savedContent)}},{key:"onCreateUndoLevel",value:function(){this.onChange(),this.context.onCreateUndoLevel()}},{key:"getFocusPosition",value:function(e){var t=function e(t){var n=window.getComputedStyle(t);return"relative"===n.position||"absolute"===n.position?t:e(t.parentNode)}(this.editor.getBody()).getBoundingClientRect(),n=10,r=0;return{top:e.top-t.top+e.height+n,left:e.left-t.left+e.width/2+r}}},{key:"onKeyDown",value:function(e){var t=this.editor.dom,n=this.editor.getBody();if(e.keyCode===so&&Object(gn.isHorizontalEdge)(n,!0)||e.keyCode===lo&&Object(gn.isHorizontalEdge)(n,!1)){if(!this.props.onMerge&&!this.props.onRemove)return;this.onCreateUndoLevel();var r=e.keyCode===lo;this.props.onMerge&&this.props.onMerge(r),this.props.onRemove&&t.isEmpty(n)&&this.props.onRemove(r),e.preventDefault(),e.stopImmediatePropagation()}if(e.keyCode===co)if(this.props.multiline){if(!this.props.onSplit)return;var o=this.editor.selection.getNode();if(o.parentNode!==n)return;if(!t.isEmpty(o))return;e.preventDefault(),this.onCreateUndoLevel();var i=Ie()(n.childNodes),a=t.nodeIndex(o),s=i.slice(0,a),l=i.slice(a+1),c=Object(Mt.nodeListToReact)(s,uo),u=Object(Mt.nodeListToReact)(l,uo);this.restoreContentAndSplit(c,u)}else e.preventDefault(),this.onCreateUndoLevel(),e.shiftKey||!this.props.onSplit?this.editor.execCommand("InsertLineBreak",!1,e):this.splitContent()}},{key:"onKeyUp",value:function(e){var t=e.keyCode;t===so&&this.onChange(),this.props.isViewportSmall&&t!==so&&t!==co&&this.scrollToRect(Object(gn.getRectangleFromRange)(this.editor.selection.getRng()))}},{key:"scrollToRect",value:function(e){var t=e.top,n=Object(gn.getScrollContainer)(this.editor.getBody());if(n){var r=t-100;Math.abs(r)>10&&n.scrollTo(n.scrollLeft,n.scrollTop+r)}}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(this.props.onSplit){var t,n=this.editor.dom,r=this.editor.getBody(),o=n.createRng(),i=n.createRng(),a=this.editor.selection.getRng();if(r.childNodes.length){o.setStart(r,0),o.setEnd(a.startContainer,a.startOffset),i.setStart(a.endContainer,a.endOffset),i.setEnd(r,n.nodeIndex(r.lastChild)+1);var s=o.extractContents(),l=i.extractContents(),c=Object(Mt.nodeListToReact)(s.childNodes,uo),u=Object(Mt.nodeListToReact)((t=l.childNodes,Object(M.reject)(t,po)),uo);this.restoreContentAndSplit(c,u,e)}else this.restoreContentAndSplit([],[],e)}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=Ie()(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 r=e.slice(0,n),o=Object(M.last)(r);if(!(!o||r.length<2||o.textContent)){var i=r.slice(0,r.length-1),a=e.slice(n).reduce(function(e,t){return e.length||t.textContent?(e.push(t),e):e},[]);this.setContent(this.props.value),this.restoreContentAndSplit(Object(Mt.nodeListToReact)(i,uo),Object(Mt.nodeListToReact)(a,uo))}}}}},{key:"onNodeChange",value:function(e){var t=e.parents;if(document.activeElement===this.editor.getBody()){var n=this.props.formattingControls,r=this.editor.formatter.matchAll(n).reduce(function(e,n){return e[n]=R()({isActive:!0},function(e,t){switch(e){case"link":var n=Object(M.find)(t,function(e){return"a"===e.nodeName.toLowerCase()});return n?{value:n.getAttribute("href")||"",target:n.getAttribute("target")||"",node:n}:{};default:return{}}}(n,t)),e},{}),o=void 0,i=Object(M.find)(t,function(e){return"A"===e.tagName});o=i?i.getBoundingClientRect():Object(gn.getRectangleFromRange)(this.editor.selection.getRng());var a=this.getFocusPosition(o);this.setState({formats:r,focusPosition:a,selectedNodeId:this.state.selectedNodeId+1}),this.props.isViewportSmall&&this.scrollToRect(o)}}},{key:"updateContent",value:function(){var e=this;this.editor.undoManager.ignore(function(){var t=e.editor.selection.getBookmark(2,!0);e.savedContent=e.props.value,e.setContent(e.savedContent),e.editor.selection.moveToBookmark(t)})}},{key:"setContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.editor.setContent(Object(B.renderToString)(e))}},{key:"getContent",value:function(){return Object(Mt.nodeListToReact)(this.editor.getBody().childNodes||[],uo)}},{key:"componentDidUpdate",value:function(e){!this.editor||this.props.tagName!==e.tagName||this.props.value===e.value||this.props.value===this.savedContent||Object(M.isEqual)(this.props.value,e.value)||Object(M.isEqual)(this.props.value,this.savedContent)||this.updateContent()}},{key:"componentWillReceiveProps",value:function(e){0}},{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;Object(M.forEach)(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:Object(M.merge)({},t.formats,e)}})}},{key:"restoreContentAndSplit",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.updateContent(),(n=this.props).onSplit.apply(n,[e,t].concat(ie()(r)))}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.value,a=t.wrapperClassName,s=t.className,l=t.inlineToolbar,c=void 0!==l&&l,u=t.formattingControls,p=t.placeholder,d=t.multiline,f=t.keepPlaceholderOnFocus,h=void 0!==f&&f,g=t.isSelected,m=t.formatters,b=t.autocompleters,v=R()({},Jr(this.props),{"aria-multiline":!!d}),y=["editor",r].join(),_=p&&(!g||h)&&this.isEmpty,w=L()(a,"blocks-rich-text"),x=wp.element.createElement($r,{selectedNodeId:this.state.selectedNodeId,focusPosition:this.state.focusPosition,formats:this.state.formats,onChange:this.changeFormats,enabledControls:u,customControls:m});return wp.element.createElement("div",{className:w},g&&!c&&wp.element.createElement(Or,null,x),g&&c&&wp.element.createElement("div",{className:"block-rich-text__inline-toolbar"},x),wp.element.createElement(wr,{onReplace:this.props.onReplace,completers:b},function(t){var n=t.isExpanded,a=t.listBoxId,l=t.activeId;return wp.element.createElement(B.Fragment,null,wp.element.createElement(eo,R()({tagName:r,getSettings:e.getSettings,onSetup:e.onSetup,style:o,defaultValue:i,isPlaceholderVisible:_,"aria-label":p,"aria-autocomplete":"list","aria-expanded":n,"aria-owns":a,"aria-activedescendant":l},v,{className:s,key:y})),_&&wp.element.createElement(r,{className:L()("blocks-rich-text__tinymce",s),style:o},d?wp.element.createElement(d,null,p):p),g&&wp.element.createElement(F.Slot,{name:"RichText.Siblings"}))}))}}]),t}(B.Component);fo.contextTypes={onUndo:M.noop,onRedo:M.noop,canUserUseUnfilteredHTML:M.noop,onCreateUndoLevel:M.noop},fo.defaultProps={formattingControls:["bold","italic","strikethrough","link"],formatters:[]};var ho=Object(B.compose)([q,Object(vr.withSelect)(function(e,t){var n=t.isSelected,r=t.blockEditContext,o=(e("core/viewport")||{}).isViewportMatch;return{isViewportSmall:(void 0===o?M.identity:o)("< small"),isSelected:!1!==n&&r.isSelected}}),F.withSafeTimeout])(fo),go=Object(F.createSlotFill)("InspectorControls"),mo=go.Fill,bo=go.Slot,vo=U(mo);vo.Slot=bo;var yo=vo,_o=n(283);n(623);var wo=J(function(e,t){return{colors:t.colors||e.colors,disableCustomColors:void 0!==t.disableCustomColors?t.disableCustomColors:e.disableCustomColors}})(function(e){var t=e.colors,n=e.disableCustomColors,r=void 0!==n&&n,o=e.value,i=e.onChange;return wp.element.createElement("div",{className:"blocks-color-palette"},Object(M.map)(t,function(e){var t={color:e},n=L()("blocks-color-palette__item",{"is-active":o===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(e){return function(){return i(o===e?void 0:e)}}(e),"aria-label":Object(X.sprintf)(Object(X.__)("Color: %s"),e),"aria-pressed":o===e}))}),!r&&wp.element.createElement(F.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(X.__)("Custom color picker")},wp.element.createElement("span",{className:"blocks-color-palette__custom-color-gradient"}))},renderContent:function(){return wp.element.createElement(_o.ChromePicker,{color:o,onChangeComplete:function(e){return i(e.hex)},style:{width:"100%"},disableAlpha:!0})}}),wp.element.createElement("button",{className:"button-link blocks-color-palette__clear",type:"button",onClick:function(){return i(void 0)}},Object(X.__)("Clear")))}),xo=n(209),ko=n.n(xo);n(622);var Eo=function(e){var t=e.backgroundColor,n=e.textColor,r=e.isLargeText,o=e.fallbackBackgroundColor,i=e.fallbackTextColor;if(!t&&!o||!n&&!i)return null;var a=ko()(t||o),s=ko()(n||i);if(1!==a.getAlpha()||1!==s.getAlpha()||ko.a.isReadable(a,s,{level:"AA",size:r?"large":"small"}))return null;var l=a.getBrightness()<s.getBrightness()?Object(X.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(X.__)("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(F.Notice,{status:"warning",isDismissible:!1},l))},Co=window.getComputedStyle,Oo=Object(F.withFallbackStyles)(function(e,t){var n=t.attributes,r=n.textColor,o=n.backgroundColor,i=n.fontSize,a=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?Co(s):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:i||a||!l?void 0:parseInt(l.fontSize)||void 0}}),So={small:14,regular:16,large:36,larger:48},To=[dr].concat(ie()(fr)),jo=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.onReplace=e.onReplace.bind(e),e.toggleDropCap=e.toggleDropCap.bind(e),e.getFontSize=e.getFontSize.bind(e),e.setFontSize=e.setFontSize.bind(e),e}return ut()(t,e),at()(t,[{key:"onReplace",value:function(e){var t=this.props,n=t.attributes,r=t.onReplace;r(e.map(function(e,t){return 0===t&&e.name===Ro?R()({},e,{attributes:R()({},n,e.attributes)}):e}))}},{key:"toggleDropCap",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dropCap:!t.dropCap})}},{key:"getFontSize",value:function(){var e=this.props.attributes,t=e.customFontSize,n=e.fontSize;return n?So[n]:t||void 0}},{key:"setFontSize",value:function(e){var t=this.props.setAttributes,n=Object(M.findKey)(So,function(t){return t===e});t(n?{fontSize:n,customFontSize:void 0}:{fontSize:void 0,customFontSize:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.insertBlocksAfter,i=t.mergeBlocks,a=t.onReplace,s=t.className,l=t.fallbackBackgroundColor,c=t.fallbackTextColor,u=t.fallbackFontSize,p=n.align,d=n.content,f=n.dropCap,h=n.placeholder,g=n.backgroundColor,m=n.textColor,b=n.width,v=this.getFontSize();return wp.element.createElement(B.Fragment,null,wp.element.createElement($,null,wp.element.createElement(br,{value:p,onChange:function(e){r({align:e})}})),wp.element.createElement(yo,null,wp.element.createElement(F.PanelBody,{title:Object(X.__)("Text Settings"),className:"blocks-font-size"},wp.element.createElement("div",{className:"blocks-font-size__main"},wp.element.createElement(F.ButtonGroup,{"aria-label":Object(X.__)("Font Size")},Object(M.map)({S:"small",M:"regular",L:"large",XL:"larger"},function(t,n){return wp.element.createElement(F.Button,{key:n,isLarge:!0,isPrimary:v===So[t],"aria-pressed":v===So[t],onClick:function(){return e.setFontSize(So[t])}},n)})),wp.element.createElement(F.Button,{isLarge:!0,onClick:function(){return e.setFontSize(void 0)}},Object(X.__)("Reset"))),wp.element.createElement(F.RangeControl,{className:"blocks-paragraph__custom-size-slider",label:Object(X.__)("Custom Size"),value:v||"",initialPosition:u,onChange:function(t){return e.setFontSize(t)},min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Drop Cap"),checked:!!f,onChange:this.toggleDropCap})),wp.element.createElement(F.PanelColor,{title:Object(X.__)("Background Color"),colorValue:g,initialOpen:!1},wp.element.createElement(wo,{value:g,onChange:function(e){return r({backgroundColor:e})}})),wp.element.createElement(F.PanelColor,{title:Object(X.__)("Text Color"),colorValue:m,initialOpen:!1},wp.element.createElement(wo,{value:m,onChange:function(e){return r({textColor:e})}})),wp.element.createElement(Eo,R()({textColor:m,backgroundColor:g,fallbackBackgroundColor:l,fallbackTextColor:c},{isLargeText:v>=18})),wp.element.createElement(F.PanelBody,{title:Object(X.__)("Block Alignment")},wp.element.createElement(re,{value:b,onChange:function(e){return r({width:e})}}))),wp.element.createElement("div",null,wp.element.createElement(ho,{tagName:"p",className:L()("wp-block-paragraph",s,{"has-background":g,"has-drop-cap":f}),style:{backgroundColor:g,color:m,fontSize:v?v+"px":void 0,textAlign:p},value:d,onChange:function(e){r({content:e})},onSplit:o?function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];r({content:e}),o([].concat(i,[je("core/paragraph",{content:t})]))}:void 0,onMerge:i,onReplace:this.onReplace,onRemove:function(){return a([])},placeholder:h||Object(X.__)("Add text or type / to add content"),autocompleters:To})))}}]),t}(B.Component),Ao={className:!1},No={content:{type:"array",source:"children",selector:"p",default:[]},align:{type:"string"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},width:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}},Ro="core/paragraph",Po={title:Object(X.__)("Paragraph"),description:Object(X.__)("This is a simple text only block for adding a single paragraph of content."),icon:"editor-paragraph",category:"common",keywords:[Object(X.__)("text")],supports:Ao,attributes:No,transforms:{from:[{type:"raw",priority:20,isMatch:function(e){return"P"===e.nodeName&&!e.querySelector("audio, canvas, embed, iframe, img, math, object, svg, video")}}]},deprecated:[{supports:Ao,attributes:Object(M.omit)(R()({},No,{fontSize:{type:"number"}}),"customFontSize"),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,i=n.content,a=n.dropCap,s=n.backgroundColor,l=n.textColor,c=n.fontSize,u=L()((t={},gr()(t,"align"+r,r),gr()(t,"has-background",s),gr()(t,"has-drop-cap",a),t)),p={backgroundColor:s,color:l,fontSize:c,textAlign:o};return wp.element.createElement("p",{style:p,className:u||void 0},i)},migrate:function(e){return Object(M.isFinite)(e.fontSize)?Object(M.omit)(R()({},e,{customFontSize:e.fontSize}),"fontSize"):e}},{supports:Ao,attributes:R()({},No,{content:{type:"string",source:"html"}}),save:function(e){var t=e.attributes;return wp.element.createElement(B.RawHTML,null,t.content)},migrate:function(e){return R()({},e,{content:[wp.element.createElement(B.RawHTML,{key:"html"},e.content)]})}}],merge:function(e,t){return{content:Object(B.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:Oo(jo),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,i=n.content,a=n.dropCap,s=n.backgroundColor,l=n.textColor,c=n.fontSize,u=n.customFontSize,p=L()((t={},gr()(t,"align"+r,r),gr()(t,"has-background",s),gr()(t,"has-drop-cap",a),gr()(t,"is-"+c+"-text",c&&So[c]),t)),d={backgroundColor:s,color:l,fontSize:!c&&u?u:void 0,textAlign:o};return wp.element.createElement("p",{style:d,className:p||void 0},i)}},Lo=(n(621),n(620),n(12)),Mo=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Bo=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}}(),Do=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},Fo=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},Io={base:{position:"absolute",userSelect:"none",MsUserSelect:"none"},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"}},zo=function(e){return Object(Lo.createElement)("div",{className:e.className,style:Do({},Io.base,Io[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}},e.children)},Ho={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},qo={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},Uo=function(e,t,n){return Math.max(Math.min(e,n),t)},Ko=function(e,t){return Math.round(e/t)*t},Vo=function(e,t){return e.substr(e.length-t.length,t.length)===t},Wo=function(e){return Vo(e.toString(),"px")?e.toString():Vo(e.toString(),"%")?e.toString():e+"px"},Go=["style","className","grid","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent"],$o=function(e){function t(e){Mo(this,t);var n=Fo(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isResizing:!1,resizeCursor:"auto",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),"undefined"!=typeof window&&(window.addEventListener("mouseup",n.onMouseUp),window.addEventListener("mousemove",n.onMouseMove),window.addEventListener("mouseleave",n.onMouseUp),window.addEventListener("touchmove",n.onMouseMove),window.addEventListener("touchend",n.onMouseUp)),n}return 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)}(t,Lo["Component"]),Bo(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce(function(t,n){return-1!==Go.indexOf(n)?t:(t[n]=e[n],t)},{})}},{key:"getParentSize",value:function(){var e=this.base;if(!e)return{width:window.innerWidth,height:window.innerHeight};var t=!1,n=this.parentNode.style.flexWrap,r=e.style.minWidth;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var o={width:e.offsetWidth,height:e.offsetHeight};return e.style.position="absolute",t&&(this.parentNode.style.flexWrap=n),e.style.minWidth=r,o}},{key:"componentDidMount",value:function(){var e=this.size;this.setState({width:this.state.width||e.width,height:this.state.height||e.height});var t=this.parentNode;if(t instanceof HTMLElement&&!this.base){var n=document.createElement("div");n.style.width="100%",n.style.height="100%",n.style.position="absolute",n.style.transform="scale(0, 0)",n.style.left="-2147483647px",n.style.flex="0",n.classList?n.classList.add("__resizable_base__"):n.className+="__resizable_base__",t.appendChild(n)}}},{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("mouseleave",this.onMouseUp),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("touchend",this.onMouseUp);var e=this.parentNode,t=this.base;if(!t||!e)return;if(!(e instanceof HTMLElement&&t instanceof Node))return;e.removeChild(t)}}},{key:"calculateNewSize",value:function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"}},{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.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.setState({original:{x:n,y:r,width:this.size.width,height:this.size.height},isResizing:!0,resizeCursor:window.getComputedStyle(e.target).cursor,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,c=l.lockAspectRatio,u=l.lockAspectRatioExtraHeight,p=l.lockAspectRatioExtraWidth,d=this.props,f=d.maxWidth,h=d.maxHeight,g=d.minWidth,m=d.minHeight,b=this.getParentSize();if(f&&"string"==typeof f&&Vo(f,"%")){var v=Number(f.replace("%",""))/100;f=b.width*v}if(h&&"string"==typeof h&&Vo(h,"%")){var y=Number(h.replace("%",""))/100;h=b.height*y}if(g&&"string"==typeof g&&Vo(g,"%")){var _=Number(g.replace("%",""))/100;g=b.width*_}if(m&&"string"==typeof m&&Vo(m,"%")){var w=Number(m.replace("%",""))/100;m=b.height*w}f=void 0===f?void 0:Number(f),h=void 0===h?void 0:Number(h),g=void 0===g?void 0:Number(g),m=void 0===m?void 0:Number(m);var x="number"==typeof c?c:i.width/i.height,k=i.width,E=i.height;if(/right/i.test(o)&&(k=i.width+(t-i.x),c&&(E=(k-p)/x+u)),/left/i.test(o)&&(k=i.width-(t-i.x),c&&(E=(k-p)/x+u)),/bottom/i.test(o)&&(E=i.height+(n-i.y),c&&(k=(E-u)*x+p)),/top/i.test(o)&&(E=i.height-(n-i.y),c&&(k=(E-u)*x+p)),"parent"===this.props.bounds){var C=this.parentNode;if(C instanceof HTMLElement){var O=C.getBoundingClientRect(),S=O.left,T=O.top,j=this.resizable.getBoundingClientRect(),A=j.left,N=j.top,R=C.offsetWidth+(S-A),P=C.offsetHeight+(T-N);f=f&&f<R?f:R,h=h&&h<P?h:P}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var L=this.resizable.getBoundingClientRect(),M=L.left,B=L.top,D=window.innerWidth-M,F=window.innerHeight-B;f=f&&f<D?f:D,h=h&&h<F?h:F}}else if(this.props.bounds instanceof HTMLElement){var I=this.props.bounds.getBoundingClientRect(),z=I.left,H=I.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);f=f&&f<V?f:V,h=h&&h<W?h:W}var G=void 0===g?10:g,$=void 0===f||f<0?k:f,X=void 0===m?10:m,Y=void 0===h||h<0?E:h;if(c){var Z=(X-u)*x+p,Q=(Y-u)*x+p,J=(G-p)/x+u,ee=($-p)/x+u,te=Math.max(G,Z),ne=Math.min($,Q),re=Math.max(X,J),oe=Math.min(Y,ee);k=Uo(k,te,ne),E=Uo(E,re,oe)}else k=Uo(k,G,$),E=Uo(E,X,Y);this.props.grid&&(k=Ko(k,this.props.grid[0])),this.props.grid&&(E=Ko(E,this.props.grid[1]));var ie={width:k-i.width,height:E-i.height};if(a&&"string"==typeof a&&Vo(a,"%"))k=k/b.width*100+"%";if(s&&"string"==typeof s&&Vo(s,"%"))E=E/b.height*100+"%";this.setState({width:this.calculateNewSize(k,"width"),height:this.calculateNewSize(E,"height")}),this.props.onResize&&this.props.onResize(e,o,this.resizable,ie)}}},{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,resizeCursor:"auto"})}}},{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,r=t.handleStyles,o=t.handleClasses,i=t.handleWrapperStyle,a=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var l=Object.keys(n).map(function(t){return!1!==n[t]?Object(Lo.createElement)(zo,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},s&&s[t]?Object(Lo.createElement)(s[t]):null):null});return Object(Lo.createElement)("span",{className:a,style:i},l)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?Ho:qo;return Object(Lo.createElement)("div",Do({ref:function(t){t&&(e.resizable=t)},style:Do({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.state.isResizing&&Object(Lo.createElement)("div",{style:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:""+(this.state.resizeCursor||"auto"),opacity:"0",position:"fixed",zIndex:"9999",top:"0",left:"0",bottom:"0",right:"0"}}),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:"base",get:function(){var e=this.parentNode;if(e)return[].concat(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 Array.from(e)}(e.children)).find(function(e){if(e instanceof HTMLElement)return e.classList.contains("__resizable_base__")})}},{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]&&Vo(e.propsSize[t].toString(),"%")){if(Vo(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 Wo(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Wo(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Wo(t.height):n("height")}}}]),t}();$o.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,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0};var Xo=$o,Yo=Object(F.withFilters)("blocks.MediaUpload")(function(){return null});function Zo(e){var t=e.className,n=e.icon,r=e.label,o=e.onSelectImage,i=e.multiple,a=void 0!==i&&i,s=a?o:function(e){var t=De()(e,1)[0];return o(t)};return wp.element.createElement(F.Placeholder,{className:t,instructions:a?Object(X.__)("Drag images here or add from media library"):Object(X.__)("Drag image here or add from media library"),icon:n,label:r},wp.element.createElement(F.DropZone,{onFilesDrop:function(e){return Object(gn.mediaUpload)(e,s,"image")},onHTMLDrop:function(e){return s(Object(M.map)($n({HTML:e,mode:"BLOCKS"}).filter(function(e){return"core/image"===e.name}),"attributes"))}}),wp.element.createElement(F.FormFileUpload,{multiple:a,isLarge:!0,className:"wp-block-image__upload-button",onChange:function(e){return Object(gn.mediaUpload)(e.target.files,s,"image")},accept:"image/*"},Object(X.__)("Upload")),wp.element.createElement(Yo,{gallery:a,multiple:a,onSelect:o,type:"image",render:function(e){var t=e.open;return wp.element.createElement(F.Button,{isLarge:!0,onClick:t},Object(X.__)("Media Library"))}}))}n(619);var Qo=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.toggle=e.toggle.bind(e),e.submitLink=e.submitLink.bind(e),e.state={expanded:!1},e}return ut()(t,e),at()(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,o=t?Object(X.__)("Edit Link"):Object(X.__)("Insert Link");return wp.element.createElement("div",{className:"blocks-url-input__button"},wp.element.createElement(F.IconButton,{icon:"admin-links",label:o,onClick:this.toggle,className:L()("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(F.IconButton,{className:"blocks-url-input__back",icon:"arrow-left-alt",label:Object(X.__)("Close"),onClick:this.toggle}),wp.element.createElement(Mr,{value:t||"",onChange:n,"data-test":"UrlInput"}),wp.element.createElement(F.IconButton,{icon:"editor-break",label:Object(X.__)("Submit"),type:"submit"}))))}}]),t}(B.Component),Jo=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(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 ut()(t,e),at()(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=M.noop)}},{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),ei=Object(F.withGlobalEvents)({resize:"calculateSize"})(Jo),ti=n(192),ni=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.updateAlt=e.updateAlt.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onFocusCaption=e.onFocusCaption.bind(e),e.onImageClick=e.onImageClick.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSetHref=e.onSetHref.bind(e),e.updateImageURL=e.updateImageURL.bind(e),e.updateWidth=e.updateWidth.bind(e),e.updateHeight=e.updateHeight.bind(e),e.updateDimensions=e.updateDimensions.bind(e),e.state={captionFocused:!1},e}return ut()(t,e),at()(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(gn.getBlobByURL)(i).then(function(e){return Object(ti.a)([e],function(e){var t=De()(e,1)[0];n(R()({},t))},"image")})}},{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(gn.revokeBlobURL)(l)}},{key:"componentWillReceiveProps",value:function(e){!e.isSelected&&this.props.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onSelectImage",value:function(e){this.props.setAttributes(R()({},Object(M.pick)(e,["alt","id","caption","url"]),{width:void 0,height:void 0}))}},{key:"onSetHref",value:function(e){this.props.setAttributes({href:e})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{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(R()({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e,width:void 0,height:void 0})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getAvailableSizes",value:function(){return Object(M.get)(this.props.image,["media_details","sizes"],{})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.isSelected,i=t.className,a=t.settings,s=t.toggleSelection,l=n.url,c=n.alt,u=n.caption,p=n.align,d=n.id,f=n.href,h=n.width,g=n.height,m=o&&wp.element.createElement($,{key:"controls"},wp.element.createElement(re,{value:p,onChange:this.updateAlignment}),wp.element.createElement(F.Toolbar,null,wp.element.createElement(Yo,{onSelect:this.onSelectImage,type:"image",value:d,render:function(e){var t=e.open;return wp.element.createElement(F.IconButton,{className:"components-toolbar__control",label:Object(X.__)("Edit image"),icon:"edit",onClick:t})}}),wp.element.createElement(Qo,{onChange:this.onSetHref,url:f}))),b=this.getAvailableSizes();if(!l)return[m,wp.element.createElement(Zo,{className:i,key:"image-placeholder",icon:"format-image",label:Object(X.__)("Image"),onSelectImage:this.onSelectImage})];var v=L()(i,{"is-transient":0===l.indexOf("blob:"),"is-resized":!!h||!!g,"is-focused":o}),y=-1===["wide","full"].indexOf(p)&&!gn.viewPort.isExtraSmall();return[m,wp.element.createElement("figure",{key:"image",className:v},wp.element.createElement(ei,{src:l,dirtynessTrigger:p},function(t){var n=t.imageWidthWithinContainer,o=t.imageHeightWithinContainer,i=t.imageWidth,u=t.imageHeight,p=wp.element.createElement("img",{src:l,alt:c,onClick:e.onImageClick});if(!y||!n)return wp.element.createElement("div",{style:{width:h,height:g}},p);var d=h||n,f=g||o,m=i/u,v=i<u?20:20*m,_=u<i?20:20/m;return wp.element.createElement(B.Fragment,null,function(t,n){return wp.element.createElement(yo,null,wp.element.createElement(F.PanelBody,{title:Object(X.__)("Image Settings")},wp.element.createElement(F.TextareaControl,{label:Object(X.__)("Textual Alternative"),value:c,onChange:e.updateAlt,help:Object(X.__)("Describe the purpose of the image. Leave empty if the image is not a key part of the content.")}),!Object(M.isEmpty)(b)&&wp.element.createElement(F.SelectControl,{label:Object(X.__)("Source Type"),value:l,options:Object(M.map)(b,function(e,t){return{value:e.source_url,label:Object(M.startCase)(t)}}),onChange:e.updateImageURL}),wp.element.createElement("div",{className:"blocks-image__dimensions"},wp.element.createElement("p",{className:"blocks-image__dimensions__row"},Object(X.__)("Image Dimensions")),wp.element.createElement("div",{className:"blocks-image__dimensions__row"},wp.element.createElement(F.TextControl,{type:"number",className:"blocks-image__dimensions__width",label:Object(X.__)("Width"),value:void 0!==h?h:"",placeholder:t,onChange:e.updateWidth}),wp.element.createElement(F.TextControl,{type:"number",className:"blocks-image__dimensions__height",label:Object(X.__)("Height"),value:void 0!==g?g:"",placeholder:n,onChange:e.updateHeight})),wp.element.createElement("div",{className:"blocks-image__dimensions__row"},wp.element.createElement(F.ButtonGroup,{"aria-label":Object(X.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(t*(r/100)),i=Math.round(n*(r/100)),a=h===o&&g===i;return wp.element.createElement(F.Button,{key:r,isSmall:!0,isPrimary:a,"aria-pressed":a,onClick:e.updateDimensions(o,i)},r,"%")})),wp.element.createElement(F.Button,{isSmall:!0,onClick:e.updateDimensions()},Object(X.__)("Reset"))))))}(i,u),wp.element.createElement(Xo,{size:h&&g?{width:h,height:g}:void 0,minWidth:v,maxWidth:a.maxWidth,minHeight:_,maxHeight:a.maxWidth/m,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(){s(!1)},onResizeStop:function(e,t,n,o){r({width:parseInt(d+o.width,10),height:parseInt(f+o.height,10)}),s(!0)}},p))}),u&&u.length>0||o?wp.element.createElement(ho,{tagName:"figcaption",placeholder:Object(X.__)("Write caption…"),value:u||[],onFocus:this.onFocusCaption,onChange:function(e){return r({caption:e})},isSelected:this.state.captionFocused,inlineToolbar:!0}):null)]}}]),t}(B.Component),ri=Object(B.compose)([J(),Object(vr.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{image:r?n(r):null}})])(ni),oi="core/image",ii={url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"}},ai={title:Object(X.__)("Image"),description:Object(X.__)("Worth a thousand words."),icon:"format-image",category:"common",keywords:[Object(X.__)("photo")],attributes:ii,transforms:{from:[{type:"raw",isMatch:function(e){var t=e.nodeName.toLowerCase(),n=e.querySelector("img");return"img"===t||n&&"figure"===t},transform:function(e){var t=/align(left|center|right)/.exec(e.className),n=t?t[1]:void 0;return je("core/image",Ht(Ee("core/image"),e.outerHTML,{align:n}))}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return je("core/image",{url:window.URL.createObjectURL(t)})}},{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||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:ri,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,i=t.align,a=t.href,s=t.width,l=t.height,c=t.id,u=wp.element.createElement("img",{src:n,alt:r,className:c?"wp-image-"+c:null,width:s,height:l});return wp.element.createElement("figure",{className:i?"align"+i:null},a?wp.element.createElement("a",{href:a},u):u,o&&o.length>0&&wp.element.createElement("figcaption",null,o))},deprecated:[{attributes:ii,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,i=t.align,a=t.href,s=t.width,l=t.height,c=s||l?{width:s,height:l}:{},u=wp.element.createElement("img",R()({src:n,alt:r},c)),p={};return s?p={width:s}:"left"!==i&&"right"!==i||(p={maxWidth:"50%"}),wp.element.createElement("figure",{className:i?"align"+i:null,style:p},a?wp.element.createElement("a",{href:a},u):u,o&&o.length>0&&wp.element.createElement("figcaption",null,o))}}]},si=(n(618),"core/heading"),li={title:Object(X.__)("Heading"),description:Object(X.__)("Search engines use the headings to index the structure and content of your web pages."),icon:"heading",category:"common",keywords:[Object(X.__)("title"),Object(X.__)("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){return je("core/heading",{content:e.content})}},{type:"raw",isMatch:function(e){return/H\d/.test(e.nodeName)}},{type:"pattern",regExp:/^(#{2,6})\s/,transform:function(e){var t=e.content;return je("core/heading",{nodeName:"H"+e.match[1].length,content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return je("core/paragraph",{content:e.content})}}]},merge:function(e,t){return{content:Object(B.concatChildren)(e.content,t.content)}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,i=e.insertBlocksAfter,a=e.onReplace,s=e.className,l=t.align,c=t.content,u=t.nodeName,p=t.placeholder;return[r&&wp.element.createElement($,{key:"controls",controls:"234".split("").map(function(e){return{icon:"heading",title:Object(X.sprintf)(Object(X.__)("Heading %s"),e),isActive:"H"+e===u,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),r&&wp.element.createElement(yo,{key:"inspector"},wp.element.createElement(F.PanelBody,{title:Object(X.__)("Heading Settings")},wp.element.createElement("p",null,Object(X.__)("Level")),wp.element.createElement(F.Toolbar,{controls:"123456".split("").map(function(e){return{icon:"heading",title:Object(X.sprintf)(Object(X.__)("Heading %s"),e),isActive:"H"+e===u,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),wp.element.createElement("p",null,Object(X.__)("Text Alignment")),wp.element.createElement(br,{value:l,onChange:function(e){n({align:e})}}))),wp.element.createElement(ho,{key:"editable",wrapperClassName:"wp-block-heading",tagName:u.toLowerCase(),value:c,onChange:function(e){return n({content:e})},onMerge:o,onSplit:i?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];n({content:e}),i([].concat(o,[je("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a([])},style:{textAlign:l},className:s,placeholder:p||Object(X.__)("Write heading…"),isSelected:r})]},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)}},ci=n(26),ui=n.n(ci),pi=(n(617),n(616),{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}}),di="core/quote",fi={title:Object(X.__)("Quote"),description:Object(X.__)("Quote. In quoting others, we cite ourselves. (Julio Cortázar)"),icon:"format-quote",category:"common",attributes:pi,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return je("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return je("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"pattern",regExp:/^>\s/,transform:function(e){var t=e.content;return je("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 je("core/paragraph",{content:[Object(M.get)(e,"children.props.children","")]})}).concat(n?je("core/paragraph",{content:n}):[]):je("core/paragraph")}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=ui()(e,["value","citation"]);if(!t||!t.length)return je("core/heading",{content:n});var o=Object(M.get)(t,[0,"children"]),i=Object(M.castArray)(Object(M.isString)(o)?o:Object(M.get)(o,["props","children"],""));return n||1!==t.length?[je("core/heading",{content:i}),je("core/quote",R()({},r,{citation:n,value:t.slice(1)}))]:je("core/heading",{content:i})}}]},edit:Object(F.withState)({editable:"content"})(function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,i=e.onReplace,a=e.className,s=e.editable,l=e.setState,c=t.align,u=t.value,p=t.citation,d=t.style,f=L()(a,2===d?"is-large":""),h=function(e){return function(){l({editable:e})}};return[r&&wp.element.createElement($,{key:"controls"},wp.element.createElement(F.Toolbar,{controls:[1,2].map(function(e){return{icon:1===e?"format-quote":"testimonial",title:Object(X.sprintf)(Object(X.__)("Quote style %d"),e),isActive:Number(d)===e,onClick:function(){n({style:e})}}})}),wp.element.createElement(br,{value:c,onChange:function(e){n({align:e})}})),wp.element.createElement("blockquote",{key:"quote",className:f,style:{textAlign:c}},wp.element.createElement(ho,{multiline:"p",value:function(e){return e.map(function(e){return e.children})}(u),onChange:function(e){return n({value:(t=e,t.map(function(e){return{children:e}}))});var t},onMerge:o,onRemove:function(e){var t=!p||0===p.length;!e&&t&&i([])},placeholder:Object(X.__)("Write quote…"),isSelected:r&&"content"===s,onFocus:h("content")}),(p&&p.length>0||r)&&wp.element.createElement(ho,{tagName:"cite",value:p,onChange:function(e){return n({citation:e})},placeholder:Object(X.__)("Write citation…"),isSelected:r&&"cite"===s,onFocus:h("cite")}))]}),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:R()({},pi,{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))}}]},hi=(n(615),n(614),gn.keycodes.BACKSPACE),gi=gn.keycodes.DELETE,mi=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.onImageClick=e.onImageClick.bind(e),e.onSelectCaption=e.onSelectCaption.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.bindContainer=e.bindContainer.bind(e),e.state={captionSelected:!1},e}return ut()(t,e),at()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[hi,gi].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentWillReceiveProps",value:function(e){var t=e.isSelected,n=e.image,r=e.url;n&&!r&&this.props.setAttributes({url:n.source_url,alt:n.alt_text}),this.state.captionSelected&&!t&&this.props.isSelected&&this.setState({captionSelected:!1})}},{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.caption,l=e.onRemove,c=e.setAttributes,u=void 0;switch(o){case"media":u=t;break;case"attachment":u=i}var p=t?wp.element.createElement("img",{src:t,alt:n,"data-id":r,onClick:this.onImageClick}):wp.element.createElement(F.Spinner,null),d=L()({"is-selected":a,"is-transient":t&&0===t.indexOf("blob:")});return wp.element.createElement("figure",{className:d,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},a&&wp.element.createElement("div",{className:"blocks-gallery-item__inline-menu"},wp.element.createElement(F.IconButton,{icon:"no-alt",onClick:l,className:"blocks-gallery-item__remove",label:Object(X.__)("Remove Image")})),u?wp.element.createElement("a",{href:u},p):p,s&&s.length>0||a?wp.element.createElement(ho,{tagName:"figcaption",placeholder:Object(X.__)("Write caption…"),value:s,isSelected:this.state.captionSelected,onChange:function(e){return c({caption:e})},onFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(B.Component),bi=Object(vr.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(mi),vi=[{value:"attachment",label:Object(X.__)("Attachment Page")},{value:"media",label:Object(X.__)("Media File")},{value:"none",label:Object(X.__)("None")}];function yi(e){return Math.min(3,e.images.length)}var _i=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(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.onRemoveImage=e.onRemoveImage.bind(e),e.setImageAttributes=e.setImageAttributes.bind(e),e.addFiles=e.addFiles.bind(e),e.uploadFromFiles=e.uploadFromFiles.bind(e),e.state={selectedImage:null},e}return ut()(t,e),at()(t,[{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(M.filter)(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.props.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e.map(function(e){return Object(M.pick)(e,["alt","caption","id","url"])})})}},{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:"getImageCropHelp",value:function(e){return e?Object(X.__)("Thumbnails are cropped to align."):Object(X.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props,r=n.attributes.images,o=n.setAttributes;r[e]&&o({images:[].concat(ie()(r.slice(0,e)),[R()({},r[e],t)],ie()(r.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.setAttributes;Object(gn.mediaUpload)(e,function(e){n({images:t.concat(e)})},"image")}},{key:"componentWillReceiveProps",value:function(e){!e.isSelected&&this.props.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.isSelected,o=t.className,i=n.images,a=n.columns,s=void 0===a?yi(n):a,l=n.align,c=n.imageCrop,u=n.linkTo,p=wp.element.createElement(F.DropZone,{onFilesDrop:this.addFiles}),d=wp.element.createElement($,null,wp.element.createElement(re,{value:l,onChange:this.updateAlignment}),!!i.length&&wp.element.createElement(F.Toolbar,null,wp.element.createElement(Yo,{onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0,value:i.map(function(e){return e.id}),render:function(e){var t=e.open;return wp.element.createElement(F.IconButton,{className:"components-toolbar__control",label:Object(X.__)("Edit Gallery"),icon:"edit",onClick:t})}})));return 0===i.length?wp.element.createElement(B.Fragment,null,d,wp.element.createElement(Zo,{className:o,icon:"format-gallery",label:Object(X.__)("Gallery"),onSelectImage:this.onSelectImages,multiple:!0})):wp.element.createElement(B.Fragment,null,d,wp.element.createElement(yo,null,wp.element.createElement(F.PanelBody,{title:Object(X.__)("Gallery Settings")},i.length>1&&wp.element.createElement(F.RangeControl,{label:Object(X.__)("Columns"),value:s,onChange:this.setColumnsNumber,min:1,max:Math.min(8,i.length)}),wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Crop Images"),checked:!!c,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),wp.element.createElement(F.SelectControl,{label:Object(X.__)("Link to"),value:u,onChange:this.setLinkTo,options:vi}))),wp.element.createElement("ul",{className:o+" align"+l+" columns-"+s+" "+(c?"is-cropped":"")},p,i.map(function(t,n){return wp.element.createElement("li",{className:"blocks-gallery-item",key:t.id||t.url},wp.element.createElement(bi,{url:t.url,alt:t.alt,id:t.id,isSelected:r&&e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onSelect:e.onSelectImage(n),setAttributes:function(t){return e.setImageAttributes(n,t)},caption:t.caption}))}),r&&wp.element.createElement("li",{className:"blocks-gallery-item"},wp.element.createElement(F.FormFileUpload,{multiple:!0,isLarge:!0,className:"blocks-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(X.__)("Upload an image")))))}}]),t}(B.Component),wi={align:{type:"string",default:"none"},images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},xi="core/gallery",ki={title:Object(X.__)("Gallery"),description:Object(X.__)("Image galleries are a great way to share groups of pictures on your site."),icon:"format-gallery",category:"common",keywords:[Object(X.__)("images"),Object(X.__)("photos")],attributes:wi,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=Object(M.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?je("core/gallery",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})}):je("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;return parseInt(void 0===t?"3":t,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&&Object(M.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=je("core/gallery");return Object(gn.mediaUpload)(e,function(e){return t(n.uid,{images:e})},"image"),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){return je("core/image",{id:e.id,url:e.url,alt:e.alt,caption:e.caption})}):je("core/image")}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:_i,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?yi(t):r,i=t.align,a=t.imageCrop,s=t.linkTo;return wp.element.createElement("ul",{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,"data-link":e.link});return wp.element.createElement("li",{key:e.id||e.url,className:"blocks-gallery-item"},wp.element.createElement("figure",null,t?wp.element.createElement("a",{href:t},n):n,e.caption&&e.caption.length>0&&wp.element.createElement("figcaption",null,e.caption)))}))},deprecated:[{attributes:R()({},wi,{images:R()({},wi.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"})}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?yi(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)}))}}]},Ei=(n(613),n(612),"core/audio"),Ci={title:Object(X.__)("Audio"),description:Object(X.__)("The Audio block allows you to embed audio files and play them back using a simple player."),icon:"format-audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"array",source:"children",selector:"figcaption"},id:{type:"number"}},supports:{align:!0},edit:function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.state={editing:!e.props.attributes.src,src:e.props.attributes.src},e}return ut()(t,e),at()(t,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.caption,r=t.id,o=this.props,i=o.setAttributes,a=o.isSelected,s=o.className,l=this.state,c=l.editing,u=l.src,p=function(t){t&&t.url&&(i({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1}))},d=function(e){var t=De()(e,1)[0];return p(t)};return c?wp.element.createElement(F.Placeholder,{icon:"media-audio",label:Object(X.__)("Audio"),instructions:Object(X.__)("Select an audio file from your library, or upload a new one"),className:s},wp.element.createElement("form",{onSubmit:function(t){return t.preventDefault(),u&&(i({src:u}),e.setState({editing:!1})),!1}},wp.element.createElement("input",{type:"url",className:"components-placeholder__input",placeholder:Object(X.__)("Enter URL of audio file here…"),onChange:function(t){return e.setState({src:t.target.value})},value:u||""}),wp.element.createElement(F.Button,{isLarge:!0,type:"submit"},Object(X.__)("Use URL"))),wp.element.createElement(F.FormFileUpload,{isLarge:!0,className:"wp-block-audio__upload-button",onChange:function(e){return Object(gn.mediaUpload)(e.target.files,d,"audio")},accept:"audio/*"},Object(X.__)("Upload")),wp.element.createElement(Yo,{onSelect:p,type:"audio",value:r,render:function(e){var t=e.open;return wp.element.createElement(F.Button,{isLarge:!0,onClick:t},Object(X.__)("Media Library"))}})):wp.element.createElement(B.Fragment,null,wp.element.createElement($,null,wp.element.createElement(F.Toolbar,null,wp.element.createElement(F.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(X.__)("Edit audio"),onClick:function(){e.setState({editing:!0})},icon:"edit"}))),wp.element.createElement("figure",{className:s},wp.element.createElement("audio",{controls:"controls",src:u}),(n&&n.length||!!a)&&wp.element.createElement(ho,{tagName:"figcaption",placeholder:Object(X.__)("Write caption…"),value:n,onChange:function(e){return i({caption:e})},inlineToolbar:!0})))}}]),t}(B.Component),save:function(e){var t=e.attributes,n=t.src,r=t.caption;return wp.element.createElement("figure",null,wp.element.createElement("audio",{controls:"controls",src:n}),r&&r.length>0&&wp.element.createElement("figcaption",null,r))}},Oi=(n(611),n(610),window.getComputedStyle),Si=Object(F.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:Oi(e).backgroundColor,fallbackTextColor:n||!o?void 0:Oi(o).color}})(Eo),Ti=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(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 ut()(t,e),at()(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.isSelected,o=e.className,i=t.text,a=t.url,s=t.title,l=t.align,c=t.color,u=t.textColor,p=t.clear;return wp.element.createElement(B.Fragment,null,wp.element.createElement($,null,wp.element.createElement(re,{value:l,onChange:this.updateAlignment})),wp.element.createElement("span",{className:o,title:s,ref:this.bindRef},wp.element.createElement(ho,{tagName:"span",placeholder:Object(X.__)("Add text…"),value:i,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"wp-block-button__link",style:{backgroundColor:c,color:u},keepPlaceholderOnFocus:!0}),wp.element.createElement(yo,null,wp.element.createElement(F.PanelBody,null,wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Wrap text"),checked:!!p,onChange:this.toggleClear}),wp.element.createElement(F.PanelColor,{title:Object(X.__)("Background Color"),colorValue:c},wp.element.createElement(wo,{value:c,onChange:function(e){return n({color:e})}})),wp.element.createElement(F.PanelColor,{title:Object(X.__)("Text Color"),colorValue:u},wp.element.createElement(wo,{value:u,onChange:function(e){return n({textColor:e})}})),this.nodeRef&&wp.element.createElement(Si,{node:this.nodeRef,textColor:u,backgroundColor:c,isLargeText:!0})))),r&&wp.element.createElement("form",{className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(F.Dashicon,{icon:"admin-links"}),wp.element.createElement(Mr,{value:a,onChange:function(e){return n({url:e})}}),wp.element.createElement(F.IconButton,{icon:"editor-break",label:Object(X.__)("Apply"),type:"submit"})))}}]),t}(B.Component),ji={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"}},Ai="core/button",Ni={title:Object(X.__)("Button"),description:Object(X.__)("A nice little button. Call something out with it."),icon:"button",category:"layout",attributes:ji,getEditWrapperProps:function(e){var t=e.align,n=e.clear,r={"data-resized":!0};return"left"!==t&&"right"!==t&&"center"!==t||(r["data-align"]=t),n&&(r["data-clear"]="true"),r},edit:Ti,save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,i=t.align,a={backgroundColor:t.color,color:t.textColor};return wp.element.createElement("div",{className:"align"+i},wp.element.createElement("a",{className:"wp-block-button__link",href:n,title:o,style:a},r))},deprecated:[{attributes:ji,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))}}]},Ri=(n(609),n(608),function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(e),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(e),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(e),e}return ut()(t,e),at()(t,[{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.props.categories;return t&&t.length?null===e?t:t.filter(function(t){return t.parent===e}):[]}},{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?Object(M.unescape)(e.name).trim():Object(X.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return wp.element.createElement("ul",{className:this.getCategoryListClassName(0)},n.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?0:null,n=this.getCategories(t);return wp.element.createElement("select",{className:this.props.className+"__dropdown"},n.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},Object(M.times)(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,t=e.attributes,n=e.setAttributes,r=e.isRequesting,o=t.align,i=t.displayAsDropdown,a=t.showHierarchy,s=t.showPostCounts,l=wp.element.createElement(yo,null,wp.element.createElement(F.PanelBody,{title:Object(X.__)("Categories Settings")},wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Display as dropdown"),checked:i,onChange:this.toggleDisplayAsDropdown}),wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Show post counts"),checked:s,onChange:this.toggleShowPostCounts}),wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Show hierarchy"),checked:a,onChange:this.toggleShowHierarchy})));return r?wp.element.createElement(B.Fragment,null,l,wp.element.createElement(F.Placeholder,{icon:"admin-post",label:Object(X.__)("Categories")},wp.element.createElement(F.Spinner,null))):wp.element.createElement(B.Fragment,null,l,wp.element.createElement($,null,wp.element.createElement(re,{value:o,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement("div",{className:this.props.className},i?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(B.Component)),Pi=Object(vr.withSelect)(function(e){var t=e("core"),n=t.getCategories,r=t.isRequestingCategories;return{categories:n(),isRequesting:r()}})(Ri),Li="core/categories",Mi={title:Object(X.__)("Categories"),description:Object(X.__)("Shows a list of your site's 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"}},supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t)return{"data-align":t}},edit:Pi,save:function(){return null}},Bi=(n(607),n(158)),Di=n.n(Bi);n(606);var Fi=function(e){var t=e.onChange,n=e.className,r=ui()(e,["onChange","className"]);return wp.element.createElement(Di.a,R()({className:L()("blocks-plain-text",n),onChange:function(e){return t(e.target.value)}},r))},Ii="core/code",zi={title:Object(X.__)("Code"),description:Object(X.__)("The code block maintains spaces and tabs, great for showing code snippets."),icon:"editor-code",category:"formatting",attributes:{content:{type:"string",source:"property",selector:"code",property:"textContent"}},supports:{html:!1},transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^```$/,transform:function(){return je("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.className;return wp.element.createElement("div",{className:r},wp.element.createElement(Fi,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(X.__)("Write code…"),"aria-label":Object(X.__)("Code")}))},save:function(e){var t=e.attributes;return wp.element.createElement("pre",null,wp.element.createElement("code",null,t.content))}},Hi=n(128),qi=n.n(Hi);n(605),n(604);function Ui(e){var t=e.BlockList,n=e.layouts;return wp.element.createElement(t,{layouts:n})}(Ui=Object(F.withContext)("BlockList")()(Ui)).Content=function(e){var t=e.BlockContent;return wp.element.createElement(t,null)},Ui.Content=Object(F.withContext)("BlockContent")()(Ui.Content);var Ki=Ui,Vi=qi()(function(e){return Object(M.times)(e,function(e){return{name:"column-"+(e+1),label:Object(X.sprintf)(Object(X.__)("Column %d"),e+1),icon:"columns"}})}),Wi="core/columns",Gi={title:Object(X.sprintf)(Object(X.__)("%1$s (%2$s)"),Object(X.__)("Columns"),Object(X.__)("Experimental")),icon:"columns",category:"layout",attributes:{columns:{type:"number",default:2},align:{type:"string"}},description:Object(X.__)("A multi-column layout of content."),getEditWrapperProps:function(e){return{"data-align":e.align}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,i=t.columns,a=L()(r,"has-"+i+"-columns");return wp.element.createElement(B.Fragment,null,wp.element.createElement($,null,wp.element.createElement(re,{controls:["wide","full"],value:o,onChange:function(e){n({align:e})}})),wp.element.createElement(yo,null,wp.element.createElement(F.PanelBody,null,wp.element.createElement(F.RangeControl,{label:Object(X.__)("Columns"),value:i,onChange:function(e){n({columns:e})},min:2,max:6}))),wp.element.createElement("div",{className:a},wp.element.createElement(Ki,{layouts:Vi(i)})))},save:function(e){var t=e.attributes.columns;return wp.element.createElement("div",{className:"has-"+t+"-columns"},wp.element.createElement(Ki.Content,null))}},$i=(n(603),n(602),["left","center","right","wide","full"]),Xi={title:{type:"array",source:"children",selector:"p"},url:{type:"string"},align:{type:"string"},contentAlign:{type:"string",default:"center"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50}},Yi="core/cover-image",Zi={title:Object(X.__)("Cover Image"),description:Object(X.__)("Cover Image is a bold image block with an optional title."),icon:"cover-image",category:"common",attributes:Xi,transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){return je("core/cover-image",{title:e.content})}}],to:[{type:"block",blocks:["core/heading"],transform:function(e){return je("core/heading",{content:e.title})}}]},getEditWrapperProps:function(e){var t=e.align;if(-1!==$i.indexOf(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,i=t.url,a=t.title,s=t.align,l=t.contentAlign,c=t.id,u=t.hasParallax,p=t.dimRatio,d=function(e){return n({url:e.url,id:e.id})},f=Ji(i),h=L()(o,"center"!==l&&"has-"+l+"-content",Qi(p),{"has-background-dim":0!==p,"has-parallax":u}),g=wp.element.createElement(br,{value:l,onChange:function(e){n({contentAlign:e})}}),m=wp.element.createElement(B.Fragment,null,wp.element.createElement($,null,wp.element.createElement(re,{value:s,onChange:function(e){return n({align:e})}}),g,wp.element.createElement(F.Toolbar,null,wp.element.createElement(Yo,{onSelect:d,type:"image",value:c,render:function(e){var t=e.open;return wp.element.createElement(F.IconButton,{className:"components-toolbar__control",label:Object(X.__)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(yo,null,wp.element.createElement(F.PanelBody,{title:Object(X.__)("Cover Image Settings")},wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Fixed Background"),checked:!!u,onChange:function(){return n({hasParallax:!u})}}),wp.element.createElement(F.RangeControl,{label:Object(X.__)("Background Dimness"),value:p,onChange:function(e){return n({dimRatio:e})},min:0,max:100,step:10})),wp.element.createElement(F.PanelBody,{title:Object(X.__)("Text Alignment")},g)));if(!i){var b=!Object(M.isEmpty)(a),v=b?void 0:"format-image",y=b?wp.element.createElement(ho,{tagName:"h2",value:a,onChange:function(e){return n({title:e})},inlineToolbar:!0}):Object(X.__)("Cover Image");return wp.element.createElement(B.Fragment,null,m,wp.element.createElement(Zo,{className:o,icon:v,label:y,onSelectImage:d}))}return wp.element.createElement(B.Fragment,null,m,wp.element.createElement("div",{"data-url":i,style:f,className:h},a||r?wp.element.createElement(ho,{tagName:"p",className:"wp-block-cover-image-text",placeholder:Object(X.__)("Write title…"),value:a,onChange:function(e){return n({title:e})},inlineToolbar:!0}):null))},save:function(e){var t=e.attributes,n=e.className,r=t.url,o=t.title,i=t.hasParallax,a=t.dimRatio,s=t.align,l=t.contentAlign,c=Ji(r),u=L()(n,Qi(a),gr()({"has-background-dim":0!==a,"has-parallax":i},"has-"+l+"-content","center"!==l),s?"align"+s:null);return wp.element.createElement("div",{className:u,style:c},o&&o.length>0&&wp.element.createElement("p",{className:"wp-block-cover-image-text"},o))},deprecated:[{attributes:R()({},Xi,{title:{type:"array",source:"children",selector:"h2"}}),save:function(e){var t=e.attributes,n=e.className,r=t.url,o=t.title,i=t.hasParallax,a=t.dimRatio,s=t.align,l=Ji(r),c=L()(n,Qi(a),{"has-background-dim":0!==a,"has-parallax":i},s?"align"+s:null);return wp.element.createElement("section",{className:c,style:l},wp.element.createElement("h2",null,o))}}]};function Qi(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function Ji(e){return e?{backgroundImage:"url("+e+")"}:void 0}var ea=n(160),ta=n(125),na=(n(601),n(600),["facebook.com"]);function ra(e){var t=e.title,n=e.description,r=e.icon,o=e.category,i=void 0===o?"embed":o,a=e.transforms,s=e.keywords,l=void 0===s?[]:s;return{title:t,description:n||Object(X.__)("Paste URLs from "+t+" to embed the content in this block."),icon:r,category:i,keywords:l,attributes:{url:{type:"string"},caption:{type:"array",source:"children",selector:"figcaption",default:[]},align:{type:"string"},type:{type:"string"},providerNameSlug:{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 n(){ot()(this,n);var e=lt()(this,(n.__proto__||nt()(n)).apply(this,arguments));return e.doServerSideRender=e.doServerSideRender.bind(e),e.state={html:"",type:"",error:!1,fetching:!1,providerName:""},e}return ut()(n,e),at()(n,[{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(B.renderToString)(t)}},{key:"doServerSideRender",value:function(e){var t=this;e&&e.preventDefault();var n=this.props.attributes.url,r=this.props.setAttributes;this.setState({error:!1,fetching:!0}),wp.apiRequest({path:"/oembed/1.0/proxy?"+Object(ta.stringify)({url:n})}).then(function(e){if(!t.unmounting){var n=e.html,o=e.provider_name,i=Object(M.kebabCase)(Object(M.toLower)(o)),a=e.type;Object(M.includes)(n,'class="wp-embedded-content" data-secret')&&(a="wp-embed"),n?(t.setState({html:n,type:a,providerNameSlug:i}),r({type:a,providerNameSlug:i})):"photo"===a&&(t.setState({html:t.getPhotoHtml(e),type:a,providerNameSlug:i}),r({type:a,providerNameSlug:i})),t.setState({fetching:!1})}},function(){t.setState({fetching:!1,error:!0})})}},{key:"render",value:function(){var e=this.state,n=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,d=p.setAttributes,f=p.isSelected,h=p.className,g=wp.element.createElement($,null,wp.element.createElement(re,{value:l,onChange:function(e){return d({align:e})}}));if(a)return wp.element.createElement(B.Fragment,null,g,wp.element.createElement("div",{className:"wp-block-embed is-loading"},wp.element.createElement(F.Spinner,null),wp.element.createElement("p",null,Object(X.__)("Embedding…"))));if(!n){var m=Object(X.sprintf)(Object(X.__)("%s URL"),t);return wp.element.createElement(B.Fragment,null,g,wp.element.createElement(F.Placeholder,{icon:r,label:m,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":m,placeholder:Object(X.__)("Enter URL to embed here…"),onChange:function(e){return d({url:e.target.value})}}),wp.element.createElement(F.Button,{isLarge:!0,type:"submit"},Object(X.__)("Embed")),i&&wp.element.createElement("p",{className:"components-placeholder__error"},Object(X.__)("Sorry, we could not embed that content.")))))}var b=Object(ea.parse)(c),v=Object(M.includes)(na,b.host.replace(/^www\./,"")),y=Object(X.sprintf)(Object(X.__)("Embedded content from %s"),b.host),_="wp-embed"===o?wp.element.createElement("div",{className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:n}}):wp.element.createElement("div",{className:"wp-block-embed__wrapper"},wp.element.createElement(F.SandBox,{html:n,title:y,type:o}));return wp.element.createElement(B.Fragment,null,g,wp.element.createElement("figure",{className:L()(h,{"is-video":"video"===o})},v?wp.element.createElement(F.Placeholder,{icon:r,label:Object(X.__)("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(X.__)("Previews for this are unavailable in the editor, sorry!"))):_,u&&u.length>0||f?wp.element.createElement(ho,{tagName:"figcaption",placeholder:Object(X.__)("Write caption…"),value:u,onChange:function(e){return d({caption:e})},inlineToolbar:!0}):null))}}]),n}(B.Component),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,i=n.align,a=n.type,s=n.providerNameSlug;if(!r)return null;var l=L()("wp-block-embed",(t={},gr()(t,"align"+i,i),gr()(t,"is-type-"+a,a),gr()(t,"is-provider-"+s,s),t));return wp.element.createElement("figure",{className:l},"\n"+r+"\n",o&&o.length>0&&wp.element.createElement("figcaption",null,o))}}}var oa="core/embed",ia=ra({title:Object(X.__)("Embed"),description:Object(X.__)("The Embed block allows you to easily add videos, images, tweets, audio, and other content to your post or page."),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 je("core/embed",{url:e.textContent.trim()})}}]}}),aa=[{name:"core-embed/twitter",settings:ra({title:"Twitter",icon:"embed-post",keywords:[Object(X.__)("tweet")]})},{name:"core-embed/youtube",settings:ra({title:"YouTube",icon:"embed-video",keywords:[Object(X.__)("music"),Object(X.__)("video")]})},{name:"core-embed/facebook",settings:ra({title:"Facebook",icon:"embed-post"})},{name:"core-embed/instagram",settings:ra({title:"Instagram",icon:"embed-photo",keywords:[Object(X.__)("image")]})},{name:"core-embed/wordpress",settings:ra({title:"WordPress",icon:"embed-post",keywords:[Object(X.__)("post"),Object(X.__)("blog")]})},{name:"core-embed/soundcloud",settings:ra({title:"SoundCloud",icon:"embed-audio",keywords:[Object(X.__)("music"),Object(X.__)("audio")]})},{name:"core-embed/spotify",settings:ra({title:"Spotify",icon:"embed-audio",keywords:[Object(X.__)("music"),Object(X.__)("audio")]})},{name:"core-embed/flickr",settings:ra({title:"Flickr",icon:"embed-photo",keywords:[Object(X.__)("image")]})},{name:"core-embed/vimeo",settings:ra({title:"Vimeo",icon:"embed-video",keywords:[Object(X.__)("video")]})}],sa=[{name:"core-embed/animoto",settings:ra({title:"Animoto",icon:"embed-video"})},{name:"core-embed/cloudup",settings:ra({title:"Cloudup",icon:"embed-post"})},{name:"core-embed/collegehumor",settings:ra({title:"CollegeHumor",icon:"embed-video"})},{name:"core-embed/dailymotion",settings:ra({title:"Dailymotion",icon:"embed-video"})},{name:"core-embed/funnyordie",settings:ra({title:"Funny or Die",icon:"embed-video"})},{name:"core-embed/hulu",settings:ra({title:"Hulu",icon:"embed-video"})},{name:"core-embed/imgur",settings:ra({title:"Imgur",icon:"embed-photo"})},{name:"core-embed/issuu",settings:ra({title:"Issuu",icon:"embed-post"})},{name:"core-embed/kickstarter",settings:ra({title:"Kickstarter",icon:"embed-post"})},{name:"core-embed/meetup-com",settings:ra({title:"Meetup.com",icon:"embed-post"})},{name:"core-embed/mixcloud",settings:ra({title:"Mixcloud",icon:"embed-audio",keywords:[Object(X.__)("music"),Object(X.__)("audio")]})},{name:"core-embed/photobucket",settings:ra({title:"Photobucket",icon:"embed-photo"})},{name:"core-embed/polldaddy",settings:ra({title:"Polldaddy",icon:"embed-post"})},{name:"core-embed/reddit",settings:ra({title:"Reddit",icon:"embed-post"})},{name:"core-embed/reverbnation",settings:ra({title:"ReverbNation",icon:"embed-audio"})},{name:"core-embed/screencast",settings:ra({title:"Screencast",icon:"embed-video"})},{name:"core-embed/scribd",settings:ra({title:"Scribd",icon:"embed-post"})},{name:"core-embed/slideshare",settings:ra({title:"Slideshare",icon:"embed-post"})},{name:"core-embed/smugmug",settings:ra({title:"SmugMug",icon:"embed-photo"})},{name:"core-embed/speaker",settings:ra({title:"Speaker",icon:"embed-audio"})},{name:"core-embed/ted",settings:ra({title:"TED",icon:"embed-video"})},{name:"core-embed/tumblr",settings:ra({title:"Tumblr",icon:"embed-post"})},{name:"core-embed/videopress",settings:ra({title:"VideoPress",icon:"embed-video",keywords:[Object(X.__)("video")]})},{name:"core-embed/wordpress-tv",settings:ra({title:"WordPress.tv",icon:"embed-video"})}],la=(n(599),gn.keycodes.BACKSPACE),ca=gn.keycodes.DELETE,ua=gn.keycodes.F10;var pa=function(e){function t(e){ot()(this,t);var n=lt()(this,(t.__proto__||nt()(t)).call(this,e));return n.initialize=n.initialize.bind(n),n.onSetup=n.onSetup.bind(n),n.focus=n.focus.bind(n),n}return ut()(t,e),at()(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("editor-"+this.props.id)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.id,r=t.attributes.content,o=window.tinymce.get("editor-"+n);e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.id,t=window.wpEditorL10n.tinymce.settings;wp.oldEditor.initialize("editor-"+e,{tinymce:R()({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-"+e,setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t=this,n=this.props,r=n.attributes.content,o=n.setAttributes,i=this.ref;this.editor=e,r&&e.on("loadContent",function(){return e.setContent(r)}),e.on("blur",function(){return o({content:e.getContent()}),!1}),e.on("keydown",function(n){n.keyCode!==la&&n.keyCode!==ca||!function(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))}(e)||(t.props.onReplace([]),n.preventDefault(),n.stopImmediatePropagation()),n.altKey&&n.keyCode===ua&&n.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(X.__)("More"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(i,"has-advanced-toolbar",t)}}),e.on("init",function(){var e=t.editor.getBody();document.activeElement===e&&(e.blur(),t.editor.focus())})}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.id;return[wp.element.createElement("div",{key:"toolbar",id:"toolbar-"+t,ref:function(t){return e.ref=t},className:"freeform-toolbar",onClick:this.focus,"data-placeholder":Object(X.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),wp.element.createElement("div",{key:"editor",id:"editor-"+t,className:"wp-block-freeform blocks-rich-text__tinymce"})]}}]),t}(B.Component),da="core/freeform",fa={title:Object(X.__)("Classic"),description:Object(X.__)("The classic editor, in block form."),icon:"editor-kitchensink",category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1},edit:pa,save:function(e){var t=e.attributes.content;return wp.element.createElement(B.RawHTML,null,t)}},ha=(n(598),"core/html"),ga={title:Object(X.__)("Custom HTML"),description:Object(X.__)("Add custom HTML code and preview it right here in the editor."),icon:"html",category:"formatting",keywords:[Object(X.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{from:[{type:"raw",isMatch:function(e){return"IFRAME"===e.nodeName}}]},edit:Object(F.withState)({preview:!1})(function(e){var t=e.attributes,n=e.setAttributes,r=e.setState,o=e.isSelected,i=e.toggleSelection,a=e.preview;return wp.element.createElement("div",{className:"wp-block-html"},wp.element.createElement($,null,wp.element.createElement("div",{className:"components-toolbar"},wp.element.createElement("button",{className:"components-tab-button "+(a?"":"is-active"),onClick:function(){return r({preview:!1})}},wp.element.createElement("span",null,"HTML")),wp.element.createElement("button",{className:"components-tab-button "+(a?"is-active":""),onClick:function(){return r({preview:!0})}},wp.element.createElement("span",null,Object(X.__)("Preview"))))),a?wp.element.createElement(F.SandBox,{html:t.content}):wp.element.createElement(F.CodeEditor,{value:t.content,focus:o,onFocus:i,onChange:function(e){return n({content:e})}}))}),save:function(e){var t=e.attributes;return wp.element.createElement(B.RawHTML,null,t.content)}},ma=(n(597),n(596),n(47)),ba=n.n(ma),va=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(e),e}return ut()(t,e),at()(t,[{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this,t=this.props.latestPosts.data,n=this.props,r=n.attributes,o=n.categoriesList,i=n.isSelected,a=n.setAttributes,s=r.displayPostDate,l=r.align,c=r.layout,u=r.columns,p=r.order,d=r.orderBy,f=r.categories,h=r.postsToShow,g=i&&wp.element.createElement(yo,{key:"inspector"},wp.element.createElement(F.PanelBody,{title:Object(X.__)("Latest Posts Settings")},wp.element.createElement(F.QueryControls,R()({order:p,orderBy:d},{numberOfItems:h,categoriesList:Object(M.get)(o,"data",{}),selectedCategoryId:f,onOrderChange:function(e){return a({order:e})},onOrderByChange:function(e){return a({orderBy:e})},onCategoryChange:function(e){return a({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return a({postsToShow:e})}})),wp.element.createElement(F.ToggleControl,{label:Object(X.__)("Display post date"),checked:s,onChange:this.toggleDisplayPostDate}),"grid"===c&&wp.element.createElement(F.RangeControl,{label:Object(X.__)("Columns"),value:u,onChange:function(e){return a({columns:e})},min:2,max:m?Math.min(6,t.length):6}))),m=Array.isArray(t)&&t.length;if(!m)return[g,wp.element.createElement(F.Placeholder,{key:"placeholder",icon:"admin-post",label:Object(X.__)("Latest Posts")},Array.isArray(t)?Object(X.__)("No posts found."):wp.element.createElement(F.Spinner,null))];var b=t.length>h?t.slice(0,h):t,v=[{icon:"list-view",title:Object(X.__)("List View"),onClick:function(){return a({layout:"list"})},isActive:"list"===c},{icon:"grid-view",title:Object(X.__)("Grid View"),onClick:function(){return a({layout:"grid"})},isActive:"grid"===c}];return[g,i&&wp.element.createElement($,{key:"controls"},wp.element.createElement(re,{value:l,onChange:function(e){a({align:e})},controls:["center","wide","full"]}),wp.element.createElement(F.Toolbar,{controls:v})),wp.element.createElement("ul",{className:L()(this.props.className,gr()({"is-grid":"grid"===c},"columns-"+u,"grid"===c)),key:"latest-posts"},b.map(function(t,n){return wp.element.createElement("li",{key:n},wp.element.createElement("a",{href:t.link,target:"_blank"},Object(gn.decodeEntities)(t.title.rendered.trim())||Object(X.__)("(Untitled)")),s&&t.date_gmt&&wp.element.createElement("time",{dateTime:ba()(t.date_gmt).utc().format(),className:e.props.className+"__post-date"},ba()(t.date_gmt).local().format("MMMM DD, Y")))}))]}}]),t}(B.Component),ya=Object(F.withAPIData)(function(e){var t=e.attributes,n=t.postsToShow,r=t.order,o=t.orderBy,i=t.categories;return{latestPosts:"/wp/v2/posts?"+Object(jr.stringify)(Object(M.pickBy)({categories:i,order:r,orderBy:o,per_page:n,_fields:["date_gmt","link","title"]},function(e){return!Object(M.isUndefined)(e)})),categoriesList:"/wp/v2/categories?"+Object(jr.stringify)({per_page:100,_fields:["id","name","parent"]})}})(va),_a="core/latest-posts",wa={title:Object(X.__)("Latest Posts"),description:Object(X.__)("Shows a list of your site's most recent posts."),icon:"list-view",category:"widgets",keywords:[Object(X.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:ya,save:function(){return null}},xa=(n(595),"core/list"),ka={title:Object(X.__)("List"),description:Object(X.__)("List. Numbered or bulleted."),icon:"editor-ul",category:"common",keywords:[Object(X.__)("bullet list"),Object(X.__)("ordered list"),Object(X.__)("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});return je("core/list",{nodeName:"UL",values:!t.every(M.isEmpty)?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 Object(M.get)(e,"children.props.children")});return Object(M.isEmpty)(n)||r.push(n),je("core/list",{nodeName:"UL",values:!r.every(M.isEmpty)?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 je("core/list",{nodeName:"UL",values:[wp.element.createElement("li",{key:"1"},t)]})}},{type:"pattern",regExp:/^1[.)]\s/,transform:function(e){var t=e.content;return je("core/list",{nodeName:"OL",values:[wp.element.createElement("li",{key:"1"},t)]})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(M.compact)(t.map(function(e){return Object(M.get)(e,"props.children",null)})).map(function(e){return je("core/paragraph",{content:[e]})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return je("core/quote",{value:Object(M.compact)((1===t.length?t:Object(M.initial)(t)).map(function(e){return Object(M.get)(e,"props.children",null)})).map(function(e){return{children:wp.element.createElement("p",null,e)}}),citation:1===t.length?void 0:[Object(M.get)(Object(M.last)(t),"props.children")]})}}]},merge:function(e,t){var n=t.values||[];return t.content&&n.push(t.content),R()({},e,{values:[].concat(ie()(e.values),ie()(n))})},edit:function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(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 ut()(t,e),at()(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=Object(M.find)(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)})});var n=window.navigator.browserLanguage||window.navigator.language;!/^(?:fr|nl|sv|ru|de|es|it)/.test(n)?(e.shortcuts.add("meta+219","Decrease indent","Outdent"),e.shortcuts.add("meta+221","Increase indent","Indent")):(e.shortcuts.add("meta+shift+m","Decrease indent","Outdent"),e.shortcuts.add("meta+m","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 R()({},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.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,i=e.onReplace,a=e.className,s=t.nodeName,l=t.values;return wp.element.createElement(B.Fragment,null,wp.element.createElement($,{controls:[{icon:"editor-ul",title:Object(X.__)("Convert to unordered list"),isActive:this.isListActive("UL"),onClick:this.createSetListType("UL","InsertUnorderedList")},{icon:"editor-ol",title:Object(X.__)("Convert to ordered list"),isActive:this.isListActive("OL"),onClick:this.createSetListType("OL","InsertOrderedList")},{icon:"editor-outdent",title:Object(X.__)("Outdent list item"),onClick:this.createExecCommand("Outdent")},{icon:"editor-indent",title:Object(X.__)("Indent list item"),onClick:this.createExecCommand("Indent")}]}),wp.element.createElement(ho,{multiline:"li",tagName:s.toLowerCase(),getSettings:this.getEditorSettings,onSetup:this.setupEditor,onChange:this.setNextValues,value:l,wrapperClassName:"blocks-list",className:a,placeholder:Object(X.__)("Write list…"),onMerge:o,onSplit:n?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];i.length||i.push(je("core/paragraph")),t.length&&i.push(je("core/list",{nodeName:s,values:t})),r({values:e}),n(i)}:void 0,onRemove:function(){return i([])}}))}}]),t}(B.Component),save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(B.createElement)(n.toLowerCase(),null,r)}},Ea=(n(594),"core/more"),Ca={title:Object(X.__)("More"),description:Object(X.__)('"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}},transforms:{from:[{type:"raw",isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),je("core/more",o)}}]},edit:function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.onChangeInput=e.onChangeInput.bind(e),e.state={defaultText:Object(X.__)("Read more")},e}return ut()(t,e),at()(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,i=void 0!==t?t:o,a=i.length+1;return wp.element.createElement(B.Fragment,null,wp.element.createElement(yo,null,wp.element.createElement(F.PanelBody,null,wp.element.createElement(F.ToggleControl,{label:Object(X.__)('Hide the teaser before the "More" tag'),checked:!!n,onChange:function(){return r({noTeaser:!n})}}))),wp.element.createElement("div",{className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:i,size:a,onChange:this.onChangeInput})))}}]),t}(B.Component),save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more "+n+"--\x3e":"\x3c!--more--\x3e",i=r?"\x3c!--noteaser--\x3e":"";return wp.element.createElement(B.RawHTML,null,Object(M.compact)([o,i]).join("\n"))}},Oa=(n(593),"core/nextpage"),Sa={title:Object(X.__)("Page break"),description:Object(X.__)("This block allows you to set break points on your post. Visitors of your blog are then presented with content split into multiple pages."),icon:"admin-page",category:"layout",keywords:[Object(X.__)("next page"),Object(X.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return je("core/nextpage",{})}}]},edit:function(){return wp.element.createElement("div",{className:"wp-block-nextpage"},wp.element.createElement("span",null,Object(X.__)("Page break")))},save:function(){return wp.element.createElement(B.RawHTML,null,"\x3c!--nextpage--\x3e")}},Ta=(n(592),"core/preformatted"),ja={title:Object(X.__)("Preformatted"),description:Object(X.__)("Preformatted text keeps your spaces, tabs and linebreaks as they are."),icon:"text",category:"formatting",attributes:{content:{type:"array",source:"children",selector:"pre"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return je("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 je("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.isSelected,i=t.content;return[wp.element.createElement(ho,{key:"block",tagName:"pre",value:i,onChange:function(e){n({content:e})},placeholder:Object(X.__)("Write preformatted text…"),wrapperClassName:r,isSelected:o})]},save:function(e){var t=e.attributes.content;return wp.element.createElement("pre",null,t)}},Aa=(n(591),n(590),{value:{type:"array",source:"query",selector:"blockquote > p",query:{children:{source:"node"}}},citation:{type:"array",source:"children",selector:"cite"},align:{type:"string",default:"none"}}),Na="core/pullquote",Ra={title:Object(X.__)("Pullquote"),description:Object(X.__)("A pullquote is a brief, attention-catching quotation taken from the main text of an article and used as a subheading or graphic feature."),icon:"format-quote",category:"formatting",attributes:Aa,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:Object(F.withState)({editable:"content"})(function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,i=e.editable,a=e.setState,s=t.value,l=t.citation,c=t.align,u=function(e){return function(){return a({editable:e})}};return[r&&wp.element.createElement($,{key:"controls"},wp.element.createElement(re,{value:c,onChange:function(e){return n({align:e})}})),wp.element.createElement("blockquote",{key:"quote",className:o},wp.element.createElement(ho,{multiline:"p",value:function(e){return Object(M.map)(e,function(e){return e.children})}(s),onChange:function(e){return n({value:(t=e,Object(M.map)(t,function(e){return{children:e}}))});var t},placeholder:Object(X.__)("Write quote…"),wrapperClassName:"blocks-pullquote__content",isSelected:r&&"content"===i,onFocus:u("content")}),(l||r)&&wp.element.createElement(ho,{tagName:"cite",value:l,placeholder:Object(X.__)("Write citation…"),onChange:function(e){return n({citation:e})},isSelected:r&&"cite"===i,onFocus:u("cite")}))]}),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:R()({},Aa,{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))}}]},Pa=function(e){function t(e){ot()(this,t);var n=lt()(this,(t.__proto__||nt()(t)).call(this,e));return n.state={},n}return ut()(t,e),at()(t,[{key:"getChildContext",value:function(){var e=this.props,t=e.id,n=e.user;return{BlockList:(0,e.createInnerBlockList)(t),canUserUseUnfilteredHTML:Object(M.get)(n.data,["capabilities","unfiltered_html"],!1)}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.attributes,r=void 0===n?{}:n,o=e.isSelected,i=Ee(t);if(!i)return null;var a=Se(i,"className",!0)?ft(t):null,s=L()(a,r.className),l=i.edit||i.save;return wp.element.createElement(H,{value:this.state.context},wp.element.createElement(l,R()({},this.props,{className:s,focus:!!o&&{},setFocus:M.noop})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected===Object(M.get)(t,["context","isSelected"])?null:{context:{isSelected:e.isSelected}}}}]),t}(B.Component);Pa.childContextTypes={BlockList:M.noop,canUserUseUnfilteredHTML:M.noop};var La=Object(B.compose)([Object(F.withFilters)("blocks.BlockEdit"),Object(vr.withSelect)(function(e){return{postType:e("core/editor").getEditedPostAttribute("type")}}),Object(F.withAPIData)(function(e){return{user:"/wp/v2/users/me?post_type="+e.postType+"&context=edit"}}),Object(F.withContext)("createInnerBlockList")()])(Pa),Ma=(n(589),gn.keycodes.ESCAPE),Ba=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.titleField=Object(B.createRef)(),e.editButton=Object(B.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(e),e.handleTitleChange=e.handleTitleChange.bind(e),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(e),e}return ut()(t,e),at()(t,[{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===Ma&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.onEdit,i=e.onSave,a=e.onCancel;return wp.element.createElement(B.Fragment,null,!t&&!r&&wp.element.createElement("div",{className:"shared-block-edit-panel"},wp.element.createElement("b",{className:"shared-block-edit-panel__info"},n),wp.element.createElement(F.Button,{ref:this.editButton,isLarge:!0,className:"shared-block-edit-panel__button",onClick:o},Object(X.__)("Edit"))),(t||r)&&wp.element.createElement("form",{className:"shared-block-edit-panel",onSubmit:this.handleFormSubmit},wp.element.createElement("input",{ref:this.titleField,type:"text",disabled:r,className:"shared-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown}),wp.element.createElement(F.Button,{type:"submit",isPrimary:!0,isLarge:!0,isBusy:r,disabled:!n||r,className:"shared-block-edit-panel__button",onClick:i},Object(X.__)("Save")),wp.element.createElement(F.Button,{isLarge:!0,disabled:r,className:"shared-block-edit-panel__button",onClick:a},Object(X.__)("Cancel"))))}}]),t}(B.Component);n(588);var Da=function(e){var t=e.title;return wp.element.createElement(F.Tooltip,{text:Object(X.sprintf)(Object(X.__)("Shared Block: %s"),t)},wp.element.createElement("span",{className:"shared-block-indicator"},wp.element.createElement(F.Dashicon,{icon:"controls-repeat"})))},Fa=function(e){function t(e){var n=e.sharedBlock;ot()(this,t);var r=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return r.startEditing=r.startEditing.bind(r),r.stopEditing=r.stopEditing.bind(r),r.setAttributes=r.setAttributes.bind(r),r.setTitle=r.setTitle.bind(r),r.save=r.save.bind(r),r.state={isEditing:!(!n||!n.isTemporary),title:null,changedAttributes:null},r}return ut()(t,e),at()(t,[{key:"componentDidMount",value:function(){this.props.sharedBlock||this.props.fetchSharedBlock()}},{key:"startEditing",value:function(){var e=this.props.sharedBlock;this.setState({isEditing:!0,title:e.title,changedAttributes:{}})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,changedAttributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){if(null!==t.changedAttributes)return{changedAttributes:R()({},t.changedAttributes,e)}})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.sharedBlock,n=e.onUpdateTitle,r=e.updateAttributes,o=e.block,i=e.onSave,a=this.state,s=a.title,l=a.changedAttributes;s!==t.title&&n(s),r(o.uid,l),i(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.sharedBlock,r=e.block,o=e.isFetching,i=e.isSaving,a=this.state,s=a.isEditing,l=a.title,c=a.changedAttributes;if(!n&&o)return wp.element.createElement(F.Placeholder,null,wp.element.createElement(F.Spinner,null));if(!n||!r)return wp.element.createElement(F.Placeholder,null,Object(X.__)("Block has been deleted or is unavailable."));var u=wp.element.createElement(La,R()({},this.props,{isSelected:s&&t,id:r.uid,name:r.name,attributes:R()({},r.attributes,c),setAttributes:s?this.setAttributes:M.noop}));return s||(u=wp.element.createElement(F.Disabled,null,u)),wp.element.createElement(B.Fragment,null,u,(t||s)&&wp.element.createElement(Ba,{isEditing:s,title:null!==l?l:n.title,isSaving:i&&!n.isTemporary,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!s&&wp.element.createElement(Da,{title:n.title}))}}]),t}(B.Component),Ia=Object(B.compose)([Object(vr.withSelect)(function(e,t){var n=e("core/editor"),r=n.getSharedBlock,o=n.isFetchingSharedBlock,i=n.isSavingSharedBlock,a=n.getBlock,s=t.attributes.ref,l=r(s);return{sharedBlock:l,isFetching:o(s),isSaving:i(s),block:l?a(l.uid):null}}),Object(vr.withDispatch)(function(e,t){var n=e("core/editor"),r=n.fetchSharedBlocks,o=n.updateBlockAttributes,i=n.updateSharedBlockTitle,a=n.saveSharedBlock,s=t.attributes.ref;return{fetchSharedBlock:Object(M.partial)(r,s),updateAttributes:o,onUpdateTitle:Object(M.partial)(i,s),onSave:Object(M.partial)(a,s)}})])(Fa),za="core/block",Ha={title:Object(X.__)("Shared Block"),category:"shared",isPrivate:!0,attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1},edit:Ia,save:function(){return null}},qa=(n(587),"core/separator"),Ua={title:Object(X.__)("Separator"),description:Object(X.__)("Use the separator to indicate a thematic change in the content."),icon:"minus",category:"layout",keywords:[Object(X.__)("horizontal-line"),"hr",Object(X.__)("divider")],transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^-{3,}$/,transform:function(){return je("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)}},Ka=(n(586),"core/shortcode"),Va={title:Object(X.__)("Shortcode"),description:Object(X.__)("A shortcode is a WordPress-specific code snippet that is written between square brackets as [shortcode]. "),icon:"shortcode",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}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(F.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r="blocks-shortcode-input-"+e.instanceId;return wp.element.createElement("div",{className:"wp-block-shortcode"},wp.element.createElement("label",{htmlFor:r},wp.element.createElement(F.Dashicon,{icon:"shortcode"}),Object(X.__)("Shortcode")),wp.element.createElement(Fi,{className:"input-control",id:r,value:t.text,placeholder:Object(X.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return wp.element.createElement(B.RawHTML,null,t.text)}},Wa=(n(585),n(584),"core/subhead"),Ga={title:Object(X.__)("Subhead"),description:Object(X.__)("Explanatory text under the main heading of an article."),icon:"text",category:"common",useOnce:!0,attributes:{content:{type:"array",source:"children",selector:"p"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return je("core/subhead",{content:e.content})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return je("core/paragraph",{content:e.content})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,i=t.content,a=t.placeholder;return wp.element.createElement(ho,{tagName:"p",key:"editable",value:i,onChange:function(e){n({content:e})},className:o,placeholder:a||Object(X.__)("Write subhead…"),isSelected:r})},save:function(e){var t=e.attributes,n=e.className,r=t.content;return wp.element.createElement("p",{className:n},r)}};n(583),n(582);function $a(e){var t=e.getBody().querySelector("td,th");t&&(t.focus(),e.selection.select(t,!0),e.selection.collapse(!1))}function Xa(e){return function(t){t&&(function(e){return e.dom.getParent(e.selection.getStart(!0),"table",e.getBody().parentNode)}(t)||$a(t),t.execCommand(e))}}var Ya=[{icon:"table-row-before",title:Object(X.__)("Add Row Before"),onClick:Xa("mceTableInsertRowBefore")},{icon:"table-row-after",title:Object(X.__)("Add Row After"),onClick:Xa("mceTableInsertRowAfter")},{icon:"table-row-delete",title:Object(X.__)("Delete Row"),onClick:Xa("mceTableDeleteRow")},{icon:"table-col-before",title:Object(X.__)("Add Column Before"),onClick:Xa("mceTableInsertColBefore")},{icon:"table-col-after",title:Object(X.__)("Add Column After"),onClick:Xa("mceTableInsertColAfter")},{icon:"table-col-delete",title:Object(X.__)("Delete Column"),onClick:Xa("mceTableDeleteCol")}],Za=function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).call(this));return e.handleSetup=e.handleSetup.bind(e),e.state={editor:null},e}return ut()(t,e),at()(t,[{key:"handleSetup",value:function(e,t){e.on("init",function(){t&&$a(e)}),this.setState({editor:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.onChange,o=t.className,i=t.isSelected;return[wp.element.createElement(ho,{key:"editor",tagName:"table",wrapperClassName:o,getSettings:function(e){return R()({},e,{plugins:(e.plugins||[]).concat("table"),table_tab_navigation:!1})},onSetup:function(t){return e.handleSetup(t,i)},onChange:r,value:n,isSelected:i}),i&&wp.element.createElement($,{key:"menu"},wp.element.createElement(F.Toolbar,null,wp.element.createElement(F.DropdownMenu,{icon:"editor-table",label:Object(X.__)("Edit Table"),controls:Ya.map(function(t){return R()({},t,{onClick:function(){return t.onClick(e.state.editor)}})})})))]}}]),t}(B.Component),Qa="core/table",Ja={title:Object(X.__)("Table"),description:Object(X.__)("Tables. Best used for tabular data."),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,r=e.isSelected,o=e.className,i=t.content;return[r&&wp.element.createElement($,{key:"toolbar"},wp.element.createElement(re,{value:t.align,onChange:function(e){return n({align:e})}})),wp.element.createElement(Za,{key:"editor",onChange:function(e){n({content:e})},content:i,className:o,isSelected:r})]},save:function(e){var t=e.attributes,n=t.content,r=t.align;return wp.element.createElement("table",{className:r?"align"+r:null},n)}},es=(n(581),n(580),"core/text-columns"),ts={title:Object(X.__)("Text Columns"),description:Object(X.__)("Add text across columns. This block is experimental"),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,o=e.isSelected,i=t.width,a=t.content,s=t.columns;return[o&&wp.element.createElement($,{key:"controls"},wp.element.createElement(re,{value:i,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),o&&wp.element.createElement(yo,{key:"inspector"},wp.element.createElement(F.PanelBody,null,wp.element.createElement(F.RangeControl,{label:Object(X.__)("Columns"),value:s,onChange:function(e){return n({columns:e})},min:2,max:4}))),wp.element.createElement("div",{className:r+" align"+i+" columns-"+s,key:"block"},Object(M.times)(s,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement(ho,{tagName:"p",value:a&&a[e]&&a[e].children,onChange:function(t){n({content:[].concat(ie()(a.slice(0,e)),[{children:t}],ie()(a.slice(e+1)))})},placeholder:Object(X.__)("New Column"),isSelected:o}))}))]},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return wp.element.createElement("div",{className:"align"+n+" columns-"+o},Object(M.times)(o,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement("p",null,r&&r[e].children))}))}},ns=(n(579),"core/verse"),rs={title:Object(X.__)("Verse"),description:Object(X.__)("Write poetry and other literary expressions honoring all spaces and line-breaks."),icon:"edit",category:"formatting",keywords:[Object(X.__)("poetry")],attributes:{content:{type:"array",source:"children",selector:"pre"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return je("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return je("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.isSelected,i=t.content;return wp.element.createElement(ho,{tagName:"pre",value:i,onChange:function(e){n({content:e})},placeholder:Object(X.__)("Write…"),wrapperClassName:r,formattingControls:["bold","italic","strikethrough"],isSelected:o})},save:function(e){var t=e.attributes,n=e.className;return wp.element.createElement("pre",{className:n},t.content)}},os=(n(578),n(577),"core/video"),is={title:Object(X.__)("Video"),description:Object(X.__)("The Video block allows you to embed video files and play them back using a simple player."),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||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function t(){ot()(this,t);var e=lt()(this,(t.__proto__||nt()(t)).apply(this,arguments));return e.state={editing:!e.props.attributes.src,src:e.props.attributes.src},e}return ut()(t,e),at()(t,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.align,r=t.caption,o=t.id,i=this.props,a=i.setAttributes,s=i.isSelected,l=i.className,c=this.state,u=c.editing,p=c.src,d=function(t){t&&t.url&&(a({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1}))},f=function(e){var t=De()(e,1)[0];return d(t)},h=s&&wp.element.createElement($,{key:"controls"},wp.element.createElement(re,{value:n,onChange:function(e){return a({align:e})}}),!u&&wp.element.createElement(F.Toolbar,null,wp.element.createElement(F.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(X.__)("Edit video"),onClick:function(){e.setState({editing:!0})},icon:"edit"})));return u?[h,wp.element.createElement(F.Placeholder,{key:"placeholder",icon:"media-video",label:Object(X.__)("Video"),instructions:Object(X.__)("Select a video file from your library, or upload a new one"),className:l},wp.element.createElement("form",{onSubmit:function(t){return t.preventDefault(),p&&(a({src:p}),e.setState({editing:!1})),!1}},wp.element.createElement("input",{type:"url",className:"components-placeholder__input",placeholder:Object(X.__)("Enter URL of video file here…"),onChange:function(t){return e.setState({src:t.target.value})},value:p||""}),wp.element.createElement(F.Button,{isLarge:!0,type:"submit"},Object(X.__)("Use URL"))),wp.element.createElement(F.FormFileUpload,{isLarge:!0,className:"wp-block-video__upload-button",onChange:function(e){return Object(gn.mediaUpload)(e.target.files,f,"video")},accept:"video/*"},Object(X.__)("Upload")),wp.element.createElement(Yo,{onSelect:d,type:"video",id:o,render:function(e){var t=e.open;return wp.element.createElement(F.Button,{isLarge:!0,onClick:t},Object(X.__)("Media Library"))}}))]:[h,wp.element.createElement("figure",{key:"video",className:l},wp.element.createElement("video",{controls:!0,src:p}),(r&&r.length||s)&&wp.element.createElement(ho,{tagName:"figcaption",placeholder:Object(X.__)("Write caption…"),value:r,onChange:function(e){return a({caption:e})},isSelected:s,inlineToolbar:!0}))]}}]),t}(B.Component),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))}},as=function(){[r,o,i,s,v,a,C,l,c,u,p,d,f,h].concat(ie()(aa),ie()(sa),[g,m,b,y,_,w,x,E,k,O,S,T,j,A]).forEach(function(e){be(e.name,e.settings)}),we(Ro),ye(da)},ss=function(e){function t(){return ot()(this,t),lt()(this,(t.__proto__||nt()(t)).apply(this,arguments))}return ut()(t,e),at()(t,[{key:"getChildContext",value:function(){return Object(M.pick)(this.props,Ue()(this.constructor.childContextTypes))}},{key:"render",value:function(){return this.props.children}}]),t}(B.Component);ss.childContextTypes={onUndo:M.noop,onRedo:M.noop,onCreateUndoLevel:M.noop};var ls=ss;n.d(t,"createBlock",function(){return je}),n.d(t,"cloneBlock",function(){return Ae}),n.d(t,"getPossibleBlockTransformations",function(){return Re}),n.d(t,"switchToBlockType",function(){return Me}),n.d(t,"getBlockTransforms",function(){return Le}),n.d(t,"findTransform",function(){return Pe}),n.d(t,"parse",function(){return Kt}),n.d(t,"getBlockAttributes",function(){return Ht}),n.d(t,"parseWithAttributeSchema",function(){return It}),n.d(t,"rawHandler",function(){return $n}),n.d(t,"serialize",function(){return yt}),n.d(t,"getBlockContent",function(){return mt}),n.d(t,"getBlockDefaultClassName",function(){return ft}),n.d(t,"getSaveElement",function(){return ht}),n.d(t,"isValidBlock",function(){return Lt}),n.d(t,"getCategories",function(){return pe}),n.d(t,"registerBlockType",function(){return be}),n.d(t,"unregisterBlockType",function(){return ve}),n.d(t,"setUnknownTypeHandlerName",function(){return ye}),n.d(t,"getUnknownTypeHandlerName",function(){return _e}),n.d(t,"setDefaultBlockName",function(){return we}),n.d(t,"getDefaultBlockName",function(){return xe}),n.d(t,"getDefaultBlockForPostFormat",function(){return ke}),n.d(t,"getBlockType",function(){return Ee}),n.d(t,"getBlockTypes",function(){return Ce}),n.d(t,"getBlockSupport",function(){return Oe}),n.d(t,"hasBlockSupport",function(){return Se}),n.d(t,"isSharedBlock",function(){return Te}),n.d(t,"isUnmodifiedDefaultBlock",function(){return Xn}),n.d(t,"doBlocksMatchTemplate",function(){return Yn}),n.d(t,"synchronizeBlocksWithTemplate",function(){return Zn}),n.d(t,"registerCoreBlocks",function(){return as}),n.d(t,"AlignmentToolbar",function(){return br}),n.d(t,"Autocomplete",function(){return wr}),n.d(t,"BlockAlignmentToolbar",function(){return re}),n.d(t,"BlockControls",function(){return $}),n.d(t,"BlockFormatControls",function(){return Or}),n.d(t,"BlockEdit",function(){return La}),n.d(t,"BlockIcon",function(){return pr}),n.d(t,"ColorPalette",function(){return wo}),n.d(t,"ImagePlaceholder",function(){return Zo}),n.d(t,"InnerBlocks",function(){return Ki}),n.d(t,"InspectorControls",function(){return yo}),n.d(t,"InspectorAdvancedControls",function(){return ir}),n.d(t,"PlainText",function(){return Fi}),n.d(t,"MediaUpload",function(){return Yo}),n.d(t,"RichText",function(){return ho}),n.d(t,"RichTextProvider",function(){return ls}),n.d(t,"UrlInput",function(){return Mr}),n.d(t,"UrlInputButton",function(){return Qo}),n.d(t,"EditorSettings",function(){return Q}),n.d(t,"withEditorSettings",function(){return J})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var r=l(n(12)),o=l(n(42)),i=l(n(162)),a=l(n(153)),s=n(74);function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,l=e.hex,c=e.colors,u=e.width,p=e.triangle,d=(0,o.default)({default:{card:{width:u,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"===p,"top-left-triangle":"top-left"===p,"top-right-triangle":"top-right"===p}),f=function(e,n){a.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return r.default.createElement("div",{style:d.card,className:"twitter-picker"},r.default.createElement("div",{style:d.triangleShadow}),r.default.createElement("div",{style:d.triangle}),r.default.createElement("div",{style:d.body},(0,i.default)(c,function(e,t){return r.default.createElement(s.Swatch,{key:t,color:e,hex:e,style:d.swatch,onClick:f,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),r.default.createElement("div",{style:d.hash},"#"),r.default.createElement(s.EditableInput,{style:{input:d.input},value:l.replace("#",""),onChange:f}),r.default.createElement("div",{style:d.clear})))};c.defaultProps={width:"276px",colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"},t.default=(0,s.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var r=a(n(12)),o=a(n(42)),i=n(74);function a(e){return e&&e.__esModule?e:{default:e}}var s=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,a=void 0===n?function(){}:n,s=e.onSwatchHover,l=e.first,c=e.last,u=e.active,p=(0,o.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:l,last:c,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.default.createElement(i.Swatch,{color:t,style:p.color,onClick:a,onHover:s,focusStyle:{boxShadow:"0 0 4px "+t}},r.default.createElement("div",{style:p.check},r.default.createElement("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},r.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var r=s(n(12)),o=s(n(42)),i=s(n(162)),a=s(n(341));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.SwatchesGroup=function(e){var t=e.onClick,n=e.onSwatchHover,s=e.group,l=e.active,c=(0,o.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return r.default.createElement("div",{style:c.group},(0,i.default)(s,function(e,o){return r.default.createElement(a.default,{key:e,color:e,active:e.toLowerCase()===l,first:0===o,last:o===s.length-1,onClick:t,onSwatchHover:n})}))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var r=p(n(12)),o=p(n(42)),i=p(n(162)),a=p(n(153)),s=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}(n(245)),l=n(74),c=n(216),u=p(n(342));function p(e){return e&&e.__esModule?e:{default:e}}var d=t.Swatches=function(e){var t=e.width,n=e.height,s=e.onChange,l=e.onSwatchHover,p=e.colors,d=e.hex,f=(0,o.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),h=function(e,t){a.default.isValidHex(e)&&s({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:f.picker,className:"swatches-picker"},r.default.createElement(c.Raised,null,r.default.createElement("div",{style:f.overflow},r.default.createElement("div",{style:f.body},(0,i.default)(p,function(e){return r.default.createElement(u.default,{key:e.toString(),group:e,active:d,onClick:h,onSwatchHover:l})}),r.default.createElement("div",{style:f.clear})))))};d.defaultProps={width:320,height:240,colors:[[s.red[900],s.red[700],s.red[500],s.red[300],s.red[100]],[s.pink[900],s.pink[700],s.pink[500],s.pink[300],s.pink[100]],[s.purple[900],s.purple[700],s.purple[500],s.purple[300],s.purple[100]],[s.deepPurple[900],s.deepPurple[700],s.deepPurple[500],s.deepPurple[300],s.deepPurple[100]],[s.indigo[900],s.indigo[700],s.indigo[500],s.indigo[300],s.indigo[100]],[s.blue[900],s.blue[700],s.blue[500],s.blue[300],s.blue[100]],[s.lightBlue[900],s.lightBlue[700],s.lightBlue[500],s.lightBlue[300],s.lightBlue[100]],[s.cyan[900],s.cyan[700],s.cyan[500],s.cyan[300],s.cyan[100]],[s.teal[900],s.teal[700],s.teal[500],s.teal[300],s.teal[100]],["#194D33",s.green[700],s.green[500],s.green[300],s.green[100]],[s.lightGreen[900],s.lightGreen[700],s.lightGreen[500],s.lightGreen[300],s.lightGreen[100]],[s.lime[900],s.lime[700],s.lime[500],s.lime[300],s.lime[100]],[s.yellow[900],s.yellow[700],s.yellow[500],s.yellow[300],s.yellow[100]],[s.amber[900],s.amber[700],s.amber[500],s.amber[300],s.amber[100]],[s.orange[900],s.orange[700],s.orange[500],s.orange[300],s.orange[100]],[s.deepOrange[900],s.deepOrange[700],s.deepOrange[500],s.deepOrange[300],s.deepOrange[100]],[s.brown[900],s.brown[700],s.brown[500],s.brown[300],s.brown[100]],[s.blueGrey[900],s.blueGrey[700],s.blueGrey[500],s.blueGrey[300],s.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]]},t.default=(0,l.ColorWrap)(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var r=i(n(12)),o=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.SliderPointer=function(){var e=(0,o.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 r.default.createElement("div",{style:e.picker})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var r=i(n(12)),o=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.SliderSwatch=function(e){var t=e.hsl,n=e.offset,i=e.onClick,a=void 0===i?function(){}:i,s=e.active,l=e.first,c=e.last,u=(0,o.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:s,first:l,last:c});return r.default.createElement("div",{style:u.swatch,onClick:function(e){return a({h:t.h,s:.5,l:n,source:"hsl"},e)}})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var r=a(n(12)),o=a(n(42)),i=a(n(345));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.SliderSwatches=function(e){var t=e.onClick,n=e.hsl,a=(0,o.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return r.default.createElement("div",{style:a.swatches},r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".80",active:Math.round(100*n.l)/100==.8&&Math.round(100*n.s)/100==.5,onClick:t,first:!0})),r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".65",active:Math.round(100*n.l)/100==.65&&Math.round(100*n.s)/100==.5,onClick:t})),r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".50",active:Math.round(100*n.l)/100==.5&&Math.round(100*n.s)/100==.5,onClick:t})),r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".35",active:Math.round(100*n.l)/100==.35&&Math.round(100*n.s)/100==.5,onClick:t})),r.default.createElement("div",{style:a.swatch},r.default.createElement(i.default,{hsl:n,offset:".20",active:Math.round(100*n.l)/100==.2&&Math.round(100*n.s)/100==.5,onClick:t,last:!0})),r.default.createElement("div",{style:a.clear}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var r=l(n(12)),o=l(n(42)),i=n(74),a=l(n(346)),s=l(n(344));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Slider=function(e){var t=e.hsl,n=e.onChange,s=e.pointer,l=(0,o.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}});return r.default.createElement("div",{className:"slider-picker"},r.default.createElement("div",{style:l.hue},r.default.createElement(i.Hue,{style:l.Hue,hsl:t,pointer:s,onChange:n})),r.default.createElement("div",{style:l.swatches},r.default.createElement(a.default,{hsl:t,onClick:n})))};c.defaultProps={pointer:s.default},t.default=(0,i.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var r=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},o=l(n(12)),i=l(n(129)),a=l(n(42)),s=n(74);function l(e){return e&&e.__esModule?e:{default:e}}var c=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,i=void 0===n?function(){}:n,l=e.onSwatchHover,c=(0,a.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}),u=function(e,t){i({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:c.colors,className:"flexbox-fix"},t.map(function(e){var t="string"==typeof e?{color:e}:e;return o.default.createElement("div",{key:t.color,style:c.swatchWrap},o.default.createElement(s.Swatch,r({},t,{style:c.swatch,onClick:u,onHover:l,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))}))};c.propTypes={colors:i.default.arrayOf(i.default.oneOfType([i.default.string,i.default.shape({color:i.default.string,title:i.default.string})]))},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShetchFields=void 0;var r=s(n(12)),o=s(n(42)),i=s(n(153)),a=n(74);function s(e){return e&&e.__esModule?e:{default:e}}var l=t.ShetchFields=function(e){var t=e.onChange,n=e.rgb,s=e.hsl,l=e.hex,c=e.disableAlpha,u=(0,o.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:c}),p=function(e,r){e.hex?i.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):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"},r):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,t({h:s.h,s:s.s,l:s.l,a:e.a,source:"rgb"},r))};return r.default.createElement("div",{style:u.fields,className:"flexbox-fix"},r.default.createElement("div",{style:u.double},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"hex",value:l.replace("#",""),onChange:p})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"r",value:n.r,onChange:p,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"g",value:n.g,onChange:p,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"b",value:n.b,onChange:p,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.alpha},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"a",value:Math.round(100*n.a),onChange:p,dragLabel:"true",dragMax:"100"})))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var r=l(n(12)),o=l(n(42)),i=n(74),a=l(n(349)),s=l(n(348));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Sketch=function(e){var t=e.width,n=e.rgb,l=e.hex,c=e.hsv,u=e.hsl,p=e.onChange,d=e.onSwatchHover,f=e.disableAlpha,h=e.presetColors,g=e.renderers,m=(0,o.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:f});return r.default.createElement("div",{style:m.picker,className:"sketch-picker"},r.default.createElement("div",{style:m.saturation},r.default.createElement(i.Saturation,{style:m.Saturation,hsl:u,hsv:c,onChange:p})),r.default.createElement("div",{style:m.controls,className:"flexbox-fix"},r.default.createElement("div",{style:m.sliders},r.default.createElement("div",{style:m.hue},r.default.createElement(i.Hue,{style:m.Hue,hsl:u,onChange:p})),r.default.createElement("div",{style:m.alpha},r.default.createElement(i.Alpha,{style:m.Alpha,rgb:n,hsl:u,renderers:g,onChange:p}))),r.default.createElement("div",{style:m.color},r.default.createElement(i.Checkboard,null),r.default.createElement("div",{style:m.activeColor}))),r.default.createElement(a.default,{rgb:n,hsl:u,hex:l,onChange:p,disableAlpha:f}),r.default.createElement(s.default,{colors:h,onClick:p,onSwatchHover:d}))};c.defaultProps={presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"],width:200},t.default=(0,i.ColorWrap)(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var r=i(n(12)),o=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,i=(0,o.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 r.default.createElement("div",null,r.default.createElement("div",{style:i.label},"new"),r.default.createElement("div",{style:i.swatches},r.default.createElement("div",{style:i.new}),r.default.createElement("div",{style:i.current})),r.default.createElement("div",{style:i.label},"current"))};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopBotton=void 0;var r=i(n(12)),o=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.PhotoshopBotton=function(e){var t=e.onClick,n=e.label,i=e.children,a=e.active,s=(0,o.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:a});return r.default.createElement("div",{style:s.button,onClick:t},n||i)};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=i(n(12)),o=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.PhotoshopPointerCircle=function(){var e=(0,o.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 r.default.createElement("div",{style:e.pointer},r.default.createElement("div",{style:e.left},r.default.createElement("div",{style:e.leftInside})),r.default.createElement("div",{style:e.right},r.default.createElement("div",{style:e.rightInside})))};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=i(n(12)),o=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.PhotoshopPointerCircle=function(e){var t=e.hsl,n=(0,o.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 r.default.createElement("div",{style:n.picker})};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var r=s(n(12)),o=s(n(42)),i=s(n(153)),a=n(74);function s(e){return e&&e.__esModule?e:{default:e}}var l=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,s=e.hsv,l=e.hex,c=(0,o.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"}}}),u=function(e,r){e["#"]?i.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},r):(e.h||e.s||e.v)&&t({h:e.h||s.h,s:e.s||s.s,v:e.v||s.v,source:"hsv"},r)};return r.default.createElement("div",{style:c.fields},r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(s.h),onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(100*s.s),onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(100*s.v),onChange:u}),r.default.createElement("div",{style:c.divider}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:n.r,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:n.g,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",va