diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index a26fd172e0..be5188b697 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -368,29 +368,37 @@ .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] { clear: both; z-index: 20; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { top: -44px; bottom: auto; min-height: 0; height: auto; - width: auto; - z-index: inherit; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover::before { + width: auto; } + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before { content: none; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover .block-editor-block-mover__control { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control { float: right; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__breadcrumb, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__breadcrumb { - left: -1px; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { display: none; } @media (min-width: 1280px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { display: block; } } @media (min-width: 600px) { .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar { display: inline-flex; } } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover { +.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, +.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { right: -13px; } .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb { @@ -417,7 +425,8 @@ border-right-width: 0; border-left-width: 0; } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover { +.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, +.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover { right: 1px; } .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { @@ -582,13 +591,14 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ right: 0; left: 0; justify-content: center; + height: 22px; opacity: 0; transition: opacity 0.1s linear; } @media (min-width: 480px) { .block-editor-block-list__insertion-point-inserter { display: flex; } } .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle { - margin-top: -4px; + margin-top: -8px; border-radius: 50%; color: #007cba; background: #fff; @@ -701,7 +711,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ right: 0; left: 0; } -.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-contextual-toolbar { +.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { margin-right: -28px; } @media (min-width: 600px) { @@ -1371,6 +1381,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle, .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle { margin-left: 0; } + .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, + .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, + .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + box-shadow: none; } .block-editor-block-list__empty-block-inserter, .block-editor-default-block-appender .block-editor-inserter { @@ -1728,7 +1742,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-rich-text__editable { margin: 0; position: relative; - white-space: pre-wrap; } + white-space: pre-wrap !important; } .block-editor-rich-text__editable > p:first-child { margin-top: 0; } .block-editor-rich-text__editable a { diff --git a/wp-includes/css/dist/block-editor/style-rtl.min.css b/wp-includes/css/dist/block-editor/style-rtl.min.css index 6822bcfde6..498cdf5b66 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.min.css +++ b/wp-includes/css/dist/block-editor/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom{background:none;border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-close-to-bottom,.block-editor-block-drop-zone.is-appender.is-close-to-top,.block-editor-block-drop-zone.is-close-to-top{background:none;border-top:3px solid #0085ba;border-bottom:none}body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-inspector__card-content{flex-grow:1}.block-editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-block-inspector__card-description{font-size:13px}.block-editor-block-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.block-editor-block-list__layout{padding-right:46px;padding-left:46px}}.block-editor-block-list__block .block-editor-block-list__layout{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px}.block-editor-block-list__layout .block-editor-default-block-appender>.block-editor-default-block-appender__content,.block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit,.block-editor-block-list__layout>.block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit{margin-top:32px;margin-bottom:32px}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;padding-right:14px;padding-left:14px;overflow-wrap:break-word}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block{padding-right:43px;padding-left:43px}}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;transition:border-color .1s linear,box-shadow .1s linear;pointer-events:none;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #e2e4e7}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #40464d}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block ::selection{background-color:#b3e7fe}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{mix-blend-mode:soft-light}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms!important}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border:1px dashed rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:81;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{right:0;left:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{left:14px;right:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{right:14px;left:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover .block-editor-block-mover__control{float:right}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__breadcrumb{left:-1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:none}@media (min-width:1280px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:block}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{right:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{right:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-45px;margin-left:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-44px;margin-left:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover{right:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px;top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:80}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-left:2px;right:-45px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{right:-30px}.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-left:-14px;margin-right:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;right:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:right}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:0;left:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{right:-1px;left:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:21;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:22px;right:-14px;left:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-right:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{right:0;left:0}.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.block-editor-block-contextual-toolbar{margin-right:-28px}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none;position:absolute;right:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;right:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{animation-duration:1ms!important}}.editor-inner-blocks .block-editor-block-list__breadcrumb{z-index:22}[data-align=left] .block-editor-block-list__breadcrumb{right:0}[data-align=right] .block-editor-block-list__breadcrumb{right:auto;left:0}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{right:0;left:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.block-list-appender>.block-editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mover{min-height:56px;opacity:0}.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms!important}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .block-editor-block-mover__control{color:hsla(0,0%,100%,.65)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .block-editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-mover__control-drag-handle,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:hsla(0,0%,100%,.75)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.block-editor-block-mover__description{display:none}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:hover{z-index:1}}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.block-editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.block-editor-block-preview{display:block}}.block-editor-block-preview .block-editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview .block-editor-block-preview__content>.reusable-block-indicator{display:none}.block-editor-block-preview__title{margin-bottom:10px;color:#6c7781}.block-editor-block-settings-menu__toggle .dashicon{transform:rotate(-90deg)}.block-editor-block-settings-menu__popover:after,.block-editor-block-settings-menu__popover:before{margin-right:2px}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content{padding:7px 0}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator{margin:8px 0;border-top:1px solid #e2e4e7}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child{display:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control{width:100%;justify-content:flex-start;background:none;outline:none;border-radius:0;color:#555d66;text-align:right;cursor:pointer;border:none;box-shadow:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon{margin-left:5px}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.block-editor-block-styles__item-preview .block-editor-block-preview__content{transform:scale(.7);transform-origin:center center;width:100%;margin:0;padding:0;overflow:visible;min-height:auto}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{background:#f3f4f5;border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:340px}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear;border-right:1px solid #b5bcc2}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded=true]){opacity:0;transition:opacity .2s}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms!important}}.block-editor-default-block-appender:hover .block-editor-inserter__toggle{opacity:1}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:-44px;left:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:0;display:flex}}.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;z-index:120}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}.block-editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item:not(:disabled).is-active,.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;outline:none;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon{background:#fff;margin-left:3px;margin-bottom:6px;padding:9px 20px;position:relative;top:-2px;right:-2px;box-shadow:0 0 0 1px #e2e4e7}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;left:-6px;border-radius:4px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .block-editor-media-placeholder__button{margin-left:4px}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable{margin:0;position:relative;white-space:pre-wrap}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.block-editor-rich-text__editable[data-is-placeholder-visible=true]>p{margin-top:0}.block-editor-rich-text__editable+.block-editor-rich-text__editable{pointer-events:none}.block-editor-rich-text__editable+.block-editor-rich-text__editable,.block-editor-rich-text__editable+.block-editor-rich-text__editable p{opacity:.62}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+figcaption.block-editor-rich-text__editable{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__settings{padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:3px -4px 0 0}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{height:100%;display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{flex-basis:100%;cursor:text} \ No newline at end of file +@charset "UTF-8";.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom{background:none;border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-close-to-bottom,.block-editor-block-drop-zone.is-appender.is-close-to-top,.block-editor-block-drop-zone.is-close-to-top{background:none;border-top:3px solid #0085ba;border-bottom:none}body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-inspector__card-content{flex-grow:1}.block-editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-block-inspector__card-description{font-size:13px}.block-editor-block-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.block-editor-block-list__layout{padding-right:46px;padding-left:46px}}.block-editor-block-list__block .block-editor-block-list__layout{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px}.block-editor-block-list__layout .block-editor-default-block-appender>.block-editor-default-block-appender__content,.block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit,.block-editor-block-list__layout>.block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit{margin-top:32px;margin-bottom:32px}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;padding-right:14px;padding-left:14px;overflow-wrap:break-word}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block{padding-right:43px;padding-left:43px}}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;transition:border-color .1s linear,box-shadow .1s linear;pointer-events:none;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #e2e4e7}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #40464d}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block ::selection{background-color:#b3e7fe}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{mix-blend-mode:soft-light}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms!important}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border:1px dashed rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:81;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{right:0;left:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{left:14px;right:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{right:14px;left:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control{float:right}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:1280px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{right:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{right:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-45px;margin-left:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-44px;margin-left:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover{right:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px;top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:80}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-left:2px;right:-45px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{right:-30px}.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-left:-14px;margin-right:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;right:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:right}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{margin-top:-8px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:0;left:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{right:-1px;left:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:21;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:22px;right:-14px;left:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-right:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{right:0;left:0}.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-right:-28px}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none;position:absolute;right:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;right:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{animation-duration:1ms!important}}.editor-inner-blocks .block-editor-block-list__breadcrumb{z-index:22}[data-align=left] .block-editor-block-list__breadcrumb{right:0}[data-align=right] .block-editor-block-list__breadcrumb{right:auto;left:0}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{right:0;left:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.block-list-appender>.block-editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mover{min-height:56px;opacity:0}.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms!important}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .block-editor-block-mover__control{color:hsla(0,0%,100%,.65)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .block-editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-mover__control-drag-handle,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:hsla(0,0%,100%,.75)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.block-editor-block-mover__description{display:none}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:hover{z-index:1}}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.block-editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.block-editor-block-preview{display:block}}.block-editor-block-preview .block-editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview .block-editor-block-preview__content>.reusable-block-indicator{display:none}.block-editor-block-preview__title{margin-bottom:10px;color:#6c7781}.block-editor-block-settings-menu__toggle .dashicon{transform:rotate(-90deg)}.block-editor-block-settings-menu__popover:after,.block-editor-block-settings-menu__popover:before{margin-right:2px}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content{padding:7px 0}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator{margin:8px 0;border-top:1px solid #e2e4e7}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child{display:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control{width:100%;justify-content:flex-start;background:none;outline:none;border-radius:0;color:#555d66;text-align:right;cursor:pointer;border:none;box-shadow:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon{margin-left:5px}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.block-editor-block-styles__item-preview .block-editor-block-preview__content{transform:scale(.7);transform-origin:center center;width:100%;margin:0;padding:0;overflow:visible;min-height:auto}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{background:#f3f4f5;border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:340px}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear;border-right:1px solid #b5bcc2}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded=true]){opacity:0;transition:opacity .2s}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms!important}}.block-editor-default-block-appender:hover .block-editor-inserter__toggle{opacity:1}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:-44px;left:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:0;display:flex}}.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;z-index:120}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}.block-editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item:not(:disabled).is-active,.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;outline:none;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon{background:#fff;margin-left:3px;margin-bottom:6px;padding:9px 20px;position:relative;top:-2px;right:-2px;box-shadow:0 0 0 1px #e2e4e7}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;left:-6px;border-radius:4px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .block-editor-media-placeholder__button{margin-left:4px}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable{margin:0;position:relative;white-space:pre-wrap!important}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.block-editor-rich-text__editable[data-is-placeholder-visible=true]>p{margin-top:0}.block-editor-rich-text__editable+.block-editor-rich-text__editable{pointer-events:none}.block-editor-rich-text__editable+.block-editor-rich-text__editable,.block-editor-rich-text__editable+.block-editor-rich-text__editable p{opacity:.62}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+figcaption.block-editor-rich-text__editable{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__settings{padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:3px -4px 0 0}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{height:100%;display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{flex-basis:100%;cursor:text} \ No newline at end of file diff --git a/wp-includes/css/dist/block-editor/style.css b/wp-includes/css/dist/block-editor/style.css index f8219b9a8b..0e6b9336c9 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -376,29 +376,37 @@ .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] { clear: both; z-index: 20; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { top: -44px; bottom: auto; min-height: 0; height: auto; - width: auto; - z-index: inherit; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover::before { + width: auto; } + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before { content: none; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover .block-editor-block-mover__control { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control { float: left; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__breadcrumb, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__breadcrumb { - right: -1px; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { display: none; } @media (min-width: 1280px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, + .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { display: block; } } @media (min-width: 600px) { .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar { display: inline-flex; } } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover { +.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, +.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { left: -13px; } .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb { @@ -425,7 +433,8 @@ border-left-width: 0; border-right-width: 0; } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover { +.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, +.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover { left: 1px; } .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { @@ -590,13 +599,14 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ left: 0; right: 0; justify-content: center; + height: 22px; opacity: 0; transition: opacity 0.1s linear; } @media (min-width: 480px) { .block-editor-block-list__insertion-point-inserter { display: flex; } } .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle { - margin-top: -4px; + margin-top: -8px; border-radius: 50%; color: #007cba; background: #fff; @@ -711,7 +721,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ left: 0; right: 0; } -.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-contextual-toolbar { +.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { margin-left: -28px; } @media (min-width: 600px) { @@ -1383,6 +1393,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle, .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle { margin-right: 0; } + .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, + .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, + .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + box-shadow: none; } .block-editor-block-list__empty-block-inserter, .block-editor-default-block-appender .block-editor-inserter { @@ -1740,7 +1754,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-rich-text__editable { margin: 0; position: relative; - white-space: pre-wrap; } + white-space: pre-wrap !important; } .block-editor-rich-text__editable > p:first-child { margin-top: 0; } .block-editor-rich-text__editable a { diff --git a/wp-includes/css/dist/block-editor/style.min.css b/wp-includes/css/dist/block-editor/style.min.css index ca4e7a6c3c..af8bbe609a 100644 --- a/wp-includes/css/dist/block-editor/style.min.css +++ b/wp-includes/css/dist/block-editor/style.min.css @@ -6,4 +6,4 @@ /*!rtl:begin:ignore*/float:right;margin-left:2em /*!rtl:end:ignore*/}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{ /*!rtl:begin:ignore*/right:14px;left:auto - /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover .block-editor-block-mover__control{float:left}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__breadcrumb{right:-1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:none}@media (min-width:1280px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:block}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{left:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-45px;margin-right:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-44px;margin-right:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover{left:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px;top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:80}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-right:2px;left:-45px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{left:-30px}.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-right:-14px;margin-left:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;left:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:left}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:0;right:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{left:-1px;right:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:21;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:22px;left:-14px;right:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-left:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{left:0;right:0}.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.block-editor-block-contextual-toolbar{margin-left:-28px}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none;position:absolute;left:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;left:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{animation-duration:1ms!important}}.editor-inner-blocks .block-editor-block-list__breadcrumb{z-index:22}[data-align=left] .block-editor-block-list__breadcrumb{left:0}[data-align=right] .block-editor-block-list__breadcrumb{left:auto;right:0}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{left:0;right:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.block-list-appender>.block-editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mover{min-height:56px;opacity:0}.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms!important}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .block-editor-block-mover__control{color:hsla(0,0%,100%,.65)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .block-editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-mover__control-drag-handle,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:hsla(0,0%,100%,.75)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.block-editor-block-mover__description{display:none}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:hover{z-index:1}}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.block-editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.block-editor-block-preview{display:block}}.block-editor-block-preview .block-editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview .block-editor-block-preview__content>.reusable-block-indicator{display:none}.block-editor-block-preview__title{margin-bottom:10px;color:#6c7781}.block-editor-block-settings-menu__toggle .dashicon{transform:rotate(90deg)}.block-editor-block-settings-menu__popover:after,.block-editor-block-settings-menu__popover:before{margin-left:2px}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content{padding:7px 0}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator{margin:8px 0;border-top:1px solid #e2e4e7}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child{display:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control{width:100%;justify-content:flex-start;background:none;outline:none;border-radius:0;color:#555d66;text-align:left;cursor:pointer;border:none;box-shadow:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon{margin-right:5px}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.block-editor-block-styles__item-preview .block-editor-block-preview__content{transform:scale(.7);transform-origin:center center;width:100%;margin:0;padding:0;overflow:visible;min-height:auto}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{background:#f3f4f5;border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:340px}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear;border-left:1px solid #b5bcc2}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded=true]){opacity:0;transition:opacity .2s}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms!important}}.block-editor-default-block-appender:hover .block-editor-inserter__toggle{opacity:1}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:-44px;right:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:0;display:flex}}.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:120}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}.block-editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item:not(:disabled).is-active,.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;outline:none;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon{background:#fff;margin-right:3px;margin-bottom:6px;padding:9px 20px;position:relative;top:-2px;left:-2px;box-shadow:0 0 0 1px #e2e4e7}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;right:-6px;border-radius:4px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .block-editor-media-placeholder__button{margin-right:4px}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(-50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable{margin:0;position:relative;white-space:pre-wrap}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.block-editor-rich-text__editable[data-is-placeholder-visible=true]>p{margin-top:0}.block-editor-rich-text__editable+.block-editor-rich-text__editable{pointer-events:none}.block-editor-rich-text__editable+.block-editor-rich-text__editable,.block-editor-rich-text__editable+.block-editor-rich-text__editable p{opacity:.62}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+figcaption.block-editor-rich-text__editable{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__settings{padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:3px 0 0 -4px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{height:100%;display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{flex-basis:100%;cursor:text} \ No newline at end of file + /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control{float:left}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:1280px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{left:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-45px;margin-right:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-44px;margin-right:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover{left:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px;top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:80}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-right:2px;left:-45px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{left:-30px}.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-right:-14px;margin-left:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;left:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:left}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{margin-top:-8px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:0;right:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{left:-1px;right:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:21;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:22px;left:-14px;right:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-left:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{left:0;right:0}.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-left:-28px}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none;position:absolute;left:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;left:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{animation-duration:1ms!important}}.editor-inner-blocks .block-editor-block-list__breadcrumb{z-index:22}[data-align=left] .block-editor-block-list__breadcrumb{left:0}[data-align=right] .block-editor-block-list__breadcrumb{left:auto;right:0}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{left:0;right:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.block-list-appender>.block-editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mover{min-height:56px;opacity:0}.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms!important}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .block-editor-block-mover__control{color:hsla(0,0%,100%,.65)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .block-editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-mover__control-drag-handle,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:hsla(0,0%,100%,.75)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.block-editor-block-mover__description{display:none}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:hover{z-index:1}}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.block-editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.block-editor-block-preview{display:block}}.block-editor-block-preview .block-editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview .block-editor-block-preview__content>.reusable-block-indicator{display:none}.block-editor-block-preview__title{margin-bottom:10px;color:#6c7781}.block-editor-block-settings-menu__toggle .dashicon{transform:rotate(90deg)}.block-editor-block-settings-menu__popover:after,.block-editor-block-settings-menu__popover:before{margin-left:2px}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content{padding:7px 0}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator{margin:8px 0;border-top:1px solid #e2e4e7}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child{display:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control{width:100%;justify-content:flex-start;background:none;outline:none;border-radius:0;color:#555d66;text-align:left;cursor:pointer;border:none;box-shadow:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon{margin-right:5px}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.block-editor-block-styles__item-preview .block-editor-block-preview__content{transform:scale(.7);transform-origin:center center;width:100%;margin:0;padding:0;overflow:visible;min-height:auto}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{background:#f3f4f5;border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:340px}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear;border-left:1px solid #b5bcc2}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded=true]){opacity:0;transition:opacity .2s}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms!important}}.block-editor-default-block-appender:hover .block-editor-inserter__toggle{opacity:1}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:-44px;right:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:0;display:flex}}.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:120}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}.block-editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item:not(:disabled).is-active,.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;outline:none;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon{background:#fff;margin-right:3px;margin-bottom:6px;padding:9px 20px;position:relative;top:-2px;left:-2px;box-shadow:0 0 0 1px #e2e4e7}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;right:-6px;border-radius:4px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .block-editor-media-placeholder__button{margin-right:4px}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(-50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable{margin:0;position:relative;white-space:pre-wrap!important}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.block-editor-rich-text__editable[data-is-placeholder-visible=true]>p{margin-top:0}.block-editor-rich-text__editable+.block-editor-rich-text__editable{pointer-events:none}.block-editor-rich-text__editable+.block-editor-rich-text__editable,.block-editor-rich-text__editable+.block-editor-rich-text__editable p{opacity:.62}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+figcaption.block-editor-rich-text__editable{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__settings{padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:3px 0 0 -4px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{height:100%;display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{flex-basis:100%;cursor:text} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css index 381a780f7e..bd50fc5a61 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -60,7 +60,7 @@ .block-editor-block-preview__content .wp-block-button .wp-block-button__link { max-width: 100%; overflow: hidden; - white-space: nowrap; + white-space: nowrap !important; text-overflow: ellipsis; } .block-library-button__inline-link { @@ -207,15 +207,16 @@ .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:not(:first-child) { margin-right: calc(32px + 14px); } } +.wp-block-columns [data-type="core/column"].is-hovered > .block-editor-block-list__block-edit::before { + content: none; } + +.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb { + display: none; } + .wp-block-columns [data-type="core/column"] { pointer-events: none; } - .wp-block-columns [data-type="core/column"].is-hovered > .block-editor-block-list__block-edit::before { - content: none; } - .wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb { - display: none; } - -:not(.components-disabled) > .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > * { - pointer-events: all; } + .wp-block-columns [data-type="core/column"] .block-editor-block-list__layout { + pointer-events: all; } .wp-block-cover-image.components-placeholder h2, .wp-block-cover.components-placeholder h2 { @@ -613,29 +614,28 @@ ul.wp-block-gallery li { .blocks-gallery-item figure:not(.is-selected):focus { outline: none; } -.blocks-gallery-item img:focus, .blocks-gallery-item .is-selected { outline: 4px solid #0085ba; } -body.admin-color-sunrise .blocks-gallery-item img:focus, body.admin-color-sunrise .blocks-gallery-item .is-selected { +body.admin-color-sunrise .blocks-gallery-item .is-selected { outline: 4px solid #d1864a; } -body.admin-color-ocean .blocks-gallery-item img:focus, body.admin-color-ocean .blocks-gallery-item .is-selected { +body.admin-color-ocean .blocks-gallery-item .is-selected { outline: 4px solid #a3b9a2; } -body.admin-color-midnight .blocks-gallery-item img:focus, body.admin-color-midnight .blocks-gallery-item .is-selected { +body.admin-color-midnight .blocks-gallery-item .is-selected { outline: 4px solid #e14d43; } -body.admin-color-ectoplasm .blocks-gallery-item img:focus, body.admin-color-ectoplasm .blocks-gallery-item .is-selected { +body.admin-color-ectoplasm .blocks-gallery-item .is-selected { outline: 4px solid #a7b656; } -body.admin-color-coffee .blocks-gallery-item img:focus, body.admin-color-coffee .blocks-gallery-item .is-selected { +body.admin-color-coffee .blocks-gallery-item .is-selected { outline: 4px solid #c2a68c; } -body.admin-color-blue .blocks-gallery-item img:focus, body.admin-color-blue .blocks-gallery-item .is-selected { +body.admin-color-blue .blocks-gallery-item .is-selected { outline: 4px solid #82b4cb; } -body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .blocks-gallery-item .is-selected { +body.admin-color-light .blocks-gallery-item .is-selected { outline: 4px solid #0085ba; } .blocks-gallery-item .is-transient img { diff --git a/wp-includes/css/dist/block-library/editor-rtl.min.css b/wp-includes/css/dist/block-library/editor-rtl.min.css index ed475d17a7..ee6e118eef 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.min.css +++ b/wp-includes/css/dist/block-library/editor-rtl.min.css @@ -1 +1 @@ -.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin:0}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-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 [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{color:#fff}.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{opacity:.8}.block-editor-block-preview__content .wp-block-button{max-width:100%}.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]{height:auto}.block-editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-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:374px}.block-library-button__inline-link .block-editor-url-input{width:auto}.block-library-button__inline-link .block-editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-right:auto;margin-left:auto}[data-align=right] .block-library-button__inline-link{margin-right:auto;margin-left:0}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.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 .block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-right:14px;padding-left:14px}@media (min-width:600px){.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-right:60px;padding-left:60px}}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{right:0;left:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-right:-1px}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{margin-right:14px;margin-left:14px;flex-basis:calc(50% - 44px);flex-grow:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-right:46px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:46px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.block-editor-block-list__block-edit:before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>*{pointer-events:all}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:right}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.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 .components-placeholder__error{word-break:break-word}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-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.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-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.block-library-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.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0 14px}.is-selected .block-library-classic__toolbar{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__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}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon{display:none}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar{float:left;margin-left:25px;transform:translateY(-13px);top:14px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border:none;box-shadow:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{margin-top:0}}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar:before{content:"";display:block;border-right:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover{background-color:transparent}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar{background:transparent;border:none}.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-left:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{left:0;right:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-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 .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;left:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-left:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;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-heading h1,.wp-block-heading h2,.wp-block-heading h3{line-height:1.4}.wp-block-heading h4{line-height:1.5}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.block-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 .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-right:2.5em;padding-left:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__edit-container .widget-inside{box-shadow:none}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8%}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-right:1.3em;margin-right:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;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}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__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}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-left:108px}.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-left:36px}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #8d96a0;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.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{display:flex;align-items:center;margin-left:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-left:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid #000}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable: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}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em} \ No newline at end of file +.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin:0}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-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 [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{color:#fff}.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{opacity:.8}.block-editor-block-preview__content .wp-block-button{max-width:100%}.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]{height:auto}.block-editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap!important;text-overflow:ellipsis}.block-library-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:374px}.block-library-button__inline-link .block-editor-url-input{width:auto}.block-library-button__inline-link .block-editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-right:auto;margin-left:auto}[data-align=right] .block-library-button__inline-link{margin-right:auto;margin-left:0}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.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 .block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-right:14px;padding-left:14px}@media (min-width:600px){.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-right:60px;padding-left:60px}}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{right:0;left:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-right:-1px}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{margin-right:14px;margin-left:14px;flex-basis:calc(50% - 44px);flex-grow:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-right:46px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:46px}}.wp-block-columns [data-type="core/column"].is-hovered>.block-editor-block-list__block-edit:before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb{display:none}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"] .block-editor-block-list__layout{pointer-events:all}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:right}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.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 .components-placeholder__error{word-break:break-word}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-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.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-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.block-library-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.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0 14px}.is-selected .block-library-classic__toolbar{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__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}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon{display:none}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar{float:left;margin-left:25px;transform:translateY(-13px);top:14px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border:none;box-shadow:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{margin-top:0}}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar:before{content:"";display:block;border-right:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover{background-color:transparent}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar{background:transparent;border:none}.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-left:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item .is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{left:0;right:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-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 .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;left:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-left:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;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-heading h1,.wp-block-heading h2,.wp-block-heading h3{line-height:1.4}.wp-block-heading h4{line-height:1.5}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.block-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 .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-right:2.5em;padding-left:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__edit-container .widget-inside{box-shadow:none}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8%}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-right:1.3em;margin-right:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;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}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__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}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-left:108px}.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-left:36px}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #8d96a0;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.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{display:flex;align-items:center;margin-left:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-left:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid #000}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable: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}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css index 619bf50894..ced2077127 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -61,7 +61,7 @@ .block-editor-block-preview__content .wp-block-button .wp-block-button__link { max-width: 100%; overflow: hidden; - white-space: nowrap; + white-space: nowrap !important; text-overflow: ellipsis; } .block-library-button__inline-link { @@ -208,15 +208,16 @@ .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:not(:first-child) { margin-left: calc(32px + 14px); } } +.wp-block-columns [data-type="core/column"].is-hovered > .block-editor-block-list__block-edit::before { + content: none; } + +.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb { + display: none; } + .wp-block-columns [data-type="core/column"] { pointer-events: none; } - .wp-block-columns [data-type="core/column"].is-hovered > .block-editor-block-list__block-edit::before { - content: none; } - .wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb { - display: none; } - -:not(.components-disabled) > .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > * { - pointer-events: all; } + .wp-block-columns [data-type="core/column"] .block-editor-block-list__layout { + pointer-events: all; } .wp-block-cover-image.components-placeholder h2, .wp-block-cover.components-placeholder h2 { @@ -618,29 +619,28 @@ ul.wp-block-gallery li { .blocks-gallery-item figure:not(.is-selected):focus { outline: none; } -.blocks-gallery-item img:focus, .blocks-gallery-item .is-selected { outline: 4px solid #0085ba; } -body.admin-color-sunrise .blocks-gallery-item img:focus, body.admin-color-sunrise .blocks-gallery-item .is-selected { +body.admin-color-sunrise .blocks-gallery-item .is-selected { outline: 4px solid #d1864a; } -body.admin-color-ocean .blocks-gallery-item img:focus, body.admin-color-ocean .blocks-gallery-item .is-selected { +body.admin-color-ocean .blocks-gallery-item .is-selected { outline: 4px solid #a3b9a2; } -body.admin-color-midnight .blocks-gallery-item img:focus, body.admin-color-midnight .blocks-gallery-item .is-selected { +body.admin-color-midnight .blocks-gallery-item .is-selected { outline: 4px solid #e14d43; } -body.admin-color-ectoplasm .blocks-gallery-item img:focus, body.admin-color-ectoplasm .blocks-gallery-item .is-selected { +body.admin-color-ectoplasm .blocks-gallery-item .is-selected { outline: 4px solid #a7b656; } -body.admin-color-coffee .blocks-gallery-item img:focus, body.admin-color-coffee .blocks-gallery-item .is-selected { +body.admin-color-coffee .blocks-gallery-item .is-selected { outline: 4px solid #c2a68c; } -body.admin-color-blue .blocks-gallery-item img:focus, body.admin-color-blue .blocks-gallery-item .is-selected { +body.admin-color-blue .blocks-gallery-item .is-selected { outline: 4px solid #82b4cb; } -body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .blocks-gallery-item .is-selected { +body.admin-color-light .blocks-gallery-item .is-selected { outline: 4px solid #0085ba; } .blocks-gallery-item .is-transient img { diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css index 782c9b1cf3..77bb00b0b1 100644 --- a/wp-includes/css/dist/block-library/editor.min.css +++ b/wp-includes/css/dist/block-library/editor.min.css @@ -1,2 +1,2 @@ .block-editor ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin:0}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=right]{ - /*!rtl:ignore*/text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{color:#fff}.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{opacity:.8}.block-editor-block-preview__content .wp-block-button{max-width:100%}.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]{height:auto}.block-editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-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:374px}.block-library-button__inline-link .block-editor-url-input{width:auto}.block-library-button__inline-link .block-editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-left:auto;margin-right:auto}[data-align=right] .block-library-button__inline-link{margin-left:auto;margin-right:0}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.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 .block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-left:14px;padding-right:14px}@media (min-width:600px){.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-left:60px;padding-right:60px}}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{left:0;right:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-left:-1px}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{margin-left:14px;margin-right:14px;flex-basis:calc(50% - 44px);flex-grow:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-left:46px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:46px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.block-editor-block-list__block-edit:before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>*{pointer-events:all}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:left}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.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 .components-placeholder__error{word-break:break-word}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-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.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-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.block-library-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.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0 14px}.is-selected .block-library-classic__toolbar{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__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}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon{display:none}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar{float:right;margin-right:25px;transform:translateY(-13px);top:14px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border:none;box-shadow:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{margin-top:0}}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar:before{content:"";display:block;border-left:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover{background-color:transparent}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar{background:transparent;border:none}.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-right:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{right:0;left:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-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 .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;right:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-right:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;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-heading h1,.wp-block-heading h2,.wp-block-heading h3{line-height:1.4}.wp-block-heading h4{line-height:1.5}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.block-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 .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-left:2.5em;padding-right:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__edit-container .widget-inside{box-shadow:none}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8%}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-left:1.3em;margin-left:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;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}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__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}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-right:108px}.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-right:36px}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #8d96a0;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.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{display:flex;align-items:center;margin-right:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-right:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid #000}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable: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}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em} \ No newline at end of file + /*!rtl:ignore*/text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{color:#fff}.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{opacity:.8}.block-editor-block-preview__content .wp-block-button{max-width:100%}.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]{height:auto}.block-editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap!important;text-overflow:ellipsis}.block-library-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:374px}.block-library-button__inline-link .block-editor-url-input{width:auto}.block-library-button__inline-link .block-editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-left:auto;margin-right:auto}[data-align=right] .block-library-button__inline-link{margin-left:auto;margin-right:0}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.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 .block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-left:14px;padding-right:14px}@media (min-width:600px){.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-left:60px;padding-right:60px}}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{left:0;right:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-left:-1px}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{margin-left:14px;margin-right:14px;flex-basis:calc(50% - 44px);flex-grow:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-left:46px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:46px}}.wp-block-columns [data-type="core/column"].is-hovered>.block-editor-block-list__block-edit:before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb{display:none}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"] .block-editor-block-list__layout{pointer-events:all}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:left}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.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 .components-placeholder__error{word-break:break-word}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-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.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-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.block-library-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.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0 14px}.is-selected .block-library-classic__toolbar{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__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}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon{display:none}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar{float:right;margin-right:25px;transform:translateY(-13px);top:14px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border:none;box-shadow:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{margin-top:0}}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar:before{content:"";display:block;border-left:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover{background-color:transparent}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar{background:transparent;border:none}.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-right:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item .is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{right:0;left:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-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 .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;right:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-right:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;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-heading h1,.wp-block-heading h2,.wp-block-heading h3{line-height:1.4}.wp-block-heading h4{line-height:1.5}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.block-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 .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-left:2.5em;padding-right:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__edit-container .widget-inside{box-shadow:none}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8%}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-left:1.3em;margin-left:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;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}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__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}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-right:108px}.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-right:36px}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #8d96a0;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.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{display:flex;align-items:center;margin-right:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-right:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid #000}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable: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}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style-rtl.css b/wp-includes/css/dist/block-library/style-rtl.css index 3bc9a33789..ba2af98fea 100644 --- a/wp-includes/css/dist/block-library/style-rtl.css +++ b/wp-includes/css/dist/block-library/style-rtl.css @@ -123,7 +123,6 @@ padding: 12px 24px; text-align: center; text-decoration: none; - white-space: normal; overflow-wrap: break-word; } .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited { color: inherit; } diff --git a/wp-includes/css/dist/block-library/style-rtl.min.css b/wp-includes/css/dist/block-library/style-rtl.min.css index 7d00169920..1da6e22643 100644 --- a/wp-includes/css/dist/block-library/style-rtl.min.css +++ b/wp-includes/css/dist/block-library/style-rtl.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-audio audio{width:100%;min-width:300px}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;top:-14px;margin:0 -14px;padding:8px 14px;position:relative;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 5px 0 0}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.block-editor-block-list__layout .reusable-block-indicator{background:#fff;border:1px dashed #e2e4e7;color:#555d66;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;left:-14px}.wp-block-button{color:#fff;margin-bottom:1.5em}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:440;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;margin-bottom:1em;flex-basis:100%;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-right:32px}}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;width:100%;margin:0 0 1.5em;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-left-content,.wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content .wp-block-cover-text,.wp-block-cover-image.has-left-content h2,.wp-block-cover.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,.wp-block-cover.has-left-content h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content,.wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content .wp-block-cover-text,.wp-block-cover-image.has-right-content h2,.wp-block-cover.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,.wp-block-cover.has-right-content h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image h2,.wp-block-cover .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image .wp-block-cover-text a,.wp-block-cover-image .wp-block-cover-text a:active,.wp-block-cover-image .wp-block-cover-text a:focus,.wp-block-cover-image .wp-block-cover-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover,.wp-block-cover .wp-block-cover-image-text a,.wp-block-cover .wp-block-cover-image-text a:active,.wp-block-cover .wp-block-cover-image-text a:focus,.wp-block-cover .wp-block-cover-image-text a:hover,.wp-block-cover .wp-block-cover-text a,.wp-block-cover .wp-block-cover-text a:active,.wp-block-cover .wp-block-cover-text a:focus,.wp-block-cover .wp-block-cover-text a:hover,.wp-block-cover h2 a,.wp-block-cover h2 a:active,.wp-block-cover h2 a:focus,.wp-block-cover h2 a:hover{color:#fff}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:inherit;opacity:.5;z-index:1}.wp-block-cover-image.has-background-dim.has-background-dim-10:before,.wp-block-cover.has-background-dim.has-background-dim-10:before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:before,.wp-block-cover.has-background-dim.has-background-dim-20:before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:before,.wp-block-cover.has-background-dim.has-background-dim-30:before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:before,.wp-block-cover.has-background-dim.has-background-dim-40:before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:before,.wp-block-cover.has-background-dim.has-background-dim-50:before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:before,.wp-block-cover.has-background-dim.has-background-dim-60:before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:before,.wp-block-cover.has-background-dim.has-background-dim-70:before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:before,.wp-block-cover.has-background-dim.has-background-dim-80:before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:before,.wp-block-cover.has-background-dim.has-background-dim-90:before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:before,.wp-block-cover.has-background-dim.has-background-dim-100:before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:305px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead,.wp-block-cover-image h1,.wp-block-cover-image h2,.wp-block-cover-image h3,.wp-block-cover-image h4,.wp-block-cover-image h5,.wp-block-cover-image h6,.wp-block-cover-image p,.wp-block-cover .wp-block-subhead,.wp-block-cover h1,.wp-block-cover h2,.wp-block-cover h3,.wp-block-cover h4,.wp-block-cover h5,.wp-block-cover h6,.wp-block-cover p{color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;right:50%;transform:translateX(50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-6 .wp-block-embed__wrapper:before{padding-top:66.66%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 16px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{max-width:100%;margin-bottom:1em;margin-right:0;margin-left:0}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-right:0;margin-left:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:right;height:40px;margin-left:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-media-text{display:grid;grid-template-rows:auto;align-items:center;grid-template-areas:"media-text-media media-text-content";grid-template-columns:50% auto}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media";grid-template-columns:auto 50%}.wp-block-media-text .wp-block-media-text__media{grid-area:media-text-media;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;grid-area:media-text-content;padding:0 8%}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important;grid-template-areas:"media-text-media" "media-text-content"}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right{grid-template-areas:"media-text-content" "media-text-media"}}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}.has-drop-cap:not(:focus):after{content:"";display:table;clear:both;padding-top:14px}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:305px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:left}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1}.wp-block-search .wp-block-search__button{margin-right:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:#191e23;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table.has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table.has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table.has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table.has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tr:nth-child(odd),.wp-block-table.is-style-stripes tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.has-pale-pink-background-color.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color.has-pale-pink-color{color:#f78da7}.has-vivid-red-color.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color.has-very-dark-gray-color{color:#313131}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px} \ No newline at end of file +.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-audio audio{width:100%;min-width:300px}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;top:-14px;margin:0 -14px;padding:8px 14px;position:relative;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 5px 0 0}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.block-editor-block-list__layout .reusable-block-indicator{background:#fff;border:1px dashed #e2e4e7;color:#555d66;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;left:-14px}.wp-block-button{color:#fff;margin-bottom:1.5em}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:440;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;margin-bottom:1em;flex-basis:100%;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-right:32px}}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;width:100%;margin:0 0 1.5em;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-left-content,.wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content .wp-block-cover-text,.wp-block-cover-image.has-left-content h2,.wp-block-cover.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,.wp-block-cover.has-left-content h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content,.wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content .wp-block-cover-text,.wp-block-cover-image.has-right-content h2,.wp-block-cover.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,.wp-block-cover.has-right-content h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image h2,.wp-block-cover .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image .wp-block-cover-text a,.wp-block-cover-image .wp-block-cover-text a:active,.wp-block-cover-image .wp-block-cover-text a:focus,.wp-block-cover-image .wp-block-cover-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover,.wp-block-cover .wp-block-cover-image-text a,.wp-block-cover .wp-block-cover-image-text a:active,.wp-block-cover .wp-block-cover-image-text a:focus,.wp-block-cover .wp-block-cover-image-text a:hover,.wp-block-cover .wp-block-cover-text a,.wp-block-cover .wp-block-cover-text a:active,.wp-block-cover .wp-block-cover-text a:focus,.wp-block-cover .wp-block-cover-text a:hover,.wp-block-cover h2 a,.wp-block-cover h2 a:active,.wp-block-cover h2 a:focus,.wp-block-cover h2 a:hover{color:#fff}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:inherit;opacity:.5;z-index:1}.wp-block-cover-image.has-background-dim.has-background-dim-10:before,.wp-block-cover.has-background-dim.has-background-dim-10:before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:before,.wp-block-cover.has-background-dim.has-background-dim-20:before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:before,.wp-block-cover.has-background-dim.has-background-dim-30:before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:before,.wp-block-cover.has-background-dim.has-background-dim-40:before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:before,.wp-block-cover.has-background-dim.has-background-dim-50:before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:before,.wp-block-cover.has-background-dim.has-background-dim-60:before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:before,.wp-block-cover.has-background-dim.has-background-dim-70:before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:before,.wp-block-cover.has-background-dim.has-background-dim-80:before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:before,.wp-block-cover.has-background-dim.has-background-dim-90:before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:before,.wp-block-cover.has-background-dim.has-background-dim-100:before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:305px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead,.wp-block-cover-image h1,.wp-block-cover-image h2,.wp-block-cover-image h3,.wp-block-cover-image h4,.wp-block-cover-image h5,.wp-block-cover-image h6,.wp-block-cover-image p,.wp-block-cover .wp-block-subhead,.wp-block-cover h1,.wp-block-cover h2,.wp-block-cover h3,.wp-block-cover h4,.wp-block-cover h5,.wp-block-cover h6,.wp-block-cover p{color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;right:50%;transform:translateX(50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-6 .wp-block-embed__wrapper:before{padding-top:66.66%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 16px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-left:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{max-width:100%;margin-bottom:1em;margin-right:0;margin-left:0}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-right:0;margin-left:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:right;height:40px;margin-left:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-media-text{display:grid;grid-template-rows:auto;align-items:center;grid-template-areas:"media-text-media media-text-content";grid-template-columns:50% auto}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media";grid-template-columns:auto 50%}.wp-block-media-text .wp-block-media-text__media{grid-area:media-text-media;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;grid-area:media-text-content;padding:0 8%}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important;grid-template-areas:"media-text-media" "media-text-content"}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right{grid-template-areas:"media-text-content" "media-text-media"}}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}.has-drop-cap:not(:focus):after{content:"";display:table;clear:both;padding-top:14px}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:305px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:left}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1}.wp-block-search .wp-block-search__button{margin-right:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:#191e23;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table.has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table.has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table.has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table.has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tr:nth-child(odd),.wp-block-table.is-style-stripes tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.has-pale-pink-background-color.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color.has-pale-pink-color{color:#f78da7}.has-vivid-red-color.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color.has-very-dark-gray-color{color:#313131}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style.css b/wp-includes/css/dist/block-library/style.css index 54eb940658..3e88feee7b 100644 --- a/wp-includes/css/dist/block-library/style.css +++ b/wp-includes/css/dist/block-library/style.css @@ -124,7 +124,6 @@ padding: 12px 24px; text-align: center; text-decoration: none; - white-space: normal; overflow-wrap: break-word; } .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited { color: inherit; } diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css index 691ce116a1..88a1223ae5 100644 --- a/wp-includes/css/dist/block-library/style.min.css +++ b/wp-includes/css/dist/block-library/style.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-audio audio{width:100%;min-width:300px}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;top:-14px;margin:0 -14px;padding:8px 14px;position:relative;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 5px}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) transparent}.block-editor-block-list__layout .reusable-block-indicator{background:#fff;border:1px dashed #e2e4e7;color:#555d66;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;right:-14px}.wp-block-button{color:#fff;margin-bottom:1.5em}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:440;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;margin-bottom:1em;flex-basis:100%;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;width:100%;margin:0 0 1.5em;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-left-content,.wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content .wp-block-cover-text,.wp-block-cover-image.has-left-content h2,.wp-block-cover.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,.wp-block-cover.has-left-content h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content,.wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content .wp-block-cover-text,.wp-block-cover-image.has-right-content h2,.wp-block-cover.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,.wp-block-cover.has-right-content h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image h2,.wp-block-cover .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image .wp-block-cover-text a,.wp-block-cover-image .wp-block-cover-text a:active,.wp-block-cover-image .wp-block-cover-text a:focus,.wp-block-cover-image .wp-block-cover-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover,.wp-block-cover .wp-block-cover-image-text a,.wp-block-cover .wp-block-cover-image-text a:active,.wp-block-cover .wp-block-cover-image-text a:focus,.wp-block-cover .wp-block-cover-image-text a:hover,.wp-block-cover .wp-block-cover-text a,.wp-block-cover .wp-block-cover-text a:active,.wp-block-cover .wp-block-cover-text a:focus,.wp-block-cover .wp-block-cover-text a:hover,.wp-block-cover h2 a,.wp-block-cover h2 a:active,.wp-block-cover h2 a:focus,.wp-block-cover h2 a:hover{color:#fff}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-color:inherit;opacity:.5;z-index:1}.wp-block-cover-image.has-background-dim.has-background-dim-10:before,.wp-block-cover.has-background-dim.has-background-dim-10:before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:before,.wp-block-cover.has-background-dim.has-background-dim-20:before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:before,.wp-block-cover.has-background-dim.has-background-dim-30:before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:before,.wp-block-cover.has-background-dim.has-background-dim-40:before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:before,.wp-block-cover.has-background-dim.has-background-dim-50:before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:before,.wp-block-cover.has-background-dim.has-background-dim-60:before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:before,.wp-block-cover.has-background-dim.has-background-dim-70:before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:before,.wp-block-cover.has-background-dim.has-background-dim-80:before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:before,.wp-block-cover.has-background-dim.has-background-dim-90:before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:before,.wp-block-cover.has-background-dim.has-background-dim-100:before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:305px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead,.wp-block-cover-image h1,.wp-block-cover-image h2,.wp-block-cover-image h3,.wp-block-cover-image h4,.wp-block-cover-image h5,.wp-block-cover-image h6,.wp-block-cover-image p,.wp-block-cover .wp-block-subhead,.wp-block-cover h1,.wp-block-cover h2,.wp-block-cover h3,.wp-block-cover h4,.wp-block-cover h5,.wp-block-cover h6,.wp-block-cover p{color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-6 .wp-block-embed__wrapper:before{padding-top:66.66%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{max-width:100%;margin-bottom:1em;margin-left:0;margin-right:0}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-left:0;margin-right:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:left;height:40px;margin-right:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-media-text{display:grid;grid-template-rows:auto;align-items:center;grid-template-areas:"media-text-media media-text-content";grid-template-columns:50% auto}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media";grid-template-columns:auto 50%}.wp-block-media-text .wp-block-media-text__media{grid-area:media-text-media;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;grid-area:media-text-content;padding:0 8%}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important;grid-template-areas:"media-text-media" "media-text-content"}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right{grid-template-areas:"media-text-content" "media-text-media"}}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}.has-drop-cap:not(:focus):after{content:"";display:table;clear:both;padding-top:14px}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-left:0;margin-right:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:305px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;text-align:left;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:right}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1}.wp-block-search .wp-block-search__button{margin-left:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:#191e23;font-size:20px;letter-spacing:2em;padding-left:2em;font-family:serif}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table.has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table.has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table.has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table.has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tr:nth-child(odd),.wp-block-table.is-style-stripes tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-left:0;margin-right:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.has-pale-pink-background-color.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color.has-pale-pink-color{color:#f78da7}.has-vivid-red-color.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color.has-very-dark-gray-color{color:#313131}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px} \ No newline at end of file +.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-audio audio{width:100%;min-width:300px}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;top:-14px;margin:0 -14px;padding:8px 14px;position:relative;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 5px}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) transparent}.block-editor-block-list__layout .reusable-block-indicator{background:#fff;border:1px dashed #e2e4e7;color:#555d66;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;right:-14px}.wp-block-button{color:#fff;margin-bottom:1.5em}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:440;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;margin-bottom:1em;flex-basis:100%;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;width:100%;margin:0 0 1.5em;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-left-content,.wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content .wp-block-cover-text,.wp-block-cover-image.has-left-content h2,.wp-block-cover.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,.wp-block-cover.has-left-content h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content,.wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content .wp-block-cover-text,.wp-block-cover-image.has-right-content h2,.wp-block-cover.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,.wp-block-cover.has-right-content h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image h2,.wp-block-cover .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image .wp-block-cover-text a,.wp-block-cover-image .wp-block-cover-text a:active,.wp-block-cover-image .wp-block-cover-text a:focus,.wp-block-cover-image .wp-block-cover-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover,.wp-block-cover .wp-block-cover-image-text a,.wp-block-cover .wp-block-cover-image-text a:active,.wp-block-cover .wp-block-cover-image-text a:focus,.wp-block-cover .wp-block-cover-image-text a:hover,.wp-block-cover .wp-block-cover-text a,.wp-block-cover .wp-block-cover-text a:active,.wp-block-cover .wp-block-cover-text a:focus,.wp-block-cover .wp-block-cover-text a:hover,.wp-block-cover h2 a,.wp-block-cover h2 a:active,.wp-block-cover h2 a:focus,.wp-block-cover h2 a:hover{color:#fff}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-color:inherit;opacity:.5;z-index:1}.wp-block-cover-image.has-background-dim.has-background-dim-10:before,.wp-block-cover.has-background-dim.has-background-dim-10:before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:before,.wp-block-cover.has-background-dim.has-background-dim-20:before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:before,.wp-block-cover.has-background-dim.has-background-dim-30:before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:before,.wp-block-cover.has-background-dim.has-background-dim-40:before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:before,.wp-block-cover.has-background-dim.has-background-dim-50:before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:before,.wp-block-cover.has-background-dim.has-background-dim-60:before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:before,.wp-block-cover.has-background-dim.has-background-dim-70:before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:before,.wp-block-cover.has-background-dim.has-background-dim-80:before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:before,.wp-block-cover.has-background-dim.has-background-dim-90:before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:before,.wp-block-cover.has-background-dim.has-background-dim-100:before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:305px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead,.wp-block-cover-image h1,.wp-block-cover-image h2,.wp-block-cover-image h3,.wp-block-cover-image h4,.wp-block-cover-image h5,.wp-block-cover-image h6,.wp-block-cover-image p,.wp-block-cover .wp-block-subhead,.wp-block-cover h1,.wp-block-cover h2,.wp-block-cover h3,.wp-block-cover h4,.wp-block-cover h5,.wp-block-cover h6,.wp-block-cover p{color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-6 .wp-block-embed__wrapper:before{padding-top:66.66%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{max-width:100%;margin-bottom:1em;margin-left:0;margin-right:0}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-left:0;margin-right:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:left;height:40px;margin-right:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-media-text{display:grid;grid-template-rows:auto;align-items:center;grid-template-areas:"media-text-media media-text-content";grid-template-columns:50% auto}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media";grid-template-columns:auto 50%}.wp-block-media-text .wp-block-media-text__media{grid-area:media-text-media;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;grid-area:media-text-content;padding:0 8%}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{grid-template-columns:100%!important;grid-template-areas:"media-text-media" "media-text-content"}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right{grid-template-areas:"media-text-content" "media-text-media"}}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}.has-drop-cap:not(:focus):after{content:"";display:table;clear:both;padding-top:14px}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-left:0;margin-right:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:305px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;text-align:left;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:right}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1}.wp-block-search .wp-block-search__button{margin-left:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:#191e23;font-size:20px;letter-spacing:2em;padding-left:2em;font-family:serif}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table.has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table.has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table.has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table.has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tr:nth-child(odd),.wp-block-table.is-style-stripes tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-left:0;margin-right:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.has-pale-pink-background-color.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color.has-pale-pink-color{color:#f78da7}.has-vivid-red-color.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color.has-very-dark-gray-color{color:#313131}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px} \ No newline at end of file diff --git a/wp-includes/css/dist/components/style-rtl.css b/wp-includes/css/dist/components/style-rtl.css index e19c094189..8b7f579029 100644 --- a/wp-includes/css/dist/components/style-rtl.css +++ b/wp-includes/css/dist/components/style-rtl.css @@ -410,7 +410,7 @@ box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff; outline: 2px solid transparent; outline-offset: -2px; } - .components-button.is-busy { + .components-button.is-busy, .components-button.is-default.is-busy, .components-button.is-default.is-busy:disabled, .components-button.is-default.is-busy[aria-disabled="true"] { animation: components-button__busy-animation 2500ms infinite linear; background-size: 100px 100%; background-image: repeating-linear-gradient(45deg, #e2e4e7, #fff 11px, #fff 10px, #e2e4e7 20px); @@ -522,7 +522,8 @@ cursor: pointer; } .components-color-palette__item.is-active { box-shadow: inset 0 0 0 4px; - border: 1px solid #606a73; } + position: relative; + z-index: 1; } .components-color-palette__item.is-active + .dashicons-saved { position: absolute; right: 4px; diff --git a/wp-includes/css/dist/components/style-rtl.min.css b/wp-includes/css/dist/components/style-rtl.min.css index 7635b24cf6..1eb5870b9f 100644 --- a/wp-includes/css/dist/components/style-rtl.min.css +++ b/wp-includes/css/dist/components/style-rtl.min.css @@ -1 +1 @@ -.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms!important}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top right}.components-animate__appear.is-from-top.is-from-right{transform-origin:top left}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom right}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom left}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms!important}}.components-animate__slide-in.is-from-left{transform:translateX(-100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-autocomplete__popover .components-popover__content{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-right:-3px;margin-left:-3px;text-align:right}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0}.components-button-group .components-button.is-button+.components-button.is-button{margin-right:-1px}.components-button-group .components-button.is-button:first-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button:last-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none}.components-button.is-button{padding:0 10px 1px;line-height:26px;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc;vertical-align:top}.components-button.is-default:hover{background:#fafafa;border-color:#999;box-shadow:inset 0 -1px 0 #999;color:#23282d;text-decoration:none}.components-button.is-default:focus:enabled{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 2px #bfe7f3;text-decoration:none}.components-button.is-default:active:enabled{background:#eee;border-color:#999;box-shadow:inset 0 1px 0 #999}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;box-shadow:none;text-shadow:0 1px 0 #fff;transform:none}.components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #005d82,-1px 0 1px #005d82,0 1px 1px #005d82,1px 0 1px #005d82}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#a76b3b #9d6538 #9d6538;box-shadow:inset 0 -1px 0 #9d6538;text-shadow:0 -1px 1px #925e34,-1px 0 1px #925e34,0 1px 1px #925e34,1px 0 1px #925e34}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#829482 #7a8b7a #7a8b7a;box-shadow:inset 0 -1px 0 #7a8b7a;text-shadow:0 -1px 1px #728271,-1px 0 1px #728271,0 1px 1px #728271,1px 0 1px #728271}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#b43e36 #a93a32 #a93a32;box-shadow:inset 0 -1px 0 #a93a32;text-shadow:0 -1px 1px #9e362f,-1px 0 1px #9e362f,0 1px 1px #9e362f,1px 0 1px #9e362f}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#869245 #7d8941 #7d8941;box-shadow:inset 0 -1px 0 #7d8941;text-shadow:0 -1px 1px #757f3c,-1px 0 1px #757f3c,0 1px 1px #757f3c,1px 0 1px #757f3c}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#9b8570 #927d69 #927d69;box-shadow:inset 0 -1px 0 #927d69;text-shadow:0 -1px 1px #887462,-1px 0 1px #887462,0 1px 1px #887462,1px 0 1px #887462}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#ae8947 #a38043 #a38043;box-shadow:inset 0 -1px 0 #a38043;text-shadow:0 -1px 1px #98783e,-1px 0 1px #98783e,0 1px 1px #98783e,1px 0 1px #98783e}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;text-shadow:0 -1px 1px #005d82,-1px 0 1px #005d82,0 1px 1px #005d82,1px 0 1px #005d82}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#007eb1;border-color:#00435d;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#c77f46;border-color:#694325}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#9bb09a;border-color:#525d51}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#d64940;border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#9fad52;border-color:#545b2b}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#b89e85;border-color:#615346}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#cea255;border-color:#6d562d}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#007eb1;border-color:#00435d}.components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}body.admin-color-sunrise .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #694325}body.admin-color-ocean .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #615346}body.admin-color-blue .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #6d562d}body.admin-color-light .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}.components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 2px #bfe7f3}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #694325,0 0 0 2px #bfe7f3}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #525d51,0 0 0 2px #bfe7f3}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #712722,0 0 0 2px #bfe7f3}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #545b2b,0 0 0 2px #bfe7f3}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #615346,0 0 0 2px #bfe7f3}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #6d562d,0 0 0 2px #bfe7f3}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 2px #bfe7f3}.components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d;vertical-align:top}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#694325;box-shadow:inset 0 1px 0 #694325}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#525d51;box-shadow:inset 0 1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#712722;box-shadow:inset 0 1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#545b2b;box-shadow:inset 0 1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#615346;box-shadow:inset 0 1px 0 #615346}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#6d562d;box-shadow:inset 0 1px 0 #6d562d}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d}.components-button.is-primary:disabled,.components-button.is-primary[aria-disabled=true]{color:#4daacf;background:#005d82;border-color:#006a95;box-shadow:none;text-shadow:0 -1px 0 rgba(0,0,0,.1)}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]{color:#dfaa80;background:#925e34;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]{color:#bfcebe;background:#728271;border-color:#829482}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]{color:#ea827b;background:#9e362f;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]{color:#c1cc89;background:#757f3c;border-color:#869245}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]{color:#d4c1af;background:#887462;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]{color:#e4c48b;background:#98783e;border-color:#ae8947}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]{color:#4daacf;background:#005d82;border-color:#006a95}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(45deg,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d1864a 28%,#925e34 0,#925e34 72%,#d1864a 0);border-color:#694325}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a3b9a2 28%,#728271 0,#728271 72%,#a3b9a2 0);border-color:#525d51}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#e14d43 28%,#9e362f 0,#9e362f 72%,#e14d43 0);border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a7b656 28%,#757f3c 0,#757f3c 72%,#a7b656 0);border-color:#545b2b}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#c2a68c 28%,#887462 0,#887462 72%,#c2a68c 0);border-color:#615346}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#82b4cb 28%,#5b7e8e 0,#5b7e8e 72%,#82b4cb 0);border-color:#415a66}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:right;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:currentColor}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:enabled{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-button.is-busy{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{margin-top:0}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-right:.5rem}.components-color-palette{margin-left:-14px;width:calc(100% + 14px)}.components-color-palette .components-color-palette__custom-clear-wrapper{width:calc(100% - 14px);display:flex;justify-content:flex-end}.components-color-palette__item-wrapper{display:inline-block;height:28px;width:28px;margin-left:14px;margin-bottom:14px;vertical-align:top;transform:scale(1);transition:transform .1s ease}.components-color-palette__item-wrapper:hover{transform:scale(1.2)}.components-color-palette__item-wrapper>div{height:100%;width:100%}.components-color-palette__item{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}.components-color-palette__item.is-active{box-shadow:inset 0 0 0 4px;border:1px solid #606a73}.components-color-palette__item.is-active+.dashicons-saved{position:absolute;right:4px;top:4px}.components-color-palette__item:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}.components-color-palette__item:focus{outline:none}.components-color-palette__item:focus:after{content:"";border:2px solid #606a73;width:32px;height:32px;position:absolute;top:-2px;right:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-color-palette__clear-color .components-color-palette__item{color:#fff;background:#fff}.components-color-palette__clear-color-line{display:block;position:absolute;border:2px solid #d94f4f;border-radius:50%;top:0;right:0;bottom:0;left:0}.components-color-palette__clear-color-line:before{position:absolute;top:0;right:0;content:"";width:100%;height:100%;border-bottom:2px solid #d94f4f;transform:rotate(-45deg) translateY(-13px) translateX(1px)}.components-color-palette__custom-color{margin-left:16px}.components-color-palette__custom-color .components-button{line-height:22px}.block-editor__container .components-popover.components-color-palette__picker.is-bottom{z-index:100001}.components-color-picker{width:100%;overflow:hidden}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-left:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__saturation-color{overflow:hidden}.components-color-picker__saturation-white{background:linear-gradient(270deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(4px,-4px)}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(270deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{right:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.components-color-picker__inputs-wrapper fieldset{flex:1}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:2px}.components-color-picker__inputs-fields{display:flex}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}svg.dashicon{fill:currentColor;outline:none}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:9px}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime .components-datetime__calendar-help{padding:8px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{display:block;margin-right:auto;margin-left:8px;margin-top:.5em}.components-datetime__date{min-height:236px;border-top:1px solid #e2e4e7;margin-right:-8px;margin-left:-8px}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__time{margin-bottom:1em}.components-datetime__time fieldset{margin-top:.5em;position:relative}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 0 0 3px;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-right:8px;margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field{align-self:center;flex:0 1 auto;order:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button{font-size:11px;font-weight:600}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{padding:2px;margin-left:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-left:4px;width:40px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:0 0 0 -4px!important;border-radius:0 4px 4px 0!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:4px 0 0 4px!important}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;right:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{width:90px}.components-popover .components-datetime__date{padding-right:6px}.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left{z-index:100000}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0}.components-disabled *{pointer-events:none}body.is-dragging-components-draggable{cursor:move;cursor:-webkit-grabbing!important;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;right:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.components-drop-zone{position:absolute;top:0;left:0;bottom:0;right:0;z-index:100;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid #0071a1;border-radius:2px}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.components-drop-zone__content{position:absolute;top:50%;right:0;left:0;z-index:110;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown-menu{padding:3px;display:flex}.components-dropdown-menu .components-dropdown-menu__toggle{width:auto;margin:0;padding:4px;border:1px solid transparent;display:flex;flex-direction:row}.components-dropdown-menu .components-dropdown-menu__toggle.is-active,.components-dropdown-menu .components-dropdown-menu__toggle.is-active:hover{box-shadow:none;background-color:#555d66;color:#fff}.components-dropdown-menu .components-dropdown-menu__toggle:focus:before{top:-3px;left:-3px;bottom:-3px;right:-3px}.components-dropdown-menu .components-dropdown-menu__toggle:focus,.components-dropdown-menu .components-dropdown-menu__toggle:hover,.components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:9px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item{width:100%;padding:6px;outline:none;cursor:pointer;margin-bottom:4px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before{display:block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:-3px;right:0;left:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 0 -1px 8px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:-webkit-grab;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:-webkit-grabbing;cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;right:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 0 0 1em}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 .2em 0 0}.components-font-size-picker__buttons{max-width:248px;display:flex;justify-content:space-between;align-items:center}.components-font-size-picker__buttons .components-range-control__number{height:30px;margin-right:0}.components-font-size-picker__buttons .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker__dropdown-content .components-button{display:block;position:relative;padding:10px 40px 10px 20px;width:100%;text-align:right}.components-font-size-picker__dropdown-content .components-button .dashicon{position:absolute;top:calc(50% - 10px);right:10px}.components-font-size-picker__dropdown-content .components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-font-size-picker__dropdown-content .components-button:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-font-size-picker__buttons .components-font-size-picker__selector{background:none;position:relative;width:110px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0}.components-font-size-picker__buttons .components-font-size-picker__selector:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-font-size-picker__buttons .components-font-size-picker__selector:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px;left:8px;top:12px;position:absolute}.components-form-file-upload .components-button.is-large{padding-right:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;left:6px}.components-form-toggle .components-form-toggle__on{right:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;width:36px;height:18px;border-radius:9px;transition:background .2s ease}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;right:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(-18px)}.components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;right:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 8px 2px 0;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 0 2px 4px;color:#32373c;overflow:hidden}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#d94f4f}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#555d66}.components-form-token-field__token.is-borderless{position:relative;padding:0 0 0 16px}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;position:absolute;top:1px;left:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#d94f4f;border-radius:0 4px 4px 0;padding:0 6px 0 4px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}.components-form-token-field__token-text{border-radius:0 12px 12px 0;padding:0 8px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:12px 0 0 12px;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;right:0;left:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-left:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:right;color:#40464d}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-left:4px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#555d66}@media (min-width:782px){.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{opacity:1}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;opacity:.84}.components-menu-item__shortcut{align-self:center;opacity:.84;margin-left:0;margin-right:auto;padding-right:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:hsla(0,0%,100%,.4);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms!important}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;left:auto;bottom:auto;right:50%;min-width:360px;max-width:calc(100% - 32px);max-height:calc(100% - 112px);transform:translate(50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms!important}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 16px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -16px 16px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 16px 16px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.components-notice{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#e5f5fa;border-right:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px}.components-notice.is-dismissible{padding-left:36px;position:relative}.components-notice.is-success{border-right-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-right-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-right-color:#d94f4f;background-color:#f9e2e2}.components-notice__content{margin:1em 0 1em 25px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-right:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{position:absolute;top:0;left:0;color:#6c7781}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#d94f4f;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.components-notice-list{min-width:300px;z-index:29}.components-panel{background:#fff;border:1px solid #e2e4e7}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:right;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#191e23;fill:currentColor;transition:color .1s ease-in-out}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#555d66;margin:-2px 6px -2px 0}.components-panel__body-toggle-icon{margin-left:-5px}.components-panel__color-title{float:right;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-left:10px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;width:100%;text-align:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background:rgba(139,139,150,.1)}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder__label{display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-left:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__input{margin-left:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-popover{position:fixed;z-index:1000000;left:50%}.components-popover.is-mobile{top:0;left:0;right:0;bottom:0}.components-popover:not(.is-without-arrow):not(.is-mobile){margin-left:2px}.components-popover:not(.is-without-arrow):not(.is-mobile):before{border:8px solid #e2e4e7}.components-popover:not(.is-without-arrow):not(.is-mobile):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):not(.is-mobile):after,.components-popover:not(.is-without-arrow):not(.is-mobile):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top{margin-top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{bottom:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after{bottom:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom{margin-top:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after{top:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left{margin-left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{right:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after{right:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right{margin-left:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after{left:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover:not(.is-mobile).is-top{bottom:100%}.components-popover:not(.is-mobile).is-bottom{top:100%;z-index:99990}.components-popover:not(.is-mobile).is-middle{align-items:center;display:flex}.components-popover__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover.is-mobile .components-popover__content{height:calc(100% - 50px);border-top:0}.components-popover:not(.is-mobile) .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover:not(.is-mobile).is-top .components-popover__content{bottom:100%}.components-popover:not(.is-mobile).is-center .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover:not(.is-mobile).is-right .components-popover__content{position:absolute;left:100%}.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-24px}.components-popover:not(.is-mobile).is-left .components-popover__content{position:absolute;right:100%}.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;border:1px solid #e2e4e7;display:flex;height:50px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-icon-button{z-index:5}.components-radio-control{display:flex;flex-direction:column}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{margin-top:0;margin-left:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-left:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-right:0;flex:1}.components-range-control__slider{width:100%;margin-right:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-right:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:24px;height:24px;padding:4px}.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:before{display:block;content:"";width:16px;height:16px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit}body.admin-color-sunrise .components-resizable-box__handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:before{background:#0085ba}.components-resizable-box__handle-right{top:calc(50% - 12px);right:-12px}.components-resizable-box__handle-bottom{bottom:-12px;left:calc(50% - 12px)}.components-resizable-box__handle-left{top:calc(50% - 12px);left:-12px}.components-responsive-wrapper{position:relative;max-width:100%}.components-responsive-wrapper__content{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.components-sandbox,body.lockscroll,html.lockscroll{overflow:hidden}.components-select-control__input{background:#fff;height:36px;line-height:36px;margin:1px;outline:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)!important}@media (min-width:782px){.components-select-control__input{height:28px;line-height:28px}}@media (max-width:782px){.components-base-control .components-base-control__field .components-select-control__input{font-size:16px}}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:left;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-toggle-control .components-base-control__field{display:flex;margin-bottom:12px}.components-toggle-control .components-base-control__field .components-form-toggle{margin-left:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block;margin-bottom:4px}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-right:-3px}div.components-toolbar>div+div.has-left-divider{margin-right:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:8px;right:-3px;width:1px;height:20px}.components-toolbar__control.components-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;outline:none;cursor:pointer;position:relative;width:36px;height:36px}.components-toolbar__control.components-button:active,.components-toolbar__control.components-button:not([aria-disabled=true]):focus,.components-toolbar__control.components-button:not([aria-disabled=true]):hover{outline:none;box-shadow:none;background:none;border:none}.components-toolbar__control.components-button:disabled{cursor:default}.components-toolbar__control.components-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 0 5px 10px}.components-toolbar__control.components-button[data-subscript]:after{content:attr(data-subscript);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;line-height:12px;position:absolute;left:8px;bottom:10px}.components-toolbar__control.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.components-toolbar__control.components-button:not(:disabled).is-active>svg,.components-toolbar__control.components-button:not(:disabled):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-toolbar__control.components-button:not(:disabled).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]:after{color:#fff}.components-toolbar__control.components-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-toolbar__control .dashicon{display:block}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover.is-top:after{border-top-color:#191e23}.components-tooltip.components-popover.is-bottom:after{border-bottom-color:#191e23}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip:not(.is-mobile) .components-popover__content{min-width:0}.components-tooltip__shortcut{display:block;color:#7e8993} \ No newline at end of file +.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms!important}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top right}.components-animate__appear.is-from-top.is-from-right{transform-origin:top left}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom right}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom left}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms!important}}.components-animate__slide-in.is-from-left{transform:translateX(-100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-autocomplete__popover .components-popover__content{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-right:-3px;margin-left:-3px;text-align:right}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0}.components-button-group .components-button.is-button+.components-button.is-button{margin-right:-1px}.components-button-group .components-button.is-button:first-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button:last-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none}.components-button.is-button{padding:0 10px 1px;line-height:26px;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc;vertical-align:top}.components-button.is-default:hover{background:#fafafa;border-color:#999;box-shadow:inset 0 -1px 0 #999;color:#23282d;text-decoration:none}.components-button.is-default:focus:enabled{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 2px #bfe7f3;text-decoration:none}.components-button.is-default:active:enabled{background:#eee;border-color:#999;box-shadow:inset 0 1px 0 #999}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;box-shadow:none;text-shadow:0 1px 0 #fff;transform:none}.components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #005d82,-1px 0 1px #005d82,0 1px 1px #005d82,1px 0 1px #005d82}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#a76b3b #9d6538 #9d6538;box-shadow:inset 0 -1px 0 #9d6538;text-shadow:0 -1px 1px #925e34,-1px 0 1px #925e34,0 1px 1px #925e34,1px 0 1px #925e34}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#829482 #7a8b7a #7a8b7a;box-shadow:inset 0 -1px 0 #7a8b7a;text-shadow:0 -1px 1px #728271,-1px 0 1px #728271,0 1px 1px #728271,1px 0 1px #728271}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#b43e36 #a93a32 #a93a32;box-shadow:inset 0 -1px 0 #a93a32;text-shadow:0 -1px 1px #9e362f,-1px 0 1px #9e362f,0 1px 1px #9e362f,1px 0 1px #9e362f}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#869245 #7d8941 #7d8941;box-shadow:inset 0 -1px 0 #7d8941;text-shadow:0 -1px 1px #757f3c,-1px 0 1px #757f3c,0 1px 1px #757f3c,1px 0 1px #757f3c}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#9b8570 #927d69 #927d69;box-shadow:inset 0 -1px 0 #927d69;text-shadow:0 -1px 1px #887462,-1px 0 1px #887462,0 1px 1px #887462,1px 0 1px #887462}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#ae8947 #a38043 #a38043;box-shadow:inset 0 -1px 0 #a38043;text-shadow:0 -1px 1px #98783e,-1px 0 1px #98783e,0 1px 1px #98783e,1px 0 1px #98783e}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;text-shadow:0 -1px 1px #005d82,-1px 0 1px #005d82,0 1px 1px #005d82,1px 0 1px #005d82}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#007eb1;border-color:#00435d;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#c77f46;border-color:#694325}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#9bb09a;border-color:#525d51}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#d64940;border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#9fad52;border-color:#545b2b}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#b89e85;border-color:#615346}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#cea255;border-color:#6d562d}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#007eb1;border-color:#00435d}.components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}body.admin-color-sunrise .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #694325}body.admin-color-ocean .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #615346}body.admin-color-blue .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #6d562d}body.admin-color-light .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}.components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 2px #bfe7f3}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #694325,0 0 0 2px #bfe7f3}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #525d51,0 0 0 2px #bfe7f3}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #712722,0 0 0 2px #bfe7f3}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #545b2b,0 0 0 2px #bfe7f3}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #615346,0 0 0 2px #bfe7f3}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #6d562d,0 0 0 2px #bfe7f3}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 2px #bfe7f3}.components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d;vertical-align:top}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#694325;box-shadow:inset 0 1px 0 #694325}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#525d51;box-shadow:inset 0 1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#712722;box-shadow:inset 0 1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#545b2b;box-shadow:inset 0 1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#615346;box-shadow:inset 0 1px 0 #615346}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#6d562d;box-shadow:inset 0 1px 0 #6d562d}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d}.components-button.is-primary:disabled,.components-button.is-primary[aria-disabled=true]{color:#4daacf;background:#005d82;border-color:#006a95;box-shadow:none;text-shadow:0 -1px 0 rgba(0,0,0,.1)}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]{color:#dfaa80;background:#925e34;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]{color:#bfcebe;background:#728271;border-color:#829482}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]{color:#ea827b;background:#9e362f;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]{color:#c1cc89;background:#757f3c;border-color:#869245}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]{color:#d4c1af;background:#887462;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]{color:#e4c48b;background:#98783e;border-color:#ae8947}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]{color:#4daacf;background:#005d82;border-color:#006a95}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(45deg,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d1864a 28%,#925e34 0,#925e34 72%,#d1864a 0);border-color:#694325}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a3b9a2 28%,#728271 0,#728271 72%,#a3b9a2 0);border-color:#525d51}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#e14d43 28%,#9e362f 0,#9e362f 72%,#e14d43 0);border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a7b656 28%,#757f3c 0,#757f3c 72%,#a7b656 0);border-color:#545b2b}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#c2a68c 28%,#887462 0,#887462 72%,#c2a68c 0);border-color:#615346}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#82b4cb 28%,#5b7e8e 0,#5b7e8e 72%,#82b4cb 0);border-color:#415a66}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:right;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:currentColor}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:enabled{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-button.is-busy,.components-button.is-default.is-busy,.components-button.is-default.is-busy:disabled,.components-button.is-default.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{margin-top:0}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-right:.5rem}.components-color-palette{margin-left:-14px;width:calc(100% + 14px)}.components-color-palette .components-color-palette__custom-clear-wrapper{width:calc(100% - 14px);display:flex;justify-content:flex-end}.components-color-palette__item-wrapper{display:inline-block;height:28px;width:28px;margin-left:14px;margin-bottom:14px;vertical-align:top;transform:scale(1);transition:transform .1s ease}.components-color-palette__item-wrapper:hover{transform:scale(1.2)}.components-color-palette__item-wrapper>div{height:100%;width:100%}.components-color-palette__item{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}.components-color-palette__item.is-active{box-shadow:inset 0 0 0 4px;position:relative;z-index:1}.components-color-palette__item.is-active+.dashicons-saved{position:absolute;right:4px;top:4px}.components-color-palette__item:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}.components-color-palette__item:focus{outline:none}.components-color-palette__item:focus:after{content:"";border:2px solid #606a73;width:32px;height:32px;position:absolute;top:-2px;right:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-color-palette__clear-color .components-color-palette__item{color:#fff;background:#fff}.components-color-palette__clear-color-line{display:block;position:absolute;border:2px solid #d94f4f;border-radius:50%;top:0;right:0;bottom:0;left:0}.components-color-palette__clear-color-line:before{position:absolute;top:0;right:0;content:"";width:100%;height:100%;border-bottom:2px solid #d94f4f;transform:rotate(-45deg) translateY(-13px) translateX(1px)}.components-color-palette__custom-color{margin-left:16px}.components-color-palette__custom-color .components-button{line-height:22px}.block-editor__container .components-popover.components-color-palette__picker.is-bottom{z-index:100001}.components-color-picker{width:100%;overflow:hidden}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-left:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__saturation-color{overflow:hidden}.components-color-picker__saturation-white{background:linear-gradient(270deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(4px,-4px)}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(270deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{right:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.components-color-picker__inputs-wrapper fieldset{flex:1}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:2px}.components-color-picker__inputs-fields{display:flex}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}svg.dashicon{fill:currentColor;outline:none}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:9px}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime .components-datetime__calendar-help{padding:8px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{display:block;margin-right:auto;margin-left:8px;margin-top:.5em}.components-datetime__date{min-height:236px;border-top:1px solid #e2e4e7;margin-right:-8px;margin-left:-8px}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__time{margin-bottom:1em}.components-datetime__time fieldset{margin-top:.5em;position:relative}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 0 0 3px;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-right:8px;margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field{align-self:center;flex:0 1 auto;order:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button{font-size:11px;font-weight:600}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{padding:2px;margin-left:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-left:4px;width:40px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:0 0 0 -4px!important;border-radius:0 4px 4px 0!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:4px 0 0 4px!important}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;right:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{width:90px}.components-popover .components-datetime__date{padding-right:6px}.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left{z-index:100000}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0}.components-disabled *{pointer-events:none}body.is-dragging-components-draggable{cursor:move;cursor:-webkit-grabbing!important;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;right:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.components-drop-zone{position:absolute;top:0;left:0;bottom:0;right:0;z-index:100;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid #0071a1;border-radius:2px}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.components-drop-zone__content{position:absolute;top:50%;right:0;left:0;z-index:110;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown-menu{padding:3px;display:flex}.components-dropdown-menu .components-dropdown-menu__toggle{width:auto;margin:0;padding:4px;border:1px solid transparent;display:flex;flex-direction:row}.components-dropdown-menu .components-dropdown-menu__toggle.is-active,.components-dropdown-menu .components-dropdown-menu__toggle.is-active:hover{box-shadow:none;background-color:#555d66;color:#fff}.components-dropdown-menu .components-dropdown-menu__toggle:focus:before{top:-3px;left:-3px;bottom:-3px;right:-3px}.components-dropdown-menu .components-dropdown-menu__toggle:focus,.components-dropdown-menu .components-dropdown-menu__toggle:hover,.components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:9px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item{width:100%;padding:6px;outline:none;cursor:pointer;margin-bottom:4px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before{display:block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:-3px;right:0;left:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 0 -1px 8px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:-webkit-grab;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:-webkit-grabbing;cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;right:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 0 0 1em}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 .2em 0 0}.components-font-size-picker__buttons{max-width:248px;display:flex;justify-content:space-between;align-items:center}.components-font-size-picker__buttons .components-range-control__number{height:30px;margin-right:0}.components-font-size-picker__buttons .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker__dropdown-content .components-button{display:block;position:relative;padding:10px 40px 10px 20px;width:100%;text-align:right}.components-font-size-picker__dropdown-content .components-button .dashicon{position:absolute;top:calc(50% - 10px);right:10px}.components-font-size-picker__dropdown-content .components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-font-size-picker__dropdown-content .components-button:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-font-size-picker__buttons .components-font-size-picker__selector{background:none;position:relative;width:110px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0}.components-font-size-picker__buttons .components-font-size-picker__selector:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-font-size-picker__buttons .components-font-size-picker__selector:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px;left:8px;top:12px;position:absolute}.components-form-file-upload .components-button.is-large{padding-right:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;left:6px}.components-form-toggle .components-form-toggle__on{right:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;width:36px;height:18px;border-radius:9px;transition:background .2s ease}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;right:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(-18px)}.components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;right:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 8px 2px 0;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 0 2px 4px;color:#32373c;overflow:hidden}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#d94f4f}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#555d66}.components-form-token-field__token.is-borderless{position:relative;padding:0 0 0 16px}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;position:absolute;top:1px;left:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#d94f4f;border-radius:0 4px 4px 0;padding:0 6px 0 4px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}.components-form-token-field__token-text{border-radius:0 12px 12px 0;padding:0 8px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:12px 0 0 12px;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;right:0;left:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-left:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:right;color:#40464d}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-left:4px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#555d66}@media (min-width:782px){.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{opacity:1}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;opacity:.84}.components-menu-item__shortcut{align-self:center;opacity:.84;margin-left:0;margin-right:auto;padding-right:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:hsla(0,0%,100%,.4);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms!important}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;left:auto;bottom:auto;right:50%;min-width:360px;max-width:calc(100% - 32px);max-height:calc(100% - 112px);transform:translate(50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms!important}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 16px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -16px 16px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 16px 16px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.components-notice{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#e5f5fa;border-right:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px}.components-notice.is-dismissible{padding-left:36px;position:relative}.components-notice.is-success{border-right-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-right-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-right-color:#d94f4f;background-color:#f9e2e2}.components-notice__content{margin:1em 0 1em 25px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-right:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{position:absolute;top:0;left:0;color:#6c7781}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#d94f4f;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.components-notice-list{min-width:300px;z-index:29}.components-panel{background:#fff;border:1px solid #e2e4e7}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:right;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#191e23;fill:currentColor;transition:color .1s ease-in-out}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#555d66;margin:-2px 6px -2px 0}.components-panel__body-toggle-icon{margin-left:-5px}.components-panel__color-title{float:right;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-left:10px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;width:100%;text-align:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background:rgba(139,139,150,.1)}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder__label{display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-left:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__input{margin-left:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-popover{position:fixed;z-index:1000000;left:50%}.components-popover.is-mobile{top:0;left:0;right:0;bottom:0}.components-popover:not(.is-without-arrow):not(.is-mobile){margin-left:2px}.components-popover:not(.is-without-arrow):not(.is-mobile):before{border:8px solid #e2e4e7}.components-popover:not(.is-without-arrow):not(.is-mobile):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):not(.is-mobile):after,.components-popover:not(.is-without-arrow):not(.is-mobile):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top{margin-top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{bottom:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after{bottom:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom{margin-top:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after{top:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left{margin-left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{right:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after{right:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right{margin-left:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after{left:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover:not(.is-mobile).is-top{bottom:100%}.components-popover:not(.is-mobile).is-bottom{top:100%;z-index:99990}.components-popover:not(.is-mobile).is-middle{align-items:center;display:flex}.components-popover__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover.is-mobile .components-popover__content{height:calc(100% - 50px);border-top:0}.components-popover:not(.is-mobile) .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover:not(.is-mobile).is-top .components-popover__content{bottom:100%}.components-popover:not(.is-mobile).is-center .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover:not(.is-mobile).is-right .components-popover__content{position:absolute;left:100%}.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-24px}.components-popover:not(.is-mobile).is-left .components-popover__content{position:absolute;right:100%}.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;border:1px solid #e2e4e7;display:flex;height:50px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-icon-button{z-index:5}.components-radio-control{display:flex;flex-direction:column}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{margin-top:0;margin-left:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-left:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-right:0;flex:1}.components-range-control__slider{width:100%;margin-right:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-right:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:24px;height:24px;padding:4px}.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:before{display:block;content:"";width:16px;height:16px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit}body.admin-color-sunrise .components-resizable-box__handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:before{background:#0085ba}.components-resizable-box__handle-right{top:calc(50% - 12px);right:-12px}.components-resizable-box__handle-bottom{bottom:-12px;left:calc(50% - 12px)}.components-resizable-box__handle-left{top:calc(50% - 12px);left:-12px}.components-responsive-wrapper{position:relative;max-width:100%}.components-responsive-wrapper__content{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.components-sandbox,body.lockscroll,html.lockscroll{overflow:hidden}.components-select-control__input{background:#fff;height:36px;line-height:36px;margin:1px;outline:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)!important}@media (min-width:782px){.components-select-control__input{height:28px;line-height:28px}}@media (max-width:782px){.components-base-control .components-base-control__field .components-select-control__input{font-size:16px}}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:left;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-toggle-control .components-base-control__field{display:flex;margin-bottom:12px}.components-toggle-control .components-base-control__field .components-form-toggle{margin-left:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block;margin-bottom:4px}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-right:-3px}div.components-toolbar>div+div.has-left-divider{margin-right:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:8px;right:-3px;width:1px;height:20px}.components-toolbar__control.components-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;outline:none;cursor:pointer;position:relative;width:36px;height:36px}.components-toolbar__control.components-button:active,.components-toolbar__control.components-button:not([aria-disabled=true]):focus,.components-toolbar__control.components-button:not([aria-disabled=true]):hover{outline:none;box-shadow:none;background:none;border:none}.components-toolbar__control.components-button:disabled{cursor:default}.components-toolbar__control.components-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 0 5px 10px}.components-toolbar__control.components-button[data-subscript]:after{content:attr(data-subscript);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;line-height:12px;position:absolute;left:8px;bottom:10px}.components-toolbar__control.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.components-toolbar__control.components-button:not(:disabled).is-active>svg,.components-toolbar__control.components-button:not(:disabled):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-toolbar__control.components-button:not(:disabled).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]:after{color:#fff}.components-toolbar__control.components-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-toolbar__control .dashicon{display:block}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover.is-top:after{border-top-color:#191e23}.components-tooltip.components-popover.is-bottom:after{border-bottom-color:#191e23}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip:not(.is-mobile) .components-popover__content{min-width:0}.components-tooltip__shortcut{display:block;color:#7e8993} \ No newline at end of file diff --git a/wp-includes/css/dist/components/style.css b/wp-includes/css/dist/components/style.css index 224b269424..87fcb91b5e 100644 --- a/wp-includes/css/dist/components/style.css +++ b/wp-includes/css/dist/components/style.css @@ -410,7 +410,7 @@ box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff; outline: 2px solid transparent; outline-offset: -2px; } - .components-button.is-busy { + .components-button.is-busy, .components-button.is-default.is-busy, .components-button.is-default.is-busy:disabled, .components-button.is-default.is-busy[aria-disabled="true"] { animation: components-button__busy-animation 2500ms infinite linear; background-size: 100px 100%; background-image: repeating-linear-gradient(-45deg, #e2e4e7, #fff 11px, #fff 10px, #e2e4e7 20px); @@ -522,7 +522,8 @@ cursor: pointer; } .components-color-palette__item.is-active { box-shadow: inset 0 0 0 4px; - border: 1px solid #606a73; } + position: relative; + z-index: 1; } .components-color-palette__item.is-active + .dashicons-saved { position: absolute; left: 4px; diff --git a/wp-includes/css/dist/components/style.min.css b/wp-includes/css/dist/components/style.min.css index 274c35ea86..bf0cc21e85 100644 --- a/wp-includes/css/dist/components/style.min.css +++ b/wp-includes/css/dist/components/style.min.css @@ -1,4 +1,4 @@ -.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms!important}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top left}.components-animate__appear.is-from-top.is-from-right{transform-origin:top right}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom left}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom right}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms!important}}.components-animate__slide-in.is-from-left{transform:translateX(100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-autocomplete__popover .components-popover__content{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-left:-3px;margin-right:-3px;text-align:left}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0}.components-button-group .components-button.is-button+.components-button.is-button{margin-left:-1px}.components-button-group .components-button.is-button:first-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button:last-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none}.components-button.is-button{padding:0 10px 1px;line-height:26px;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc;vertical-align:top}.components-button.is-default:hover{background:#fafafa;border-color:#999;box-shadow:inset 0 -1px 0 #999;color:#23282d;text-decoration:none}.components-button.is-default:focus:enabled{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 2px #bfe7f3;text-decoration:none}.components-button.is-default:active:enabled{background:#eee;border-color:#999;box-shadow:inset 0 1px 0 #999}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;box-shadow:none;text-shadow:0 1px 0 #fff;transform:none}.components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#a76b3b #9d6538 #9d6538;box-shadow:inset 0 -1px 0 #9d6538;text-shadow:0 -1px 1px #925e34,1px 0 1px #925e34,0 1px 1px #925e34,-1px 0 1px #925e34}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#829482 #7a8b7a #7a8b7a;box-shadow:inset 0 -1px 0 #7a8b7a;text-shadow:0 -1px 1px #728271,1px 0 1px #728271,0 1px 1px #728271,-1px 0 1px #728271}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#b43e36 #a93a32 #a93a32;box-shadow:inset 0 -1px 0 #a93a32;text-shadow:0 -1px 1px #9e362f,1px 0 1px #9e362f,0 1px 1px #9e362f,-1px 0 1px #9e362f}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#869245 #7d8941 #7d8941;box-shadow:inset 0 -1px 0 #7d8941;text-shadow:0 -1px 1px #757f3c,1px 0 1px #757f3c,0 1px 1px #757f3c,-1px 0 1px #757f3c}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#9b8570 #927d69 #927d69;box-shadow:inset 0 -1px 0 #927d69;text-shadow:0 -1px 1px #887462,1px 0 1px #887462,0 1px 1px #887462,-1px 0 1px #887462}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#ae8947 #a38043 #a38043;box-shadow:inset 0 -1px 0 #a38043;text-shadow:0 -1px 1px #98783e,1px 0 1px #98783e,0 1px 1px #98783e,-1px 0 1px #98783e}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#007eb1;border-color:#00435d;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#c77f46;border-color:#694325}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#9bb09a;border-color:#525d51}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#d64940;border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#9fad52;border-color:#545b2b}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#b89e85;border-color:#615346}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#cea255;border-color:#6d562d}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#007eb1;border-color:#00435d}.components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}body.admin-color-sunrise .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #694325}body.admin-color-ocean .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #615346}body.admin-color-blue .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #6d562d}body.admin-color-light .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}.components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 2px #bfe7f3}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #694325,0 0 0 2px #bfe7f3}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #525d51,0 0 0 2px #bfe7f3}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #712722,0 0 0 2px #bfe7f3}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #545b2b,0 0 0 2px #bfe7f3}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #615346,0 0 0 2px #bfe7f3}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #6d562d,0 0 0 2px #bfe7f3}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 2px #bfe7f3}.components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d;vertical-align:top}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#694325;box-shadow:inset 0 1px 0 #694325}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#525d51;box-shadow:inset 0 1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#712722;box-shadow:inset 0 1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#545b2b;box-shadow:inset 0 1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#615346;box-shadow:inset 0 1px 0 #615346}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#6d562d;box-shadow:inset 0 1px 0 #6d562d}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d}.components-button.is-primary:disabled,.components-button.is-primary[aria-disabled=true]{color:#4daacf;background:#005d82;border-color:#006a95;box-shadow:none;text-shadow:0 -1px 0 rgba(0,0,0,.1)}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]{color:#dfaa80;background:#925e34;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]{color:#bfcebe;background:#728271;border-color:#829482}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]{color:#ea827b;background:#9e362f;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]{color:#c1cc89;background:#757f3c;border-color:#869245}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]{color:#d4c1af;background:#887462;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]{color:#e4c48b;background:#98783e;border-color:#ae8947}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]{color:#4daacf;background:#005d82;border-color:#006a95}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(-45deg,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d1864a 28%,#925e34 0,#925e34 72%,#d1864a 0);border-color:#694325}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a3b9a2 28%,#728271 0,#728271 72%,#a3b9a2 0);border-color:#525d51}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#e14d43 28%,#9e362f 0,#9e362f 72%,#e14d43 0);border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a7b656 28%,#757f3c 0,#757f3c 72%,#a7b656 0);border-color:#545b2b}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#c2a68c 28%,#887462 0,#887462 72%,#c2a68c 0);border-color:#615346}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#82b4cb 28%,#5b7e8e 0,#5b7e8e 72%,#82b4cb 0);border-color:#415a66}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:left;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:currentColor}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:enabled{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-button.is-busy{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(-45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{margin-top:0}.component-color-indicator{width:25px;height:16px;margin-left:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-left:.5rem}.components-color-palette{margin-right:-14px;width:calc(100% + 14px)}.components-color-palette .components-color-palette__custom-clear-wrapper{width:calc(100% - 14px);display:flex;justify-content:flex-end}.components-color-palette__item-wrapper{display:inline-block;height:28px;width:28px;margin-right:14px;margin-bottom:14px;vertical-align:top;transform:scale(1);transition:transform .1s ease}.components-color-palette__item-wrapper:hover{transform:scale(1.2)}.components-color-palette__item-wrapper>div{height:100%;width:100%}.components-color-palette__item{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}.components-color-palette__item.is-active{box-shadow:inset 0 0 0 4px;border:1px solid #606a73}.components-color-palette__item.is-active+.dashicons-saved{position:absolute;left:4px;top:4px}.components-color-palette__item:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}.components-color-palette__item:focus{outline:none}.components-color-palette__item:focus:after{content:"";border:2px solid #606a73;width:32px;height:32px;position:absolute;top:-2px;left:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-color-palette__clear-color .components-color-palette__item{color:#fff;background:#fff}.components-color-palette__clear-color-line{display:block;position:absolute;border:2px solid #d94f4f;border-radius:50%;top:0;left:0;bottom:0;right:0}.components-color-palette__clear-color-line:before{position:absolute;top:0;left:0;content:"";width:100%;height:100%;border-bottom:2px solid #d94f4f;transform:rotate(45deg) translateY(-13px) translateX(-1px)}.components-color-palette__custom-color{margin-right:16px}.components-color-palette__custom-color .components-button{line-height:22px}.block-editor__container .components-popover.components-color-palette__picker.is-bottom{z-index:100001}.components-color-picker{width:100%;overflow:hidden}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-right:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__saturation-color{overflow:hidden}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(-4px,-4px)}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(-7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.components-color-picker__inputs-wrapper fieldset{flex:1}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:2px}.components-color-picker__inputs-fields{display:flex}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}svg.dashicon{fill:currentColor;outline:none}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:9px}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime .components-datetime__calendar-help{padding:8px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{display:block;margin-left:auto;margin-right:8px;margin-top:.5em}.components-datetime__date{min-height:236px;border-top:1px solid #e2e4e7;margin-left:-8px;margin-right:-8px}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__time{margin-bottom:1em}.components-datetime__time fieldset{margin-top:.5em;position:relative}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 3px 0 0;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-left:8px;margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field{align-self:center;flex:0 1 auto;order:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button{font-size:11px;font-weight:600}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{padding:2px;margin-right:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-right:4px;width:40px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:0 -4px 0 0!important;border-radius:4px 0 0 4px!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 4px 4px 0!important}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;left:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{width:90px}.components-popover .components-datetime__date{padding-left:6px}.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left{z-index:100000}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.components-disabled *{pointer-events:none}body.is-dragging-components-draggable{cursor:move;cursor:-webkit-grabbing!important;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;left:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.components-drop-zone{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid #0071a1;border-radius:2px}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.components-drop-zone__content{position:absolute;top:50%;left:0;right:0;z-index:110;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown-menu{padding:3px;display:flex}.components-dropdown-menu .components-dropdown-menu__toggle{width:auto;margin:0;padding:4px;border:1px solid transparent;display:flex;flex-direction:row}.components-dropdown-menu .components-dropdown-menu__toggle.is-active,.components-dropdown-menu .components-dropdown-menu__toggle.is-active:hover{box-shadow:none;background-color:#555d66;color:#fff}.components-dropdown-menu .components-dropdown-menu__toggle:focus:before{top:-3px;right:-3px;bottom:-3px;left:-3px}.components-dropdown-menu .components-dropdown-menu__toggle:focus,.components-dropdown-menu .components-dropdown-menu__toggle:hover,.components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:9px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item{width:100%;padding:6px;outline:none;cursor:pointer;margin-bottom:4px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before{display:block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:-3px;left:0;right:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 8px -1px 0}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:-webkit-grab;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:-webkit-grabbing;cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;left:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 1em 0 0}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 0 0 .2em}.components-font-size-picker__buttons{max-width:248px;display:flex;justify-content:space-between;align-items:center}.components-font-size-picker__buttons .components-range-control__number{height:30px;margin-left:0}.components-font-size-picker__buttons .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker__dropdown-content .components-button{display:block;position:relative;padding:10px 20px 10px 40px;width:100%;text-align:left}.components-font-size-picker__dropdown-content .components-button .dashicon{position:absolute;top:calc(50% - 10px);left:10px}.components-font-size-picker__dropdown-content .components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-font-size-picker__dropdown-content .components-button:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-font-size-picker__buttons .components-font-size-picker__selector{background:none;position:relative;width:110px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0}.components-font-size-picker__buttons .components-font-size-picker__selector:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-font-size-picker__buttons .components-font-size-picker__selector:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px;right:8px;top:12px;position:absolute}.components-form-file-upload .components-button.is-large{padding-left:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;right:6px}.components-form-toggle .components-form-toggle__on{left:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;width:36px;height:18px;border-radius:9px;transition:background .2s ease}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;left:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 0 2px 8px;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 4px 2px 0;color:#32373c;overflow:hidden}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#d94f4f}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#555d66}.components-form-token-field__token.is-borderless{position:relative;padding:0 16px 0 0}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;position:absolute;top:1px;right:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#d94f4f;border-radius:4px 0 0 4px;padding:0 4px 0 6px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}.components-form-token-field__token-text{border-radius:12px 0 0 12px;padding:0 4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:0 12px 12px 0;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-right:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:left;color:#40464d}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-right:4px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#555d66}@media (min-width:782px){.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{opacity:1}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;opacity:.84}.components-menu-item__shortcut{align-self:center;opacity:.84;margin-right:0;margin-left:auto;padding-left:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:hsla(0,0%,100%,.4);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms!important}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;right:auto;bottom:auto;left:50%;min-width:360px;max-width:calc(100% - 32px);max-height:calc(100% - 112px);transform:translate(-50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms!important}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 16px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -16px 16px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 16px 16px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.components-notice{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#e5f5fa;border-left:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px}.components-notice.is-dismissible{padding-right:36px;position:relative}.components-notice.is-success{border-left-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-left-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-left-color:#d94f4f;background-color:#f9e2e2}.components-notice__content{margin:1em 25px 1em 0}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-left:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{position:absolute;top:0;right:0;color:#6c7781}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#d94f4f;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.components-notice-list{min-width:300px;z-index:29}.components-panel{background:#fff;border:1px solid #e2e4e7}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:left;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#191e23;fill:currentColor;transition:color .1s ease-in-out}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#555d66;margin:-2px 0 -2px 6px}.components-panel__body-toggle-icon{margin-right:-5px}.components-panel__color-title{float:left;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-right:10px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;width:100%;text-align:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background:rgba(139,139,150,.1)}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder__label{display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-right:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__input{margin-right:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em} +.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms!important}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top left}.components-animate__appear.is-from-top.is-from-right{transform-origin:top right}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom left}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom right}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms!important}}.components-animate__slide-in.is-from-left{transform:translateX(100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-autocomplete__popover .components-popover__content{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-left:-3px;margin-right:-3px;text-align:left}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0}.components-button-group .components-button.is-button+.components-button.is-button{margin-left:-1px}.components-button-group .components-button.is-button:first-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button:last-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none}.components-button.is-button{padding:0 10px 1px;line-height:26px;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc;vertical-align:top}.components-button.is-default:hover{background:#fafafa;border-color:#999;box-shadow:inset 0 -1px 0 #999;color:#23282d;text-decoration:none}.components-button.is-default:focus:enabled{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 2px #bfe7f3;text-decoration:none}.components-button.is-default:active:enabled{background:#eee;border-color:#999;box-shadow:inset 0 1px 0 #999}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;box-shadow:none;text-shadow:0 1px 0 #fff;transform:none}.components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#a76b3b #9d6538 #9d6538;box-shadow:inset 0 -1px 0 #9d6538;text-shadow:0 -1px 1px #925e34,1px 0 1px #925e34,0 1px 1px #925e34,-1px 0 1px #925e34}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#829482 #7a8b7a #7a8b7a;box-shadow:inset 0 -1px 0 #7a8b7a;text-shadow:0 -1px 1px #728271,1px 0 1px #728271,0 1px 1px #728271,-1px 0 1px #728271}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#b43e36 #a93a32 #a93a32;box-shadow:inset 0 -1px 0 #a93a32;text-shadow:0 -1px 1px #9e362f,1px 0 1px #9e362f,0 1px 1px #9e362f,-1px 0 1px #9e362f}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#869245 #7d8941 #7d8941;box-shadow:inset 0 -1px 0 #7d8941;text-shadow:0 -1px 1px #757f3c,1px 0 1px #757f3c,0 1px 1px #757f3c,-1px 0 1px #757f3c}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#9b8570 #927d69 #927d69;box-shadow:inset 0 -1px 0 #927d69;text-shadow:0 -1px 1px #887462,1px 0 1px #887462,0 1px 1px #887462,-1px 0 1px #887462}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#ae8947 #a38043 #a38043;box-shadow:inset 0 -1px 0 #a38043;text-shadow:0 -1px 1px #98783e,1px 0 1px #98783e,0 1px 1px #98783e,-1px 0 1px #98783e}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#007eb1;border-color:#00435d;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#c77f46;border-color:#694325}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#9bb09a;border-color:#525d51}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#d64940;border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#9fad52;border-color:#545b2b}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#b89e85;border-color:#615346}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#cea255;border-color:#6d562d}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#007eb1;border-color:#00435d}.components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}body.admin-color-sunrise .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #694325}body.admin-color-ocean .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #615346}body.admin-color-blue .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #6d562d}body.admin-color-light .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}.components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 2px #bfe7f3}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #694325,0 0 0 2px #bfe7f3}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #525d51,0 0 0 2px #bfe7f3}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #712722,0 0 0 2px #bfe7f3}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #545b2b,0 0 0 2px #bfe7f3}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #615346,0 0 0 2px #bfe7f3}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #6d562d,0 0 0 2px #bfe7f3}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 2px #bfe7f3}.components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d;vertical-align:top}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#694325;box-shadow:inset 0 1px 0 #694325}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#525d51;box-shadow:inset 0 1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#712722;box-shadow:inset 0 1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#545b2b;box-shadow:inset 0 1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#615346;box-shadow:inset 0 1px 0 #615346}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#6d562d;box-shadow:inset 0 1px 0 #6d562d}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d}.components-button.is-primary:disabled,.components-button.is-primary[aria-disabled=true]{color:#4daacf;background:#005d82;border-color:#006a95;box-shadow:none;text-shadow:0 -1px 0 rgba(0,0,0,.1)}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]{color:#dfaa80;background:#925e34;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]{color:#bfcebe;background:#728271;border-color:#829482}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]{color:#ea827b;background:#9e362f;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]{color:#c1cc89;background:#757f3c;border-color:#869245}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]{color:#d4c1af;background:#887462;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]{color:#e4c48b;background:#98783e;border-color:#ae8947}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]{color:#4daacf;background:#005d82;border-color:#006a95}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(-45deg,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d1864a 28%,#925e34 0,#925e34 72%,#d1864a 0);border-color:#694325}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a3b9a2 28%,#728271 0,#728271 72%,#a3b9a2 0);border-color:#525d51}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#e14d43 28%,#9e362f 0,#9e362f 72%,#e14d43 0);border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a7b656 28%,#757f3c 0,#757f3c 72%,#a7b656 0);border-color:#545b2b}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#c2a68c 28%,#887462 0,#887462 72%,#c2a68c 0);border-color:#615346}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#82b4cb 28%,#5b7e8e 0,#5b7e8e 72%,#82b4cb 0);border-color:#415a66}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:left;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:currentColor}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:enabled{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-button.is-busy,.components-button.is-default.is-busy,.components-button.is-default.is-busy:disabled,.components-button.is-default.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(-45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{margin-top:0}.component-color-indicator{width:25px;height:16px;margin-left:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-left:.5rem}.components-color-palette{margin-right:-14px;width:calc(100% + 14px)}.components-color-palette .components-color-palette__custom-clear-wrapper{width:calc(100% - 14px);display:flex;justify-content:flex-end}.components-color-palette__item-wrapper{display:inline-block;height:28px;width:28px;margin-right:14px;margin-bottom:14px;vertical-align:top;transform:scale(1);transition:transform .1s ease}.components-color-palette__item-wrapper:hover{transform:scale(1.2)}.components-color-palette__item-wrapper>div{height:100%;width:100%}.components-color-palette__item{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}.components-color-palette__item.is-active{box-shadow:inset 0 0 0 4px;position:relative;z-index:1}.components-color-palette__item.is-active+.dashicons-saved{position:absolute;left:4px;top:4px}.components-color-palette__item:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}.components-color-palette__item:focus{outline:none}.components-color-palette__item:focus:after{content:"";border:2px solid #606a73;width:32px;height:32px;position:absolute;top:-2px;left:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-color-palette__clear-color .components-color-palette__item{color:#fff;background:#fff}.components-color-palette__clear-color-line{display:block;position:absolute;border:2px solid #d94f4f;border-radius:50%;top:0;left:0;bottom:0;right:0}.components-color-palette__clear-color-line:before{position:absolute;top:0;left:0;content:"";width:100%;height:100%;border-bottom:2px solid #d94f4f;transform:rotate(45deg) translateY(-13px) translateX(-1px)}.components-color-palette__custom-color{margin-right:16px}.components-color-palette__custom-color .components-button{line-height:22px}.block-editor__container .components-popover.components-color-palette__picker.is-bottom{z-index:100001}.components-color-picker{width:100%;overflow:hidden}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-right:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__saturation-color{overflow:hidden}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(-4px,-4px)}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(-7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.components-color-picker__inputs-wrapper fieldset{flex:1}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:2px}.components-color-picker__inputs-fields{display:flex}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}svg.dashicon{fill:currentColor;outline:none}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:9px}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime .components-datetime__calendar-help{padding:8px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{display:block;margin-left:auto;margin-right:8px;margin-top:.5em}.components-datetime__date{min-height:236px;border-top:1px solid #e2e4e7;margin-left:-8px;margin-right:-8px}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__time{margin-bottom:1em}.components-datetime__time fieldset{margin-top:.5em;position:relative}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 3px 0 0;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-left:8px;margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field{align-self:center;flex:0 1 auto;order:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button{font-size:11px;font-weight:600}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{padding:2px;margin-right:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-right:4px;width:40px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:0 -4px 0 0!important;border-radius:4px 0 0 4px!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 4px 4px 0!important}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;left:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{width:90px}.components-popover .components-datetime__date{padding-left:6px}.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left{z-index:100000}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.components-disabled *{pointer-events:none}body.is-dragging-components-draggable{cursor:move;cursor:-webkit-grabbing!important;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;left:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.components-drop-zone{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid #0071a1;border-radius:2px}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.components-drop-zone__content{position:absolute;top:50%;left:0;right:0;z-index:110;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown-menu{padding:3px;display:flex}.components-dropdown-menu .components-dropdown-menu__toggle{width:auto;margin:0;padding:4px;border:1px solid transparent;display:flex;flex-direction:row}.components-dropdown-menu .components-dropdown-menu__toggle.is-active,.components-dropdown-menu .components-dropdown-menu__toggle.is-active:hover{box-shadow:none;background-color:#555d66;color:#fff}.components-dropdown-menu .components-dropdown-menu__toggle:focus:before{top:-3px;right:-3px;bottom:-3px;left:-3px}.components-dropdown-menu .components-dropdown-menu__toggle:focus,.components-dropdown-menu .components-dropdown-menu__toggle:hover,.components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:9px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item{width:100%;padding:6px;outline:none;cursor:pointer;margin-bottom:4px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before{display:block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:-3px;left:0;right:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 8px -1px 0}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:-webkit-grab;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:-webkit-grabbing;cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;left:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 1em 0 0}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 0 0 .2em}.components-font-size-picker__buttons{max-width:248px;display:flex;justify-content:space-between;align-items:center}.components-font-size-picker__buttons .components-range-control__number{height:30px;margin-left:0}.components-font-size-picker__buttons .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker__dropdown-content .components-button{display:block;position:relative;padding:10px 20px 10px 40px;width:100%;text-align:left}.components-font-size-picker__dropdown-content .components-button .dashicon{position:absolute;top:calc(50% - 10px);left:10px}.components-font-size-picker__dropdown-content .components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-font-size-picker__dropdown-content .components-button:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-font-size-picker__buttons .components-font-size-picker__selector{background:none;position:relative;width:110px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0}.components-font-size-picker__buttons .components-font-size-picker__selector:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-font-size-picker__buttons .components-font-size-picker__selector:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px;right:8px;top:12px;position:absolute}.components-form-file-upload .components-button.is-large{padding-left:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;right:6px}.components-form-toggle .components-form-toggle__on{left:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;width:36px;height:18px;border-radius:9px;transition:background .2s ease}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;left:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 0 2px 8px;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 4px 2px 0;color:#32373c;overflow:hidden}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#d94f4f}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#555d66}.components-form-token-field__token.is-borderless{position:relative;padding:0 16px 0 0}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;position:absolute;top:1px;right:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#d94f4f;border-radius:4px 0 0 4px;padding:0 4px 0 6px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}.components-form-token-field__token-text{border-radius:12px 0 0 12px;padding:0 4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:0 12px 12px 0;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-right:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:left;color:#40464d}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-right:4px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#555d66}@media (min-width:782px){.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{opacity:1}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;opacity:.84}.components-menu-item__shortcut{align-self:center;opacity:.84;margin-right:0;margin-left:auto;padding-left:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:hsla(0,0%,100%,.4);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms!important}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;right:auto;bottom:auto;left:50%;min-width:360px;max-width:calc(100% - 32px);max-height:calc(100% - 112px);transform:translate(-50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms!important}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 16px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -16px 16px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 16px 16px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.components-notice{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#e5f5fa;border-left:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px}.components-notice.is-dismissible{padding-right:36px;position:relative}.components-notice.is-success{border-left-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-left-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-left-color:#d94f4f;background-color:#f9e2e2}.components-notice__content{margin:1em 25px 1em 0}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-left:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{position:absolute;top:0;right:0;color:#6c7781}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#d94f4f;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.components-notice-list{min-width:300px;z-index:29}.components-panel{background:#fff;border:1px solid #e2e4e7}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:left;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#191e23;fill:currentColor;transition:color .1s ease-in-out}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#555d66;margin:-2px 0 -2px 6px}.components-panel__body-toggle-icon{margin-right:-5px}.components-panel__color-title{float:left;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-right:10px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;width:100%;text-align:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background:rgba(139,139,150,.1)}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder__label{display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-right:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__input{margin-right:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em} /*!rtl:begin:ignore*/.components-popover{position:fixed;z-index:1000000;left:50%}.components-popover.is-mobile{top:0;left:0;right:0;bottom:0}.components-popover:not(.is-without-arrow):not(.is-mobile){margin-left:2px}.components-popover:not(.is-without-arrow):not(.is-mobile):before{border:8px solid #e2e4e7}.components-popover:not(.is-without-arrow):not(.is-mobile):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):not(.is-mobile):after,.components-popover:not(.is-without-arrow):not(.is-mobile):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top{margin-top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{bottom:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after{bottom:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom{margin-top:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after{top:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left{margin-left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{right:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after{right:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right{margin-left:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after{left:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover:not(.is-mobile).is-top{bottom:100%}.components-popover:not(.is-mobile).is-bottom{top:100%;z-index:99990}.components-popover:not(.is-mobile).is-middle{align-items:center;display:flex}.components-popover__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover.is-mobile .components-popover__content{height:calc(100% - 50px);border-top:0}.components-popover:not(.is-mobile) .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover:not(.is-mobile).is-top .components-popover__content{bottom:100%}.components-popover:not(.is-mobile).is-center .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover:not(.is-mobile).is-right .components-popover__content{position:absolute;left:100%}.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-24px}.components-popover:not(.is-mobile).is-left .components-popover__content{position:absolute;right:100%}.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;border:1px solid #e2e4e7;display:flex;height:50px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-icon-button{z-index:5} diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index c93b2e5f41..69ef5b2b2e 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -142,23 +142,15 @@ body.is-fullscreen-mode .edit-post-header { align-items: center; } .edit-post-header .components-button.is-toggled { - color: #fff; } - -.edit-post-header .components-button.is-toggled::before { - content: ""; - border-radius: 4px; - position: absolute; - z-index: -1; + color: #fff; background: #555d66; - top: 1px; - left: 1px; - bottom: 1px; - right: 1px; } + margin: 1px; + padding: 7px; } .edit-post-header .components-button.is-toggled:hover, .edit-post-header .components-button.is-toggled:focus { - box-shadow: 0 0 0 1px #555d66, inset 0 0 0 1px #fff; - color: #fff; - background: #555d66; } + box-shadow: 0 0 0 1px #555d66, inset 0 0 0 1px #fff !important; + color: #fff !important; + background: #555d66 !important; } .edit-post-header .components-button.editor-post-save-draft, .edit-post-header .components-button.editor-post-switch-to-draft, .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { margin: 2px; @@ -1018,13 +1010,18 @@ body.is-fullscreen-mode .edit-post-header { border: 1px solid #e2e4e7; margin-bottom: 4px; padding: 14px; } + .edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover, + .edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input { + box-shadow: none; + border-right-width: 1px; } .edit-post-text-editor .editor-post-title__block textarea:hover, .edit-post-text-editor .editor-post-title__block.is-selected textarea { box-shadow: 0 0 0 1px #e2e4e7; } .edit-post-text-editor .editor-post-permalink { - right: 0; - left: 0; - margin-top: -6px; } + margin-top: -6px; + box-shadow: none; + border: none; + outline: 1px solid #b5bcc2; } @media (min-width: 600px) { .edit-post-text-editor .editor-post-title, .edit-post-text-editor .editor-post-title__block { @@ -1067,6 +1064,7 @@ body.is-fullscreen-mode .edit-post-header { .edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit { margin-right: -28px; margin-left: -28px; } + .edit-post-visual-editor .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { height: 0; width: 100%; @@ -1074,6 +1072,7 @@ body.is-fullscreen-mode .edit-post-header { margin-left: 0; text-align: center; float: right; } + .edit-post-visual-editor .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar { max-width: 610px; width: 100%; diff --git a/wp-includes/css/dist/edit-post/style-rtl.min.css b/wp-includes/css/dist/edit-post/style-rtl.min.css index 40ae937cb8..08029e57d0 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.min.css +++ b/wp-includes/css/dist/edit-post/style-rtl.min.css @@ -1 +1 @@ -@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms!important}}@media (min-width:782px){body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms!important}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;left:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-flex}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{right:0}@media (min-width:782px){.edit-post-header{right:160px}}@media (min-width:782px){.auto-fold .edit-post-header{right:36px}}@media (min-width:960px){.auto-fold .edit-post-header{right:160px}}.folded .edit-post-header{right:0}@media (min-width:782px){.folded .edit-post-header{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-right:-18px}}body.is-fullscreen-mode .edit-post-header{right:0!important}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;left:1px;bottom:1px;right:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:block;border-top:0;border-bottom:0;border-right:0;margin:-9px -10px -9px 10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;right:0;left:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-right:8px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-menu-group:not(:last-child),.edit-post-more-menu__content .components-popover__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-more-menu__content .components-popover__content .components-menu-item__button{padding-right:2rem}.edit-post-more-menu__content .components-popover__content .components-menu-item__button.has-icon{padding-right:.5rem}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{order:1;font-weight:600;margin:0 1rem 0 0}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;order:0;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{top:0}}.edit-post-layout .components-notice-list.is-pinned{position:relative;right:0;top:0}.edit-post-layout .components-notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice .components-notice__dismiss{margin:10px 5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;right:0;left:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-right:160px}body.auto-fold .edit-post-layout__content{margin-right:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-right:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-right:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-right:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;right:auto;width:280px;border-right:1px solid #e2e4e7;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms!important}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;right:auto;left:0;z-index:100000;padding:10px 0 10px 10px;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 auto 0 0;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;left:10px;bottom:10px;right:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type=checkbox]{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-left:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;left:0;bottom:0;width:280px;border-right:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:hidden;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-left:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{word-wrap:break-word}.edit-post-post-schedule{width:100%;position:relative}.edit-post-post-schedule__label{display:none}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-right:16px;margin-left:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-right:auto;margin-left:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{right:0;left:0;margin-top:-6px}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;right:0;left:0;height:36px;line-height:36px;padding:0 16px 0 8px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 0 0 auto;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50px;width:100%;margin:-4px auto -50px}.edit-post-visual-editor .block-editor-block-list__block{margin-right:auto;margin-left:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-right:-28px;margin-left:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:100%;margin-right:0;margin-left:0;text-align:center;float:right}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-right:46px;padding-left:46px}}.edit-post-visual-editor .editor-post-title__block{margin-right:auto;margin-left:auto;margin-bottom:-20px}.edit-post-visual-editor .editor-post-title__block>div{margin-right:0;margin-left:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-right:-2px;margin-left:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-visual-editor .block-editor-default-block-appender{margin-right:auto;margin-left:auto;position:relative}.edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible=true]+p,.edit-post-visual-editor .block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option.components-base-control+.edit-post-options-modal__option.components-base-control{margin-bottom:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 10px .6rem 0}@keyframes edit-post__loading-fade-animation{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor,.components-modal__frame{box-sizing:border-box}.block-editor *,.block-editor :after,.block-editor :before,.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before{box-sizing:inherit}.block-editor select,.components-modal__frame select{font-size:13px;color:#555d66}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px}}.block-editor-block-list__block .input-control:focus,.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=color]:focus,.block-editor-block-list__block input[type=date]:focus,.block-editor-block-list__block input[type=datetime-local]:focus,.block-editor-block-list__block input[type=datetime]:focus,.block-editor-block-list__block input[type=email]:focus,.block-editor-block-list__block input[type=month]:focus,.block-editor-block-list__block input[type=number]:focus,.block-editor-block-list__block input[type=password]:focus,.block-editor-block-list__block input[type=radio]:focus,.block-editor-block-list__block input[type=search]:focus,.block-editor-block-list__block input[type=tel]:focus,.block-editor-block-list__block input[type=text]:focus,.block-editor-block-list__block input[type=time]:focus,.block-editor-block-list__block input[type=url]:focus,.block-editor-block-list__block input[type=week]:focus,.block-editor-block-list__block select:focus,.block-editor-block-list__block textarea:focus,.components-modal__content .input-control:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=color]:focus,.components-modal__content input[type=date]:focus,.components-modal__content input[type=datetime-local]:focus,.components-modal__content input[type=datetime]:focus,.components-modal__content input[type=email]:focus,.components-modal__content input[type=month]:focus,.components-modal__content input[type=number]:focus,.components-modal__content input[type=password]:focus,.components-modal__content input[type=radio]:focus,.components-modal__content input[type=search]:focus,.components-modal__content input[type=tel]:focus,.components-modal__content input[type=text]:focus,.components-modal__content input[type=time]:focus,.components-modal__content input[type=url]:focus,.components-modal__content input[type=week]:focus,.components-modal__content select:focus,.components-modal__content textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-post-permalink .input-control:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=color]:focus,.editor-post-permalink input[type=date]:focus,.editor-post-permalink input[type=datetime-local]:focus,.editor-post-permalink input[type=datetime]:focus,.editor-post-permalink input[type=email]:focus,.editor-post-permalink input[type=month]:focus,.editor-post-permalink input[type=number]:focus,.editor-post-permalink input[type=password]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-permalink input[type=search]:focus,.editor-post-permalink input[type=tel]:focus,.editor-post-permalink input[type=text]:focus,.editor-post-permalink input[type=time]:focus,.editor-post-permalink input[type=url]:focus,.editor-post-permalink input[type=week]:focus,.editor-post-permalink select:focus,.editor-post-permalink textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-list__block input[type=number],.components-modal__content input[type=number],.components-popover input[type=number],.edit-post-sidebar input[type=number],.editor-post-permalink input[type=number],.editor-post-publish-panel input[type=number]{padding-right:4px;padding-left:4px}.block-editor-block-list__block select,.components-modal__content select,.components-popover select,.edit-post-sidebar select,.editor-post-permalink select,.editor-post-publish-panel select{padding:2px}.block-editor-block-list__block select:focus,.components-modal__content select:focus,.components-popover select:focus,.edit-post-sidebar select:focus,.editor-post-permalink select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=radio],.components-modal__content input[type=checkbox],.components-modal__content input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-left:12px;transition:none}.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=radio]:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.block-editor-block-list__block input[type=checkbox]:checked,.block-editor-block-list__block input[type=radio]:checked,.components-modal__content input[type=checkbox]:checked,.components-modal__content input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.editor-post-permalink input[type=checkbox]:checked,.editor-post-permalink input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-sunrise .block-editor-block-list__block input[type=radio]:checked,body.admin-color-sunrise .components-modal__content input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__content input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .editor-post-permalink input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-permalink input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ocean .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ocean .components-modal__content input[type=checkbox]:checked,body.admin-color-ocean .components-modal__content input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ocean .editor-post-permalink input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-midnight .block-editor-block-list__block input[type=radio]:checked,body.admin-color-midnight .components-modal__content input[type=checkbox]:checked,body.admin-color-midnight .components-modal__content input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .editor-post-permalink input[type=checkbox]:checked,body.admin-color-midnight .editor-post-permalink input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ectoplasm .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ectoplasm .components-modal__content input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__content input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-coffee .block-editor-block-list__block input[type=radio]:checked,body.admin-color-coffee .components-modal__content input[type=checkbox]:checked,body.admin-color-coffee .components-modal__content input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .editor-post-permalink input[type=checkbox]:checked,body.admin-color-coffee .editor-post-permalink input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-blue .block-editor-block-list__block input[type=radio]:checked,body.admin-color-blue .components-modal__content input[type=checkbox]:checked,body.admin-color-blue .components-modal__content input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .editor-post-permalink input[type=checkbox]:checked,body.admin-color-blue .editor-post-permalink input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-light .block-editor-block-list__block input[type=radio]:checked,body.admin-color-light .components-modal__content input[type=checkbox]:checked,body.admin-color-light .components-modal__content input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .editor-post-permalink input[type=checkbox]:checked,body.admin-color-light .editor-post-permalink input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox]:checked:focus,.block-editor-block-list__block input[type=radio]:checked:focus,.components-modal__content input[type=checkbox]:checked:focus,.components-modal__content input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.editor-post-permalink input[type=checkbox]:checked:focus,.editor-post-permalink input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=checkbox],.components-modal__content input[type=checkbox],.components-popover input[type=checkbox],.edit-post-sidebar input[type=checkbox],.editor-post-permalink input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed],.components-modal__content input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.editor-post-permalink input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:right;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:focus,.components-modal__content input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=radio],.components-modal__content input[type=radio],.components-popover input[type=radio],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.block-editor-block-list__block input[type=radio]:checked:before,.components-modal__content input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.editor-post-permalink input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 3px 0 0;background-color:#fff}.block-editor-block-list__block input::-webkit-input-placeholder,.block-editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.block-editor-block-list__block input::-moz-placeholder,.block-editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.block-editor-block-list__block input:-ms-input-placeholder,.block-editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input::-moz-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file +@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms!important}}@media (min-width:782px){body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms!important}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;left:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-flex}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{right:0}@media (min-width:782px){.edit-post-header{right:160px}}@media (min-width:782px){.auto-fold .edit-post-header{right:36px}}@media (min-width:960px){.auto-fold .edit-post-header{right:160px}}.folded .edit-post-header{right:0}@media (min-width:782px){.folded .edit-post-header{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-right:-18px}}body.is-fullscreen-mode .edit-post-header{right:0!important}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button.is-toggled{color:#fff;background:#555d66;margin:1px;padding:7px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:block;border-top:0;border-bottom:0;border-right:0;margin:-9px -10px -9px 10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;right:0;left:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-right:8px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-menu-group:not(:last-child),.edit-post-more-menu__content .components-popover__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-more-menu__content .components-popover__content .components-menu-item__button{padding-right:2rem}.edit-post-more-menu__content .components-popover__content .components-menu-item__button.has-icon{padding-right:.5rem}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{order:1;font-weight:600;margin:0 1rem 0 0}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;order:0;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{top:0}}.edit-post-layout .components-notice-list.is-pinned{position:relative;right:0;top:0}.edit-post-layout .components-notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice .components-notice__dismiss{margin:10px 5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;right:0;left:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-right:160px}body.auto-fold .edit-post-layout__content{margin-right:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-right:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-right:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-right:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;right:auto;width:280px;border-right:1px solid #e2e4e7;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms!important}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;right:auto;left:0;z-index:100000;padding:10px 0 10px 10px;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 auto 0 0;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;left:10px;bottom:10px;right:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type=checkbox]{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-left:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;left:0;bottom:0;width:280px;border-right:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:hidden;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-left:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{word-wrap:break-word}.edit-post-post-schedule{width:100%;position:relative}.edit-post-post-schedule__label{display:none}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-right:16px;margin-left:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-right:auto;margin-left:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-right-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;right:0;left:0;height:36px;line-height:36px;padding:0 16px 0 8px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 0 0 auto;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50px;width:100%;margin:-4px auto -50px}.edit-post-visual-editor .block-editor-block-list__block{margin-right:auto;margin-left:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-right:-28px;margin-left:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:100%;margin-right:0;margin-left:0;text-align:center;float:right}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-right:46px;padding-left:46px}}.edit-post-visual-editor .editor-post-title__block{margin-right:auto;margin-left:auto;margin-bottom:-20px}.edit-post-visual-editor .editor-post-title__block>div{margin-right:0;margin-left:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-right:-2px;margin-left:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-visual-editor .block-editor-default-block-appender{margin-right:auto;margin-left:auto;position:relative}.edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible=true]+p,.edit-post-visual-editor .block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option.components-base-control+.edit-post-options-modal__option.components-base-control{margin-bottom:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 10px .6rem 0}@keyframes edit-post__loading-fade-animation{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor,.components-modal__frame{box-sizing:border-box}.block-editor *,.block-editor :after,.block-editor :before,.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before{box-sizing:inherit}.block-editor select,.components-modal__frame select{font-size:13px;color:#555d66}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px}}.block-editor-block-list__block .input-control:focus,.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=color]:focus,.block-editor-block-list__block input[type=date]:focus,.block-editor-block-list__block input[type=datetime-local]:focus,.block-editor-block-list__block input[type=datetime]:focus,.block-editor-block-list__block input[type=email]:focus,.block-editor-block-list__block input[type=month]:focus,.block-editor-block-list__block input[type=number]:focus,.block-editor-block-list__block input[type=password]:focus,.block-editor-block-list__block input[type=radio]:focus,.block-editor-block-list__block input[type=search]:focus,.block-editor-block-list__block input[type=tel]:focus,.block-editor-block-list__block input[type=text]:focus,.block-editor-block-list__block input[type=time]:focus,.block-editor-block-list__block input[type=url]:focus,.block-editor-block-list__block input[type=week]:focus,.block-editor-block-list__block select:focus,.block-editor-block-list__block textarea:focus,.components-modal__content .input-control:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=color]:focus,.components-modal__content input[type=date]:focus,.components-modal__content input[type=datetime-local]:focus,.components-modal__content input[type=datetime]:focus,.components-modal__content input[type=email]:focus,.components-modal__content input[type=month]:focus,.components-modal__content input[type=number]:focus,.components-modal__content input[type=password]:focus,.components-modal__content input[type=radio]:focus,.components-modal__content input[type=search]:focus,.components-modal__content input[type=tel]:focus,.components-modal__content input[type=text]:focus,.components-modal__content input[type=time]:focus,.components-modal__content input[type=url]:focus,.components-modal__content input[type=week]:focus,.components-modal__content select:focus,.components-modal__content textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-post-permalink .input-control:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=color]:focus,.editor-post-permalink input[type=date]:focus,.editor-post-permalink input[type=datetime-local]:focus,.editor-post-permalink input[type=datetime]:focus,.editor-post-permalink input[type=email]:focus,.editor-post-permalink input[type=month]:focus,.editor-post-permalink input[type=number]:focus,.editor-post-permalink input[type=password]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-permalink input[type=search]:focus,.editor-post-permalink input[type=tel]:focus,.editor-post-permalink input[type=text]:focus,.editor-post-permalink input[type=time]:focus,.editor-post-permalink input[type=url]:focus,.editor-post-permalink input[type=week]:focus,.editor-post-permalink select:focus,.editor-post-permalink textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-list__block input[type=number],.components-modal__content input[type=number],.components-popover input[type=number],.edit-post-sidebar input[type=number],.editor-post-permalink input[type=number],.editor-post-publish-panel input[type=number]{padding-right:4px;padding-left:4px}.block-editor-block-list__block select,.components-modal__content select,.components-popover select,.edit-post-sidebar select,.editor-post-permalink select,.editor-post-publish-panel select{padding:2px}.block-editor-block-list__block select:focus,.components-modal__content select:focus,.components-popover select:focus,.edit-post-sidebar select:focus,.editor-post-permalink select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=radio],.components-modal__content input[type=checkbox],.components-modal__content input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-left:12px;transition:none}.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=radio]:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.block-editor-block-list__block input[type=checkbox]:checked,.block-editor-block-list__block input[type=radio]:checked,.components-modal__content input[type=checkbox]:checked,.components-modal__content input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.editor-post-permalink input[type=checkbox]:checked,.editor-post-permalink input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-sunrise .block-editor-block-list__block input[type=radio]:checked,body.admin-color-sunrise .components-modal__content input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__content input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .editor-post-permalink input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-permalink input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ocean .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ocean .components-modal__content input[type=checkbox]:checked,body.admin-color-ocean .components-modal__content input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ocean .editor-post-permalink input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-midnight .block-editor-block-list__block input[type=radio]:checked,body.admin-color-midnight .components-modal__content input[type=checkbox]:checked,body.admin-color-midnight .components-modal__content input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .editor-post-permalink input[type=checkbox]:checked,body.admin-color-midnight .editor-post-permalink input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ectoplasm .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ectoplasm .components-modal__content input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__content input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-coffee .block-editor-block-list__block input[type=radio]:checked,body.admin-color-coffee .components-modal__content input[type=checkbox]:checked,body.admin-color-coffee .components-modal__content input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .editor-post-permalink input[type=checkbox]:checked,body.admin-color-coffee .editor-post-permalink input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-blue .block-editor-block-list__block input[type=radio]:checked,body.admin-color-blue .components-modal__content input[type=checkbox]:checked,body.admin-color-blue .components-modal__content input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .editor-post-permalink input[type=checkbox]:checked,body.admin-color-blue .editor-post-permalink input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-light .block-editor-block-list__block input[type=radio]:checked,body.admin-color-light .components-modal__content input[type=checkbox]:checked,body.admin-color-light .components-modal__content input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .editor-post-permalink input[type=checkbox]:checked,body.admin-color-light .editor-post-permalink input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox]:checked:focus,.block-editor-block-list__block input[type=radio]:checked:focus,.components-modal__content input[type=checkbox]:checked:focus,.components-modal__content input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.editor-post-permalink input[type=checkbox]:checked:focus,.editor-post-permalink input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=checkbox],.components-modal__content input[type=checkbox],.components-popover input[type=checkbox],.edit-post-sidebar input[type=checkbox],.editor-post-permalink input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed],.components-modal__content input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.editor-post-permalink input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:right;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:focus,.components-modal__content input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=radio],.components-modal__content input[type=radio],.components-popover input[type=radio],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.block-editor-block-list__block input[type=radio]:checked:before,.components-modal__content input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.editor-post-permalink input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 3px 0 0;background-color:#fff}.block-editor-block-list__block input::-webkit-input-placeholder,.block-editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.block-editor-block-list__block input::-moz-placeholder,.block-editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.block-editor-block-list__block input:-ms-input-placeholder,.block-editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input::-moz-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css index beeb79c95d..59aa76fb03 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -142,23 +142,15 @@ body.is-fullscreen-mode .edit-post-header { align-items: center; } .edit-post-header .components-button.is-toggled { - color: #fff; } - -.edit-post-header .components-button.is-toggled::before { - content: ""; - border-radius: 4px; - position: absolute; - z-index: -1; + color: #fff; background: #555d66; - top: 1px; - right: 1px; - bottom: 1px; - left: 1px; } + margin: 1px; + padding: 7px; } .edit-post-header .components-button.is-toggled:hover, .edit-post-header .components-button.is-toggled:focus { - box-shadow: 0 0 0 1px #555d66, inset 0 0 0 1px #fff; - color: #fff; - background: #555d66; } + box-shadow: 0 0 0 1px #555d66, inset 0 0 0 1px #fff !important; + color: #fff !important; + background: #555d66 !important; } .edit-post-header .components-button.editor-post-save-draft, .edit-post-header .components-button.editor-post-switch-to-draft, .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { margin: 2px; @@ -1018,13 +1010,18 @@ body.is-fullscreen-mode .edit-post-header { border: 1px solid #e2e4e7; margin-bottom: 4px; padding: 14px; } + .edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover, + .edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input { + box-shadow: none; + border-left-width: 1px; } .edit-post-text-editor .editor-post-title__block textarea:hover, .edit-post-text-editor .editor-post-title__block.is-selected textarea { box-shadow: 0 0 0 1px #e2e4e7; } .edit-post-text-editor .editor-post-permalink { - left: 0; - right: 0; - margin-top: -6px; } + margin-top: -6px; + box-shadow: none; + border: none; + outline: 1px solid #b5bcc2; } @media (min-width: 600px) { .edit-post-text-editor .editor-post-title, .edit-post-text-editor .editor-post-title__block { @@ -1067,6 +1064,7 @@ body.is-fullscreen-mode .edit-post-header { .edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit { margin-left: -28px; margin-right: -28px; } + .edit-post-visual-editor .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { height: 0; width: 100%; @@ -1074,6 +1072,7 @@ body.is-fullscreen-mode .edit-post-header { margin-right: 0; text-align: center; float: left; } + .edit-post-visual-editor .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar { max-width: 610px; width: 100%; diff --git a/wp-includes/css/dist/edit-post/style.min.css b/wp-includes/css/dist/edit-post/style.min.css index a6e1d98440..c48d91f688 100644 --- a/wp-includes/css/dist/edit-post/style.min.css +++ b/wp-includes/css/dist/edit-post/style.min.css @@ -1 +1 @@ -@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms!important}}@media (min-width:782px){body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms!important}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;right:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-flex}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{left:0}@media (min-width:782px){.edit-post-header{left:160px}}@media (min-width:782px){.auto-fold .edit-post-header{left:36px}}@media (min-width:960px){.auto-fold .edit-post-header{left:160px}}.folded .edit-post-header{left:0}@media (min-width:782px){.folded .edit-post-header{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-left:-18px}}body.is-fullscreen-mode .edit-post-header{left:0!important}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;right:1px;bottom:1px;left:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:block;border-top:0;border-bottom:0;border-left:0;margin:-9px 10px -9px -10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;left:0;right:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-left:8px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-menu-group:not(:last-child),.edit-post-more-menu__content .components-popover__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-more-menu__content .components-popover__content .components-menu-item__button{padding-left:2rem}.edit-post-more-menu__content .components-popover__content .components-menu-item__button.has-icon{padding-left:.5rem}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{order:1;font-weight:600;margin:0 0 0 1rem}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;order:0;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{top:0}}.edit-post-layout .components-notice-list.is-pinned{position:relative;left:0;top:0}.edit-post-layout .components-notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice .components-notice__dismiss{margin:10px 5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;left:0;right:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-left:160px}body.auto-fold .edit-post-layout__content{margin-left:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-left:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-left:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-left:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;left:auto;width:280px;border-left:1px solid #e2e4e7;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms!important}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;left:auto;right:0;z-index:100000;padding:10px 10px 10px 0;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 0 0 auto;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;right:10px;bottom:10px;left:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type=checkbox]{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-right:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;right:0;bottom:0;width:280px;border-left:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:hidden;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{word-wrap:break-word}.edit-post-post-schedule{width:100%;position:relative}.edit-post-post-schedule__label{display:none}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-left:16px;margin-right:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-left:auto;margin-right:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{left:0;right:0;margin-top:-6px}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;left:0;right:0;height:36px;line-height:36px;padding:0 8px 0 16px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 auto 0 0;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50px;width:100%;margin:-4px auto -50px}.edit-post-visual-editor .block-editor-block-list__block{margin-left:auto;margin-right:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-left:-28px;margin-right:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:100%;margin-left:0;margin-right:0;text-align:center;float:left}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-left:46px;padding-right:46px}}.edit-post-visual-editor .editor-post-title__block{margin-left:auto;margin-right:auto;margin-bottom:-20px}.edit-post-visual-editor .editor-post-title__block>div{margin-left:0;margin-right:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-left:-2px;margin-right:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-visual-editor .block-editor-default-block-appender{margin-left:auto;margin-right:auto;position:relative}.edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible=true]+p,.edit-post-visual-editor .block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option.components-base-control+.edit-post-options-modal__option.components-base-control{margin-bottom:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 0 .6rem 10px}@keyframes edit-post__loading-fade-animation{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor,.components-modal__frame{box-sizing:border-box}.block-editor *,.block-editor :after,.block-editor :before,.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before{box-sizing:inherit}.block-editor select,.components-modal__frame select{font-size:13px;color:#555d66}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px}}.block-editor-block-list__block .input-control:focus,.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=color]:focus,.block-editor-block-list__block input[type=date]:focus,.block-editor-block-list__block input[type=datetime-local]:focus,.block-editor-block-list__block input[type=datetime]:focus,.block-editor-block-list__block input[type=email]:focus,.block-editor-block-list__block input[type=month]:focus,.block-editor-block-list__block input[type=number]:focus,.block-editor-block-list__block input[type=password]:focus,.block-editor-block-list__block input[type=radio]:focus,.block-editor-block-list__block input[type=search]:focus,.block-editor-block-list__block input[type=tel]:focus,.block-editor-block-list__block input[type=text]:focus,.block-editor-block-list__block input[type=time]:focus,.block-editor-block-list__block input[type=url]:focus,.block-editor-block-list__block input[type=week]:focus,.block-editor-block-list__block select:focus,.block-editor-block-list__block textarea:focus,.components-modal__content .input-control:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=color]:focus,.components-modal__content input[type=date]:focus,.components-modal__content input[type=datetime-local]:focus,.components-modal__content input[type=datetime]:focus,.components-modal__content input[type=email]:focus,.components-modal__content input[type=month]:focus,.components-modal__content input[type=number]:focus,.components-modal__content input[type=password]:focus,.components-modal__content input[type=radio]:focus,.components-modal__content input[type=search]:focus,.components-modal__content input[type=tel]:focus,.components-modal__content input[type=text]:focus,.components-modal__content input[type=time]:focus,.components-modal__content input[type=url]:focus,.components-modal__content input[type=week]:focus,.components-modal__content select:focus,.components-modal__content textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-post-permalink .input-control:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=color]:focus,.editor-post-permalink input[type=date]:focus,.editor-post-permalink input[type=datetime-local]:focus,.editor-post-permalink input[type=datetime]:focus,.editor-post-permalink input[type=email]:focus,.editor-post-permalink input[type=month]:focus,.editor-post-permalink input[type=number]:focus,.editor-post-permalink input[type=password]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-permalink input[type=search]:focus,.editor-post-permalink input[type=tel]:focus,.editor-post-permalink input[type=text]:focus,.editor-post-permalink input[type=time]:focus,.editor-post-permalink input[type=url]:focus,.editor-post-permalink input[type=week]:focus,.editor-post-permalink select:focus,.editor-post-permalink textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-list__block input[type=number],.components-modal__content input[type=number],.components-popover input[type=number],.edit-post-sidebar input[type=number],.editor-post-permalink input[type=number],.editor-post-publish-panel input[type=number]{padding-left:4px;padding-right:4px}.block-editor-block-list__block select,.components-modal__content select,.components-popover select,.edit-post-sidebar select,.editor-post-permalink select,.editor-post-publish-panel select{padding:2px}.block-editor-block-list__block select:focus,.components-modal__content select:focus,.components-popover select:focus,.edit-post-sidebar select:focus,.editor-post-permalink select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=radio],.components-modal__content input[type=checkbox],.components-modal__content input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-right:12px;transition:none}.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=radio]:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.block-editor-block-list__block input[type=checkbox]:checked,.block-editor-block-list__block input[type=radio]:checked,.components-modal__content input[type=checkbox]:checked,.components-modal__content input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.editor-post-permalink input[type=checkbox]:checked,.editor-post-permalink input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-sunrise .block-editor-block-list__block input[type=radio]:checked,body.admin-color-sunrise .components-modal__content input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__content input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .editor-post-permalink input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-permalink input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ocean .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ocean .components-modal__content input[type=checkbox]:checked,body.admin-color-ocean .components-modal__content input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ocean .editor-post-permalink input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-midnight .block-editor-block-list__block input[type=radio]:checked,body.admin-color-midnight .components-modal__content input[type=checkbox]:checked,body.admin-color-midnight .components-modal__content input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .editor-post-permalink input[type=checkbox]:checked,body.admin-color-midnight .editor-post-permalink input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ectoplasm .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ectoplasm .components-modal__content input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__content input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-coffee .block-editor-block-list__block input[type=radio]:checked,body.admin-color-coffee .components-modal__content input[type=checkbox]:checked,body.admin-color-coffee .components-modal__content input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .editor-post-permalink input[type=checkbox]:checked,body.admin-color-coffee .editor-post-permalink input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-blue .block-editor-block-list__block input[type=radio]:checked,body.admin-color-blue .components-modal__content input[type=checkbox]:checked,body.admin-color-blue .components-modal__content input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .editor-post-permalink input[type=checkbox]:checked,body.admin-color-blue .editor-post-permalink input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-light .block-editor-block-list__block input[type=radio]:checked,body.admin-color-light .components-modal__content input[type=checkbox]:checked,body.admin-color-light .components-modal__content input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .editor-post-permalink input[type=checkbox]:checked,body.admin-color-light .editor-post-permalink input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox]:checked:focus,.block-editor-block-list__block input[type=radio]:checked:focus,.components-modal__content input[type=checkbox]:checked:focus,.components-modal__content input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.editor-post-permalink input[type=checkbox]:checked:focus,.editor-post-permalink input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=checkbox],.components-modal__content input[type=checkbox],.components-popover input[type=checkbox],.edit-post-sidebar input[type=checkbox],.editor-post-permalink input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed],.components-modal__content input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.editor-post-permalink input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:focus,.components-modal__content input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=radio],.components-modal__content input[type=radio],.components-popover input[type=radio],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.block-editor-block-list__block input[type=radio]:checked:before,.components-modal__content input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.editor-post-permalink input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 0 0 3px;background-color:#fff}.block-editor-block-list__block input::-webkit-input-placeholder,.block-editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.block-editor-block-list__block input::-moz-placeholder,.block-editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.block-editor-block-list__block input:-ms-input-placeholder,.block-editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input::-moz-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file +@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms!important}}@media (min-width:782px){body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms!important}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;right:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-flex}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{left:0}@media (min-width:782px){.edit-post-header{left:160px}}@media (min-width:782px){.auto-fold .edit-post-header{left:36px}}@media (min-width:960px){.auto-fold .edit-post-header{left:160px}}.folded .edit-post-header{left:0}@media (min-width:782px){.folded .edit-post-header{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-left:-18px}}body.is-fullscreen-mode .edit-post-header{left:0!important}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button.is-toggled{color:#fff;background:#555d66;margin:1px;padding:7px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:block;border-top:0;border-bottom:0;border-left:0;margin:-9px 10px -9px -10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;left:0;right:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-left:8px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-menu-group:not(:last-child),.edit-post-more-menu__content .components-popover__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-more-menu__content .components-popover__content .components-menu-item__button{padding-left:2rem}.edit-post-more-menu__content .components-popover__content .components-menu-item__button.has-icon{padding-left:.5rem}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{order:1;font-weight:600;margin:0 0 0 1rem}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;order:0;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{top:0}}.edit-post-layout .components-notice-list.is-pinned{position:relative;left:0;top:0}.edit-post-layout .components-notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice .components-notice__dismiss{margin:10px 5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;left:0;right:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-left:160px}body.auto-fold .edit-post-layout__content{margin-left:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-left:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-left:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-left:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;left:auto;width:280px;border-left:1px solid #e2e4e7;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms!important}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;left:auto;right:0;z-index:100000;padding:10px 10px 10px 0;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 0 0 auto;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;right:10px;bottom:10px;left:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type=checkbox]{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-right:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;right:0;bottom:0;width:280px;border-left:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:hidden;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{word-wrap:break-word}.edit-post-post-schedule{width:100%;position:relative}.edit-post-post-schedule__label{display:none}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-left:16px;margin-right:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-left:auto;margin-right:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-left-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;left:0;right:0;height:36px;line-height:36px;padding:0 8px 0 16px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 auto 0 0;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50px;width:100%;margin:-4px auto -50px}.edit-post-visual-editor .block-editor-block-list__block{margin-left:auto;margin-right:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-left:-28px;margin-right:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:100%;margin-left:0;margin-right:0;text-align:center;float:left}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-left:46px;padding-right:46px}}.edit-post-visual-editor .editor-post-title__block{margin-left:auto;margin-right:auto;margin-bottom:-20px}.edit-post-visual-editor .editor-post-title__block>div{margin-left:0;margin-right:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-left:-2px;margin-right:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-visual-editor .block-editor-default-block-appender{margin-left:auto;margin-right:auto;position:relative}.edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible=true]+p,.edit-post-visual-editor .block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option.components-base-control+.edit-post-options-modal__option.components-base-control{margin-bottom:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 0 .6rem 10px}@keyframes edit-post__loading-fade-animation{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor,.components-modal__frame{box-sizing:border-box}.block-editor *,.block-editor :after,.block-editor :before,.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before{box-sizing:inherit}.block-editor select,.components-modal__frame select{font-size:13px;color:#555d66}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px}}.block-editor-block-list__block .input-control:focus,.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=color]:focus,.block-editor-block-list__block input[type=date]:focus,.block-editor-block-list__block input[type=datetime-local]:focus,.block-editor-block-list__block input[type=datetime]:focus,.block-editor-block-list__block input[type=email]:focus,.block-editor-block-list__block input[type=month]:focus,.block-editor-block-list__block input[type=number]:focus,.block-editor-block-list__block input[type=password]:focus,.block-editor-block-list__block input[type=radio]:focus,.block-editor-block-list__block input[type=search]:focus,.block-editor-block-list__block input[type=tel]:focus,.block-editor-block-list__block input[type=text]:focus,.block-editor-block-list__block input[type=time]:focus,.block-editor-block-list__block input[type=url]:focus,.block-editor-block-list__block input[type=week]:focus,.block-editor-block-list__block select:focus,.block-editor-block-list__block textarea:focus,.components-modal__content .input-control:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=color]:focus,.components-modal__content input[type=date]:focus,.components-modal__content input[type=datetime-local]:focus,.components-modal__content input[type=datetime]:focus,.components-modal__content input[type=email]:focus,.components-modal__content input[type=month]:focus,.components-modal__content input[type=number]:focus,.components-modal__content input[type=password]:focus,.components-modal__content input[type=radio]:focus,.components-modal__content input[type=search]:focus,.components-modal__content input[type=tel]:focus,.components-modal__content input[type=text]:focus,.components-modal__content input[type=time]:focus,.components-modal__content input[type=url]:focus,.components-modal__content input[type=week]:focus,.components-modal__content select:focus,.components-modal__content textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-post-permalink .input-control:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=color]:focus,.editor-post-permalink input[type=date]:focus,.editor-post-permalink input[type=datetime-local]:focus,.editor-post-permalink input[type=datetime]:focus,.editor-post-permalink input[type=email]:focus,.editor-post-permalink input[type=month]:focus,.editor-post-permalink input[type=number]:focus,.editor-post-permalink input[type=password]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-permalink input[type=search]:focus,.editor-post-permalink input[type=tel]:focus,.editor-post-permalink input[type=text]:focus,.editor-post-permalink input[type=time]:focus,.editor-post-permalink input[type=url]:focus,.editor-post-permalink input[type=week]:focus,.editor-post-permalink select:focus,.editor-post-permalink textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-list__block input[type=number],.components-modal__content input[type=number],.components-popover input[type=number],.edit-post-sidebar input[type=number],.editor-post-permalink input[type=number],.editor-post-publish-panel input[type=number]{padding-left:4px;padding-right:4px}.block-editor-block-list__block select,.components-modal__content select,.components-popover select,.edit-post-sidebar select,.editor-post-permalink select,.editor-post-publish-panel select{padding:2px}.block-editor-block-list__block select:focus,.components-modal__content select:focus,.components-popover select:focus,.edit-post-sidebar select:focus,.editor-post-permalink select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=radio],.components-modal__content input[type=checkbox],.components-modal__content input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-right:12px;transition:none}.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=radio]:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.block-editor-block-list__block input[type=checkbox]:checked,.block-editor-block-list__block input[type=radio]:checked,.components-modal__content input[type=checkbox]:checked,.components-modal__content input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.editor-post-permalink input[type=checkbox]:checked,.editor-post-permalink input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-sunrise .block-editor-block-list__block input[type=radio]:checked,body.admin-color-sunrise .components-modal__content input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__content input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .editor-post-permalink input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-permalink input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ocean .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ocean .components-modal__content input[type=checkbox]:checked,body.admin-color-ocean .components-modal__content input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ocean .editor-post-permalink input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-midnight .block-editor-block-list__block input[type=radio]:checked,body.admin-color-midnight .components-modal__content input[type=checkbox]:checked,body.admin-color-midnight .components-modal__content input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .editor-post-permalink input[type=checkbox]:checked,body.admin-color-midnight .editor-post-permalink input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ectoplasm .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ectoplasm .components-modal__content input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__content input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-coffee .block-editor-block-list__block input[type=radio]:checked,body.admin-color-coffee .components-modal__content input[type=checkbox]:checked,body.admin-color-coffee .components-modal__content input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .editor-post-permalink input[type=checkbox]:checked,body.admin-color-coffee .editor-post-permalink input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-blue .block-editor-block-list__block input[type=radio]:checked,body.admin-color-blue .components-modal__content input[type=checkbox]:checked,body.admin-color-blue .components-modal__content input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .editor-post-permalink input[type=checkbox]:checked,body.admin-color-blue .editor-post-permalink input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-light .block-editor-block-list__block input[type=radio]:checked,body.admin-color-light .components-modal__content input[type=checkbox]:checked,body.admin-color-light .components-modal__content input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .editor-post-permalink input[type=checkbox]:checked,body.admin-color-light .editor-post-permalink input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox]:checked:focus,.block-editor-block-list__block input[type=radio]:checked:focus,.components-modal__content input[type=checkbox]:checked:focus,.components-modal__content input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.editor-post-permalink input[type=checkbox]:checked:focus,.editor-post-permalink input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=checkbox],.components-modal__content input[type=checkbox],.components-popover input[type=checkbox],.edit-post-sidebar input[type=checkbox],.editor-post-permalink input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed],.components-modal__content input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.editor-post-permalink input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:focus,.components-modal__content input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=radio],.components-modal__content input[type=radio],.components-popover input[type=radio],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.block-editor-block-list__block input[type=radio]:checked:before,.components-modal__content input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.editor-post-permalink input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 0 0 3px;background-color:#fff}.block-editor-block-list__block input::-webkit-input-placeholder,.block-editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.block-editor-block-list__block input::-moz-placeholder,.block-editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.block-editor-block-list__block input:-ms-input-placeholder,.block-editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input::-moz-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css index 49dcc3350c..988c39fd6f 100644 --- a/wp-includes/css/dist/editor/style-rtl.css +++ b/wp-includes/css/dist/editor/style-rtl.css @@ -32,10 +32,10 @@ /** * Allows users to opt-out of animations via OS-level preferences. */ -.block-editor-autocompleters__block .block-editor-block-icon { +.editor-autocompleters__block .editor-block-icon { margin-left: 8px; } -.block-editor-autocompleters__user .block-editor-autocompleters__user-avatar { +.editor-autocompleters__user .editor-autocompleters__user-avatar { margin-left: 8px; flex-grow: 0; flex-shrink: 0; @@ -43,7 +43,7 @@ width: 24px; height: 24px; } -.block-editor-autocompleters__user .block-editor-autocompleters__user-name { +.editor-autocompleters__user .editor-autocompleters__user-name { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; @@ -51,7 +51,7 @@ flex-shrink: 0; flex-grow: 1; } -.block-editor-autocompleters__user .block-editor-autocompleters__user-slug { +.editor-autocompleters__user .editor-autocompleters__user-slug { margin-right: 8px; color: #8f98a1; white-space: nowrap; @@ -61,7 +61,7 @@ flex-grow: 0; flex-shrink: 0; } -.block-editor-autocompleters__user:hover .block-editor-autocompleters__user-slug { +.editor-autocompleters__user:hover .editor-autocompleters__user-slug { color: #66c6e4; } .document-outline { diff --git a/wp-includes/css/dist/editor/style-rtl.min.css b/wp-includes/css/dist/editor/style-rtl.min.css index 25ffe9e9d2..f2fd6ab6da 100644 --- a/wp-includes/css/dist/editor/style-rtl.min.css +++ b/wp-includes/css/dist/editor/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.block-editor-autocompleters__block .block-editor-block-icon{margin-left:8px}.block-editor-autocompleters__user .block-editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.block-editor-autocompleters__user .block-editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.block-editor-autocompleters__user .block-editor-autocompleters__user-slug{margin-right:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.block-editor-autocompleters__user:hover .block-editor-autocompleters__user-slug{color:#66c6e4}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-left:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 -1px 0 0;padding:2px 1px 2px 5px;color:#23282d;text-align:right}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-left:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.editor-error-boundary{max-width:610px;max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image .components-spinner{margin:0}.editor-post-featured-image .components-button+.components-button{margin-top:1em;margin-left:8px}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 #00a0d2}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:left;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-left:5px}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-locked-modal{height:auto;padding-left:10px;padding-right:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-left:5px}.editor-post-locked-modal__avatar{float:right;margin:5px 5px 5px 15px}.editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-right:0;box-shadow:3px 0 0 0 #555d66;outline:1px solid transparent;margin-right:-15px;margin-left:-15px}.is-dark-theme .editor-post-permalink{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 5px 0 10px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-left:10px;width:100%;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);top:1px;bottom:1px;left:1px;right:auto;width:20%;height:auto}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-right:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-left:6px;flex:0 0 0%}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-right:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:left;flex-wrap:nowrap}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-left:-4px}.editor-post-publish-panel__link{color:#007fac;font-weight:400;padding-right:4px;text-decoration:underline}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#191e23}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-right:-16px;margin-left:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#e8eaeb;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;color:#a2aab2;overflow:hidden}.editor-post-saved-state.is-saving{animation:edit-post__loading-fade-animation .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-saved-state{width:28px;white-space:nowrap;padding:12px 4px}.editor-post-saved-state .dashicon{margin-left:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-left:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}@media (min-width:600px){.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon{display:none}}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-input[type=checkbox]{margin-top:0}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-right:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;line-height:150%;font-size:16px}@media (min-width:600px){.editor-post-text-editor{font-size:14px}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-right:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info{margin-top:0;margin-right:28px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input{margin-right:28px}.edit-post-post-visibility__dialog.components-popover.is-bottom{z-index:100001}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;outline:1px solid transparent;font-size:2.441em;font-weight:600}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 0 1px 1px}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #d7dade}}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:3px 0 0 0 #e2e4e7}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;position:absolute;top:-34px;right:0;left:0}@media (min-width:600px){.editor-post-title .editor-post-permalink{right:2px;left:2px}}.editor-post-trash.components-button{width:100%;color:#c92c2c;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#b52727}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-right:5px} \ No newline at end of file +@charset "UTF-8";.editor-autocompleters__block .editor-block-icon{margin-left:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-right:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-left:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 -1px 0 0;padding:2px 1px 2px 5px;color:#23282d;text-align:right}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-left:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.editor-error-boundary{max-width:610px;max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image .components-spinner{margin:0}.editor-post-featured-image .components-button+.components-button{margin-top:1em;margin-left:8px}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 #00a0d2}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:left;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-left:5px}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-locked-modal{height:auto;padding-left:10px;padding-right:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-left:5px}.editor-post-locked-modal__avatar{float:right;margin:5px 5px 5px 15px}.editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-right:0;box-shadow:3px 0 0 0 #555d66;outline:1px solid transparent;margin-right:-15px;margin-left:-15px}.is-dark-theme .editor-post-permalink{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 5px 0 10px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-left:10px;width:100%;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);top:1px;bottom:1px;left:1px;right:auto;width:20%;height:auto}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-right:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-left:6px;flex:0 0 0%}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-right:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:left;flex-wrap:nowrap}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-left:-4px}.editor-post-publish-panel__link{color:#007fac;font-weight:400;padding-right:4px;text-decoration:underline}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#191e23}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-right:-16px;margin-left:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#e8eaeb;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;color:#a2aab2;overflow:hidden}.editor-post-saved-state.is-saving{animation:edit-post__loading-fade-animation .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-saved-state{width:28px;white-space:nowrap;padding:12px 4px}.editor-post-saved-state .dashicon{margin-left:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-left:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}@media (min-width:600px){.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon{display:none}}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-input[type=checkbox]{margin-top:0}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-right:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;line-height:150%;font-size:16px}@media (min-width:600px){.editor-post-text-editor{font-size:14px}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-right:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info{margin-top:0;margin-right:28px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input{margin-right:28px}.edit-post-post-visibility__dialog.components-popover.is-bottom{z-index:100001}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;outline:1px solid transparent;font-size:2.441em;font-weight:600}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 0 1px 1px}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #d7dade}}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:3px 0 0 0 #e2e4e7}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;position:absolute;top:-34px;right:0;left:0}@media (min-width:600px){.editor-post-title .editor-post-permalink{right:2px;left:2px}}.editor-post-trash.components-button{width:100%;color:#c92c2c;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#b52727}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-right:5px} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/style.css b/wp-includes/css/dist/editor/style.css index 4abe38383f..5fbc00f555 100644 --- a/wp-includes/css/dist/editor/style.css +++ b/wp-includes/css/dist/editor/style.css @@ -32,10 +32,10 @@ /** * Allows users to opt-out of animations via OS-level preferences. */ -.block-editor-autocompleters__block .block-editor-block-icon { +.editor-autocompleters__block .editor-block-icon { margin-right: 8px; } -.block-editor-autocompleters__user .block-editor-autocompleters__user-avatar { +.editor-autocompleters__user .editor-autocompleters__user-avatar { margin-right: 8px; flex-grow: 0; flex-shrink: 0; @@ -43,7 +43,7 @@ width: 24px; height: 24px; } -.block-editor-autocompleters__user .block-editor-autocompleters__user-name { +.editor-autocompleters__user .editor-autocompleters__user-name { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; @@ -51,7 +51,7 @@ flex-shrink: 0; flex-grow: 1; } -.block-editor-autocompleters__user .block-editor-autocompleters__user-slug { +.editor-autocompleters__user .editor-autocompleters__user-slug { margin-left: 8px; color: #8f98a1; white-space: nowrap; @@ -61,7 +61,7 @@ flex-grow: 0; flex-shrink: 0; } -.block-editor-autocompleters__user:hover .block-editor-autocompleters__user-slug { +.editor-autocompleters__user:hover .editor-autocompleters__user-slug { color: #66c6e4; } .document-outline { diff --git a/wp-includes/css/dist/editor/style.min.css b/wp-includes/css/dist/editor/style.min.css index fa608749da..4a720724a0 100644 --- a/wp-includes/css/dist/editor/style.min.css +++ b/wp-includes/css/dist/editor/style.min.css @@ -1 +1 @@ -@charset "UTF-8";.block-editor-autocompleters__block .block-editor-block-icon{margin-right:8px}.block-editor-autocompleters__user .block-editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.block-editor-autocompleters__user .block-editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.block-editor-autocompleters__user .block-editor-autocompleters__user-slug{margin-left:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.block-editor-autocompleters__user:hover .block-editor-autocompleters__user-slug{color:#66c6e4}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-right:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 0 0 -1px;padding:2px 5px 2px 1px;color:#23282d;text-align:left}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-right:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.editor-error-boundary{max-width:610px;max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image .components-spinner{margin:0}.editor-post-featured-image .components-button+.components-button{margin-top:1em;margin-right:8px}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 #00a0d2}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:right;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-right:5px}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-locked-modal{height:auto;padding-right:10px;padding-left:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-right:5px}.editor-post-locked-modal__avatar{float:left;margin:5px 15px 5px 5px}.editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-left:0;box-shadow:-3px 0 0 0 #555d66;outline:1px solid transparent;margin-left:-15px;margin-right:-15px}.is-dark-theme .editor-post-permalink{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 10px 0 5px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-right:10px;width:100%;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:1px;bottom:1px;right:1px;left:auto;width:20%;height:auto}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-left:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-right:6px;flex:0 0 0%}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-left:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:right;flex-wrap:nowrap}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-right:-4px}.editor-post-publish-panel__link{color:#007fac;font-weight:400;padding-left:4px;text-decoration:underline}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#191e23}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-left:-16px;margin-right:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#e8eaeb;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;color:#a2aab2;overflow:hidden}.editor-post-saved-state.is-saving{animation:edit-post__loading-fade-animation .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-saved-state{width:28px;white-space:nowrap;padding:12px 4px}.editor-post-saved-state .dashicon{margin-right:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-right:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}@media (min-width:600px){.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon{display:none}}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-input[type=checkbox]{margin-top:0}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-left:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;line-height:150%;font-size:16px}@media (min-width:600px){.editor-post-text-editor{font-size:14px}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-left:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info{margin-top:0;margin-left:28px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input{margin-left:28px}.edit-post-post-visibility__dialog.components-popover.is-bottom{z-index:100001}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;outline:1px solid transparent;font-size:2.441em;font-weight:600}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 1px 1px 0}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #d7dade}}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:-3px 0 0 0 #e2e4e7}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;position:absolute;top:-34px;left:0;right:0}@media (min-width:600px){.editor-post-title .editor-post-permalink{left:2px;right:2px}}.editor-post-trash.components-button{width:100%;color:#c92c2c;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#b52727}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-left:5px} \ No newline at end of file +@charset "UTF-8";.editor-autocompleters__block .editor-block-icon{margin-right:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-left:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-right:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 0 0 -1px;padding:2px 5px 2px 1px;color:#23282d;text-align:left}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-right:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.editor-error-boundary{max-width:610px;max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image .components-spinner{margin:0}.editor-post-featured-image .components-button+.components-button{margin-top:1em;margin-right:8px}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 #00a0d2}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:right;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-right:5px}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-locked-modal{height:auto;padding-right:10px;padding-left:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-right:5px}.editor-post-locked-modal__avatar{float:left;margin:5px 15px 5px 5px}.editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-left:0;box-shadow:-3px 0 0 0 #555d66;outline:1px solid transparent;margin-left:-15px;margin-right:-15px}.is-dark-theme .editor-post-permalink{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 10px 0 5px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-right:10px;width:100%;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:1px;bottom:1px;right:1px;left:auto;width:20%;height:auto}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-left:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-right:6px;flex:0 0 0%}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-left:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:right;flex-wrap:nowrap}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-right:-4px}.editor-post-publish-panel__link{color:#007fac;font-weight:400;padding-left:4px;text-decoration:underline}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#191e23}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-left:-16px;margin-right:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#e8eaeb;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;color:#a2aab2;overflow:hidden}.editor-post-saved-state.is-saving{animation:edit-post__loading-fade-animation .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-saved-state{width:28px;white-space:nowrap;padding:12px 4px}.editor-post-saved-state .dashicon{margin-right:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-right:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}@media (min-width:600px){.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon{display:none}}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-input[type=checkbox]{margin-top:0}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-left:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;line-height:150%;font-size:16px}@media (min-width:600px){.editor-post-text-editor{font-size:14px}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-left:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info{margin-top:0;margin-left:28px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input{margin-left:28px}.edit-post-post-visibility__dialog.components-popover.is-bottom{z-index:100001}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;outline:1px solid transparent;font-size:2.441em;font-weight:600}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 1px 1px 0}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #d7dade}}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:-3px 0 0 0 #e2e4e7}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;position:absolute;top:-34px;left:0;right:0}@media (min-width:600px){.editor-post-title .editor-post-permalink{left:2px;right:2px}}.editor-post-trash.components-button{width:100%;color:#c92c2c;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#b52727}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-left:5px} \ No newline at end of file diff --git a/wp-includes/js/dist/annotations.js b/wp-includes/js/dist/annotations.js index 7e907efb57..081190282d 100644 --- a/wp-includes/js/dist/annotations.js +++ b/wp-includes/js/dist/annotations.js @@ -207,7 +207,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 24: +/***/ 26: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["hooks"]; }()); @@ -1084,7 +1084,7 @@ var format_name = annotation_annotation.name, Object(external_this_wp_richText_["registerFormatType"])(format_name, settings); // EXTERNAL MODULE: external {"this":["wp","hooks"]} -var external_this_wp_hooks_ = __webpack_require__(24); +var external_this_wp_hooks_ = __webpack_require__(26); // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js /** diff --git a/wp-includes/js/dist/annotations.min.js b/wp-includes/js/dist/annotations.min.js index 8128650b3e..17047168b0 100644 --- a/wp-includes/js/dist/annotations.min.js +++ b/wp-includes/js/dist/annotations.min.js @@ -1 +1 @@ -this.wp=this.wp||{},this.wp.annotations=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=370)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},15:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",function(){return r})},17:function(t,n,e){"use strict";var r=e(34);function o(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}e.d(n,"a",function(){return r})},24:function(t,n){!function(){t.exports=this.wp.hooks}()},30:function(t,n,e){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,n,e){var r;if(t.length!==n.length)return!1;for(r=e;r0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ANNOTATION_ADD":var r=e.blockClientId,o={id:e.id,blockClientId:r,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===o.selector&&(t=o.range,!(Object(f.isNumber)(t.start)&&Object(f.isNumber)(t.end)&&t.start<=t.end)))return n;var a=Object(f.get)(n,r,[]);return Object(c.a)({},n,Object(i.a)({},r,[].concat(Object(u.a)(a),[o])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,function(t){return l(t,function(t){return t.id!==e.annotationId})});case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,function(t){var n=!1,r=t.map(function(t){return t.id===e.annotationId?(n=!0,Object(c.a)({},t,{range:{start:e.start,end:e.end}})):t});return n?r:t});case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,function(t){return l(t,function(t){return t.source!==e.source})})}return n},p=e(21),d=e(30),v=[],b=Object(d.a)(function(t,n){return Object(f.get)(t,n,[]).filter(function(t){return"block"===t.selector})},function(t,n){return[Object(f.get)(t,n,v)]}),g=function(t,n){return Object(f.get)(t,n,v)},O=Object(d.a)(function(t,n,e){return Object(f.get)(t,n,[]).filter(function(t){return"range"===t.selector&&e===t.richTextIdentifier}).map(function(t){var n=t.range,e=Object(p.a)(t,["range"]);return Object(c.a)({},n,e)})},function(t,n){return[Object(f.get)(t,n,v)]});function m(t){return Object(f.flatMap)(t,function(t){return t})}var y=e(65),h=e.n(y);function x(t){var n=t.blockClientId,e=t.richTextIdentifier,r=void 0===e?null:e,o=t.range,a=void 0===o?null:o,i=t.selector,u=void 0===i?"range":i,c=t.source,f=void 0===c?"default":c,l=t.id,s={type:"ANNOTATION_ADD",id:void 0===l?h()():l,blockClientId:n,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function _(t,n,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:n,end:e}}function j(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var T=e(20),N=e(41),w=e.n(N),I=e(1),E="core/annotation",R="annotation-text-";var k=w()(function(t){var n=t.annotations;return function(t,e){if(0===n.length)return t;var r={formats:t,text:e};return(r=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach(function(n){var e=n.start,r=n.end;e>t.text.length&&(e=t.text.length),r>t.text.length&&(r=t.text.length);var o=R+n.source,a=R+n.id;t=Object(T.applyFormat)(t,{type:E,attributes:{className:o,id:a}},e,r)}),t}(r,n)).formats}}),S=w()(function(t){return{annotations:t}}),P={name:E,title:Object(I.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(t,n){var e=n.richTextIdentifier,r=n.blockClientId;return S(t("core/annotations").__experimentalGetAnnotationsForRichText(r,e))},__experimentalCreatePrepareEditableTree:k,__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(n){var e=function(t){var n={};return t.forEach(function(t,e){(t=(t=t||[]).filter(function(t){return t.type===E})).forEach(function(t){var r=t.attributes.id;r=r.replace(R,""),n.hasOwnProperty(r)||(n[r]={start:e}),n[r].end=e+1})}),n}(n),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,n,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;t.forEach(function(t){var e=n[t.id];if(e){var a=t.start,i=t.end;a===e.start&&i===e.end||o(t.id,e.start,e.end)}else r(t.id)})}(t.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},C=P.name,D=Object(p.a)(P,["name"]);Object(T.registerFormatType)(C,D);var M=e(24);Object(M.addFilter)("editor.BlockListBlock","core/annotations",function(t){return Object(a.withSelect)(function(t,n){var e=n.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(e).map(function(t){return"is-annotated-by-"+t.source}).join(" ")}})(t)})},41:function(t,n,e){t.exports=function(t,n){var e,r,o,a=0;function i(){var n,i,u=r,c=arguments.length;t:for(;u;){if(u.args.length===arguments.length){for(i=0;i>>((3&n)<<3)&255;return o}}},88:function(t,n){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);t.exports=function(t,n){var r=n||0,o=e;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.annotations=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=370)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},15:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",function(){return r})},17:function(t,n,e){"use strict";var r=e(34);function o(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}e.d(n,"a",function(){return r})},26:function(t,n){!function(){t.exports=this.wp.hooks}()},30:function(t,n,e){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,n,e){var r;if(t.length!==n.length)return!1;for(r=e;r0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ANNOTATION_ADD":var r=e.blockClientId,o={id:e.id,blockClientId:r,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===o.selector&&(t=o.range,!(Object(f.isNumber)(t.start)&&Object(f.isNumber)(t.end)&&t.start<=t.end)))return n;var a=Object(f.get)(n,r,[]);return Object(c.a)({},n,Object(i.a)({},r,[].concat(Object(u.a)(a),[o])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,function(t){return l(t,function(t){return t.id!==e.annotationId})});case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,function(t){var n=!1,r=t.map(function(t){return t.id===e.annotationId?(n=!0,Object(c.a)({},t,{range:{start:e.start,end:e.end}})):t});return n?r:t});case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,function(t){return l(t,function(t){return t.source!==e.source})})}return n},p=e(21),d=e(30),v=[],b=Object(d.a)(function(t,n){return Object(f.get)(t,n,[]).filter(function(t){return"block"===t.selector})},function(t,n){return[Object(f.get)(t,n,v)]}),g=function(t,n){return Object(f.get)(t,n,v)},O=Object(d.a)(function(t,n,e){return Object(f.get)(t,n,[]).filter(function(t){return"range"===t.selector&&e===t.richTextIdentifier}).map(function(t){var n=t.range,e=Object(p.a)(t,["range"]);return Object(c.a)({},n,e)})},function(t,n){return[Object(f.get)(t,n,v)]});function m(t){return Object(f.flatMap)(t,function(t){return t})}var y=e(65),h=e.n(y);function x(t){var n=t.blockClientId,e=t.richTextIdentifier,r=void 0===e?null:e,o=t.range,a=void 0===o?null:o,i=t.selector,u=void 0===i?"range":i,c=t.source,f=void 0===c?"default":c,l=t.id,s={type:"ANNOTATION_ADD",id:void 0===l?h()():l,blockClientId:n,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function _(t,n,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:n,end:e}}function j(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var T=e(20),N=e(41),w=e.n(N),I=e(1),E="core/annotation",R="annotation-text-";var k=w()(function(t){var n=t.annotations;return function(t,e){if(0===n.length)return t;var r={formats:t,text:e};return(r=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach(function(n){var e=n.start,r=n.end;e>t.text.length&&(e=t.text.length),r>t.text.length&&(r=t.text.length);var o=R+n.source,a=R+n.id;t=Object(T.applyFormat)(t,{type:E,attributes:{className:o,id:a}},e,r)}),t}(r,n)).formats}}),S=w()(function(t){return{annotations:t}}),P={name:E,title:Object(I.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(t,n){var e=n.richTextIdentifier,r=n.blockClientId;return S(t("core/annotations").__experimentalGetAnnotationsForRichText(r,e))},__experimentalCreatePrepareEditableTree:k,__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(n){var e=function(t){var n={};return t.forEach(function(t,e){(t=(t=t||[]).filter(function(t){return t.type===E})).forEach(function(t){var r=t.attributes.id;r=r.replace(R,""),n.hasOwnProperty(r)||(n[r]={start:e}),n[r].end=e+1})}),n}(n),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,n,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;t.forEach(function(t){var e=n[t.id];if(e){var a=t.start,i=t.end;a===e.start&&i===e.end||o(t.id,e.start,e.end)}else r(t.id)})}(t.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},C=P.name,D=Object(p.a)(P,["name"]);Object(T.registerFormatType)(C,D);var M=e(26);Object(M.addFilter)("editor.BlockListBlock","core/annotations",function(t){return Object(a.withSelect)(function(t,n){var e=n.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(e).map(function(t){return"is-annotated-by-"+t.source}).join(" ")}})(t)})},41:function(t,n,e){t.exports=function(t,n){var e,r,o,a=0;function i(){var n,i,u=r,c=arguments.length;t:for(;u;){if(u.args.length===arguments.length){for(i=0;i>>((3&n)<<3)&255;return o}}},88:function(t,n){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);t.exports=function(t,n){var r=n||0,o=e;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/api-fetch.js b/wp-includes/js/dist/api-fetch.js index 024d2365f1..d86b29e6e1 100644 --- a/wp-includes/js/dist/api-fetch.js +++ b/wp-includes/js/dist/api-fetch.js @@ -161,18 +161,18 @@ function _objectWithoutProperties(source, excluded) { /***/ }), /***/ 23: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["url"]; }()); - -/***/ }), - -/***/ 26: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(54); +/***/ }), + +/***/ 25: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["url"]; }()); + /***/ }), /***/ 369: @@ -334,14 +334,14 @@ var createPreloadingMiddleware = function createPreloadingMiddleware(preloadedDa /* harmony default export */ var preloading = (createPreloadingMiddleware); // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js -var regenerator = __webpack_require__(26); +var regenerator = __webpack_require__(23); var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js var asyncToGenerator = __webpack_require__(44); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(23); +var external_this_wp_url_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js diff --git a/wp-includes/js/dist/api-fetch.min.js b/wp-includes/js/dist/api-fetch.min.js index 9b51af3284..4f2a04fbd3 100644 --- a/wp-includes/js/dist/api-fetch.min.js +++ b/wp-includes/js/dist/api-fetch.min.js @@ -1 +1 @@ -this.wp=this.wp||{},this.wp.apiFetch=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=369)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},15:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",function(){return n})},21:function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}r.d(e,"a",function(){return n})},23:function(t,e){!function(){t.exports=this.wp.url}()},26:function(t,e,r){t.exports=r(54)},369:function(t,e,r){"use strict";r.r(e);var n=r(7),o=r(21),i=r(1);var a=function(t){function e(t,r){var o=t.headers,i=void 0===o?{}:o;for(var a in i)if("x-wp-nonce"===a.toLowerCase())return r(t);return r(Object(n.a)({},t,{headers:Object(n.a)({},i,{"X-WP-Nonce":e.nonce})}))}return e.nonce=t,e},u=function(t,e){var r,o,i=t.path;return"string"==typeof t.namespace&&"string"==typeof t.endpoint&&(r=t.namespace.replace(/^\/|\/$/g,""),i=(o=t.endpoint.replace(/^\//,""))?r+"/"+o:r),delete t.namespace,delete t.endpoint,e(Object(n.a)({},t,{path:i}))},c=function(t){return function(e,r){return u(e,function(e){var o,i=e.url,a=e.path;return"string"==typeof a&&(o=t,-1!==t.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(a=a.replace("?","&")),i=o+a),r(Object(n.a)({},e,{url:i}))})}},s=function(t){return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var i=e.method||"GET",a=function(t){var e=t.split("?"),r=e[1],n=e[0];return r?n+"?"+r.split("&").map(function(t){return t.split("=")}).sort(function(t,e){return t[0].localeCompare(e[0])}).map(function(t){return t.join("=")}).join("&"):n}(e.path);if(o&&"GET"===i&&t[a])return Promise.resolve(t[a].body);if("OPTIONS"===i&&t[i]&&t[i][a])return Promise.resolve(t[i][a])}return r(e)}},f=r(26),l=r.n(f),p=r(44),h=r(23),d=function(t,e){var r=t.path,i=t.url,a=Object(o.a)(t,["path","url"]);return Object(n.a)({},a,{url:i&&Object(h.addQueryArgs)(i,e),path:r&&Object(h.addQueryArgs)(r,e)})},y=function(t){return t.json?t.json():Promise.reject(t)},v=function(t){return function(t){if(!t)return{};var e=t.match(/<([^>]+)>; rel="next"/);return e?{next:e[1]}:{}}(t.headers.get("link")).next},g=function(t){var e=t.path&&-1!==t.path.indexOf("per_page=-1"),r=t.url&&-1!==t.url.indexOf("per_page=-1");return e||r},m=function(){var t=Object(p.a)(l.a.mark(function t(e,r){var o,i,a,u,c,s;return l.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==e.parse){t.next=2;break}return t.abrupt("return",r(e));case 2:if(g(e)){t.next=4;break}return t.abrupt("return",r(e));case 4:return t.next=6,r(Object(n.a)({},d(e,{per_page:100}),{parse:!1}));case 6:return o=t.sent,t.next=9,y(o);case 9:if(i=t.sent,Array.isArray(i)){t.next=12;break}return t.abrupt("return",i);case 12:if(a=v(o)){t.next=15;break}return t.abrupt("return",i);case 15:u=[].concat(i);case 16:if(!a){t.next=27;break}return t.next=19,r(Object(n.a)({},e,{path:void 0,url:a,parse:!1}));case 19:return c=t.sent,t.next=22,y(c);case 22:s=t.sent,u=u.concat(s),a=v(c),t.next=16;break;case 27:return t.abrupt("return",u);case 28:case"end":return t.stop()}},t,this)}));return function(e,r){return t.apply(this,arguments)}}(),b=new Set(["PATCH","PUT","DELETE"]),w="GET";var O={Accept:"application/json, */*;q=0.1"},j={credentials:"include"},x=[function(t,e){return"string"!=typeof t.url||Object(h.hasQueryArg)(t.url,"_locale")||(t.url=Object(h.addQueryArgs)(t.url,{_locale:"user"})),"string"!=typeof t.path||Object(h.hasQueryArg)(t.path,"_locale")||(t.path=Object(h.addQueryArgs)(t.path,{_locale:"user"})),e(t,e)},u,function(t,e){var r=t.method,o=void 0===r?w:r;return b.has(o.toUpperCase())&&(t=Object(n.a)({},t,{headers:Object(n.a)({},t.headers,{"X-HTTP-Method-Override":o,"Content-Type":"application/json"}),method:"POST"})),e(t,e)},m];var _=function(t){var e=t.url,r=t.path,a=t.data,u=t.parse,c=void 0===u||u,s=Object(o.a)(t,["url","path","data","parse"]),f=t.body,l=t.headers;l=Object(n.a)({},O,l),a&&(f=JSON.stringify(a),l["Content-Type"]="application/json");return window.fetch(e||r,Object(n.a)({},j,s,{body:f,headers:l})).then(function(t){if(t.status>=200&&t.status<300)return t;throw t}).then(function(t){return c?204===t.status?null:t.json?t.json():Promise.reject(t):t}).catch(function(t){if(!c)throw t;var e={code:"invalid_json",message:Object(i.__)("The response is not a valid JSON response.")};if(!t||!t.json)throw e;return t.json().catch(function(){throw e}).then(function(t){var e={code:"unknown_error",message:Object(i.__)("An unknown error occurred.")};throw t||e})})};function P(t){var e=[].concat(x,[_]);return function t(r){return function(n){var o=e[r];return r===e.length-1?o(n):o(n,t(r+1))}}(0)(t)}P.use=function(t){x.unshift(t)},P.setFetchHandler=function(t){_=t},P.createNonceMiddleware=a,P.createPreloadingMiddleware=s,P.createRootURLMiddleware=c,P.fetchAllMiddleware=m;e.default=P},44:function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)})}}r.d(e,"a",function(){return o})},54:function(t,e,r){var n=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",s="object"==typeof t,f=e.regeneratorRuntime;if(f)s&&(t.exports=f);else{(f=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},v={};v[a]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(A([])));m&&m!==n&&o.call(m,a)&&(v=m);var b=_.prototype=j.prototype=Object.create(v);x.prototype=b.constructor=_,_.constructor=x,_[c]=x.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},f.awrap=function(t){return{__await:t}},P(L.prototype),L.prototype[u]=function(){return this},f.AsyncIterator=L,f.async=function(t,e,r,n){var o=new L(w(t,e,r,n));return f.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},P(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},f.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=A,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function w(t,e,r,n){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),a=new T(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return N()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=O(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function O(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function j(){}function x(){}function _(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function L(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,a){var u=O(t[r],t,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},function(t){return e("throw",t,i,a)})}a(u.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,E(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=O(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}r.d(e,"a",function(){return n})},23:function(t,e,r){t.exports=r(54)},25:function(t,e){!function(){t.exports=this.wp.url}()},369:function(t,e,r){"use strict";r.r(e);var n=r(7),o=r(21),i=r(1);var a=function(t){function e(t,r){var o=t.headers,i=void 0===o?{}:o;for(var a in i)if("x-wp-nonce"===a.toLowerCase())return r(t);return r(Object(n.a)({},t,{headers:Object(n.a)({},i,{"X-WP-Nonce":e.nonce})}))}return e.nonce=t,e},u=function(t,e){var r,o,i=t.path;return"string"==typeof t.namespace&&"string"==typeof t.endpoint&&(r=t.namespace.replace(/^\/|\/$/g,""),i=(o=t.endpoint.replace(/^\//,""))?r+"/"+o:r),delete t.namespace,delete t.endpoint,e(Object(n.a)({},t,{path:i}))},c=function(t){return function(e,r){return u(e,function(e){var o,i=e.url,a=e.path;return"string"==typeof a&&(o=t,-1!==t.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(a=a.replace("?","&")),i=o+a),r(Object(n.a)({},e,{url:i}))})}},s=function(t){return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var i=e.method||"GET",a=function(t){var e=t.split("?"),r=e[1],n=e[0];return r?n+"?"+r.split("&").map(function(t){return t.split("=")}).sort(function(t,e){return t[0].localeCompare(e[0])}).map(function(t){return t.join("=")}).join("&"):n}(e.path);if(o&&"GET"===i&&t[a])return Promise.resolve(t[a].body);if("OPTIONS"===i&&t[i]&&t[i][a])return Promise.resolve(t[i][a])}return r(e)}},f=r(23),l=r.n(f),p=r(44),h=r(25),d=function(t,e){var r=t.path,i=t.url,a=Object(o.a)(t,["path","url"]);return Object(n.a)({},a,{url:i&&Object(h.addQueryArgs)(i,e),path:r&&Object(h.addQueryArgs)(r,e)})},y=function(t){return t.json?t.json():Promise.reject(t)},v=function(t){return function(t){if(!t)return{};var e=t.match(/<([^>]+)>; rel="next"/);return e?{next:e[1]}:{}}(t.headers.get("link")).next},g=function(t){var e=t.path&&-1!==t.path.indexOf("per_page=-1"),r=t.url&&-1!==t.url.indexOf("per_page=-1");return e||r},m=function(){var t=Object(p.a)(l.a.mark(function t(e,r){var o,i,a,u,c,s;return l.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==e.parse){t.next=2;break}return t.abrupt("return",r(e));case 2:if(g(e)){t.next=4;break}return t.abrupt("return",r(e));case 4:return t.next=6,r(Object(n.a)({},d(e,{per_page:100}),{parse:!1}));case 6:return o=t.sent,t.next=9,y(o);case 9:if(i=t.sent,Array.isArray(i)){t.next=12;break}return t.abrupt("return",i);case 12:if(a=v(o)){t.next=15;break}return t.abrupt("return",i);case 15:u=[].concat(i);case 16:if(!a){t.next=27;break}return t.next=19,r(Object(n.a)({},e,{path:void 0,url:a,parse:!1}));case 19:return c=t.sent,t.next=22,y(c);case 22:s=t.sent,u=u.concat(s),a=v(c),t.next=16;break;case 27:return t.abrupt("return",u);case 28:case"end":return t.stop()}},t,this)}));return function(e,r){return t.apply(this,arguments)}}(),b=new Set(["PATCH","PUT","DELETE"]),w="GET";var O={Accept:"application/json, */*;q=0.1"},j={credentials:"include"},x=[function(t,e){return"string"!=typeof t.url||Object(h.hasQueryArg)(t.url,"_locale")||(t.url=Object(h.addQueryArgs)(t.url,{_locale:"user"})),"string"!=typeof t.path||Object(h.hasQueryArg)(t.path,"_locale")||(t.path=Object(h.addQueryArgs)(t.path,{_locale:"user"})),e(t,e)},u,function(t,e){var r=t.method,o=void 0===r?w:r;return b.has(o.toUpperCase())&&(t=Object(n.a)({},t,{headers:Object(n.a)({},t.headers,{"X-HTTP-Method-Override":o,"Content-Type":"application/json"}),method:"POST"})),e(t,e)},m];var _=function(t){var e=t.url,r=t.path,a=t.data,u=t.parse,c=void 0===u||u,s=Object(o.a)(t,["url","path","data","parse"]),f=t.body,l=t.headers;l=Object(n.a)({},O,l),a&&(f=JSON.stringify(a),l["Content-Type"]="application/json");return window.fetch(e||r,Object(n.a)({},j,s,{body:f,headers:l})).then(function(t){if(t.status>=200&&t.status<300)return t;throw t}).then(function(t){return c?204===t.status?null:t.json?t.json():Promise.reject(t):t}).catch(function(t){if(!c)throw t;var e={code:"invalid_json",message:Object(i.__)("The response is not a valid JSON response.")};if(!t||!t.json)throw e;return t.json().catch(function(){throw e}).then(function(t){var e={code:"unknown_error",message:Object(i.__)("An unknown error occurred.")};throw t||e})})};function P(t){var e=[].concat(x,[_]);return function t(r){return function(n){var o=e[r];return r===e.length-1?o(n):o(n,t(r+1))}}(0)(t)}P.use=function(t){x.unshift(t)},P.setFetchHandler=function(t){_=t},P.createNonceMiddleware=a,P.createPreloadingMiddleware=s,P.createRootURLMiddleware=c,P.fetchAllMiddleware=m;e.default=P},44:function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)})}}r.d(e,"a",function(){return o})},54:function(t,e,r){var n=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",s="object"==typeof t,f=e.regeneratorRuntime;if(f)s&&(t.exports=f);else{(f=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},v={};v[a]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(A([])));m&&m!==n&&o.call(m,a)&&(v=m);var b=_.prototype=j.prototype=Object.create(v);x.prototype=b.constructor=_,_.constructor=x,_[c]=x.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},f.awrap=function(t){return{__await:t}},P(L.prototype),L.prototype[u]=function(){return this},f.AsyncIterator=L,f.async=function(t,e,r,n){var o=new L(w(t,e,r,n));return f.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},P(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},f.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=A,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function w(t,e,r,n){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),a=new T(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return N()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=O(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function O(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function j(){}function x(){}function _(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function L(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,a){var u=O(t[r],t,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},function(t){return e("throw",t,i,a)})}a(u.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,E(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=O(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n 0 && arguments[0] !== undefined ? arguments[0] : {}; var action = arguments.length > 1 ? arguments[1] : undefined; @@ -4808,6 +4867,8 @@ function blockSelection() { initialPosition: action.initialPosition }); + case 'REPLACE_INNER_BLOCKS': // REPLACE_INNER_BLOCKS and INSERT_BLOCKS should follow the same logic. + case 'INSERT_BLOCKS': { if (action.updateSelection) { @@ -5060,7 +5121,7 @@ var slicedToArray = __webpack_require__(28); var external_this_wp_a11y_ = __webpack_require__(48); // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js -var regenerator = __webpack_require__(26); +var regenerator = __webpack_require__(23); var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/controls.js @@ -5111,12 +5172,24 @@ var controls_controls = { var _marked = /*#__PURE__*/ -regenerator_default.a.mark(selectPreviousBlock), +regenerator_default.a.mark(ensureDefaultBlock), _marked2 = /*#__PURE__*/ -regenerator_default.a.mark(selectNextBlock), +regenerator_default.a.mark(selectPreviousBlock), _marked3 = /*#__PURE__*/ +regenerator_default.a.mark(selectNextBlock), + _marked4 = +/*#__PURE__*/ +regenerator_default.a.mark(actions_replaceBlocks), + _marked5 = +/*#__PURE__*/ +regenerator_default.a.mark(moveBlockToPosition), + _marked6 = +/*#__PURE__*/ +regenerator_default.a.mark(actions_insertBlocks), + _marked7 = +/*#__PURE__*/ regenerator_default.a.mark(actions_removeBlocks); /** @@ -5133,6 +5206,40 @@ regenerator_default.a.mark(actions_removeBlocks); */ +/** + * Generator which will yield a default block insert action if there + * are no other blocks at the root of the editor. This generator should be used + * in actions which may result in no blocks remaining in the editor (removal, + * replacement, etc). + */ + +function ensureDefaultBlock() { + var count; + return regenerator_default.a.wrap(function ensureDefaultBlock$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return controls_select('core/block-editor', 'getBlockCount'); + + case 2: + count = _context.sent; + + if (!(count === 0)) { + _context.next = 6; + break; + } + + _context.next = 6; + return actions_insertDefaultBlock(); + + case 6: + case "end": + return _context.stop(); + } + } + }, _marked, this); +} /** * Returns an action object used in signalling that blocks state should be * reset to the specified array of blocks, taking precedence over any other @@ -5143,6 +5250,7 @@ regenerator_default.a.mark(actions_removeBlocks); * @return {Object} Action object. */ + function resetBlocks(blocks) { return { type: 'RESET_BLOCKS', @@ -5229,24 +5337,24 @@ function actions_selectBlock(clientId) { function selectPreviousBlock(clientId) { var previousBlockClientId; - return regenerator_default.a.wrap(function selectPreviousBlock$(_context) { + return regenerator_default.a.wrap(function selectPreviousBlock$(_context2) { while (1) { - switch (_context.prev = _context.next) { + switch (_context2.prev = _context2.next) { case 0: - _context.next = 2; + _context2.next = 2; return controls_select('core/block-editor', 'getPreviousBlockClientId', clientId); case 2: - previousBlockClientId = _context.sent; - _context.next = 5; + previousBlockClientId = _context2.sent; + _context2.next = 5; return actions_selectBlock(previousBlockClientId, -1); case 5: case "end": - return _context.stop(); + return _context2.stop(); } } - }, _marked, this); + }, _marked2, this); } /** * Yields action objects used in signalling that the block following the given @@ -5257,24 +5365,24 @@ function selectPreviousBlock(clientId) { function selectNextBlock(clientId) { var nextBlockClientId; - return regenerator_default.a.wrap(function selectNextBlock$(_context2) { + return regenerator_default.a.wrap(function selectNextBlock$(_context3) { while (1) { - switch (_context2.prev = _context2.next) { + switch (_context3.prev = _context3.next) { case 0: - _context2.next = 2; + _context3.next = 2; return controls_select('core/block-editor', 'getNextBlockClientId', clientId); case 2: - nextBlockClientId = _context2.sent; - _context2.next = 5; + nextBlockClientId = _context3.sent; + _context3.next = 5; return actions_selectBlock(nextBlockClientId); case 5: case "end": - return _context2.stop(); + return _context3.stop(); } } - }, _marked2, this); + }, _marked3, this); } /** * Returns an action object used in signalling that a block multi-selection has started. @@ -5348,16 +5456,67 @@ function toggleSelection() { * @param {(string|string[])} clientIds Block client ID(s) to replace. * @param {(Object|Object[])} blocks Replacement block(s). * - * @return {Object} Action object. + * @yields {Object} Action object. */ function actions_replaceBlocks(clientIds, blocks) { - return { - type: 'REPLACE_BLOCKS', - clientIds: Object(external_lodash_["castArray"])(clientIds), - blocks: Object(external_lodash_["castArray"])(blocks), - time: Date.now() - }; + var rootClientId, index, block, canInsertBlock; + return regenerator_default.a.wrap(function replaceBlocks$(_context4) { + while (1) { + switch (_context4.prev = _context4.next) { + case 0: + clientIds = Object(external_lodash_["castArray"])(clientIds); + blocks = Object(external_lodash_["castArray"])(blocks); + _context4.next = 4; + return controls_select('core/block-editor', 'getBlockRootClientId', Object(external_lodash_["first"])(clientIds)); + + case 4: + rootClientId = _context4.sent; + index = 0; + + case 6: + if (!(index < blocks.length)) { + _context4.next = 16; + break; + } + + block = blocks[index]; + _context4.next = 10; + return controls_select('core/block-editor', 'canInsertBlockType', block.name, rootClientId); + + case 10: + canInsertBlock = _context4.sent; + + if (canInsertBlock) { + _context4.next = 13; + break; + } + + return _context4.abrupt("return"); + + case 13: + index++; + _context4.next = 6; + break; + + case 16: + _context4.next = 18; + return { + type: 'REPLACE_BLOCKS', + clientIds: clientIds, + blocks: blocks, + time: Date.now() + }; + + case 18: + return _context4.delegateYield(ensureDefaultBlock(), "t0", 19); + + case 19: + case "end": + return _context4.stop(); + } + } + }, _marked4, this); } /** * Returns an action object signalling that a single block should be replaced @@ -5402,17 +5561,74 @@ var actions_moveBlocksUp = createOnMove('MOVE_BLOCKS_UP'); * @param {?string} toRootClientId Root client ID destination. * @param {number} index The index to move the block into. * - * @return {Object} Action object. + * @yields {Object} Action object. */ function moveBlockToPosition(clientId, fromRootClientId, toRootClientId, index) { - return { - type: 'MOVE_BLOCK_TO_POSITION', - fromRootClientId: fromRootClientId, - toRootClientId: toRootClientId, - clientId: clientId, - index: index - }; + var templateLock, action, blockName, canInsertBlock; + return regenerator_default.a.wrap(function moveBlockToPosition$(_context5) { + while (1) { + switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return controls_select('core/block-editor', 'getTemplateLock', fromRootClientId); + + case 2: + templateLock = _context5.sent; + + if (!(templateLock === 'all')) { + _context5.next = 5; + break; + } + + return _context5.abrupt("return"); + + case 5: + action = { + type: 'MOVE_BLOCK_TO_POSITION', + fromRootClientId: fromRootClientId, + toRootClientId: toRootClientId, + clientId: clientId, + index: index + }; // If moving inside the same root block the move is always possible. + + if (!(fromRootClientId === toRootClientId)) { + _context5.next = 10; + break; + } + + _context5.next = 9; + return action; + + case 9: + return _context5.abrupt("return"); + + case 10: + _context5.next = 12; + return controls_select('core/block-editor', 'getBlockName', clientId); + + case 12: + blockName = _context5.sent; + _context5.next = 15; + return controls_select('core/block-editor', 'canInsertBlockType', blockName, toRootClientId); + + case 15: + canInsertBlock = _context5.sent; + + if (!canInsertBlock) { + _context5.next = 19; + break; + } + + _context5.next = 19; + return action; + + case 19: + case "end": + return _context5.stop(); + } + } + }, _marked5, this); } /** * Returns an action object used in signalling that a single block should be @@ -5439,19 +5655,111 @@ function actions_insertBlock(block, index, rootClientId) { * @param {?string} rootClientId Optional root client ID of block list on which to insert. * @param {?boolean} updateSelection If true block selection will be updated. If false, block selection will not change. Defaults to true. * - * @return {Object} Action object. + * @return {Object} Action object. */ function actions_insertBlocks(blocks, index, rootClientId) { - var updateSelection = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; - return { - type: 'INSERT_BLOCKS', - blocks: Object(external_lodash_["castArray"])(blocks), - index: index, - rootClientId: rootClientId, - time: Date.now(), - updateSelection: updateSelection - }; + var updateSelection, + allowedBlocks, + _iteratorNormalCompletion, + _didIteratorError, + _iteratorError, + _iterator, + _step, + block, + isValid, + _args6 = arguments; + + return regenerator_default.a.wrap(function insertBlocks$(_context6) { + while (1) { + switch (_context6.prev = _context6.next) { + case 0: + updateSelection = _args6.length > 3 && _args6[3] !== undefined ? _args6[3] : true; + blocks = Object(external_lodash_["castArray"])(blocks); + allowedBlocks = []; + _iteratorNormalCompletion = true; + _didIteratorError = false; + _iteratorError = undefined; + _context6.prev = 6; + _iterator = blocks[Symbol.iterator](); + + case 8: + if (_iteratorNormalCompletion = (_step = _iterator.next()).done) { + _context6.next = 17; + break; + } + + block = _step.value; + _context6.next = 12; + return controls_select('core/block-editor', 'canInsertBlockType', block.name, rootClientId); + + case 12: + isValid = _context6.sent; + + if (isValid) { + allowedBlocks.push(block); + } + + case 14: + _iteratorNormalCompletion = true; + _context6.next = 8; + break; + + case 17: + _context6.next = 23; + break; + + case 19: + _context6.prev = 19; + _context6.t0 = _context6["catch"](6); + _didIteratorError = true; + _iteratorError = _context6.t0; + + case 23: + _context6.prev = 23; + _context6.prev = 24; + + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + + case 26: + _context6.prev = 26; + + if (!_didIteratorError) { + _context6.next = 29; + break; + } + + throw _iteratorError; + + case 29: + return _context6.finish(26); + + case 30: + return _context6.finish(23); + + case 31: + if (!allowedBlocks.length) { + _context6.next = 33; + break; + } + + return _context6.abrupt("return", { + type: 'INSERT_BLOCKS', + blocks: allowedBlocks, + index: index, + rootClientId: rootClientId, + time: Date.now(), + updateSelection: updateSelection + }); + + case 33: + case "end": + return _context6.stop(); + } + } + }, _marked6, this, [[6, 19, 23, 31], [24,, 26, 30]]); } /** * Returns an action object used in signalling that the insertion point should @@ -5533,51 +5841,38 @@ function mergeBlocks(firstBlockClientId, secondBlockClientId) { function actions_removeBlocks(clientIds) { var selectPrevious, - count, - _args3 = arguments; - return regenerator_default.a.wrap(function removeBlocks$(_context3) { + _args7 = arguments; + return regenerator_default.a.wrap(function removeBlocks$(_context7) { while (1) { - switch (_context3.prev = _context3.next) { + switch (_context7.prev = _context7.next) { case 0: - selectPrevious = _args3.length > 1 && _args3[1] !== undefined ? _args3[1] : true; + selectPrevious = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : true; clientIds = Object(external_lodash_["castArray"])(clientIds); if (!selectPrevious) { - _context3.next = 5; + _context7.next = 5; break; } - _context3.next = 5; + _context7.next = 5; return selectPreviousBlock(clientIds[0]); case 5: - _context3.next = 7; + _context7.next = 7; return { type: 'REMOVE_BLOCKS', clientIds: clientIds }; case 7: - _context3.next = 9; - return controls_select('core/block-editor', 'getBlockCount'); + return _context7.delegateYield(ensureDefaultBlock(), "t0", 8); - case 9: - count = _context3.sent; - - if (!(count === 0)) { - _context3.next = 13; - break; - } - - _context3.next = 13; - return actions_insertDefaultBlock(); - - case 13: + case 8: case "end": - return _context3.stop(); + return _context7.stop(); } } - }, _marked3, this); + }, _marked7, this); } /** * Returns an action object used in signalling that the block with the @@ -5593,6 +5888,27 @@ function actions_removeBlocks(clientIds) { function removeBlock(clientId, selectPrevious) { return actions_removeBlocks([clientId], selectPrevious); } +/** + * Returns an action object used in signalling that the inner blocks with the + * specified client ID should be replaced. + * + * @param {string} rootClientId Client ID of the block whose InnerBlocks will re replaced. + * @param {Object[]} blocks Block objects to insert as new InnerBlocks + * @param {?boolean} updateSelection If true block selection will be updated. If false, block selection will not change. Defaults to true. + * + * @return {Object} Action object. + */ + +function actions_replaceInnerBlocks(rootClientId, blocks) { + var updateSelection = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; + return { + type: 'REPLACE_INNER_BLOCKS', + rootClientId: rootClientId, + blocks: blocks, + updateSelection: updateSelection, + time: Date.now() + }; +} /** * Returns an action object used to toggle the block editing mode between * visual and HTML modes. @@ -5678,7 +5994,7 @@ function actions_insertDefaultBlock(attributes, rootClientId, index) { * @return {Object} Action object */ -function actions_updateBlockListSettings(clientId, settings) { +function updateBlockListSettings(clientId, settings) { return { type: 'UPDATE_BLOCK_LIST_SETTINGS', clientId: clientId, @@ -7069,6 +7385,24 @@ function selectors_getSettings(state) { function isLastBlockChangePersistent(state) { return state.blocks.isPersistentChange; } +/** + * Returns true if the most recent block change is be considered ignored, or + * false otherwise. An ignored change is one not to be committed by + * BlockEditorProvider, neither via `onChange` nor `onInput`. + * + * @param {Object} state Block editor state. + * + * @return {boolean} Whether the most recent block change was ignored. + */ + +function __unstableIsLastBlockChangeIgnored(state) { + // TODO: Removal Plan: Changes incurred by RECEIVE_BLOCKS should not be + // ignored if in-fact they result in a change in blocks state. The current + // need to ignore changes not a result of user interaction should be + // accounted for in the refactoring of reusable blocks as occurring within + // their own separate block editor / state (#7119). + return state.blocks.isIgnoredChange; +} /** * Returns the value of a post meta from the editor settings. * @@ -7139,23 +7473,6 @@ function validateBlocksToTemplate(action, store) { return setTemplateValidity(isBlocksValidToTemplate); } } -/** - * Effect handler which will return a default block insertion action if there - * are no other blocks at the root of the editor. This is expected to be used - * in actions which may result in no blocks remaining in the editor (removal, - * replacement, etc). - * - * @param {Object} action Action which had initiated the effect handler. - * @param {Object} store Store instance. - * - * @return {?Object} Default block insert action, if no other blocks exist. - */ - -function ensureDefaultBlock(action, store) { - if (!selectors_getBlockCount(store.getState())) { - return actions_insertDefaultBlock(); - } -} /* harmony default export */ var effects = ({ MERGE_BLOCKS: function MERGE_BLOCKS(action, store) { var dispatch = store.dispatch; @@ -7190,7 +7507,6 @@ function ensureDefaultBlock(action, store) { })].concat(Object(toConsumableArray["a" /* default */])(blocksWithTheSameType.slice(1))))); }, RESET_BLOCKS: [validateBlocksToTemplate], - REPLACE_BLOCKS: [ensureDefaultBlock], MULTI_SELECT: function MULTI_SELECT(action, _ref) { var getState = _ref.getState; var blockCount = selectors_getSelectedBlockCount(getState()); @@ -7297,7 +7613,7 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); var external_this_wp_compose_ = __webpack_require__(6); // EXTERNAL MODULE: external {"this":["wp","hooks"]} -var external_this_wp_hooks_ = __webpack_require__(24); +var external_this_wp_hooks_ = __webpack_require__(26); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js var classCallCheck = __webpack_require__(10); @@ -8743,7 +9059,7 @@ var external_this_wp_isShallowEqual_ = __webpack_require__(42); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(25); +var external_this_wp_dom_ = __webpack_require__(24); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/mover-description.js /** @@ -10280,7 +10596,7 @@ var dom_scroll_into_view_lib = __webpack_require__(67); var dom_scroll_into_view_lib_default = /*#__PURE__*/__webpack_require__.n(dom_scroll_into_view_lib); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(23); +var external_this_wp_url_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js @@ -13132,8 +13448,7 @@ inner_blocks_InnerBlocks = Object(external_this_wp_compose_["compose"])([context }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { var _dispatch = dispatch('core/block-editor'), - replaceBlocks = _dispatch.replaceBlocks, - insertBlocks = _dispatch.insertBlocks, + _replaceInnerBlocks = _dispatch.replaceInnerBlocks, updateBlockListSettings = _dispatch.updateBlockListSettings; var block = ownProps.block, @@ -13142,13 +13457,7 @@ inner_blocks_InnerBlocks = Object(external_this_wp_compose_["compose"])([context templateInsertUpdatesSelection = _ownProps$templateIns === void 0 ? true : _ownProps$templateIns; return { replaceInnerBlocks: function replaceInnerBlocks(blocks) { - var clientIds = Object(external_lodash_["map"])(block.innerBlocks, 'clientId'); - - if (clientIds.length) { - replaceBlocks(clientIds, blocks); - } else { - insertBlocks(blocks, undefined, clientId, templateInsertUpdatesSelection); - } + _replaceInnerBlocks(clientId, blocks, block.innerBlocks.length === 0 && templateInsertUpdatesSelection); }, updateNestedSettings: function updateNestedSettings(settings) { dispatch(updateBlockListSettings(clientId, settings)); @@ -15484,6 +15793,8 @@ var MediaUpload = function MediaUpload() { + + /** * WordPress dependencies */ @@ -15522,21 +15833,19 @@ function (_Component) { var _this$props = this.props, children = _this$props.children, renderSettings = _this$props.renderSettings, - onClose = _this$props.onClose, - onClickOutside = _this$props.onClickOutside, _this$props$position = _this$props.position, position = _this$props$position === void 0 ? 'bottom center' : _this$props$position, _this$props$focusOnMo = _this$props.focusOnMount, - focusOnMount = _this$props$focusOnMo === void 0 ? 'firstElement' : _this$props$focusOnMo; + focusOnMount = _this$props$focusOnMo === void 0 ? 'firstElement' : _this$props$focusOnMo, + popoverProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["children", "renderSettings", "position", "focusOnMount"]); + var isSettingsExpanded = this.state.isSettingsExpanded; var showSettings = !!renderSettings && isSettingsExpanded; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], Object(esm_extends["a" /* default */])({ className: "editor-url-popover block-editor-url-popover", focusOnMount: focusOnMount, - position: position, - onClose: onClose, - onClickOutside: onClickOutside - }, Object(external_this_wp_element_["createElement"])("div", { + position: position + }, popoverProps), Object(external_this_wp_element_["createElement"])("div", { className: "editor-url-popover__row block-editor-url-popover__row" }, children, !!renderSettings && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { className: "editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle", @@ -18856,7 +19165,8 @@ function (_Component) { var _registry$select = registry.select('core/block-editor'), getBlocks = _registry$select.getBlocks, - isLastBlockChangePersistent = _registry$select.isLastBlockChangePersistent; + isLastBlockChangePersistent = _registry$select.isLastBlockChangePersistent, + __unstableIsLastBlockChangeIgnored = _registry$select.__unstableIsLastBlockChangeIgnored; var blocks = getBlocks(); var isPersistent = isLastBlockChangePersistent(); @@ -18867,7 +19177,7 @@ function (_Component) { var newBlocks = getBlocks(); var newIsPersistent = isLastBlockChangePersistent(); - if (newBlocks !== blocks && _this.isSyncingIncomingValue) { + if (newBlocks !== blocks && (_this.isSyncingIncomingValue || __unstableIsLastBlockChangeIgnored())) { _this.isSyncingIncomingValue = false; blocks = newBlocks; isPersistent = newIsPersistent; @@ -18876,9 +19186,14 @@ function (_Component) { if (newBlocks !== blocks || // This happens when a previous input is explicitely marked as persistent. newIsPersistent && !isPersistent) { + // When knowing the blocks value is changing, assign instance + // value to skip reset in subsequent `componentDidUpdate`. + if (newBlocks !== blocks) { + _this.isSyncingOutcomingValue = true; + } + blocks = newBlocks; isPersistent = newIsPersistent; - _this.isSyncingOutcomingValue = true; if (isPersistent) { onChange(blocks); diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 4660a80f49..565c4ffabf 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -1,9 +1,9 @@ -this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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=357)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return o})},11:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(32),r=n(3);function i(e,t){return!t||"object"!==Object(o.a)(t)&&"function"!=typeof t?Object(r.a)(e):t}},111:function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=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}o(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,o=arguments.length;n-1},get:function(e){return o[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),o.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o.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 c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t=null,n=null,o=null,c=function(){e.clientWidth!==n&&d()},l=function(t){window.removeEventListener("resize",c,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),r.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",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",c,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:l,update:d}),"vertical"===(a=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===a.resize&&(e.style.resize="horizontal"),t="content-box"===a.boxSizing?-(parseFloat(a.paddingTop)+parseFloat(a.paddingBottom)):parseFloat(a.borderTopWidth)+parseFloat(a.borderBottomWidth),isNaN(t)&&(t=0),d()}var a;function s(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 o=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),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,o.forEach(function(e){e.node.scrollTop=e.scrollTop}),r&&(document.documentElement.scrollTop=r)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r0?!0===c?o.scrollTop(t,O.top+k.top):!1===c?o.scrollTop(t,O.top+j.top):k.top<0?o.scrollTop(t,O.top+k.top):o.scrollTop(t,O.top+j.top):i||((c=void 0===c||!!c)?o.scrollTop(t,O.top+k.top):o.scrollTop(t,O.top+j.top)),r&&(k.left<0||j.left>0?!0===l?o.scrollLeft(t,O.left+k.left):!1===l?o.scrollLeft(t,O.left+j.left):k.left<0?o.scrollLeft(t,O.left+k.left):o.scrollLeft(t,O.left+j.left):i||((l=void 0===l||!!l)?o.scrollLeft(t,O.left+k.left):o.scrollLeft(t,O.left+j.left)))}},116:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t-1},get:function(e){return o[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),o.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o.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 c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t=null,n=null,o=null,c=function(){e.clientWidth!==n&&d()},a=function(t){window.removeEventListener("resize",c,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),r.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",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",c,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:a,update:d}),"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),d()}var l;function s(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 o=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),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,o.forEach(function(e){e.node.scrollTop=e.scrollTop}),r&&(document.documentElement.scrollTop=r)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r0?!0===c?o.scrollTop(t,O.top+k.top):!1===c?o.scrollTop(t,O.top+j.top):k.top<0?o.scrollTop(t,O.top+k.top):o.scrollTop(t,O.top+j.top):i||((c=void 0===c||!!c)?o.scrollTop(t,O.top+k.top):o.scrollTop(t,O.top+j.top)),r&&(k.left<0||j.left>0?!0===a?o.scrollLeft(t,O.left+k.left):!1===a?o.scrollLeft(t,O.left+j.left):k.left<0?o.scrollLeft(t,O.left+k.left):o.scrollLeft(t,O.left+j.left):i||((a=void 0===a||!!a)?o.scrollLeft(t,O.left+k.left):o.scrollLeft(t,O.left+j.left)))}},116:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;te.length?n:e}),s.value=e.join(d)}else s.value=e.join(n.slice(l,l+s.count));l+=s.count,s.added||(a+=s.count)}}var b=t[c-1];return c>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[c-2].value+=b.value,t.pop()),t}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function c(e){return r?(setTimeout(function(){r(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,a=e.length,s=1,u=l+a,d=[{newPos:-1,components:[]}],b=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=l&&b+1>=a)return c([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*s;n<=s;n+=2){var r=void 0,u=d[n-1],b=d[n+1],f=(b?b.newPos:0)-n;u&&(d[n-1]=void 0);var p=u&&u.newPos+1=l&&f+1>=a)return c(o(i,r.components,t,e,i.useLongestToken));d[n]=r}else d[n]=void 0}var v;s++}if(r)!function e(){setTimeout(function(){if(s>u)return r();f()||e()},0)}();else for(;s<=u;){var p=f();if(p)return p}},pushComponent:function(e,t,n){var o=e[e.length-1];o&&o.added===t&&o.removed===n?e[e.length-1]={count:o.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,o){for(var r=t.length,i=n.length,c=e.newPos,l=c-o,a=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,r.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var o=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],l=t.hunks,a=n.compareLine||function(e,t,n,o){return t===o},s=0,u=n.fuzzFactor||0,d=0,b=0,f=void 0,p=void 0;function h(e,t){for(var n=0;n0?r[0]:" ",c=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!a(t+1,o[t],i,c)&&++s>u)return!1;t++}}return!0}for(var v=0;v0?w[0]:" ",T=w.length>0?w.substr(1):w,B=S.linedelimiters[E];if(" "===I)C++;else if("-"===I)o.splice(C,1),i.splice(C,1);else if("+"===I)o.splice(C,0,T),i.splice(C,0,B),C++;else if("\\"===I){var x=S.lines[E-1]?S.lines[E-1][0]:null;"+"===x?f=!0:"-"===x&&(p=!0)}}}if(f)for(;!o[o.length-1];)o.pop(),i.pop();else p&&(o.push(""),i.push("\n"));for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),o=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],r=[],i=0;function c(){var e={};for(r.push(e);i0?u(l.lines.slice(-a.context)):[],b-=p.length,f-=p.length)}(c=p).push.apply(c,r(o.map(function(e){return(t.added?"+":"-")+e}))),t.added?v+=o.length:h+=o.length}else{if(b)if(o.length<=2*a.context&&e=s.length-2&&o.length<=a.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=o.length||j?j&&y||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),b=0,f=0,p=[]}h+=o.length,v+=o.length}},g=0;ge.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],o=0;o"):r.removed&&t.push(""),t.push(n(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")}}])},e.exports=o()},21:function(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},23:function(e,t){!function(){e.exports=this.wp.url}()},24:function(e,t){!function(){e.exports=this.wp.hooks}()},25:function(e,t){!function(){e.exports=this.wp.dom}()},26:function(e,t,n){e.exports=n(54)},27:function(e,t){!function(){e.exports=this.React}()},28:function(e,t,n){"use strict";var o=n(37);var r=n(38);function i(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var c,l=e[Symbol.iterator]();!(o=(c=l.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==l.return||l.return()}finally{if(r)throw i}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return i})},3:function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},30:function(e,t,n){"use strict";var o,r;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function l(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o3&&void 0!==arguments[3]?arguments[3]:1,r=Object(d.a)(e);return r.splice(t,o),m(r,e.slice(t,t+o),n)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(b.a)({},t,[]);return e.forEach(function(e){var o=e.clientId,r=e.innerBlocks;n[t].push(o),Object.assign(n,O(r,o))}),n}function k(e,t){for(var n={},o=Object(d.a)(e);o.length;){var r=o.shift(),i=r.innerBlocks,c=Object(u.a)(r,["innerBlocks"]);o.push.apply(o,Object(d.a)(i)),n[c.clientId]=t(c)}return n}function j(e){return k(e,function(e){return Object(f.omit)(e,"attributes")})}function y(e){return k(e,function(e){return e.attributes})}function _(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,o=t.attributes,Object(f.isEqual)(Object(f.keys)(n),Object(f.keys)(o)));var n,o}var S=Object(f.flow)(a.combineReducers,function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var o=Object(d.a)(n.clientIds),r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(f.reduce)(t[n],function(n,o){return[].concat(Object(d.a)(n),[o],Object(d.a)(e(t,o)))},[])}(t.order);return Object(s.a)({},t,{byClientId:Object(s.a)({},Object(f.omit)(t.byClientId,o),j(n.blocks)),attributes:Object(s.a)({},Object(f.omit)(t.attributes,o),y(n.blocks)),order:Object(s.a)({},Object(f.omit)(t.order,o),O(n.blocks))})}return e(t,n)}},function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var o=n.id,r=n.updatedId;if(o===r)return t;(t=Object(s.a)({},t)).attributes=Object(f.mapValues)(t.attributes,function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===o?Object(s.a)({},e,{ref:r}):e})}return e(t,n)}},function(e){var t,n=new Set(["RECEIVE_BLOCKS"]);return function(o,r){var i=e(o,r),c="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;return o!==i||c?n.has(r.type)?Object(s.a)({},i,{isPersistentChange:!1}):(i=Object(s.a)({},i,{isPersistentChange:c||!_(r,t)}),t=r,i):Object(s.a)({},i,{isPersistentChange:Object(f.get)(o,["isPersistentChange"],!0)})}})({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return j(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,j(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(f.omit)(t.updates,"attributes");return Object(f.isEmpty)(n)?e:Object(s.a)({},e,Object(b.a)({},t.clientId,Object(s.a)({},e[t.clientId],n)));case"INSERT_BLOCKS":return Object(s.a)({},e,j(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(s.a)({},Object(f.omit)(e,t.clientIds),j(t.blocks)):e;case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return y(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,y(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(s.a)({},e,Object(b.a)({},t.clientId,Object(s.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(f.reduce)(t.attributes,function(n,o,r){var i,c;return o!==n[r]&&((n=(i=e[t.clientId])===(c=n)?Object(s.a)({},i):c)[r]=o),n},e[t.clientId]);return n===e[t.clientId]?e:Object(s.a)({},e,Object(b.a)({},t.clientId,n));case"INSERT_BLOCKS":return Object(s.a)({},e,y(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(s.a)({},Object(f.omit)(e,t.clientIds),y(t.blocks)):e;case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return O(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,Object(f.omit)(O(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,o=void 0===n?"":n,r=e[o]||[],i=O(t.blocks,o),c=t.index,l=void 0===c?r.length:c;return Object(s.a)({},e,i,Object(b.a)({},o,m(r,i[o],l)));case"MOVE_BLOCK_TO_POSITION":var a,u=t.fromRootClientId,p=void 0===u?"":u,h=t.toRootClientId,v=void 0===h?"":h,k=t.clientId,j=t.index,y=void 0===j?e[v].length:j;if(p===v){var _=e[v].indexOf(k);return Object(s.a)({},e,Object(b.a)({},v,g(e[v],_,y)))}return Object(s.a)({},e,(a={},Object(b.a)(a,p,Object(f.without)(e[p],k)),Object(b.a)(a,v,m(e[v],k,y)),a));case"MOVE_BLOCKS_UP":var S=t.clientIds,C=t.rootClientId,E=void 0===C?"":C,w=Object(f.first)(S),I=e[E];if(!I.length||w===Object(f.first)(I))return e;var T=I.indexOf(w);return Object(s.a)({},e,Object(b.a)({},E,g(I,T,T-1,S.length)));case"MOVE_BLOCKS_DOWN":var B=t.clientIds,x=t.rootClientId,L=void 0===x?"":x,N=Object(f.first)(B),M=Object(f.last)(B),R=e[L];if(!R.length||M===Object(f.last)(R))return e;var A=R.indexOf(N);return Object(s.a)({},e,Object(b.a)({},L,g(R,A,A+1,B.length)));case"REPLACE_BLOCKS":var D=t.clientIds;if(!t.blocks)return e;var P=O(t.blocks);return Object(f.flow)([function(e){return Object(f.omit)(e,D)},function(e){return Object(s.a)({},e,Object(f.omit)(P,""))},function(e){return Object(f.mapValues)(e,function(e){return Object(f.reduce)(e,function(e,t){return t===D[0]?[].concat(Object(d.a)(e),Object(d.a)(P[""])):(-1===D.indexOf(t)&&e.push(t),e)},[])})}])(e);case"REMOVE_BLOCKS":return Object(f.flow)([function(e){return Object(f.omit)(e,t.clientIds)},function(e){return Object(f.mapValues)(e,function(e){return f.without.apply(void 0,[e].concat(Object(d.a)(t.clientIds)))})}])(e)}return e}});var C=Object(a.combineReducers)({blocks:S,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return null!==e.start||null!==e.end||e.isMultiSelecting?Object(s.a)({},e,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:Object(s.a)({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?Object(s.a)({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return Object(s.a)({},e,{start:t.start,end:t.end,initialPosition:null});case"SELECT_BLOCK":return t.clientId===e.start&&t.clientId===e.end?e:Object(s.a)({},e,{start:t.clientId,end:t.clientId,initialPosition:t.initialPosition});case"INSERT_BLOCKS":return t.updateSelection?Object(s.a)({},e,{start:t.blocks[0].clientId,end:t.blocks[0].clientId,initialPosition:null,isMultiSelecting:!1}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start)?Object(s.a)({},e,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start))return e;var n=Object(f.last)(t.blocks),o=n?n.clientId:null;return o===e.start&&o===e.end?e:Object(s.a)({},e,{start:o,end:o,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return Object(s.a)({},e,{isEnabled:t.isSelectionEnabled})}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(s.a)({},e,Object(b.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(f.isEqual)(e[n],t.settings)?e:Object(s.a)({},e,Object(b.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(f.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(s.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(s.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce(function(e,n){var o=n.name,r={name:n.name};return Object(i.isReusableBlock)(n)&&(r.ref=n.attributes.ref,o+="/"+n.attributes.ref),Object(s.a)({},e,{insertUsage:Object(s.a)({},e.insertUsage,Object(b.a)({},o,{time:t.time,count:e.insertUsage[o]?e.insertUsage[o].count+1:1,insert:r}))})},e)}return e}}),E=n(70),w=n.n(E),I=n(97),T=n.n(I),B=n(28),x=n(48),L=n(26),N=n.n(L);function M(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function K(e){var t;return N.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,M("core/block-editor","getPreviousBlockClientId",e);case 2:return t=n.sent,n.next=5,z(t,-1);case 5:case"end":return n.stop()}},A,this)}function W(e){var t;return N.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,M("core/block-editor","getNextBlockClientId",e);case 2:return t=n.sent,n.next=5,z(t);case 5:case"end":return n.stop()}},D,this)}function G(){return{type:"START_MULTI_SELECT"}}function q(){return{type:"STOP_MULTI_SELECT"}}function Y(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function $(){return{type:"CLEAR_SELECTED_BLOCK"}}function X(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function J(e,t){return{type:"REPLACE_BLOCKS",clientIds:Object(f.castArray)(e),blocks:Object(f.castArray)(t),time:Date.now()}}function Z(e,t){return J(e,t)}function Q(e){return function(t,n){return{clientIds:Object(f.castArray)(t),type:e,rootClientId:n}}}var ee=Q("MOVE_BLOCKS_DOWN"),te=Q("MOVE_BLOCKS_UP");function ne(e,t,n,o){return{type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:o}}function oe(e,t,n){return re([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function re(e,t,n){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return{type:"INSERT_BLOCKS",blocks:Object(f.castArray)(e),index:t,rootClientId:n,time:Date.now(),updateSelection:o}}function ie(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function ce(){return{type:"HIDE_INSERTION_POINT"}}function le(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function ae(){return{type:"SYNCHRONIZE_TEMPLATE"}}function se(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function ue(e){var t,n=arguments;return N.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(f.castArray)(e),!t){o.next=5;break}return o.next=5,K(e[0]);case 5:return o.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return o.next=9,M("core/block-editor","getBlockCount");case 9:if(0!==o.sent){o.next=13;break}return o.next=13,me();case 13:case"end":return o.stop()}},P,this)}function de(e,t){return ue([e],t)}function be(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function fe(){return{type:"START_TYPING"}}function pe(){return{type:"STOP_TYPING"}}function he(){return{type:"ENTER_FORMATTED_TEXT"}}function ve(){return{type:"EXIT_FORMATTED_TEXT"}}function me(e,t,n){return oe(Object(i.createBlock)(Object(i.getDefaultBlockName)(),e),n,t)}function ge(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Oe(e){return{type:"UPDATE_SETTINGS",settings:e}}function ke(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function je(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}var ye=n(30),_e=3,Se=2,Ce=1,Ee=0,we=[],Ie={},Te=Object(ye.a)(function(){return[]},function(e,t){return Object(f.map)(st(e,t),function(t){return Ne(e,t)})});function Be(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function xe(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}var Le=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];if(!n)return null;var o=e.blocks.attributes[t],r=Object(i.getBlockType)(n.name);return r&&(o=Object(f.reduce)(r.attributes,function(t,n,r){return"meta"===n.source&&(t===o&&(t=Object(s.a)({},t)),t[r]=Rt(e,n.meta)),t},o)),o},function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t],Rt(e)]}),Ne=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:Le(e,t),innerBlocks:Re(e,t)}):null},function(e,t){return[].concat(Object(d.a)(Le.getDependants(e,t)),[Te(e,t)])}),Me=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:Le(e,t)}):null},function(e,t){return[e.blocks.byClientId[t]].concat(Object(d.a)(Le.getDependants(e,t)))}),Re=Object(ye.a)(function(e,t){return Object(f.map)(st(e,t),function(t){return Ne(e,t)})},function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}),Ae=function e(t,n){return Object(f.flatMap)(n,function(n){var o=st(t,n);return[].concat(Object(d.a)(o),Object(d.a)(e(t,o)))})},De=Object(ye.a)(function(e){var t=st(e);return[].concat(Object(d.a)(t),Object(d.a)(Ae(e,t)))},function(e){return[e.blocks.order]}),Pe=Object(ye.a)(function(e,t){var n=De(e);return t?Object(f.reduce)(n,function(n,o){return e.blocks.byClientId[o].name===t?n+1:n},0):n.length},function(e){return[e.blocks.order,e.blocks.byClientId]}),Fe=Object(ye.a)(function(e,t){return Object(f.map)(Object(f.castArray)(t),function(t){return Ne(e,t)})},function(e){return[Rt(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]});function He(e,t){return st(e,t).length}function Ue(e){return e.blockSelection.start}function Ve(e){return e.blockSelection.end}function ze(e){var t=Qe(e).length;return t||(e.blockSelection.start?1:0)}function Ke(e){var t=e.blockSelection,n=t.start,o=t.end;return!!n&&n===o}function We(e){var t=e.blockSelection,n=t.start,o=t.end;return n&&n===o&&e.blocks.byClientId[n]?n:null}function Ge(e){var t=We(e);return t?Ne(e,t):null}var qe=Object(ye.a)(function(e,t){var n=e.blocks.order;for(var o in n)if(Object(f.includes)(n[o],t))return o;return null},function(e){return[e.blocks.order]}),Ye=Object(ye.a)(function(e,t){for(var n=t,o=t;n;)n=qe(e,o=n);return o},function(e){return[e.blocks.order]});function $e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=We(e)),void 0===t&&(t=n<0?tt(e):nt(e)),!t)return null;var o=qe(e,t);if(null===o)return null;var r=e.blocks.order[o],i=r.indexOf(t)+1*n;return i<0?null:i===r.length?null:r[i]}function Xe(e,t){return $e(e,t,-1)}function Je(e,t){return $e(e,t,1)}function Ze(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?e.blockSelection.initialPosition:null}var Qe=Object(ye.a)(function(e){var t=e.blockSelection,n=t.start,o=t.end;if(n===o)return[];var r=qe(e,n);if(null===r)return[];var i=st(e,r),c=i.indexOf(n),l=i.indexOf(o);return c>l?i.slice(l,c+1):i.slice(c,l+1)},function(e){return[e.blocks.order,e.blockSelection.start,e.blockSelection.end]}),et=Object(ye.a)(function(e){var t=Qe(e);return t.length?t.map(function(t){return Ne(e,t)}):we},function(e){return[].concat(Object(d.a)(Qe.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes,Rt(e)])});function tt(e){return Object(f.first)(Qe(e))||null}function nt(e){return Object(f.last)(Qe(e))||null}var ot=Object(ye.a)(function(e,t,n){for(var o=n;t!==o&&o;)o=qe(e,o);return t===o},function(e){return[e.blocks.order]});function rt(e,t){return tt(e)===t}function it(e,t){return-1!==Qe(e).indexOf(t)}var ct=Object(ye.a)(function(e,t){for(var n=t,o=!1;n&&!o;)o=it(e,n=qe(e,n));return o},function(e){return[e.blocks.order,e.blockSelection.start,e.blockSelection.end]});function lt(e){var t=e.blockSelection,n=t.start;return n===t.end?null:n||null}function at(e){var t=e.blockSelection,n=t.start,o=t.end;return n===o?null:o||null}function st(e,t){return e.blocks.order[t||""]||we}function ut(e,t,n){return st(e,n).indexOf(t)}function dt(e,t){var n=e.blockSelection,o=n.start;return o===n.end&&o===t}function bt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(f.some)(st(e,t),function(t){return dt(e,t)||it(e,t)||n&&bt(e,t,n)})}function ft(e,t){if(!t)return!1;var n=Qe(e),o=n.indexOf(t);return o>-1&&o2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(f.isBoolean)(e)?e:Object(f.isArray)(e)?Object(f.includes)(e,t):n},r=Object(i.getBlockType)(t);if(!r)return!1;if(!o(Nt(e).allowedBlockTypes,t,!0))return!1;if(!!St(e,n))return!1;var c=Lt(e,n),l=o(Object(f.get)(c,["allowedBlocks"]),t),a=o(r.parent,Be(e,n));return null!==l&&null!==a?l||a:null!==l?l:null===a||a},Et=Object(ye.a)(Ct,function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]});function wt(e,t){return e.preferences.insertUsage[t]||null}var It=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Ct(e,t.name,n)},Tt=function(e,t,n){if(!Ct(e,"core/block",n))return!1;var o=Be(e,t.clientId);return!!o&&(!!Object(i.getBlockType)(o)&&(!!Ct(e,o,n)&&!ot(e,t.clientId,n)))},Bt=Object(ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?_e:t>0?Se:"common"===e?Ce:Ee},o=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},r=Object(i.getBlockTypes)().filter(function(n){return It(e,n,t)}).map(function(t){var r=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(f.some)(Fe(e,De(e)),{name:t.name}));var l=Object(f.isArray)(t.parent),a=wt(e,r)||{},s=a.time,u=a.count,d=void 0===u?0:u;return{id:r,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,l),frecency:o(s,d),hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(t.name)}}),c=At(e).filter(function(n){return Tt(e,n,t)}).map(function(t){var r="core/block/".concat(t.id),c=Be(e,t.clientId),l=Object(i.getBlockType)(c),a=wt(e,r)||{},s=a.time,u=a.count,d=void 0===u?0:u,b=n("reusable",d,!1),f=o(s,d);return{id:r,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:l.icon,category:"reusable",keywords:[],isDisabled:!1,utility:b,frecency:f}});return Object(f.orderBy)([].concat(Object(d.a)(r),Object(d.a)(c)),["utility","frecency"],["desc","desc"])},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,At(e),Object(i.getBlockTypes)()]}),xt=Object(ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!Object(f.some)(Object(i.getBlockTypes)(),function(n){return It(e,n,t)})||Object(f.some)(At(e),function(n){return Tt(e,n,t)})},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,At(e),Object(i.getBlockTypes)()]});function Lt(e,t){return e.blockListSettings[t]}function Nt(e){return e.settings}function Mt(e){return e.blocks.isPersistentChange}function Rt(e,t){return void 0===t?Object(f.get)(e,["settings","__experimentalMetaSource","value"],Ie):Object(f.get)(e,["settings","__experimentalMetaSource","value",t])}function At(e){return Object(f.get)(e,["settings","__experimentalReusableBlocks"],we)}var Dt={MERGE_BLOCKS:function(e,t){var n=t.dispatch,o=t.getState(),r=Object(B.a)(e.blocks,2),c=r[0],l=r[1],a=Ne(o,c),u=Object(i.getBlockType)(a.name);if(u.merge){var b=Ne(o,l),f=a.name===b.name?[b]:Object(i.switchToBlockType)(b,a.name);if(f&&f.length){var p=u.merge(a.attributes,f[0].attributes);n(z(a.clientId,-1)),n(J([a.clientId,b.clientId],[Object(s.a)({},a,{attributes:Object(s.a)({},a.attributes,p)})].concat(Object(d.a)(f.slice(1)))))}}else n(z(a.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),o=_t(n),r=St(n),c=!o||"all"!==r||Object(i.doBlocksMatchTemplate)(e.blocks,o);if(c!==yt(n))return le(c)}],REPLACE_BLOCKS:[function(e,t){if(!He(t.getState()))return me()}],MULTI_SELECT:function(e,t){var n=ze((0,t.getState)());Object(x.speak)(Object(p.sprintf)(Object(p._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),o=Re(n),r=_t(n);return F(Object(i.synchronizeBlocksWithTemplate)(o,r))}};var Pt=function(e){var t,n=[w()(Dt),T.a],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map(function(e){return e(r)}),o=f.flowRight.apply(void 0,Object(d.a)(t))(e.dispatch),e.dispatch=o,e},Ft=Object(a.registerStore)("core/block-editor",{reducer:C,selectors:r,actions:o,controls:R,persist:["preferences"]});Pt(Ft);var Ht=n(19),Ut=n(0),Vt=n(16),zt=n.n(Vt),Kt=n(6),Wt=n(24),Gt=n(10),qt=n(9),Yt=n(11),$t=n(12),Xt=n(13),Jt=n(3),Zt=n(4),Qt=Object(Ut.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:f.noop,clientId:null}),en=Qt.Consumer,tn=Qt.Provider,nn=function(e){return Object(Kt.createHigherOrderComponent)(function(t){return function(n){return Object(Ut.createElement)(en,null,function(o){return Object(Ut.createElement)(t,Object(Ht.a)({},n,e(o,n)))})}},"withBlockEditContext")},on=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(Ut.createElement)(en,null,function(n){return n.isSelected&&Object(Ut.createElement)(e,t)})}},"ifBlockEditSelected"),rn=[];var cn=Object(Kt.compose)([nn(function(e){return{blockName:e.name}}),function(e){return function(t){function n(){var e;return Object(Gt.a)(this,n),(e=Object(Yt.a)(this,Object($t.a)(n).call(this))).state={completers:rn},e.saveParentRef=e.saveParentRef.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(n,t),Object(qt.a)(n,[{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,t=e.blockName,n=e.completers,o=n;Object(Wt.hasFilter)("editor.Autocomplete.completers")&&(n=Object(Wt.applyFilters)("editor.Autocomplete.completers",n&&n.map(f.clone),t)),this.setState({lastFilteredCompletersProp:o,completers:n||rn})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=Object(s.a)({},this.props,{completers:t});return Object(Ut.createElement)("div",{onFocus:this.onFocus,ref:this.saveParentRef},Object(Ut.createElement)(e,Object(Ht.a)({onFocus:this.onFocus},n)))}}]),n}(Ut.Component)}])(Zt.Autocomplete),ln=[{icon:"editor-alignleft",title:Object(p.__)("Align text left"),align:"left"},{icon:"editor-aligncenter",title:Object(p.__)("Align text center"),align:"center"},{icon:"editor-alignright",title:Object(p.__)("Align text right"),align:"right"}];var an=Object(Kt.compose)(nn(function(e){return{clientId:e.clientId}}),Object(l.withViewportMatch)({isLargeViewport:"medium"}),Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isLargeViewport,r=t.isCollapsed,i=e("core/block-editor"),c=i.getBlockRootClientId,l=i.getSettings;return{isCollapsed:r||!o||!l().hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,o=e.onChange,r=e.alignmentControls,i=void 0===r?ln:r;function c(e){return function(){return o(n===e?void 0:e)}}var l=Object(f.find)(i,function(e){return e.align===n});return Object(Ut.createElement)(Zt.Toolbar,{isCollapsed:t,icon:l?l.icon:"editor-alignleft",label:Object(p.__)("Change Text Alignment"),controls:i.map(function(e){var t=e.align,o=n===t;return Object(s.a)({},e,{isActive:o,onClick:c(t)})})})}),sn={left:{icon:"align-left",title:Object(p.__)("Align left")},center:{icon:"align-center",title:Object(p.__)("Align center")},right:{icon:"align-right",title:Object(p.__)("Align right")},wide:{icon:"align-wide",title:Object(p.__)("Wide width")},full:{icon:"align-full-width",title:Object(p.__)("Full width")}},un=["left","center","right","wide","full"],dn=["wide","full"];var bn=Object(Kt.compose)(nn(function(e){return{clientId:e.clientId}}),Object(l.withViewportMatch)({isLargeViewport:"medium"}),Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isLargeViewport,r=t.isCollapsed,i=e("core/block-editor"),c=i.getBlockRootClientId,l=(0,i.getSettings)();return{wideControlsEnabled:l.alignWide,isCollapsed:r||!o||!l.hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,o=e.onChange,r=e.controls,i=void 0===r?un:r,c=e.wideControlsEnabled,l=void 0!==c&&c?i:i.filter(function(e){return-1===dn.indexOf(e)}),a=sn[n];return Object(Ut.createElement)(Zt.Toolbar,{isCollapsed:t,icon:a?a.icon:"align-left",label:Object(p.__)("Change Alignment"),controls:l.map(function(e){return Object(s.a)({},sn[e],{isActive:n===e,onClick:(t=e,function(){return o(n===t?void 0:t)})});var t})})}),fn=Object(Zt.createSlotFill)("BlockControls"),pn=fn.Fill,hn=fn.Slot,vn=on(function(e){var t=e.controls,n=e.children;return Object(Ut.createElement)(pn,null,Object(Ut.createElement)(Zt.Toolbar,{controls:t}),n)});vn.Slot=hn;var mn=vn,gn=Object(Zt.withFilters)("editor.BlockEdit")(function(e){var t=e.attributes,n=void 0===t?{}:t,o=e.name,r=Object(i.getBlockType)(o);if(!r)return null;var c=Object(i.hasBlockSupport)(r,"className",!0)?Object(i.getBlockDefaultClassName)(o):null,l=zt()(c,n.className),a=r.edit||r.save;return Object(Ut.createElement)(a,Object(Ht.a)({},e,{className:l}))}),On=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).setFocusedElement=n.setFocusedElement.bind(Object(Jt.a)(Object(Jt.a)(n))),n.state={focusedElement:null,setFocusedElement:n.setFocusedElement},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"setFocusedElement",value:function(e){this.setState(function(t){return t.focusedElement===e?null:{focusedElement:e}})}},{key:"render",value:function(){return Object(Ut.createElement)(tn,{value:this.state},Object(Ut.createElement)(gn,this.props))}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.clientId;return{name:e.name,isSelected:e.isSelected,clientId:t}}}]),t}(Ut.Component),kn=Object(Zt.createSlotFill)("BlockFormatControls"),jn=kn.Fill,yn=kn.Slot,_n=on(jn);_n.Slot=yn;var Sn=_n,Cn=n(18);function En(e){var t=e.icon,n=e.showColors,o=void 0!==n&&n,r=e.className;"block-default"===Object(f.get)(t,["src"])&&(t={src:Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(Ut.createElement)(Zt.Icon,{icon:t&&t.src?t.src:t}),c=o?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(Ut.createElement)("span",{style:c,className:zt()("editor-block-icon block-editor-block-icon",r,{"has-colors":o})},i)}function wn(e){var t=e.blocks,n=e.selectedBlockClientId,o=e.selectBlock,r=e.showNestedBlocks;return Object(Ut.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(f.map)(t,function(e){var t=Object(i.getBlockType)(e.name),c=e.clientId===n;return Object(Ut.createElement)("li",{key:e.clientId},Object(Ut.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(Ut.createElement)(Zt.Button,{className:zt()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":c}),onClick:function(){return o(e.clientId)}},Object(Ut.createElement)(En,{icon:t.icon,showColors:!0}),t.title,c&&Object(Ut.createElement)("span",{className:"screen-reader-text"},Object(p.__)("(selected block)")))),r&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(Ut.createElement)(wn,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:o,showNestedBlocks:!0}))}))}var In=Object(Kt.compose)(Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getBlockHierarchyRootClientId,r=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?r(o(c)):null,selectedBlockClientId:c}}),Object(a.withDispatch)(function(e,t){var n=t.onSelect,o=void 0===n?f.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),o(t)}}}))(function(e){var t=e.rootBlock,n=e.rootBlocks,o=e.selectedBlockClientId,r=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==o||t.innerBlocks&&0!==t.innerBlocks.length);return Object(Ut.createElement)(Zt.NavigableMenu,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(Ut.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},Object(p.__)("Block Navigation")),i&&Object(Ut.createElement)(wn,{blocks:[t],selectedBlockClientId:o,selectBlock:r,showNestedBlocks:!0}),!i&&Object(Ut.createElement)(wn,{blocks:n,selectedBlockClientId:o,selectBlock:r}))}),Tn=Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(Ut.createElement)(Zt.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var Bn=Object(a.withSelect)(function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}})(function(e){var t=e.hasBlocks,n=e.isDisabled,o=t&&!n;return Object(Ut.createElement)(Zt.Dropdown,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(Ut.createElement)(Ut.Fragment,null,o&&Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Cn.rawShortcut.access("o"),n)}),Object(Ut.createElement)(Zt.IconButton,{icon:Tn,"aria-expanded":t,onClick:o?n:void 0,label:Object(p.__)("Block Navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Cn.displayShortcut.access("o"),"aria-disabled":!o}))},renderContent:function(e){var t=e.onClose;return Object(Ut.createElement)(In,{onSelect:t})}})}),xn=Object(Kt.createHigherOrderComponent)(Object(a.withSelect)(function(e,t){var n=e("core/block-editor").getSettings(),o=void 0===t.colors?n.colors:t.colors,r=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:o,disableCustomColors:r,hasColorsToChoose:!Object(f.isEmpty)(o)||!r}}),"withColorContext"),Ln=xn(Zt.ColorPalette),Nn=n(45),Mn=n.n(Nn),Rn=function(e,t,n){if(t){var o=Object(f.find)(e,{slug:t});if(o)return o}return{color:n}},An=function(e,t){return Object(f.find)(e,{color:t})};function Dn(e,t){if(e&&t)return"has-".concat(Object(f.kebabCase)(t),"-").concat(e)}var Pn=[],Fn=function(e){return Object(Kt.createHigherOrderComponent)(function(t){return function(n){return Object(Ut.createElement)(t,Object(Ht.a)({},n,{colors:e}))}},"withCustomColorPalette")},Hn=function(){return Object(a.withSelect)(function(e){var t=e("core/block-editor").getSettings();return{colors:Object(f.get)(t,["colors"],Pn)}})};function Un(e,t){var n=Object(f.reduce)(e,function(e,t){return Object(s.a)({},e,Object(f.isString)(t)?Object(b.a)({},t,Object(f.kebabCase)(t)):t)},{});return Object(Kt.compose)([t,function(e){return function(t){function o(e){var t;return Object(Gt.a)(this,o),(t=Object(Yt.a)(this,Object($t.a)(o).call(this,e))).setters=t.createSetters(),t.colorUtils={getMostReadableColor:t.getMostReadableColor.bind(Object(Jt.a)(Object(Jt.a)(t)))},t.state={},t}return Object(Xt.a)(o,t),Object(qt.a)(o,[{key:"getMostReadableColor",value:function(e){return function(e,t){return Mn.a.mostReadable(t,Object(f.map)(e,"color")).toHexString()}(this.props.colors,e)}},{key:"createSetters",value:function(){var e=this;return Object(f.reduce)(n,function(t,n,o){var r=Object(f.upperFirst)(o),i="custom".concat(r);return t["set".concat(r)]=e.createSetColor(o,i),t},{})}},{key:"createSetColor",value:function(e,t){var n=this;return function(o){var r,i=An(n.props.colors,o);n.props.setAttributes((r={},Object(b.a)(r,e,i&&i.slug?i.slug:void 0),Object(b.a)(r,t,i&&i.slug?void 0:o),r))}}},{key:"render",value:function(){return Object(Ut.createElement)(e,Object(s.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var o=e.attributes,r=e.colors;return Object(f.reduce)(n,function(e,n,i){var c=Rn(r,o[i],o["custom".concat(Object(f.upperFirst)(i))]),l=t[i];return Object(f.get)(l,["color"])===c.color&&l?e[i]=l:e[i]=Object(s.a)({},c,{class:Dn(n,c.slug)}),e},{})}}]),o}(Ut.Component)}])}function Vn(e){return function(){for(var t=Fn(e),n=arguments.length,o=new Array(n),r=0;r=24?"large":"small"}))return null;var s=l.getBrightness()1?function(e,t,n,o,r){var i=t+1;if(r<0&&n)return Object(p.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return Object(p.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return Object(p.sprintf)(Object(p._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(r>0&&!o)return Object(p.sprintf)(Object(p._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,o,r,i):o&&r?Object(p.sprintf)(Object(p.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!r?Object(p.sprintf)(Object(p.__)("Move %1$s block from position %2$d down to position %3$d"),t,c,c+1):i>0&&r?Object(p.sprintf)(Object(p.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!o?Object(p.sprintf)(Object(p.__)("Move %1$s block from position %2$d up to position %3$d"),t,c,c-1):i<0&&o?Object(p.sprintf)(Object(p.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var Qn=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),eo=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),to=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),no=Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlockIndex,i=(0,o.getBlockRootClientId)(n);return{index:r(n,i),rootClientId:i}})(function(e){var t=e.children,n=e.clientId,o=e.rootClientId,r=e.blockElementId,i=e.index,c=e.onDragStart,l=e.onDragEnd,a={type:"block",srcIndex:i,srcRootClientId:o,srcClientId:n};return Object(Ut.createElement)(Zt.Draggable,{elementId:r,transferData:a,onDragStart:c,onDragEnd:l},function(e){var n=e.onDraggableStart,o=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:o})})}),oo=function(e){var t=e.isVisible,n=e.className,o=e.icon,r=e.onDragStart,i=e.onDragEnd,c=e.blockElementId,l=e.clientId;if(!t)return null;var a=zt()("editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle",n);return Object(Ut.createElement)(no,{clientId:l,blockElementId:c,onDragStart:r,onDragEnd:i},function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(Ut.createElement)("div",{className:a,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},o)})},ro=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onBlur=e.onBlur.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,o=e.isFirst,r=e.isLast,i=e.isDraggable,c=e.onDragStart,l=e.onDragEnd,a=e.clientIds,s=e.blockElementId,u=e.blockType,d=e.firstIndex,b=e.isLocked,h=e.instanceId,v=e.isHidden,m=this.state.isFocused,g=Object(f.castArray)(a).length;return b||o&&r?null:Object(Ut.createElement)("div",{className:zt()("editor-block-mover block-editor-block-mover",{"is-visible":m||!v})},Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:o?null:t,icon:Qn,label:Object(p.__)("Move up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(h),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(Ut.createElement)(oo,{className:"editor-block-mover__control block-editor-block-mover__control",icon:to,clientId:a,blockElementId:s,isVisible:i,onDragStart:c,onDragEnd:l}),Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:r?null:n,icon:eo,label:Object(p.__)("Move down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(h),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(Ut.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},Zn(g,u&&u.title,d,o,r,-1)),Object(Ut.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},Zn(g,u&&u.title,d,o,r,1)))}}]),t}(Ut.Component),io=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlock,c=o.getBlockIndex,l=o.getTemplateLock,a=o.getBlockRootClientId,s=Object(f.first)(Object(f.castArray)(n)),u=r(s),d=a(Object(f.first)(Object(f.castArray)(n)));return{firstIndex:c(s,d),blockType:u?Object(i.getBlockType)(u.name):null,isLocked:"all"===l(d),rootClientId:d}}),Object(a.withDispatch)(function(e,t){var n=t.clientIds,o=t.rootClientId,r=e("core/block-editor"),i=r.moveBlocksDown,c=r.moveBlocksUp;return{onMoveDown:Object(f.partial)(i,n,o),onMoveUp:Object(f.partial)(c,n,o)}}),Kt.withInstanceId)(ro);var co=Object(a.withSelect)(function(e){var t=e("core").canUser;return{hasUploadPermissions:Object(f.defaultTo)(t("create","media"),!0)}})(function(e){var t=e.hasUploadPermissions,n=e.fallback,o=void 0===n?null:n,r=e.children;return t?r:o}),lo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onHTMLDrop=e.onHTMLDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onDrop=e.onDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getInsertIndex",value:function(e){var t=this.props,n=t.clientId,o=t.rootClientId,r=t.getBlockIndex;if(void 0!==n){var i=r(n,o);return"top"===e.y?i:i+1}}},{key:"onFilesDrop",value:function(e,t){var n=Object(i.findTransform)(Object(i.getBlockTransforms)("from"),function(t){return"files"===t.type&&t.isMatch(e)});if(n){var o=this.getInsertIndex(t),r=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(r,o)}}},{key:"onHTMLDrop",value:function(e,t){var n=Object(i.pasteHandler)({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,o=n.rootClientId,r=n.clientId,i=n.getClientIdsOfDescendants,c=n.getBlockIndex,l=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(e),a=l.srcRootClientId,s=l.srcClientId,u=l.srcIndex,d=l.type;if("block"===d&&s!==r&&!function(e,t){return i([e]).some(function(e){return e===t})}(s,r||o)){var b,f,p=r?c(r,o):void 0,h=this.getInsertIndex(t),v=p&&u0&&Object(Ut.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},Ut.Children.map(n,function(e,t){return Object(Ut.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)}))),r&&Object(Ut.createElement)(Zt.Dropdown,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(Ut.createElement)(Zt.IconButton,{icon:"ellipsis",label:Object(p.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(Ut.createElement)(Zt.MenuGroup,null,r.map(function(e,t){return Object(Ut.createElement)(Zt.MenuItem,{onClick:e.onClick,key:t},e.title)}))}}))},uo=n(207),bo=function(e){var t=e.title,n=e.rawContent,o=e.renderedContent,r=e.action,i=e.actionText,c=e.className;return Object(Ut.createElement)("div",{className:c},Object(Ut.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(Ut.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(Ut.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(Ut.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},o)),Object(Ut.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(Ut.createElement)(Zt.Button,{isLarge:!0,tabIndex:"0",onClick:r},i)))},fo=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getDifference",value:function(e,t){return Object(uo.diffChars)(e,t).map(function(e,t){var n=zt()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(Ut.createElement)("span",{key:t,className:n},e.value)})}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(f.castArray)(e),n=t.map(function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)}),o=t.map(function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)});return{rawContent:n.join(""),renderedContent:o}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,o=e.onConvert,r=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),l=this.getConvertedContent(r(t)),a=this.getDifference(c.rawContent,l.rawContent);return Object(Ut.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(Ut.createElement)(bo,{title:Object(p.__)("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:Object(p.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(Ut.createElement)(bo,{title:Object(p.__)("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:o,actionText:i,rawContent:a,renderedContent:l.renderedContent}))}}]),t}(Ut.Component),po=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCompareClose=n.onCompareClose.bind(Object(Jt.a)(Object(Jt.a)(n))),n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,o=e.convertToClassic,r=e.attemptBlockRecovery,c=e.block,l=!!Object(i.getBlockType)("core/html"),a=this.state.compare,s=[{title:Object(p.__)("Convert to Classic Block"),onClick:o},{title:Object(p.__)("Attempt Block Recovery"),onClick:r}];return a?Object(Ut.createElement)(Zt.Modal,{title:Object(p.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(Ut.createElement)(fo,{block:c,onKeep:t,onConvert:n,convertor:ho,convertButtonText:Object(p.__)("Convert to Blocks")})):Object(Ut.createElement)(so,{actions:[Object(Ut.createElement)(Zt.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!l},Object(p._x)("Resolve","imperative verb")),l&&Object(Ut.createElement)(Zt.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(p.__)("Convert to HTML"))],secondaryActions:s},Object(p.__)("This block contains unexpected or invalid content."))}}]),t}(Ut.Component),ho=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},vo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}}),Object(a.withDispatch)(function(e,t){var n=t.block,o=e("core/block-editor").replaceBlock;return{convertToClassic:function(){o(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){o(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){o(n.clientId,ho(n))},attemptBlockRecovery:function(){var e,t,r,c;o(n.clientId,(t=(e=n).name,r=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,r,c)))}}})])(po),mo=Object(Ut.createElement)(so,null,Object(p.__)("This block has encountered an error and cannot be previewed.")),go=function(){return mo},Oo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(Ut.Component),ko=n(61),jo=n.n(ko),yo=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onBlur=n.onBlur.bind(Object(Jt.a)(Object(Jt.a)(n))),n.state={html:e.block.isValid?Object(i.getBlockContent)(e.block):e.block.originalContent},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(e){Object(f.isEqual)(this.props.block.attributes,e.block.attributes)||this.setState({html:Object(i.getBlockContent)(this.props.block)})}},{key:"onBlur",value:function(){var e=this.state.html,t=Object(i.getBlockType)(this.props.block.name),n=Object(i.getBlockAttributes)(t,e,this.props.block.attributes),o=e||Object(i.getSaveContent)(t,n),r=!e||Object(i.isValidBlockContent)(t,n,o);this.props.onChange(this.props.clientId,n,o,r),e||this.setState({html:o})}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return Object(Ut.createElement)(jo.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(Ut.Component),_o=Object(Kt.compose)([Object(a.withSelect)(function(e,t){return{block:e("core/block-editor").getBlock(t.clientId)}}),Object(a.withDispatch)(function(e){return{onChange:function(t,n,o,r){e("core/block-editor").updateBlock(t,{attributes:n,originalContent:o,isValid:r})}}})])(yo);var So=Object(a.withSelect)(function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}})(function(e){var t=e.name;if(!t)return null;var n=Object(i.getBlockType)(t);return n?n.title:null}),Co=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onBlur=e.onBlur.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(Ut.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(Ut.createElement)(Zt.Toolbar,null,n&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(So,{clientId:n}),Object(Ut.createElement)("span",{className:"editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow"})),Object(Ut.createElement)(So,{clientId:t})))}}]),t}(Ut.Component),Eo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){return{rootClientId:(0,e("core/block-editor").getBlockRootClientId)(t.clientId)}})])(Co),wo=window,Io=wo.Node,To=wo.getSelection,Bo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(Jt.a)(Object(Jt.a)(e))),e.focusSelection=e.focusSelection.bind(Object(Jt.a)(Object(Jt.a)(e))),e.switchOnKeyDown=Object(f.cond)([[Object(f.matchesProperty)(["keyCode"],Cn.ESCAPE),e.focusSelection]]),e.toolbar=Object(Ut.createRef)(),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"focusToolbar",value:function(){var e=Jn.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=To();if(e){var t=e.focusNode;t.nodeType!==Io.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(u.a)(e,["children"]);return Object(Ut.createElement)(Zt.NavigableMenu,Object(Ht.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(f.omit)(n,["focusOnMount"])),Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(Ut.Component);var xo=function(e){var t=e.focusOnMount;return Object(Ut.createElement)(Bo,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":Object(p.__)("Block tools")},Object(Ut.createElement)(tc,null))};var Lo=Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getMultiSelectedBlockClientIds,i=o.isMultiSelecting,c=o.getBlockIndex,l=o.getBlockCount,a=r(),s=c(Object(f.first)(a),n),u=c(Object(f.last)(a),n);return{multiSelectedBlockClientIds:a,isSelecting:i(),isFirst:0===s,isLast:u+1===l()}})(function(e){var t=e.multiSelectedBlockClientIds,n=e.clientId,o=e.isSelecting,r=e.isFirst,i=e.isLast;return o?null:Object(Ut.createElement)(io,{key:"mover",clientId:n,clientIds:t,isFirst:r,isLast:i})}),No=n(67),Mo=n.n(No),Ro=n(23);function Ao(e){var t=e.name,n=e.attributes,o=Object(i.createBlock)(t,n);return Object(Ut.createElement)(Zt.Disabled,{className:"editor-block-preview__content block-editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(Ut.createElement)(On,{name:t,focus:!1,attributes:o.attributes,setAttributes:f.noop}))}var Do=function(e){return Object(Ut.createElement)("div",{className:"editor-block-preview block-editor-block-preview"},Object(Ut.createElement)("div",{className:"editor-block-preview__title block-editor-block-preview__title"},Object(p.__)("Preview")),Object(Ut.createElement)(Ao,e))};var Po=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,o=e.onClick,r=e.isDisabled,i=e.title,c=e.className,l=Object(u.a)(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{},s=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(Ut.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(Ut.createElement)("button",Object(Ht.a)({className:zt()("editor-block-types-list__item block-editor-block-types-list__item",c,{"editor-block-types-list__item-has-children block-editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),o()},disabled:r,"aria-label":i},l),Object(Ut.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:a},Object(Ut.createElement)(En,{icon:t,showColors:!0}),n&&Object(Ut.createElement)("span",{className:"editor-block-types-list__item-icon-stack block-editor-block-types-list__item-icon-stack",style:s})),Object(Ut.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},i)))};var Fo=function(e){var t=e.items,n=e.onSelect,o=e.onHover,r=void 0===o?function(){}:o,c=e.children;return Object(Ut.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map(function(e){return Object(Ut.createElement)(Po,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,onClick:function(){n(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},isDisabled:e.isDisabled,title:e.title})}),c)};var Ho=Object(Kt.compose)(Object(Kt.ifCondition)(function(e){var t=e.items;return t&&t.length>0}),Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:o&&o.title,rootBlockIcon:o&&o.icon}}))(function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,o=e.items,r=Object(u.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(Ut.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(Ut.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(Ut.createElement)(En,{icon:t,showColors:!0}),n&&Object(Ut.createElement)("h2",null,n)),Object(Ut.createElement)(Fo,Object(Ht.a)({items:o},r)))}),Uo=function(e){return e.stopPropagation()},Vo=function(e){return e=(e=(e=(e=Object(f.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},zo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onHover=e.onHover.bind(Object(Jt.a)(Object(Jt.a)(e))),e.panels={},e.inserterResults=Object(Ut.createRef)(),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,o=t.hideInsertionPoint;e?n():o()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(f.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(d.a)(t.state.openPanels),[e])}),t.props.setTimeout(function(){Mo()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})}))}}},{key:"filterOpenPanels",value:function(e,t,n,o){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var r=[];return o.length>0&&r.push("reusable"),n.length>0&&(r=r.concat(Object.keys(t))),r}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,o=t.items,r=t.rootChildBlocks,c=function(e,t){var n=Vo(t),o=function(e){return-1!==Vo(e).indexOf(n)},r=Object(i.getCategories)();return e.filter(function(e){var t=Object(f.find)(r,{slug:e.category});return o(e.title)||Object(f.some)(e.keywords,o)||t&&o(t.title)})}(o,e),l=Object(f.filter)(c,function(e){var t=e.name;return Object(f.includes)(r,t)}),a=[];if(!e){var s=this.props.maxSuggestedItems||9;a=Object(f.filter)(o,function(e){return e.utility>0}).slice(0,s)}var u=Object(f.filter)(c,{category:"reusable"}),d=function(e){return Object(f.findIndex)(Object(i.getCategories)(),function(t){return t.slug===e.category})},b=Object(f.flow)(function(e){return Object(f.filter)(e,function(e){return"reusable"!==e.category})},function(e){return Object(f.sortBy)(e,d)},function(e){return Object(f.groupBy)(e,"category")})(c);this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:a,reusableItems:u,itemsPerCategory:b,openPanels:this.filterOpenPanels(e,b,c,u)});var h=Object.keys(b).reduce(function(e,t){return e+b[t].length},0);n(Object(p.sprintf)(Object(p._n)("%d result found.","%d results found.",h),h))}},{key:"onKeyDown",value:function(e){Object(f.includes)([Cn.LEFT,Cn.DOWN,Cn.RIGHT,Cn.UP,Cn.BACKSPACE,Cn.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.onSelect,r=t.rootClientId,c=this.state,l=c.childItems,a=c.hoveredItem,s=c.itemsPerCategory,u=c.openPanels,d=c.reusableItems,b=c.suggestedItems,h=function(e){return-1!==u.indexOf(e)};return Object(Ut.createElement)("div",{className:"editor-inserter__menu block-editor-inserter__menu",onKeyPress:Uo,onKeyDown:this.onKeyDown},Object(Ut.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(p.__)("Search for a block")),Object(Ut.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:Object(p.__)("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(Ut.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(p.__)("Available block types")},Object(Ut.createElement)(Ho,{rootClientId:r,items:l,onSelect:o,onHover:this.onHover}),!!b.length&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p._x)("Most Used","blocks"),opened:h("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(Ut.createElement)(Fo,{items:b,onSelect:o,onHover:this.onHover})),Object(f.map)(Object(i.getCategories)(),function(t){var n=s[t.slug];return n&&n.length?Object(Ut.createElement)(Zt.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:h(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(Ut.createElement)(Fo,{items:n,onSelect:o,onHover:e.onHover})):null}),!!d.length&&Object(Ut.createElement)(Zt.PanelBody,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:Object(p.__)("Reusable"),opened:h("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(Ut.createElement)(Fo,{items:d,onSelect:o,onHover:this.onHover}),Object(Ut.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:Object(Ro.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(p.__)("Manage All Reusable Blocks"))),Object(f.isEmpty)(b)&&Object(f.isEmpty)(d)&&Object(f.isEmpty)(s)&&Object(Ut.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},Object(p.__)("No blocks found."))),a&&Object(i.isReusableBlock)(a)&&Object(Ut.createElement)(Do,{name:a.name,attributes:a.initialAttributes}))}}]),t}(Ut.Component),Ko=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isAppender,r=t.rootClientId,i=e("core/block-editor"),c=i.getInserterItems,l=i.getBlockName,a=i.getBlockRootClientId,s=i.getBlockSelectionEnd,u=e("core/blocks").getChildBlockNames,d=r;if(!d&&!n&&!o){var b=s();b&&(d=a(b)||void 0)}return{rootChildBlocks:u(l(d)),items:c(d),destinationRootClientId:d}}),Object(a.withDispatch)(function(e,t,n){var o=n.select,r=e("core/block-editor"),c=r.showInsertionPoint,l=r.hideInsertionPoint;function a(){var e=o("core/block-editor"),n=e.getBlockIndex,r=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,l=t.destinationRootClientId,a=t.isAppender;if(c)return n(c,l);var s=r();return!a&&s?n(s,l)+1:i(l).length}return{fetchReusableBlocks:e("core/editor").__experimentalFetchReusableBlocks,showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:l,onSelect:function(n){var r=e("core/block-editor"),c=r.replaceBlocks,l=r.insertBlock,s=o("core/block-editor").getSelectedBlock,u=t.isAppender,d=n.name,b=n.initialAttributes,f=s(),p=Object(i.createBlock)(d,b);!u&&f&&Object(i.isUnmodifiedDefaultBlock)(f)?c(f.clientId,p):l(p,a(),t.destinationRootClientId),t.onSelect()}}}),Zt.withSpokenMessages,Kt.withInstanceId,Kt.withSafeTimeout)(zo),Wo=function(e){var t=e.onToggle,n=e.disabled,o=e.isOpen;return Object(Ut.createElement)(Zt.IconButton,{icon:"insert",label:Object(p.__)("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":"true","aria-expanded":o,disabled:n})},Go=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.renderToggle=e.renderToggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.renderContent=e.renderContent.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,o=this.props,r=o.disabled,i=o.renderToggle,c=void 0===i?Wo:i;return c({onToggle:t,isOpen:n,disabled:r})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,o=n.rootClientId,r=n.clientId,i=n.isAppender;return Object(Ut.createElement)(Ko,{onSelect:t,rootClientId:o,clientId:r,isAppender:i})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.title;return Object(Ut.createElement)(Zt.Dropdown,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:n,renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(Ut.Component),qo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor").hasInserterItems;return{title:(0,e("core/editor").getEditedPostAttribute)("title"),hasItems:o(n)}}),Object(Kt.ifCondition)(function(e){return e.hasItems})])(Go);var Yo=Object(l.ifViewportMatches)("< small")(function(e){var t=e.clientId;return Object(Ut.createElement)("div",{className:"editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar"},Object(Ut.createElement)(qo,null),Object(Ut.createElement)(io,{clientIds:[t]}))}),$o=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFocusInserter=e.onFocusInserter.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocusInserter",value:function(e){e.stopPropagation(),this.setState({isInserterFocused:!0})}},{key:"onBlurInserter",value:function(){this.setState({isInserterFocused:!1})}},{key:"render",value:function(){var e=this.state.isInserterFocused,t=this.props,n=t.showInsertionPoint,o=t.rootClientId,r=t.clientId;return Object(Ut.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},n&&Object(Ut.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(Ut.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:zt()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(Ut.createElement)(qo,{rootClientId:o,clientId:r})))}}]),t}(Ut.Component),Xo=Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.rootClientId,r=e("core/block-editor"),i=r.getBlockIndex,c=r.getBlockInsertionPoint,l=r.isBlockInsertionPointVisible,a=i(n,o),s=c();return{showInsertionPoint:l()&&s.index===a&&s.rootClientId===o}})($o),Jo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(Jt.a)(Object(Jt.a)(e))),e.eventMap={},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,o=void 0===n?[]:n,r=t.forwardedRef,i=Object(u.a)(t,["childHandledEvents","forwardedRef"]),c=Object(f.reduce)([].concat(Object(d.a)(o),Object(d.a)(Object.keys(i))),function(t,n){var o=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(o){!!o[2]&&delete i[n];var r="on"+o[1];t[r]=e.proxyEvent,e.eventMap[o[1].toLowerCase()]=r}return t},{});return Object(Ut.createElement)("div",Object(Ht.a)({ref:r},i,c))}}]),t}(Ut.Component),Zo=function(e,t){return Object(Ut.createElement)(Jo,Object(Ht.a)({},e,{forwardedRef:t}))};Zo.displayName="IgnoreNestedEvents";var Qo=Object(Ut.forwardRef)(Zo);var er=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor"),r=o.getInserterItems,i=o.getTemplateLock;return{items:r(n),isLocked:!!i(n)}}),Object(a.withDispatch)(function(e,t){var n=t.clientId,o=t.rootClientId;return{onInsert:function(t){var r=t.name,c=t.initialAttributes,l=Object(i.createBlock)(r,c);n?e("core/block-editor").replaceBlocks(n,l):e("core/block-editor").insertBlock(l,void 0,o)}}}))(function(e){var t=e.items,n=e.isLocked,o=e.onInsert;if(n)return null;var r=Object(f.filter)(t,function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(f.isEmpty)(e.initialAttributes))}).slice(0,3);return Object(Ut.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},r.map(function(e){return Object(Ut.createElement)(Zt.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return o(e)},label:Object(p.sprintf)(Object(p.__)("Add %s"),e.title),icon:Object(Ut.createElement)(En,{icon:e.icon})})}))}),tr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hoverArea:null},e.onMouseLeave=e.onMouseLeave.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onMouseMove=e.onMouseMove.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentWillUnmount",value:function(){this.props.container&&this.toggleListeners(this.props.container,!1)}},{key:"componentDidMount",value:function(){this.props.container&&this.toggleListeners(this.props.container)}},{key:"componentDidUpdate",value:function(e){e.container!==this.props.container&&(e.container&&this.toggleListeners(e.container,!1),this.props.container&&this.toggleListeners(this.props.container,!0))}},{key:"toggleListeners",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"addEventListener":"removeEventListener";e[t]("mousemove",this.onMouseMove),e[t]("mouseleave",this.onMouseLeave)}},{key:"onMouseLeave",value:function(){this.state.hoverArea&&this.setState({hoverArea:null})}},{key:"onMouseMove",value:function(e){var t=this.props,n=t.isRTL,o=t.container.getBoundingClientRect(),r=o.width,i=o.left,c=o.right,l=null;e.clientX-i0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;c(e,n)},onInsertBlocks:function(e,n){var o=t.rootClientId;a(e,n,o)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,r=(0,o("core/block-editor").getBlockIndex)(e,n);s({},n,r+1)},onInsertBlocksAfter:function(e){var n=t.clientId,r=t.rootClientId,i=(0,o("core/block-editor").getBlockIndex)(n,r);a(e,i+1,r)},onRemove:function(e){u(e)},onMerge:function(e){var n=t.clientId,r=o("core/block-editor"),i=r.getPreviousBlockClientId,c=r.getNextBlockClientId;if(e){var l=c(n);l&&d(n,l)}else{var a=i(n);a&&d(a,n)}},onReplace:function(e){b([t.clientId],e)},onMetaChange:function(e){(0,(0,o("core/block-editor").getSettings)().__experimentalMetaSource.onChange)(e)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=o("core/block-editor").getBlockSelectionStart;e()?l(e(),t.clientId):c(t.clientId)}},toggleSelection:function(e){f(e)}}}),lr=Object(Kt.compose)(Kt.pure,Object(l.withViewportMatch)({isLargeViewport:"medium"}),ir,cr,Object(Zt.withFilters)("editor.BlockListBlock"))(rr),ar=n(57);var sr=Object(Kt.compose)(Object(Kt.withState)({hovered:!1}),Object(a.withSelect)(function(e,t){var n=e("core/block-editor"),o=n.getBlockCount,r=n.getBlockName,c=n.isBlockValid,l=n.getSettings,a=n.getTemplateLock,s=!o(t.rootClientId),u=r(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),b=l().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!a(t.rootClientId),placeholder:b}}),Object(a.withDispatch)(function(e,t){var n=e("core/block-editor"),o=n.insertDefaultBlock,r=n.startTyping;return{onAppend:function(){var e=t.rootClientId;o(void 0,e),r()}}}))(function(e){var t=e.isLocked,n=e.isVisible,o=e.onAppend,r=e.showPrompt,i=e.placeholder,c=e.rootClientId,l=e.hovered,a=e.setState;if(t||!n)return null;var s=Object(ar.decodeEntities)(i)||Object(p.__)("Start writing or type / to choose a block");return Object(Ut.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return a({hovered:!0})},onMouseLeave:function(){return a({hovered:!1})}},Object(Ut.createElement)(ao,{rootClientId:c}),Object(Ut.createElement)(jo.a,{role:"button","aria-label":Object(p.__)("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:o,value:r?s:""}),l&&Object(Ut.createElement)(er,{rootClientId:c}),Object(Ut.createElement)(qo,{rootClientId:c,position:"top right",isAppender:!0}))});var ur=Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor"),r=o.getBlockOrder,c=o.canInsertBlockType;return{isLocked:!!(0,o.getTemplateLock)(n),blockClientIds:r(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}})(function(e){var t=e.blockClientIds,n=e.rootClientId,o=e.canInsertDefaultBlock;return e.isLocked?null:o?Object(Ut.createElement)(Qo,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(Ut.createElement)(sr,{rootClientId:n,lastBlockClientId:Object(f.last)(t)})):Object(Ut.createElement)("div",{className:"block-list-appender"},Object(Ut.createElement)(qo,{rootClientId:n,renderToggle:function(e){var t=e.onToggle,n=e.disabled,o=e.isOpen;return Object(Ut.createElement)(Zt.IconButton,{label:Object(p.__)("Add block"),icon:"insert",onClick:t,className:"block-list-appender__toggle","aria-haspopup":"true","aria-expanded":o,disabled:n})},isAppender:!0}))}),dr=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onSelectionEnd=n.onSelectionEnd.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setBlockRef=n.setBlockRef.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setLastClientY=n.setLastClientY.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPointerMove=Object(f.throttle)(n.onPointerMove.bind(Object(Jt.a)(Object(Jt.a)(n))),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=Object(s.a)({},this.nodes,Object(b.a)({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=or(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var o=t-n.top,r=Object(f.findLast)(this.coordMapKeys,function(e){return e0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e}(t,n)||(n.colors||e).length>0}(t,n,e)})})(function(e){var t=e.children,n=e.colors,o=e.colorSettings,r=e.disableCustomColors,i=e.title,c=Object(u.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),l=Object(Ut.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map(function(e,n){var o=e.value,r=e.label,i=e.colors;if(!o)return null;var c=An(i||t,o),l=c&&c.name,a=Object(p.sprintf)(wr,r.toLowerCase(),l||o);return Object(Ut.createElement)(Zt.ColorIndicator,{key:n,colorValue:o,"aria-label":a})})}(o,n));return Object(Ut.createElement)(Zt.PanelBody,Object(Ht.a)({className:"editor-panel-color-settings block-editor-panel-color-settings",title:l},c),o.map(function(e,t){return Object(Ut.createElement)(Er,Object(Ht.a)({key:t},Object(s.a)({colors:n,disableCustomColors:r},e)))}),t)}),Tr=xn(Ir);var Br=function(e){var t=e.onChange,n=e.className,o=Object(u.a)(e,["onChange","className"]);return Object(Ut.createElement)(jo.a,Object(Ht.a)({className:zt()("editor-plain-text block-editor-plain-text",n),onChange:function(e){return t(e.target.value)}},o))},xr=n(41),Lr=n.n(xr),Nr=n(35),Mr=n(49),Rr=n.n(Mr),Ar=Object(a.withSelect)(function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}})(function(e){var t=e.formatTypes,n=e.onChange,o=e.value;return Object(Ut.createElement)(Ut.Fragment,null,t.map(function(e){var t=e.name,r=e.edit;if(!r)return null;var i=Object(c.getActiveFormat)(o,t),l=void 0!==i,a=Object(c.getActiveObject)(o),s=void 0!==a;return Object(Ut.createElement)(r,{key:t,isActive:l,activeAttributes:l&&i.attributes||{},isObjectActive:s,activeObjectAttributes:s&&a.attributes||{},value:o,onChange:n})}))}),Dr=function(e){var t=e.controls;return Object(Ut.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(Ut.createElement)(Zt.Toolbar,null,t.map(function(e){return Object(Ut.createElement)(Zt.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})}),Object(Ut.createElement)(Zt.Slot,{name:"RichText.ToolbarControls"},function(e){return e.length&&Object(Ut.createElement)(Zt.DropdownMenu,{icon:!1,position:"bottom left",label:Object(p.__)("More Rich Text Controls"),controls:Object(f.orderBy)(e.map(function(e){return Object(B.a)(e,1)[0].props}),"title")})})))},Pr=function(e){return Object(f.pickBy)(e,function(e,t){return n=t,Object(f.startsWith)(n,"aria-")&&!Object(f.isNil)(e);var n})},Fr=window.navigator.userAgent;var Hr="editor-rich-text__editable block-editor-rich-text__editable",Ur=Fr.indexOf("Trident")>=0,Vr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(f.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(f.isEqual)(this.props.className,e.className)||(this.editorNode.className=zt()(e.className,Hr));var n=function(e,t){var n=Object(f.keys)(Pr(e)),o=Object(f.keys)(Pr(t));return{removedKeys:Object(f.difference)(n,o),updatedKeys:o.filter(function(n){return!Object(f.isEqual)(e[n],t[n])})}}(this.props,e),o=n.removedKeys,r=n.updatedKeys;return o.forEach(function(e){return t.editorNode.removeAttribute(e)}),r.forEach(function(n){return t.editorNode.setAttribute(n,e[n])}),!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:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef(e),Ur&&(e?this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,o=t.keyCode;if((Cn.BACKSPACE===o||Cn.DELETE===o)&&e.contains(n)){var r=document.createEvent("Event");r.initEvent("input",!0,!1),r.data=null,n.dispatchEvent(r)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e):this.removeInternetExplorerInputFix())}},{key:"render",value:function(){var e,t=this.props,n=t.tagName,o=void 0===n?"div":n,r=t.style,i=t.record,c=t.valueToEditableHTML,l=t.className,a=t.isPlaceholderVisible,d=Object(u.a)(t,["tagName","style","record","valueToEditableHTML","className","isPlaceholderVisible"]);return delete d.setRef,Object(Ut.createElement)(o,Object(s.a)((e={role:"textbox","aria-multiline":!0,className:zt()(l,Hr),contentEditable:!0},Object(b.a)(e,"data-is-placeholder-visible",a),Object(b.a)(e,"ref",this.bindEditorNode),Object(b.a)(e,"style",r),Object(b.a)(e,"suppressContentEditableWarning",!0),Object(b.a)(e,"dangerouslySetInnerHTML",{__html:c(i)}),e),d))}}]),t}(Ut.Component);var zr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Cn.rawShortcut[n](t),this.onUse)})}}]),t}(Ut.Component),Kr=window.Node,Wr=Kr.TEXT_NODE,Gr=Kr.ELEMENT_NODE;function qr(){var e=window.getSelection();if(0!==e.rangeCount){var t=e.getRangeAt(0).startContainer;if(t.nodeType===Wr&&(t=t.parentNode),t.nodeType===Gr){var n=t.closest("*[contenteditable]");if(n&&n.contains(t))return t.closest("ol,ul")}}}function Yr(){var e=qr();return!e||"true"===e.contentEditable}function $r(e,t){var n=qr();return n?n.nodeName.toLowerCase()===e:e===t}var Xr=function(e){var t=e.onTagNameChange,n=e.tagName,o=e.value,r=e.onChange;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(zr,{type:"primary",character:"[",onUse:function(){r(Object(c.outdentListItems)(o))}}),Object(Ut.createElement)(zr,{type:"primary",character:"]",onUse:function(){r(Object(c.indentListItems)(o,{type:n}))}}),Object(Ut.createElement)(zr,{type:"primary",character:"m",onUse:function(){r(Object(c.indentListItems)(o,{type:n}))}}),Object(Ut.createElement)(zr,{type:"primaryShift",character:"m",onUse:function(){r(Object(c.outdentListItems)(o))}}),Object(Ut.createElement)(Sn,null,Object(Ut.createElement)(Zt.Toolbar,{controls:[t&&{icon:"editor-ul",title:Object(p.__)("Convert to unordered list"),isActive:$r("ul",n),onClick:function(){r(Object(c.changeListType)(o,{type:"ul"})),Yr()&&t("ul")}},t&&{icon:"editor-ol",title:Object(p.__)("Convert to ordered list"),isActive:$r("ol",n),onClick:function(){r(Object(c.changeListType)(o,{type:"ol"})),Yr()&&t("ol")}},{icon:"editor-outdent",title:Object(p.__)("Outdent list item"),shortcut:Object(p._x)("Backspace","keyboard key"),onClick:function(){r(Object(c.outdentListItems)(o))}},{icon:"editor-indent",title:Object(p.__)("Indent list item"),shortcut:Object(p._x)("Space","keyboard key"),onClick:function(){r(Object(c.indentListItems)(o,{type:n}))}}].filter(Boolean)})))},Jr=[Cn.rawShortcut.primary("z"),Cn.rawShortcut.primaryShift("z"),Cn.rawShortcut.primary("y")],Zr=Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.fromPairs)(Jr.map(function(e){return[e,function(e){return e.preventDefault()}]}))}),Qr=function(){return Zr};function ei(e){var t,n=e.name,o=e.shortcutType,r=e.shortcutCharacter,i=Object(u.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),o&&r&&(t=Cn.displayShortcut[o](r)),Object(Ut.createElement)(Zt.Fill,{name:c},Object(Ut.createElement)(Zt.ToolbarButton,Object(Ht.a)({},i,{shortcut:t})))}var ti=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(Ut.Component),ni=window,oi=ni.getSelection,ri=ni.getComputedStyle,ii=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),ci=document.createElement("style");document.head.appendChild(ci);var li=function(e){function t(e){var n,o=e.value,r=e.onReplace,l=e.multiline;return Object(Gt.a)(this,t),n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments)),!0!==l&&"p"!==l&&"li"!==l||(n.multilineTag=!0===l?"p":l),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.props.onSplit?(n.onSplit=n.props.onSplit,Rr()("wp.editor.RichText onSplit prop",{plugin:"Gutenberg",alternative:"wp.editor.RichText unstableOnSplit prop"})):n.props.unstableOnSplit&&(n.onSplit=n.props.unstableOnSplit),n.onFocus=n.onFocus.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onBlur=n.onBlur.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPaste=n.onPaste.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setFocusedElement=n.setFocusedElement.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onInput=n.onInput.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onSelectionChange=n.onSelectionChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.getRecord=n.getRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.createRecord=n.createRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.applyRecord=n.applyRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.isEmpty=n.isEmpty.bind(Object(Jt.a)(Object(Jt.a)(n))),n.valueToFormat=n.valueToFormat.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setRef=n.setRef.bind(Object(Jt.a)(Object(Jt.a)(n))),n.valueToEditableHTML=n.valueToEditableHTML.bind(Object(Jt.a)(Object(Jt.a)(n))),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPointerDown=n.onPointerDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.formatToValue=Lr()(n.formatToValue.bind(Object(Jt.a)(Object(Jt.a)(n))),{maxSize:1}),n.savedContent=o,n.patterns=function(e){var t=e.onReplace,n=e.valueToFormat,o=Object(i.getBlockTransforms)("from").filter(function(e){return"prefix"===e.type});return[function(e){if(!t)return e;var r=Object(c.getSelectionStart)(e),l=Object(c.getTextContent)(e),a=l.slice(r-1,r);if(!/\s/.test(a))return e;var s=l.slice(0,r).trim(),u=Object(i.findTransform)(o,function(e){var t=e.prefix;return s===t});if(!u)return e;var d=n(Object(c.slice)(e,r,l.length)),b=u.transform(d);return t([b]),e},function(e){var t=Object(c.getSelectionStart)(e),n=Object(c.getTextContent)(e);if("`"!==n.slice(t-1,t))return e;var o=n.slice(0,t-1).lastIndexOf("`");if(-1===o)return e;var r=o,i=t-2;return r===i?e:(e=Object(c.remove)(e,r,r+1),e=Object(c.remove)(e,i,i+1),e=Object(c.applyFormat)(e,{type:"code"},r,i))}]}({onReplace:r,valueToFormat:n.valueToFormat}),n.enterPatterns=Object(i.getBlockTransforms)("from").filter(function(e){return"enter"===e.type}),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(o),n.lastHistoryValue=o,n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){e?this.editableRef=e:delete this.editableRef}},{key:"setFocusedElement",value:function(){this.props.setFocusedElement&&this.props.setFocusedElement(this.props.instanceId)}},{key:"getRecord",value:function(){var e=this.formatToValue(this.props.value),t=e.formats,n=e.replacements,o=e.text,r=this.state;return{formats:t,replacements:n,text:o,start:r.start,end:r.end,activeFormats:r.activeFormats}}},{key:"createRecord",value:function(){var e=oi(),t=e.rangeCount>0?e.getRangeAt(0):null;return Object(c.create)({element:this.editableRef,range:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:this.props.prepareEditableTree,__unstableIsEditableTree:!0})}},{key:"applyRecord",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).domOnly;Object(c.apply)({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:this.props.prepareEditableTree,__unstableDomOnly:t})}},{key:"isEmpty",value:function(){return Object(c.isEmpty)(this.formatToValue(this.props.value))}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,o=t.files;n=Object(f.isNil)(n)?[]:n,o=Object(f.isNil)(o)?[]:o;var r="",l="";try{r=t.getData("text/plain"),l=t.getData("text/html")}catch(e){try{l=t.getData("Text")}catch(e){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",l),window.console.log("Received plain text:\n\n",r);var a=Object(f.find)([].concat(Object(d.a)(n),Object(d.a)(o)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)});if(a&&!l){var s=a.getAsFile?a.getAsFile():a,u=Object(i.pasteHandler)({HTML:''),mode:"BLOCKS",tagName:this.props.tagName}),b=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",s),void(b?this.props.onReplace(u):this.onSplit&&this.splitContent(u))}var p=this.getRecord();if(!Object(c.isCollapsed)(p)){var h=(l||r).replace(/<[^>]+>/g,"").trim();if(Object(Ro.isURL)(h))return this.onChange(Object(c.applyFormat)(p,{type:"a",attributes:{href:Object(ar.decodeEntities)(h)}})),void window.console.log("Created link:\n\n",h)}var v=this.props.onReplace&&this.isEmpty(),m="INLINE";v?m="BLOCKS":this.onSplit&&(m="AUTO");var g=Object(i.pasteHandler)({HTML:l,plainText:r,mode:m,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof g){var O=Object(c.create)({html:g});this.onChange(Object(c.insert)(p,O))}else if(this.onSplit){if(!g.length)return;v?this.props.onReplace(g):this.splitContent(g,{paste:!0})}}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),this.recalculateBoundaryStyle(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){if(e&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else{if(e&&e.nativeEvent.inputType){var t=e.nativeEvent.inputType;if(0===t.indexOf("format")||ii.has(t))return void this.applyRecord(this.getRecord())}var n=this.createRecord(),o=this.state,r=o.activeFormats,i=void 0===r?[]:r,l=o.start,a=Object(c.__unstableUpdateFormats)({value:n,start:l,end:n.start,formats:i});this.onChange(a,{withoutHistory:!0});var u=this.patterns.reduce(function(e,t){return t(e)},a);u!==a&&(this.onCreateUndoLevel(),this.onChange(Object(s.a)({},u,{activeFormats:i}))),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onInput(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(){var e=this.createRecord(),t=e.start,n=e.end;if(t!==this.state.start||n!==this.state.end){var o=this.props.isCaretWithinFormattedText,r=Object(c.__unstableGetActiveFormats)(e);!o&&r.length?this.props.onEnterFormattedText():o&&!r.length&&this.props.onExitFormattedText(),this.setState({start:t,end:n,activeFormats:r}),this.applyRecord(Object(s.a)({},e,{activeFormats:r}),{domOnly:!0}),r.length>0&&this.recalculateBoundaryStyle()}}},{key:"recalculateBoundaryStyle",value:function(){var e=this.editableRef.querySelector("*[data-rich-text-format-boundary]");if(e){var t=ri(e).color.replace(")",", 0.2)").replace("rgb","rgba");ci.innerHTML="*:focus ".concat("*[data-rich-text-format-boundary]","{background-color: ").concat(t,"}")}}},{key:"onChangeEditableValue",value:function(e){var t=e.formats,n=e.text;Object(f.get)(this.props,["onChangeEditableValue"],[]).forEach(function(e){e(t,n)})}},{key:"onChange",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withoutHistory;this.applyRecord(e);var n=e.start,o=e.end,r=e.activeFormats,i=void 0===r?[]:r;this.onChangeEditableValue(e),this.savedContent=this.valueToFormat(e),this.props.onChange(this.savedContent),this.setState({start:n,end:o,activeFormats:i}),t||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.savedContent&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.savedContent)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,o=t.onRemove;if(n||o){var r=e.keyCode===Cn.BACKSPACE;if(Object(c.isCollapsed)(this.createRecord())){var i=this.isEmpty();(i||Object(Jn.isHorizontalEdge)(this.editableRef,r))&&(n&&n(!r),o&&i&&r&&o(!r),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey,o=e.altKey,r=e.metaKey,l=e.ctrlKey;if(n||o||r||l||t!==Cn.LEFT&&t!==Cn.RIGHT||this.handleHorizontalNavigation(e),t===Cn.SPACE&&"li"===this.multilineTag){var a=this.createRecord();if(Object(c.isCollapsed)(a)){var u=a.text[a.start-1];u&&u!==c.LINE_SEPARATOR||(this.onChange(Object(c.indentListItems)(a,{type:this.props.tagName})),e.preventDefault())}}if(t===Cn.DELETE||t===Cn.BACKSPACE){var b=this.createRecord(),f=b.replacements,p=b.text,h=b.start,v=b.end;if(0===h&&0!==v&&v===b.text.length)return this.onChange(Object(c.remove)(b)),void e.preventDefault();if(this.multilineTag){var m;if(t===Cn.BACKSPACE){var g=h-1;if(p[g]===c.LINE_SEPARATOR){var O=Object(c.isCollapsed)(b);if(O&&f[g]&&f[g].length){var k=f.slice();k[g]=f[g].slice(0,-1),m=Object(s.a)({},b,{replacements:k})}else m=Object(c.remove)(b,O?h-1:h,v)}}else if(p[v]===c.LINE_SEPARATOR){var j=Object(c.isCollapsed)(b);if(j&&f[v]&&f[v].length){var y=f.slice();y[v]=f[v].slice(0,-1),m=Object(s.a)({},b,{replacements:y})}else m=Object(c.remove)(b,h,j?v+1:v)}m&&(this.onChange(m),e.preventDefault())}this.onDeleteKeyDown(e)}else if(t===Cn.ENTER){e.preventDefault();var _=this.createRecord();if(this.props.onReplace){var S=Object(c.getTextContent)(_),C=Object(i.findTransform)(this.enterPatterns,function(e){return e.regExp.test(S)});if(C)return void this.props.onReplace([C.transform({content:S})])}this.multilineTag?e.shiftKey?this.onChange(Object(c.insertLineBreak)(_)):this.onSplit&&Object(c.isEmptyLine)(_)?this.onSplit.apply(this,Object(d.a)(Object(c.split)(_).map(this.valueToFormat))):this.onChange(Object(c.insertLineSeparator)(_)):e.shiftKey||!this.onSplit?this.onChange(Object(c.insertLineBreak)(_)):this.splitContent()}}},{key:"handleHorizontalNavigation",value:function(e){var t=this,n=this.createRecord(),o=n.formats,r=n.text,i=n.start,l=n.end,a=this.state.activeFormats,u=void 0===a?[]:a,d=Object(c.isCollapsed)(n),b=e.keyCode===Cn.LEFT;if(d&&0===u.length){if(0===i&&b)return;if(l===r.length&&!b)return}if(d){e.preventDefault();var f=o[i-1]||[],p=o[i]||[],h=u.length,v=p;if(f.length>p.length&&(v=f),f.lengthf.length&&h--):f.length>p.length&&(!b&&u.length>p.length&&h--,b&&u.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.onSplit){var n=this.createRecord(),o=Object(c.split)(n),r=Object(B.a)(o,2),i=r[0],l=r[1];Object(c.isEmpty)(l)?i=n:Object(c.isEmpty)(i)&&(l=n),t.paste&&(i=Object(c.isEmpty)(i)?null:i,l=Object(c.isEmpty)(l)?null:l),i&&(i=this.valueToFormat(i)),l&&(l=this.valueToFormat(l)),this.onSplit.apply(this,[i,l].concat(Object(d.a)(e)))}}},{key:"onPointerDown",value:function(e){var t=e.target;if(t!==this.editableRef&&!t.textContent){var n=t.parentNode,o=Array.from(n.childNodes).indexOf(t),r=t.ownerDocument.createRange(),i=oi();r.setStart(t.parentNode,o),r.setEnd(t.parentNode,o+1),i.removeAllRanges(),i.addRange(r)}}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.tagName,r=n.value,i=n.isSelected;if(o===e.tagName&&r!==e.value&&r!==this.savedContent){if(Array.isArray(r)&&Object(f.isEqual)(r,this.savedContent))return;var l=this.formatToValue(r);if(i){var a=this.formatToValue(e.value),s=Object(c.getTextContent)(a).length;l.start=s,l.end=s}this.applyRecord(l),this.savedContent=r}if(Object.keys(this.props).some(function(n){return 0===n.indexOf("format_")&&(Object(f.isPlainObject)(t.props[n])?Object.keys(t.props[n]).some(function(o){return t.props[n][o]!==e[n][o]}):t.props[n]!==e[n])})){var u=this.formatToValue(r);i&&(u.start=this.state.start,u.end=this.state.end),this.applyRecord(u)}}},{key:"getFormatProps",value:function(){return Object(f.pickBy)(this.props,function(e,t){return t.startsWith("format_")})}},{key:"formatToValue",value:function(e){return Array.isArray(e)?Object(c.create)({html:i.children.toHTML(e),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):"string"===this.props.format?Object(c.create)({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):null===e?Object(c.create)():e}},{key:"valueToEditableHTML",value:function(e){return Object(c.unstableToDom)({value:e,multilineTag:this.multilineTag,prepareEditableTree:this.props.prepareEditableTree}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach(function(t){t.__experimentalCreatePrepareEditableTree&&(e=Object(c.removeFormat)(e,t.name,0,e.text.length))}),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?i.children.fromDOM(Object(c.unstableToDom)({value:e,multilineTag:this.multilineTag,isEditableTree:!1}).body.childNodes):"string"===this.props.format?Object(c.toHTMLString)({value:e,multilineTag:this.multilineTag}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,o=void 0===n?"div":n,r=t.style,i=t.wrapperClassName,c=t.className,l=t.inlineToolbar,a=void 0!==l&&l,s=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,b=void 0!==d&&d,f=t.isSelected,p=t.autocompleters,h=t.onTagNameChange,v=o,m=this.multilineTag,g=Pr(this.props),O=u&&(!f||b)&&this.isEmpty(),k=zt()(i,"editor-rich-text block-editor-rich-text"),j=this.getRecord();return Object(Ut.createElement)("div",{className:k,onFocus:this.setFocusedElement},f&&"li"===this.multilineTag&&Object(Ut.createElement)(Xr,{onTagNameChange:h,tagName:o,value:j,onChange:this.onChange}),f&&!a&&Object(Ut.createElement)(Sn,null,Object(Ut.createElement)(Dr,{controls:s})),f&&a&&Object(Ut.createElement)(Zt.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(Ut.createElement)(Dr,{controls:s})),Object(Ut.createElement)(cn,{onReplace:this.props.onReplace,completers:p,record:j,onChange:this.onChange},function(t){var n=t.listBoxId,i=t.activeId;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Vr,Object(Ht.a)({tagName:o,style:r,record:j,valueToEditableHTML:e.valueToEditableHTML,isPlaceholderVisible:O,"aria-label":u,"aria-autocomplete":"list","aria-owns":n,"aria-activedescendant":i},g,{className:c,key:v,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,onBlur:e.onBlur,onMouseDown:e.onPointerDown,onTouchStart:e.onPointerDown,setRef:e.setRef})),O&&Object(Ut.createElement)(o,{className:zt()("editor-rich-text__editable block-editor-rich-text__editable",c),style:r},m?Object(Ut.createElement)(m,null,u):u),f&&Object(Ut.createElement)(Ar,{value:j,onChange:e.onChange}))}),f&&Object(Ut.createElement)(Qr,null))}}]),t}(Ut.Component);li.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var ai=Object(Kt.compose)([Kt.withInstanceId,nn(function(e,t){return!1===t.isSelected?{clientId:e.clientId}:!0===t.isSelected?{isSelected:e.isSelected,clientId:e.clientId}:{isSelected:e.isSelected&&e.focusedElement===t.instanceId,setFocusedElement:e.setFocusedElement,clientId:e.clientId}}),Object(a.withSelect)(function(e){var t=e("core/editor").canUserUseUnfilteredHTML,n=e("core/block-editor").isCaretWithinFormattedText,o=e("core/rich-text").getFormatTypes;return{canUserUseUnfilteredHTML:t(),isCaretWithinFormattedText:n(),formatTypes:o()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onCreateUndoLevel:t.__unstableMarkLastChangeAsPersistent,onEnterFormattedText:t.enterFormattedText,onExitFormattedText:t.exitFormattedText}}),Kt.withSafeTimeout,Object(Zt.withFilters)("experimentalRichText")])(li);ai.Content=function(e){var t,n=e.value,o=e.tagName,r=e.multiline,c=Object(u.a)(e,["value","tagName","multiline"]),l=n;!0!==r&&"p"!==r&&"li"!==r||(t=!0===r?"p":r),Array.isArray(n)&&(l=i.children.toHTML(n)),!l&&t&&(l="<".concat(t,">"));var a=Object(Ut.createElement)(Ut.RawHTML,null,l);return o?Object(Ut.createElement)(o,Object(f.omit)(c,["format"]),a):a},ai.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},ai.Content.defaultProps={format:"string",value:""};var si=ai,ui=Object(Zt.withFilters)("editor.MediaUpload")(function(){return null}),di=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(Jt.a)(Object(Jt.a)(e))),e.state={isSettingsExpanded:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,o=e.onClose,r=e.onClickOutside,i=e.position,c=void 0===i?"bottom center":i,l=e.focusOnMount,a=void 0===l?"firstElement":l,s=this.state.isSettingsExpanded,u=!!n&&s;return Object(Ut.createElement)(Zt.Popover,{className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:c,onClose:o,onClickOutside:r},Object(Ut.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},t,!!n&&Object(Ut.createElement)(Zt.IconButton,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(p.__)("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),u&&Object(Ut.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},n()))}}]),t}(Ut.Component),bi=function(e){var t=e.src,n=e.onChange,o=e.onSubmit,r=e.onClose;return Object(Ut.createElement)(di,{onClose:r},Object(Ut.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:o},Object(Ut.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(p.__)("URL"),placeholder:Object(p.__)("Paste or type URL"),onChange:n,value:t}),Object(Ut.createElement)(Zt.IconButton,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(p.__)("Apply"),type:"submit"})))},fi=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onSubmitSrc=e.onSubmitSrc.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onUpload=e.onUpload.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFilesUpload=e.onFilesUpload.bind(Object(Jt.a)(Object(Jt.a)(e))),e.openURLInput=e.openURLInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e.closeURLInput=e.closeURLInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(f.every)(e,function(e){return"image"===e||Object(f.startsWith)(e,"image/")})}},{key:"componentDidMount",value:function(){this.setState({src:Object(f.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(f.get)(e.value,["src"],"")!==Object(f.get)(this.props.value,["src"],"")&&this.setState({src:Object(f.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t=this.props,n=t.onSelect,o=t.multiple,r=t.onError,i=t.allowedTypes;(0,t.mediaUpload)({allowedTypes:i,filesList:e,onFileChange:o?n:function(e){var t=Object(B.a)(e,1)[0];return n(t)},onError:r})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.icon,o=e.className,r=e.labels,i=void 0===r?{}:r,c=e.onSelect,l=e.value,a=void 0===l?{}:l,s=e.onSelectURL,u=e.onHTMLDrop,d=void 0===u?f.noop:u,b=e.multiple,h=void 0!==b&&b,v=e.notices,m=e.allowedTypes,g=void 0===m?[]:m,O=e.hasUploadPermissions,k=e.mediaUpload,j=this.state,y=j.isURLInputVisible,_=j.src,S=i.instructions||"",C=i.title||"";if(O||s||(S=Object(p.__)("To edit this block, you need permission to upload media.")),!S||!C){var E=1===g.length,w=E&&"audio"===g[0],I=E&&"image"===g[0],T=E&&"video"===g[0];S||(O?(S=Object(p.__)("Drag a media file, upload a new one or select a file from your library."),w?S=Object(p.__)("Drag an audio, upload a new one or select a file from your library."):I?S=Object(p.__)("Drag an image, upload a new one or select a file from your library."):T&&(S=Object(p.__)("Drag a video, upload a new one or select a file from your library."))):!O&&s&&(S=Object(p.__)("Given your current role, you can only link a media file, you cannot upload."),w?S=Object(p.__)("Given your current role, you can only link an audio, you cannot upload."):I?S=Object(p.__)("Given your current role, you can only link an image, you cannot upload."):T&&(S=Object(p.__)("Given your current role, you can only link a video, you cannot upload.")))),C||(C=Object(p.__)("Media"),w?C=Object(p.__)("Audio"):I?C=Object(p.__)("Image"):T&&(C=Object(p.__)("Video")))}return Object(Ut.createElement)(Zt.Placeholder,{icon:n,label:C,instructions:S,className:zt()("editor-media-placeholder block-editor-media-placeholder",o),notices:v},Object(Ut.createElement)(co,null,!!k&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:d}),Object(Ut.createElement)(Zt.FormFileUpload,{isLarge:!0,className:"editor-media-placeholder__button block-editor-media-placeholder__button",onChange:this.onUpload,accept:t,multiple:h},Object(p.__)("Upload"))),Object(Ut.createElement)(ui,{gallery:h&&this.onlyAllowsImages(),multiple:h,onSelect:c,allowedTypes:g,value:a.id,render:function(e){var t=e.open;return Object(Ut.createElement)(Zt.Button,{isLarge:!0,className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:t},Object(p.__)("Media Library"))}})),s&&Object(Ut.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(Ut.createElement)(Zt.Button,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:y,isLarge:!0},Object(p.__)("Insert from URL")),y&&Object(Ut.createElement)(bi,{src:_,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput})))}}]),t}(Ut.Component),pi=Object(a.withSelect)(function(e){var t=e("core").canUser,n=e("core/block-editor").getSettings;return{hasUploadPermissions:Object(f.defaultTo)(t("create","media"),!0),mediaUpload:n().__experimentalMediaUpload}}),hi=Object(Kt.compose)(pi,Object(Zt.withFilters)("editor.MediaPlaceholder"))(fi),vi=n(33),mi=n.n(vi),gi=function(e){return e.stopPropagation()},Oi=function(e){function t(e){var n,o=e.autocompleteRef;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.autocompleteRef=o||Object(Ut.createRef)(),n.inputRef=Object(Ut.createRef)(),n.updateSuggestions=Object(f.throttle)(n.updateSuggestions.bind(Object(Jt.a)(Object(Jt.a)(n))),200),n.suggestionNodes=[],n.state={posts:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,o=t.selectedSuggestion;n&&null!==o&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Mo()(this.suggestionNodes[o],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;if(e.length<2||/^https?:/.test(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var n=mi()({path:Object(Ro.addQueryArgs)("/wp/v2/search",{search:e,per_page:20,type:"post"})});n.then(function(e){t.suggestionsRequest===n&&(t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(p.sprintf)(Object(p._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(p.__)("No results."),"assertive"))}).catch(function(){t.suggestionsRequest===n&&t.setState({loading:!1})}),this.suggestionsRequest=n}}},{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.showSuggestions,o=t.selectedSuggestion,r=t.posts,i=t.loading;if(n&&r.length&&!i){var c=this.state.posts[this.state.selectedSuggestion];switch(e.keyCode){case Cn.UP:e.stopPropagation(),e.preventDefault();var l=o?o-1:r.length-1;this.setState({selectedSuggestion:l});break;case Cn.DOWN:e.stopPropagation(),e.preventDefault();var a=null===o||o===r.length-1?0:o+1;this.setState({selectedSuggestion:a});break;case Cn.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(p.__)("Link selected.")));break;case Cn.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Cn.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Cn.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,o=void 0===n?"":n,r=t.autoFocus,i=void 0===r||r,c=t.instanceId,l=t.className,a=this.state,s=a.showSuggestions,u=a.posts,d=a.selectedSuggestion,b=a.loading;return Object(Ut.createElement)("div",{className:zt()("editor-url-input block-editor-url-input",l)},Object(Ut.createElement)("input",{autoFocus:i,type:"text","aria-label":Object(p.__)("URL"),required:!0,value:o,onChange:this.onChange,onInput:gi,placeholder:Object(p.__)("Paste URL or type to search"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":s,"aria-autocomplete":"list","aria-owns":"block-editor-url-input-suggestions-".concat(c),"aria-activedescendant":null!==d?"block-editor-url-input-suggestion-".concat(c,"-").concat(d):void 0,ref:this.inputRef}),b&&Object(Ut.createElement)(Zt.Spinner,null),s&&!!u.length&&Object(Ut.createElement)(Zt.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(Ut.createElement)("div",{className:"editor-url-input__suggestions block-editor-url-input__suggestions",id:"editor-url-input-suggestions-".concat(c),ref:this.autocompleteRef,role:"listbox"},u.map(function(t,n){return Object(Ut.createElement)("button",{key:t.id,role:"option",tabIndex:"-1",id:"block-editor-url-input-suggestion-".concat(c,"-").concat(n),ref:e.bindSuggestionNode(n),className:zt()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===d}),onClick:function(){return e.handleOnClick(t)},"aria-selected":n===d},Object(ar.decodeEntities)(t.title)||Object(p.__)("(no title)"))}))))}}]),t}(Ut.Component),ki=Object(Zt.withSpokenMessages)(Object(Kt.withInstanceId)(Oi)),ji=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.submitLink=e.submitLink.bind(Object(Jt.a)(Object(Jt.a)(e))),e.state={expanded:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(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,o=this.state.expanded,r=t?Object(p.__)("Edit Link"):Object(p.__)("Insert Link");return Object(Ut.createElement)("div",{className:"editor-url-input__button block-editor-url-input__button"},Object(Ut.createElement)(Zt.IconButton,{icon:"admin-links",label:r,onClick:this.toggle,className:zt()("components-toolbar__control",{"is-active":t})}),o&&Object(Ut.createElement)("form",{className:"editor-url-input__button-modal block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(Ut.createElement)("div",{className:"editor-url-input__button-modal-line block-editor-url-input__button-modal-line"},Object(Ut.createElement)(Zt.IconButton,{className:"editor-url-input__back block-editor-url-input__back",icon:"arrow-left-alt",label:Object(p.__)("Close"),onClick:this.toggle}),Object(Ut.createElement)(ki,{value:t||"",onChange:n}),Object(Ut.createElement)(Zt.IconButton,{icon:"editor-break",label:Object(p.__)("Submit"),type:"submit"}))))}}]),t}(Ut.Component);var yi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=e("core/block-editor"),o=n.getBlocksByClientId,r=n.getTemplateLock,c=n.getBlockRootClientId,l=o(t.clientIds),a=Object(f.every)(l,function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)}),s=c(t.clientIds[0]);return{isLocked:!!r(s),blocks:l,canDuplicate:a,rootClientId:s,extraProps:t}}),Object(a.withDispatch)(function(e,t,n){var o=n.select,r=t.clientIds,c=t.rootClientId,l=t.blocks,a=t.isLocked,s=t.canDuplicate,u=e("core/block-editor"),d=u.insertBlocks,b=u.multiSelect,p=u.removeBlocks,h=u.insertDefaultBlock;return{onDuplicate:function(){if(!a&&s){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.last)(Object(f.castArray)(r)),c),t=l.map(function(e){return Object(i.cloneBlock)(e)});d(t,e+1,c),t.length>1&&b(Object(f.first)(t).clientId,Object(f.last)(t).clientId)}},onRemove:function(){a||p(r)},onInsertBefore:function(){if(!a){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.first)(Object(f.castArray)(r)),c);h({},c,e)}},onInsertAfter:function(){if(!a){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.last)(Object(f.castArray)(r)),c);h({},c,e+1)}}}})])(function(e){var t=e.onDuplicate,n=e.onRemove,o=e.onInsertBefore,r=e.onInsertAfter,i=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:r,onInsertBefore:o,isLocked:i,canDuplicate:c})}),_i=function(e){return e.preventDefault(),e},Si={duplicate:{raw:Cn.rawShortcut.primaryShift("d"),display:Cn.displayShortcut.primaryShift("d")},removeBlock:{raw:Cn.rawShortcut.access("z"),display:Cn.displayShortcut.access("z")},insertBefore:{raw:Cn.rawShortcut.primaryAlt("t"),display:Cn.displayShortcut.primaryAlt("t")},insertAfter:{raw:Cn.rawShortcut.primaryAlt("y"),display:Cn.displayShortcut.primaryAlt("y")}},Ci=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(Jt.a)(Object(Jt.a)(e))),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearMultiSelection=e.clearMultiSelection.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,o=t.onMultiSelect;e.preventDefault(),o(Object(f.first)(n),Object(f.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,o=t.hasMultiSelection,r=t.onRemove,i=t.isLocked;o&&(e.preventDefault(),i||r(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.KeyboardShortcuts,{shortcuts:(e={},Object(b.a)(e,Cn.rawShortcut.primary("a"),this.selectAll),Object(b.a)(e,"backspace",this.deleteSelectedBlocks),Object(b.a)(e,"del",this.deleteSelectedBlocks),Object(b.a)(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(Ut.createElement)(yi,{clientIds:t},function(e){var t,n=e.onDuplicate,o=e.onRemove,r=e.onInsertAfter,i=e.onInsertBefore;return Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(b.a)(t,Si.duplicate.raw,Object(f.flow)(_i,n)),Object(b.a)(t,Si.removeBlock.raw,Object(f.flow)(_i,o)),Object(b.a)(t,Si.insertBefore.raw,Object(f.flow)(_i,i)),Object(b.a)(t,Si.insertAfter.raw,Object(f.flow)(_i,r)),t)})}))}}]),t}(Ut.Component),Ei=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getBlockOrder,o=t.getMultiSelectedBlockClientIds,r=t.hasMultiSelection,i=t.getBlockRootClientId,c=t.getTemplateLock,l=(0,t.getSelectedBlockClientId)(),a=l?[l]:o();return{rootBlocksClientIds:n(),hasMultiSelection:r(),isLocked:Object(f.some)(a,function(e){return!!c(i(e))}),selectedBlockClientIds:a}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}})])(Ci),wi=Object(a.withSelect)(function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}})(function(e){var t=e.selectedBlockClientId;return t&&Object(Ut.createElement)(Zt.Button,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){or(t).closest(".block-editor-block-list__block").focus()}},Object(p.__)("Skip to the selected block"))}),Ii=n(135),Ti=n.n(Ii);function Bi(e,t,n){var o=new Ti.a(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}var xi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock,r=e("core/blocks").getBlockStyles,c=o(n),l=Object(i.getBlockType)(c.name);return{name:c.name,attributes:c.attributes,className:c.attributes.className||"",styles:r(c.name),type:l}}),Object(a.withDispatch)(function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}})])(function(e){var t=e.styles,n=e.className,o=e.onChangeClassName,r=e.name,i=e.attributes,c=e.type,l=e.onSwitch,a=void 0===l?f.noop:l,u=e.onHoverClassName,b=void 0===u?f.noop:u;if(!t||0===t.length)return null;c.styles||Object(f.find)(t,"isDefault")||(t=[{name:"default",label:Object(p._x)("Default","block style"),isDefault:!0}].concat(Object(d.a)(t)));var h=function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,c=new Ti.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var l=i.value;if(-1!==l.indexOf("is-style-")){var a=l.substring(9),s=Object(f.find)(e,{name:a});if(s)return s}}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return Object(f.find)(e,"isDefault")}(t,n);function v(e){var t=Bi(n,h,e);o(t),b(null),a()}return Object(Ut.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map(function(e){var t=Bi(n,h,e);return Object(Ut.createElement)("div",{key:e.name,className:zt()("editor-block-styles__item block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return v(e)},onKeyDown:function(t){Cn.ENTER!==t.keyCode&&Cn.SPACE!==t.keyCode||(t.preventDefault(),v(e))},onMouseEnter:function(){return b(t)},onMouseLeave:function(){return b(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(Ut.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(Ut.createElement)(Ao,{name:r,attributes:Object(s.a)({},i,{className:t})})),Object(Ut.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))}))}),Li=n(98);var Ni=Object(a.withSelect)(function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}})(function(e){var t=e.blocks,n=Object(Li.count)(Object(i.serialize)(t),"words");return Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(Ut.createElement)(En,{icon:Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},Object(p.sprintf)(Object(p._n)("%d block","%d blocks",t.length),t.length)),Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},Object(p.sprintf)(Object(p._n)("%d word","%d words",n),n))))}),Mi=Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getSelectedBlockCount,r=t.getBlockName,c=e("core/blocks").getBlockStyles,l=n(),a=l&&r(l),s=l&&Object(i.getBlockType)(a),u=l&&c(a);return{count:o(),hasBlockStyles:u&&u.length>0,selectedBlockName:a,selectedBlockClientId:l,blockType:s}})(function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,o=e.blockType,r=e.count,c=e.hasBlockStyles;if(r>1)return Object(Ut.createElement)(Ni,null);var l=n===Object(i.getUnregisteredTypeHandlerName)();return o&&t&&!l?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)("div",{className:"editor-block-inspector__card block-editor-block-inspector__card"},Object(Ut.createElement)(En,{icon:o.icon,showColors:!0}),Object(Ut.createElement)("div",{className:"editor-block-inspector__card-content block-editor-block-inspector__card-content"},Object(Ut.createElement)("div",{className:"editor-block-inspector__card-title block-editor-block-inspector__card-title"},o.title),Object(Ut.createElement)("div",{className:"editor-block-inspector__card-description block-editor-block-inspector__card-description"},o.description))),c&&Object(Ut.createElement)("div",null,Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Styles"),initialOpen:!1},Object(Ut.createElement)(xi,{clientId:t}))),Object(Ut.createElement)("div",null,Object(Ut.createElement)(Sr.Slot,null)),Object(Ut.createElement)("div",null,Object(Ut.createElement)(Or.Slot,null,function(e){return!Object(f.isEmpty)(e)&&Object(Ut.createElement)(Zt.PanelBody,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:Object(p.__)("Advanced"),initialOpen:!1},e)})),Object(Ut.createElement)(wi,{key:"back"})):Object(Ut.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},Object(p.__)("No block selected."))}),Ri=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,o=t.hasMultiSelection,r=t.clearSelectedBlock,i=n||o;e.target===this.container&&i&&r()}},{key:"render",value:function(){return Object(Ut.createElement)("div",Object(Ht.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(f.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(Ut.Component),Ai=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,o=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:o()}}),Object(a.withDispatch)(function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}})])(Ri);var Di=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlock,c=o.getBlockMode,l=r(n);return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null}}),Object(a.withDispatch)(function(e,t){var n=t.onToggle,o=void 0===n?f.noop:n,r=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(r),o()}}})])(function(e){var t=e.blockType,n=e.mode,o=e.onToggleMode,r=e.small,c=void 0!==r&&r;if(!Object(i.hasBlockSupport)(t,"html",!0))return null;var l="visual"===n?Object(p.__)("Edit as HTML"):Object(p.__)("Edit visually");return Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:o,icon:"html"},!c&&l)});var Pi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlocksByClientId,c=o.canInsertBlockType,l=e("core/editor").__experimentalGetReusableBlock,a=e("core").canUser,s=r(n),u=1===s.length&&s[0]&&Object(i.isReusableBlock)(s[0])&&!!l(s[0].attributes.ref);return{isReusable:u,isVisible:u||c("core/block")&&Object(f.every)(s,function(e){return!!e&&e.isValid&&Object(i.hasBlockSupport)(e.name,"reusable",!0)})&&!!a("create","blocks")}}),Object(a.withDispatch)(function(e,t){var n=t.clientIds,o=t.onToggle,r=void 0===o?f.noop:o,i=e("core/editor"),c=i.__experimentalConvertBlockToReusable,l=i.__experimentalConvertBlockToStatic;return{onConvertToStatic:function(){1===n.length&&(l(n[0]),r())},onConvertToReusable:function(){c(n),r()}}})])(function(e){var t=e.isVisible,n=e.isReusable,o=e.onConvertToStatic,r=e.onConvertToReusable;return t?Object(Ut.createElement)(Ut.Fragment,null,!n&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(p.__)("Add to Reusable Blocks")),n&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(p.__)("Convert to Regular Block"))):null});var Fi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock,r=e("core").canUser,c=e("core/editor").__experimentalGetReusableBlock,l=o(n),a=l&&Object(i.isReusableBlock)(l)?c(l.attributes.ref):null;return{isVisible:!!a&&!!r("delete","blocks",a.id),isDisabled:a&&a.isTemporary}}),Object(a.withDispatch)(function(e,t,n){var o=t.clientId,r=t.onToggle,i=void 0===r?f.noop:r,c=n.select,l=e("core/editor").__experimentalDeleteReusableBlock,a=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(p.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))){var e=a(o);l(e.attributes.ref),i()}}}})])(function(e){var t=e.isVisible,n=e.isDisabled,o=e.onDelete;return t?Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return o()}},Object(p.__)("Remove from Reusable Blocks")):null});function Hi(e){var t=e.shouldRender,n=e.onClick,o=e.small;if(!t)return null;var r=Object(p.__)("Convert to Blocks");return Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!o&&r)}var Ui=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock(n);return{block:o,shouldRender:o&&"core/html"===o.name}}),Object(a.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}}))(Hi),Vi=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock(n);return{block:o,shouldRender:o&&o.name===Object(i.getFreeformContentHandlerName)()}}),Object(a.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}}))(Hi),zi=Object(Zt.createSlotFill)("_BlockSettingsMenuFirstItem"),Ki=zi.Fill,Wi=zi.Slot;Ki.Slot=Wi;var Gi=Ki,qi=Object(Zt.createSlotFill)("_BlockSettingsMenuPluginsExtension"),Yi=qi.Fill,$i=qi.Slot;Yi.Slot=$i;var Xi=Yi;var Ji=Object(a.withDispatch)(function(e){var t=e("core/block-editor").selectBlock;return{onSelect:function(e){t(e)}}})(function(e){var t=e.clientIds,n=e.onSelect,o=Object(f.castArray)(t),r=o.length,i=o[0];return Object(Ut.createElement)(yi,{clientIds:t},function(e){var o=e.onDuplicate,c=e.onRemove,l=e.onInsertAfter,a=e.onInsertBefore,s=e.canDuplicate,u=e.isLocked;return Object(Ut.createElement)(Zt.Dropdown,{contentClassName:"editor-block-settings-menu__popover block-editor-block-settings-menu__popover",position:"bottom right",renderToggle:function(e){var t=e.onToggle,o=e.isOpen,c=zt()("editor-block-settings-menu__toggle block-editor-block-settings-menu__toggle",{"is-opened":o}),l=o?Object(p.__)("Hide options"):Object(p.__)("More options");return Object(Ut.createElement)(Zt.Toolbar,{controls:[{icon:"ellipsis",title:l,onClick:function(){1===r&&n(i),t()},className:c,extraProps:{"aria-expanded":o}}]})},renderContent:function(e){var n=e.onClose;return Object(Ut.createElement)(Zt.NavigableMenu,{className:"editor-block-settings-menu__content block-editor-block-settings-menu__content"},Object(Ut.createElement)(Gi.Slot,{fillProps:{onClose:n}}),1===r&&Object(Ut.createElement)(Vi,{clientId:i}),1===r&&Object(Ut.createElement)(Ui,{clientId:i}),!u&&s&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:o,icon:"admin-page",shortcut:Si.duplicate.display},Object(p.__)("Duplicate")),!u&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:a,icon:"insert-before",shortcut:Si.insertBefore.display},Object(p.__)("Insert Before")),Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:l,icon:"insert-after",shortcut:Si.insertAfter.display},Object(p.__)("Insert After"))),1===r&&Object(Ut.createElement)(Di,{clientId:i,onToggle:n}),Object(Ut.createElement)(Pi,{clientIds:t,onToggle:n}),Object(Ut.createElement)(Xi.Slot,{fillProps:{clientIds:t,onClose:n}}),Object(Ut.createElement)("div",{className:"editor-block-settings-menu__separator block-editor-block-settings-menu__separator"}),1===r&&Object(Ut.createElement)(Fi,{clientId:i,onToggle:n}),!u&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:c,icon:"trash",shortcut:Si.removeBlock.display},Object(p.__)("Remove Block")))}})})}),Zi=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,o=t.onTransform,r=t.inserterItems,c=t.hasBlockStyles,l=this.state.hoveredClassName;if(!n||!n.length)return null;var a,u=Object(f.mapKeys)(r,function(e){return e.name}),d=Object(f.orderBy)(Object(f.filter)(Object(i.getPossibleBlockTransformations)(n),function(e){return e&&!!u[e.name]}),function(e){return u[e.name].frecency},"desc");if(1===Object(f.uniq)(Object(f.map)(n,"name")).length){var b=n[0].name,h=Object(i.getBlockType)(b);a=h.icon}else a="layout";return c||d.length?Object(Ut.createElement)(Zt.Dropdown,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,o=e.isOpen,r=1===n.length?Object(p.__)("Change block type or style"):Object(p.sprintf)(Object(p._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(Ut.createElement)(Zt.Toolbar,null,Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":o,label:r,tooltip:r,onKeyDown:function(e){o||e.keyCode!==Cn.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(En,{icon:a,showColors:!0}),Object(Ut.createElement)(Zt.SVG,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var r=t.onClose;return Object(Ut.createElement)(Ut.Fragment,null,c&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Block Styles"),initialOpen:!0},Object(Ut.createElement)(xi,{clientId:n[0].clientId,onSwitch:r,onHoverClassName:e.onHoverClassName})),0!==d.length&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Transform To:"),initialOpen:!0},Object(Ut.createElement)(Fo,{items:d.map(function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(e.name)}}),onSelect:function(e){o(n,e.id),r()}})),null!==l&&Object(Ut.createElement)(Do,{name:n[0].name,attributes:Object(s.a)({},n[0].attributes,{className:l})}))}}):Object(Ut.createElement)(Zt.Toolbar,null,Object(Ut.createElement)(Zt.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:Object(p.__)("Block icon")},Object(Ut.createElement)(En,{icon:a,showColors:!0})))}}]),t}(Ut.Component),Qi=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlocksByClientId,i=o.getBlockRootClientId,c=o.getInserterItems,l=e("core/blocks").getBlockStyles,a=i(Object(f.first)(Object(f.castArray)(n))),s=r(n),u=s&&1===s.length?s[0]:null,d=u&&l(u.name);return{blocks:s,inserterItems:c(a),hasBlockStyles:d&&d.length>0}}),Object(a.withDispatch)(function(e,t){return{onTransform:function(n,o){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,o))}}}))(Zi);var ec=Object(a.withSelect)(function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}})(function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(Ut.createElement)(Qi,{key:"switcher",clientIds:n}):null});var tc=Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getBlockMode,r=t.getMultiSelectedBlockClientIds,i=t.isBlockValid,c=n();return{blockClientIds:c?[c]:r(),isValid:c?i(c):null,mode:c?o(c):null}})(function(e){var t=e.blockClientIds,n=e.isValid,o=e.mode;return 0===t.length?null:t.length>1?Object(Ut.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(Ut.createElement)(ec,null),Object(Ut.createElement)(Ji,{clientIds:t})):Object(Ut.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===o&&n&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Qi,{clientIds:t}),Object(Ut.createElement)(mn.Slot,null),Object(Ut.createElement)(Sn.Slot,null)),Object(Ut.createElement)(Ji,{clientIds:t}))});var nc=Object(Kt.compose)([Object(a.withDispatch)(function(e,t,n){var o=(0,n.select)("core/block-editor"),r=o.getBlocksByClientId,c=o.getMultiSelectedBlockClientIds,l=o.getSelectedBlockClientId,a=o.hasMultiSelection,s=e("core/block-editor").removeBlocks,u=function(e){var t=l()?[l()]:c();if(0!==t.length&&(a()||!Object(Jn.documentHasSelection)())){var n=Object(i.serialize)(r(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n),e.preventDefault()}};return{onCopy:u,onCut:function(e){if(u(e),a()){var t=l()?[l()]:c();s(t)}}}})])(function(e){var t=e.children,n=e.onCopy,o=e.onCut;return Object(Ut.createElement)("div",{onCopy:n,onCut:o},t)}),oc=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=or(e);if(t){var n=Object(Jn.getScrollContainer)(t);n&&Mo()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(Ut.Component),rc=Object(a.withSelect)(function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}})(oc),ic=[Cn.UP,Cn.RIGHT,Cn.DOWN,Cn.LEFT,Cn.ENTER,Cn.BACKSPACE];var cc=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(Jt.a)(Object(Jt.a)(e))),e.startTypingInTextField=e.startTypingInTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onKeyDown=Object(f.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var o=this.lastMouseMove,r=o.clientX,i=o.clientY;r===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===Cn.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,o=t.onStartTyping,r=e.type,i=e.target;n||!Object(Jn.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==r||function(e){var t=e.keyCode;return!e.shiftKey&&Object(f.includes)(ic,t)}(e))&&o()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout(function(){var n=t.props,o=n.isTyping,r=n.onStopTyping,i=e.target;o&&!Object(Jn.isTextField)(i)&&r()})}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(Ut.Component),lc=Object(Kt.compose)([Object(a.withSelect)(function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}}),Kt.withSafeTimeout])(cc),ac=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props,n=t.blockOrder,o=t.selectionStart;return n!==e.blockOrder&&o?this.getOffset(o):null}},{key:"componentDidUpdate",value:function(e,t,n){n&&this.restorePreviousOffset(n)}},{key:"getOffset",value:function(e){var t=or(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=or(this.props.selectionStart);if(t){var n=Object(Jn.getScrollContainer)(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(Ut.Component),sc=Object(a.withSelect)(function(e){return{blockOrder:e("core/block-editor").getBlockOrder(),selectionStart:e("core/block-editor").getBlockSelectionStart()}})(ac),uc=window.getSelection,dc=Object(f.overEvery)([Jn.isTextField,Jn.focus.tabbable.isTabbableIndex]);var bc=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(e))),e.bindContainer=e.bindContainer.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearVerticalRect=e.clearVerticalRect.bind(Object(Jt.a)(Object(Jt.a)(e))),e.focusLastTextField=e.focusLastTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.verticalRect=null,e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=Jn.focus.focusable.find(this.container);return t&&(n=Object(f.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(f.find)(n,function t(n,o,r){if(!Jn.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Jn.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=r[o+c])&&n.contains(i);c++)if(t(i,o+c,r))return!1;return!0})}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,o=t.selectionStartClientId,r=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,c=e?r:i;c&&this.props.onMultiSelect(o||n,c)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,o=t.selectedLastClientId,r=e?n:o;r&&this.props.onSelectBlock(r)}},{key:"isTabbableEdge",value:function(e,t){var n,o,r=this.getClosestTabbable(e,t);return!(r&&(n=e,o=r,n.closest("[data-block]")===o.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,o=t.onMultiSelect,r=t.blocks,i=t.selectionBeforeEndClientId,c=t.selectionAfterEndClientId,l=e.keyCode,a=e.target,s=l===Cn.UP,u=l===Cn.DOWN,d=l===Cn.LEFT,b=l===Cn.RIGHT,p=s||d,h=d||b,v=s||u,m=h||v,g=e.shiftKey,O=g||e.ctrlKey||e.altKey||e.metaKey,k=v?Jn.isVerticalEdge:Jn.isHorizontalEdge;if(!m)return Cn.isKeyboardEvent.primary(e)&&(this.isEntirelySelected=Object(Jn.isEntirelySelected)(a)),void(Cn.isKeyboardEvent.primary(e,"a")&&((a.isContentEditable?this.isEntirelySelected:Object(Jn.isEntirelySelected)(a))&&(o(Object(f.first)(r),Object(f.last)(r)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Cn.UP||t===Cn.DOWN)&&!n)return!0;var o=e.tagName;return"INPUT"!==o&&"TEXTAREA"!==o}(a,l,O))if(v?this.verticalRect||(this.verticalRect=Object(Jn.computeCaretRect)(a)):this.verticalRect=null,g)(p&&i||!p&&c)&&(n||this.isTabbableEdge(a,p)&&k(a,p))&&(this.expandSelection(p),e.preventDefault());else if(n)this.moveSelection(p),e.preventDefault();else if(v&&Object(Jn.isVerticalEdge)(a,p)){var j=this.getClosestTabbable(a,p);j&&(Object(Jn.placeCaretAtVerticalEdge)(j,p,this.verticalRect),e.preventDefault())}else if(h&&uc().isCollapsed&&Object(Jn.isHorizontalEdge)(a,p)){var y=this.getClosestTabbable(a,p);Object(Jn.placeCaretAtHorizontalEdge)(y,p),e.preventDefault()}}},{key:"focusLastTextField",value:function(){var e=Jn.focus.focusable.find(this.container),t=Object(f.findLast)(e,dc);t&&Object(Jn.placeCaretAtHorizontalEdge)(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)("div",{className:"editor-writing-flow block-editor-writing-flow"},Object(Ut.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(Ut.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect block-editor-writing-flow__click-redirect"}))}}]),t}(Ut.Component),fc=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getMultiSelectedBlocksStartClientId,r=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,l=t.getFirstMultiSelectedBlockClientId,a=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=n(),b=o(),f=r();return{selectedBlockClientId:d,selectionStartClientId:b,selectionBeforeEndClientId:i(f||d),selectionAfterEndClientId:c(f||d),selectedFirstClientId:l(),selectedLastClientId:a(),hasMultiSelection:s(),blocks:u()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}})])(bc),pc=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,o=t.updateSettings,r=t.value,i=t.resetBlocks,c=t.registry;n!==e.settings&&o(n),c!==e.registry&&this.attachChangeObserver(c),this.isSyncingOutcomingValue?this.isSyncingOutcomingValue=!1:r!==e.value&&(this.isSyncingIncomingValue=!0,i(r))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),o=n.getBlocks,r=n.isLastBlockChangePersistent,i=o(),c=r();this.unsubscribe=e.subscribe(function(){var e=t.props,n=e.onChange,l=e.onInput,a=o(),s=r();if(a!==i&&t.isSyncingIncomingValue)return t.isSyncingIncomingValue=!1,i=a,void(c=s);(a!==i||s&&!c)&&(i=a,c=s,t.isSyncingOutcomingValue=!0,c?n(i):l(i))})}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)(Zt.SlotFillProvider,null,Object(Ut.createElement)(Zt.DropZoneProvider,null,e))}}]),t}(Ut.Component),hc=Object(Kt.compose)([Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}}),a.withRegistry])(pc),vc=["left","center","right","wide","full"],mc=["wide","full"];function gc(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?vc:[],!o||!0===e&&!n?f.without.apply(void 0,[t].concat(mc)):t}var Oc=Object(Kt.createHigherOrderComponent)(function(e){return function(t){var n=t.name,o=gc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(Ut.createElement)(mn,{key:"align-controls"},Object(Ut.createElement)(bn,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(f.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(Ut.createElement)(e,Object(Ht.a)({key:"edit"},t))]}},"withToolbarControls"),kc=Object(Kt.createHigherOrderComponent)(Object(Kt.compose)([Object(a.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.name,o=t.attributes,r=t.hasWideEnabled,c=o.align,l=gc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),r),a=t.wrapperProps;return Object(f.includes)(l,c)&&(a=Object(s.a)({},a,{"data-align":c})),Object(Ut.createElement)(e,Object(Ht.a)({},t,{wrapperProps:a}))}}]));Object(Wt.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Object(f.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(f.assign)(e.attributes,{align:{type:"string"}})),e)}),Object(Wt.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",kc),Object(Wt.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Oc),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",function(e,t,n){var o=n.align,r=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(f.includes)(gc(r,c),o)&&(e.className=zt()("align".concat(o),e.className)),e});var jc=/[\s#]/g;var yc=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(e,t),Object(Ut.createElement)(Or,null,Object(Ut.createElement)(Zt.TextControl,{label:Object(p.__)("HTML Anchor"),help:Object(p.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(jc,"-"),t.setAttributes({anchor:e})}}))):Object(Ut.createElement)(e,t)}},"withInspectorControl");Object(Wt.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(f.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(Wt.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",yc),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e});var _c=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(e,t),Object(Ut.createElement)(Or,null,Object(Ut.createElement)(Zt.TextControl,{label:Object(p.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})}}))):Object(Ut.createElement)(e,t)}},"withInspectorControl");function Sc(e){e="
".concat(e,"
");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(Wt.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(f.assign)(e.attributes,{className:{type:"string"}})),e}),Object(Wt.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",_c),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=zt()(e.className,n.className)),e}),Object(Wt.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var o=Object(f.omit)(e,["className"]),r=Object(i.getSaveContent)(t,o),c=Sc(r),l=Sc(n),a=Object(f.difference)(l,c);a.length?e.className=a.join(" "):r&&delete e.className}return e}),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(f.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(d.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}),n.d(t,"Autocomplete",function(){return cn}),n.d(t,"AlignmentToolbar",function(){return an}),n.d(t,"BlockAlignmentToolbar",function(){return bn}),n.d(t,"BlockControls",function(){return mn}),n.d(t,"BlockEdit",function(){return On}),n.d(t,"BlockFormatControls",function(){return Sn}),n.d(t,"BlockNavigationDropdown",function(){return Bn}),n.d(t,"BlockIcon",function(){return En}),n.d(t,"ColorPalette",function(){return Ln}),n.d(t,"withColorContext",function(){return xn}),n.d(t,"ContrastChecker",function(){return Kn}),n.d(t,"InnerBlocks",function(){return pr}),n.d(t,"InspectorAdvancedControls",function(){return Or}),n.d(t,"InspectorControls",function(){return Sr}),n.d(t,"PanelColorSettings",function(){return Tr}),n.d(t,"PlainText",function(){return Br}),n.d(t,"RichText",function(){return si}),n.d(t,"RichTextShortcut",function(){return zr}),n.d(t,"RichTextToolbarButton",function(){return ei}),n.d(t,"UnstableRichTextInputEvent",function(){return ti}),n.d(t,"MediaPlaceholder",function(){return hi}),n.d(t,"MediaUpload",function(){return ui}),n.d(t,"MediaUploadCheck",function(){return co}),n.d(t,"URLInput",function(){return ki}),n.d(t,"URLInputButton",function(){return ji}),n.d(t,"URLPopover",function(){return di}),n.d(t,"BlockEditorKeyboardShortcuts",function(){return Ei}),n.d(t,"BlockInspector",function(){return Mi}),n.d(t,"BlockList",function(){return br}),n.d(t,"BlockMover",function(){return io}),n.d(t,"BlockSelectionClearer",function(){return Ai}),n.d(t,"BlockSettingsMenu",function(){return Ji}),n.d(t,"_BlockSettingsMenuFirstItem",function(){return Gi}),n.d(t,"_BlockSettingsMenuPluginsExtension",function(){return Xi}),n.d(t,"BlockTitle",function(){return So}),n.d(t,"BlockToolbar",function(){return tc}),n.d(t,"CopyHandler",function(){return nc}),n.d(t,"DefaultBlockAppender",function(){return sr}),n.d(t,"Inserter",function(){return qo}),n.d(t,"MultiBlocksSwitcher",function(){return ec}),n.d(t,"MultiSelectScrollIntoView",function(){return rc}),n.d(t,"NavigableToolbar",function(){return Bo}),n.d(t,"ObserveTyping",function(){return lc}),n.d(t,"PreserveScrollInReorder",function(){return sc}),n.d(t,"SkipToSelectedBlock",function(){return wi}),n.d(t,"Warning",function(){return so}),n.d(t,"WritingFlow",function(){return fc}),n.d(t,"BlockEditorProvider",function(){return hc}),n.d(t,"getColorClassName",function(){return Dn}),n.d(t,"getColorObjectByAttributeValues",function(){return Rn}),n.d(t,"getColorObjectByColorValue",function(){return An}),n.d(t,"createCustomColorsHOC",function(){return Vn}),n.d(t,"withColors",function(){return zn}),n.d(t,"getFontSize",function(){return Wn}),n.d(t,"getFontSizeClass",function(){return Gn}),n.d(t,"FontSizePicker",function(){return qn}),n.d(t,"withFontSizes",function(){return Yn}),n.d(t,"SETTINGS_DEFAULTS",function(){return v})},37:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},38:function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t){!function(){e.exports=this.wp.viewport}()},41:function(e,t,n){e.exports=function(e,t){var n,o,r,i=0;function c(){var t,c,l=o,a=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(c=0;c1&&(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=N(e,360),t=N(t,100),n=N(n,100),0===t)o=r=i=n;else{var l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;o=c(a,l,e+1/3),r=c(a,l,e),i=c(a,l,e-1/3)}return{r:255*o,g:255*r,b:255*i}}(e.h,o,a),d=!0,b="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,h;return n=L(n),{ok:d,format:e.format||b,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(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=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=l++}function f(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var o,r,i=u(e,t,n),c=s(e,t,n),l=(i+c)/2;if(i==c)o=r=0;else{var a=i-c;switch(r=l>.5?a/(2-i-c):a/(i+c),i){case e:o=(t-n)/a+(t>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(b(o));return i}function T(e,t){t=t||6;for(var n=b(e).toHsv(),o=n.h,r=n.s,i=n.v,c=[],l=1/t;t--;)c.push(b({h:o,s:r,v:i})),i=(i+l)%1;return c}b.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,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=a(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+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=a(360*e.h),n=a(100*e.s),o=a(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var i=[A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16)),A(P(o))];if(r&&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:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*N(this._r,255))+"%",g:a(100*N(this._g,255))+"%",b:a(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%)":"rgba("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=b(e);n="#"+v(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"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 b(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(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:D(e[o]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var o=b(e).toRgb(),r=b(t).toRgb(),i=n/100;return b({r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a})},b.readability=function(e,t){var n=b(e),o=b(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},b.isReadable=function(e,t,n){var o,r,i=b.readability(e,t);switch(r=!1,(o=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+o.size){case"AAsmall":case"AAAlarge":r=i>=4.5;break;case"AAlarge":r=i>=3;break;case"AAAsmall":r=i>=7}return r},b.mostReadable=function(e,t,n){var o,r,i,c,l=null,a=0;r=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sa&&(a=o,l=b(t[s]));return b.isReadable(e,l,{level:i,size:c})||!r?l:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var B=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(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=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function P(e){return r.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,U,V,z=(U="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",V="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+V),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!!z.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(o=function(){return b}.call(t,n,t,e))||(e.exports=o)}(Math)},48:function(e,t){!function(){e.exports=this.wp.a11y}()},49:function(e,t){!function(){e.exports=this.wp.deprecated}()},5:function(e,t){!function(){e.exports=this.wp.data}()},54:function(e,t,n){var o=function(){return this||"object"==typeof self&&self}()||Function("return this")(),r=o.regeneratorRuntime&&Object.getOwnPropertyNames(o).indexOf("regeneratorRuntime")>=0,i=r&&o.regeneratorRuntime;if(o.regeneratorRuntime=void 0,e.exports=n(55),r)o.regeneratorRuntime=i;else try{delete o.regeneratorRuntime}catch(e){o.regeneratorRuntime=void 0}},55:function(e,t){!function(t){"use strict";var n,o=Object.prototype,r=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag",s="object"==typeof e,u=t.regeneratorRuntime;if(u)s&&(e.exports=u);else{(u=t.regeneratorRuntime=s?e.exports:{}).wrap=k;var d="suspendedStart",b="suspendedYield",f="executing",p="completed",h={},v={};v[c]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==o&&r.call(g,c)&&(v=g);var O=S.prototype=y.prototype=Object.create(v);_.prototype=O.constructor=S,S.constructor=_,S[a]=_.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(O),e},u.awrap=function(e){return{__await:e}},C(E.prototype),E.prototype[l]=function(){return this},u.AsyncIterator=E,u.async=function(e,t,n,o){var r=new E(k(e,t,n,o));return u.isGeneratorFunction(t)?r:r.next().then(function(e){return e.done?e.value:r.next()})},C(O),O[a]="Generator",O[c]=function(){return this},O.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},u.values=x,B.prototype={constructor:B,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(o,r){return l.type="throw",l.arg=e,t.next=o,r&&(t.method="next",t.arg=n),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],l=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var a=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(a&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:x(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=n),h}}}function k(e,t,n,o){var r=t&&t.prototype instanceof y?t:y,i=Object.create(r.prototype),c=new B(o||[]);return i._invoke=function(e,t,n){var o=d;return function(r,i){if(o===f)throw new Error("Generator is already running");if(o===p){if("throw"===r)throw i;return L()}for(n.method=r,n.arg=i;;){var c=n.delegate;if(c){var l=w(c,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var a=j(e,t,n);if("normal"===a.type){if(o=n.done?p:b,a.arg===h)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(o=p,n.method="throw",n.arg=a.arg)}}}(e,n,c),i}function j(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function y(){}function _(){}function S(){}function C(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function E(e){var t;this._invoke=function(n,o){function i(){return new Promise(function(t,i){!function t(n,o,i,c){var l=j(e[n],e,o);if("throw"!==l.type){var a=l.arg,s=a.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,i,c)},function(e){t("throw",e,i,c)}):Promise.resolve(s).then(function(e){a.value=e,i(a)},function(e){return t("throw",e,i,c)})}c(l.arg)}(n,o,t,i)})}return t=t?t.then(i,i):i()}}function w(e,t){var o=e.iterator[t.method];if(o===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,w(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=j(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function x(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++oe.length?n:e}),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var b=t[c-1];return c>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[c-2].value+=b.value,t.pop()),t}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function c(e){return r?(setTimeout(function(){r(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,s=1,u=a+l,d=[{newPos:-1,components:[]}],b=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=a&&b+1>=l)return c([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*s;n<=s;n+=2){var r=void 0,u=d[n-1],b=d[n+1],f=(b?b.newPos:0)-n;u&&(d[n-1]=void 0);var p=u&&u.newPos+1=a&&f+1>=l)return c(o(i,r.components,t,e,i.useLongestToken));d[n]=r}else d[n]=void 0}var v;s++}if(r)!function e(){setTimeout(function(){if(s>u)return r();f()||e()},0)}();else for(;s<=u;){var p=f();if(p)return p}},pushComponent:function(e,t,n){var o=e[e.length-1];o&&o.added===t&&o.removed===n?e[e.length-1]={count:o.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,o){for(var r=t.length,i=n.length,c=e.newPos,a=c-o,l=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,r.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var o=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,o){return t===o},s=0,u=n.fuzzFactor||0,d=0,b=0,f=void 0,p=void 0;function h(e,t){for(var n=0;n0?r[0]:" ",c=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!l(t+1,o[t],i,c)&&++s>u)return!1;t++}}return!0}for(var v=0;v0?w[0]:" ",T=w.length>0?w.substr(1):w,B=S.linedelimiters[E];if(" "===I)C++;else if("-"===I)o.splice(C,1),i.splice(C,1);else if("+"===I)o.splice(C,0,T),i.splice(C,0,B),C++;else if("\\"===I){var x=S.lines[E-1]?S.lines[E-1][0]:null;"+"===x?f=!0:"-"===x&&(p=!0)}}}if(f)for(;!o[o.length-1];)o.pop(),i.pop();else p&&(o.push(""),i.push("\n"));for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),o=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],r=[],i=0;function c(){var e={};for(r.push(e);i0?u(a.lines.slice(-l.context)):[],b-=p.length,f-=p.length)}(c=p).push.apply(c,r(o.map(function(e){return(t.added?"+":"-")+e}))),t.added?v+=o.length:h+=o.length}else{if(b)if(o.length<=2*l.context&&e=s.length-2&&o.length<=l.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=o.length||j?j&&y||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),b=0,f=0,p=[]}h+=o.length,v+=o.length}},g=0;ge.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],o=0;o"):r.removed&&t.push(""),t.push(n(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")}}])},e.exports=o()},21:function(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},23:function(e,t,n){e.exports=n(54)},24:function(e,t){!function(){e.exports=this.wp.dom}()},25:function(e,t){!function(){e.exports=this.wp.url}()},26:function(e,t){!function(){e.exports=this.wp.hooks}()},27:function(e,t){!function(){e.exports=this.React}()},28:function(e,t,n){"use strict";var o=n(37);var r=n(38);function i(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(o=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==a.return||a.return()}finally{if(r)throw i}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return i})},3:function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},30:function(e,t,n){"use strict";var o,r;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o3&&void 0!==arguments[3]?arguments[3]:1,r=Object(d.a)(e);return r.splice(t,o),m(r,e.slice(t,t+o),n)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(b.a)({},t,[]);return e.forEach(function(e){var o=e.clientId,r=e.innerBlocks;n[t].push(o),Object.assign(n,O(r,o))}),n}function k(e,t){for(var n={},o=Object(d.a)(e);o.length;){var r=o.shift(),i=r.innerBlocks,c=Object(u.a)(r,["innerBlocks"]);o.push.apply(o,Object(d.a)(i)),n[c.clientId]=t(c)}return n}function j(e){return k(e,function(e){return Object(f.omit)(e,"attributes")})}function y(e){return k(e,function(e){return e.attributes})}function _(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,o=t.attributes,Object(f.isEqual)(Object(f.keys)(n),Object(f.keys)(o)));var n,o}var S=Object(f.flow)(l.combineReducers,function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var o=Object(d.a)(n.clientIds),r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(f.reduce)(t[n],function(n,o){return[].concat(Object(d.a)(n),[o],Object(d.a)(e(t,o)))},[])}(t.order);return Object(s.a)({},t,{byClientId:Object(s.a)({},Object(f.omit)(t.byClientId,o),j(n.blocks)),attributes:Object(s.a)({},Object(f.omit)(t.attributes,o),y(n.blocks)),order:Object(s.a)({},Object(f.omit)(t.order,o),O(n.blocks))})}return e(t,n)}},function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var o=n.id,r=n.updatedId;if(o===r)return t;(t=Object(s.a)({},t)).attributes=Object(f.mapValues)(t.attributes,function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===o?Object(s.a)({},e,{ref:r}):e})}return e(t,n)}},function(e){var t;return function(n,o){var r=e(n,o),i="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type;if(n===r&&!i){var c=Object(f.get)(n,["isPersistentChange"],!0);return n.isPersistentChange===c?n:Object(s.a)({},r,{isPersistentChange:c})}return r=Object(s.a)({},r,{isPersistentChange:i||!_(o,t)}),t=o,r}},function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,o){var r=e(n,o);return r!==n&&(r.isIgnoredChange=t.has(o.type)),r}})({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return j(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,j(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(f.omit)(t.updates,"attributes");return Object(f.isEmpty)(n)?e:Object(s.a)({},e,Object(b.a)({},t.clientId,Object(s.a)({},e[t.clientId],n)));case"INSERT_BLOCKS":return Object(s.a)({},e,j(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(s.a)({},Object(f.omit)(e,t.clientIds),j(t.blocks)):e;case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return y(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,y(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(s.a)({},e,Object(b.a)({},t.clientId,Object(s.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(f.reduce)(t.attributes,function(n,o,r){var i,c;return o!==n[r]&&((n=(i=e[t.clientId])===(c=n)?Object(s.a)({},i):c)[r]=o),n},e[t.clientId]);return n===e[t.clientId]?e:Object(s.a)({},e,Object(b.a)({},t.clientId,n));case"INSERT_BLOCKS":return Object(s.a)({},e,y(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(s.a)({},Object(f.omit)(e,t.clientIds),y(t.blocks)):e;case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return O(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,Object(f.omit)(O(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,o=void 0===n?"":n,r=e[o]||[],i=O(t.blocks,o),c=t.index,a=void 0===c?r.length:c;return Object(s.a)({},e,i,Object(b.a)({},o,m(r,i[o],a)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootClientId,p=void 0===u?"":u,h=t.toRootClientId,v=void 0===h?"":h,k=t.clientId,j=t.index,y=void 0===j?e[v].length:j;if(p===v){var _=e[v].indexOf(k);return Object(s.a)({},e,Object(b.a)({},v,g(e[v],_,y)))}return Object(s.a)({},e,(l={},Object(b.a)(l,p,Object(f.without)(e[p],k)),Object(b.a)(l,v,m(e[v],k,y)),l));case"MOVE_BLOCKS_UP":var S=t.clientIds,C=t.rootClientId,E=void 0===C?"":C,w=Object(f.first)(S),I=e[E];if(!I.length||w===Object(f.first)(I))return e;var T=I.indexOf(w);return Object(s.a)({},e,Object(b.a)({},E,g(I,T,T-1,S.length)));case"MOVE_BLOCKS_DOWN":var B=t.clientIds,x=t.rootClientId,L=void 0===x?"":x,N=Object(f.first)(B),M=Object(f.last)(B),R=e[L];if(!R.length||M===Object(f.last)(R))return e;var A=R.indexOf(N);return Object(s.a)({},e,Object(b.a)({},L,g(R,A,A+1,B.length)));case"REPLACE_BLOCKS":var D=t.clientIds;if(!t.blocks)return e;var P=O(t.blocks);return Object(f.flow)([function(e){return Object(f.omit)(e,D)},function(e){return Object(s.a)({},e,Object(f.omit)(P,""))},function(e){return Object(f.mapValues)(e,function(e){return Object(f.reduce)(e,function(e,t){return t===D[0]?[].concat(Object(d.a)(e),Object(d.a)(P[""])):(-1===D.indexOf(t)&&e.push(t),e)},[])})}])(e);case"REMOVE_BLOCKS":return Object(f.flow)([function(e){return Object(f.omit)(e,t.clientIds)},function(e){return Object(f.mapValues)(e,function(e){return f.without.apply(void 0,[e].concat(Object(d.a)(t.clientIds)))})}])(e)}return e}});var C=Object(l.combineReducers)({blocks:S,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return null!==e.start||null!==e.end||e.isMultiSelecting?Object(s.a)({},e,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:Object(s.a)({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?Object(s.a)({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return Object(s.a)({},e,{start:t.start,end:t.end,initialPosition:null});case"SELECT_BLOCK":return t.clientId===e.start&&t.clientId===e.end?e:Object(s.a)({},e,{start:t.clientId,end:t.clientId,initialPosition:t.initialPosition});case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?Object(s.a)({},e,{start:t.blocks[0].clientId,end:t.blocks[0].clientId,initialPosition:null,isMultiSelecting:!1}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start)?Object(s.a)({},e,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start))return e;var n=Object(f.last)(t.blocks),o=n?n.clientId:null;return o===e.start&&o===e.end?e:Object(s.a)({},e,{start:o,end:o,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return Object(s.a)({},e,{isEnabled:t.isSelectionEnabled})}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(s.a)({},e,Object(b.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(f.isEqual)(e[n],t.settings)?e:Object(s.a)({},e,Object(b.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(f.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(s.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(s.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce(function(e,n){var o=n.name,r={name:n.name};return Object(i.isReusableBlock)(n)&&(r.ref=n.attributes.ref,o+="/"+n.attributes.ref),Object(s.a)({},e,{insertUsage:Object(s.a)({},e.insertUsage,Object(b.a)({},o,{time:t.time,count:e.insertUsage[o]?e.insertUsage[o].count+1:1,insert:r}))})},e)}return e}}),E=n(70),w=n.n(E),I=n(97),T=n.n(I),B=n(28),x=n(48),L=n(23),N=n.n(L);function M(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function $(e){var t;return N.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,M("core/block-editor","getPreviousBlockClientId",e);case 2:return t=n.sent,n.next=5,Y(t,-1);case 5:case"end":return n.stop()}},D,this)}function X(e){var t;return N.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,M("core/block-editor","getNextBlockClientId",e);case 2:return t=n.sent,n.next=5,Y(t);case 5:case"end":return n.stop()}},P,this)}function J(){return{type:"START_MULTI_SELECT"}}function Z(){return{type:"STOP_MULTI_SELECT"}}function Q(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function ee(){return{type:"CLEAR_SELECTED_BLOCK"}}function te(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function ne(e,t){var n,o,r;return N.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return e=Object(f.castArray)(e),t=Object(f.castArray)(t),i.next=4,M("core/block-editor","getBlockRootClientId",Object(f.first)(e));case 4:n=i.sent,o=0;case 6:if(!(o3&&void 0!==arguments[3])||arguments[3])}function se(e,t,n){var o,r,i,c,a,l,s,u,d=arguments;return N.a.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:o=!(d.length>3&&void 0!==d[3])||d[3],e=Object(f.castArray)(e),r=[],i=!0,c=!1,a=void 0,b.prev=6,l=e[Symbol.iterator]();case 8:if(i=(s=l.next()).done){b.next=17;break}return u=s.value,b.next=12,M("core/block-editor","canInsertBlockType",u.name,n);case 12:b.sent&&r.push(u);case 14:i=!0,b.next=8;break;case 17:b.next=23;break;case 19:b.prev=19,b.t0=b.catch(6),c=!0,a=b.t0;case 23:b.prev=23,b.prev=24,i||null==l.return||l.return();case 26:if(b.prev=26,!c){b.next=29;break}throw a;case 29:return b.finish(26);case 30:return b.finish(23);case 31:if(!r.length){b.next=33;break}return b.abrupt("return",{type:"INSERT_BLOCKS",blocks:r,index:t,rootClientId:n,time:Date.now(),updateSelection:o});case 33:case"end":return b.stop()}},U,this,[[6,19,23,31],[24,,26,30]])}function ue(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function de(){return{type:"HIDE_INSERTION_POINT"}}function be(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function fe(){return{type:"SYNCHRONIZE_TEMPLATE"}}function pe(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function he(e){var t,n=arguments;return N.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(f.castArray)(e),!t){o.next=5;break}return o.next=5,$(e[0]);case 5:return o.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return o.delegateYield(z(),"t0",8);case 8:case"end":return o.stop()}},V,this)}function ve(e,t){return he([e],t)}function me(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function ge(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Oe(){return{type:"START_TYPING"}}function ke(){return{type:"STOP_TYPING"}}function je(){return{type:"ENTER_FORMATTED_TEXT"}}function ye(){return{type:"EXIT_FORMATTED_TEXT"}}function _e(e,t,n){return le(Object(i.createBlock)(Object(i.getDefaultBlockName)(),e),n,t)}function Se(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Ce(e){return{type:"UPDATE_SETTINGS",settings:e}}function Ee(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function we(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}var Ie=n(30),Te=3,Be=2,xe=1,Le=0,Ne=[],Me={},Re=Object(Ie.a)(function(){return[]},function(e,t){return Object(f.map)(ht(e,t),function(t){return Fe(e,t)})});function Ae(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function De(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}var Pe=Object(Ie.a)(function(e,t){var n=e.blocks.byClientId[t];if(!n)return null;var o=e.blocks.attributes[t],r=Object(i.getBlockType)(n.name);return r&&(o=Object(f.reduce)(r.attributes,function(t,n,r){return"meta"===n.source&&(t===o&&(t=Object(s.a)({},t)),t[r]=Vt(e,n.meta)),t},o)),o},function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t],Vt(e)]}),Fe=Object(Ie.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:Pe(e,t),innerBlocks:Ue(e,t)}):null},function(e,t){return[].concat(Object(d.a)(Pe.getDependants(e,t)),[Re(e,t)])}),He=Object(Ie.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:Pe(e,t)}):null},function(e,t){return[e.blocks.byClientId[t]].concat(Object(d.a)(Pe.getDependants(e,t)))}),Ue=Object(Ie.a)(function(e,t){return Object(f.map)(ht(e,t),function(t){return Fe(e,t)})},function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}),Ve=function e(t,n){return Object(f.flatMap)(n,function(n){var o=ht(t,n);return[].concat(Object(d.a)(o),Object(d.a)(e(t,o)))})},ze=Object(Ie.a)(function(e){var t=ht(e);return[].concat(Object(d.a)(t),Object(d.a)(Ve(e,t)))},function(e){return[e.blocks.order]}),Ke=Object(Ie.a)(function(e,t){var n=ze(e);return t?Object(f.reduce)(n,function(n,o){return e.blocks.byClientId[o].name===t?n+1:n},0):n.length},function(e){return[e.blocks.order,e.blocks.byClientId]}),We=Object(Ie.a)(function(e,t){return Object(f.map)(Object(f.castArray)(t),function(t){return Fe(e,t)})},function(e){return[Vt(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]});function Ge(e,t){return ht(e,t).length}function qe(e){return e.blockSelection.start}function Ye(e){return e.blockSelection.end}function $e(e){var t=it(e).length;return t||(e.blockSelection.start?1:0)}function Xe(e){var t=e.blockSelection,n=t.start,o=t.end;return!!n&&n===o}function Je(e){var t=e.blockSelection,n=t.start,o=t.end;return n&&n===o&&e.blocks.byClientId[n]?n:null}function Ze(e){var t=Je(e);return t?Fe(e,t):null}var Qe=Object(Ie.a)(function(e,t){var n=e.blocks.order;for(var o in n)if(Object(f.includes)(n[o],t))return o;return null},function(e){return[e.blocks.order]}),et=Object(Ie.a)(function(e,t){for(var n=t,o=t;n;)n=Qe(e,o=n);return o},function(e){return[e.blocks.order]});function tt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Je(e)),void 0===t&&(t=n<0?at(e):lt(e)),!t)return null;var o=Qe(e,t);if(null===o)return null;var r=e.blocks.order[o],i=r.indexOf(t)+1*n;return i<0?null:i===r.length?null:r[i]}function nt(e,t){return tt(e,t,-1)}function ot(e,t){return tt(e,t,1)}function rt(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?e.blockSelection.initialPosition:null}var it=Object(Ie.a)(function(e){var t=e.blockSelection,n=t.start,o=t.end;if(n===o)return[];var r=Qe(e,n);if(null===r)return[];var i=ht(e,r),c=i.indexOf(n),a=i.indexOf(o);return c>a?i.slice(a,c+1):i.slice(c,a+1)},function(e){return[e.blocks.order,e.blockSelection.start,e.blockSelection.end]}),ct=Object(Ie.a)(function(e){var t=it(e);return t.length?t.map(function(t){return Fe(e,t)}):Ne},function(e){return[].concat(Object(d.a)(it.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes,Vt(e)])});function at(e){return Object(f.first)(it(e))||null}function lt(e){return Object(f.last)(it(e))||null}var st=Object(Ie.a)(function(e,t,n){for(var o=n;t!==o&&o;)o=Qe(e,o);return t===o},function(e){return[e.blocks.order]});function ut(e,t){return at(e)===t}function dt(e,t){return-1!==it(e).indexOf(t)}var bt=Object(Ie.a)(function(e,t){for(var n=t,o=!1;n&&!o;)o=dt(e,n=Qe(e,n));return o},function(e){return[e.blocks.order,e.blockSelection.start,e.blockSelection.end]});function ft(e){var t=e.blockSelection,n=t.start;return n===t.end?null:n||null}function pt(e){var t=e.blockSelection,n=t.start,o=t.end;return n===o?null:o||null}function ht(e,t){return e.blocks.order[t||""]||Ne}function vt(e,t,n){return ht(e,n).indexOf(t)}function mt(e,t){var n=e.blockSelection,o=n.start;return o===n.end&&o===t}function gt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(f.some)(ht(e,t),function(t){return mt(e,t)||dt(e,t)||n&>(e,t,n)})}function Ot(e,t){if(!t)return!1;var n=it(e),o=n.indexOf(t);return o>-1&&o2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(f.isBoolean)(e)?e:Object(f.isArray)(e)?Object(f.includes)(e,t):n},r=Object(i.getBlockType)(t);if(!r)return!1;if(!o(Ft(e).allowedBlockTypes,t,!0))return!1;if(!!Bt(e,n))return!1;var c=Pt(e,n),a=o(Object(f.get)(c,["allowedBlocks"]),t),l=o(r.parent,Ae(e,n));return null!==a&&null!==l?a||l:null!==a?a:null===l||l},Lt=Object(Ie.a)(xt,function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]});function Nt(e,t){return e.preferences.insertUsage[t]||null}var Mt=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&xt(e,t.name,n)},Rt=function(e,t,n){if(!xt(e,"core/block",n))return!1;var o=Ae(e,t.clientId);return!!o&&(!!Object(i.getBlockType)(o)&&(!!xt(e,o,n)&&!st(e,t.clientId,n)))},At=Object(Ie.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?Te:t>0?Be:"common"===e?xe:Le},o=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},r=Object(i.getBlockTypes)().filter(function(n){return Mt(e,n,t)}).map(function(t){var r=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(f.some)(We(e,ze(e)),{name:t.name}));var a=Object(f.isArray)(t.parent),l=Nt(e,r)||{},s=l.time,u=l.count,d=void 0===u?0:u;return{id:r,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,a),frecency:o(s,d),hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(t.name)}}),c=zt(e).filter(function(n){return Rt(e,n,t)}).map(function(t){var r="core/block/".concat(t.id),c=Ae(e,t.clientId),a=Object(i.getBlockType)(c),l=Nt(e,r)||{},s=l.time,u=l.count,d=void 0===u?0:u,b=n("reusable",d,!1),f=o(s,d);return{id:r,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:a.icon,category:"reusable",keywords:[],isDisabled:!1,utility:b,frecency:f}});return Object(f.orderBy)([].concat(Object(d.a)(r),Object(d.a)(c)),["utility","frecency"],["desc","desc"])},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,zt(e),Object(i.getBlockTypes)()]}),Dt=Object(Ie.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!Object(f.some)(Object(i.getBlockTypes)(),function(n){return Mt(e,n,t)})||Object(f.some)(zt(e),function(n){return Rt(e,n,t)})},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,zt(e),Object(i.getBlockTypes)()]});function Pt(e,t){return e.blockListSettings[t]}function Ft(e){return e.settings}function Ht(e){return e.blocks.isPersistentChange}function Ut(e){return e.blocks.isIgnoredChange}function Vt(e,t){return void 0===t?Object(f.get)(e,["settings","__experimentalMetaSource","value"],Me):Object(f.get)(e,["settings","__experimentalMetaSource","value",t])}function zt(e){return Object(f.get)(e,["settings","__experimentalReusableBlocks"],Ne)}var Kt={MERGE_BLOCKS:function(e,t){var n=t.dispatch,o=t.getState(),r=Object(B.a)(e.blocks,2),c=r[0],a=r[1],l=Fe(o,c),u=Object(i.getBlockType)(l.name);if(u.merge){var b=Fe(o,a),f=l.name===b.name?[b]:Object(i.switchToBlockType)(b,l.name);if(f&&f.length){var p=u.merge(l.attributes,f[0].attributes);n(Y(l.clientId,-1)),n(ne([l.clientId,b.clientId],[Object(s.a)({},l,{attributes:Object(s.a)({},l.attributes,p)})].concat(Object(d.a)(f.slice(1)))))}}else n(Y(l.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),o=Tt(n),r=Bt(n),c=!o||"all"!==r||Object(i.doBlocksMatchTemplate)(e.blocks,o);if(c!==It(n))return be(c)}],MULTI_SELECT:function(e,t){var n=$e((0,t.getState)());Object(x.speak)(Object(p.sprintf)(Object(p._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),o=Ue(n),r=Tt(n);return K(Object(i.synchronizeBlocksWithTemplate)(o,r))}};var Wt=function(e){var t,n=[w()(Kt),T.a],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map(function(e){return e(r)}),o=f.flowRight.apply(void 0,Object(d.a)(t))(e.dispatch),e.dispatch=o,e},Gt=Object(l.registerStore)("core/block-editor",{reducer:C,selectors:r,actions:o,controls:R,persist:["preferences"]});Wt(Gt);var qt=n(19),Yt=n(0),$t=n(16),Xt=n.n($t),Jt=n(6),Zt=n(26),Qt=n(10),en=n(9),tn=n(11),nn=n(12),on=n(13),rn=n(3),cn=n(4),an=Object(Yt.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:f.noop,clientId:null}),ln=an.Consumer,sn=an.Provider,un=function(e){return Object(Jt.createHigherOrderComponent)(function(t){return function(n){return Object(Yt.createElement)(ln,null,function(o){return Object(Yt.createElement)(t,Object(qt.a)({},n,e(o,n)))})}},"withBlockEditContext")},dn=Object(Jt.createHigherOrderComponent)(function(e){return function(t){return Object(Yt.createElement)(ln,null,function(n){return n.isSelected&&Object(Yt.createElement)(e,t)})}},"ifBlockEditSelected"),bn=[];var fn=Object(Jt.compose)([un(function(e){return{blockName:e.name}}),function(e){return function(t){function n(){var e;return Object(Qt.a)(this,n),(e=Object(tn.a)(this,Object(nn.a)(n).call(this))).state={completers:bn},e.saveParentRef=e.saveParentRef.bind(Object(rn.a)(Object(rn.a)(e))),e.onFocus=e.onFocus.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(n,t),Object(en.a)(n,[{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,t=e.blockName,n=e.completers,o=n;Object(Zt.hasFilter)("editor.Autocomplete.completers")&&(n=Object(Zt.applyFilters)("editor.Autocomplete.completers",n&&n.map(f.clone),t)),this.setState({lastFilteredCompletersProp:o,completers:n||bn})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=Object(s.a)({},this.props,{completers:t});return Object(Yt.createElement)("div",{onFocus:this.onFocus,ref:this.saveParentRef},Object(Yt.createElement)(e,Object(qt.a)({onFocus:this.onFocus},n)))}}]),n}(Yt.Component)}])(cn.Autocomplete),pn=[{icon:"editor-alignleft",title:Object(p.__)("Align text left"),align:"left"},{icon:"editor-aligncenter",title:Object(p.__)("Align text center"),align:"center"},{icon:"editor-alignright",title:Object(p.__)("Align text right"),align:"right"}];var hn=Object(Jt.compose)(un(function(e){return{clientId:e.clientId}}),Object(a.withViewportMatch)({isLargeViewport:"medium"}),Object(l.withSelect)(function(e,t){var n=t.clientId,o=t.isLargeViewport,r=t.isCollapsed,i=e("core/block-editor"),c=i.getBlockRootClientId,a=i.getSettings;return{isCollapsed:r||!o||!a().hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,o=e.onChange,r=e.alignmentControls,i=void 0===r?pn:r;function c(e){return function(){return o(n===e?void 0:e)}}var a=Object(f.find)(i,function(e){return e.align===n});return Object(Yt.createElement)(cn.Toolbar,{isCollapsed:t,icon:a?a.icon:"editor-alignleft",label:Object(p.__)("Change Text Alignment"),controls:i.map(function(e){var t=e.align,o=n===t;return Object(s.a)({},e,{isActive:o,onClick:c(t)})})})}),vn={left:{icon:"align-left",title:Object(p.__)("Align left")},center:{icon:"align-center",title:Object(p.__)("Align center")},right:{icon:"align-right",title:Object(p.__)("Align right")},wide:{icon:"align-wide",title:Object(p.__)("Wide width")},full:{icon:"align-full-width",title:Object(p.__)("Full width")}},mn=["left","center","right","wide","full"],gn=["wide","full"];var On=Object(Jt.compose)(un(function(e){return{clientId:e.clientId}}),Object(a.withViewportMatch)({isLargeViewport:"medium"}),Object(l.withSelect)(function(e,t){var n=t.clientId,o=t.isLargeViewport,r=t.isCollapsed,i=e("core/block-editor"),c=i.getBlockRootClientId,a=(0,i.getSettings)();return{wideControlsEnabled:a.alignWide,isCollapsed:r||!o||!a.hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,o=e.onChange,r=e.controls,i=void 0===r?mn:r,c=e.wideControlsEnabled,a=void 0!==c&&c?i:i.filter(function(e){return-1===gn.indexOf(e)}),l=vn[n];return Object(Yt.createElement)(cn.Toolbar,{isCollapsed:t,icon:l?l.icon:"align-left",label:Object(p.__)("Change Alignment"),controls:a.map(function(e){return Object(s.a)({},vn[e],{isActive:n===e,onClick:(t=e,function(){return o(n===t?void 0:t)})});var t})})}),kn=Object(cn.createSlotFill)("BlockControls"),jn=kn.Fill,yn=kn.Slot,_n=dn(function(e){var t=e.controls,n=e.children;return Object(Yt.createElement)(jn,null,Object(Yt.createElement)(cn.Toolbar,{controls:t}),n)});_n.Slot=yn;var Sn=_n,Cn=Object(cn.withFilters)("editor.BlockEdit")(function(e){var t=e.attributes,n=void 0===t?{}:t,o=e.name,r=Object(i.getBlockType)(o);if(!r)return null;var c=Object(i.hasBlockSupport)(r,"className",!0)?Object(i.getBlockDefaultClassName)(o):null,a=Xt()(c,n.className),l=r.edit||r.save;return Object(Yt.createElement)(l,Object(qt.a)({},e,{className:a}))}),En=function(e){function t(e){var n;return Object(Qt.a)(this,t),(n=Object(tn.a)(this,Object(nn.a)(t).call(this,e))).setFocusedElement=n.setFocusedElement.bind(Object(rn.a)(Object(rn.a)(n))),n.state={focusedElement:null,setFocusedElement:n.setFocusedElement},n}return Object(on.a)(t,e),Object(en.a)(t,[{key:"setFocusedElement",value:function(e){this.setState(function(t){return t.focusedElement===e?null:{focusedElement:e}})}},{key:"render",value:function(){return Object(Yt.createElement)(sn,{value:this.state},Object(Yt.createElement)(Cn,this.props))}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.clientId;return{name:e.name,isSelected:e.isSelected,clientId:t}}}]),t}(Yt.Component),wn=Object(cn.createSlotFill)("BlockFormatControls"),In=wn.Fill,Tn=wn.Slot,Bn=dn(In);Bn.Slot=Tn;var xn=Bn,Ln=n(18);function Nn(e){var t=e.icon,n=e.showColors,o=void 0!==n&&n,r=e.className;"block-default"===Object(f.get)(t,["src"])&&(t={src:Object(Yt.createElement)(cn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Yt.createElement)(cn.Path,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(Yt.createElement)(cn.Icon,{icon:t&&t.src?t.src:t}),c=o?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(Yt.createElement)("span",{style:c,className:Xt()("editor-block-icon block-editor-block-icon",r,{"has-colors":o})},i)}function Mn(e){var t=e.blocks,n=e.selectedBlockClientId,o=e.selectBlock,r=e.showNestedBlocks;return Object(Yt.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(f.map)(t,function(e){var t=Object(i.getBlockType)(e.name),c=e.clientId===n;return Object(Yt.createElement)("li",{key:e.clientId},Object(Yt.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(Yt.createElement)(cn.Button,{className:Xt()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":c}),onClick:function(){return o(e.clientId)}},Object(Yt.createElement)(Nn,{icon:t.icon,showColors:!0}),t.title,c&&Object(Yt.createElement)("span",{className:"screen-reader-text"},Object(p.__)("(selected block)")))),r&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(Yt.createElement)(Mn,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:o,showNestedBlocks:!0}))}))}var Rn=Object(Jt.compose)(Object(l.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getBlockHierarchyRootClientId,r=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?r(o(c)):null,selectedBlockClientId:c}}),Object(l.withDispatch)(function(e,t){var n=t.onSelect,o=void 0===n?f.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),o(t)}}}))(function(e){var t=e.rootBlock,n=e.rootBlocks,o=e.selectedBlockClientId,r=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==o||t.innerBlocks&&0!==t.innerBlocks.length);return Object(Yt.createElement)(cn.NavigableMenu,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(Yt.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},Object(p.__)("Block Navigation")),i&&Object(Yt.createElement)(Mn,{blocks:[t],selectedBlockClientId:o,selectBlock:r,showNestedBlocks:!0}),!i&&Object(Yt.createElement)(Mn,{blocks:n,selectedBlockClientId:o,selectBlock:r}))}),An=Object(Yt.createElement)(cn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(Yt.createElement)(cn.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var Dn=Object(l.withSelect)(function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}})(function(e){var t=e.hasBlocks,n=e.isDisabled,o=t&&!n;return Object(Yt.createElement)(cn.Dropdown,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(Yt.createElement)(Yt.Fragment,null,o&&Object(Yt.createElement)(cn.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Ln.rawShortcut.access("o"),n)}),Object(Yt.createElement)(cn.IconButton,{icon:An,"aria-expanded":t,onClick:o?n:void 0,label:Object(p.__)("Block Navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Ln.displayShortcut.access("o"),"aria-disabled":!o}))},renderContent:function(e){var t=e.onClose;return Object(Yt.createElement)(Rn,{onSelect:t})}})}),Pn=Object(Jt.createHigherOrderComponent)(Object(l.withSelect)(function(e,t){var n=e("core/block-editor").getSettings(),o=void 0===t.colors?n.colors:t.colors,r=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:o,disableCustomColors:r,hasColorsToChoose:!Object(f.isEmpty)(o)||!r}}),"withColorContext"),Fn=Pn(cn.ColorPalette),Hn=n(45),Un=n.n(Hn),Vn=function(e,t,n){if(t){var o=Object(f.find)(e,{slug:t});if(o)return o}return{color:n}},zn=function(e,t){return Object(f.find)(e,{color:t})};function Kn(e,t){if(e&&t)return"has-".concat(Object(f.kebabCase)(t),"-").concat(e)}var Wn=[],Gn=function(e){return Object(Jt.createHigherOrderComponent)(function(t){return function(n){return Object(Yt.createElement)(t,Object(qt.a)({},n,{colors:e}))}},"withCustomColorPalette")},qn=function(){return Object(l.withSelect)(function(e){var t=e("core/block-editor").getSettings();return{colors:Object(f.get)(t,["colors"],Wn)}})};function Yn(e,t){var n=Object(f.reduce)(e,function(e,t){return Object(s.a)({},e,Object(f.isString)(t)?Object(b.a)({},t,Object(f.kebabCase)(t)):t)},{});return Object(Jt.compose)([t,function(e){return function(t){function o(e){var t;return Object(Qt.a)(this,o),(t=Object(tn.a)(this,Object(nn.a)(o).call(this,e))).setters=t.createSetters(),t.colorUtils={getMostReadableColor:t.getMostReadableColor.bind(Object(rn.a)(Object(rn.a)(t)))},t.state={},t}return Object(on.a)(o,t),Object(en.a)(o,[{key:"getMostReadableColor",value:function(e){return function(e,t){return Un.a.mostReadable(t,Object(f.map)(e,"color")).toHexString()}(this.props.colors,e)}},{key:"createSetters",value:function(){var e=this;return Object(f.reduce)(n,function(t,n,o){var r=Object(f.upperFirst)(o),i="custom".concat(r);return t["set".concat(r)]=e.createSetColor(o,i),t},{})}},{key:"createSetColor",value:function(e,t){var n=this;return function(o){var r,i=zn(n.props.colors,o);n.props.setAttributes((r={},Object(b.a)(r,e,i&&i.slug?i.slug:void 0),Object(b.a)(r,t,i&&i.slug?void 0:o),r))}}},{key:"render",value:function(){return Object(Yt.createElement)(e,Object(s.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var o=e.attributes,r=e.colors;return Object(f.reduce)(n,function(e,n,i){var c=Vn(r,o[i],o["custom".concat(Object(f.upperFirst)(i))]),a=t[i];return Object(f.get)(a,["color"])===c.color&&a?e[i]=a:e[i]=Object(s.a)({},c,{class:Kn(n,c.slug)}),e},{})}}]),o}(Yt.Component)}])}function $n(e){return function(){for(var t=Gn(e),n=arguments.length,o=new Array(n),r=0;r=24?"large":"small"}))return null;var s=a.getBrightness()1?function(e,t,n,o,r){var i=t+1;if(r<0&&n)return Object(p.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return Object(p.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return Object(p.sprintf)(Object(p._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(r>0&&!o)return Object(p.sprintf)(Object(p._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,o,r,i):o&&r?Object(p.sprintf)(Object(p.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!r?Object(p.sprintf)(Object(p.__)("Move %1$s block from position %2$d down to position %3$d"),t,c,c+1):i>0&&r?Object(p.sprintf)(Object(p.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!o?Object(p.sprintf)(Object(p.__)("Move %1$s block from position %2$d up to position %3$d"),t,c,c-1):i<0&&o?Object(p.sprintf)(Object(p.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var co=Object(Yt.createElement)(cn.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Yt.createElement)(cn.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),ao=Object(Yt.createElement)(cn.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Yt.createElement)(cn.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),lo=Object(Yt.createElement)(cn.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Yt.createElement)(cn.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),so=Object(l.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlockIndex,i=(0,o.getBlockRootClientId)(n);return{index:r(n,i),rootClientId:i}})(function(e){var t=e.children,n=e.clientId,o=e.rootClientId,r=e.blockElementId,i=e.index,c=e.onDragStart,a=e.onDragEnd,l={type:"block",srcIndex:i,srcRootClientId:o,srcClientId:n};return Object(Yt.createElement)(cn.Draggable,{elementId:r,transferData:l,onDragStart:c,onDragEnd:a},function(e){var n=e.onDraggableStart,o=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:o})})}),uo=function(e){var t=e.isVisible,n=e.className,o=e.icon,r=e.onDragStart,i=e.onDragEnd,c=e.blockElementId,a=e.clientId;if(!t)return null;var l=Xt()("editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle",n);return Object(Yt.createElement)(so,{clientId:a,blockElementId:c,onDragStart:r,onDragEnd:i},function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(Yt.createElement)("div",{className:l,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},o)})},bo=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(rn.a)(Object(rn.a)(e))),e.onBlur=e.onBlur.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,o=e.isFirst,r=e.isLast,i=e.isDraggable,c=e.onDragStart,a=e.onDragEnd,l=e.clientIds,s=e.blockElementId,u=e.blockType,d=e.firstIndex,b=e.isLocked,h=e.instanceId,v=e.isHidden,m=this.state.isFocused,g=Object(f.castArray)(l).length;return b||o&&r?null:Object(Yt.createElement)("div",{className:Xt()("editor-block-mover block-editor-block-mover",{"is-visible":m||!v})},Object(Yt.createElement)(cn.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:o?null:t,icon:co,label:Object(p.__)("Move up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(h),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(Yt.createElement)(uo,{className:"editor-block-mover__control block-editor-block-mover__control",icon:lo,clientId:l,blockElementId:s,isVisible:i,onDragStart:c,onDragEnd:a}),Object(Yt.createElement)(cn.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:r?null:n,icon:ao,label:Object(p.__)("Move down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(h),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(Yt.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},io(g,u&&u.title,d,o,r,-1)),Object(Yt.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},io(g,u&&u.title,d,o,r,1)))}}]),t}(Yt.Component),fo=Object(Jt.compose)(Object(l.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlock,c=o.getBlockIndex,a=o.getTemplateLock,l=o.getBlockRootClientId,s=Object(f.first)(Object(f.castArray)(n)),u=r(s),d=l(Object(f.first)(Object(f.castArray)(n)));return{firstIndex:c(s,d),blockType:u?Object(i.getBlockType)(u.name):null,isLocked:"all"===a(d),rootClientId:d}}),Object(l.withDispatch)(function(e,t){var n=t.clientIds,o=t.rootClientId,r=e("core/block-editor"),i=r.moveBlocksDown,c=r.moveBlocksUp;return{onMoveDown:Object(f.partial)(i,n,o),onMoveUp:Object(f.partial)(c,n,o)}}),Jt.withInstanceId)(bo);var po=Object(l.withSelect)(function(e){var t=e("core").canUser;return{hasUploadPermissions:Object(f.defaultTo)(t("create","media"),!0)}})(function(e){var t=e.hasUploadPermissions,n=e.fallback,o=void 0===n?null:n,r=e.children;return t?r:o}),ho=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(Object(rn.a)(Object(rn.a)(e))),e.onHTMLDrop=e.onHTMLDrop.bind(Object(rn.a)(Object(rn.a)(e))),e.onDrop=e.onDrop.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"getInsertIndex",value:function(e){var t=this.props,n=t.clientId,o=t.rootClientId,r=t.getBlockIndex;if(void 0!==n){var i=r(n,o);return"top"===e.y?i:i+1}}},{key:"onFilesDrop",value:function(e,t){var n=Object(i.findTransform)(Object(i.getBlockTransforms)("from"),function(t){return"files"===t.type&&t.isMatch(e)});if(n){var o=this.getInsertIndex(t),r=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(r,o)}}},{key:"onHTMLDrop",value:function(e,t){var n=Object(i.pasteHandler)({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,o=n.rootClientId,r=n.clientId,i=n.getClientIdsOfDescendants,c=n.getBlockIndex,a=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(e),l=a.srcRootClientId,s=a.srcClientId,u=a.srcIndex,d=a.type;if("block"===d&&s!==r&&!function(e,t){return i([e]).some(function(e){return e===t})}(s,r||o)){var b,f,p=r?c(r,o):void 0,h=this.getInsertIndex(t),v=p&&u0&&Object(Yt.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},Yt.Children.map(n,function(e,t){return Object(Yt.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)}))),r&&Object(Yt.createElement)(cn.Dropdown,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(Yt.createElement)(cn.IconButton,{icon:"ellipsis",label:Object(p.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(Yt.createElement)(cn.MenuGroup,null,r.map(function(e,t){return Object(Yt.createElement)(cn.MenuItem,{onClick:e.onClick,key:t},e.title)}))}}))},go=n(207),Oo=function(e){var t=e.title,n=e.rawContent,o=e.renderedContent,r=e.action,i=e.actionText,c=e.className;return Object(Yt.createElement)("div",{className:c},Object(Yt.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(Yt.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(Yt.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(Yt.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},o)),Object(Yt.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(Yt.createElement)(cn.Button,{isLarge:!0,tabIndex:"0",onClick:r},i)))},ko=function(e){function t(){return Object(Qt.a)(this,t),Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))}return Object(on.a)(t,e),Object(en.a)(t,[{key:"getDifference",value:function(e,t){return Object(go.diffChars)(e,t).map(function(e,t){var n=Xt()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(Yt.createElement)("span",{key:t,className:n},e.value)})}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(f.castArray)(e),n=t.map(function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)}),o=t.map(function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)});return{rawContent:n.join(""),renderedContent:o}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,o=e.onConvert,r=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(r(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(Yt.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(Yt.createElement)(Oo,{title:Object(p.__)("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:Object(p.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(Yt.createElement)(Oo,{title:Object(p.__)("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:o,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(Yt.Component),jo=function(e){function t(e){var n;return Object(Qt.a)(this,t),(n=Object(tn.a)(this,Object(nn.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(rn.a)(Object(rn.a)(n))),n.onCompareClose=n.onCompareClose.bind(Object(rn.a)(Object(rn.a)(n))),n}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,o=e.convertToClassic,r=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(p.__)("Convert to Classic Block"),onClick:o},{title:Object(p.__)("Attempt Block Recovery"),onClick:r}];return l?Object(Yt.createElement)(cn.Modal,{title:Object(p.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(Yt.createElement)(ko,{block:c,onKeep:t,onConvert:n,convertor:yo,convertButtonText:Object(p.__)("Convert to Blocks")})):Object(Yt.createElement)(mo,{actions:[Object(Yt.createElement)(cn.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!a},Object(p._x)("Resolve","imperative verb")),a&&Object(Yt.createElement)(cn.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(p.__)("Convert to HTML"))],secondaryActions:s},Object(p.__)("This block contains unexpected or invalid content."))}}]),t}(Yt.Component),yo=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},_o=Object(Jt.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}}),Object(l.withDispatch)(function(e,t){var n=t.block,o=e("core/block-editor").replaceBlock;return{convertToClassic:function(){o(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){o(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){o(n.clientId,yo(n))},attemptBlockRecovery:function(){var e,t,r,c;o(n.clientId,(t=(e=n).name,r=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,r,c)))}}})])(jo),So=Object(Yt.createElement)(mo,null,Object(p.__)("This block has encountered an error and cannot be previewed.")),Co=function(){return So},Eo=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(Yt.Component),wo=n(61),Io=n.n(wo),To=function(e){function t(e){var n;return Object(Qt.a)(this,t),(n=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(rn.a)(Object(rn.a)(n))),n.onBlur=n.onBlur.bind(Object(rn.a)(Object(rn.a)(n))),n.state={html:e.block.isValid?Object(i.getBlockContent)(e.block):e.block.originalContent},n}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentDidUpdate",value:function(e){Object(f.isEqual)(this.props.block.attributes,e.block.attributes)||this.setState({html:Object(i.getBlockContent)(this.props.block)})}},{key:"onBlur",value:function(){var e=this.state.html,t=Object(i.getBlockType)(this.props.block.name),n=Object(i.getBlockAttributes)(t,e,this.props.block.attributes),o=e||Object(i.getSaveContent)(t,n),r=!e||Object(i.isValidBlockContent)(t,n,o);this.props.onChange(this.props.clientId,n,o,r),e||this.setState({html:o})}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return Object(Yt.createElement)(Io.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(Yt.Component),Bo=Object(Jt.compose)([Object(l.withSelect)(function(e,t){return{block:e("core/block-editor").getBlock(t.clientId)}}),Object(l.withDispatch)(function(e){return{onChange:function(t,n,o,r){e("core/block-editor").updateBlock(t,{attributes:n,originalContent:o,isValid:r})}}})])(To);var xo=Object(l.withSelect)(function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}})(function(e){var t=e.name;if(!t)return null;var n=Object(i.getBlockType)(t);return n?n.title:null}),Lo=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(rn.a)(Object(rn.a)(e))),e.onBlur=e.onBlur.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(Yt.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(Yt.createElement)(cn.Toolbar,null,n&&Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(xo,{clientId:n}),Object(Yt.createElement)("span",{className:"editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow"})),Object(Yt.createElement)(xo,{clientId:t})))}}]),t}(Yt.Component),No=Object(Jt.compose)([Object(l.withSelect)(function(e,t){return{rootClientId:(0,e("core/block-editor").getBlockRootClientId)(t.clientId)}})])(Lo),Mo=window,Ro=Mo.Node,Ao=Mo.getSelection,Do=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(rn.a)(Object(rn.a)(e))),e.focusSelection=e.focusSelection.bind(Object(rn.a)(Object(rn.a)(e))),e.switchOnKeyDown=Object(f.cond)([[Object(f.matchesProperty)(["keyCode"],Ln.ESCAPE),e.focusSelection]]),e.toolbar=Object(Yt.createRef)(),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"focusToolbar",value:function(){var e=ro.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=Ao();if(e){var t=e.focusNode;t.nodeType!==Ro.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(u.a)(e,["children"]);return Object(Yt.createElement)(cn.NavigableMenu,Object(qt.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(f.omit)(n,["focusOnMount"])),Object(Yt.createElement)(cn.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(Yt.Component);var Po=function(e){var t=e.focusOnMount;return Object(Yt.createElement)(Do,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":Object(p.__)("Block tools")},Object(Yt.createElement)(lc,null))};var Fo=Object(l.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getMultiSelectedBlockClientIds,i=o.isMultiSelecting,c=o.getBlockIndex,a=o.getBlockCount,l=r(),s=c(Object(f.first)(l),n),u=c(Object(f.last)(l),n);return{multiSelectedBlockClientIds:l,isSelecting:i(),isFirst:0===s,isLast:u+1===a()}})(function(e){var t=e.multiSelectedBlockClientIds,n=e.clientId,o=e.isSelecting,r=e.isFirst,i=e.isLast;return o?null:Object(Yt.createElement)(fo,{key:"mover",clientId:n,clientIds:t,isFirst:r,isLast:i})}),Ho=n(67),Uo=n.n(Ho),Vo=n(25);function zo(e){var t=e.name,n=e.attributes,o=Object(i.createBlock)(t,n);return Object(Yt.createElement)(cn.Disabled,{className:"editor-block-preview__content block-editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(Yt.createElement)(En,{name:t,focus:!1,attributes:o.attributes,setAttributes:f.noop}))}var Ko=function(e){return Object(Yt.createElement)("div",{className:"editor-block-preview block-editor-block-preview"},Object(Yt.createElement)("div",{className:"editor-block-preview__title block-editor-block-preview__title"},Object(p.__)("Preview")),Object(Yt.createElement)(zo,e))};var Wo=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,o=e.onClick,r=e.isDisabled,i=e.title,c=e.className,a=Object(u.a)(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),l=t?{backgroundColor:t.background,color:t.foreground}:{},s=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(Yt.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(Yt.createElement)("button",Object(qt.a)({className:Xt()("editor-block-types-list__item block-editor-block-types-list__item",c,{"editor-block-types-list__item-has-children block-editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),o()},disabled:r,"aria-label":i},a),Object(Yt.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:l},Object(Yt.createElement)(Nn,{icon:t,showColors:!0}),n&&Object(Yt.createElement)("span",{className:"editor-block-types-list__item-icon-stack block-editor-block-types-list__item-icon-stack",style:s})),Object(Yt.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},i)))};var Go=function(e){var t=e.items,n=e.onSelect,o=e.onHover,r=void 0===o?function(){}:o,c=e.children;return Object(Yt.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map(function(e){return Object(Yt.createElement)(Wo,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,onClick:function(){n(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},isDisabled:e.isDisabled,title:e.title})}),c)};var qo=Object(Jt.compose)(Object(Jt.ifCondition)(function(e){var t=e.items;return t&&t.length>0}),Object(l.withSelect)(function(e,t){var n=t.rootClientId,o=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:o&&o.title,rootBlockIcon:o&&o.icon}}))(function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,o=e.items,r=Object(u.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(Yt.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(Yt.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(Yt.createElement)(Nn,{icon:t,showColors:!0}),n&&Object(Yt.createElement)("h2",null,n)),Object(Yt.createElement)(Go,Object(qt.a)({items:o},r)))}),Yo=function(e){return e.stopPropagation()},$o=function(e){return e=(e=(e=(e=Object(f.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},Xo=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(rn.a)(Object(rn.a)(e))),e.onHover=e.onHover.bind(Object(rn.a)(Object(rn.a)(e))),e.panels={},e.inserterResults=Object(Yt.createRef)(),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,o=t.hideInsertionPoint;e?n():o()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(f.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(d.a)(t.state.openPanels),[e])}),t.props.setTimeout(function(){Uo()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})}))}}},{key:"filterOpenPanels",value:function(e,t,n,o){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var r=[];return o.length>0&&r.push("reusable"),n.length>0&&(r=r.concat(Object.keys(t))),r}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,o=t.items,r=t.rootChildBlocks,c=function(e,t){var n=$o(t),o=function(e){return-1!==$o(e).indexOf(n)},r=Object(i.getCategories)();return e.filter(function(e){var t=Object(f.find)(r,{slug:e.category});return o(e.title)||Object(f.some)(e.keywords,o)||t&&o(t.title)})}(o,e),a=Object(f.filter)(c,function(e){var t=e.name;return Object(f.includes)(r,t)}),l=[];if(!e){var s=this.props.maxSuggestedItems||9;l=Object(f.filter)(o,function(e){return e.utility>0}).slice(0,s)}var u=Object(f.filter)(c,{category:"reusable"}),d=function(e){return Object(f.findIndex)(Object(i.getCategories)(),function(t){return t.slug===e.category})},b=Object(f.flow)(function(e){return Object(f.filter)(e,function(e){return"reusable"!==e.category})},function(e){return Object(f.sortBy)(e,d)},function(e){return Object(f.groupBy)(e,"category")})(c);this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:l,reusableItems:u,itemsPerCategory:b,openPanels:this.filterOpenPanels(e,b,c,u)});var h=Object.keys(b).reduce(function(e,t){return e+b[t].length},0);n(Object(p.sprintf)(Object(p._n)("%d result found.","%d results found.",h),h))}},{key:"onKeyDown",value:function(e){Object(f.includes)([Ln.LEFT,Ln.DOWN,Ln.RIGHT,Ln.UP,Ln.BACKSPACE,Ln.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.onSelect,r=t.rootClientId,c=this.state,a=c.childItems,l=c.hoveredItem,s=c.itemsPerCategory,u=c.openPanels,d=c.reusableItems,b=c.suggestedItems,h=function(e){return-1!==u.indexOf(e)};return Object(Yt.createElement)("div",{className:"editor-inserter__menu block-editor-inserter__menu",onKeyPress:Yo,onKeyDown:this.onKeyDown},Object(Yt.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(p.__)("Search for a block")),Object(Yt.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:Object(p.__)("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(Yt.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(p.__)("Available block types")},Object(Yt.createElement)(qo,{rootClientId:r,items:a,onSelect:o,onHover:this.onHover}),!!b.length&&Object(Yt.createElement)(cn.PanelBody,{title:Object(p._x)("Most Used","blocks"),opened:h("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(Yt.createElement)(Go,{items:b,onSelect:o,onHover:this.onHover})),Object(f.map)(Object(i.getCategories)(),function(t){var n=s[t.slug];return n&&n.length?Object(Yt.createElement)(cn.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:h(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(Yt.createElement)(Go,{items:n,onSelect:o,onHover:e.onHover})):null}),!!d.length&&Object(Yt.createElement)(cn.PanelBody,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:Object(p.__)("Reusable"),opened:h("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(Yt.createElement)(Go,{items:d,onSelect:o,onHover:this.onHover}),Object(Yt.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:Object(Vo.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(p.__)("Manage All Reusable Blocks"))),Object(f.isEmpty)(b)&&Object(f.isEmpty)(d)&&Object(f.isEmpty)(s)&&Object(Yt.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},Object(p.__)("No blocks found."))),l&&Object(i.isReusableBlock)(l)&&Object(Yt.createElement)(Ko,{name:l.name,attributes:l.initialAttributes}))}}]),t}(Yt.Component),Jo=Object(Jt.compose)(Object(l.withSelect)(function(e,t){var n=t.clientId,o=t.isAppender,r=t.rootClientId,i=e("core/block-editor"),c=i.getInserterItems,a=i.getBlockName,l=i.getBlockRootClientId,s=i.getBlockSelectionEnd,u=e("core/blocks").getChildBlockNames,d=r;if(!d&&!n&&!o){var b=s();b&&(d=l(b)||void 0)}return{rootChildBlocks:u(a(d)),items:c(d),destinationRootClientId:d}}),Object(l.withDispatch)(function(e,t,n){var o=n.select,r=e("core/block-editor"),c=r.showInsertionPoint,a=r.hideInsertionPoint;function l(){var e=o("core/block-editor"),n=e.getBlockIndex,r=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=r();return!l&&s?n(s,a)+1:i(a).length}return{fetchReusableBlocks:e("core/editor").__experimentalFetchReusableBlocks,showInsertionPoint:function(){var e=l();c(t.destinationRootClientId,e)},hideInsertionPoint:a,onSelect:function(n){var r=e("core/block-editor"),c=r.replaceBlocks,a=r.insertBlock,s=o("core/block-editor").getSelectedBlock,u=t.isAppender,d=n.name,b=n.initialAttributes,f=s(),p=Object(i.createBlock)(d,b);!u&&f&&Object(i.isUnmodifiedDefaultBlock)(f)?c(f.clientId,p):a(p,l(),t.destinationRootClientId),t.onSelect()}}}),cn.withSpokenMessages,Jt.withInstanceId,Jt.withSafeTimeout)(Xo),Zo=function(e){var t=e.onToggle,n=e.disabled,o=e.isOpen;return Object(Yt.createElement)(cn.IconButton,{icon:"insert",label:Object(p.__)("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":"true","aria-expanded":o,disabled:n})},Qo=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(rn.a)(Object(rn.a)(e))),e.renderToggle=e.renderToggle.bind(Object(rn.a)(Object(rn.a)(e))),e.renderContent=e.renderContent.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,o=this.props,r=o.disabled,i=o.renderToggle,c=void 0===i?Zo:i;return c({onToggle:t,isOpen:n,disabled:r})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,o=n.rootClientId,r=n.clientId,i=n.isAppender;return Object(Yt.createElement)(Jo,{onSelect:t,rootClientId:o,clientId:r,isAppender:i})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.title;return Object(Yt.createElement)(cn.Dropdown,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:n,renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(Yt.Component),er=Object(Jt.compose)([Object(l.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor").hasInserterItems;return{title:(0,e("core/editor").getEditedPostAttribute)("title"),hasItems:o(n)}}),Object(Jt.ifCondition)(function(e){return e.hasItems})])(Qo);var tr=Object(a.ifViewportMatches)("< small")(function(e){var t=e.clientId;return Object(Yt.createElement)("div",{className:"editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar"},Object(Yt.createElement)(er,null),Object(Yt.createElement)(fo,{clientIds:[t]}))}),nr=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(Object(rn.a)(Object(rn.a)(e))),e.onFocusInserter=e.onFocusInserter.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onFocusInserter",value:function(e){e.stopPropagation(),this.setState({isInserterFocused:!0})}},{key:"onBlurInserter",value:function(){this.setState({isInserterFocused:!1})}},{key:"render",value:function(){var e=this.state.isInserterFocused,t=this.props,n=t.showInsertionPoint,o=t.rootClientId,r=t.clientId;return Object(Yt.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},n&&Object(Yt.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(Yt.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:Xt()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(Yt.createElement)(er,{rootClientId:o,clientId:r})))}}]),t}(Yt.Component),or=Object(l.withSelect)(function(e,t){var n=t.clientId,o=t.rootClientId,r=e("core/block-editor"),i=r.getBlockIndex,c=r.getBlockInsertionPoint,a=r.isBlockInsertionPointVisible,l=i(n,o),s=c();return{showInsertionPoint:a()&&s.index===l&&s.rootClientId===o}})(nr),rr=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(rn.a)(Object(rn.a)(e))),e.eventMap={},e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,o=void 0===n?[]:n,r=t.forwardedRef,i=Object(u.a)(t,["childHandledEvents","forwardedRef"]),c=Object(f.reduce)([].concat(Object(d.a)(o),Object(d.a)(Object.keys(i))),function(t,n){var o=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(o){!!o[2]&&delete i[n];var r="on"+o[1];t[r]=e.proxyEvent,e.eventMap[o[1].toLowerCase()]=r}return t},{});return Object(Yt.createElement)("div",Object(qt.a)({ref:r},i,c))}}]),t}(Yt.Component),ir=function(e,t){return Object(Yt.createElement)(rr,Object(qt.a)({},e,{forwardedRef:t}))};ir.displayName="IgnoreNestedEvents";var cr=Object(Yt.forwardRef)(ir);var ar=Object(Jt.compose)(Object(l.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor"),r=o.getInserterItems,i=o.getTemplateLock;return{items:r(n),isLocked:!!i(n)}}),Object(l.withDispatch)(function(e,t){var n=t.clientId,o=t.rootClientId;return{onInsert:function(t){var r=t.name,c=t.initialAttributes,a=Object(i.createBlock)(r,c);n?e("core/block-editor").replaceBlocks(n,a):e("core/block-editor").insertBlock(a,void 0,o)}}}))(function(e){var t=e.items,n=e.isLocked,o=e.onInsert;if(n)return null;var r=Object(f.filter)(t,function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(f.isEmpty)(e.initialAttributes))}).slice(0,3);return Object(Yt.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},r.map(function(e){return Object(Yt.createElement)(cn.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return o(e)},label:Object(p.sprintf)(Object(p.__)("Add %s"),e.title),icon:Object(Yt.createElement)(Nn,{icon:e.icon})})}))}),lr=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).state={hoverArea:null},e.onMouseLeave=e.onMouseLeave.bind(Object(rn.a)(Object(rn.a)(e))),e.onMouseMove=e.onMouseMove.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentWillUnmount",value:function(){this.props.container&&this.toggleListeners(this.props.container,!1)}},{key:"componentDidMount",value:function(){this.props.container&&this.toggleListeners(this.props.container)}},{key:"componentDidUpdate",value:function(e){e.container!==this.props.container&&(e.container&&this.toggleListeners(e.container,!1),this.props.container&&this.toggleListeners(this.props.container,!0))}},{key:"toggleListeners",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"addEventListener":"removeEventListener";e[t]("mousemove",this.onMouseMove),e[t]("mouseleave",this.onMouseLeave)}},{key:"onMouseLeave",value:function(){this.state.hoverArea&&this.setState({hoverArea:null})}},{key:"onMouseMove",value:function(e){var t=this.props,n=t.isRTL,o=t.container.getBoundingClientRect(),r=o.width,i=o.left,c=o.right,a=null;e.clientX-i0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;c(e,n)},onInsertBlocks:function(e,n){var o=t.rootClientId;l(e,n,o)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,r=(0,o("core/block-editor").getBlockIndex)(e,n);s({},n,r+1)},onInsertBlocksAfter:function(e){var n=t.clientId,r=t.rootClientId,i=(0,o("core/block-editor").getBlockIndex)(n,r);l(e,i+1,r)},onRemove:function(e){u(e)},onMerge:function(e){var n=t.clientId,r=o("core/block-editor"),i=r.getPreviousBlockClientId,c=r.getNextBlockClientId;if(e){var a=c(n);a&&d(n,a)}else{var l=i(n);l&&d(l,n)}},onReplace:function(e){b([t.clientId],e)},onMetaChange:function(e){(0,(0,o("core/block-editor").getSettings)().__experimentalMetaSource.onChange)(e)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=o("core/block-editor").getBlockSelectionStart;e()?a(e(),t.clientId):c(t.clientId)}},toggleSelection:function(e){f(e)}}}),pr=Object(Jt.compose)(Jt.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),br,fr,Object(cn.withFilters)("editor.BlockListBlock"))(dr),hr=n(57);var vr=Object(Jt.compose)(Object(Jt.withState)({hovered:!1}),Object(l.withSelect)(function(e,t){var n=e("core/block-editor"),o=n.getBlockCount,r=n.getBlockName,c=n.isBlockValid,a=n.getSettings,l=n.getTemplateLock,s=!o(t.rootClientId),u=r(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),b=a().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!l(t.rootClientId),placeholder:b}}),Object(l.withDispatch)(function(e,t){var n=e("core/block-editor"),o=n.insertDefaultBlock,r=n.startTyping;return{onAppend:function(){var e=t.rootClientId;o(void 0,e),r()}}}))(function(e){var t=e.isLocked,n=e.isVisible,o=e.onAppend,r=e.showPrompt,i=e.placeholder,c=e.rootClientId,a=e.hovered,l=e.setState;if(t||!n)return null;var s=Object(hr.decodeEntities)(i)||Object(p.__)("Start writing or type / to choose a block");return Object(Yt.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return l({hovered:!0})},onMouseLeave:function(){return l({hovered:!1})}},Object(Yt.createElement)(vo,{rootClientId:c}),Object(Yt.createElement)(Io.a,{role:"button","aria-label":Object(p.__)("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:o,value:r?s:""}),a&&Object(Yt.createElement)(ar,{rootClientId:c}),Object(Yt.createElement)(er,{rootClientId:c,position:"top right",isAppender:!0}))});var mr=Object(l.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor"),r=o.getBlockOrder,c=o.canInsertBlockType;return{isLocked:!!(0,o.getTemplateLock)(n),blockClientIds:r(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}})(function(e){var t=e.blockClientIds,n=e.rootClientId,o=e.canInsertDefaultBlock;return e.isLocked?null:o?Object(Yt.createElement)(cr,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(Yt.createElement)(vr,{rootClientId:n,lastBlockClientId:Object(f.last)(t)})):Object(Yt.createElement)("div",{className:"block-list-appender"},Object(Yt.createElement)(er,{rootClientId:n,renderToggle:function(e){var t=e.onToggle,n=e.disabled,o=e.isOpen;return Object(Yt.createElement)(cn.IconButton,{label:Object(p.__)("Add block"),icon:"insert",onClick:t,className:"block-list-appender__toggle","aria-haspopup":"true","aria-expanded":o,disabled:n})},isAppender:!0}))}),gr=function(e){function t(e){var n;return Object(Qt.a)(this,t),(n=Object(tn.a)(this,Object(nn.a)(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(Object(rn.a)(Object(rn.a)(n))),n.onSelectionEnd=n.onSelectionEnd.bind(Object(rn.a)(Object(rn.a)(n))),n.setBlockRef=n.setBlockRef.bind(Object(rn.a)(Object(rn.a)(n))),n.setLastClientY=n.setLastClientY.bind(Object(rn.a)(Object(rn.a)(n))),n.onPointerMove=Object(f.throttle)(n.onPointerMove.bind(Object(rn.a)(Object(rn.a)(n))),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=Object(s.a)({},this.nodes,Object(b.a)({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=ur(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var o=t-n.top,r=Object(f.findLast)(this.coordMapKeys,function(e){return e0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e}(t,n)||(n.colors||e).length>0}(t,n,e)})})(function(e){var t=e.children,n=e.colors,o=e.colorSettings,r=e.disableCustomColors,i=e.title,c=Object(u.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),a=Object(Yt.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map(function(e,n){var o=e.value,r=e.label,i=e.colors;if(!o)return null;var c=zn(i||t,o),a=c&&c.name,l=Object(p.sprintf)(Mr,r.toLowerCase(),a||o);return Object(Yt.createElement)(cn.ColorIndicator,{key:n,colorValue:o,"aria-label":l})})}(o,n));return Object(Yt.createElement)(cn.PanelBody,Object(qt.a)({className:"editor-panel-color-settings block-editor-panel-color-settings",title:a},c),o.map(function(e,t){return Object(Yt.createElement)(Nr,Object(qt.a)({key:t},Object(s.a)({colors:n,disableCustomColors:r},e)))}),t)}),Ar=Pn(Rr);var Dr=function(e){var t=e.onChange,n=e.className,o=Object(u.a)(e,["onChange","className"]);return Object(Yt.createElement)(Io.a,Object(qt.a)({className:Xt()("editor-plain-text block-editor-plain-text",n),onChange:function(e){return t(e.target.value)}},o))},Pr=n(41),Fr=n.n(Pr),Hr=n(35),Ur=n(49),Vr=n.n(Ur),zr=Object(l.withSelect)(function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}})(function(e){var t=e.formatTypes,n=e.onChange,o=e.value;return Object(Yt.createElement)(Yt.Fragment,null,t.map(function(e){var t=e.name,r=e.edit;if(!r)return null;var i=Object(c.getActiveFormat)(o,t),a=void 0!==i,l=Object(c.getActiveObject)(o),s=void 0!==l;return Object(Yt.createElement)(r,{key:t,isActive:a,activeAttributes:a&&i.attributes||{},isObjectActive:s,activeObjectAttributes:s&&l.attributes||{},value:o,onChange:n})}))}),Kr=function(e){var t=e.controls;return Object(Yt.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(Yt.createElement)(cn.Toolbar,null,t.map(function(e){return Object(Yt.createElement)(cn.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})}),Object(Yt.createElement)(cn.Slot,{name:"RichText.ToolbarControls"},function(e){return e.length&&Object(Yt.createElement)(cn.DropdownMenu,{icon:!1,position:"bottom left",label:Object(p.__)("More Rich Text Controls"),controls:Object(f.orderBy)(e.map(function(e){return Object(B.a)(e,1)[0].props}),"title")})})))},Wr=function(e){return Object(f.pickBy)(e,function(e,t){return n=t,Object(f.startsWith)(n,"aria-")&&!Object(f.isNil)(e);var n})},Gr=window.navigator.userAgent;var qr="editor-rich-text__editable block-editor-rich-text__editable",Yr=Gr.indexOf("Trident")>=0,$r=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(f.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(f.isEqual)(this.props.className,e.className)||(this.editorNode.className=Xt()(e.className,qr));var n=function(e,t){var n=Object(f.keys)(Wr(e)),o=Object(f.keys)(Wr(t));return{removedKeys:Object(f.difference)(n,o),updatedKeys:o.filter(function(n){return!Object(f.isEqual)(e[n],t[n])})}}(this.props,e),o=n.removedKeys,r=n.updatedKeys;return o.forEach(function(e){return t.editorNode.removeAttribute(e)}),r.forEach(function(n){return t.editorNode.setAttribute(n,e[n])}),!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:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef(e),Yr&&(e?this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,o=t.keyCode;if((Ln.BACKSPACE===o||Ln.DELETE===o)&&e.contains(n)){var r=document.createEvent("Event");r.initEvent("input",!0,!1),r.data=null,n.dispatchEvent(r)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e):this.removeInternetExplorerInputFix())}},{key:"render",value:function(){var e,t=this.props,n=t.tagName,o=void 0===n?"div":n,r=t.style,i=t.record,c=t.valueToEditableHTML,a=t.className,l=t.isPlaceholderVisible,d=Object(u.a)(t,["tagName","style","record","valueToEditableHTML","className","isPlaceholderVisible"]);return delete d.setRef,Object(Yt.createElement)(o,Object(s.a)((e={role:"textbox","aria-multiline":!0,className:Xt()(a,qr),contentEditable:!0},Object(b.a)(e,"data-is-placeholder-visible",l),Object(b.a)(e,"ref",this.bindEditorNode),Object(b.a)(e,"style",r),Object(b.a)(e,"suppressContentEditableWarning",!0),Object(b.a)(e,"dangerouslySetInnerHTML",{__html:c(i)}),e),d))}}]),t}(Yt.Component);var Xr=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(Yt.createElement)(cn.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Ln.rawShortcut[n](t),this.onUse)})}}]),t}(Yt.Component),Jr=window.Node,Zr=Jr.TEXT_NODE,Qr=Jr.ELEMENT_NODE;function ei(){var e=window.getSelection();if(0!==e.rangeCount){var t=e.getRangeAt(0).startContainer;if(t.nodeType===Zr&&(t=t.parentNode),t.nodeType===Qr){var n=t.closest("*[contenteditable]");if(n&&n.contains(t))return t.closest("ol,ul")}}}function ti(){var e=ei();return!e||"true"===e.contentEditable}function ni(e,t){var n=ei();return n?n.nodeName.toLowerCase()===e:e===t}var oi=function(e){var t=e.onTagNameChange,n=e.tagName,o=e.value,r=e.onChange;return Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(Xr,{type:"primary",character:"[",onUse:function(){r(Object(c.outdentListItems)(o))}}),Object(Yt.createElement)(Xr,{type:"primary",character:"]",onUse:function(){r(Object(c.indentListItems)(o,{type:n}))}}),Object(Yt.createElement)(Xr,{type:"primary",character:"m",onUse:function(){r(Object(c.indentListItems)(o,{type:n}))}}),Object(Yt.createElement)(Xr,{type:"primaryShift",character:"m",onUse:function(){r(Object(c.outdentListItems)(o))}}),Object(Yt.createElement)(xn,null,Object(Yt.createElement)(cn.Toolbar,{controls:[t&&{icon:"editor-ul",title:Object(p.__)("Convert to unordered list"),isActive:ni("ul",n),onClick:function(){r(Object(c.changeListType)(o,{type:"ul"})),ti()&&t("ul")}},t&&{icon:"editor-ol",title:Object(p.__)("Convert to ordered list"),isActive:ni("ol",n),onClick:function(){r(Object(c.changeListType)(o,{type:"ol"})),ti()&&t("ol")}},{icon:"editor-outdent",title:Object(p.__)("Outdent list item"),shortcut:Object(p._x)("Backspace","keyboard key"),onClick:function(){r(Object(c.outdentListItems)(o))}},{icon:"editor-indent",title:Object(p.__)("Indent list item"),shortcut:Object(p._x)("Space","keyboard key"),onClick:function(){r(Object(c.indentListItems)(o,{type:n}))}}].filter(Boolean)})))},ri=[Ln.rawShortcut.primary("z"),Ln.rawShortcut.primaryShift("z"),Ln.rawShortcut.primary("y")],ii=Object(Yt.createElement)(cn.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.fromPairs)(ri.map(function(e){return[e,function(e){return e.preventDefault()}]}))}),ci=function(){return ii};function ai(e){var t,n=e.name,o=e.shortcutType,r=e.shortcutCharacter,i=Object(u.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),o&&r&&(t=Ln.displayShortcut[o](r)),Object(Yt.createElement)(cn.Fill,{name:c},Object(Yt.createElement)(cn.ToolbarButton,Object(qt.a)({},i,{shortcut:t})))}var li=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(Yt.Component),si=window,ui=si.getSelection,di=si.getComputedStyle,bi=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),fi=document.createElement("style");document.head.appendChild(fi);var pi=function(e){function t(e){var n,o=e.value,r=e.onReplace,a=e.multiline;return Object(Qt.a)(this,t),n=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments)),!0!==a&&"p"!==a&&"li"!==a||(n.multilineTag=!0===a?"p":a),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.props.onSplit?(n.onSplit=n.props.onSplit,Vr()("wp.editor.RichText onSplit prop",{plugin:"Gutenberg",alternative:"wp.editor.RichText unstableOnSplit prop"})):n.props.unstableOnSplit&&(n.onSplit=n.props.unstableOnSplit),n.onFocus=n.onFocus.bind(Object(rn.a)(Object(rn.a)(n))),n.onBlur=n.onBlur.bind(Object(rn.a)(Object(rn.a)(n))),n.onChange=n.onChange.bind(Object(rn.a)(Object(rn.a)(n))),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(Object(rn.a)(Object(rn.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(rn.a)(Object(rn.a)(n))),n.onPaste=n.onPaste.bind(Object(rn.a)(Object(rn.a)(n))),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(rn.a)(Object(rn.a)(n))),n.setFocusedElement=n.setFocusedElement.bind(Object(rn.a)(Object(rn.a)(n))),n.onInput=n.onInput.bind(Object(rn.a)(Object(rn.a)(n))),n.onCompositionEnd=n.onCompositionEnd.bind(Object(rn.a)(Object(rn.a)(n))),n.onSelectionChange=n.onSelectionChange.bind(Object(rn.a)(Object(rn.a)(n))),n.getRecord=n.getRecord.bind(Object(rn.a)(Object(rn.a)(n))),n.createRecord=n.createRecord.bind(Object(rn.a)(Object(rn.a)(n))),n.applyRecord=n.applyRecord.bind(Object(rn.a)(Object(rn.a)(n))),n.isEmpty=n.isEmpty.bind(Object(rn.a)(Object(rn.a)(n))),n.valueToFormat=n.valueToFormat.bind(Object(rn.a)(Object(rn.a)(n))),n.setRef=n.setRef.bind(Object(rn.a)(Object(rn.a)(n))),n.valueToEditableHTML=n.valueToEditableHTML.bind(Object(rn.a)(Object(rn.a)(n))),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object(rn.a)(Object(rn.a)(n))),n.onPointerDown=n.onPointerDown.bind(Object(rn.a)(Object(rn.a)(n))),n.formatToValue=Fr()(n.formatToValue.bind(Object(rn.a)(Object(rn.a)(n))),{maxSize:1}),n.savedContent=o,n.patterns=function(e){var t=e.onReplace,n=e.valueToFormat,o=Object(i.getBlockTransforms)("from").filter(function(e){return"prefix"===e.type});return[function(e){if(!t)return e;var r=Object(c.getSelectionStart)(e),a=Object(c.getTextContent)(e),l=a.slice(r-1,r);if(!/\s/.test(l))return e;var s=a.slice(0,r).trim(),u=Object(i.findTransform)(o,function(e){var t=e.prefix;return s===t});if(!u)return e;var d=n(Object(c.slice)(e,r,a.length)),b=u.transform(d);return t([b]),e},function(e){var t=Object(c.getSelectionStart)(e),n=Object(c.getTextContent)(e);if("`"!==n.slice(t-1,t))return e;var o=n.slice(0,t-1).lastIndexOf("`");if(-1===o)return e;var r=o,i=t-2;return r===i?e:(e=Object(c.remove)(e,r,r+1),e=Object(c.remove)(e,i,i+1),e=Object(c.applyFormat)(e,{type:"code"},r,i))}]}({onReplace:r,valueToFormat:n.valueToFormat}),n.enterPatterns=Object(i.getBlockTransforms)("from").filter(function(e){return"enter"===e.type}),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(o),n.lastHistoryValue=o,n}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){e?this.editableRef=e:delete this.editableRef}},{key:"setFocusedElement",value:function(){this.props.setFocusedElement&&this.props.setFocusedElement(this.props.instanceId)}},{key:"getRecord",value:function(){var e=this.formatToValue(this.props.value),t=e.formats,n=e.replacements,o=e.text,r=this.state;return{formats:t,replacements:n,text:o,start:r.start,end:r.end,activeFormats:r.activeFormats}}},{key:"createRecord",value:function(){var e=ui(),t=e.rangeCount>0?e.getRangeAt(0):null;return Object(c.create)({element:this.editableRef,range:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:this.props.prepareEditableTree,__unstableIsEditableTree:!0})}},{key:"applyRecord",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).domOnly;Object(c.apply)({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:this.props.prepareEditableTree,__unstableDomOnly:t})}},{key:"isEmpty",value:function(){return Object(c.isEmpty)(this.formatToValue(this.props.value))}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,o=t.files;n=Object(f.isNil)(n)?[]:n,o=Object(f.isNil)(o)?[]:o;var r="",a="";try{r=t.getData("text/plain"),a=t.getData("text/html")}catch(e){try{a=t.getData("Text")}catch(e){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",a),window.console.log("Received plain text:\n\n",r);var l=Object(f.find)([].concat(Object(d.a)(n),Object(d.a)(o)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)});if(l&&!a){var s=l.getAsFile?l.getAsFile():l,u=Object(i.pasteHandler)({HTML:''),mode:"BLOCKS",tagName:this.props.tagName}),b=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",s),void(b?this.props.onReplace(u):this.onSplit&&this.splitContent(u))}var p=this.getRecord();if(!Object(c.isCollapsed)(p)){var h=(a||r).replace(/<[^>]+>/g,"").trim();if(Object(Vo.isURL)(h))return this.onChange(Object(c.applyFormat)(p,{type:"a",attributes:{href:Object(hr.decodeEntities)(h)}})),void window.console.log("Created link:\n\n",h)}var v=this.props.onReplace&&this.isEmpty(),m="INLINE";v?m="BLOCKS":this.onSplit&&(m="AUTO");var g=Object(i.pasteHandler)({HTML:a,plainText:r,mode:m,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof g){var O=Object(c.create)({html:g});this.onChange(Object(c.insert)(p,O))}else if(this.onSplit){if(!g.length)return;v?this.props.onReplace(g):this.splitContent(g,{paste:!0})}}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),this.recalculateBoundaryStyle(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){if(e&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else{if(e&&e.nativeEvent.inputType){var t=e.nativeEvent.inputType;if(0===t.indexOf("format")||bi.has(t))return void this.applyRecord(this.getRecord())}var n=this.createRecord(),o=this.state,r=o.activeFormats,i=void 0===r?[]:r,a=o.start,l=Object(c.__unstableUpdateFormats)({value:n,start:a,end:n.start,formats:i});this.onChange(l,{withoutHistory:!0});var u=this.patterns.reduce(function(e,t){return t(e)},l);u!==l&&(this.onCreateUndoLevel(),this.onChange(Object(s.a)({},u,{activeFormats:i}))),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onInput(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(){var e=this.createRecord(),t=e.start,n=e.end;if(t!==this.state.start||n!==this.state.end){var o=this.props.isCaretWithinFormattedText,r=Object(c.__unstableGetActiveFormats)(e);!o&&r.length?this.props.onEnterFormattedText():o&&!r.length&&this.props.onExitFormattedText(),this.setState({start:t,end:n,activeFormats:r}),this.applyRecord(Object(s.a)({},e,{activeFormats:r}),{domOnly:!0}),r.length>0&&this.recalculateBoundaryStyle()}}},{key:"recalculateBoundaryStyle",value:function(){var e=this.editableRef.querySelector("*[data-rich-text-format-boundary]");if(e){var t=di(e).color.replace(")",", 0.2)").replace("rgb","rgba");fi.innerHTML="*:focus ".concat("*[data-rich-text-format-boundary]","{background-color: ").concat(t,"}")}}},{key:"onChangeEditableValue",value:function(e){var t=e.formats,n=e.text;Object(f.get)(this.props,["onChangeEditableValue"],[]).forEach(function(e){e(t,n)})}},{key:"onChange",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withoutHistory;this.applyRecord(e);var n=e.start,o=e.end,r=e.activeFormats,i=void 0===r?[]:r;this.onChangeEditableValue(e),this.savedContent=this.valueToFormat(e),this.props.onChange(this.savedContent),this.setState({start:n,end:o,activeFormats:i}),t||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.savedContent&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.savedContent)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,o=t.onRemove;if(n||o){var r=e.keyCode===Ln.BACKSPACE;if(Object(c.isCollapsed)(this.createRecord())){var i=this.isEmpty();(i||Object(ro.isHorizontalEdge)(this.editableRef,r))&&(n&&n(!r),o&&i&&r&&o(!r),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey,o=e.altKey,r=e.metaKey,a=e.ctrlKey;if(n||o||r||a||t!==Ln.LEFT&&t!==Ln.RIGHT||this.handleHorizontalNavigation(e),t===Ln.SPACE&&"li"===this.multilineTag){var l=this.createRecord();if(Object(c.isCollapsed)(l)){var u=l.text[l.start-1];u&&u!==c.LINE_SEPARATOR||(this.onChange(Object(c.indentListItems)(l,{type:this.props.tagName})),e.preventDefault())}}if(t===Ln.DELETE||t===Ln.BACKSPACE){var b=this.createRecord(),f=b.replacements,p=b.text,h=b.start,v=b.end;if(0===h&&0!==v&&v===b.text.length)return this.onChange(Object(c.remove)(b)),void e.preventDefault();if(this.multilineTag){var m;if(t===Ln.BACKSPACE){var g=h-1;if(p[g]===c.LINE_SEPARATOR){var O=Object(c.isCollapsed)(b);if(O&&f[g]&&f[g].length){var k=f.slice();k[g]=f[g].slice(0,-1),m=Object(s.a)({},b,{replacements:k})}else m=Object(c.remove)(b,O?h-1:h,v)}}else if(p[v]===c.LINE_SEPARATOR){var j=Object(c.isCollapsed)(b);if(j&&f[v]&&f[v].length){var y=f.slice();y[v]=f[v].slice(0,-1),m=Object(s.a)({},b,{replacements:y})}else m=Object(c.remove)(b,h,j?v+1:v)}m&&(this.onChange(m),e.preventDefault())}this.onDeleteKeyDown(e)}else if(t===Ln.ENTER){e.preventDefault();var _=this.createRecord();if(this.props.onReplace){var S=Object(c.getTextContent)(_),C=Object(i.findTransform)(this.enterPatterns,function(e){return e.regExp.test(S)});if(C)return void this.props.onReplace([C.transform({content:S})])}this.multilineTag?e.shiftKey?this.onChange(Object(c.insertLineBreak)(_)):this.onSplit&&Object(c.isEmptyLine)(_)?this.onSplit.apply(this,Object(d.a)(Object(c.split)(_).map(this.valueToFormat))):this.onChange(Object(c.insertLineSeparator)(_)):e.shiftKey||!this.onSplit?this.onChange(Object(c.insertLineBreak)(_)):this.splitContent()}}},{key:"handleHorizontalNavigation",value:function(e){var t=this,n=this.createRecord(),o=n.formats,r=n.text,i=n.start,a=n.end,l=this.state.activeFormats,u=void 0===l?[]:l,d=Object(c.isCollapsed)(n),b=e.keyCode===Ln.LEFT;if(d&&0===u.length){if(0===i&&b)return;if(a===r.length&&!b)return}if(d){e.preventDefault();var f=o[i-1]||[],p=o[i]||[],h=u.length,v=p;if(f.length>p.length&&(v=f),f.lengthf.length&&h--):f.length>p.length&&(!b&&u.length>p.length&&h--,b&&u.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.onSplit){var n=this.createRecord(),o=Object(c.split)(n),r=Object(B.a)(o,2),i=r[0],a=r[1];Object(c.isEmpty)(a)?i=n:Object(c.isEmpty)(i)&&(a=n),t.paste&&(i=Object(c.isEmpty)(i)?null:i,a=Object(c.isEmpty)(a)?null:a),i&&(i=this.valueToFormat(i)),a&&(a=this.valueToFormat(a)),this.onSplit.apply(this,[i,a].concat(Object(d.a)(e)))}}},{key:"onPointerDown",value:function(e){var t=e.target;if(t!==this.editableRef&&!t.textContent){var n=t.parentNode,o=Array.from(n.childNodes).indexOf(t),r=t.ownerDocument.createRange(),i=ui();r.setStart(t.parentNode,o),r.setEnd(t.parentNode,o+1),i.removeAllRanges(),i.addRange(r)}}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.tagName,r=n.value,i=n.isSelected;if(o===e.tagName&&r!==e.value&&r!==this.savedContent){if(Array.isArray(r)&&Object(f.isEqual)(r,this.savedContent))return;var a=this.formatToValue(r);if(i){var l=this.formatToValue(e.value),s=Object(c.getTextContent)(l).length;a.start=s,a.end=s}this.applyRecord(a),this.savedContent=r}if(Object.keys(this.props).some(function(n){return 0===n.indexOf("format_")&&(Object(f.isPlainObject)(t.props[n])?Object.keys(t.props[n]).some(function(o){return t.props[n][o]!==e[n][o]}):t.props[n]!==e[n])})){var u=this.formatToValue(r);i&&(u.start=this.state.start,u.end=this.state.end),this.applyRecord(u)}}},{key:"getFormatProps",value:function(){return Object(f.pickBy)(this.props,function(e,t){return t.startsWith("format_")})}},{key:"formatToValue",value:function(e){return Array.isArray(e)?Object(c.create)({html:i.children.toHTML(e),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):"string"===this.props.format?Object(c.create)({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):null===e?Object(c.create)():e}},{key:"valueToEditableHTML",value:function(e){return Object(c.unstableToDom)({value:e,multilineTag:this.multilineTag,prepareEditableTree:this.props.prepareEditableTree}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach(function(t){t.__experimentalCreatePrepareEditableTree&&(e=Object(c.removeFormat)(e,t.name,0,e.text.length))}),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?i.children.fromDOM(Object(c.unstableToDom)({value:e,multilineTag:this.multilineTag,isEditableTree:!1}).body.childNodes):"string"===this.props.format?Object(c.toHTMLString)({value:e,multilineTag:this.multilineTag}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,o=void 0===n?"div":n,r=t.style,i=t.wrapperClassName,c=t.className,a=t.inlineToolbar,l=void 0!==a&&a,s=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,b=void 0!==d&&d,f=t.isSelected,p=t.autocompleters,h=t.onTagNameChange,v=o,m=this.multilineTag,g=Wr(this.props),O=u&&(!f||b)&&this.isEmpty(),k=Xt()(i,"editor-rich-text block-editor-rich-text"),j=this.getRecord();return Object(Yt.createElement)("div",{className:k,onFocus:this.setFocusedElement},f&&"li"===this.multilineTag&&Object(Yt.createElement)(oi,{onTagNameChange:h,tagName:o,value:j,onChange:this.onChange}),f&&!l&&Object(Yt.createElement)(xn,null,Object(Yt.createElement)(Kr,{controls:s})),f&&l&&Object(Yt.createElement)(cn.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(Yt.createElement)(Kr,{controls:s})),Object(Yt.createElement)(fn,{onReplace:this.props.onReplace,completers:p,record:j,onChange:this.onChange},function(t){var n=t.listBoxId,i=t.activeId;return Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)($r,Object(qt.a)({tagName:o,style:r,record:j,valueToEditableHTML:e.valueToEditableHTML,isPlaceholderVisible:O,"aria-label":u,"aria-autocomplete":"list","aria-owns":n,"aria-activedescendant":i},g,{className:c,key:v,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,onBlur:e.onBlur,onMouseDown:e.onPointerDown,onTouchStart:e.onPointerDown,setRef:e.setRef})),O&&Object(Yt.createElement)(o,{className:Xt()("editor-rich-text__editable block-editor-rich-text__editable",c),style:r},m?Object(Yt.createElement)(m,null,u):u),f&&Object(Yt.createElement)(zr,{value:j,onChange:e.onChange}))}),f&&Object(Yt.createElement)(ci,null))}}]),t}(Yt.Component);pi.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var hi=Object(Jt.compose)([Jt.withInstanceId,un(function(e,t){return!1===t.isSelected?{clientId:e.clientId}:!0===t.isSelected?{isSelected:e.isSelected,clientId:e.clientId}:{isSelected:e.isSelected&&e.focusedElement===t.instanceId,setFocusedElement:e.setFocusedElement,clientId:e.clientId}}),Object(l.withSelect)(function(e){var t=e("core/editor").canUserUseUnfilteredHTML,n=e("core/block-editor").isCaretWithinFormattedText,o=e("core/rich-text").getFormatTypes;return{canUserUseUnfilteredHTML:t(),isCaretWithinFormattedText:n(),formatTypes:o()}}),Object(l.withDispatch)(function(e){var t=e("core/block-editor");return{onCreateUndoLevel:t.__unstableMarkLastChangeAsPersistent,onEnterFormattedText:t.enterFormattedText,onExitFormattedText:t.exitFormattedText}}),Jt.withSafeTimeout,Object(cn.withFilters)("experimentalRichText")])(pi);hi.Content=function(e){var t,n=e.value,o=e.tagName,r=e.multiline,c=Object(u.a)(e,["value","tagName","multiline"]),a=n;!0!==r&&"p"!==r&&"li"!==r||(t=!0===r?"p":r),Array.isArray(n)&&(a=i.children.toHTML(n)),!a&&t&&(a="<".concat(t,">"));var l=Object(Yt.createElement)(Yt.RawHTML,null,a);return o?Object(Yt.createElement)(o,Object(f.omit)(c,["format"]),l):l},hi.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},hi.Content.defaultProps={format:"string",value:""};var vi=hi,mi=Object(cn.withFilters)("editor.MediaUpload")(function(){return null}),gi=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(rn.a)(Object(rn.a)(e))),e.state={isSettingsExpanded:!1},e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,o=e.position,r=void 0===o?"bottom center":o,i=e.focusOnMount,c=void 0===i?"firstElement":i,a=Object(u.a)(e,["children","renderSettings","position","focusOnMount"]),l=this.state.isSettingsExpanded,s=!!n&&l;return Object(Yt.createElement)(cn.Popover,Object(qt.a)({className:"editor-url-popover block-editor-url-popover",focusOnMount:c,position:r},a),Object(Yt.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},t,!!n&&Object(Yt.createElement)(cn.IconButton,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(p.__)("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":l})),s&&Object(Yt.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},n()))}}]),t}(Yt.Component),Oi=function(e){var t=e.src,n=e.onChange,o=e.onSubmit,r=e.onClose;return Object(Yt.createElement)(gi,{onClose:r},Object(Yt.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:o},Object(Yt.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(p.__)("URL"),placeholder:Object(p.__)("Paste or type URL"),onChange:n,value:t}),Object(Yt.createElement)(cn.IconButton,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(p.__)("Apply"),type:"submit"})))},ki=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(rn.a)(Object(rn.a)(e))),e.onSubmitSrc=e.onSubmitSrc.bind(Object(rn.a)(Object(rn.a)(e))),e.onUpload=e.onUpload.bind(Object(rn.a)(Object(rn.a)(e))),e.onFilesUpload=e.onFilesUpload.bind(Object(rn.a)(Object(rn.a)(e))),e.openURLInput=e.openURLInput.bind(Object(rn.a)(Object(rn.a)(e))),e.closeURLInput=e.closeURLInput.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(f.every)(e,function(e){return"image"===e||Object(f.startsWith)(e,"image/")})}},{key:"componentDidMount",value:function(){this.setState({src:Object(f.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(f.get)(e.value,["src"],"")!==Object(f.get)(this.props.value,["src"],"")&&this.setState({src:Object(f.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t=this.props,n=t.onSelect,o=t.multiple,r=t.onError,i=t.allowedTypes;(0,t.mediaUpload)({allowedTypes:i,filesList:e,onFileChange:o?n:function(e){var t=Object(B.a)(e,1)[0];return n(t)},onError:r})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.icon,o=e.className,r=e.labels,i=void 0===r?{}:r,c=e.onSelect,a=e.value,l=void 0===a?{}:a,s=e.onSelectURL,u=e.onHTMLDrop,d=void 0===u?f.noop:u,b=e.multiple,h=void 0!==b&&b,v=e.notices,m=e.allowedTypes,g=void 0===m?[]:m,O=e.hasUploadPermissions,k=e.mediaUpload,j=this.state,y=j.isURLInputVisible,_=j.src,S=i.instructions||"",C=i.title||"";if(O||s||(S=Object(p.__)("To edit this block, you need permission to upload media.")),!S||!C){var E=1===g.length,w=E&&"audio"===g[0],I=E&&"image"===g[0],T=E&&"video"===g[0];S||(O?(S=Object(p.__)("Drag a media file, upload a new one or select a file from your library."),w?S=Object(p.__)("Drag an audio, upload a new one or select a file from your library."):I?S=Object(p.__)("Drag an image, upload a new one or select a file from your library."):T&&(S=Object(p.__)("Drag a video, upload a new one or select a file from your library."))):!O&&s&&(S=Object(p.__)("Given your current role, you can only link a media file, you cannot upload."),w?S=Object(p.__)("Given your current role, you can only link an audio, you cannot upload."):I?S=Object(p.__)("Given your current role, you can only link an image, you cannot upload."):T&&(S=Object(p.__)("Given your current role, you can only link a video, you cannot upload.")))),C||(C=Object(p.__)("Media"),w?C=Object(p.__)("Audio"):I?C=Object(p.__)("Image"):T&&(C=Object(p.__)("Video")))}return Object(Yt.createElement)(cn.Placeholder,{icon:n,label:C,instructions:S,className:Xt()("editor-media-placeholder block-editor-media-placeholder",o),notices:v},Object(Yt.createElement)(po,null,!!k&&Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(cn.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:d}),Object(Yt.createElement)(cn.FormFileUpload,{isLarge:!0,className:"editor-media-placeholder__button block-editor-media-placeholder__button",onChange:this.onUpload,accept:t,multiple:h},Object(p.__)("Upload"))),Object(Yt.createElement)(mi,{gallery:h&&this.onlyAllowsImages(),multiple:h,onSelect:c,allowedTypes:g,value:l.id,render:function(e){var t=e.open;return Object(Yt.createElement)(cn.Button,{isLarge:!0,className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:t},Object(p.__)("Media Library"))}})),s&&Object(Yt.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(Yt.createElement)(cn.Button,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:y,isLarge:!0},Object(p.__)("Insert from URL")),y&&Object(Yt.createElement)(Oi,{src:_,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput})))}}]),t}(Yt.Component),ji=Object(l.withSelect)(function(e){var t=e("core").canUser,n=e("core/block-editor").getSettings;return{hasUploadPermissions:Object(f.defaultTo)(t("create","media"),!0),mediaUpload:n().__experimentalMediaUpload}}),yi=Object(Jt.compose)(ji,Object(cn.withFilters)("editor.MediaPlaceholder"))(ki),_i=n(33),Si=n.n(_i),Ci=function(e){return e.stopPropagation()},Ei=function(e){function t(e){var n,o=e.autocompleteRef;return Object(Qt.a)(this,t),(n=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(rn.a)(Object(rn.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(rn.a)(Object(rn.a)(n))),n.autocompleteRef=o||Object(Yt.createRef)(),n.inputRef=Object(Yt.createRef)(),n.updateSuggestions=Object(f.throttle)(n.updateSuggestions.bind(Object(rn.a)(Object(rn.a)(n))),200),n.suggestionNodes=[],n.state={posts:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,o=t.selectedSuggestion;n&&null!==o&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Uo()(this.suggestionNodes[o],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;if(e.length<2||/^https?:/.test(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var n=Si()({path:Object(Vo.addQueryArgs)("/wp/v2/search",{search:e,per_page:20,type:"post"})});n.then(function(e){t.suggestionsRequest===n&&(t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(p.sprintf)(Object(p._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(p.__)("No results."),"assertive"))}).catch(function(){t.suggestionsRequest===n&&t.setState({loading:!1})}),this.suggestionsRequest=n}}},{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.showSuggestions,o=t.selectedSuggestion,r=t.posts,i=t.loading;if(n&&r.length&&!i){var c=this.state.posts[this.state.selectedSuggestion];switch(e.keyCode){case Ln.UP:e.stopPropagation(),e.preventDefault();var a=o?o-1:r.length-1;this.setState({selectedSuggestion:a});break;case Ln.DOWN:e.stopPropagation(),e.preventDefault();var l=null===o||o===r.length-1?0:o+1;this.setState({selectedSuggestion:l});break;case Ln.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(p.__)("Link selected.")));break;case Ln.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Ln.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Ln.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,o=void 0===n?"":n,r=t.autoFocus,i=void 0===r||r,c=t.instanceId,a=t.className,l=this.state,s=l.showSuggestions,u=l.posts,d=l.selectedSuggestion,b=l.loading;return Object(Yt.createElement)("div",{className:Xt()("editor-url-input block-editor-url-input",a)},Object(Yt.createElement)("input",{autoFocus:i,type:"text","aria-label":Object(p.__)("URL"),required:!0,value:o,onChange:this.onChange,onInput:Ci,placeholder:Object(p.__)("Paste URL or type to search"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":s,"aria-autocomplete":"list","aria-owns":"block-editor-url-input-suggestions-".concat(c),"aria-activedescendant":null!==d?"block-editor-url-input-suggestion-".concat(c,"-").concat(d):void 0,ref:this.inputRef}),b&&Object(Yt.createElement)(cn.Spinner,null),s&&!!u.length&&Object(Yt.createElement)(cn.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(Yt.createElement)("div",{className:"editor-url-input__suggestions block-editor-url-input__suggestions",id:"editor-url-input-suggestions-".concat(c),ref:this.autocompleteRef,role:"listbox"},u.map(function(t,n){return Object(Yt.createElement)("button",{key:t.id,role:"option",tabIndex:"-1",id:"block-editor-url-input-suggestion-".concat(c,"-").concat(n),ref:e.bindSuggestionNode(n),className:Xt()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===d}),onClick:function(){return e.handleOnClick(t)},"aria-selected":n===d},Object(hr.decodeEntities)(t.title)||Object(p.__)("(no title)"))}))))}}]),t}(Yt.Component),wi=Object(cn.withSpokenMessages)(Object(Jt.withInstanceId)(Ei)),Ii=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(rn.a)(Object(rn.a)(e))),e.submitLink=e.submitLink.bind(Object(rn.a)(Object(rn.a)(e))),e.state={expanded:!1},e}return Object(on.a)(t,e),Object(en.a)(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,o=this.state.expanded,r=t?Object(p.__)("Edit Link"):Object(p.__)("Insert Link");return Object(Yt.createElement)("div",{className:"editor-url-input__button block-editor-url-input__button"},Object(Yt.createElement)(cn.IconButton,{icon:"admin-links",label:r,onClick:this.toggle,className:Xt()("components-toolbar__control",{"is-active":t})}),o&&Object(Yt.createElement)("form",{className:"editor-url-input__button-modal block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(Yt.createElement)("div",{className:"editor-url-input__button-modal-line block-editor-url-input__button-modal-line"},Object(Yt.createElement)(cn.IconButton,{className:"editor-url-input__back block-editor-url-input__back",icon:"arrow-left-alt",label:Object(p.__)("Close"),onClick:this.toggle}),Object(Yt.createElement)(wi,{value:t||"",onChange:n}),Object(Yt.createElement)(cn.IconButton,{icon:"editor-break",label:Object(p.__)("Submit"),type:"submit"}))))}}]),t}(Yt.Component);var Ti=Object(Jt.compose)([Object(l.withSelect)(function(e,t){var n=e("core/block-editor"),o=n.getBlocksByClientId,r=n.getTemplateLock,c=n.getBlockRootClientId,a=o(t.clientIds),l=Object(f.every)(a,function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)}),s=c(t.clientIds[0]);return{isLocked:!!r(s),blocks:a,canDuplicate:l,rootClientId:s,extraProps:t}}),Object(l.withDispatch)(function(e,t,n){var o=n.select,r=t.clientIds,c=t.rootClientId,a=t.blocks,l=t.isLocked,s=t.canDuplicate,u=e("core/block-editor"),d=u.insertBlocks,b=u.multiSelect,p=u.removeBlocks,h=u.insertDefaultBlock;return{onDuplicate:function(){if(!l&&s){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.last)(Object(f.castArray)(r)),c),t=a.map(function(e){return Object(i.cloneBlock)(e)});d(t,e+1,c),t.length>1&&b(Object(f.first)(t).clientId,Object(f.last)(t).clientId)}},onRemove:function(){l||p(r)},onInsertBefore:function(){if(!l){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.first)(Object(f.castArray)(r)),c);h({},c,e)}},onInsertAfter:function(){if(!l){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.last)(Object(f.castArray)(r)),c);h({},c,e+1)}}}})])(function(e){var t=e.onDuplicate,n=e.onRemove,o=e.onInsertBefore,r=e.onInsertAfter,i=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:r,onInsertBefore:o,isLocked:i,canDuplicate:c})}),Bi=function(e){return e.preventDefault(),e},xi={duplicate:{raw:Ln.rawShortcut.primaryShift("d"),display:Ln.displayShortcut.primaryShift("d")},removeBlock:{raw:Ln.rawShortcut.access("z"),display:Ln.displayShortcut.access("z")},insertBefore:{raw:Ln.rawShortcut.primaryAlt("t"),display:Ln.displayShortcut.primaryAlt("t")},insertAfter:{raw:Ln.rawShortcut.primaryAlt("y"),display:Ln.displayShortcut.primaryAlt("y")}},Li=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(rn.a)(Object(rn.a)(e))),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(rn.a)(Object(rn.a)(e))),e.clearMultiSelection=e.clearMultiSelection.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,o=t.onMultiSelect;e.preventDefault(),o(Object(f.first)(n),Object(f.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,o=t.hasMultiSelection,r=t.onRemove,i=t.isLocked;o&&(e.preventDefault(),i||r(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(cn.KeyboardShortcuts,{shortcuts:(e={},Object(b.a)(e,Ln.rawShortcut.primary("a"),this.selectAll),Object(b.a)(e,"backspace",this.deleteSelectedBlocks),Object(b.a)(e,"del",this.deleteSelectedBlocks),Object(b.a)(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(Yt.createElement)(Ti,{clientIds:t},function(e){var t,n=e.onDuplicate,o=e.onRemove,r=e.onInsertAfter,i=e.onInsertBefore;return Object(Yt.createElement)(cn.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(b.a)(t,xi.duplicate.raw,Object(f.flow)(Bi,n)),Object(b.a)(t,xi.removeBlock.raw,Object(f.flow)(Bi,o)),Object(b.a)(t,xi.insertBefore.raw,Object(f.flow)(Bi,i)),Object(b.a)(t,xi.insertAfter.raw,Object(f.flow)(Bi,r)),t)})}))}}]),t}(Yt.Component),Ni=Object(Jt.compose)([Object(l.withSelect)(function(e){var t=e("core/block-editor"),n=t.getBlockOrder,o=t.getMultiSelectedBlockClientIds,r=t.hasMultiSelection,i=t.getBlockRootClientId,c=t.getTemplateLock,a=(0,t.getSelectedBlockClientId)(),l=a?[a]:o();return{rootBlocksClientIds:n(),hasMultiSelection:r(),isLocked:Object(f.some)(l,function(e){return!!c(i(e))}),selectedBlockClientIds:l}}),Object(l.withDispatch)(function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}})])(Li),Mi=Object(l.withSelect)(function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}})(function(e){var t=e.selectedBlockClientId;return t&&Object(Yt.createElement)(cn.Button,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){ur(t).closest(".block-editor-block-list__block").focus()}},Object(p.__)("Skip to the selected block"))}),Ri=n(135),Ai=n.n(Ri);function Di(e,t,n){var o=new Ai.a(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}var Pi=Object(Jt.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock,r=e("core/blocks").getBlockStyles,c=o(n),a=Object(i.getBlockType)(c.name);return{name:c.name,attributes:c.attributes,className:c.attributes.className||"",styles:r(c.name),type:a}}),Object(l.withDispatch)(function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}})])(function(e){var t=e.styles,n=e.className,o=e.onChangeClassName,r=e.name,i=e.attributes,c=e.type,a=e.onSwitch,l=void 0===a?f.noop:a,u=e.onHoverClassName,b=void 0===u?f.noop:u;if(!t||0===t.length)return null;c.styles||Object(f.find)(t,"isDefault")||(t=[{name:"default",label:Object(p._x)("Default","block style"),isDefault:!0}].concat(Object(d.a)(t)));var h=function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,c=new Ai.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var l=a.substring(9),s=Object(f.find)(e,{name:l});if(s)return s}}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return Object(f.find)(e,"isDefault")}(t,n);function v(e){var t=Di(n,h,e);o(t),b(null),l()}return Object(Yt.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map(function(e){var t=Di(n,h,e);return Object(Yt.createElement)("div",{key:e.name,className:Xt()("editor-block-styles__item block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return v(e)},onKeyDown:function(t){Ln.ENTER!==t.keyCode&&Ln.SPACE!==t.keyCode||(t.preventDefault(),v(e))},onMouseEnter:function(){return b(t)},onMouseLeave:function(){return b(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(Yt.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(Yt.createElement)(zo,{name:r,attributes:Object(s.a)({},i,{className:t})})),Object(Yt.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))}))}),Fi=n(98);var Hi=Object(l.withSelect)(function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}})(function(e){var t=e.blocks,n=Object(Fi.count)(Object(i.serialize)(t),"words");return Object(Yt.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(Yt.createElement)(Nn,{icon:Object(Yt.createElement)(cn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Yt.createElement)(cn.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(Yt.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(Yt.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},Object(p.sprintf)(Object(p._n)("%d block","%d blocks",t.length),t.length)),Object(Yt.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},Object(p.sprintf)(Object(p._n)("%d word","%d words",n),n))))}),Ui=Object(l.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getSelectedBlockCount,r=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),l=a&&r(a),s=a&&Object(i.getBlockType)(l),u=a&&c(l);return{count:o(),hasBlockStyles:u&&u.length>0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}})(function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,o=e.blockType,r=e.count,c=e.hasBlockStyles;if(r>1)return Object(Yt.createElement)(Hi,null);var a=n===Object(i.getUnregisteredTypeHandlerName)();return o&&t&&!a?Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)("div",{className:"editor-block-inspector__card block-editor-block-inspector__card"},Object(Yt.createElement)(Nn,{icon:o.icon,showColors:!0}),Object(Yt.createElement)("div",{className:"editor-block-inspector__card-content block-editor-block-inspector__card-content"},Object(Yt.createElement)("div",{className:"editor-block-inspector__card-title block-editor-block-inspector__card-title"},o.title),Object(Yt.createElement)("div",{className:"editor-block-inspector__card-description block-editor-block-inspector__card-description"},o.description))),c&&Object(Yt.createElement)("div",null,Object(Yt.createElement)(cn.PanelBody,{title:Object(p.__)("Styles"),initialOpen:!1},Object(Yt.createElement)(Pi,{clientId:t}))),Object(Yt.createElement)("div",null,Object(Yt.createElement)(xr.Slot,null)),Object(Yt.createElement)("div",null,Object(Yt.createElement)(Er.Slot,null,function(e){return!Object(f.isEmpty)(e)&&Object(Yt.createElement)(cn.PanelBody,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:Object(p.__)("Advanced"),initialOpen:!1},e)})),Object(Yt.createElement)(Mi,{key:"back"})):Object(Yt.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},Object(p.__)("No block selected."))}),Vi=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(rn.a)(Object(rn.a)(e))),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,o=t.hasMultiSelection,r=t.clearSelectedBlock,i=n||o;e.target===this.container&&i&&r()}},{key:"render",value:function(){return Object(Yt.createElement)("div",Object(qt.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(f.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(Yt.Component),zi=Object(Jt.compose)([Object(l.withSelect)(function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,o=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:o()}}),Object(l.withDispatch)(function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}})])(Vi);var Ki=Object(Jt.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlock,c=o.getBlockMode,a=r(n);return{mode:c(n),blockType:a?Object(i.getBlockType)(a.name):null}}),Object(l.withDispatch)(function(e,t){var n=t.onToggle,o=void 0===n?f.noop:n,r=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(r),o()}}})])(function(e){var t=e.blockType,n=e.mode,o=e.onToggleMode,r=e.small,c=void 0!==r&&r;if(!Object(i.hasBlockSupport)(t,"html",!0))return null;var a="visual"===n?Object(p.__)("Edit as HTML"):Object(p.__)("Edit visually");return Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:o,icon:"html"},!c&&a)});var Wi=Object(Jt.compose)([Object(l.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlocksByClientId,c=o.canInsertBlockType,a=e("core/editor").__experimentalGetReusableBlock,l=e("core").canUser,s=r(n),u=1===s.length&&s[0]&&Object(i.isReusableBlock)(s[0])&&!!a(s[0].attributes.ref);return{isReusable:u,isVisible:u||c("core/block")&&Object(f.every)(s,function(e){return!!e&&e.isValid&&Object(i.hasBlockSupport)(e.name,"reusable",!0)})&&!!l("create","blocks")}}),Object(l.withDispatch)(function(e,t){var n=t.clientIds,o=t.onToggle,r=void 0===o?f.noop:o,i=e("core/editor"),c=i.__experimentalConvertBlockToReusable,a=i.__experimentalConvertBlockToStatic;return{onConvertToStatic:function(){1===n.length&&(a(n[0]),r())},onConvertToReusable:function(){c(n),r()}}})])(function(e){var t=e.isVisible,n=e.isReusable,o=e.onConvertToStatic,r=e.onConvertToReusable;return t?Object(Yt.createElement)(Yt.Fragment,null,!n&&Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(p.__)("Add to Reusable Blocks")),n&&Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(p.__)("Convert to Regular Block"))):null});var Gi=Object(Jt.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock,r=e("core").canUser,c=e("core/editor").__experimentalGetReusableBlock,a=o(n),l=a&&Object(i.isReusableBlock)(a)?c(a.attributes.ref):null;return{isVisible:!!l&&!!r("delete","blocks",l.id),isDisabled:l&&l.isTemporary}}),Object(l.withDispatch)(function(e,t,n){var o=t.clientId,r=t.onToggle,i=void 0===r?f.noop:r,c=n.select,a=e("core/editor").__experimentalDeleteReusableBlock,l=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(p.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))){var e=l(o);a(e.attributes.ref),i()}}}})])(function(e){var t=e.isVisible,n=e.isDisabled,o=e.onDelete;return t?Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return o()}},Object(p.__)("Remove from Reusable Blocks")):null});function qi(e){var t=e.shouldRender,n=e.onClick,o=e.small;if(!t)return null;var r=Object(p.__)("Convert to Blocks");return Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!o&&r)}var Yi=Object(Jt.compose)(Object(l.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock(n);return{block:o,shouldRender:o&&"core/html"===o.name}}),Object(l.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}}))(qi),$i=Object(Jt.compose)(Object(l.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock(n);return{block:o,shouldRender:o&&o.name===Object(i.getFreeformContentHandlerName)()}}),Object(l.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}}))(qi),Xi=Object(cn.createSlotFill)("_BlockSettingsMenuFirstItem"),Ji=Xi.Fill,Zi=Xi.Slot;Ji.Slot=Zi;var Qi=Ji,ec=Object(cn.createSlotFill)("_BlockSettingsMenuPluginsExtension"),tc=ec.Fill,nc=ec.Slot;tc.Slot=nc;var oc=tc;var rc=Object(l.withDispatch)(function(e){var t=e("core/block-editor").selectBlock;return{onSelect:function(e){t(e)}}})(function(e){var t=e.clientIds,n=e.onSelect,o=Object(f.castArray)(t),r=o.length,i=o[0];return Object(Yt.createElement)(Ti,{clientIds:t},function(e){var o=e.onDuplicate,c=e.onRemove,a=e.onInsertAfter,l=e.onInsertBefore,s=e.canDuplicate,u=e.isLocked;return Object(Yt.createElement)(cn.Dropdown,{contentClassName:"editor-block-settings-menu__popover block-editor-block-settings-menu__popover",position:"bottom right",renderToggle:function(e){var t=e.onToggle,o=e.isOpen,c=Xt()("editor-block-settings-menu__toggle block-editor-block-settings-menu__toggle",{"is-opened":o}),a=o?Object(p.__)("Hide options"):Object(p.__)("More options");return Object(Yt.createElement)(cn.Toolbar,{controls:[{icon:"ellipsis",title:a,onClick:function(){1===r&&n(i),t()},className:c,extraProps:{"aria-expanded":o}}]})},renderContent:function(e){var n=e.onClose;return Object(Yt.createElement)(cn.NavigableMenu,{className:"editor-block-settings-menu__content block-editor-block-settings-menu__content"},Object(Yt.createElement)(Qi.Slot,{fillProps:{onClose:n}}),1===r&&Object(Yt.createElement)($i,{clientId:i}),1===r&&Object(Yt.createElement)(Yi,{clientId:i}),!u&&s&&Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:o,icon:"admin-page",shortcut:xi.duplicate.display},Object(p.__)("Duplicate")),!u&&Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:l,icon:"insert-before",shortcut:xi.insertBefore.display},Object(p.__)("Insert Before")),Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:a,icon:"insert-after",shortcut:xi.insertAfter.display},Object(p.__)("Insert After"))),1===r&&Object(Yt.createElement)(Ki,{clientId:i,onToggle:n}),Object(Yt.createElement)(Wi,{clientIds:t,onToggle:n}),Object(Yt.createElement)(oc.Slot,{fillProps:{clientIds:t,onClose:n}}),Object(Yt.createElement)("div",{className:"editor-block-settings-menu__separator block-editor-block-settings-menu__separator"}),1===r&&Object(Yt.createElement)(Gi,{clientId:i,onToggle:n}),!u&&Object(Yt.createElement)(cn.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:c,icon:"trash",shortcut:xi.removeBlock.display},Object(p.__)("Remove Block")))}})})}),ic=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(rn.a)(Object(rn.a)(e))),e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,o=t.onTransform,r=t.inserterItems,c=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var l,u=Object(f.mapKeys)(r,function(e){return e.name}),d=Object(f.orderBy)(Object(f.filter)(Object(i.getPossibleBlockTransformations)(n),function(e){return e&&!!u[e.name]}),function(e){return u[e.name].frecency},"desc");if(1===Object(f.uniq)(Object(f.map)(n,"name")).length){var b=n[0].name,h=Object(i.getBlockType)(b);l=h.icon}else l="layout";return c||d.length?Object(Yt.createElement)(cn.Dropdown,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,o=e.isOpen,r=1===n.length?Object(p.__)("Change block type or style"):Object(p.sprintf)(Object(p._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(Yt.createElement)(cn.Toolbar,null,Object(Yt.createElement)(cn.IconButton,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":o,label:r,tooltip:r,onKeyDown:function(e){o||e.keyCode!==Ln.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(Nn,{icon:l,showColors:!0}),Object(Yt.createElement)(cn.SVG,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Yt.createElement)(cn.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var r=t.onClose;return Object(Yt.createElement)(Yt.Fragment,null,c&&Object(Yt.createElement)(cn.PanelBody,{title:Object(p.__)("Block Styles"),initialOpen:!0},Object(Yt.createElement)(Pi,{clientId:n[0].clientId,onSwitch:r,onHoverClassName:e.onHoverClassName})),0!==d.length&&Object(Yt.createElement)(cn.PanelBody,{title:Object(p.__)("Transform To:"),initialOpen:!0},Object(Yt.createElement)(Go,{items:d.map(function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(e.name)}}),onSelect:function(e){o(n,e.id),r()}})),null!==a&&Object(Yt.createElement)(Ko,{name:n[0].name,attributes:Object(s.a)({},n[0].attributes,{className:a})}))}}):Object(Yt.createElement)(cn.Toolbar,null,Object(Yt.createElement)(cn.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:Object(p.__)("Block icon")},Object(Yt.createElement)(Nn,{icon:l,showColors:!0})))}}]),t}(Yt.Component),cc=Object(Jt.compose)(Object(l.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlocksByClientId,i=o.getBlockRootClientId,c=o.getInserterItems,a=e("core/blocks").getBlockStyles,l=i(Object(f.first)(Object(f.castArray)(n))),s=r(n),u=s&&1===s.length?s[0]:null,d=u&&a(u.name);return{blocks:s,inserterItems:c(l),hasBlockStyles:d&&d.length>0}}),Object(l.withDispatch)(function(e,t){return{onTransform:function(n,o){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,o))}}}))(ic);var ac=Object(l.withSelect)(function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}})(function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(Yt.createElement)(cc,{key:"switcher",clientIds:n}):null});var lc=Object(l.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getBlockMode,r=t.getMultiSelectedBlockClientIds,i=t.isBlockValid,c=n();return{blockClientIds:c?[c]:r(),isValid:c?i(c):null,mode:c?o(c):null}})(function(e){var t=e.blockClientIds,n=e.isValid,o=e.mode;return 0===t.length?null:t.length>1?Object(Yt.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(Yt.createElement)(ac,null),Object(Yt.createElement)(rc,{clientIds:t})):Object(Yt.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===o&&n&&Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(cc,{clientIds:t}),Object(Yt.createElement)(Sn.Slot,null),Object(Yt.createElement)(xn.Slot,null)),Object(Yt.createElement)(rc,{clientIds:t}))});var sc=Object(Jt.compose)([Object(l.withDispatch)(function(e,t,n){var o=(0,n.select)("core/block-editor"),r=o.getBlocksByClientId,c=o.getMultiSelectedBlockClientIds,a=o.getSelectedBlockClientId,l=o.hasMultiSelection,s=e("core/block-editor").removeBlocks,u=function(e){var t=a()?[a()]:c();if(0!==t.length&&(l()||!Object(ro.documentHasSelection)())){var n=Object(i.serialize)(r(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n),e.preventDefault()}};return{onCopy:u,onCut:function(e){if(u(e),l()){var t=a()?[a()]:c();s(t)}}}})])(function(e){var t=e.children,n=e.onCopy,o=e.onCut;return Object(Yt.createElement)("div",{onCopy:n,onCut:o},t)}),uc=function(e){function t(){return Object(Qt.a)(this,t),Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=ur(e);if(t){var n=Object(ro.getScrollContainer)(t);n&&Uo()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(Yt.Component),dc=Object(l.withSelect)(function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}})(uc),bc=[Ln.UP,Ln.RIGHT,Ln.DOWN,Ln.LEFT,Ln.ENTER,Ln.BACKSPACE];var fc=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(rn.a)(Object(rn.a)(e))),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(rn.a)(Object(rn.a)(e))),e.startTypingInTextField=e.startTypingInTextField.bind(Object(rn.a)(Object(rn.a)(e))),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(rn.a)(Object(rn.a)(e))),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(rn.a)(Object(rn.a)(e))),e.onKeyDown=Object(f.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var o=this.lastMouseMove,r=o.clientX,i=o.clientY;r===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===Ln.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,o=t.onStartTyping,r=e.type,i=e.target;n||!Object(ro.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==r||function(e){var t=e.keyCode;return!e.shiftKey&&Object(f.includes)(bc,t)}(e))&&o()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout(function(){var n=t.props,o=n.isTyping,r=n.onStopTyping,i=e.target;o&&!Object(ro.isTextField)(i)&&r()})}},{key:"render",value:function(){var e=this.props.children;return Object(Yt.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(Yt.Component),pc=Object(Jt.compose)([Object(l.withSelect)(function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}}),Object(l.withDispatch)(function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}}),Jt.withSafeTimeout])(fc),hc=function(e){function t(){return Object(Qt.a)(this,t),Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))}return Object(on.a)(t,e),Object(en.a)(t,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props,n=t.blockOrder,o=t.selectionStart;return n!==e.blockOrder&&o?this.getOffset(o):null}},{key:"componentDidUpdate",value:function(e,t,n){n&&this.restorePreviousOffset(n)}},{key:"getOffset",value:function(e){var t=ur(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=ur(this.props.selectionStart);if(t){var n=Object(ro.getScrollContainer)(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(Yt.Component),vc=Object(l.withSelect)(function(e){return{blockOrder:e("core/block-editor").getBlockOrder(),selectionStart:e("core/block-editor").getBlockSelectionStart()}})(hc),mc=window.getSelection,gc=Object(f.overEvery)([ro.isTextField,ro.focus.tabbable.isTabbableIndex]);var Oc=function(e){function t(){var e;return Object(Qt.a)(this,t),(e=Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Object(rn.a)(Object(rn.a)(e))),e.bindContainer=e.bindContainer.bind(Object(rn.a)(Object(rn.a)(e))),e.clearVerticalRect=e.clearVerticalRect.bind(Object(rn.a)(Object(rn.a)(e))),e.focusLastTextField=e.focusLastTextField.bind(Object(rn.a)(Object(rn.a)(e))),e.verticalRect=null,e}return Object(on.a)(t,e),Object(en.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=ro.focus.focusable.find(this.container);return t&&(n=Object(f.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(f.find)(n,function t(n,o,r){if(!ro.focus.tabbable.isTabbableIndex(n))return!1;if(Object(ro.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=r[o+c])&&n.contains(i);c++)if(t(i,o+c,r))return!1;return!0})}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,o=t.selectionStartClientId,r=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,c=e?r:i;c&&this.props.onMultiSelect(o||n,c)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,o=t.selectedLastClientId,r=e?n:o;r&&this.props.onSelectBlock(r)}},{key:"isTabbableEdge",value:function(e,t){var n,o,r=this.getClosestTabbable(e,t);return!(r&&(n=e,o=r,n.closest("[data-block]")===o.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,o=t.onMultiSelect,r=t.blocks,i=t.selectionBeforeEndClientId,c=t.selectionAfterEndClientId,a=e.keyCode,l=e.target,s=a===Ln.UP,u=a===Ln.DOWN,d=a===Ln.LEFT,b=a===Ln.RIGHT,p=s||d,h=d||b,v=s||u,m=h||v,g=e.shiftKey,O=g||e.ctrlKey||e.altKey||e.metaKey,k=v?ro.isVerticalEdge:ro.isHorizontalEdge;if(!m)return Ln.isKeyboardEvent.primary(e)&&(this.isEntirelySelected=Object(ro.isEntirelySelected)(l)),void(Ln.isKeyboardEvent.primary(e,"a")&&((l.isContentEditable?this.isEntirelySelected:Object(ro.isEntirelySelected)(l))&&(o(Object(f.first)(r),Object(f.last)(r)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Ln.UP||t===Ln.DOWN)&&!n)return!0;var o=e.tagName;return"INPUT"!==o&&"TEXTAREA"!==o}(l,a,O))if(v?this.verticalRect||(this.verticalRect=Object(ro.computeCaretRect)(l)):this.verticalRect=null,g)(p&&i||!p&&c)&&(n||this.isTabbableEdge(l,p)&&k(l,p))&&(this.expandSelection(p),e.preventDefault());else if(n)this.moveSelection(p),e.preventDefault();else if(v&&Object(ro.isVerticalEdge)(l,p)){var j=this.getClosestTabbable(l,p);j&&(Object(ro.placeCaretAtVerticalEdge)(j,p,this.verticalRect),e.preventDefault())}else if(h&&mc().isCollapsed&&Object(ro.isHorizontalEdge)(l,p)){var y=this.getClosestTabbable(l,p);Object(ro.placeCaretAtHorizontalEdge)(y,p),e.preventDefault()}}},{key:"focusLastTextField",value:function(){var e=ro.focus.focusable.find(this.container),t=Object(f.findLast)(e,gc);t&&Object(ro.placeCaretAtHorizontalEdge)(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(Yt.createElement)("div",{className:"editor-writing-flow block-editor-writing-flow"},Object(Yt.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(Yt.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect block-editor-writing-flow__click-redirect"}))}}]),t}(Yt.Component),kc=Object(Jt.compose)([Object(l.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getMultiSelectedBlocksStartClientId,r=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=n(),b=o(),f=r();return{selectedBlockClientId:d,selectionStartClientId:b,selectionBeforeEndClientId:i(f||d),selectionAfterEndClientId:c(f||d),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),blocks:u()}}),Object(l.withDispatch)(function(e){var t=e("core/block-editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}})])(Oc),jc=function(e){function t(){return Object(Qt.a)(this,t),Object(tn.a)(this,Object(nn.a)(t).apply(this,arguments))}return Object(on.a)(t,e),Object(en.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,o=t.updateSettings,r=t.value,i=t.resetBlocks,c=t.registry;n!==e.settings&&o(n),c!==e.registry&&this.attachChangeObserver(c),this.isSyncingOutcomingValue?this.isSyncingOutcomingValue=!1:r!==e.value&&(this.isSyncingIncomingValue=!0,i(r))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),o=n.getBlocks,r=n.isLastBlockChangePersistent,i=n.__unstableIsLastBlockChangeIgnored,c=o(),a=r();this.unsubscribe=e.subscribe(function(){var e=t.props,n=e.onChange,l=e.onInput,s=o(),u=r();if(s!==c&&(t.isSyncingIncomingValue||i()))return t.isSyncingIncomingValue=!1,c=s,void(a=u);(s!==c||u&&!a)&&(s!==c&&(t.isSyncingOutcomingValue=!0),c=s,(a=u)?n(c):l(c))})}},{key:"render",value:function(){var e=this.props.children;return Object(Yt.createElement)(cn.SlotFillProvider,null,Object(Yt.createElement)(cn.DropZoneProvider,null,e))}}]),t}(Yt.Component),yc=Object(Jt.compose)([Object(l.withDispatch)(function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}}),l.withRegistry])(jc),_c=["left","center","right","wide","full"],Sc=["wide","full"];function Cc(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?_c:[],!o||!0===e&&!n?f.without.apply(void 0,[t].concat(Sc)):t}var Ec=Object(Jt.createHigherOrderComponent)(function(e){return function(t){var n=t.name,o=Cc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(Yt.createElement)(Sn,{key:"align-controls"},Object(Yt.createElement)(On,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(f.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(Yt.createElement)(e,Object(qt.a)({key:"edit"},t))]}},"withToolbarControls"),wc=Object(Jt.createHigherOrderComponent)(Object(Jt.compose)([Object(l.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.name,o=t.attributes,r=t.hasWideEnabled,c=o.align,a=Cc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),r),l=t.wrapperProps;return Object(f.includes)(a,c)&&(l=Object(s.a)({},l,{"data-align":c})),Object(Yt.createElement)(e,Object(qt.a)({},t,{wrapperProps:l}))}}]));Object(Zt.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Object(f.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(f.assign)(e.attributes,{align:{type:"string"}})),e)}),Object(Zt.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",wc),Object(Zt.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Ec),Object(Zt.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",function(e,t,n){var o=n.align,r=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(f.includes)(Cc(r,c),o)&&(e.className=Xt()("align".concat(o),e.className)),e});var Ic=/[\s#]/g;var Tc=Object(Jt.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(e,t),Object(Yt.createElement)(Er,null,Object(Yt.createElement)(cn.TextControl,{label:Object(p.__)("HTML Anchor"),help:Object(p.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Ic,"-"),t.setAttributes({anchor:e})}}))):Object(Yt.createElement)(e,t)}},"withInspectorControl");Object(Zt.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(f.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(Zt.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",Tc),Object(Zt.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e});var Bc=Object(Jt.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(Yt.createElement)(Yt.Fragment,null,Object(Yt.createElement)(e,t),Object(Yt.createElement)(Er,null,Object(Yt.createElement)(cn.TextControl,{label:Object(p.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})}}))):Object(Yt.createElement)(e,t)}},"withInspectorControl");function xc(e){e="
".concat(e,"
");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(Zt.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(f.assign)(e.attributes,{className:{type:"string"}})),e}),Object(Zt.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",Bc),Object(Zt.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=Xt()(e.className,n.className)),e}),Object(Zt.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var o=Object(f.omit)(e,["className"]),r=Object(i.getSaveContent)(t,o),c=xc(r),a=xc(n),l=Object(f.difference)(a,c);l.length?e.className=l.join(" "):r&&delete e.className}return e}),Object(Zt.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(f.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(d.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}),n.d(t,"Autocomplete",function(){return fn}),n.d(t,"AlignmentToolbar",function(){return hn}),n.d(t,"BlockAlignmentToolbar",function(){return On}),n.d(t,"BlockControls",function(){return Sn}),n.d(t,"BlockEdit",function(){return En}),n.d(t,"BlockFormatControls",function(){return xn}),n.d(t,"BlockNavigationDropdown",function(){return Dn}),n.d(t,"BlockIcon",function(){return Nn}),n.d(t,"ColorPalette",function(){return Fn}),n.d(t,"withColorContext",function(){return Pn}),n.d(t,"ContrastChecker",function(){return Jn}),n.d(t,"InnerBlocks",function(){return jr}),n.d(t,"InspectorAdvancedControls",function(){return Er}),n.d(t,"InspectorControls",function(){return xr}),n.d(t,"PanelColorSettings",function(){return Ar}),n.d(t,"PlainText",function(){return Dr}),n.d(t,"RichText",function(){return vi}),n.d(t,"RichTextShortcut",function(){return Xr}),n.d(t,"RichTextToolbarButton",function(){return ai}),n.d(t,"UnstableRichTextInputEvent",function(){return li}),n.d(t,"MediaPlaceholder",function(){return yi}),n.d(t,"MediaUpload",function(){return mi}),n.d(t,"MediaUploadCheck",function(){return po}),n.d(t,"URLInput",function(){return wi}),n.d(t,"URLInputButton",function(){return Ii}),n.d(t,"URLPopover",function(){return gi}),n.d(t,"BlockEditorKeyboardShortcuts",function(){return Ni}),n.d(t,"BlockInspector",function(){return Ui}),n.d(t,"BlockList",function(){return Or}),n.d(t,"BlockMover",function(){return fo}),n.d(t,"BlockSelectionClearer",function(){return zi}),n.d(t,"BlockSettingsMenu",function(){return rc}),n.d(t,"_BlockSettingsMenuFirstItem",function(){return Qi}),n.d(t,"_BlockSettingsMenuPluginsExtension",function(){return oc}),n.d(t,"BlockTitle",function(){return xo}),n.d(t,"BlockToolbar",function(){return lc}),n.d(t,"CopyHandler",function(){return sc}),n.d(t,"DefaultBlockAppender",function(){return vr}),n.d(t,"Inserter",function(){return er}),n.d(t,"MultiBlocksSwitcher",function(){return ac}),n.d(t,"MultiSelectScrollIntoView",function(){return dc}),n.d(t,"NavigableToolbar",function(){return Do}),n.d(t,"ObserveTyping",function(){return pc}),n.d(t,"PreserveScrollInReorder",function(){return vc}),n.d(t,"SkipToSelectedBlock",function(){return Mi}),n.d(t,"Warning",function(){return mo}),n.d(t,"WritingFlow",function(){return kc}),n.d(t,"BlockEditorProvider",function(){return yc}),n.d(t,"getColorClassName",function(){return Kn}),n.d(t,"getColorObjectByAttributeValues",function(){return Vn}),n.d(t,"getColorObjectByColorValue",function(){return zn}),n.d(t,"createCustomColorsHOC",function(){return $n}),n.d(t,"withColors",function(){return Xn}),n.d(t,"getFontSize",function(){return Zn}),n.d(t,"getFontSizeClass",function(){return Qn}),n.d(t,"FontSizePicker",function(){return eo}),n.d(t,"withFontSizes",function(){return to}),n.d(t,"SETTINGS_DEFAULTS",function(){return v})},37:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},38:function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t){!function(){e.exports=this.wp.viewport}()},41:function(e,t,n){e.exports=function(e,t){var n,o,r,i=0;function c(){var t,c,a=o,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c1&&(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=N(e,360),t=N(t,100),n=N(n,100),0===t)o=r=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=c(l,a,e+1/3),r=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*o,g:255*r,b:255*i}}(e.h,o,l),d=!0,b="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,h;return n=L(n),{ok:d,format:e.format||b,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(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 f(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var o,r,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)o=r=0;else{var l=i-c;switch(r=a>.5?l/(2-i-c):l/(i+c),i){case e:o=(t-n)/l+(t>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(b(o));return i}function T(e,t){t=t||6;for(var n=b(e).toHsv(),o=n.h,r=n.s,i=n.v,c=[],a=1/t;t--;)c.push(b({h:o,s:r,v:i})),i=(i+a)%1;return c}b.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,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),o=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+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),o=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var i=[A(l(e).toString(16)),A(l(t).toString(16)),A(l(n).toString(16)),A(P(o))];if(r&&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*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=b(e);n="#"+v(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"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 b(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(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:D(e[o]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var o=b(e).toRgb(),r=b(t).toRgb(),i=n/100;return b({r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a})},b.readability=function(e,t){var n=b(e),o=b(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},b.isReadable=function(e,t,n){var o,r,i=b.readability(e,t);switch(r=!1,(o=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+o.size){case"AAsmall":case"AAAlarge":r=i>=4.5;break;case"AAlarge":r=i>=3;break;case"AAAsmall":r=i>=7}return r},b.mostReadable=function(e,t,n){var o,r,i,c,a=null,l=0;r=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sl&&(l=o,a=b(t[s]));return b.isReadable(e,a,{level:i,size:c})||!r?a:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var B=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(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=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function P(e){return r.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,U,V,z=(U="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",V="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+V),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!!z.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(o=function(){return b}.call(t,n,t,e))||(e.exports=o)}(Math)},48:function(e,t){!function(){e.exports=this.wp.a11y}()},49:function(e,t){!function(){e.exports=this.wp.deprecated}()},5:function(e,t){!function(){e.exports=this.wp.data}()},54:function(e,t,n){var o=function(){return this||"object"==typeof self&&self}()||Function("return this")(),r=o.regeneratorRuntime&&Object.getOwnPropertyNames(o).indexOf("regeneratorRuntime")>=0,i=r&&o.regeneratorRuntime;if(o.regeneratorRuntime=void 0,e.exports=n(55),r)o.regeneratorRuntime=i;else try{delete o.regeneratorRuntime}catch(e){o.regeneratorRuntime=void 0}},55:function(e,t){!function(t){"use strict";var n,o=Object.prototype,r=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag",s="object"==typeof e,u=t.regeneratorRuntime;if(u)s&&(e.exports=u);else{(u=t.regeneratorRuntime=s?e.exports:{}).wrap=k;var d="suspendedStart",b="suspendedYield",f="executing",p="completed",h={},v={};v[c]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==o&&r.call(g,c)&&(v=g);var O=S.prototype=y.prototype=Object.create(v);_.prototype=O.constructor=S,S.constructor=_,S[l]=_.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(O),e},u.awrap=function(e){return{__await:e}},C(E.prototype),E.prototype[a]=function(){return this},u.AsyncIterator=E,u.async=function(e,t,n,o){var r=new E(k(e,t,n,o));return u.isGeneratorFunction(t)?r:r.next().then(function(e){return e.done?e.value:r.next()})},C(O),O[l]="Generator",O[c]=function(){return this},O.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},u.values=x,B.prototype={constructor:B,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(o,r){return a.type="throw",a.arg=e,t.next=o,r&&(t.method="next",t.arg=n),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var l=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(l&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:x(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=n),h}}}function k(e,t,n,o){var r=t&&t.prototype instanceof y?t:y,i=Object.create(r.prototype),c=new B(o||[]);return i._invoke=function(e,t,n){var o=d;return function(r,i){if(o===f)throw new Error("Generator is already running");if(o===p){if("throw"===r)throw i;return L()}for(n.method=r,n.arg=i;;){var c=n.delegate;if(c){var a=w(c,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var l=j(e,t,n);if("normal"===l.type){if(o=n.done?p:b,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=p,n.method="throw",n.arg=l.arg)}}}(e,n,c),i}function j(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function y(){}function _(){}function S(){}function C(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function E(e){var t;this._invoke=function(n,o){function i(){return new Promise(function(t,i){!function t(n,o,i,c){var a=j(e[n],e,o);if("throw"!==a.type){var l=a.arg,s=l.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,i,c)},function(e){t("throw",e,i,c)}):Promise.resolve(s).then(function(e){l.value=e,i(l)},function(e){return t("throw",e,i,c)})}c(a.arg)}(n,o,t,i)})}return t=t?t.then(i,i):i()}}function w(e,t){var o=e.iterator[t.method];if(o===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,w(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=j(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function x(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t){!function(){e.exports=this.wp.url}()},,,,,function(e,t,n){"use strict";var r=n(37);var o=n(38);function a(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}(e,t)||Object(o.a)()}n.d(t,"a",function(){return a})},function(e,t){!function(){e.exports=this.moment}()},,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return c}),n.d(t,"g",function(){return i}),n.d(t,"l",function(){return l}),n.d(t,"k",function(){return s}),n.d(t,"o",function(){return u}),n.d(t,"d",function(){return b}),n.d(t,"f",function(){return d}),n.d(t,"n",function(){return m}),n.d(t,"i",function(){return h}),n.d(t,"e",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"j",function(){return O}),n.d(t,"a",function(){return v});var r=n(0),o=n(4),a=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object(r.createElement)(o.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),l=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"})),s={foreground:"#1da1f2",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},u={foreground:"#ff0000",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},b={foreground:"#3b5998",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},d=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),m={foreground:"#0073AA",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},h={foreground:"#1db954",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},p=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),g={foreground:"#1ab7ea",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},f=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),O={foreground:"#35465c",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},v=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(r.createElement)(o.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(r.createElement)(o.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},,function(e,t){!function(){e.exports=this.wp.viewport}()},function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c1&&(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=B(e,360),t=B(t,100),n=B(n,100),0===t)r=o=a=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=c(l,i,e+1/3),o=c(l,i,e),a=c(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),b=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,h,p;return n=N(n),{ok:b,format:e.format||d,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(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=i++}function m(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,o,a=u(e,t,n),c=s(e,t,n),i=(a+c)/2;if(a==c)r=o=0;else{var l=a-c;switch(o=i>.5?l/(2-a-c):l/(a+c),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(d(r));return a}function T(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,a=n.v,c=[],i=1/t;t--;)c.push(d({h:r,s:o,v:a})),a=(a+i)%1;return c}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=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=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(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 p(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 a=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(z(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.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*B(this._r,255))+"%",g:l(100*B(this._g,255))+"%",b:l(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%)":"rgba("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(A[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+g(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(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,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]:M(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:b(),g:b(),b:b()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),a=n/100;return d({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},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,a=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=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},d.mostReadable=function(e,t,n){var r,o,a,c,i=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;sl&&(l=r,i=d(t[s]));return d.isReadable(e,i,{level:a,size:c})||!o?i:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var R=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"},A=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(R);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(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=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return s(1,u(0,e))}function P(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return P(e)/255}var D,F,U,V=(F="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",U="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+F),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+F),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+F),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 W(e){return!!V.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},,,,function(e,t){!function(){e.exports=this.wp.deprecated}()},function(e,t){!function(){e.exports=this.wp.date}()},,,function(e,t,n){"use strict";n.d(t,"e",function(){return h}),n.d(t,"d",function(){return p}),n.d(t,"a",function(){return g}),n.d(t,"c",function(){return f}),n.d(t,"b",function(){return O});var r=n(15),o=n(7),a=n(17),c=n(0),i=n(85),l=n(58),s=n(2),u=n(68),b=n.n(u),d=n(14),m=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},h=function(e){return Object(s.includes)(e,'class="wp-embedded-content"')},p=function(e){var t=e.thumbnail_url?e.thumbnail_url:e.url,n=Object(c.createElement)("p",null,Object(c.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(c.renderToString)(n)},g=function(e,t){var n=e.preview,r=e.name,c=e.attributes.url;if(c){var s=function(e){for(var t=[].concat(Object(a.a)(i.a),Object(a.a)(i.b)),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var o={"wp-has-aspect-ratio":!1},a=0;a=m.ratio)return b()(t,(d={},Object(r.a)(d,m.className,n),Object(r.a)(d,"wp-has-aspect-ratio",n),d))}return t}function O(e,t){var n=Object(c.createElement)("a",{href:e},e);t(Object(d.createBlock)("core/paragraph",{content:Object(c.renderToString)(n)}))}},,,,,function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return c});var r=["facebook.com","smugmug.com"],o=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],a="core/embed",c="core-embed/wordpress"},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,function(e,t){!function(){e.exports=this.wp.autop}()},,function(e,t,n){var r; +!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.editor}()},,,function(e,t){!function(){e.exports=this.wp.url}()},,,function(e,t,n){"use strict";var r=n(37);var o=n(38);function a(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}(e,t)||Object(o.a)()}n.d(t,"a",function(){return a})},function(e,t){!function(){e.exports=this.moment}()},,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return c}),n.d(t,"g",function(){return i}),n.d(t,"l",function(){return l}),n.d(t,"k",function(){return s}),n.d(t,"o",function(){return u}),n.d(t,"d",function(){return b}),n.d(t,"f",function(){return d}),n.d(t,"n",function(){return m}),n.d(t,"i",function(){return h}),n.d(t,"e",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"j",function(){return O}),n.d(t,"a",function(){return v});var r=n(0),o=n(4),a=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object(r.createElement)(o.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),l=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"})),s={foreground:"#1da1f2",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},u={foreground:"#ff0000",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},b={foreground:"#3b5998",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},d=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),m={foreground:"#0073AA",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},h={foreground:"#1db954",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},p=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),g={foreground:"#1ab7ea",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},f=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),O={foreground:"#35465c",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},v=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(r.createElement)(o.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(r.createElement)(o.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},,function(e,t){!function(){e.exports=this.wp.viewport}()},function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c1&&(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=B(e,360),t=B(t,100),n=B(n,100),0===t)r=o=a=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=c(l,i,e+1/3),o=c(l,i,e),a=c(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),b=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,h,p;return n=N(n),{ok:b,format:e.format||d,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(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=i++}function m(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,o,a=u(e,t,n),c=s(e,t,n),i=(a+c)/2;if(a==c)r=o=0;else{var l=a-c;switch(o=i>.5?l/(2-a-c):l/(a+c),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(d(r));return a}function T(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,a=n.v,c=[],i=1/t;t--;)c.push(d({h:r,s:o,v:a})),a=(a+i)%1;return c}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=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=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(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 p(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 a=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(z(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.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*B(this._r,255))+"%",g:l(100*B(this._g,255))+"%",b:l(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%)":"rgba("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(A[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+g(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(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,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]:M(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:b(),g:b(),b:b()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),a=n/100;return d({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},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,a=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=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},d.mostReadable=function(e,t,n){var r,o,a,c,i=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;sl&&(l=r,i=d(t[s]));return d.isReadable(e,i,{level:a,size:c})||!o?i:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var R=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"},A=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(R);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(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=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return s(1,u(0,e))}function P(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return P(e)/255}var D,F,U,V=(F="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",U="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+F),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+F),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+F),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 W(e){return!!V.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},,,,function(e,t){!function(){e.exports=this.wp.deprecated}()},function(e,t){!function(){e.exports=this.wp.date}()},,,function(e,t,n){"use strict";n.d(t,"e",function(){return h}),n.d(t,"d",function(){return p}),n.d(t,"a",function(){return g}),n.d(t,"c",function(){return f}),n.d(t,"b",function(){return O});var r=n(15),o=n(7),a=n(17),c=n(0),i=n(85),l=n(58),s=n(2),u=n(68),b=n.n(u),d=n(14),m=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},h=function(e){return Object(s.includes)(e,'class="wp-embedded-content"')},p=function(e){var t=e.thumbnail_url?e.thumbnail_url:e.url,n=Object(c.createElement)("p",null,Object(c.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(c.renderToString)(n)},g=function(e,t){var n=e.preview,r=e.name,c=e.attributes.url;if(c){var s=function(e){for(var t=[].concat(Object(a.a)(i.a),Object(a.a)(i.b)),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var o={"wp-has-aspect-ratio":!1},a=0;a=m.ratio)return b()(t,(d={},Object(r.a)(d,m.className,n),Object(r.a)(d,"wp-has-aspect-ratio",n),d))}return t}function O(e,t){var n=Object(c.createElement)("a",{href:e},e);t(Object(d.createBlock)("core/paragraph",{content:Object(c.renderToString)(n)}))}},,,,,function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return c});var r=["facebook.com","smugmug.com"],o=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],a="core/embed",c="core-embed/wordpress"},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,function(e,t){!function(){e.exports=this.wp.autop}()},,function(e,t,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see @@ -22,4 +22,4 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t */ !function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=n(120);function v(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a127?B+="x":B+=N[I];if(!B.match(m)){var L=R.slice(0,x),M=R.slice(x+1),z=N.match(h);z&&(L.push(z[1]),M.unshift(z[2])),M.length&&(v="/"+M.join(".")+v),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!p[_])for(x=0,A=u.length;x0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.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(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=w.slice(-1)[0],E=(n.host||e.host||w.length>1)&&("."===C||".."===C)||""===C,x=0,S=w.length;S>=0;S--)"."===(C=w[S])?w.splice(S,1):".."===C?(w.splice(S,1),x++):x&&(w.splice(S,1),x--);if(!y&&!_)for(;x--;x)w.unshift("..");!y||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),E&&"/"!==w.join("/").substr(-1)&&w.push("");var T,R=""===w[0]||w[0]&&"/"===w[0].charAt(0);k&&(n.hostname=n.host=R?"":w.length?w.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&w.length)&&!R&&w.unshift(""),w.length?n.pathname=w.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},a.prototype.parseHost=function(){var e=this.host,t=i.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){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return i});var r=n(36),o=n(1),a=n(14),c=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:r.k,keywords:["tweet"],description:Object(o.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:r.o,keywords:[Object(o.__)("music"),Object(o.__)("video")],description:Object(o.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:r.d,description:Object(o.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:r.f,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:r.n,keywords:[Object(o.__)("post"),Object(o.__)("blog")],responsive:!1,description:Object(o.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:r.i,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:r.e,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:r.m,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],i=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:r.l,description:Object(o.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:r.c,description:Object(o.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:r.l,description:Object(o.__)("Embed CollegeHumor content.")},patterns:[/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:r.c,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(a.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(o.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:r.l,description:Object(o.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:r.l,description:Object(o.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:r.g,description:Object(o.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:r.c,description:Object(o.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:r.c,description:Object(o.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:r.c,description:Object(o.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:r.c,description:Object(o.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:r.h,description:Object(o.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:r.b,description:Object(o.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:r.l,description:Object(o.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:r.c,description:Object(o.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:r.c,description:Object(o.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:r.g,description:Object(o.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:r.b,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:r.c,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(a.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(o.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:r.l,description:Object(o.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:r.j,description:Object(o.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:r.l,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:r.l,description:Object(o.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:r.a,keywords:[Object(o.__)("ebook")],responsive:!1,description:Object(o.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}]},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(85),a=n(36),c=n(15),i=n(0),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(53),p=n(1),g=n(4),f=n(8),O=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,l=e.switchBackToURLInput;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.BlockControls,null,Object(i.createElement)(g.Toolbar,null,n&&Object(i.createElement)(g.IconButton,{className:"components-toolbar__control",label:Object(p.__)("Edit URL"),icon:"edit",onClick:l}))),r&&t&&Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(g.PanelBody,{title:Object(p.__)("Media Settings"),className:"blocks-responsive"},Object(i.createElement)(g.ToggleControl,{label:Object(p.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},v=function(){return Object(i.createElement)("div",{className:"wp-block-embed is-loading"},Object(i.createElement)(g.Spinner,null),Object(i.createElement)("p",null,Object(p.__)("Embedding…")))},j=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,l=e.fallback,s=e.tryAgain;return Object(i.createElement)(g.Placeholder,{icon:Object(i.createElement)(f.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed"},Object(i.createElement)("form",{onSubmit:o},Object(i.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(p.__)("Enter URL to embed here…"),onChange:a}),Object(i.createElement)(g.Button,{isLarge:!0,type:"submit"},Object(p._x)("Embed","button label")),c&&Object(i.createElement)("p",{className:"components-placeholder__error"},Object(p.__)("Sorry, this content could not be embedded."),Object(i.createElement)("br",null),Object(i.createElement)(g.Button,{isLarge:!0,onClick:s},Object(p._x)("Try again","button label"))," ",Object(i.createElement)(g.Button,{isLarge:!0,onClick:l},Object(p._x)("Convert to link","button label")))))},y=n(58),_=n(84),w=n(2),k=n(68),C=n.n(k),E=n(6),x=window.FocusEvent,S=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(m.a)(Object(m.a)(e))),e.node=Object(i.createRef)(),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new x("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(i.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(i.Component),T=Object(E.withGlobalEvents)({blur:"checkFocus"})(S),R=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(m.a)(Object(m.a)(e))),e.state={interactive:!1},e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e=this.props,t=e.preview,n=e.url,r=e.type,o=e.caption,a=e.onCaptionChange,c=e.isSelected,l=e.className,s=e.icon,u=e.label,b=t.scripts,d=this.state.interactive,m="photo"===r?Object(h.d)(t):t.html,O=Object(_.parse)(n).host.split("."),v=O.splice(O.length-2,O.length-1).join("."),j=Object(w.includes)(y.c,v),k=Object(p.sprintf)(Object(p.__)("Embedded content from %s"),v),E=C()(r,l,"wp-block-embed__wrapper"),x="wp-embed"===r?Object(i.createElement)(T,{html:m}):Object(i.createElement)("div",{className:"wp-block-embed__wrapper"},Object(i.createElement)(g.SandBox,{html:m,scripts:b,title:k,type:E,onFocus:this.hideOverlay}),!d&&Object(i.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(i.createElement)("figure",{className:C()(l,"wp-block-embed",{"is-type-video":"video"===r})},j?Object(i.createElement)(g.Placeholder,{icon:Object(i.createElement)(f.BlockIcon,{icon:s,showColors:!0}),label:u},Object(i.createElement)("p",{className:"components-placeholder__error"},Object(i.createElement)("a",{href:n},n)),Object(i.createElement)("p",{className:"components-placeholder__error"},Object(p.sprintf)(Object(p.__)("Embedded content from %s can't be previewed in the editor."),v))):x,(!f.RichText.isEmpty(o)||c)&&Object(i.createElement)(f.RichText,{tagName:"figcaption",placeholder:Object(p.__)("Write caption…"),value:o,onChange:a,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(i.Component);var A=n(5),N={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function B(e){var t=e.title,n=e.description,o=e.icon,a=e.category,g=void 0===a?"embed":a,y=e.transforms,_=e.keywords,k=void 0===_?[]:_,x=e.supports,S=void 0===x?{}:x,T=e.responsive,B=void 0===T||T,I=n||Object(p.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),P=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){function o(){var e;return Object(l.a)(this,o),(e=Object(u.a)(this,Object(b.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(m.a)(Object(m.a)(e))),e.setUrl=e.setUrl.bind(Object(m.a)(Object(m.a)(e))),e.getAttributesFromPreview=e.getAttributesFromPreview.bind(Object(m.a)(Object(m.a)(e))),e.setAttributesFromPreview=e.setAttributesFromPreview.bind(Object(m.a)(Object(m.a)(e))),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(m.a)(Object(m.a)(e))),e.toggleResponsive=e.toggleResponsive.bind(Object(m.a)(Object(m.a)(e))),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(m.a)(Object(m.a)(e))),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(d.a)(o,r),Object(s.a)(o,[{key:"handleIncomingPreview",value:function(){var e=this.props.attributes.allowResponsive;this.setAttributesFromPreview();var t=Object(h.a)(this.props,this.getAttributesFromPreview(this.props.preview,e));t&&this.props.onReplace(t)}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return void(this.props.fetching||this.resubmitWithoutTrailingSlash());this.handleIncomingPreview()}}},{key:"resubmitWithoutTrailingSlash",value:function(){this.setState(function(e){return{url:e.url.replace(/\/$/,"")}},this.setUrl)}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getAttributesFromPreview",value:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={},a=t.type,c=void 0===a?"rich":a,i=t.html,l=t.provider_name,s=Object(w.kebabCase)(Object(w.toLower)(""!==l?l:e));return Object(h.e)(i)&&(c="wp-embed"),(i||"photo"===c)&&(o.type=c,o.providerNameSlug=s),o.className=Object(h.c)(i,this.props.attributes.className,n&&r),o}},{key:"setAttributesFromPreview",value:function(){var e=this.props,t=e.setAttributes,n=e.preview,r=this.props.attributes.allowResponsive;t(this.getAttributesFromPreview(n,r))}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(p.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(p.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:Object(h.c)(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,l=this.props.attributes,s=l.caption,u=l.type,b=l.allowResponsive,d=this.props,m=d.fetching,g=d.setAttributes,f=d.isSelected,y=d.className,_=d.preview,w=d.cannotEmbed,k=d.themeSupportsResponsive,C=d.tryAgain;if(m)return Object(i.createElement)(v,null);var E=Object(p.sprintf)(Object(p.__)("%s URL"),e);return!_||w||c?Object(i.createElement)(j,{icon:t,label:E,onSubmit:this.setUrl,value:a,cannotEmbed:w,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return Object(h.b)(a,r.props.onReplace)},tryAgain:C}):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(O,{showEditButton:_&&!w,themeSupportsResponsive:k,blockSupportsResponsive:n,allowResponsive:b,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(i.createElement)(R,{preview:_,className:y,url:a,type:u,caption:s,onCaptionChange:function(e){return g({caption:e})},isSelected:f,icon:t,label:E}))}}]),o}(i.Component)}(t,o,B);return{title:t,description:I,icon:o,category:g,keywords:k,attributes:N,supports:Object(r.a)({align:!0},S),transforms:y,edit:Object(E.compose)(Object(A.withSelect)(function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),d=!!l&&void 0===l.type&&!1===l.html,m=!!l&&l.data&&404===l.data.status,h=!!l&&!d&&!m,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}}),Object(A.withDispatch)(function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}}))(P),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,l=n.providerNameSlug;if(!r)return null;var s=C()("wp-block-embed",(t={},Object(c.a)(t,"is-type-".concat(a),a),Object(c.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},Object(i.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:N,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,l=n.providerNameSlug;if(!r)return null;var s=C()("wp-block-embed",(t={},Object(c.a)(t,"is-type-".concat(a),a),Object(c.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},"\n".concat(r,"\n"),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var I=n(14);n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return L}),n.d(t,"common",function(){return M}),n.d(t,"others",function(){return z});var P="core/embed",L=B({title:Object(p._x)("Embed","block title"),description:Object(p.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:a.c,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(I.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),M=o.a.map(function(e){return Object(r.a)({},e,{settings:B(e.settings)})}),z=o.b.map(function(e){return Object(r.a)({},e,{settings:B(e.settings)})})},,,,,,,function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){t&&t.nodeType,e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var i,l=2147483647,s=36,u=1,b=26,d=38,m=700,h=72,p=128,g="-",f=/^xn--/,O=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,_=Math.floor,w=String.fromCharCode;function k(e){throw new RangeError(j[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(v,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,n){var r=0;for(e=n?_(e/m):e>>1,e+=_(e/t);e>y*b>>1;r+=s)e=_(e/y);return _(r+(y+1)*e/(e+d))}function A(e){var t,n,r,o,a,c,i,d,m,f,O,v=[],j=e.length,y=0,w=p,C=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r=128&&k("not-basic"),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&k("invalid-input"),((d=(O=e.charCodeAt(o++))-48<10?O-22:O-65<26?O-65:O-97<26?O-97:s)>=s||d>_((l-y)/c))&&k("overflow"),y+=d*c,!(d<(m=i<=C?u:i>=C+b?b:i-C));i+=s)c>_(l/(f=s-m))&&k("overflow"),c*=f;C=R(y-a,t=v.length+1,0==a),_(y/t)>l-w&&k("overflow"),w+=_(y/t),y%=t,v.splice(y++,0,w)}return S(v)}function N(e){var t,n,r,o,a,c,i,d,m,f,O,v,j,y,C,E=[];for(v=(e=x(e)).length,t=p,n=0,a=h,c=0;c=t&&O_((l-n)/(j=r+1))&&k("overflow"),n+=(i-t)*j,t=i,c=0;cl&&k("overflow"),O==t){for(d=n,m=s;!(d<(f=m<=a?u:m>=a+b?b:m-a));m+=s)C=d-f,y=s-f,E.push(w(T(f+C%y,0))),d=_(C/y);E.push(w(T(d,0))),a=R(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.4.1",ucs2:{decode:x,encode:S},decode:A,encode:N,toASCII:function(e){return E(e,function(e){return O.test(e)?"xn--"+N(e):e})},toUnicode:function(e){return E(e,function(e){return f.test(e)?A(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(118)(e),n(59))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(121),t.encode=t.stringify=n(122)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=p.substr(0,g),d=p.substr(g+1)):(b=p,d=""),m=decodeURIComponent(b),h=decodeURIComponent(d),r(c,m)?o(c[m])?c[m].push(h):c[m]=[c[m],h]:c[m]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},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,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],function(e){return i+encodeURIComponent(r(e))}).join(t):i+encodeURIComponent(r(e[c]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r2?i-2:0),s=2;s1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===m.F10&&t.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(o._x)("More","button to expand options"),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(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(i,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(o.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.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.clientId;return[Object(r.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(o.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(r.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(r.Component);n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var g="core/freeform",f={title:Object(o._x)("Classic","block title"),description:Object(o.__)("Use the classic WordPress editor."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object(r.createElement)(a.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(r.createElement)(a.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"17",y:"8",width:"2",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},edit:p,save:function(e){var t=e.attributes.content;return Object(r.createElement)(r.RawHTML,null,t)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r,o=n(7),a=n(21),c=n(17),i=n(15),l=n(0),s=n(2),u=n(1),b=n(14),d=n(8),m=n(20),h=n(4),p=(r={},Object(i.a)(r,"value",{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""}),Object(i.a)(r,"citation",{type:"string",source:"html",selector:"cite",default:""}),Object(i.a)(r,"align",{type:"string"}),r),g="core/quote",f={title:Object(u.__)("Quote"),description:Object(u.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"})),category:"common",keywords:[Object(u.__)("blockquote")],attributes:p,styles:[{name:"default",label:Object(u._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(u._x)("Large","block style")}],transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(b.createBlock)("core/quote",{value:Object(m.toHTMLString)({value:Object(m.join)(e.map(function(e){var t=e.content;return Object(m.create)({html:t})}),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(b.createBlock)("core/quote",{value:"

".concat(t,"

")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(b.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(b.createBlock)("core/quote",{value:"

".concat(e,"

")})}},{type:"raw",isMatch:function(e){var t,n=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(n)},schema:{blockquote:{children:{p:{children:Object(b.getPhrasingContentSchema)()},cite:{children:Object(b.getPhrasingContentSchema)()}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=[];return t&&"

"!==t&&r.push.apply(r,Object(c.a)(Object(m.split)(Object(m.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(b.createBlock)("core/paragraph",{content:Object(m.toHTMLString)({value:e})})}))),n&&"

"!==n&&r.push(Object(b.createBlock)("core/paragraph",{content:n})),0===r.length?Object(b.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(a.a)(e,["value","citation"]);if("

"===t)return Object(b.createBlock)("core/heading",{content:n});var c=Object(m.split)(Object(m.create)({html:t,multilineTag:"p"}),"\u2028"),i=Object(b.createBlock)("core/heading",{content:Object(m.toHTMLString)({value:c[0]})});if(!n&&1===c.length)return i;var l=c.slice(1);return[i,Object(b.createBlock)("core/quote",Object(o.a)({},r,{citation:n,value:Object(m.toHTMLString)({value:l.length?Object(m.join)(c.slice(1),"\u2028"):Object(m.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(b.createBlock)("core/pullquote",{value:t,citation:n})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,s=t.value,b=t.citation;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(d.BlockControls,null,Object(l.createElement)(d.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(l.createElement)("blockquote",{className:c,style:{textAlign:i}},Object(l.createElement)(d.RichText,{identifier:"value",multiline:!0,value:s,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!b||0===b.length;!e&&t&&a([])},placeholder:Object(u.__)("Write quote…")}),(!d.RichText.isEmpty(b)||r)&&Object(l.createElement)(d.RichText,{identifier:"citation",value:b,onChange:function(e){return n({citation:e})},placeholder:Object(u.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(l.createElement)("blockquote",{style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return n&&"

"!==n?Object(o.a)({},e,{value:e.value+n,citation:e.citation+r}):Object(o.a)({},e,{citation:e.citation+r})},deprecated:[{attributes:Object(o.a)({},p,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(o.a)({},Object(s.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(l.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(o.a)({},p,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(l.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"footer",value:o}))}}]}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r=n(0),o=n(2),a=n(16),c=n.n(a),i=n(41),l=n.n(i),s=n(1),u=n(4),b=n(14),d=n(8),m=["core/column"],h=l()(function(e){return Object(o.times)(e,function(){return["core/column"]})});function p(e){var t,n=p.doc;n||(n=document.implementation.createHTMLDocument(""),p.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var g="core/columns",f={title:Object(s.__)("Columns"),icon:Object(r.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(u.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(u.G,null,Object(r.createElement)(u.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"}))),category:"layout",attributes:{columns:{type:"number",default:2}},description:Object(s.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},deprecated:[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some(function(e){return/layout-column-\d+/.test(e.originalContent)})&&t.some(function(e){return void 0!==p(e.originalContent)})},migrate:function(e,t){return[e,t.reduce(function(e,t){var n=p(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(b.createBlock)("core/column",{},e)})]},save:function(e){var t=e.attributes.columns;return Object(r.createElement)("div",{className:"has-".concat(t,"-columns")},Object(r.createElement)(d.InnerBlocks.Content,null))}}],edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,a=t.columns,i=c()(o,"has-".concat(a,"-columns"));return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(d.InspectorControls,null,Object(r.createElement)(u.PanelBody,null,Object(r.createElement)(u.RangeControl,{label:Object(s.__)("Columns"),value:a,onChange:function(e){n({columns:e})},min:2,max:6,required:!0}))),Object(r.createElement)("div",{className:i},Object(r.createElement)(d.InnerBlocks,{template:h(a),templateLock:"all",allowedBlocks:m})))},save:function(e){var t=e.attributes.columns;return Object(r.createElement)("div",{className:"has-".concat(t,"-columns")},Object(r.createElement)(d.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(4),a=n(1),c=n(8),i="core/column",l={title:Object(a.__)("Column"),parent:["core/columns"],icon:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"})),description:Object(a.__)("A single column within a columns block."),category:"common",supports:{inserter:!1,reusable:!1,html:!1},edit:function(){return Object(r.createElement)(c.InnerBlocks,{templateLock:!1})},save:function(){return Object(r.createElement)("div",null,Object(r.createElement)(c.InnerBlocks.Content,null))}}},function(e,t,n){ /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */ -e.exports=function(){"use strict";function e(e,t){for(var n=0;nc?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,a=0,c=0,i=0,l=0;lr?-1:n===r?0:1}),d=t(b[0],5),m=d[0],h=d[1],p=d[2],g=d[3],f=d[4];return g?[Math.round(m/g),Math.round(h/g),Math.round(p/g),Math.round(g/f)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",c),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),r=[].concat(n,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){var t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(r.prototype,o),a&&e(r,a),n;var r,o,a}()}()},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r=n(21),o=n(17),a=n(7),c=n(0),i=n(2),l=n(1),s=n(14),u=n(8),b=n(20),d=n(4),m=Object(a.a)({},Object(s.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){m[e].children={li:{children:m}}});var h={className:!1},p={ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""}},g="core/list",f={title:Object(l.__)("List"),description:Object(l.__)("Create a bulleted or numbered list."),icon:Object(c.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(d.G,null,Object(c.createElement)(d.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"}))),category:"common",keywords:[Object(l.__)("bullet list"),Object(l.__)("ordered list"),Object(l.__)("numbered list")],attributes:p,supports:h,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(s.createBlock)("core/list",{values:Object(b.toHTMLString)({value:Object(b.join)(e.map(function(t){var n=t.content,r=Object(b.create)({html:n});return e.length>1?r:Object(b.replace)(r,/\n/g,b.LINE_SEPARATOR)}),b.LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(s.createBlock)("core/list",{values:Object(b.toHTMLString)({value:Object(b.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:m.ol,ul:m.ul},transform:function(e){return Object(s.createBlock)("core/list",Object(a.a)({},Object(s.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(o.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(s.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}})),Object(o.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(s.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(b.split)(Object(b.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),b.LINE_SEPARATOR).map(function(e){return Object(s.createBlock)("core/paragraph",{content:Object(b.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(s.createBlock)("core/quote",{value:Object(b.toHTMLString)({value:Object(b.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},deprecated:[{supports:h,attributes:Object(a.a)({},Object(i.omit)(p,["ordered"]),{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"}}),migrate:function(e){var t=e.nodeName,n=Object(r.a)(e,["nodeName"]);return Object(a.a)({},n,{ordered:"OL"===t})},save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(c.createElement)(u.RichText.Content,{tagName:n.toLowerCase(),value:r})}}],merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(a.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,i=e.className,b=t.ordered,d=t.values;return Object(c.createElement)(u.RichText,{identifier:"values",multiline:"li",tagName:b?"ol":"ul",onChange:function(e){return r({values:e})},value:d,wrapperClassName:"block-library-list",className:i,placeholder:Object(l.__)("Write list…"),onMerge:o,unstableOnSplit:n?function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),c=2;c"!==t&&a.push(Object(s.createBlock)("core/list",{ordered:b,values:t})),r({values:e}),n(a)}:void 0,onRemove:function(){return a([])},onTagNameChange:function(e){return r({ordered:"ol"===e})}})},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=n?"ol":"ul";return Object(c.createElement)(u.RichText.Content,{tagName:o,value:r,multiline:"li"})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var r=n(0),o=n(1),a=n(14),c=n(8),i=n(4),l="core/preformatted",s={title:Object(o.__)("Preformatted"),description:Object(o.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(i.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object(r.createElement)(i.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(r.createElement)(i.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(r.createElement)(i.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(r.createElement)(i.Rect,{x:"10",y:"10",width:"8",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}},transforms:{from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(a.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object(a.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.mergeBlocks,a=e.setAttributes,i=e.className,l=t.content;return Object(r.createElement)(c.RichText,{tagName:"pre",value:l.replace(/\n/g,"
    "),onChange:function(e){a({content:e.replace(/
    /g,"\n")})},placeholder:Object(o.__)("Write preformatted text…"),wrapperClassName:i,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(r.createElement)(c.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(1),a=n(14),c=n(4),i="core/separator",l={title:Object(o.__)("Separator"),description:Object(o.__)("Create a break between ideas or sections with a horizontal separator."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(c.Path,{d:"M19 13H5v-2h14v2z"})),category:"layout",keywords:[Object(o.__)("horizontal-line"),"hr",Object(o.__)("divider")],styles:[{name:"default",label:Object(o.__)("Default"),isDefault:!0},{name:"wide",label:Object(o.__)("Wide Line")},{name:"dots",label:Object(o.__)("Dots")}],transforms:{from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(a.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},edit:function(e){var t=e.className;return Object(r.createElement)("hr",{className:t})},save:function(){return Object(r.createElement)("hr",null)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return s}),n.d(t,"settings",function(){return u});var r=n(0),o=n(66),a=n(1),c=n(4),i=n(8),l=n(6),s="core/shortcode",u={title:Object(a.__)("Shortcode"),description:Object(a.__)("Insert additional custom elements with a WordPress shortcode."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"})),category:"widgets",attributes:{text:{type:"string",source:"html"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(o.removep)(Object(o.autop)(n))}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(l.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,o=e.instanceId,l="blocks-shortcode-input-".concat(o);return Object(r.createElement)("div",{className:"wp-block-shortcode"},Object(r.createElement)("label",{htmlFor:l},Object(r.createElement)(c.Dashicon,{icon:"shortcode"}),Object(a.__)("Shortcode")),Object(r.createElement)(i.PlainText,{className:"input-control",id:l,value:t.text,placeholder:Object(a.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return Object(r.createElement)(r.RawHTML,null,t.text)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var r=n(0),o=n(16),a=n.n(o),c=n(1),i=n(8),l=n(4),s=n(6),u="core/spacer",b={title:Object(c.__)("Spacer"),description:Object(c.__)("Add white space between blocks and customize its height."),icon:Object(r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(l.G,null,Object(r.createElement)(l.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),category:"layout",attributes:{height:{type:"number",default:100}},edit:Object(s.withInstanceId)(function(e){var t=e.attributes,n=e.isSelected,o=e.setAttributes,s=e.toggleSelection,u=e.instanceId,b=t.height,d="block-spacer-height-input-".concat(u);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.ResizableBox,{className:a()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:b},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,n,r){o({height:parseInt(b+r.height,10)}),s(!0)},onResizeStart:function(){s(!1)}}),Object(r.createElement)(i.InspectorControls,null,Object(r.createElement)(l.PanelBody,{title:Object(c.__)("Spacer Settings")},Object(r.createElement)(l.BaseControl,{label:Object(c.__)("Height in pixels"),id:d},Object(r.createElement)("input",{type:"number",id:d,onChange:function(e){o({height:parseInt(e.target.value,10)})},value:b,min:"20",step:"10"})))))}),save:function(e){var t=e.attributes;return Object(r.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var r=n(0),o=n(49),a=n.n(o),c=n(1),i=n(14),l=n(8),s=n(4),u="core/subhead",b={title:Object(c.__)("Subheading (deprecated)"),description:Object(c.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),category:"common",supports:{inserter:!1,multiple:!1},attributes:{content:{type:"string",source:"html",selector:"p"},align:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,i=t.align,s=t.content,u=t.placeholder;return a()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.BlockControls,null,Object(r.createElement)(l.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(r.createElement)(l.RichText,{tagName:"p",value:s,onChange:function(e){n({content:e})},style:{textAlign:i},className:o,placeholder:u||Object(c.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,o=t.content;return Object(r.createElement)(l.RichText.Content,{tagName:"p",style:{textAlign:n},value:o})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(1),a=n(8),c=n(4),i="core/template",l={title:Object(o.__)("Reusable Template"),category:"reusable",description:Object(o.__)("Template block used as a container."),icon:Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(r.createElement)(c.G,null,Object(r.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),supports:{customClassName:!1,html:!1,inserter:!1},edit:function(){return Object(r.createElement)(a.InnerBlocks,null)},save:function(){return Object(r.createElement)(a.InnerBlocks.Content,null)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return d}),n.d(t,"settings",function(){return m});var r=n(17),o=n(0),a=n(2),c=n(14),i=n(1),l=n(4),s=n(8),u=n(49),b=n.n(u),d="core/text-columns",m={supports:{inserter:!1},title:Object(i.__)("Text Columns (deprecated)"),description:Object(i.__)("This block is deprecated. Please use the Columns block instead."),icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(c.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map(function(e){var t=e.children;return Object(c.createBlock)("core/column",{},[Object(c.createBlock)("core/paragraph",{content:t})])}))}}]},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,c=e.className,u=t.width,d=t.content,m=t.columns;return b()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.BlockAlignmentToolbar,{value:u,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,null,Object(o.createElement)(l.RangeControl,{label:Object(i.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(o.createElement)("div",{className:"".concat(c," align").concat(u," columns-").concat(m)},Object(a.times)(m,function(e){return Object(o.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(o.createElement)(s.RichText,{tagName:"p",value:Object(a.get)(d,[e,"children"]),onChange:function(t){n({content:[].concat(Object(r.a)(d.slice(0,e)),[{children:t}],Object(r.a)(d.slice(e+1)))})},placeholder:Object(i.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,c=t.columns;return Object(o.createElement)("div",{className:"align".concat(n," columns-").concat(c)},Object(a.times)(c,function(e){return Object(o.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(o.createElement)(s.RichText.Content,{tagName:"p",value:Object(a.get)(r,[e,"children"])}))}))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var r=n(0),o=n(1),a=n(14),c=n(8),i=n(4),l="core/verse",s={title:Object(o.__)("Verse"),description:Object(o.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(i.Path,{d:"M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"})),category:"formatting",keywords:[Object(o.__)("poetry")],attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className,i=e.mergeBlocks,l=t.textAlign,s=t.content;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(c.AlignmentToolbar,{value:l,onChange:function(e){n({textAlign:e})}})),Object(r.createElement)(c.RichText,{tagName:"pre",value:s,onChange:function(e){n({content:e})},style:{textAlign:l},placeholder:Object(o.__)("Write…"),wrapperClassName:a,onMerge:i}))},save:function(e){var t=e.attributes,n=t.textAlign,o=t.content;return Object(r.createElement)(c.RichText.Content,{tagName:"pre",style:{textAlign:n},value:o})},merge:function(e,t){return{content:e.content+t.content}}}},,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(0),a=n(16),c=n.n(a),i=n(2),l=n(14),s=n(8),u=n(1),b=n(19),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(4),v=Object(o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(O.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(o.createElement)(O.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(o.createElement)(O.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),j=["image","video"],y=function(e){function t(){return Object(d.a)(this,t),Object(h.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(m.a)(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(O.Toolbar,null,Object(o.createElement)(s.MediaUpload,{onSelect:n,allowedTypes:j,value:t,render:function(e){var t=e.open;return Object(o.createElement)(O.IconButton,{className:"components-toolbar__control",label:Object(u.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className;return Object(o.createElement)(o.Fragment,null,this.renderToolbarEditButton(),Object(o.createElement)("figure",{className:r},Object(o.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(o.createElement)(o.Fragment,null,this.renderToolbarEditButton(),Object(o.createElement)("figure",{className:n},Object(o.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return Object(o.createElement)(s.MediaPlaceholder,{icon:Object(o.createElement)(s.BlockIcon,{icon:v}),labels:{title:Object(u.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:j})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,a=e.mediaWidth,c=e.commitWidthChange,i=e.onWidthChange;if(r&&n){var l={right:"left"===t,left:"right"===t},s=null;switch(r){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(o.createElement)(O.ResizableBox,{className:"editor-media-container__resizer",size:{width:a+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResize:function(e,t,n){i(parseInt(n.style.width))},onResizeStop:function(e,t,n){c(parseInt(n.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(o.Component),_=["core/button","core/paragraph","core/heading","core/list"],w=[["core/paragraph",{fontSize:"large",placeholder:Object(u._x)("Content…","content placeholder")}]],k=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(f.a)(Object(f.a)(e))),e.onWidthChange=e.onWidthChange.bind(Object(f.a)(Object(f.a)(e))),e.commitWidthChange=e.commitWidthChange.bind(Object(f.a)(Object(f.a)(e))),e.state={mediaWidth:null},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(i.get)(e,["sizes","large","url"])||Object(i.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,a=e.mediaType,c=e.mediaUrl,i=e.mediaWidth;return Object(o.createElement)(y,Object(b.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:a,mediaUrl:c,mediaPosition:r,mediaWidth:i}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,a=t.className,i=t.backgroundColor,l=t.isSelected,b=t.setAttributes,d=t.setBackgroundColor,m=n.isStackedOnMobile,h=n.mediaAlt,p=n.mediaPosition,g=n.mediaType,f=n.mediaWidth,v=this.state.mediaWidth,j=c()(a,(e={"has-media-on-the-right":"right"===p,"is-selected":l},Object(r.a)(e,i.class,i.class),Object(r.a)(e,"is-stacked-on-mobile",m),e)),y="".concat(v||f,"%"),k={gridTemplateColumns:"right"===p?"auto ".concat(y):"".concat(y," auto"),backgroundColor:i.color},C=[{value:i.color,onChange:d,label:Object(u.__)("Background Color")}],E=[{icon:"align-pull-left",title:Object(u.__)("Show media on left"),isActive:"left"===p,onClick:function(){return b({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(u.__)("Show media on right"),isActive:"right"===p,onClick:function(){return b({mediaPosition:"right"})}}],x=Object(o.createElement)(O.PanelBody,{title:Object(u.__)("Media & Text Settings")},Object(o.createElement)(O.ToggleControl,{label:Object(u.__)("Stack on mobile"),checked:m,onChange:function(){return b({isStackedOnMobile:!m})}}),"image"===g&&Object(o.createElement)(O.TextareaControl,{label:Object(u.__)("Alt Text (Alternative Text)"),value:h,onChange:function(e){b({mediaAlt:e})},help:Object(u.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}));return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.InspectorControls,null,x,Object(o.createElement)(s.PanelColorSettings,{title:Object(u.__)("Color Settings"),initialOpen:!1,colorSettings:C})),Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(O.Toolbar,{controls:E})),Object(o.createElement)("div",{className:j,style:k},this.renderMediaArea(),Object(o.createElement)(s.InnerBlocks,{allowedBlocks:_,template:w,templateInsertUpdatesSelection:!1})))}}]),t}(o.Component),C=Object(s.withColors)("backgroundColor")(k),E=Object(o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(O.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"}));n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return T});var x="core/media-text",S={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},T={title:Object(u.__)("Media & Text"),description:Object(u.__)("Set media and words side-by-side for a richer layout."),icon:E,category:"layout",keywords:[Object(u.__)("image"),Object(u.__)("video")],attributes:S,supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(l.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object(l.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object(l.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object(l.createBlock)("core/video",{id:t,src:n})}}]},edit:C,save:function(e){var t,n,a=e.attributes,l=a.backgroundColor,u=a.customBackgroundColor,b=a.isStackedOnMobile,d=a.mediaAlt,m=a.mediaPosition,h=a.mediaType,p=a.mediaUrl,g=a.mediaWidth,f=a.mediaId,O={image:function(){return Object(o.createElement)("img",{src:p,alt:d,className:f&&"image"===h?"wp-image-".concat(f):null})},video:function(){return Object(o.createElement)("video",{controls:!0,src:p})}},v=Object(s.getColorClassName)("background-color",l),j=c()((t={"has-media-on-the-right":"right"===m},Object(r.a)(t,v,v),Object(r.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var y={backgroundColor:v?void 0:u,gridTemplateColumns:n};return Object(o.createElement)("div",{className:j,style:y},Object(o.createElement)("figure",{className:"wp-block-media-text__media"},(O[h]||i.noop)()),Object(o.createElement)("div",{className:"wp-block-media-text__content"},Object(o.createElement)(s.InnerBlocks.Content,null)))},deprecated:[{attributes:S,save:function(e){var t,n,a=e.attributes,l=a.backgroundColor,u=a.customBackgroundColor,b=a.isStackedOnMobile,d=a.mediaAlt,m=a.mediaPosition,h=a.mediaType,p=a.mediaUrl,g=a.mediaWidth,f={image:function(){return Object(o.createElement)("img",{src:p,alt:d})},video:function(){return Object(o.createElement)("video",{controls:!0,src:p})}},O=Object(s.getColorClassName)("background-color",l),v=c()((t={"has-media-on-the-right":"right"===m},Object(r.a)(t,O,O),Object(r.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var j={backgroundColor:O?void 0:u,gridTemplateColumns:n};return Object(o.createElement)("div",{className:v,style:j},Object(o.createElement)("figure",{className:"wp-block-media-text__media"},(f[h]||i.noop)()),Object(o.createElement)("div",{className:"wp-block-media-text__content"},Object(o.createElement)(s.InnerBlocks.Content,null)))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(19),o=n(15),a=n(7),c=n(0),i=n(16),l=n.n(i),s=n(35),u=n(14),b=n(8),d=n(1),m=n(28),h=n(10),p=n(9),g=n(11),f=n(12),O=n(13),v=n(3),j=n(2),y=n(4),_=n(6),w=n(5),k=n(22),C=n(23),E=n(40),x=n(53),S=Object(c.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(y.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(c.createElement)(y.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(c.createElement)(y.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var T=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(v.a)(Object(v.a)(e))),e.calculateSize=e.calculateSize.bind(Object(v.a)(Object(v.a)(e))),e}return Object(O.a)(t,e),Object(p.a)(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=j.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,t,n,r,o,a=(e=this.image,t=this.container,n=t.clientWidth,r=e.width>n,o=e.height/e.width,{width:r?n:e.width,height:r?n*o:e.height}),c=a.width,i=a.height;this.setState({width:c,height:i})}},{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 Object(c.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(c.Component),R=Object(_.withGlobalEvents)({resize:"calculateSize"})(T),A=["image"],N=function(e){var t=Object(j.pick)(e,["alt","id","link","caption"]);return t.url=Object(j.get)(e,["sizes","large","url"])||Object(j.get)(e,["media_details","sizes","large","source_url"])||e.url,t},B=function(e,t){return!e&&Object(s.isBlobURL)(t)},I=function(e){function t(e){var n,r=e.attributes;return Object(h.a)(this,t),(n=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(v.a)(Object(v.a)(n))),n.updateAlignment=n.updateAlignment.bind(Object(v.a)(Object(v.a)(n))),n.onFocusCaption=n.onFocusCaption.bind(Object(v.a)(Object(v.a)(n))),n.onImageClick=n.onImageClick.bind(Object(v.a)(Object(v.a)(n))),n.onSelectImage=n.onSelectImage.bind(Object(v.a)(Object(v.a)(n))),n.onSelectURL=n.onSelectURL.bind(Object(v.a)(Object(v.a)(n))),n.updateImageURL=n.updateImageURL.bind(Object(v.a)(Object(v.a)(n))),n.updateWidth=n.updateWidth.bind(Object(v.a)(Object(v.a)(n))),n.updateHeight=n.updateHeight.bind(Object(v.a)(Object(v.a)(n))),n.updateDimensions=n.updateDimensions.bind(Object(v.a)(Object(v.a)(n))),n.onSetCustomHref=n.onSetCustomHref.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkClass=n.onSetLinkClass.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkRel=n.onSetLinkRel.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkDestination=n.onSetLinkDestination.bind(Object(v.a)(Object(v.a)(n))),n.onSetNewTab=n.onSetNewTab.bind(Object(v.a)(Object(v.a)(n))),n.getFilename=n.getFilename.bind(Object(v.a)(Object(v.a)(n))),n.toggleIsEditing=n.toggleIsEditing.bind(Object(v.a)(Object(v.a)(n))),n.onUploadError=n.onUploadError.bind(Object(v.a)(Object(v.a)(n))),n.onImageError=n.onImageError.bind(Object(v.a)(Object(v.a)(n))),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(O.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(B(a,i)){var l=Object(s.getBlobByURL)(i);l&&Object(k.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(m.a)(e,1)[0];r(N(t))},allowedTypes:A,onError:function(t){o.createErrorNotice(t),e.setState({isEditing:!0})}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;B(n,o)&&!B(c,l)&&Object(s.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){this.props.noticeOperations.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){e&&e.url?(this.setState({isEditing:!1}),this.props.setAttributes(Object(a.a)({},N(e),{width:void 0,height:void 0}))):this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSetLinkDestination",value:function(e){var t;t="none"===e?void 0:"media"===e?this.props.image&&this.props.image.source_url||this.props.attributes.url:"attachment"===e?this.props.image&&this.props.image.link:this.props.attributes.href,this.props.setAttributes({linkDestination:e,href:t})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=Object(x.a)({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetCustomHref",value:function(e){this.props.setAttributes({href:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{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(Object(a.a)({},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:"getFilename",value:function(e){var t=Object(C.getPath)(e);if(t)return Object(j.last)(t.split("/"))}},{key:"getLinkDestinationOptions",value:function(){return[{value:"none",label:Object(d.__)("None")},{value:"media",label:Object(d.__)("Media File")},{value:"attachment",label:Object(d.__)("Attachment Page")},{value:"custom",label:Object(d.__)("Custom URL")}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(j.compact)(Object(j.map)(t,function(e){var t=e.name,r=e.slug,o=Object(j.get)(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"render",value:function(){var e,t=this,n=this.state.isEditing,r=this.props,o=r.attributes,a=r.setAttributes,i=r.isLargeViewport,u=r.isSelected,m=r.className,h=r.maxWidth,p=r.noticeUI,g=r.toggleSelection,f=r.isRTL,O=o.url,v=o.alt,_=o.caption,w=o.align,k=o.id,C=o.href,E=o.rel,x=o.linkClass,T=o.linkDestination,N=o.width,B=o.height,I=o.linkTarget,P=function(e,t){return t&&!e&&!Object(s.isBlobURL)(t)}(k,O);O&&(e=P?Object(c.createElement)(y.Toolbar,null,Object(c.createElement)(y.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(d.__)("Edit image"),onClick:this.toggleIsEditing,icon:"edit"})):Object(c.createElement)(b.MediaUploadCheck,null,Object(c.createElement)(y.Toolbar,null,Object(c.createElement)(b.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:A,value:k,render:function(e){var t=e.open;return Object(c.createElement)(y.IconButton,{className:"components-toolbar__control",label:Object(d.__)("Edit image"),icon:"edit",onClick:t})}}))));var L=Object(c.createElement)(b.BlockControls,null,Object(c.createElement)(b.BlockAlignmentToolbar,{value:w,onChange:this.updateAlignment}),e);if(n||!O){var M=P?O:void 0;return Object(c.createElement)(c.Fragment,null,L,Object(c.createElement)(b.MediaPlaceholder,{icon:Object(c.createElement)(b.BlockIcon,{icon:S}),className:m,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:p,onError:this.onUploadError,accept:"image/*",allowedTypes:A,value:{id:k,src:M}}))}var z=l()(m,{"is-transient":Object(s.isBlobURL)(O),"is-resized":!!N||!!B,"is-focused":u}),H=-1===["wide","full"].indexOf(w)&&i,D="custom"!==T,F=this.getImageSizeOptions(),U=function(e,n){return Object(c.createElement)(b.InspectorControls,null,Object(c.createElement)(y.PanelBody,{title:Object(d.__)("Image Settings")},Object(c.createElement)(y.TextareaControl,{label:Object(d.__)("Alt Text (Alternative Text)"),value:v,onChange:t.updateAlt,help:Object(d.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}),!Object(j.isEmpty)(F)&&Object(c.createElement)(y.SelectControl,{label:Object(d.__)("Image Size"),value:O,options:F,onChange:t.updateImageURL}),H&&Object(c.createElement)("div",{className:"block-library-image__dimensions"},Object(c.createElement)("p",{className:"block-library-image__dimensions__row"},Object(d.__)("Image Dimensions")),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(y.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(d.__)("Width"),value:void 0!==N?N:e,min:1,onChange:t.updateWidth}),Object(c.createElement)(y.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(d.__)("Height"),value:void 0!==B?B:n,min:1,onChange:t.updateHeight})),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(y.ButtonGroup,{"aria-label":Object(d.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(e*(r/100)),a=Math.round(n*(r/100)),i=N===o&&B===a;return Object(c.createElement)(y.Button,{key:r,isSmall:!0,isPrimary:i,"aria-pressed":i,onClick:t.updateDimensions(o,a)},r,"%")})),Object(c.createElement)(y.Button,{isSmall:!0,onClick:t.updateDimensions()},Object(d.__)("Reset"))))),Object(c.createElement)(y.PanelBody,{title:Object(d.__)("Link Settings")},Object(c.createElement)(y.SelectControl,{label:Object(d.__)("Link To"),value:T,options:t.getLinkDestinationOptions(),onChange:t.onSetLinkDestination}),"none"!==T&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link URL"),value:C||"",onChange:t.onSetCustomHref,placeholder:D?void 0:"https://",readOnly:D}),Object(c.createElement)(y.ToggleControl,{label:Object(d.__)("Open in New Tab"),onChange:t.onSetNewTab,checked:"_blank"===I}),Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link CSS Class"),value:x||"",onChange:t.onSetLinkClass}),Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link Rel"),value:E||"",onChange:t.onSetLinkRel}))))};return Object(c.createElement)(c.Fragment,null,L,Object(c.createElement)("figure",{className:z},Object(c.createElement)(R,{src:O,dirtynessTrigger:w},function(e){var n,r=e.imageWidthWithinContainer,o=e.imageHeightWithinContainer,i=e.imageWidth,l=e.imageHeight,u=t.getFilename(O);n=v||(u?Object(d.sprintf)(Object(d.__)("This image has an empty alt attribute; its file name is %s"),u):Object(d.__)("This image has an empty alt attribute"));var b=Object(c.createElement)(c.Fragment,null,Object(c.createElement)("img",{src:O,alt:n,onClick:t.onImageClick,onError:function(){return t.onImageError(O)}}),Object(s.isBlobURL)(O)&&Object(c.createElement)(y.Spinner,null));if(!H||!r)return Object(c.createElement)(c.Fragment,null,U(i,l),Object(c.createElement)("div",{style:{width:N,height:B}},b));var m=N||r,p=B||o,j=i/l,_=i a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},z={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},H={figure:{require:["img"],children:Object(a.a)({},z,{a:{attributes:["href","rel","target"],children:z},figcaption:{children:Object(u.getPhrasingContentSchema)()}})}};function D(e,t){var n=document.implementation.createHTMLDocument("").body;n.innerHTML=e;var r=n.firstElementChild;if(r&&"A"===r.nodeName)return r.getAttribute(t)||void 0}function F(e,t){var n=t.shortcode,r=document.implementation.createHTMLDocument("").body;r.innerHTML=n.content;for(var o=r.querySelector("img");o&&o.parentNode&&o.parentNode!==r;)o=o.parentNode;return o&&o.parentNode.removeChild(o),r.innerHTML.trim()}var U={title:Object(d.__)("Image"),description:Object(d.__)("Insert an image to make a visual statement."),icon:S,category:"common",keywords:["img",Object(d.__)("photo")],attributes:M,transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:H,transform:function(e){var t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),r=n?n[1]:void 0,o=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=o?Number(o[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,l=c&&c.href?c.href:void 0,s=c&&c.rel?c.rel:void 0,b=c&&c.className?c.className:void 0,d=Object(u.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:a,linkDestination:i,href:l,rel:s,linkClass:b});return Object(u.createBlock)("core/image",d)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(u.createBlock)("core/image",{url:Object(s.createBlobURL)(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:{shortcode:F},href:{shortcode:function(e,t){return D(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return D(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return D(t.shortcode.content,"class")}},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:P,save:function(e){var t,n=e.attributes,r=n.url,a=n.alt,i=n.caption,s=n.align,u=n.href,d=n.rel,m=n.linkClass,h=n.width,p=n.height,g=n.id,f=n.linkTarget,O=l()((t={},Object(o.a)(t,"align".concat(s),s),Object(o.a)(t,"is-resized",h||p),t)),v=Object(c.createElement)("img",{src:r,alt:a,className:g?"wp-image-".concat(g):null,width:h,height:p}),j=Object(c.createElement)(c.Fragment,null,u?Object(c.createElement)("a",{className:m,href:u,target:f,rel:d},v):v,!b.RichText.isEmpty(i)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:i}));return"left"===s||"right"===s||"center"===s?Object(c.createElement)("div",null,Object(c.createElement)("figure",{className:O},j)):Object(c.createElement)("figure",{className:O},j)},deprecated:[{attributes:M,save:function(e){var t,n=e.attributes,r=n.url,a=n.alt,i=n.caption,s=n.align,u=n.href,d=n.width,m=n.height,h=n.id,p=l()((t={},Object(o.a)(t,"align".concat(s),s),Object(o.a)(t,"is-resized",d||m),t)),g=Object(c.createElement)("img",{src:r,alt:a,className:h?"wp-image-".concat(h):null,width:d,height:m});return Object(c.createElement)("figure",{className:p},u?Object(c.createElement)("a",{href:u},g):g,!b.RichText.isEmpty(i)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:i}))}},{attributes:M,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,i=t.href,l=t.width,s=t.height,u=t.id,d=Object(c.createElement)("img",{src:n,alt:r,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(c.createElement)("figure",{className:a?"align".concat(a):null},i?Object(c.createElement)("a",{href:i},d):d,!b.RichText.isEmpty(o)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:M,save:function(e){var t=e.attributes,n=t.url,o=t.alt,a=t.caption,i=t.align,l=t.href,s=t.width,u=t.height,d=s||u?{width:s,height:u}:{},m=Object(c.createElement)("img",Object(r.a)({src:n,alt:o},d)),h={};return s?h={width:s}:"left"!==i&&"right"!==i||(h={maxWidth:"50%"}),Object(c.createElement)("figure",{className:i?"align".concat(i):null,style:h},l?Object(c.createElement)("a",{href:l},m):m,!b.RichText.isEmpty(a)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:a}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(2),m=n(5),h=n(22),p=n(33),g=n.n(p),f=n(6),O=n(42),v=n.n(O),j=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.formRef=Object(r.createRef)(),e.widgetContentRef=Object(r.createRef)(),e.triggerWidgetEvent=e.triggerWidgetEvent.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.triggerWidgetEvent("widget-added"),this.previousFormData=new window.FormData(this.formRef.current)}},{key:"shouldComponentUpdate",value:function(e){e.form!==this.props.form&&this.widgetContentRef.current&&(this.widgetContentRef.current.innerHTML=e.form,this.triggerWidgetEvent("widget-updated"),this.previousFormData=new window.FormData(this.formRef.current));return!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,o=t.idBase,a=t.widgetNumber,c=t.form;return Object(r.createElement)("div",{className:"widget open",ref:this.containerRef},Object(r.createElement)("div",{className:"widget-inside"},Object(r.createElement)("form",{ref:this.formRef,method:"post",onBlur:function(){e.shouldTriggerInstanceUpdate()&&e.props.onInstanceChange(e.retrieveUpdatedInstance())}},Object(r.createElement)("div",{ref:this.widgetContentRef,className:"widget-content",dangerouslySetInnerHTML:{__html:c}}),Object(r.createElement)("input",{type:"hidden",name:"widget-id",className:"widget-id",value:n}),Object(r.createElement)("input",{type:"hidden",name:"id_base",className:"id_base",value:o}),Object(r.createElement)("input",{type:"hidden",name:"widget_number",className:"widget_number",value:a}),Object(r.createElement)("input",{type:"hidden",name:"multi_number",className:"multi_number",value:""}),Object(r.createElement)("input",{type:"hidden",name:"add_new",className:"add_new",value:""}))))}},{key:"shouldTriggerInstanceUpdate",value:function(){if(!this.formRef.current)return!1;if(!this.previousFormData)return!0;var e=new window.FormData(this.formRef.current),t=Array.from(e.keys()),n=Array.from(this.previousFormData.keys());if(t.length!==n.length)return!0;for(var r=0;r1?a[p]=g:a[p]=g[0]}}}catch(e){s=!0,u=e}finally{try{l||null==m.return||m.return()}finally{if(s)throw u}}return a}}}]),t}(r.Component),y=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={form:null,idBase:null},e.instanceUpdating=null,e.onInstanceChange=e.onInstanceChange.bind(Object(b.a)(Object(b.a)(e))),e.requestWidgetUpdater=e.requestWidgetUpdater.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.requestWidgetUpdater()}},{key:"componentDidUpdate",value:function(e){e.instance!==this.props.instance&&this.instanceUpdating!==this.props.instance&&this.requestWidgetUpdater(),this.instanceUpdating===this.props.instance&&(this.instanceUpdating=null)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,a=t.identifier,c=this.state,i=c.id,l=c.idBase,s=c.form;return a?s?Object(r.createElement)("div",{className:"wp-block-legacy-widget__edit-container",style:{display:this.props.isVisible?"block":"none"}},Object(r.createElement)(j,{ref:function(t){e.widgetEditDomManagerRef=t},onInstanceChange:this.onInstanceChange,widgetNumber:-1*n,id:i,idBase:l,form:s})):null:Object(o.__)("Not a valid widget.")}},{key:"onInstanceChange",value:function(e){var t=this;this.requestWidgetUpdater(e,function(e){t.instanceUpdating=e.instance,t.props.onInstanceChange(e.instance)})}},{key:"requestWidgetUpdater",value:function(e,t){var n=this,r=this.props,o=r.identifier,a=r.instanceId,c=r.instance;o&&g()({path:"/wp/v2/widgets/".concat(o,"/"),data:{identifier:o,instance:c,id_to_use:-1*a,instance_changes:e},method:"POST"}).then(function(e){n.isStillMounted&&(n.setState({form:e.form,idBase:e.id_base,id:e.id}),t&&t(e))})}}]),t}(r.Component),_=Object(f.withInstanceId)(y),w=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={isPreview:!1},e.switchToEdit=e.switchToEdit.bind(Object(b.a)(Object(b.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(b.a)(Object(b.a)(e))),e.changeWidget=e.changeWidget.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e,t=this,n=this.props,c=n.attributes,i=n.availableLegacyWidgets,l=n.hasPermissionsToManageWidgets,s=n.setAttributes,u=this.state.isPreview,b=c.identifier,m=c.isCallbackWidget,p=b&&i[b];if(!p)return e=l?0===i.length?Object(o.__)("There are no widgets available."):Object(r.createElement)(a.SelectControl,{label:Object(o.__)("Select a legacy widget to display:"),value:b||"none",onChange:function(e){return s({instance:{},identifier:e,isCallbackWidget:i[e].isCallbackWidget})},options:[{value:"none",label:"Select widget"}].concat(Object(d.map)(i,function(e,t){return{value:t,label:e.name}}))}):Object(o.__)("You don't have permissions to use widgets on this site."),Object(r.createElement)(a.Placeholder,{icon:Object(r.createElement)(h.BlockIcon,{icon:"admin-customizer"}),label:Object(o.__)("Legacy Widget")},e);var g=Object(r.createElement)(h.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:p.name},p.description));return l?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h.BlockControls,null,Object(r.createElement)(a.Toolbar,null,Object(r.createElement)(a.IconButton,{onClick:this.changeWidget,label:Object(o.__)("Change widget"),icon:"update"}),!m&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.Button,{className:"components-tab-button ".concat(u?"":"is-active"),onClick:this.switchToEdit},Object(r.createElement)("span",null,Object(o.__)("Edit"))),Object(r.createElement)(a.Button,{className:"components-tab-button ".concat(u?"is-active":""),onClick:this.switchToPreview},Object(r.createElement)("span",null,Object(o.__)("Preview")))))),g,!m&&Object(r.createElement)(_,{isVisible:!u,identifier:c.identifier,instance:c.instance,onInstanceChange:function(e){t.props.setAttributes({instance:e})}}),(u||m)&&this.renderWidgetPreview()):Object(r.createElement)(r.Fragment,null,g,this.renderWidgetPreview())}},{key:"changeWidget",value:function(){this.switchToEdit(),this.props.setAttributes({instance:{},identifier:void 0})}},{key:"switchToEdit",value:function(){this.setState({isPreview:!1})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"renderWidgetPreview",value:function(){var e=this.props.attributes;return Object(r.createElement)(h.ServerSideRender,{className:"wp-block-legacy-widget__preview",block:"core/legacy-widget",attributes:e})}}]),t}(r.Component),k=Object(m.withSelect)(function(e){var t=e("core/block-editor").getSettings(),n=t.availableLegacyWidgets;return{hasPermissionsToManageWidgets:t.hasPermissionsToManageWidgets,availableLegacyWidgets:n}})(w);n.d(t,"name",function(){return C}),n.d(t,"settings",function(){return E});var C="core/legacy-widget",E={title:Object(o.__)("Legacy Widget (Experimental)"),description:Object(o.__)("Display a legacy widget."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(a.G,null,Object(r.createElement)(a.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},edit:k,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(1),c=n(35),i=n(14),l=n(5),s=n(8),u=n(19),b=n(28),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(16),v=n.n(O),j=n(4),y=n(6),_=n(22),w=Object(r.createElement)(j.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(j.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(j.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function k(e){var t=e.hrefs,n=e.openInNewWindow,o=e.showDownloadButton,c=e.changeLinkDestinationOption,i=e.changeOpenInNewWindow,l=e.changeShowDownloadButton,u=t.href,b=t.textLinkHref,d=t.attachmentPage,m=[{value:u,label:Object(a.__)("URL")}];return d&&(m=[{value:u,label:Object(a.__)("Media File")},{value:d,label:Object(a.__)("Attachment Page")}]),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.InspectorControls,null,Object(r.createElement)(j.PanelBody,{title:Object(a.__)("Text Link Settings")},Object(r.createElement)(j.SelectControl,{label:Object(a.__)("Link To"),value:b,options:m,onChange:c}),Object(r.createElement)(j.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:n,onChange:i})),Object(r.createElement)(j.PanelBody,{title:Object(a.__)("Download Button Settings")},Object(r.createElement)(j.ToggleControl,{label:Object(a.__)("Show Download Button"),checked:o,onChange:l}))))}var C=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(f.a)(Object(f.a)(e))),e.confirmCopyURL=e.confirmCopyURL.bind(Object(f.a)(Object(f.a)(e))),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(f.a)(Object(f.a)(e))),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(f.a)(Object(f.a)(e))),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(f.a)(Object(f.a)(e))),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(f.a)(Object(f.a)(e))),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=n.href;if(Object(c.isBlobURL)(o)){var a=Object(c.getBlobByURL)(o);Object(_.mediaUpload)({filesList:[a],onFileChange:function(t){var n=Object(b.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),r.createErrorNotice(t)}}),Object(c.revokeBlobURL)(o)}}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isSelected,o=e.attributes,i=e.setAttributes,l=e.noticeUI,b=e.noticeOperations,d=e.media,m=o.fileName,h=o.href,p=o.textLinkHref,g=o.textLinkTarget,f=o.showDownloadButton,O=o.downloadButtonText,y=o.id,_=this.state,C=_.hasError,E=_.showCopyConfirmation,x=d&&d.link;if(!h||C)return Object(r.createElement)(s.MediaPlaceholder,{icon:Object(r.createElement)(s.BlockIcon,{icon:w}),labels:{title:Object(a.__)("File"),instructions:Object(a.__)("Drag a file, upload a new one or select a file from your library.")},onSelect:this.onSelectFile,notices:l,onError:b.createErrorNotice,accept:"*"});var S=v()(t,{"is-transient":Object(c.isBlobURL)(h)});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(k,Object(u.a)({hrefs:{href:h,textLinkHref:p,attachmentPage:x}},{openInNewWindow:!!g,showDownloadButton:f,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(r.createElement)(s.BlockControls,null,Object(r.createElement)(s.MediaUploadCheck,null,Object(r.createElement)(j.Toolbar,null,Object(r.createElement)(s.MediaUpload,{onSelect:this.onSelectFile,value:y,render:function(e){var t=e.open;return Object(r.createElement)(j.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(r.createElement)("div",{className:S},Object(r.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(r.createElement)(s.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:m,placeholder:Object(a.__)("Write file name…"),keepPlaceholderOnFocus:!0,formattingControls:[],onChange:function(e){return i({fileName:e})}}),f&&Object(r.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(r.createElement)(s.RichText,{tagName:"div",className:"wp-block-file__button",value:O,formattingControls:[],placeholder:Object(a.__)("Add text…"),keepPlaceholderOnFocus:!0,onChange:function(e){return i({downloadButtonText:e})}}))),n&&Object(r.createElement)(j.ClipboardButton,{isDefault:!0,text:h,className:"wp-block-file__copy-url-button",onCopy:this.confirmCopyURL,onFinishCopy:this.resetCopyConfirmation,disabled:Object(c.isBlobURL)(h)},E?Object(a.__)("Copied!"):Object(a.__)("Copy URL"))))}}]),t}(r.Component),E=Object(y.compose)([Object(l.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{media:void 0===r?void 0:n(r)}}),j.withNotices])(C);n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var x="core/file",S={title:Object(a.__)("File"),description:Object(a.__)("Add a link to a downloadable file."),icon:w,category:"common",keywords:[Object(a.__)("document"),Object(a.__)("pdf")],attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]",default:Object(a._x)("Download","button label")}},supports:{align:!0},transforms:{from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach(function(e){var n=Object(c.createBlobURL)(e);t.push(Object(i.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"audio")},transform:function(e){return Object(i.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"video")},transform:function(e){return Object(i.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"image")},transform:function(e){return Object(i.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},edit:E,save:function(e){var t=e.attributes,n=t.href,o=t.fileName,a=t.textLinkHref,c=t.textLinkTarget,i=t.showDownloadButton,l=t.downloadButtonText;return n&&Object(r.createElement)("div",null,!s.RichText.isEmpty(o)&&Object(r.createElement)("a",{href:a,target:c,rel:!!c&&"noreferrer noopener"},Object(r.createElement)(s.RichText.Content,{value:o})),i&&Object(r.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(r.createElement)(s.RichText.Content,{value:l})))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(19),a=n(7),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(0),m=n(2),h=n(4),p=n(5),g=n(8),f=n(6),O=n(18),v=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).titleField=Object(d.createRef)(),e.editButton=Object(d.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(b.a)(Object(b.a)(e))),e.handleTitleChange=e.handleTitleChange.bind(Object(b.a)(Object(b.a)(e))),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{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===O.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,o=e.isSaving,a=e.isEditDisabled,c=e.onEdit,i=e.instanceId;return Object(d.createElement)(d.Fragment,null,!t&&!o&&Object(d.createElement)("div",{className:"reusable-block-edit-panel"},Object(d.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(d.createElement)(h.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:a,onClick:c},Object(r.__)("Edit"))),(t||o)&&Object(d.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(d.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(i),className:"reusable-block-edit-panel__label"},Object(r.__)("Name:")),Object(d.createElement)("input",{ref:this.titleField,type:"text",disabled:o,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(i)}),Object(d.createElement)(h.Button,{type:"submit",isLarge:!0,isBusy:o,disabled:!n||o,className:"reusable-block-edit-panel__button"},Object(r.__)("Save"))))}}]),t}(d.Component),j=Object(f.withInstanceId)(v);var y=function(e){var t=e.title,n=Object(r.sprintf)(Object(r.__)("Reusable Block: %s"),t);return Object(d.createElement)(h.Tooltip,{text:n},Object(d.createElement)("span",{className:"reusable-block-indicator"},Object(d.createElement)(h.Dashicon,{icon:"controls-repeat"})))},_=function(e){function t(e){var n,r=e.reusableBlock;return Object(c.a)(this,t),(n=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(b.a)(Object(b.a)(n))),n.stopEditing=n.stopEditing.bind(Object(b.a)(Object(b.a)(n))),n.setAttributes=n.setAttributes.bind(Object(b.a)(Object(b.a)(n))),n.setTitle=n.setTitle.bind(Object(b.a)(Object(b.a)(n))),n.save=n.save.bind(Object(b.a)(Object(b.a)(n))),r&&r.isTemporary?n.state={isEditing:!0,title:r.title,changedAttributes:{}}:n.state={isEditing:!1,title:null,changedAttributes:null},n}return Object(u.a)(t,e),Object(i.a)(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:Object(a.a)({},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,a=e.onSave,c=this.state,i=c.title,l=c.changedAttributes;i!==t.title&&n(i),r(o.clientId,l),a(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,c=e.block,i=e.isFetching,l=e.isSaving,s=e.canUpdateBlock,u=this.state,b=u.isEditing,p=u.title,f=u.changedAttributes;if(!n&&i)return Object(d.createElement)(h.Placeholder,null,Object(d.createElement)(h.Spinner,null));if(!n||!c)return Object(d.createElement)(h.Placeholder,null,Object(r.__)("Block has been deleted or is unavailable."));var O=Object(d.createElement)(g.BlockEdit,Object(o.a)({},this.props,{isSelected:b&&t,clientId:c.clientId,name:c.name,attributes:Object(a.a)({},c.attributes,f),setAttributes:b?this.setAttributes:m.noop}));return b||(O=Object(d.createElement)(h.Disabled,null,O)),Object(d.createElement)(d.Fragment,null,(t||b)&&Object(d.createElement)(j,{isEditing:b,title:null!==p?p:n.title,isSaving:l&&!n.isTemporary,isEditDisabled:!s,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!b&&Object(d.createElement)(y,{title:n.title}),O)}}]),t}(d.Component),w=Object(f.compose)([Object(p.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor").getBlock,l=t.attributes.ref,s=r(l);return{reusableBlock:s,isFetching:o(l),isSaving:a(l),block:s?i(s.clientId):null,canUpdateBlock:!!s&&!s.isTemporary&&!!c("update","blocks",l)}}),Object(p.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlockTitle,a=n.__experimentalSaveReusableBlock,c=e("core/block-editor").updateBlockAttributes,i=t.attributes.ref;return{fetchReusableBlock:Object(m.partial)(r,i),updateAttributes:c,onUpdateTitle:Object(m.partial)(o,i),onSave:Object(m.partial)(a,i)}})])(_);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/block",C={title:Object(r.__)("Reusable Block"),category:"reusable",description:Object(r.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},edit:w,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(0),a=n(2),c=n(1),i=n(14),l=n(8),s=n(22),u=n(35),b=n(15),d=n(17),m=n(10),h=n(9),p=n(11),g=n(12),f=n(13),O=n(3),v=n(16),j=n.n(v),y=n(4),_=n(18),w=n(5),k=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).onImageClick=e.onImageClick.bind(Object(O.a)(Object(O.a)(e))),e.onSelectCaption=e.onSelectCaption.bind(Object(O.a)(Object(O.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(O.a)(Object(O.a)(e))),e.bindContainer=e.bindContainer.bind(Object(O.a)(Object(O.a)(e))),e.state={captionSelected:!1},e}return Object(f.a)(t,e),Object(h.a)(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!==[_.BACKSPACE,_.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,a=t.id,i=t.linkTo,s=t.link,b=t.isSelected,d=t.caption,m=t.onRemove,h=t.setAttributes,p=t["aria-label"];switch(i){case"media":e=n;break;case"attachment":e=s}var g=Object(o.createElement)(o.Fragment,null,Object(o.createElement)("img",{src:n,alt:r,"data-id":a,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":p}),Object(u.isBlobURL)(n)&&Object(o.createElement)(y.Spinner,null)),f=j()({"is-selected":b,"is-transient":Object(u.isBlobURL)(n)});return Object(o.createElement)("figure",{className:f,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},b&&Object(o.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(o.createElement)(y.IconButton,{icon:"no-alt",onClick:m,className:"blocks-gallery-item__remove",label:Object(c.__)("Remove Image")})),e?Object(o.createElement)("a",{href:e},g):g,!l.RichText.isEmpty(d)||b?Object(o.createElement)(l.RichText,{tagName:"figcaption",placeholder:Object(c.__)("Write caption…"),value:d,isSelected:this.state.captionSelected,onChange:function(e){return h({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(o.Component),C=Object(w.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(k),E=Object(o.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(y.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(o.createElement)(y.G,null,Object(o.createElement)(y.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),x=[{value:"attachment",label:Object(c.__)("Attachment Page")},{value:"media",label:Object(c.__)("Media File")},{value:"none",label:Object(c.__)("None")}],S=["image"];function T(e){return Math.min(3,e.images.length)}var R=function(e){var t=Object(a.pick)(e,["alt","id","link","caption"]);return t.url=Object(a.get)(e,["sizes","large","url"])||Object(a.get)(e,["media_details","sizes","large","source_url"])||e.url,t},A=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(Object(O.a)(e))),e.onSelectImages=e.onSelectImages.bind(Object(O.a)(Object(O.a)(e))),e.setLinkTo=e.setLinkTo.bind(Object(O.a)(Object(O.a)(e))),e.setColumnsNumber=e.setColumnsNumber.bind(Object(O.a)(Object(O.a)(e))),e.toggleImageCrop=e.toggleImageCrop.bind(Object(O.a)(Object(O.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(Object(O.a)(e))),e.setImageAttributes=e.setImageAttributes.bind(Object(O.a)(Object(O.a)(e))),e.addFiles=e.addFiles.bind(Object(O.a)(Object(O.a)(e))),e.uploadFromFiles=e.uploadFromFiles.bind(Object(O.a)(Object(O.a)(e))),e.setAttributes=e.setAttributes.bind(Object(O.a)(Object(O.a)(e))),e.state={selectedImage:null},e}return Object(f.a)(t,e),Object(h.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(r.a)({},e,{ids:Object(a.map)(e.images,"id")})),this.props.setAttributes(e)}},{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(a.filter)(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){var t=this.props.attributes.columns;this.setAttributes({images:e.map(function(e){return R(e)}),columns:t?Math.min(e.length,t):t})}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(c.__)("Thumbnails are cropped to align."):Object(c.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,o=this.setAttributes;n[e]&&o({images:[].concat(Object(d.a)(n.slice(0,e)),[Object(r.a)({},n[e],t)],Object(d.a)(n.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.noticeOperations,r=this.setAttributes;Object(s.mediaUpload)({allowedTypes:S,filesList:e,onFileChange:function(e){var n=e.map(function(e){return R(e)});r({images:t.concat(n)})},onError:n.createErrorNotice})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,a=n.isSelected,i=n.className,s=n.noticeOperations,u=n.noticeUI,d=r.images,m=r.columns,h=void 0===m?T(r):m,p=r.align,g=r.imageCrop,f=r.linkTo,O=Object(o.createElement)(y.DropZone,{onFilesDrop:this.addFiles}),v=Object(o.createElement)(l.BlockControls,null,!!d.length&&Object(o.createElement)(y.Toolbar,null,Object(o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:S,multiple:!0,gallery:!0,value:d.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(o.createElement)(y.IconButton,{className:"components-toolbar__control",label:Object(c.__)("Edit gallery"),icon:"edit",onClick:t})}})));return 0===d.length?Object(o.createElement)(o.Fragment,null,v,Object(o.createElement)(l.MediaPlaceholder,{icon:Object(o.createElement)(l.BlockIcon,{icon:E}),className:i,labels:{title:Object(c.__)("Gallery"),instructions:Object(c.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:S,multiple:!0,notices:u,onError:s.createErrorNotice})):Object(o.createElement)(o.Fragment,null,v,Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(y.PanelBody,{title:Object(c.__)("Gallery Settings")},d.length>1&&Object(o.createElement)(y.RangeControl,{label:Object(c.__)("Columns"),value:h,onChange:this.setColumnsNumber,min:1,max:Math.min(8,d.length),required:!0}),Object(o.createElement)(y.ToggleControl,{label:Object(c.__)("Crop Images"),checked:!!g,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(o.createElement)(y.SelectControl,{label:Object(c.__)("Link To"),value:f,onChange:this.setLinkTo,options:x}))),u,Object(o.createElement)("ul",{className:j()(i,(e={},Object(b.a)(e,"align".concat(p),p),Object(b.a)(e,"columns-".concat(h),h),Object(b.a)(e,"is-cropped",g),e))},O,d.map(function(e,n){var r=Object(c.sprintf)(Object(c.__)("image %1$d of %2$d in gallery"),n+1,d.length);return Object(o.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(o.createElement)(C,{url:e.url,alt:e.alt,id:e.id,isSelected:a&&t.state.selectedImage===n,onRemove:t.onRemoveImage(n),onSelect:t.onSelectImage(n),setAttributes:function(e){return t.setImageAttributes(n,e)},caption:e.caption,"aria-label":r}))}),a&&Object(o.createElement)("li",{className:"blocks-gallery-item has-add-item-button"},Object(o.createElement)(y.FormFileUpload,{multiple:!0,isLarge:!0,className:"block-library-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(c.__)("Upload an image")))))}}]),t}(o.Component),N=Object(y.withNotices)(A);n.d(t,"name",function(){return I}),n.d(t,"settings",function(){return L});var B={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:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},I="core/gallery",P=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},L={title:Object(c.__)("Gallery"),description:Object(c.__)("Display multiple images in a rich gallery."),icon:E,category:"common",keywords:[Object(c.__)("images"),Object(c.__)("photos")],attributes:B,supports:{align:!0},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(a.every)(e,["align",t])?t:void 0;var n=Object(a.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return Object(i.createBlock)("core/gallery",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return P(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return P(t)}},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(a.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=Object(i.createBlock)("core/gallery",{images:e.map(function(e){return R({url:Object(u.createBlobURL)(e)})})});return Object(s.mediaUpload)({filesList:e,onFileChange:function(e){var r=e.map(R);t(n.clientId,{ids:Object(a.map)(r,"id"),images:r})},allowedTypes:["image"]}),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object(i.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})}):Object(i.createBlock)("core/image",{align:n})}}]},edit:N,save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},deprecated:[{attributes:B,isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(a.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(r.a)({},e,{ids:Object(a.map)(e.images,function(e){var t=e.id;return t?parseInt(t,10):null})})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:B,save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:Object(r.a)({},B,{images:Object(r.a)({},B.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"}),align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.align,i=t.imageCrop,l=t.linkTo;return Object(o.createElement)("div",{className:"align".concat(c," columns-").concat(a," ").concat(i?"is-cropped":"")},n.map(function(e){var t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(o.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(o.createElement)("a",{href:t},n):n)}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(21),o=n(7),a=n(17),c=n(0),i=n(2),l=n(1),s=n(14),u=n(8),b=n(4),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=function(e){function t(){return Object(d.a)(this,t),Object(h.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(m.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:"heading",title:Object(l.sprintf)(Object(l.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(c.createElement)(b.Toolbar,{controls:Object(i.range)(n,r).map(function(t){return e.createLevelControl(t,o,a)})})}}]),t}(c.Component);function O(e){return Number(e.substr(1))}n.d(t,"getLevelFromHeadingNodeName",function(){return O}),n.d(t,"name",function(){return y}),n.d(t,"settings",function(){return _});var v={className:!1,anchor:!0},j={content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},align:{type:"string"},placeholder:{type:"string"}},y="core/heading",_={title:Object(l.__)("Heading"),description:Object(l.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Object(c.createElement)(b.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(b.Path,{d:"M5 4v3h5.5v12h3V7H19V4z"}),Object(c.createElement)(b.Path,{fill:"none",d:"M0 0h24v24H0V0z"})),category:"common",keywords:[Object(l.__)("title"),Object(l.__)("subtitle")],supports:v,attributes:j,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(s.getPhrasingContentSchema)()},h2:{children:Object(s.getPhrasingContentSchema)()},h3:{children:Object(s.getPhrasingContentSchema)()},h4:{children:Object(s.getPhrasingContentSchema)()},h5:{children:Object(s.getPhrasingContentSchema)()},h6:{children:Object(s.getPhrasingContentSchema)()}},transform:function(e){return Object(s.createBlock)("core/heading",Object(o.a)({},Object(s.getBlockAttributes)("core/heading",e.outerHTML),{level:O(e.nodeName)}))}}].concat(Object(a.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(s.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.createBlock)("core/paragraph",{content:t})}}]},deprecated:[{supports:v,attributes:Object(o.a)({},Object(i.omit)(j,["level"]),{nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"}}),migrate:function(e){var t=e.nodeName,n=Object(r.a)(e,["nodeName"]);return Object(o.a)({},n,{level:O(t)})},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content;return Object(c.createElement)(u.RichText.Content,{tagName:r.toLowerCase(),style:{textAlign:n},value:o})}}],merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.insertBlocksAfter,a=e.onReplace,i=e.className,d=t.align,m=t.content,h=t.level,p=t.placeholder,g="h"+h;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(u.BlockControls,null,Object(c.createElement)(f,{minLevel:2,maxLevel:5,selectedLevel:h,onChange:function(e){return n({level:e})}})),Object(c.createElement)(u.InspectorControls,null,Object(c.createElement)(b.PanelBody,{title:Object(l.__)("Heading Settings")},Object(c.createElement)("p",null,Object(l.__)("Level")),Object(c.createElement)(f,{minLevel:1,maxLevel:7,selectedLevel:h,onChange:function(e){return n({level:e})}}),Object(c.createElement)("p",null,Object(l.__)("Text Alignment")),Object(c.createElement)(u.AlignmentToolbar,{value:d,onChange:function(e){n({align:e})}}))),Object(c.createElement)(u.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:g,value:m,onChange:function(e){return n({content:e})},onMerge:r,unstableOnSplit:o?function(e,t){n({content:e});for(var r=arguments.length,a=new Array(r>2?r-2:0),c=2;c50){if(e&&e.attributes.dimRatio>50&&e.overlayColor.color===o.color)return;return o.color?void this.changeIsDarkIfRequired(w()(o.color).isDark()):void this.changeIsDarkIfRequired(!0)}if(!(e&&e.attributes.dimRatio<=50&&e.attributes.url===c)){var i;switch(r.backgroundType){case"image":i=this.imageRef.current;break;case"video":i=this.videoRef.current}i&&T().getColorAsync(i,function(e){t.changeIsDarkIfRequired(e.isDark)})}}},{key:"changeIsDarkIfRequired",value:function(e){this.state.isDark!==e&&this.setState({isDark:e})}}]),t}(a.Component),B=Object(k.compose)([Object(C.withColors)({overlayColor:"background-color"}),d.withNotices])(N);n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return L});var I={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},P="core/cover",L={title:Object(b.__)("Cover"),description:Object(b.__)("Add an image or video with a text overlay — great for headers."),icon:m,category:"common",attributes:I,supports:{align:!0},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object(s.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||"image"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType;return!e.url||"video"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},save:function(e){var t=e.attributes,n=t.backgroundType,r=t.customOverlayColor,o=t.dimRatio,c=t.focalPoint,i=t.hasParallax,s=t.overlayColor,b=t.url,d=Object(u.getColorClassName)("background-color",s),m="image"===n?R(b):{};d||(m.backgroundColor=r),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var h=l()(A(o),d,{"has-background-dim":0!==o,"has-parallax":i});return Object(a.createElement)("div",{className:h,style:m},"video"===n&&b&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:b}),Object(a.createElement)("div",{className:"wp-block-cover__inner-container"},Object(a.createElement)(u.InnerBlocks.Content,null)))},edit:B,deprecated:[{attributes:Object(o.a)({},I,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,n=t.backgroundType,o=t.contentAlign,c=t.customOverlayColor,i=t.dimRatio,s=t.focalPoint,b=t.hasParallax,d=t.overlayColor,m=t.title,h=t.url,p=Object(u.getColorClassName)("background-color",d),g="image"===n?R(h):{};p||(g.backgroundColor=c),s&&!b&&(g.backgroundPosition="".concat(100*s.x,"% ").concat(100*s.y,"%"));var f=l()(A(i),p,Object(r.a)({"has-background-dim":0!==i,"has-parallax":b},"has-".concat(o,"-content"),"center"!==o));return Object(a.createElement)("div",{className:f,style:g},"video"===n&&h&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:h}),!u.RichText.isEmpty(m)&&Object(a.createElement)(u.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:m}))},migrate:function(e){return[Object(c.omit)(e,["title","contentAlign"]),[Object(s.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(b.__)("Write title…")})]]}},{attributes:Object(o.a)({},I,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,o=t.title,c=t.hasParallax,i=t.dimRatio,s=t.align,b=t.contentAlign,d=t.overlayColor,m=t.customOverlayColor,h=Object(u.getColorClassName)("background-color",d),p=R(n);h||(p.backgroundColor=m);var g=l()("wp-block-cover-image",A(i),h,Object(r.a)({"has-background-dim":0!==i,"has-parallax":c},"has-".concat(b,"-content"),"center"!==b),s?"align".concat(s):null);return Object(a.createElement)("div",{className:g,style:p},!u.RichText.isEmpty(o)&&Object(a.createElement)(u.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:o}))}},{attributes:Object(o.a)({},I,{align:{type:"string"},title:{type:"string",source:"html",selector:"h2"},contentAlign:{type:"string",default:"center"}}),save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,c=t.dimRatio,i=t.align,s=R(n),b=l()(A(c),{"has-background-dim":0!==c,"has-parallax":o},i?"align".concat(i):null);return Object(a.createElement)("section",{className:b,style:s},Object(a.createElement)(u.RichText.Content,{tagName:"h2",value:r}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(35),a=n(14),c=n(8),i=n(1),l=n(15),s=n(28),u=n(10),b=n(9),d=n(11),m=n(12),h=n(13),p=n(3),g=n(4),f=n(22),O=n(53),v=Object(r.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(g.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(g.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),j=["video"],y=["image"],_=function(e){function t(){var e;return Object(u.a)(this,t),(e=Object(d.a)(this,Object(m.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(r.createRef)(),e.posterImageButton=Object(r.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(p.a)(Object(p.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(p.a)(Object(p.a)(e))),e.onSelectPoster=e.onSelectPoster.bind(Object(p.a)(Object(p.a)(e))),e.onRemovePoster=e.onRemovePoster.bind(Object(p.a)(Object(p.a)(e))),e}return Object(h.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(o.isBlobURL)(l)){var u=Object(o.getBlobByURL)(l);u&&Object(f.mediaUpload)({filesList:[u],onFileChange:function(e){var t=Object(s.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:j})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(l.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=Object(O.a)({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,o=t.caption,a=t.controls,l=t.loop,s=t.muted,u=t.poster,b=t.preload,d=t.src,m=this.props,h=m.setAttributes,p=m.isSelected,f=m.className,O=m.noticeOperations,_=m.noticeUI,w=this.state.editing,k=function(){e.setState({editing:!0})};return w?Object(r.createElement)(c.MediaPlaceholder,{icon:Object(r.createElement)(c.BlockIcon,{icon:v}),className:f,onSelect:function(t){if(!t||!t.url)return h({src:void 0,id:void 0}),void k();h({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:j,value:this.props.attributes,notices:_,onError:O.createErrorNotice}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(g.Toolbar,null,Object(r.createElement)(g.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(i.__)("Edit video"),onClick:k,icon:"edit"}))),Object(r.createElement)(c.InspectorControls,null,Object(r.createElement)(g.PanelBody,{title:Object(i.__)("Video Settings")},Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:l}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:s}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:a}),Object(r.createElement)(g.SelectControl,{label:Object(i.__)("Preload"),value:b,onChange:function(e){return h({preload:e})},options:[{value:"auto",label:Object(i.__)("Auto")},{value:"metadata",label:Object(i.__)("Metadata")},{value:"none",label:Object(i.__)("None")}]}),Object(r.createElement)(c.MediaUploadCheck,null,Object(r.createElement)(g.BaseControl,{className:"editor-video-poster-control",label:Object(i.__)("Poster Image")},Object(r.createElement)(c.MediaUpload,{title:Object(i.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:y,render:function(t){var n=t.open;return Object(r.createElement)(g.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton},e.props.attributes.poster?Object(i.__)("Replace image"):Object(i.__)("Select Poster Image"))}}),!!this.props.attributes.poster&&Object(r.createElement)(g.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(i.__)("Remove Poster Image")))))),Object(r.createElement)("figure",{className:f},Object(r.createElement)(g.Disabled,null,Object(r.createElement)("video",{controls:a,poster:u,src:d,ref:this.videoPlayer})),(!c.RichText.isEmpty(o)||p)&&Object(r.createElement)(c.RichText,{tagName:"figcaption",placeholder:Object(i.__)("Write caption…"),value:o,onChange:function(e){return h({caption:e})},inlineToolbar:!0})))}}]),t}(r.Component),w=Object(g.withNotices)(_);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/video",C={title:Object(i.__)("Video"),description:Object(i.__)("Embed a video from your media library or upload a new one."),icon:v,keywords:[Object(i.__)("movie")],category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"}},transforms:{from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(a.createBlock)("core/video",{src:Object(o.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},supports:{align:!0},edit:w,save:function(e){var t=e.attributes,n=t.autoplay,o=t.caption,a=t.controls,i=t.loop,l=t.muted,s=t.poster,u=t.preload,b=t.src;return Object(r.createElement)("figure",null,b&&Object(r.createElement)("video",{autoPlay:n,controls:a,loop:i,muted:l,poster:s,preload:"metadata"!==u?u:void 0,src:b}),!c.RichText.isEmpty(o)&&Object(r.createElement)(c.RichText.Content,{tagName:"figcaption",value:o}))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(16),a=n.n(o),c=n(1),i=n(14),l=n(4),s=n(8),u=n(10),b=n(9),d=n(11),m=n(12),h=n(13),p=n(3),g=n(17),f=n(15),O=n(7),v=n(2);var j=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],y=Object(s.createCustomColorsHOC)(j),_=function(e){function t(){var e;return Object(u.a)(this,t),(e=Object(d.a)(this,Object(m.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(p.a)(Object(p.a)(e))),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(p.a)(Object(p.a)(e))),e.onChange=e.onChange.bind(Object(p.a)(Object(p.a)(e))),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(p.a)(Object(p.a)(e))),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(p.a)(Object(p.a)(e))),e.renderSection=e.renderSection.bind(Object(p.a)(Object(p.a)(e))),e.getTableControls=e.getTableControls.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRow=e.onInsertRow.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(p.a)(Object(p.a)(e))),e.onDeleteRow=e.onDeleteRow.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumn=e.onInsertColumn.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(p.a)(Object(p.a)(e))),e.onDeleteColumn=e.onDeleteColumn.bind(Object(p.a)(Object(p.a)(e))),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(h.a)(t,e),Object(b.a)(t,[{key:"onChangeInitialColumnCount",value:function(e){this.setState({initialColumnCount:e})}},{key:"onChangeInitialRowCount",value:function(e){this.setState({initialRowCount:e})}},{key:"onCreateTable",value:function(e){e.preventDefault();var t,n,r,o=this.props.setAttributes,a=this.state,c=a.initialRowCount,i=a.initialColumnCount;c=parseInt(c,10)||2,i=parseInt(i,10)||2,o((n=(t={rowCount:c,columnCount:i}).rowCount,r=t.columnCount,{body:Object(v.times)(n,function(){return{cells:Object(v.times)(r,function(){return{content:"",tag:"td"}})}})}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes;(0,n.setAttributes)(function(e,t){var n=t.section,r=t.rowIndex,o=t.columnIndex,a=t.content;return Object(f.a)({},n,e[n].map(function(e,t){return t!==r?e:{cells:e.cells.map(function(e,t){return t!==o?e:Object(O.a)({},e,{content:a})})}}))}(r,{section:t.section,rowIndex:t.rowIndex,columnIndex:t.columnIndex,content:e}))}}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.rowIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.rowIndex,o=e[n][0].cells.length;return Object(f.a)({},n,[].concat(Object(g.a)(e[n].slice(0,r)),[{cells:Object(v.times)(o,function(){return{content:"",tag:"td"}})}],Object(g.a)(e[n].slice(r))))}(r,{section:a,rowIndex:c+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.rowIndex;return Object(f.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{section:o,rowIndex:a}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.columnIndex;return Object(f.a)({},n,e[n].map(function(e){return{cells:[].concat(Object(g.a)(e.cells.slice(0,r)),[{content:"",tag:"td"}],Object(g.a)(e.cells.slice(r)))}}))}(r,{section:a,columnIndex:c+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.columnIndex;return Object(f.a)({},n,e[n].map(function(e){return{cells:e.cells.filter(function(e,t){return t!==r})}}).filter(function(e){return e.cells.length}))}(n,{section:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:e})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(c.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(c.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(c.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(c.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(c.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(c.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.type,o=e.rows;if(!o.length)return null;var c="t".concat(n),i=this.state.selectedCell;return Object(r.createElement)(c,null,o.map(function(e,o){var c=e.cells;return Object(r.createElement)("tr",{key:o},c.map(function(e,c){var l=e.content,u=e.tag,b=i&&n===i.section&&o===i.rowIndex&&c===i.columnIndex,d={section:n,rowIndex:o,columnIndex:c},m=a()({"is-selected":b});return Object(r.createElement)(u,{key:c,className:m},Object(r.createElement)(s.RichText,{className:"wp-block-table__cell-content",value:l,onChange:t.onChange,unstableOnFocus:t.createOnFocus(d)}))}))}))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,o=e.backgroundColor,i=e.setBackgroundColor,u=this.state,b=u.initialRowCount,d=u.initialColumnCount,m=t.hasFixedLayout,h=t.head,p=t.body,g=t.foot,f=!h.length&&!p.length&&!g.length,O=this.renderSection;if(f)return Object(r.createElement)("form",{onSubmit:this.onCreateTable},Object(r.createElement)(l.TextControl,{type:"number",label:Object(c.__)("Column Count"),value:d,onChange:this.onChangeInitialColumnCount,min:"1"}),Object(r.createElement)(l.TextControl,{type:"number",label:Object(c.__)("Row Count"),value:b,onChange:this.onChangeInitialRowCount,min:"1"}),Object(r.createElement)(l.Button,{isPrimary:!0,type:"submit"},Object(c.__)("Create")));var v=a()(n,o.class,{"has-fixed-layout":m,"has-background":!!o.color});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.BlockControls,null,Object(r.createElement)(l.Toolbar,null,Object(r.createElement)(l.DropdownMenu,{icon:"editor-table",label:Object(c.__)("Edit table"),controls:this.getTableControls()}))),Object(r.createElement)(s.InspectorControls,null,Object(r.createElement)(l.PanelBody,{title:Object(c.__)("Table Settings"),className:"blocks-table-settings"},Object(r.createElement)(l.ToggleControl,{label:Object(c.__)("Fixed width table cells"),checked:!!m,onChange:this.onChangeFixedLayout})),Object(r.createElement)(s.PanelColorSettings,{title:Object(c.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:i,label:Object(c.__)("Background Color"),disableCustomColors:!0,colors:j}]})),Object(r.createElement)("table",{className:v},Object(r.createElement)(O,{type:"head",rows:h}),Object(r.createElement)(O,{type:"body",rows:p}),Object(r.createElement)(O,{type:"foot",rows:g})))}}]),t}(r.Component),w=y("backgroundColor")(_);n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var k={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object(i.getPhrasingContentSchema)()},td:{allowEmpty:!0,children:Object(i.getPhrasingContentSchema)()}}}},C={table:{children:{thead:{allowEmpty:!0,children:k},tfoot:{allowEmpty:!0,children:k},tbody:{allowEmpty:!0,children:k}}}};function E(e){return{type:"array",default:[],source:"query",selector:"t".concat(e," tr"),query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"}}}}}}var x="core/table",S={title:Object(c.__)("Table"),description:Object(c.__)("Insert a table — perfect for sharing charts and data."),icon:Object(r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(l.G,null,Object(r.createElement)(l.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:E("head"),body:E("body"),foot:E("foot")},styles:[{name:"regular",label:Object(c._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(c.__)("Stripes")}],supports:{align:!0},transforms:{from:[{type:"raw",selector:"table",schema:C}]},edit:w,save:function(e){var t=e.attributes,n=t.hasFixedLayout,o=t.head,c=t.body,i=t.foot,l=t.backgroundColor;if(!o.length&&!c.length&&!i.length)return null;var u=Object(s.getColorClassName)("background-color",l),b=a()(u,{"has-fixed-layout":n,"has-background":!!u}),d=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var o="t".concat(t);return Object(r.createElement)(o,null,n.map(function(e,t){var n=e.cells;return Object(r.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,o=e.tag;return Object(r.createElement)(s.RichText.Content,{tagName:o,value:n,key:t})}))}))};return Object(r.createElement)("table",{className:b},Object(r.createElement)(d,{type:"head",rows:o}),Object(r.createElement)(d,{type:"body",rows:c}),Object(r.createElement)(d,{type:"foot",rows:i}))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(14),c=n(4),i=n(8);n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var l="core/code",s={title:Object(o.__)("Code"),description:Object(o.__)("Display code snippets that respect your spacing and tabs."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(c.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1},transforms:{from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(a.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className;return Object(r.createElement)("div",{className:a},Object(r.createElement)(i.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(o.__)("Write code…"),"aria-label":Object(o.__)("Code")}))},save:function(e){var t=e.attributes;return Object(r.createElement)("pre",null,Object(r.createElement)("code",null,t.content))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(14),i=n(17),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(8),p=n(22),g=n(5),f=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(m.a)(Object(m.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(m.a)(Object(m.a)(e))),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(i.a)(Object(p.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,c=this.state,i=c.isPreview,l=c.styles;return Object(r.createElement)("div",{className:"wp-block-html"},Object(r.createElement)(h.BlockControls,null,Object(r.createElement)("div",{className:"components-toolbar"},Object(r.createElement)("button",{className:"components-tab-button ".concat(i?"":"is-active"),onClick:this.switchToHTML},Object(r.createElement)("span",null,"HTML")),Object(r.createElement)("button",{className:"components-tab-button ".concat(i?"is-active":""),onClick:this.switchToPreview},Object(r.createElement)("span",null,Object(o.__)("Preview"))))),Object(r.createElement)(a.Disabled.Consumer,null,function(e){return i||e?Object(r.createElement)(a.SandBox,{html:t.content,styles:l}):Object(r.createElement)(h.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(o.__)("Write HTML…"),"aria-label":Object(o.__)("HTML")})}))}}]),t}(r.Component),O=Object(g.withSelect)(function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}})(f);n.d(t,"name",function(){return v}),n.d(t,"settings",function(){return j});var v="core/html",j={title:Object(o.__)("Custom HTML"),description:Object(o.__)("Add custom HTML code and preview it as you edit."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"})),category:"formatting",keywords:[Object(o.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object(c.getPhrasingContentSchema)()}}}}}]},edit:O,save:function(e){var t=e.attributes;return Object(r.createElement)(r.RawHTML,null,t.content)}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(8),i=n(22);n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var l="core/archives",s={title:Object(o.__)("Archives"),description:Object(o.__)("Display a monthly archive of your posts."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(a.G,null,Object(r.createElement)(a.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right"].includes(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,l=t.align,s=t.showPostCounts,u=t.displayAsDropdown;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Archives Settings")},Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display as Dropdown"),checked:u,onChange:function(){return n({displayAsDropdown:!u})}}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Post Counts"),checked:s,onChange:function(){return n({showPostCounts:!s})}}))),Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(c.BlockAlignmentToolbar,{value:l,onChange:function(e){n({align:e})},controls:["left","center","right"]})),Object(r.createElement)(a.Disabled,null,Object(r.createElement)(i.ServerSideRender,{block:"core/archives",attributes:t})))},save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(7),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(4),u=n(1),b=n(8),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(6),v=window.getComputedStyle,j=Object(s.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:v(e).backgroundColor,fallbackTextColor:a||!c?void 0:v(c).color}}),y=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(f.a)(Object(f.a)(e))),e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,o=t.backgroundColor,c=t.textColor,l=t.setBackgroundColor,d=t.setTextColor,m=t.fallbackBackgroundColor,h=t.fallbackTextColor,p=t.setAttributes,g=t.isSelected,f=t.className,O=n.text,v=n.url,j=n.title;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:f,title:j,ref:this.bindRef},Object(a.createElement)(b.RichText,{placeholder:Object(u.__)("Add text…"),value:O,onChange:function(e){return p({text:e})},formattingControls:["bold","italic","strikethrough"],className:i()("wp-block-button__link",(e={"has-background":o.color},Object(r.a)(e,o.class,o.class),Object(r.a)(e,"has-text-color",c.color),Object(r.a)(e,c.class,c.class),e)),style:{backgroundColor:o.color,color:c.color},keepPlaceholderOnFocus:!0}),Object(a.createElement)(b.InspectorControls,null,Object(a.createElement)(b.PanelColorSettings,{title:Object(u.__)("Color Settings"),colorSettings:[{value:o.color,onChange:l,label:Object(u.__)("Background Color")},{value:c.color,onChange:d,label:Object(u.__)("Text Color")}]},Object(a.createElement)(b.ContrastChecker,{isLargeText:!1,textColor:c.color,backgroundColor:o.color,fallbackBackgroundColor:m,fallbackTextColor:h})))),g&&Object(a.createElement)("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},Object(a.createElement)(s.Dashicon,{icon:"admin-links"}),Object(a.createElement)(b.URLInput,{value:v,onChange:function(e){return p({url:e})}}),Object(a.createElement)(s.IconButton,{icon:"editor-break",label:Object(u.__)("Apply"),type:"submit"})))}}]),t}(a.Component),_=Object(O.compose)([Object(b.withColors)("backgroundColor",{textColor:"color"}),j])(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return E});var w={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},k="core/button",C=function(e){return Object(l.omit)(Object(o.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},E={title:Object(u.__)("Button"),description:Object(u.__)("Prompt visitors to take action with a button-style link."),icon:Object(a.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(s.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(s.G,null,Object(a.createElement)(s.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"}))),category:"layout",keywords:[Object(u.__)("link")],attributes:w,supports:{align:!0,alignWide:!1},styles:[{name:"default",label:Object(u._x)("Default","block style"),isDefault:!0},{name:"outline",label:Object(u.__)("Outline")},{name:"squared",label:Object(u._x)("Squared","block style")}],edit:_,save:function(e){var t,n=e.attributes,o=n.url,c=n.text,l=n.title,s=n.backgroundColor,u=n.textColor,d=n.customBackgroundColor,m=n.customTextColor,h=Object(b.getColorClassName)("color",u),p=Object(b.getColorClassName)("background-color",s),g=i()("wp-block-button__link",(t={"has-text-color":u||m},Object(r.a)(t,h,h),Object(r.a)(t,"has-background",s||d),Object(r.a)(t,p,p),t)),f={backgroundColor:p?void 0:d,color:h?void 0:m};return Object(a.createElement)("div",null,Object(a.createElement)(b.RichText.Content,{tagName:"a",className:g,href:o,title:l,style:f,value:c}))},deprecated:[{attributes:Object(o.a)({},Object(l.pick)(w,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,c=t.align,i={backgroundColor:t.color,color:t.textColor};return Object(a.createElement)("div",{className:"align".concat(c)},Object(a.createElement)(b.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:i,value:r}))},migrate:C},{attributes:Object(o.a)({},Object(l.pick)(w,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,c=t.align,i=t.color,l=t.textColor;return Object(a.createElement)("div",{className:"align".concat(c),style:{backgroundColor:i}},Object(a.createElement)(b.RichText.Content,{tagName:"a",href:n,title:o,style:{color:l},value:r}))},migrate:C}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(4),a=n(1),c=n(15),i=n(10),l=n(9),s=n(11),u=n(12),b=n(13),d=n(3),m=n(8),h=n(22),p=function(e){function t(){var e;return Object(i.a)(this,t),(e=Object(s.a)(this,Object(u.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(d.a)(Object(d.a)(e))),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(b.a)(t,e),Object(l.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(c.a)({},e,!n))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,n=e.displayAvatar,c=e.displayDate,i=e.displayExcerpt;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.InspectorControls,null,Object(r.createElement)(o.PanelBody,{title:Object(a.__)("Latest Comments Settings")},Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Date"),checked:c,onChange:this.toggleDisplayDate}),Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Excerpt"),checked:i,onChange:this.toggleDisplayExcerpt}),Object(r.createElement)(o.RangeControl,{label:Object(a.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(r.createElement)(o.Disabled,null,Object(r.createElement)(h.ServerSideRender,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(r.Component);n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var g="core/latest-comments",f={title:Object(a.__)("Latest Comments"),description:Object(a.__)("Display a list of your most recent comments."),icon:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),category:"widgets",keywords:[Object(a.__)("recent comments")],supports:{align:!0,html:!1},edit:p,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(15),i=n(19),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(2),p=n(16),g=n.n(p),f=n(33),O=n.n(f),v=n(23),j=n(50),y=n(8),_=n(5),w={per_page:-1},k=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).state={categoriesList:[]},e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(Object(m.a)(Object(m.a)(e))),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=O()({path:Object(v.addQueryArgs)("/wp/v2/categories",w)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,l=e.latestPosts,s=this.state.categoriesList,u=t.displayPostDate,b=t.align,d=t.postLayout,m=t.columns,h=t.order,p=t.orderBy,f=t.categories,O=t.postsToShow,v=Object(r.createElement)(y.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Latest Posts Settings")},Object(r.createElement)(a.QueryControls,Object(i.a)({order:h,orderBy:p},{numberOfItems:O,categoriesList:s,selectedCategoryId:f,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display post date"),checked:u,onChange:this.toggleDisplayPostDate}),"grid"===d&&Object(r.createElement)(a.RangeControl,{label:Object(o.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:_?Math.min(6,l.length):6,required:!0}))),_=Array.isArray(l)&&l.length;if(!_)return Object(r.createElement)(r.Fragment,null,v,Object(r.createElement)(a.Placeholder,{icon:"admin-post",label:Object(o.__)("Latest Posts")},Array.isArray(l)?Object(o.__)("No posts found."):Object(r.createElement)(a.Spinner,null)));var w=l.length>O?l.slice(0,O):l,k=[{icon:"list-view",title:Object(o.__)("List View"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===d},{icon:"grid-view",title:Object(o.__)("Grid View"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===d}],C=Object(j.__experimentalGetSettings)().formats.date;return Object(r.createElement)(r.Fragment,null,v,Object(r.createElement)(y.BlockControls,null,Object(r.createElement)(y.BlockAlignmentToolbar,{value:b,onChange:function(e){n({align:e})}}),Object(r.createElement)(a.Toolbar,{controls:k})),Object(r.createElement)("ul",{className:g()(this.props.className,Object(c.a)({"is-grid":"grid"===d,"has-dates":u},"columns-".concat(m),"grid"===d))},w.map(function(e,t){var n=e.title.rendered.trim();return Object(r.createElement)("li",{key:t},Object(r.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(r.createElement)(r.RawHTML,null,n):Object(o.__)("(Untitled)")),u&&e.date_gmt&&Object(r.createElement)("time",{dateTime:Object(j.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(j.dateI18n)(C,e.date_gmt)))})))}}]),t}(r.Component),C=Object(_.withSelect)(function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(h.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(h.isUndefined)(e)}))}})(k);n.d(t,"name",function(){return E}),n.d(t,"settings",function(){return x});var E="core/latest-posts",x={title:Object(o.__)("Latest Posts"),description:Object(o.__)("Display a list of your most recent posts."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(r.createElement)(a.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),category:"widgets",keywords:[Object(o.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:C,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(29),m=n.n(d),h=n(41),p=n.n(h),g=n(4),f=n(5),O=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).getYearMonth=p()(e.getYearMonth.bind(Object(u.a)(Object(u.a)(e))),{maxSize:1}),e.getServerSideAttributes=p()(e.getServerSideAttributes.bind(Object(u.a)(Object(u.a)(e))),{maxSize:1}),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=m()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(o.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(b.createElement)(g.Disabled,null,Object(b.createElement)(g.ServerSideRender,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(b.Component),v=Object(f.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute;return{date:"post"===t("type")?t("date"):void 0}})(O);n.d(t,"name",function(){return j}),n.d(t,"settings",function(){return y});var j="core/calendar",y={title:Object(r.__)("Calendar"),description:Object(r.__)("A calendar of your site’s posts."),icon:"calendar",category:"widgets",keywords:[Object(r.__)("posts"),Object(r.__)("archive")],supports:{align:!0},edit:v,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(2),m=n(6),h=n(5),p=n(8),g=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(b.a)(Object(b.a)(e))),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(b.a)(Object(b.a)(e))),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(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){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(d.unescape)(e.name).trim():Object(o.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(r.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map(function(t){return e.renderCategoryListItem(t,0)}))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,o=this.props.attributes,a=o.showHierarchy,c=o.showPostCounts,i=this.getCategories(e.id);return Object(r.createElement)("li",{key:e.id},Object(r.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),c&&Object(r.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),a&&!!i.length&&Object(r.createElement)("ul",{className:this.getCategoryListClassName(t+1)},i.map(function(e){return n.renderCategoryListItem(e,t+1)})))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,a=this.getCategories(n),c="blocks-category-select-".concat(t);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("label",{htmlFor:c,className:"screen-reader-text"},Object(o.__)("Categories")),Object(r.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},a.map(function(t){return e.renderCategoryDropdownItem(t,0)})))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,o=this.props.attributes,a=o.showHierarchy,c=o.showPostCounts,i=this.getCategories(e.id);return[Object(r.createElement)("option",{key:e.id},Object(d.times)(3*t,function(){return" "}),this.renderCategoryName(e),c?" (".concat(e.count,")"):""),a&&!!i.length&&i.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,c=t.displayAsDropdown,i=t.showHierarchy,l=t.showPostCounts,s=Object(r.createElement)(p.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Categories Settings")},Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display as Dropdown"),checked:c,onChange:this.toggleDisplayAsDropdown}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Hierarchy"),checked:i,onChange:this.toggleShowHierarchy}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Post Counts"),checked:l,onChange:this.toggleShowPostCounts})));return n?Object(r.createElement)(r.Fragment,null,s,Object(r.createElement)(a.Placeholder,{icon:"admin-post",label:Object(o.__)("Categories")},Object(r.createElement)(a.Spinner,null))):Object(r.createElement)(r.Fragment,null,s,Object(r.createElement)("div",{className:this.props.className},c?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(r.Component),f=Object(m.compose)(Object(h.withSelect)(function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}}),m.withInstanceId)(g);n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return v});var O="core/categories",v={title:Object(o.__)("Categories"),description:Object(o.__)("Display a list of all categories."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(r.createElement)(a.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object(r.createElement)(a.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,alignWide:!1,html:!1},edit:f,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(1),c=n(14),i=n(4),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(8),p=n(18),g=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(m.a)(Object(m.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.state={defaultText:Object(a.__)("Read more")},e}return Object(d.a)(t,e),Object(s.a)(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:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===p.ENTER&&n([Object(c.createBlock)(Object(c.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(a.__)("The excerpt is hidden."):Object(a.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,o=this.props.setAttributes,c=this.state.defaultText,l=void 0!==t?t:c,s=l.length+1;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h.InspectorControls,null,Object(r.createElement)(i.PanelBody,null,Object(r.createElement)(i.ToggleControl,{label:Object(a.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return o({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(r.createElement)("div",{className:"wp-block-more"},Object(r.createElement)("input",{type:"text",value:l,size:s,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(r.Component);n.d(t,"name",function(){return f}),n.d(t,"settings",function(){return O});var f="core/more",O={title:Object(a._x)("More","block name"),description:Object(a.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(i.G,null,Object(r.createElement)(i.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},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),Object(c.createBlock)("core/more",o)}}]},edit:g,save:function(e){var t=e.attributes,n=t.customText,a=t.noTeaser,c=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",i=a?"\x3c!--noteaser--\x3e":"";return Object(r.createElement)(r.RawHTML,null,Object(o.compact)([c,i]).join("\n"))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(14),c=n(4);n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var i="core/nextpage",l={title:Object(o.__)("Page Break"),description:Object(o.__)("Separate your content into a multi-page experience."),icon:Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.G,null,Object(r.createElement)(c.Path,{d:"M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}))),category:"layout",keywords:[Object(o.__)("next page"),Object(o.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(a.createBlock)("core/nextpage",{})}}]},edit:function(){return Object(r.createElement)("div",{className:"wp-block-nextpage"},Object(r.createElement)("span",null,Object(o.__)("Page break")))},save:function(){return Object(r.createElement)(r.RawHTML,null,"\x3c!--nextpage--\x3e")}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(15),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(1),u=n(8),b=n(5),d=n(4),m=n(19),h=n(10),p=n(9),g=n(11),f=n(12),O=n(13),v=n(3),j="is-style-".concat("solid-color"),y=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(g.a)(this,Object(f.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(v.a)(Object(v.a)(n))),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(v.a)(Object(v.a)(n))),n}return Object(O.a)(t,e),Object(p.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setTextColor,a=t.setMainColor,c=t.className,i=Object(l.includes)(c,j),s=!r.color||this.wasTextColorAutomaticallyComputed,u=i&&s&&e;a(e),u&&(this.wasTextColorAutomaticallyComputed=!0,o(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,c=e.setAttributes,b=e.isSelected,d=e.className,h=t.value,p=t.citation,g=Object(l.includes)(d,j),f=g?{backgroundColor:n.color}:{borderColor:n.color},O={color:r.color},v=r.color?i()("has-text-color",Object(o.a)({},r.class,r.class)):void 0;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("figure",{style:f,className:i()(d,Object(o.a)({},n.class,g&&n.class))},Object(a.createElement)("blockquote",{style:O,className:v},Object(a.createElement)(u.RichText,{multiline:!0,value:h,onChange:function(e){return c({value:e})},placeholder:Object(s.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!u.RichText.isEmpty(p)||b)&&Object(a.createElement)(u.RichText,{value:p,placeholder:Object(s.__)("Write citation…"),onChange:function(e){return c({citation:e})},className:"wp-block-pullquote__citation"}))),Object(a.createElement)(u.InspectorControls,null,Object(a.createElement)(u.PanelColorSettings,{title:Object(s.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(s.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(s.__)("Text Color")}]},g&&Object(a.createElement)(u.ContrastChecker,Object(m.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(a.Component),_=Object(u.withColors)({mainColor:"background-color",textColor:"color"})(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var w={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},k="core/pullquote",C={title:Object(s.__)("Pullquote"),description:Object(s.__)("Give special visual emphasis to a quote from your text."),icon:Object(a.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(d.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(a.createElement)(d.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(a.createElement)(d.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object(a.createElement)(d.Polygon,{points:"21 4 2 4 2 6 21 6"})),category:"formatting",attributes:w,styles:[{name:"default",label:Object(s._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(s.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:_,save:function(e){var t,n,r=e.attributes,c=r.mainColor,s=r.customMainColor,d=r.textColor,m=r.customTextColor,h=r.value,p=r.citation,g=r.className;if(Object(l.includes)(g,j))(t=Object(u.getColorClassName)("background-color",c))||(n={backgroundColor:s});else if(s)n={borderColor:s};else if(c){var f=Object(l.get)(Object(b.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(u.getColorObjectByAttributeValues)(f,c).color}}var O=Object(u.getColorClassName)("color",d),v=d||m?i()("has-text-color",Object(o.a)({},O,O)):void 0,y=O?void 0:{color:m};return Object(a.createElement)("figure",{className:t,style:n},Object(a.createElement)("blockquote",{className:v,style:y},Object(a.createElement)(u.RichText.Content,{value:h,multiline:!0}),!u.RichText.isEmpty(p)&&Object(a.createElement)(u.RichText.Content,{tagName:"cite",value:p})))},deprecated:[{attributes:Object(r.a)({},w),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(a.createElement)("blockquote",null,Object(a.createElement)(u.RichText.Content,{value:n,multiline:!0}),!u.RichText.isEmpty(r)&&Object(a.createElement)(u.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(r.a)({},w,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object(a.createElement)("blockquote",{className:"align".concat(o)},Object(a.createElement)(u.RichText.Content,{value:n,multiline:!0}),!u.RichText.isEmpty(r)&&Object(a.createElement)(u.RichText.Content,{tagName:"footer",value:r}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(8);n.d(t,"name",function(){return c}),n.d(t,"settings",function(){return i});var c="core/search",i={title:Object(r.__)("Search"),description:Object(r.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(r.__)("find")],edit:function(e){var t=e.className,n=e.attributes,c=e.setAttributes,i=n.label,l=n.placeholder,s=n.buttonText;return Object(o.createElement)("div",{className:t},Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(r.__)("Label text"),placeholder:Object(r.__)("Add label…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:i,onChange:function(e){return c({label:e})}}),Object(o.createElement)("input",{className:"wp-block-search__input","aria-label":Object(r.__)("Optional placeholder text"),placeholder:l?void 0:Object(r.__)("Optional placeholder…"),value:l,onChange:function(e){return c({placeholder:e.target.value})}}),Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(r.__)("Button text"),placeholder:Object(r.__)("Add button text…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:s,onChange:function(e){return c({buttonText:e})}}))},save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(15),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(4),m=n(8),h=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(u.a)(Object(u.a)(e))),e.onSubmitURL=e.onSubmitURL.bind(Object(u.a)(Object(u.a)(e))),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(o.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,o=t.columns,a=t.displayAuthor,c=t.displayExcerpt,i=t.displayDate,l=t.excerptLength,s=t.feedURL,u=t.itemsToShow,h=this.props.setAttributes;if(this.state.editing)return Object(b.createElement)(d.Placeholder,{icon:"rss",label:"RSS"},Object(b.createElement)("form",{onSubmit:this.onSubmitURL},Object(b.createElement)(d.TextControl,{placeholder:Object(r.__)("Enter URL here…"),value:s,onChange:function(e){return h({feedURL:e})},className:"components-placeholder__input"}),Object(b.createElement)(d.Button,{isLarge:!0,type:"submit"},Object(r.__)("Use URL"))));var p=[{icon:"edit",title:Object(r.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(r.__)("List View"),onClick:function(){return h({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(r.__)("Grid View"),onClick:function(){return h({blockLayout:"grid"})},isActive:"grid"===n}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(m.BlockControls,null,Object(b.createElement)(d.Toolbar,{controls:p})),Object(b.createElement)(m.InspectorControls,null,Object(b.createElement)(d.PanelBody,{title:Object(r.__)("RSS Settings")},Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Number of items"),value:u,onChange:function(e){return h({itemsToShow:e})},min:1,max:10,required:!0}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display author"),checked:a,onChange:this.toggleAttribute("displayAuthor")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display date"),checked:i,onChange:this.toggleAttribute("displayDate")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display excerpt"),checked:c,onChange:this.toggleAttribute("displayExcerpt")}),c&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Max number of words in excerpt"),value:l,onChange:function(e){return h({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Columns"),value:o,onChange:function(e){return h({columns:e})},min:2,max:6,required:!0}))),Object(b.createElement)(d.Disabled,null,Object(b.createElement)(d.ServerSideRender,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(b.Component);n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var p="core/rss",g={title:Object(r.__)("RSS"),description:Object(r.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(r.__)("atom"),Object(r.__)("feed")],supports:{html:!1},edit:h,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(2),m=n(4),h=n(5),p=n(8),g=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(u.a)(Object(u.a)(e))),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(u.a)(Object(u.a)(e))),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(d.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(r.__)("- Select -"),value:""},n=Object(d.map)(e,function(e){return{value:e.slug,label:e.name}});return[t].concat(Object(o.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,o=this.getTaxonomyOptions(),a=Object(b.createElement)(p.InspectorControls,null,Object(b.createElement)(m.PanelBody,{title:Object(r.__)("Tag Cloud Settings")},Object(b.createElement)(m.SelectControl,{label:Object(r.__)("Taxonomy"),options:o,value:t,onChange:this.setTaxonomy}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(b.createElement)(b.Fragment,null,a,Object(b.createElement)(m.ServerSideRender,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(b.Component),f=Object(h.withSelect)(function(e){return{taxonomies:e("core").getTaxonomies()}})(g);n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return v});var O="core/tag-cloud",v={title:Object(r.__)("Tag Cloud"),description:Object(r.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:f,save:function(){return null}}},,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"registerCoreBlocks",function(){return G});var r=n(17),o=(n(72),n(8),n(22),n(14)),a=n(138),c=n(230),i=n(235),l=n(208),s=n(234),u=n(242),b=n(236),d=n(243),m=n(246),h=n(247),p=n(240),g=n(209),f=n(210),O=n(237),v=n(110),j=n(232),y=n(241),_=n(229),w=n(244),k=n(245),C=n(231),E=n(212),x=n(136),S=n(248),T=n(249),R=n(213),A=n(250),N=n(233),B=n(252),I=n(251),P=n(214),L=n(215),M=n(216),z=n(217),H=n(239),D=n(218),F=n(219),U=n(220),V=n(238),W=n(253),q=n(139),G=function(){[a,c,i,s,E,l,L,u,b,d,m,h,p,g,f,O,v].concat(Object(r.a)(v.common),Object(r.a)(v.others),[j,window.wp&&window.wp.oldEditor?q:null,y,_,w,k,2===e.env.GUTENBERG_PHASE?C:null,x,S,T,R,A,B,I,P,N,M,z,H,W,D,F,U,V]).forEach(function(e){if(e){var t=e.name,n=e.settings;Object(o.registerBlockType)(t,n)}}),Object(o.setDefaultBlockName)(a.name),window.wp&&window.wp.oldEditor&&Object(o.setFreeformContentHandlerName)(q.name),Object(o.setUnregisteredTypeHandlerName)(x.name)}}.call(this,n(257))},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(e){r=c}}();var l,s=[],u=!1,b=-1;function d(){u&&l&&(u=!1,l.length?s=l.concat(s):b=-1,s.length&&m())}function m(){if(!u){var e=i(d);u=!0;for(var t=s.length;t;){for(l=s,s=[];++b1)for(var n=1;nc?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,a=0,c=0,i=0,l=0;lr?-1:n===r?0:1}),d=t(b[0],5),m=d[0],h=d[1],p=d[2],g=d[3],f=d[4];return g?[Math.round(m/g),Math.round(h/g),Math.round(p/g),Math.round(g/f)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",c),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),r=[].concat(n,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){var t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(r.prototype,o),a&&e(r,a),n;var r,o,a}()}()},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r=n(21),o=n(17),a=n(7),c=n(0),i=n(2),l=n(1),s=n(14),u=n(8),b=n(20),d=n(4),m=Object(a.a)({},Object(s.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){m[e].children={li:{children:m}}});var h={className:!1},p={ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""}},g="core/list",f={title:Object(l.__)("List"),description:Object(l.__)("Create a bulleted or numbered list."),icon:Object(c.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(d.G,null,Object(c.createElement)(d.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"}))),category:"common",keywords:[Object(l.__)("bullet list"),Object(l.__)("ordered list"),Object(l.__)("numbered list")],attributes:p,supports:h,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(s.createBlock)("core/list",{values:Object(b.toHTMLString)({value:Object(b.join)(e.map(function(t){var n=t.content,r=Object(b.create)({html:n});return e.length>1?r:Object(b.replace)(r,/\n/g,b.LINE_SEPARATOR)}),b.LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(s.createBlock)("core/list",{values:Object(b.toHTMLString)({value:Object(b.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:m.ol,ul:m.ul},transform:function(e){return Object(s.createBlock)("core/list",Object(a.a)({},Object(s.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(o.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(s.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}})),Object(o.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(s.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(b.split)(Object(b.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),b.LINE_SEPARATOR).map(function(e){return Object(s.createBlock)("core/paragraph",{content:Object(b.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(s.createBlock)("core/quote",{value:Object(b.toHTMLString)({value:Object(b.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},deprecated:[{supports:h,attributes:Object(a.a)({},Object(i.omit)(p,["ordered"]),{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"}}),migrate:function(e){var t=e.nodeName,n=Object(r.a)(e,["nodeName"]);return Object(a.a)({},n,{ordered:"OL"===t})},save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(c.createElement)(u.RichText.Content,{tagName:n.toLowerCase(),value:r})}}],merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(a.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,i=e.className,b=t.ordered,d=t.values;return Object(c.createElement)(u.RichText,{identifier:"values",multiline:"li",tagName:b?"ol":"ul",onChange:function(e){return r({values:e})},value:d,wrapperClassName:"block-library-list",className:i,placeholder:Object(l.__)("Write list…"),onMerge:o,unstableOnSplit:n?function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),c=2;c"!==t&&a.push(Object(s.createBlock)("core/list",{ordered:b,values:t})),r({values:e}),n(a)}:void 0,onRemove:function(){return a([])},onTagNameChange:function(e){return r({ordered:"ol"===e})}})},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=n?"ol":"ul";return Object(c.createElement)(u.RichText.Content,{tagName:o,value:r,multiline:"li"})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var r=n(0),o=n(1),a=n(14),c=n(8),i=n(4),l="core/preformatted",s={title:Object(o.__)("Preformatted"),description:Object(o.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(i.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object(r.createElement)(i.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(r.createElement)(i.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(r.createElement)(i.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(r.createElement)(i.Rect,{x:"10",y:"10",width:"8",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}},transforms:{from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(a.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object(a.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.mergeBlocks,a=e.setAttributes,i=e.className,l=t.content;return Object(r.createElement)(c.RichText,{tagName:"pre",value:l.replace(/\n/g,"
    "),onChange:function(e){a({content:e.replace(/
    /g,"\n")})},placeholder:Object(o.__)("Write preformatted text…"),wrapperClassName:i,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(r.createElement)(c.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(1),a=n(14),c=n(4),i="core/separator",l={title:Object(o.__)("Separator"),description:Object(o.__)("Create a break between ideas or sections with a horizontal separator."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(c.Path,{d:"M19 13H5v-2h14v2z"})),category:"layout",keywords:[Object(o.__)("horizontal-line"),"hr",Object(o.__)("divider")],styles:[{name:"default",label:Object(o.__)("Default"),isDefault:!0},{name:"wide",label:Object(o.__)("Wide Line")},{name:"dots",label:Object(o.__)("Dots")}],transforms:{from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(a.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},edit:function(e){var t=e.className;return Object(r.createElement)("hr",{className:t})},save:function(){return Object(r.createElement)("hr",null)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return s}),n.d(t,"settings",function(){return u});var r=n(0),o=n(66),a=n(1),c=n(4),i=n(8),l=n(6),s="core/shortcode",u={title:Object(a.__)("Shortcode"),description:Object(a.__)("Insert additional custom elements with a WordPress shortcode."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"})),category:"widgets",attributes:{text:{type:"string",source:"html"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(o.removep)(Object(o.autop)(n))}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(l.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,o=e.instanceId,l="blocks-shortcode-input-".concat(o);return Object(r.createElement)("div",{className:"wp-block-shortcode"},Object(r.createElement)("label",{htmlFor:l},Object(r.createElement)(c.Dashicon,{icon:"shortcode"}),Object(a.__)("Shortcode")),Object(r.createElement)(i.PlainText,{className:"input-control",id:l,value:t.text,placeholder:Object(a.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return Object(r.createElement)(r.RawHTML,null,t.text)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return d});var r=n(28),o=n(0),a=n(16),c=n.n(a),i=n(1),l=n(8),s=n(4),u=n(6),b="core/spacer",d={title:Object(i.__)("Spacer"),description:Object(i.__)("Add white space between blocks and customize its height."),icon:Object(o.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(s.G,null,Object(o.createElement)(s.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),category:"layout",attributes:{height:{type:"number",default:100}},edit:Object(u.withInstanceId)(function(e){var t=e.attributes,n=e.isSelected,a=e.setAttributes,u=e.toggleSelection,b=e.instanceId,d=t.height,m="block-spacer-height-input-".concat(b),h=Object(o.useState)(d),p=Object(r.a)(h,2),g=p[0],f=p[1];return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.ResizableBox,{className:c()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:d},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,n,r){var o=parseInt(d+r.height,10);a({height:o}),f(o),u(!0)},onResizeStart:function(){u(!1)}}),Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(s.PanelBody,{title:Object(i.__)("Spacer Settings")},Object(o.createElement)(s.BaseControl,{label:Object(i.__)("Height in pixels"),id:m},Object(o.createElement)("input",{type:"number",id:m,onChange:function(e){var t=parseInt(e.target.value,10);f(t),isNaN(t)?(f(""),t=100):t<20&&(t=20),a({height:t})},value:g,min:"20",step:"10"})))))}),save:function(e){var t=e.attributes;return Object(o.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var r=n(0),o=n(49),a=n.n(o),c=n(1),i=n(14),l=n(8),s=n(4),u="core/subhead",b={title:Object(c.__)("Subheading (deprecated)"),description:Object(c.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),category:"common",supports:{inserter:!1,multiple:!1},attributes:{content:{type:"string",source:"html",selector:"p"},align:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,i=t.align,s=t.content,u=t.placeholder;return a()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.BlockControls,null,Object(r.createElement)(l.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(r.createElement)(l.RichText,{tagName:"p",value:s,onChange:function(e){n({content:e})},style:{textAlign:i},className:o,placeholder:u||Object(c.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,o=t.content;return Object(r.createElement)(l.RichText.Content,{tagName:"p",style:{textAlign:n},value:o})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(1),a=n(8),c=n(4),i="core/template",l={title:Object(o.__)("Reusable Template"),category:"reusable",description:Object(o.__)("Template block used as a container."),icon:Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(r.createElement)(c.G,null,Object(r.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),supports:{customClassName:!1,html:!1,inserter:!1},edit:function(){return Object(r.createElement)(a.InnerBlocks,null)},save:function(){return Object(r.createElement)(a.InnerBlocks.Content,null)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return d}),n.d(t,"settings",function(){return m});var r=n(17),o=n(0),a=n(2),c=n(14),i=n(1),l=n(4),s=n(8),u=n(49),b=n.n(u),d="core/text-columns",m={supports:{inserter:!1},title:Object(i.__)("Text Columns (deprecated)"),description:Object(i.__)("This block is deprecated. Please use the Columns block instead."),icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(c.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map(function(e){var t=e.children;return Object(c.createBlock)("core/column",{},[Object(c.createBlock)("core/paragraph",{content:t})])}))}}]},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,c=e.className,u=t.width,d=t.content,m=t.columns;return b()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.BlockAlignmentToolbar,{value:u,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,null,Object(o.createElement)(l.RangeControl,{label:Object(i.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(o.createElement)("div",{className:"".concat(c," align").concat(u," columns-").concat(m)},Object(a.times)(m,function(e){return Object(o.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(o.createElement)(s.RichText,{tagName:"p",value:Object(a.get)(d,[e,"children"]),onChange:function(t){n({content:[].concat(Object(r.a)(d.slice(0,e)),[{children:t}],Object(r.a)(d.slice(e+1)))})},placeholder:Object(i.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,c=t.columns;return Object(o.createElement)("div",{className:"align".concat(n," columns-").concat(c)},Object(a.times)(c,function(e){return Object(o.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(o.createElement)(s.RichText.Content,{tagName:"p",value:Object(a.get)(r,[e,"children"])}))}))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var r=n(0),o=n(1),a=n(14),c=n(8),i=n(4),l="core/verse",s={title:Object(o.__)("Verse"),description:Object(o.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(i.Path,{d:"M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"})),category:"formatting",keywords:[Object(o.__)("poetry")],attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className,i=e.mergeBlocks,l=t.textAlign,s=t.content;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(c.AlignmentToolbar,{value:l,onChange:function(e){n({textAlign:e})}})),Object(r.createElement)(c.RichText,{tagName:"pre",value:s,onChange:function(e){n({content:e})},style:{textAlign:l},placeholder:Object(o.__)("Write…"),wrapperClassName:a,onMerge:i}))},save:function(e){var t=e.attributes,n=t.textAlign,o=t.content;return Object(r.createElement)(c.RichText.Content,{tagName:"pre",style:{textAlign:n},value:o})},merge:function(e,t){return{content:e.content+t.content}}}},,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(0),a=n(16),c=n.n(a),i=n(2),l=n(14),s=n(8),u=n(1),b=n(19),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(4),v=Object(o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(O.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(o.createElement)(O.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(o.createElement)(O.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),j=["image","video"],y=function(e){function t(){return Object(d.a)(this,t),Object(h.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(m.a)(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(O.Toolbar,null,Object(o.createElement)(s.MediaUpload,{onSelect:n,allowedTypes:j,value:t,render:function(e){var t=e.open;return Object(o.createElement)(O.IconButton,{className:"components-toolbar__control",label:Object(u.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className;return Object(o.createElement)(o.Fragment,null,this.renderToolbarEditButton(),Object(o.createElement)("figure",{className:r},Object(o.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(o.createElement)(o.Fragment,null,this.renderToolbarEditButton(),Object(o.createElement)("figure",{className:n},Object(o.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return Object(o.createElement)(s.MediaPlaceholder,{icon:Object(o.createElement)(s.BlockIcon,{icon:v}),labels:{title:Object(u.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:j})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,a=e.mediaWidth,c=e.commitWidthChange,i=e.onWidthChange;if(r&&n){var l={right:"left"===t,left:"right"===t},s=null;switch(r){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(o.createElement)(O.ResizableBox,{className:"editor-media-container__resizer",size:{width:a+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResize:function(e,t,n){i(parseInt(n.style.width))},onResizeStop:function(e,t,n){c(parseInt(n.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(o.Component),_=["core/button","core/paragraph","core/heading","core/list"],w=[["core/paragraph",{fontSize:"large",placeholder:Object(u._x)("Content…","content placeholder")}]],k=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(f.a)(Object(f.a)(e))),e.onWidthChange=e.onWidthChange.bind(Object(f.a)(Object(f.a)(e))),e.commitWidthChange=e.commitWidthChange.bind(Object(f.a)(Object(f.a)(e))),e.state={mediaWidth:null},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(i.get)(e,["sizes","large","url"])||Object(i.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,a=e.mediaType,c=e.mediaUrl,i=e.mediaWidth;return Object(o.createElement)(y,Object(b.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:a,mediaUrl:c,mediaPosition:r,mediaWidth:i}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,a=t.className,i=t.backgroundColor,l=t.isSelected,b=t.setAttributes,d=t.setBackgroundColor,m=n.isStackedOnMobile,h=n.mediaAlt,p=n.mediaPosition,g=n.mediaType,f=n.mediaWidth,v=this.state.mediaWidth,j=c()(a,(e={"has-media-on-the-right":"right"===p,"is-selected":l},Object(r.a)(e,i.class,i.class),Object(r.a)(e,"is-stacked-on-mobile",m),e)),y="".concat(v||f,"%"),k={gridTemplateColumns:"right"===p?"auto ".concat(y):"".concat(y," auto"),backgroundColor:i.color},C=[{value:i.color,onChange:d,label:Object(u.__)("Background Color")}],E=[{icon:"align-pull-left",title:Object(u.__)("Show media on left"),isActive:"left"===p,onClick:function(){return b({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(u.__)("Show media on right"),isActive:"right"===p,onClick:function(){return b({mediaPosition:"right"})}}],x=Object(o.createElement)(O.PanelBody,{title:Object(u.__)("Media & Text Settings")},Object(o.createElement)(O.ToggleControl,{label:Object(u.__)("Stack on mobile"),checked:m,onChange:function(){return b({isStackedOnMobile:!m})}}),"image"===g&&Object(o.createElement)(O.TextareaControl,{label:Object(u.__)("Alt Text (Alternative Text)"),value:h,onChange:function(e){b({mediaAlt:e})},help:Object(u.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}));return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.InspectorControls,null,x,Object(o.createElement)(s.PanelColorSettings,{title:Object(u.__)("Color Settings"),initialOpen:!1,colorSettings:C})),Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(O.Toolbar,{controls:E})),Object(o.createElement)("div",{className:j,style:k},this.renderMediaArea(),Object(o.createElement)(s.InnerBlocks,{allowedBlocks:_,template:w,templateInsertUpdatesSelection:!1})))}}]),t}(o.Component),C=Object(s.withColors)("backgroundColor")(k),E=Object(o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(O.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"}));n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return T});var x="core/media-text",S={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},T={title:Object(u.__)("Media & Text"),description:Object(u.__)("Set media and words side-by-side for a richer layout."),icon:E,category:"layout",keywords:[Object(u.__)("image"),Object(u.__)("video")],attributes:S,supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(l.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object(l.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object(l.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object(l.createBlock)("core/video",{id:t,src:n})}}]},edit:C,save:function(e){var t,n,a=e.attributes,l=a.backgroundColor,u=a.customBackgroundColor,b=a.isStackedOnMobile,d=a.mediaAlt,m=a.mediaPosition,h=a.mediaType,p=a.mediaUrl,g=a.mediaWidth,f=a.mediaId,O={image:function(){return Object(o.createElement)("img",{src:p,alt:d,className:f&&"image"===h?"wp-image-".concat(f):null})},video:function(){return Object(o.createElement)("video",{controls:!0,src:p})}},v=Object(s.getColorClassName)("background-color",l),j=c()((t={"has-media-on-the-right":"right"===m},Object(r.a)(t,v,v),Object(r.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var y={backgroundColor:v?void 0:u,gridTemplateColumns:n};return Object(o.createElement)("div",{className:j,style:y},Object(o.createElement)("figure",{className:"wp-block-media-text__media"},(O[h]||i.noop)()),Object(o.createElement)("div",{className:"wp-block-media-text__content"},Object(o.createElement)(s.InnerBlocks.Content,null)))},deprecated:[{attributes:S,save:function(e){var t,n,a=e.attributes,l=a.backgroundColor,u=a.customBackgroundColor,b=a.isStackedOnMobile,d=a.mediaAlt,m=a.mediaPosition,h=a.mediaType,p=a.mediaUrl,g=a.mediaWidth,f={image:function(){return Object(o.createElement)("img",{src:p,alt:d})},video:function(){return Object(o.createElement)("video",{controls:!0,src:p})}},O=Object(s.getColorClassName)("background-color",l),v=c()((t={"has-media-on-the-right":"right"===m},Object(r.a)(t,O,O),Object(r.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var j={backgroundColor:O?void 0:u,gridTemplateColumns:n};return Object(o.createElement)("div",{className:v,style:j},Object(o.createElement)("figure",{className:"wp-block-media-text__media"},(f[h]||i.noop)()),Object(o.createElement)("div",{className:"wp-block-media-text__content"},Object(o.createElement)(s.InnerBlocks.Content,null)))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(19),o=n(15),a=n(7),c=n(0),i=n(16),l=n.n(i),s=n(35),u=n(14),b=n(8),d=n(1),m=n(28),h=n(10),p=n(9),g=n(11),f=n(12),O=n(13),v=n(3),j=n(2),y=n(4),_=n(6),w=n(5),k=n(22),C=n(25),E=n(40),x=n(53),S=Object(c.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(y.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(c.createElement)(y.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(c.createElement)(y.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var T=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(v.a)(Object(v.a)(e))),e.calculateSize=e.calculateSize.bind(Object(v.a)(Object(v.a)(e))),e}return Object(O.a)(t,e),Object(p.a)(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=j.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,t,n,r,o,a=(e=this.image,t=this.container,n=t.clientWidth,r=e.width>n,o=e.height/e.width,{width:r?n:e.width,height:r?n*o:e.height}),c=a.width,i=a.height;this.setState({width:c,height:i})}},{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 Object(c.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(c.Component),R=Object(_.withGlobalEvents)({resize:"calculateSize"})(T),A=["image"],N=function(e){var t=Object(j.pick)(e,["alt","id","link","caption"]);return t.url=Object(j.get)(e,["sizes","large","url"])||Object(j.get)(e,["media_details","sizes","large","source_url"])||e.url,t},B=function(e,t){return!e&&Object(s.isBlobURL)(t)},I=function(e){function t(e){var n,r=e.attributes;return Object(h.a)(this,t),(n=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(v.a)(Object(v.a)(n))),n.updateAlignment=n.updateAlignment.bind(Object(v.a)(Object(v.a)(n))),n.onFocusCaption=n.onFocusCaption.bind(Object(v.a)(Object(v.a)(n))),n.onImageClick=n.onImageClick.bind(Object(v.a)(Object(v.a)(n))),n.onSelectImage=n.onSelectImage.bind(Object(v.a)(Object(v.a)(n))),n.onSelectURL=n.onSelectURL.bind(Object(v.a)(Object(v.a)(n))),n.updateImageURL=n.updateImageURL.bind(Object(v.a)(Object(v.a)(n))),n.updateWidth=n.updateWidth.bind(Object(v.a)(Object(v.a)(n))),n.updateHeight=n.updateHeight.bind(Object(v.a)(Object(v.a)(n))),n.updateDimensions=n.updateDimensions.bind(Object(v.a)(Object(v.a)(n))),n.onSetCustomHref=n.onSetCustomHref.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkClass=n.onSetLinkClass.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkRel=n.onSetLinkRel.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkDestination=n.onSetLinkDestination.bind(Object(v.a)(Object(v.a)(n))),n.onSetNewTab=n.onSetNewTab.bind(Object(v.a)(Object(v.a)(n))),n.getFilename=n.getFilename.bind(Object(v.a)(Object(v.a)(n))),n.toggleIsEditing=n.toggleIsEditing.bind(Object(v.a)(Object(v.a)(n))),n.onUploadError=n.onUploadError.bind(Object(v.a)(Object(v.a)(n))),n.onImageError=n.onImageError.bind(Object(v.a)(Object(v.a)(n))),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(O.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(B(a,i)){var l=Object(s.getBlobByURL)(i);l&&Object(k.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(m.a)(e,1)[0];r(N(t))},allowedTypes:A,onError:function(t){o.createErrorNotice(t),e.setState({isEditing:!0})}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;B(n,o)&&!B(c,l)&&Object(s.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){this.props.noticeOperations.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){e&&e.url?(this.setState({isEditing:!1}),this.props.setAttributes(Object(a.a)({},N(e),{width:void 0,height:void 0}))):this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSetLinkDestination",value:function(e){var t;t="none"===e?void 0:"media"===e?this.props.image&&this.props.image.source_url||this.props.attributes.url:"attachment"===e?this.props.image&&this.props.image.link:this.props.attributes.href,this.props.setAttributes({linkDestination:e,href:t})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=Object(x.a)({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetCustomHref",value:function(e){this.props.setAttributes({href:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{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(Object(a.a)({},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:"getFilename",value:function(e){var t=Object(C.getPath)(e);if(t)return Object(j.last)(t.split("/"))}},{key:"getLinkDestinationOptions",value:function(){return[{value:"none",label:Object(d.__)("None")},{value:"media",label:Object(d.__)("Media File")},{value:"attachment",label:Object(d.__)("Attachment Page")},{value:"custom",label:Object(d.__)("Custom URL")}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(j.compact)(Object(j.map)(t,function(e){var t=e.name,r=e.slug,o=Object(j.get)(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"render",value:function(){var e,t=this,n=this.state.isEditing,r=this.props,o=r.attributes,a=r.setAttributes,i=r.isLargeViewport,u=r.isSelected,m=r.className,h=r.maxWidth,p=r.noticeUI,g=r.toggleSelection,f=r.isRTL,O=o.url,v=o.alt,_=o.caption,w=o.align,k=o.id,C=o.href,E=o.rel,x=o.linkClass,T=o.linkDestination,N=o.width,B=o.height,I=o.linkTarget,P=function(e,t){return t&&!e&&!Object(s.isBlobURL)(t)}(k,O);O&&(e=P?Object(c.createElement)(y.Toolbar,null,Object(c.createElement)(y.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(d.__)("Edit image"),onClick:this.toggleIsEditing,icon:"edit"})):Object(c.createElement)(b.MediaUploadCheck,null,Object(c.createElement)(y.Toolbar,null,Object(c.createElement)(b.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:A,value:k,render:function(e){var t=e.open;return Object(c.createElement)(y.IconButton,{className:"components-toolbar__control",label:Object(d.__)("Edit image"),icon:"edit",onClick:t})}}))));var L=Object(c.createElement)(b.BlockControls,null,Object(c.createElement)(b.BlockAlignmentToolbar,{value:w,onChange:this.updateAlignment}),e);if(n||!O){var M=P?O:void 0;return Object(c.createElement)(c.Fragment,null,L,Object(c.createElement)(b.MediaPlaceholder,{icon:Object(c.createElement)(b.BlockIcon,{icon:S}),className:m,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:p,onError:this.onUploadError,accept:"image/*",allowedTypes:A,value:{id:k,src:M}}))}var z=l()(m,{"is-transient":Object(s.isBlobURL)(O),"is-resized":!!N||!!B,"is-focused":u}),H=-1===["wide","full"].indexOf(w)&&i,D="custom"!==T,F=this.getImageSizeOptions(),U=function(e,n){return Object(c.createElement)(b.InspectorControls,null,Object(c.createElement)(y.PanelBody,{title:Object(d.__)("Image Settings")},Object(c.createElement)(y.TextareaControl,{label:Object(d.__)("Alt Text (Alternative Text)"),value:v,onChange:t.updateAlt,help:Object(d.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}),!Object(j.isEmpty)(F)&&Object(c.createElement)(y.SelectControl,{label:Object(d.__)("Image Size"),value:O,options:F,onChange:t.updateImageURL}),H&&Object(c.createElement)("div",{className:"block-library-image__dimensions"},Object(c.createElement)("p",{className:"block-library-image__dimensions__row"},Object(d.__)("Image Dimensions")),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(y.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(d.__)("Width"),value:void 0!==N?N:e,min:1,onChange:t.updateWidth}),Object(c.createElement)(y.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(d.__)("Height"),value:void 0!==B?B:n,min:1,onChange:t.updateHeight})),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(y.ButtonGroup,{"aria-label":Object(d.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(e*(r/100)),a=Math.round(n*(r/100)),i=N===o&&B===a;return Object(c.createElement)(y.Button,{key:r,isSmall:!0,isPrimary:i,"aria-pressed":i,onClick:t.updateDimensions(o,a)},r,"%")})),Object(c.createElement)(y.Button,{isSmall:!0,onClick:t.updateDimensions()},Object(d.__)("Reset"))))),Object(c.createElement)(y.PanelBody,{title:Object(d.__)("Link Settings")},Object(c.createElement)(y.SelectControl,{label:Object(d.__)("Link To"),value:T,options:t.getLinkDestinationOptions(),onChange:t.onSetLinkDestination}),"none"!==T&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link URL"),value:C||"",onChange:t.onSetCustomHref,placeholder:D?void 0:"https://",readOnly:D}),Object(c.createElement)(y.ToggleControl,{label:Object(d.__)("Open in New Tab"),onChange:t.onSetNewTab,checked:"_blank"===I}),Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link CSS Class"),value:x||"",onChange:t.onSetLinkClass}),Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link Rel"),value:E||"",onChange:t.onSetLinkRel}))))};return Object(c.createElement)(c.Fragment,null,L,Object(c.createElement)("figure",{className:z},Object(c.createElement)(R,{src:O,dirtynessTrigger:w},function(e){var n,r=e.imageWidthWithinContainer,o=e.imageHeightWithinContainer,i=e.imageWidth,l=e.imageHeight,u=t.getFilename(O);n=v||(u?Object(d.sprintf)(Object(d.__)("This image has an empty alt attribute; its file name is %s"),u):Object(d.__)("This image has an empty alt attribute"));var b=Object(c.createElement)(c.Fragment,null,Object(c.createElement)("img",{src:O,alt:n,onClick:t.onImageClick,onError:function(){return t.onImageError(O)}}),Object(s.isBlobURL)(O)&&Object(c.createElement)(y.Spinner,null));if(!H||!r)return Object(c.createElement)(c.Fragment,null,U(i,l),Object(c.createElement)("div",{style:{width:N,height:B}},b));var m=N||r,p=B||o,j=i/l,_=i a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},z={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},H={figure:{require:["img"],children:Object(a.a)({},z,{a:{attributes:["href","rel","target"],children:z},figcaption:{children:Object(u.getPhrasingContentSchema)()}})}};function D(e,t){var n=document.implementation.createHTMLDocument("").body;n.innerHTML=e;var r=n.firstElementChild;if(r&&"A"===r.nodeName)return r.getAttribute(t)||void 0}function F(e,t){var n=t.shortcode,r=document.implementation.createHTMLDocument("").body;r.innerHTML=n.content;for(var o=r.querySelector("img");o&&o.parentNode&&o.parentNode!==r;)o=o.parentNode;return o&&o.parentNode.removeChild(o),r.innerHTML.trim()}var U={title:Object(d.__)("Image"),description:Object(d.__)("Insert an image to make a visual statement."),icon:S,category:"common",keywords:["img",Object(d.__)("photo")],attributes:M,transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:H,transform:function(e){var t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),r=n?n[1]:void 0,o=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=o?Number(o[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,l=c&&c.href?c.href:void 0,s=c&&c.rel?c.rel:void 0,b=c&&c.className?c.className:void 0,d=Object(u.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:a,linkDestination:i,href:l,rel:s,linkClass:b});return Object(u.createBlock)("core/image",d)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(u.createBlock)("core/image",{url:Object(s.createBlobURL)(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:{shortcode:F},href:{shortcode:function(e,t){return D(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return D(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return D(t.shortcode.content,"class")}},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:P,save:function(e){var t,n=e.attributes,r=n.url,a=n.alt,i=n.caption,s=n.align,u=n.href,d=n.rel,m=n.linkClass,h=n.width,p=n.height,g=n.id,f=n.linkTarget,O=l()((t={},Object(o.a)(t,"align".concat(s),s),Object(o.a)(t,"is-resized",h||p),t)),v=Object(c.createElement)("img",{src:r,alt:a,className:g?"wp-image-".concat(g):null,width:h,height:p}),j=Object(c.createElement)(c.Fragment,null,u?Object(c.createElement)("a",{className:m,href:u,target:f,rel:d},v):v,!b.RichText.isEmpty(i)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:i}));return"left"===s||"right"===s||"center"===s?Object(c.createElement)("div",null,Object(c.createElement)("figure",{className:O},j)):Object(c.createElement)("figure",{className:O},j)},deprecated:[{attributes:M,save:function(e){var t,n=e.attributes,r=n.url,a=n.alt,i=n.caption,s=n.align,u=n.href,d=n.width,m=n.height,h=n.id,p=l()((t={},Object(o.a)(t,"align".concat(s),s),Object(o.a)(t,"is-resized",d||m),t)),g=Object(c.createElement)("img",{src:r,alt:a,className:h?"wp-image-".concat(h):null,width:d,height:m});return Object(c.createElement)("figure",{className:p},u?Object(c.createElement)("a",{href:u},g):g,!b.RichText.isEmpty(i)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:i}))}},{attributes:M,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,i=t.href,l=t.width,s=t.height,u=t.id,d=Object(c.createElement)("img",{src:n,alt:r,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(c.createElement)("figure",{className:a?"align".concat(a):null},i?Object(c.createElement)("a",{href:i},d):d,!b.RichText.isEmpty(o)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:M,save:function(e){var t=e.attributes,n=t.url,o=t.alt,a=t.caption,i=t.align,l=t.href,s=t.width,u=t.height,d=s||u?{width:s,height:u}:{},m=Object(c.createElement)("img",Object(r.a)({src:n,alt:o},d)),h={};return s?h={width:s}:"left"!==i&&"right"!==i||(h={maxWidth:"50%"}),Object(c.createElement)("figure",{className:i?"align".concat(i):null,style:h},l?Object(c.createElement)("a",{href:l},m):m,!b.RichText.isEmpty(a)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:a}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(2),m=n(5),h=n(22),p=n(33),g=n.n(p),f=n(6),O=n(42),v=n.n(O),j=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.formRef=Object(r.createRef)(),e.widgetContentRef=Object(r.createRef)(),e.triggerWidgetEvent=e.triggerWidgetEvent.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.triggerWidgetEvent("widget-added"),this.previousFormData=new window.FormData(this.formRef.current)}},{key:"shouldComponentUpdate",value:function(e){e.form!==this.props.form&&this.widgetContentRef.current&&(this.widgetContentRef.current.innerHTML=e.form,this.triggerWidgetEvent("widget-updated"),this.previousFormData=new window.FormData(this.formRef.current));return!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,o=t.idBase,a=t.widgetNumber,c=t.form;return Object(r.createElement)("div",{className:"widget open",ref:this.containerRef},Object(r.createElement)("div",{className:"widget-inside"},Object(r.createElement)("form",{ref:this.formRef,method:"post",onBlur:function(){e.shouldTriggerInstanceUpdate()&&e.props.onInstanceChange(e.retrieveUpdatedInstance())}},Object(r.createElement)("div",{ref:this.widgetContentRef,className:"widget-content",dangerouslySetInnerHTML:{__html:c}}),Object(r.createElement)("input",{type:"hidden",name:"widget-id",className:"widget-id",value:n}),Object(r.createElement)("input",{type:"hidden",name:"id_base",className:"id_base",value:o}),Object(r.createElement)("input",{type:"hidden",name:"widget_number",className:"widget_number",value:a}),Object(r.createElement)("input",{type:"hidden",name:"multi_number",className:"multi_number",value:""}),Object(r.createElement)("input",{type:"hidden",name:"add_new",className:"add_new",value:""}))))}},{key:"shouldTriggerInstanceUpdate",value:function(){if(!this.formRef.current)return!1;if(!this.previousFormData)return!0;var e=new window.FormData(this.formRef.current),t=Array.from(e.keys()),n=Array.from(this.previousFormData.keys());if(t.length!==n.length)return!0;for(var r=0;r1?a[p]=g:a[p]=g[0]}}}catch(e){s=!0,u=e}finally{try{l||null==m.return||m.return()}finally{if(s)throw u}}return a}}}]),t}(r.Component),y=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={form:null,idBase:null},e.instanceUpdating=null,e.onInstanceChange=e.onInstanceChange.bind(Object(b.a)(Object(b.a)(e))),e.requestWidgetUpdater=e.requestWidgetUpdater.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.requestWidgetUpdater()}},{key:"componentDidUpdate",value:function(e){e.instance!==this.props.instance&&this.instanceUpdating!==this.props.instance&&this.requestWidgetUpdater(),this.instanceUpdating===this.props.instance&&(this.instanceUpdating=null)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,a=t.identifier,c=this.state,i=c.id,l=c.idBase,s=c.form;return a?s?Object(r.createElement)("div",{className:"wp-block-legacy-widget__edit-container",style:{display:this.props.isVisible?"block":"none"}},Object(r.createElement)(j,{ref:function(t){e.widgetEditDomManagerRef=t},onInstanceChange:this.onInstanceChange,widgetNumber:-1*n,id:i,idBase:l,form:s})):null:Object(o.__)("Not a valid widget.")}},{key:"onInstanceChange",value:function(e){var t=this;this.requestWidgetUpdater(e,function(e){t.instanceUpdating=e.instance,t.props.onInstanceChange(e.instance)})}},{key:"requestWidgetUpdater",value:function(e,t){var n=this,r=this.props,o=r.identifier,a=r.instanceId,c=r.instance;o&&g()({path:"/wp/v2/widgets/".concat(o,"/"),data:{identifier:o,instance:c,id_to_use:-1*a,instance_changes:e},method:"POST"}).then(function(e){n.isStillMounted&&(n.setState({form:e.form,idBase:e.id_base,id:e.id}),t&&t(e))})}}]),t}(r.Component),_=Object(f.withInstanceId)(y),w=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={isPreview:!1},e.switchToEdit=e.switchToEdit.bind(Object(b.a)(Object(b.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(b.a)(Object(b.a)(e))),e.changeWidget=e.changeWidget.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e,t=this,n=this.props,c=n.attributes,i=n.availableLegacyWidgets,l=n.hasPermissionsToManageWidgets,s=n.setAttributes,u=this.state.isPreview,b=c.identifier,m=c.isCallbackWidget,p=b&&i[b];if(!p)return e=l?0===i.length?Object(o.__)("There are no widgets available."):Object(r.createElement)(a.SelectControl,{label:Object(o.__)("Select a legacy widget to display:"),value:b||"none",onChange:function(e){return s({instance:{},identifier:e,isCallbackWidget:i[e].isCallbackWidget})},options:[{value:"none",label:"Select widget"}].concat(Object(d.map)(i,function(e,t){return{value:t,label:e.name}}))}):Object(o.__)("You don't have permissions to use widgets on this site."),Object(r.createElement)(a.Placeholder,{icon:Object(r.createElement)(h.BlockIcon,{icon:"admin-customizer"}),label:Object(o.__)("Legacy Widget")},e);var g=Object(r.createElement)(h.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:p.name},p.description));return l?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h.BlockControls,null,Object(r.createElement)(a.Toolbar,null,Object(r.createElement)(a.IconButton,{onClick:this.changeWidget,label:Object(o.__)("Change widget"),icon:"update"}),!m&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.Button,{className:"components-tab-button ".concat(u?"":"is-active"),onClick:this.switchToEdit},Object(r.createElement)("span",null,Object(o.__)("Edit"))),Object(r.createElement)(a.Button,{className:"components-tab-button ".concat(u?"is-active":""),onClick:this.switchToPreview},Object(r.createElement)("span",null,Object(o.__)("Preview")))))),g,!m&&Object(r.createElement)(_,{isVisible:!u,identifier:c.identifier,instance:c.instance,onInstanceChange:function(e){t.props.setAttributes({instance:e})}}),(u||m)&&this.renderWidgetPreview()):Object(r.createElement)(r.Fragment,null,g,this.renderWidgetPreview())}},{key:"changeWidget",value:function(){this.switchToEdit(),this.props.setAttributes({instance:{},identifier:void 0})}},{key:"switchToEdit",value:function(){this.setState({isPreview:!1})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"renderWidgetPreview",value:function(){var e=this.props.attributes;return Object(r.createElement)(h.ServerSideRender,{className:"wp-block-legacy-widget__preview",block:"core/legacy-widget",attributes:e})}}]),t}(r.Component),k=Object(m.withSelect)(function(e){var t=e("core/block-editor").getSettings(),n=t.availableLegacyWidgets;return{hasPermissionsToManageWidgets:t.hasPermissionsToManageWidgets,availableLegacyWidgets:n}})(w);n.d(t,"name",function(){return C}),n.d(t,"settings",function(){return E});var C="core/legacy-widget",E={title:Object(o.__)("Legacy Widget (Experimental)"),description:Object(o.__)("Display a legacy widget."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(a.G,null,Object(r.createElement)(a.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},edit:k,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(1),c=n(35),i=n(14),l=n(5),s=n(8),u=n(19),b=n(28),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(16),v=n.n(O),j=n(4),y=n(6),_=n(22),w=Object(r.createElement)(j.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(j.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(j.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function k(e){var t=e.hrefs,n=e.openInNewWindow,o=e.showDownloadButton,c=e.changeLinkDestinationOption,i=e.changeOpenInNewWindow,l=e.changeShowDownloadButton,u=t.href,b=t.textLinkHref,d=t.attachmentPage,m=[{value:u,label:Object(a.__)("URL")}];return d&&(m=[{value:u,label:Object(a.__)("Media File")},{value:d,label:Object(a.__)("Attachment Page")}]),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.InspectorControls,null,Object(r.createElement)(j.PanelBody,{title:Object(a.__)("Text Link Settings")},Object(r.createElement)(j.SelectControl,{label:Object(a.__)("Link To"),value:b,options:m,onChange:c}),Object(r.createElement)(j.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:n,onChange:i})),Object(r.createElement)(j.PanelBody,{title:Object(a.__)("Download Button Settings")},Object(r.createElement)(j.ToggleControl,{label:Object(a.__)("Show Download Button"),checked:o,onChange:l}))))}var C=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(f.a)(Object(f.a)(e))),e.confirmCopyURL=e.confirmCopyURL.bind(Object(f.a)(Object(f.a)(e))),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(f.a)(Object(f.a)(e))),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(f.a)(Object(f.a)(e))),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(f.a)(Object(f.a)(e))),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(f.a)(Object(f.a)(e))),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=n.href;if(Object(c.isBlobURL)(o)){var a=Object(c.getBlobByURL)(o);Object(_.mediaUpload)({filesList:[a],onFileChange:function(t){var n=Object(b.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),r.createErrorNotice(t)}}),Object(c.revokeBlobURL)(o)}}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isSelected,o=e.attributes,i=e.setAttributes,l=e.noticeUI,b=e.noticeOperations,d=e.media,m=o.fileName,h=o.href,p=o.textLinkHref,g=o.textLinkTarget,f=o.showDownloadButton,O=o.downloadButtonText,y=o.id,_=this.state,C=_.hasError,E=_.showCopyConfirmation,x=d&&d.link;if(!h||C)return Object(r.createElement)(s.MediaPlaceholder,{icon:Object(r.createElement)(s.BlockIcon,{icon:w}),labels:{title:Object(a.__)("File"),instructions:Object(a.__)("Drag a file, upload a new one or select a file from your library.")},onSelect:this.onSelectFile,notices:l,onError:b.createErrorNotice,accept:"*"});var S=v()(t,{"is-transient":Object(c.isBlobURL)(h)});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(k,Object(u.a)({hrefs:{href:h,textLinkHref:p,attachmentPage:x}},{openInNewWindow:!!g,showDownloadButton:f,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(r.createElement)(s.BlockControls,null,Object(r.createElement)(s.MediaUploadCheck,null,Object(r.createElement)(j.Toolbar,null,Object(r.createElement)(s.MediaUpload,{onSelect:this.onSelectFile,value:y,render:function(e){var t=e.open;return Object(r.createElement)(j.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(r.createElement)("div",{className:S},Object(r.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(r.createElement)(s.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:m,placeholder:Object(a.__)("Write file name…"),keepPlaceholderOnFocus:!0,formattingControls:[],onChange:function(e){return i({fileName:e})}}),f&&Object(r.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(r.createElement)(s.RichText,{tagName:"div",className:"wp-block-file__button",value:O,formattingControls:[],placeholder:Object(a.__)("Add text…"),keepPlaceholderOnFocus:!0,onChange:function(e){return i({downloadButtonText:e})}}))),n&&Object(r.createElement)(j.ClipboardButton,{isDefault:!0,text:h,className:"wp-block-file__copy-url-button",onCopy:this.confirmCopyURL,onFinishCopy:this.resetCopyConfirmation,disabled:Object(c.isBlobURL)(h)},E?Object(a.__)("Copied!"):Object(a.__)("Copy URL"))))}}]),t}(r.Component),E=Object(y.compose)([Object(l.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{media:void 0===r?void 0:n(r)}}),j.withNotices])(C);n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var x="core/file",S={title:Object(a.__)("File"),description:Object(a.__)("Add a link to a downloadable file."),icon:w,category:"common",keywords:[Object(a.__)("document"),Object(a.__)("pdf")],attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]",default:Object(a._x)("Download","button label")}},supports:{align:!0},transforms:{from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach(function(e){var n=Object(c.createBlobURL)(e);t.push(Object(i.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"audio")},transform:function(e){return Object(i.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"video")},transform:function(e){return Object(i.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"image")},transform:function(e){return Object(i.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},edit:E,save:function(e){var t=e.attributes,n=t.href,o=t.fileName,a=t.textLinkHref,c=t.textLinkTarget,i=t.showDownloadButton,l=t.downloadButtonText;return n&&Object(r.createElement)("div",null,!s.RichText.isEmpty(o)&&Object(r.createElement)("a",{href:a,target:c,rel:!!c&&"noreferrer noopener"},Object(r.createElement)(s.RichText.Content,{value:o})),i&&Object(r.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(r.createElement)(s.RichText.Content,{value:l})))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(19),a=n(7),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(0),m=n(2),h=n(4),p=n(5),g=n(8),f=n(6),O=n(18),v=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).titleField=Object(d.createRef)(),e.editButton=Object(d.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(b.a)(Object(b.a)(e))),e.handleTitleChange=e.handleTitleChange.bind(Object(b.a)(Object(b.a)(e))),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{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===O.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,o=e.isSaving,a=e.isEditDisabled,c=e.onEdit,i=e.instanceId;return Object(d.createElement)(d.Fragment,null,!t&&!o&&Object(d.createElement)("div",{className:"reusable-block-edit-panel"},Object(d.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(d.createElement)(h.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:a,onClick:c},Object(r.__)("Edit"))),(t||o)&&Object(d.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(d.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(i),className:"reusable-block-edit-panel__label"},Object(r.__)("Name:")),Object(d.createElement)("input",{ref:this.titleField,type:"text",disabled:o,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(i)}),Object(d.createElement)(h.Button,{type:"submit",isLarge:!0,isBusy:o,disabled:!n||o,className:"reusable-block-edit-panel__button"},Object(r.__)("Save"))))}}]),t}(d.Component),j=Object(f.withInstanceId)(v);var y=function(e){var t=e.title,n=Object(r.sprintf)(Object(r.__)("Reusable Block: %s"),t);return Object(d.createElement)(h.Tooltip,{text:n},Object(d.createElement)("span",{className:"reusable-block-indicator"},Object(d.createElement)(h.Dashicon,{icon:"controls-repeat"})))},_=function(e){function t(e){var n,r=e.reusableBlock;return Object(c.a)(this,t),(n=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(b.a)(Object(b.a)(n))),n.stopEditing=n.stopEditing.bind(Object(b.a)(Object(b.a)(n))),n.setAttributes=n.setAttributes.bind(Object(b.a)(Object(b.a)(n))),n.setTitle=n.setTitle.bind(Object(b.a)(Object(b.a)(n))),n.save=n.save.bind(Object(b.a)(Object(b.a)(n))),r&&r.isTemporary?n.state={isEditing:!0,title:r.title,changedAttributes:{}}:n.state={isEditing:!1,title:null,changedAttributes:null},n}return Object(u.a)(t,e),Object(i.a)(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:Object(a.a)({},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,a=e.onSave,c=this.state,i=c.title,l=c.changedAttributes;i!==t.title&&n(i),r(o.clientId,l),a(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,c=e.block,i=e.isFetching,l=e.isSaving,s=e.canUpdateBlock,u=this.state,b=u.isEditing,p=u.title,f=u.changedAttributes;if(!n&&i)return Object(d.createElement)(h.Placeholder,null,Object(d.createElement)(h.Spinner,null));if(!n||!c)return Object(d.createElement)(h.Placeholder,null,Object(r.__)("Block has been deleted or is unavailable."));var O=Object(d.createElement)(g.BlockEdit,Object(o.a)({},this.props,{isSelected:b&&t,clientId:c.clientId,name:c.name,attributes:Object(a.a)({},c.attributes,f),setAttributes:b?this.setAttributes:m.noop}));return b||(O=Object(d.createElement)(h.Disabled,null,O)),Object(d.createElement)(d.Fragment,null,(t||b)&&Object(d.createElement)(j,{isEditing:b,title:null!==p?p:n.title,isSaving:l&&!n.isTemporary,isEditDisabled:!s,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!b&&Object(d.createElement)(y,{title:n.title}),O)}}]),t}(d.Component),w=Object(f.compose)([Object(p.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor").getBlock,l=t.attributes.ref,s=r(l);return{reusableBlock:s,isFetching:o(l),isSaving:a(l),block:s?i(s.clientId):null,canUpdateBlock:!!s&&!s.isTemporary&&!!c("update","blocks",l)}}),Object(p.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlockTitle,a=n.__experimentalSaveReusableBlock,c=e("core/block-editor").updateBlockAttributes,i=t.attributes.ref;return{fetchReusableBlock:Object(m.partial)(r,i),updateAttributes:c,onUpdateTitle:Object(m.partial)(o,i),onSave:Object(m.partial)(a,i)}})])(_);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/block",C={title:Object(r.__)("Reusable Block"),category:"reusable",description:Object(r.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},edit:w,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(0),a=n(2),c=n(1),i=n(14),l=n(8),s=n(22),u=n(35),b=n(15),d=n(17),m=n(10),h=n(9),p=n(11),g=n(12),f=n(13),O=n(3),v=n(16),j=n.n(v),y=n(4),_=n(18),w=n(5),k=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(Object(O.a)(e))),e.onSelectCaption=e.onSelectCaption.bind(Object(O.a)(Object(O.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(Object(O.a)(e))),e.bindContainer=e.bindContainer.bind(Object(O.a)(Object(O.a)(e))),e.state={captionSelected:!1},e}return Object(f.a)(t,e),Object(h.a)(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:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[_.BACKSPACE,_.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,a=t.id,i=t.linkTo,s=t.link,b=t.isSelected,d=t.caption,m=t.onRemove,h=t.setAttributes,p=t["aria-label"];switch(i){case"media":e=n;break;case"attachment":e=s}var g=Object(o.createElement)(o.Fragment,null,Object(o.createElement)("img",{src:n,alt:r,"data-id":a,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":p,ref:this.bindContainer}),Object(u.isBlobURL)(n)&&Object(o.createElement)(y.Spinner,null)),f=j()({"is-selected":b,"is-transient":Object(u.isBlobURL)(n)});return Object(o.createElement)("figure",{className:f},b&&Object(o.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(o.createElement)(y.IconButton,{icon:"no-alt",onClick:m,className:"blocks-gallery-item__remove",label:Object(c.__)("Remove Image")})),e?Object(o.createElement)("a",{href:e},g):g,!l.RichText.isEmpty(d)||b?Object(o.createElement)(l.RichText,{tagName:"figcaption",placeholder:Object(c.__)("Write caption…"),value:d,isSelected:this.state.captionSelected,onChange:function(e){return h({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(o.Component),C=Object(w.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(k),E=Object(o.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(y.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(o.createElement)(y.G,null,Object(o.createElement)(y.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),x=[{value:"attachment",label:Object(c.__)("Attachment Page")},{value:"media",label:Object(c.__)("Media File")},{value:"none",label:Object(c.__)("None")}],S=["image"];function T(e){return Math.min(3,e.images.length)}var R=function(e){var t=Object(a.pick)(e,["alt","id","link","caption"]);return t.url=Object(a.get)(e,["sizes","large","url"])||Object(a.get)(e,["media_details","sizes","large","source_url"])||e.url,t},A=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(Object(O.a)(e))),e.onSelectImages=e.onSelectImages.bind(Object(O.a)(Object(O.a)(e))),e.setLinkTo=e.setLinkTo.bind(Object(O.a)(Object(O.a)(e))),e.setColumnsNumber=e.setColumnsNumber.bind(Object(O.a)(Object(O.a)(e))),e.toggleImageCrop=e.toggleImageCrop.bind(Object(O.a)(Object(O.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(Object(O.a)(e))),e.setImageAttributes=e.setImageAttributes.bind(Object(O.a)(Object(O.a)(e))),e.addFiles=e.addFiles.bind(Object(O.a)(Object(O.a)(e))),e.uploadFromFiles=e.uploadFromFiles.bind(Object(O.a)(Object(O.a)(e))),e.setAttributes=e.setAttributes.bind(Object(O.a)(Object(O.a)(e))),e.state={selectedImage:null},e}return Object(f.a)(t,e),Object(h.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(r.a)({},e,{ids:Object(a.map)(e.images,"id")})),this.props.setAttributes(e)}},{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(a.filter)(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){var t=this.props.attributes.columns;this.setAttributes({images:e.map(function(e){return R(e)}),columns:t?Math.min(e.length,t):t})}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(c.__)("Thumbnails are cropped to align."):Object(c.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,o=this.setAttributes;n[e]&&o({images:[].concat(Object(d.a)(n.slice(0,e)),[Object(r.a)({},n[e],t)],Object(d.a)(n.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.noticeOperations,r=this.setAttributes;Object(s.mediaUpload)({allowedTypes:S,filesList:e,onFileChange:function(e){var n=e.map(function(e){return R(e)});r({images:t.concat(n)})},onError:n.createErrorNotice})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,a=n.isSelected,i=n.className,s=n.noticeOperations,u=n.noticeUI,d=r.images,m=r.columns,h=void 0===m?T(r):m,p=r.align,g=r.imageCrop,f=r.linkTo,O=Object(o.createElement)(y.DropZone,{onFilesDrop:this.addFiles}),v=Object(o.createElement)(l.BlockControls,null,!!d.length&&Object(o.createElement)(y.Toolbar,null,Object(o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:S,multiple:!0,gallery:!0,value:d.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(o.createElement)(y.IconButton,{className:"components-toolbar__control",label:Object(c.__)("Edit gallery"),icon:"edit",onClick:t})}})));return 0===d.length?Object(o.createElement)(o.Fragment,null,v,Object(o.createElement)(l.MediaPlaceholder,{icon:Object(o.createElement)(l.BlockIcon,{icon:E}),className:i,labels:{title:Object(c.__)("Gallery"),instructions:Object(c.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:S,multiple:!0,notices:u,onError:s.createErrorNotice})):Object(o.createElement)(o.Fragment,null,v,Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(y.PanelBody,{title:Object(c.__)("Gallery Settings")},d.length>1&&Object(o.createElement)(y.RangeControl,{label:Object(c.__)("Columns"),value:h,onChange:this.setColumnsNumber,min:1,max:Math.min(8,d.length),required:!0}),Object(o.createElement)(y.ToggleControl,{label:Object(c.__)("Crop Images"),checked:!!g,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(o.createElement)(y.SelectControl,{label:Object(c.__)("Link To"),value:f,onChange:this.setLinkTo,options:x}))),u,Object(o.createElement)("ul",{className:j()(i,(e={},Object(b.a)(e,"align".concat(p),p),Object(b.a)(e,"columns-".concat(h),h),Object(b.a)(e,"is-cropped",g),e))},O,d.map(function(e,n){var r=Object(c.sprintf)(Object(c.__)("image %1$d of %2$d in gallery"),n+1,d.length);return Object(o.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(o.createElement)(C,{url:e.url,alt:e.alt,id:e.id,isSelected:a&&t.state.selectedImage===n,onRemove:t.onRemoveImage(n),onSelect:t.onSelectImage(n),setAttributes:function(e){return t.setImageAttributes(n,e)},caption:e.caption,"aria-label":r}))}),a&&Object(o.createElement)("li",{className:"blocks-gallery-item has-add-item-button"},Object(o.createElement)(y.FormFileUpload,{multiple:!0,isLarge:!0,className:"block-library-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(c.__)("Upload an image")))))}}]),t}(o.Component),N=Object(y.withNotices)(A);n.d(t,"name",function(){return I}),n.d(t,"settings",function(){return L});var B={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:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},I="core/gallery",P=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},L={title:Object(c.__)("Gallery"),description:Object(c.__)("Display multiple images in a rich gallery."),icon:E,category:"common",keywords:[Object(c.__)("images"),Object(c.__)("photos")],attributes:B,supports:{align:!0},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(a.every)(e,["align",t])?t:void 0;var n=Object(a.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return Object(i.createBlock)("core/gallery",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return P(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return P(t)}},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(a.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=Object(i.createBlock)("core/gallery",{images:e.map(function(e){return R({url:Object(u.createBlobURL)(e)})})});return Object(s.mediaUpload)({filesList:e,onFileChange:function(e){var r=e.map(R);t(n.clientId,{ids:Object(a.map)(r,"id"),images:r})},allowedTypes:["image"]}),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object(i.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})}):Object(i.createBlock)("core/image",{align:n})}}]},edit:N,save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},deprecated:[{attributes:B,isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(a.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(r.a)({},e,{ids:Object(a.map)(e.images,function(e){var t=e.id;return t?parseInt(t,10):null})})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:B,save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:Object(r.a)({},B,{images:Object(r.a)({},B.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"}),align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.align,i=t.imageCrop,l=t.linkTo;return Object(o.createElement)("div",{className:"align".concat(c," columns-").concat(a," ").concat(i?"is-cropped":"")},n.map(function(e){var t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(o.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(o.createElement)("a",{href:t},n):n)}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(21),o=n(7),a=n(17),c=n(0),i=n(2),l=n(1),s=n(14),u=n(8),b=n(4),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=function(e){function t(){return Object(d.a)(this,t),Object(h.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(m.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:"heading",title:Object(l.sprintf)(Object(l.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(c.createElement)(b.Toolbar,{controls:Object(i.range)(n,r).map(function(t){return e.createLevelControl(t,o,a)})})}}]),t}(c.Component);function O(e){return Number(e.substr(1))}n.d(t,"getLevelFromHeadingNodeName",function(){return O}),n.d(t,"name",function(){return y}),n.d(t,"settings",function(){return _});var v={className:!1,anchor:!0},j={content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},align:{type:"string"},placeholder:{type:"string"}},y="core/heading",_={title:Object(l.__)("Heading"),description:Object(l.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Object(c.createElement)(b.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(b.Path,{d:"M5 4v3h5.5v12h3V7H19V4z"}),Object(c.createElement)(b.Path,{fill:"none",d:"M0 0h24v24H0V0z"})),category:"common",keywords:[Object(l.__)("title"),Object(l.__)("subtitle")],supports:v,attributes:j,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(s.getPhrasingContentSchema)()},h2:{children:Object(s.getPhrasingContentSchema)()},h3:{children:Object(s.getPhrasingContentSchema)()},h4:{children:Object(s.getPhrasingContentSchema)()},h5:{children:Object(s.getPhrasingContentSchema)()},h6:{children:Object(s.getPhrasingContentSchema)()}},transform:function(e){return Object(s.createBlock)("core/heading",Object(o.a)({},Object(s.getBlockAttributes)("core/heading",e.outerHTML),{level:O(e.nodeName)}))}}].concat(Object(a.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(s.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.createBlock)("core/paragraph",{content:t})}}]},deprecated:[{supports:v,attributes:Object(o.a)({},Object(i.omit)(j,["level"]),{nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"}}),migrate:function(e){var t=e.nodeName,n=Object(r.a)(e,["nodeName"]);return Object(o.a)({},n,{level:O(t)})},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content;return Object(c.createElement)(u.RichText.Content,{tagName:r.toLowerCase(),style:{textAlign:n},value:o})}}],merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.insertBlocksAfter,a=e.onReplace,i=e.className,d=t.align,m=t.content,h=t.level,p=t.placeholder,g="h"+h;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(u.BlockControls,null,Object(c.createElement)(f,{minLevel:2,maxLevel:5,selectedLevel:h,onChange:function(e){return n({level:e})}})),Object(c.createElement)(u.InspectorControls,null,Object(c.createElement)(b.PanelBody,{title:Object(l.__)("Heading Settings")},Object(c.createElement)("p",null,Object(l.__)("Level")),Object(c.createElement)(f,{minLevel:1,maxLevel:7,selectedLevel:h,onChange:function(e){return n({level:e})}}),Object(c.createElement)("p",null,Object(l.__)("Text Alignment")),Object(c.createElement)(u.AlignmentToolbar,{value:d,onChange:function(e){n({align:e})}}))),Object(c.createElement)(u.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:g,value:m,onChange:function(e){return n({content:e})},onMerge:r,unstableOnSplit:o?function(e,t){n({content:e});for(var r=arguments.length,a=new Array(r>2?r-2:0),c=2;c50){if(e&&e.attributes.dimRatio>50&&e.overlayColor.color===o.color)return;return o.color?void this.changeIsDarkIfRequired(w()(o.color).isDark()):void this.changeIsDarkIfRequired(!0)}if(!(e&&e.attributes.dimRatio<=50&&e.attributes.url===c)){var i;switch(r.backgroundType){case"image":i=this.imageRef.current;break;case"video":i=this.videoRef.current}i&&T().getColorAsync(i,function(e){t.changeIsDarkIfRequired(e.isDark)})}}},{key:"changeIsDarkIfRequired",value:function(e){this.state.isDark!==e&&this.setState({isDark:e})}}]),t}(a.Component),B=Object(k.compose)([Object(C.withColors)({overlayColor:"background-color"}),d.withNotices])(N);n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return L});var I={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},P="core/cover",L={title:Object(b.__)("Cover"),description:Object(b.__)("Add an image or video with a text overlay — great for headers."),icon:m,category:"common",attributes:I,supports:{align:!0},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object(s.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||"image"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType;return!e.url||"video"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},save:function(e){var t=e.attributes,n=t.backgroundType,r=t.customOverlayColor,o=t.dimRatio,c=t.focalPoint,i=t.hasParallax,s=t.overlayColor,b=t.url,d=Object(u.getColorClassName)("background-color",s),m="image"===n?R(b):{};d||(m.backgroundColor=r),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var h=l()(A(o),d,{"has-background-dim":0!==o,"has-parallax":i});return Object(a.createElement)("div",{className:h,style:m},"video"===n&&b&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:b}),Object(a.createElement)("div",{className:"wp-block-cover__inner-container"},Object(a.createElement)(u.InnerBlocks.Content,null)))},edit:B,deprecated:[{attributes:Object(o.a)({},I,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,n=t.backgroundType,o=t.contentAlign,c=t.customOverlayColor,i=t.dimRatio,s=t.focalPoint,b=t.hasParallax,d=t.overlayColor,m=t.title,h=t.url,p=Object(u.getColorClassName)("background-color",d),g="image"===n?R(h):{};p||(g.backgroundColor=c),s&&!b&&(g.backgroundPosition="".concat(100*s.x,"% ").concat(100*s.y,"%"));var f=l()(A(i),p,Object(r.a)({"has-background-dim":0!==i,"has-parallax":b},"has-".concat(o,"-content"),"center"!==o));return Object(a.createElement)("div",{className:f,style:g},"video"===n&&h&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:h}),!u.RichText.isEmpty(m)&&Object(a.createElement)(u.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:m}))},migrate:function(e){return[Object(c.omit)(e,["title","contentAlign"]),[Object(s.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(b.__)("Write title…")})]]}},{attributes:Object(o.a)({},I,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,o=t.title,c=t.hasParallax,i=t.dimRatio,s=t.align,b=t.contentAlign,d=t.overlayColor,m=t.customOverlayColor,h=Object(u.getColorClassName)("background-color",d),p=R(n);h||(p.backgroundColor=m);var g=l()("wp-block-cover-image",A(i),h,Object(r.a)({"has-background-dim":0!==i,"has-parallax":c},"has-".concat(b,"-content"),"center"!==b),s?"align".concat(s):null);return Object(a.createElement)("div",{className:g,style:p},!u.RichText.isEmpty(o)&&Object(a.createElement)(u.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:o}))}},{attributes:Object(o.a)({},I,{align:{type:"string"},title:{type:"string",source:"html",selector:"h2"},contentAlign:{type:"string",default:"center"}}),save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,c=t.dimRatio,i=t.align,s=R(n),b=l()(A(c),{"has-background-dim":0!==c,"has-parallax":o},i?"align".concat(i):null);return Object(a.createElement)("section",{className:b,style:s},Object(a.createElement)(u.RichText.Content,{tagName:"h2",value:r}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(35),a=n(14),c=n(8),i=n(1),l=n(15),s=n(28),u=n(10),b=n(9),d=n(11),m=n(12),h=n(13),p=n(3),g=n(4),f=n(22),O=n(53),v=Object(r.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(g.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(g.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),j=["video"],y=["image"],_=function(e){function t(){var e;return Object(u.a)(this,t),(e=Object(d.a)(this,Object(m.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(r.createRef)(),e.posterImageButton=Object(r.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(p.a)(Object(p.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(p.a)(Object(p.a)(e))),e.onSelectPoster=e.onSelectPoster.bind(Object(p.a)(Object(p.a)(e))),e.onRemovePoster=e.onRemovePoster.bind(Object(p.a)(Object(p.a)(e))),e}return Object(h.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(o.isBlobURL)(l)){var u=Object(o.getBlobByURL)(l);u&&Object(f.mediaUpload)({filesList:[u],onFileChange:function(e){var t=Object(s.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:j})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(l.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=Object(O.a)({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,o=t.caption,a=t.controls,l=t.loop,s=t.muted,u=t.poster,b=t.preload,d=t.src,m=this.props,h=m.setAttributes,p=m.isSelected,f=m.className,O=m.noticeOperations,_=m.noticeUI,w=this.state.editing,k=function(){e.setState({editing:!0})};return w?Object(r.createElement)(c.MediaPlaceholder,{icon:Object(r.createElement)(c.BlockIcon,{icon:v}),className:f,onSelect:function(t){if(!t||!t.url)return h({src:void 0,id:void 0}),void k();h({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:j,value:this.props.attributes,notices:_,onError:O.createErrorNotice}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(g.Toolbar,null,Object(r.createElement)(g.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(i.__)("Edit video"),onClick:k,icon:"edit"}))),Object(r.createElement)(c.InspectorControls,null,Object(r.createElement)(g.PanelBody,{title:Object(i.__)("Video Settings")},Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:l}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:s}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:a}),Object(r.createElement)(g.SelectControl,{label:Object(i.__)("Preload"),value:b,onChange:function(e){return h({preload:e})},options:[{value:"auto",label:Object(i.__)("Auto")},{value:"metadata",label:Object(i.__)("Metadata")},{value:"none",label:Object(i.__)("None")}]}),Object(r.createElement)(c.MediaUploadCheck,null,Object(r.createElement)(g.BaseControl,{className:"editor-video-poster-control",label:Object(i.__)("Poster Image")},Object(r.createElement)(c.MediaUpload,{title:Object(i.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:y,render:function(t){var n=t.open;return Object(r.createElement)(g.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton},e.props.attributes.poster?Object(i.__)("Replace image"):Object(i.__)("Select Poster Image"))}}),!!this.props.attributes.poster&&Object(r.createElement)(g.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(i.__)("Remove Poster Image")))))),Object(r.createElement)("figure",{className:f},Object(r.createElement)(g.Disabled,null,Object(r.createElement)("video",{controls:a,poster:u,src:d,ref:this.videoPlayer})),(!c.RichText.isEmpty(o)||p)&&Object(r.createElement)(c.RichText,{tagName:"figcaption",placeholder:Object(i.__)("Write caption…"),value:o,onChange:function(e){return h({caption:e})},inlineToolbar:!0})))}}]),t}(r.Component),w=Object(g.withNotices)(_);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/video",C={title:Object(i.__)("Video"),description:Object(i.__)("Embed a video from your media library or upload a new one."),icon:v,keywords:[Object(i.__)("movie")],category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"}},transforms:{from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(a.createBlock)("core/video",{src:Object(o.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},supports:{align:!0},edit:w,save:function(e){var t=e.attributes,n=t.autoplay,o=t.caption,a=t.controls,i=t.loop,l=t.muted,s=t.poster,u=t.preload,b=t.src;return Object(r.createElement)("figure",null,b&&Object(r.createElement)("video",{autoPlay:n,controls:a,loop:i,muted:l,poster:s,preload:"metadata"!==u?u:void 0,src:b}),!c.RichText.isEmpty(o)&&Object(r.createElement)(c.RichText.Content,{tagName:"figcaption",value:o}))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(16),a=n.n(o),c=n(1),i=n(14),l=n(4),s=n(8),u=n(10),b=n(9),d=n(11),m=n(12),h=n(13),p=n(3),g=n(17),f=n(15),O=n(7),v=n(2);var j=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],y=Object(s.createCustomColorsHOC)(j),_=function(e){function t(){var e;return Object(u.a)(this,t),(e=Object(d.a)(this,Object(m.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(p.a)(Object(p.a)(e))),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(p.a)(Object(p.a)(e))),e.onChange=e.onChange.bind(Object(p.a)(Object(p.a)(e))),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(p.a)(Object(p.a)(e))),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(p.a)(Object(p.a)(e))),e.renderSection=e.renderSection.bind(Object(p.a)(Object(p.a)(e))),e.getTableControls=e.getTableControls.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRow=e.onInsertRow.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(p.a)(Object(p.a)(e))),e.onDeleteRow=e.onDeleteRow.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumn=e.onInsertColumn.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(p.a)(Object(p.a)(e))),e.onDeleteColumn=e.onDeleteColumn.bind(Object(p.a)(Object(p.a)(e))),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(h.a)(t,e),Object(b.a)(t,[{key:"onChangeInitialColumnCount",value:function(e){this.setState({initialColumnCount:e})}},{key:"onChangeInitialRowCount",value:function(e){this.setState({initialRowCount:e})}},{key:"onCreateTable",value:function(e){e.preventDefault();var t,n,r,o=this.props.setAttributes,a=this.state,c=a.initialRowCount,i=a.initialColumnCount;c=parseInt(c,10)||2,i=parseInt(i,10)||2,o((n=(t={rowCount:c,columnCount:i}).rowCount,r=t.columnCount,{body:Object(v.times)(n,function(){return{cells:Object(v.times)(r,function(){return{content:"",tag:"td"}})}})}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes;(0,n.setAttributes)(function(e,t){var n=t.section,r=t.rowIndex,o=t.columnIndex,a=t.content;return Object(f.a)({},n,e[n].map(function(e,t){return t!==r?e:{cells:e.cells.map(function(e,t){return t!==o?e:Object(O.a)({},e,{content:a})})}}))}(r,{section:t.section,rowIndex:t.rowIndex,columnIndex:t.columnIndex,content:e}))}}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.rowIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.rowIndex,o=e[n][0].cells.length;return Object(f.a)({},n,[].concat(Object(g.a)(e[n].slice(0,r)),[{cells:Object(v.times)(o,function(){return{content:"",tag:"td"}})}],Object(g.a)(e[n].slice(r))))}(r,{section:a,rowIndex:c+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.rowIndex;return Object(f.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{section:o,rowIndex:a}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.columnIndex;return Object(f.a)({},n,e[n].map(function(e){return{cells:[].concat(Object(g.a)(e.cells.slice(0,r)),[{content:"",tag:"td"}],Object(g.a)(e.cells.slice(r)))}}))}(r,{section:a,columnIndex:c+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.columnIndex;return Object(f.a)({},n,e[n].map(function(e){return{cells:e.cells.filter(function(e,t){return t!==r})}}).filter(function(e){return e.cells.length}))}(n,{section:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:e})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(c.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(c.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(c.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(c.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(c.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(c.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.type,o=e.rows;if(!o.length)return null;var c="t".concat(n),i=this.state.selectedCell;return Object(r.createElement)(c,null,o.map(function(e,o){var c=e.cells;return Object(r.createElement)("tr",{key:o},c.map(function(e,c){var l=e.content,u=e.tag,b=i&&n===i.section&&o===i.rowIndex&&c===i.columnIndex,d={section:n,rowIndex:o,columnIndex:c},m=a()({"is-selected":b});return Object(r.createElement)(u,{key:c,className:m},Object(r.createElement)(s.RichText,{className:"wp-block-table__cell-content",value:l,onChange:t.onChange,unstableOnFocus:t.createOnFocus(d)}))}))}))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,o=e.backgroundColor,i=e.setBackgroundColor,u=this.state,b=u.initialRowCount,d=u.initialColumnCount,m=t.hasFixedLayout,h=t.head,p=t.body,g=t.foot,f=!h.length&&!p.length&&!g.length,O=this.renderSection;if(f)return Object(r.createElement)("form",{onSubmit:this.onCreateTable},Object(r.createElement)(l.TextControl,{type:"number",label:Object(c.__)("Column Count"),value:d,onChange:this.onChangeInitialColumnCount,min:"1"}),Object(r.createElement)(l.TextControl,{type:"number",label:Object(c.__)("Row Count"),value:b,onChange:this.onChangeInitialRowCount,min:"1"}),Object(r.createElement)(l.Button,{isPrimary:!0,type:"submit"},Object(c.__)("Create")));var v=a()(n,o.class,{"has-fixed-layout":m,"has-background":!!o.color});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.BlockControls,null,Object(r.createElement)(l.Toolbar,null,Object(r.createElement)(l.DropdownMenu,{icon:"editor-table",label:Object(c.__)("Edit table"),controls:this.getTableControls()}))),Object(r.createElement)(s.InspectorControls,null,Object(r.createElement)(l.PanelBody,{title:Object(c.__)("Table Settings"),className:"blocks-table-settings"},Object(r.createElement)(l.ToggleControl,{label:Object(c.__)("Fixed width table cells"),checked:!!m,onChange:this.onChangeFixedLayout})),Object(r.createElement)(s.PanelColorSettings,{title:Object(c.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:i,label:Object(c.__)("Background Color"),disableCustomColors:!0,colors:j}]})),Object(r.createElement)("table",{className:v},Object(r.createElement)(O,{type:"head",rows:h}),Object(r.createElement)(O,{type:"body",rows:p}),Object(r.createElement)(O,{type:"foot",rows:g})))}}]),t}(r.Component),w=y("backgroundColor")(_);n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var k={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object(i.getPhrasingContentSchema)()},td:{allowEmpty:!0,children:Object(i.getPhrasingContentSchema)()}}}},C={table:{children:{thead:{allowEmpty:!0,children:k},tfoot:{allowEmpty:!0,children:k},tbody:{allowEmpty:!0,children:k}}}};function E(e){return{type:"array",default:[],source:"query",selector:"t".concat(e," tr"),query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"}}}}}}var x="core/table",S={title:Object(c.__)("Table"),description:Object(c.__)("Insert a table — perfect for sharing charts and data."),icon:Object(r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(l.G,null,Object(r.createElement)(l.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:E("head"),body:E("body"),foot:E("foot")},styles:[{name:"regular",label:Object(c._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(c.__)("Stripes")}],supports:{align:!0},transforms:{from:[{type:"raw",selector:"table",schema:C}]},edit:w,save:function(e){var t=e.attributes,n=t.hasFixedLayout,o=t.head,c=t.body,i=t.foot,l=t.backgroundColor;if(!o.length&&!c.length&&!i.length)return null;var u=Object(s.getColorClassName)("background-color",l),b=a()(u,{"has-fixed-layout":n,"has-background":!!u}),d=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var o="t".concat(t);return Object(r.createElement)(o,null,n.map(function(e,t){var n=e.cells;return Object(r.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,o=e.tag;return Object(r.createElement)(s.RichText.Content,{tagName:o,value:n,key:t})}))}))};return Object(r.createElement)("table",{className:b},Object(r.createElement)(d,{type:"head",rows:o}),Object(r.createElement)(d,{type:"body",rows:c}),Object(r.createElement)(d,{type:"foot",rows:i}))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(14),c=n(4),i=n(8);n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var l="core/code",s={title:Object(o.__)("Code"),description:Object(o.__)("Display code snippets that respect your spacing and tabs."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(c.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1},transforms:{from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(a.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className;return Object(r.createElement)("div",{className:a},Object(r.createElement)(i.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(o.__)("Write code…"),"aria-label":Object(o.__)("Code")}))},save:function(e){var t=e.attributes;return Object(r.createElement)("pre",null,Object(r.createElement)("code",null,t.content))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(14),i=n(17),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(8),p=n(22),g=n(5),f=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(m.a)(Object(m.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(m.a)(Object(m.a)(e))),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(i.a)(Object(p.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,c=this.state,i=c.isPreview,l=c.styles;return Object(r.createElement)("div",{className:"wp-block-html"},Object(r.createElement)(h.BlockControls,null,Object(r.createElement)("div",{className:"components-toolbar"},Object(r.createElement)("button",{className:"components-tab-button ".concat(i?"":"is-active"),onClick:this.switchToHTML},Object(r.createElement)("span",null,"HTML")),Object(r.createElement)("button",{className:"components-tab-button ".concat(i?"is-active":""),onClick:this.switchToPreview},Object(r.createElement)("span",null,Object(o.__)("Preview"))))),Object(r.createElement)(a.Disabled.Consumer,null,function(e){return i||e?Object(r.createElement)(a.SandBox,{html:t.content,styles:l}):Object(r.createElement)(h.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(o.__)("Write HTML…"),"aria-label":Object(o.__)("HTML")})}))}}]),t}(r.Component),O=Object(g.withSelect)(function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}})(f);n.d(t,"name",function(){return v}),n.d(t,"settings",function(){return j});var v="core/html",j={title:Object(o.__)("Custom HTML"),description:Object(o.__)("Add custom HTML code and preview it as you edit."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"})),category:"formatting",keywords:[Object(o.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object(c.getPhrasingContentSchema)()}}}}}]},edit:O,save:function(e){var t=e.attributes;return Object(r.createElement)(r.RawHTML,null,t.content)}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(8),i=n(22);n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var l="core/archives",s={title:Object(o.__)("Archives"),description:Object(o.__)("Display a monthly archive of your posts."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(a.G,null,Object(r.createElement)(a.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right"].includes(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,l=t.align,s=t.showPostCounts,u=t.displayAsDropdown;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Archives Settings")},Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display as Dropdown"),checked:u,onChange:function(){return n({displayAsDropdown:!u})}}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Post Counts"),checked:s,onChange:function(){return n({showPostCounts:!s})}}))),Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(c.BlockAlignmentToolbar,{value:l,onChange:function(e){n({align:e})},controls:["left","center","right"]})),Object(r.createElement)(a.Disabled,null,Object(r.createElement)(i.ServerSideRender,{block:"core/archives",attributes:t})))},save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(7),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(4),u=n(1),b=n(8),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(6),v=window.getComputedStyle,j=Object(s.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:v(e).backgroundColor,fallbackTextColor:a||!c?void 0:v(c).color}}),y=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(f.a)(Object(f.a)(e))),e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,o=t.backgroundColor,c=t.textColor,l=t.setBackgroundColor,d=t.setTextColor,m=t.fallbackBackgroundColor,h=t.fallbackTextColor,p=t.setAttributes,g=t.isSelected,f=t.className,O=n.text,v=n.url,j=n.title;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:f,title:j,ref:this.bindRef},Object(a.createElement)(b.RichText,{placeholder:Object(u.__)("Add text…"),value:O,onChange:function(e){return p({text:e})},formattingControls:["bold","italic","strikethrough"],className:i()("wp-block-button__link",(e={"has-background":o.color},Object(r.a)(e,o.class,o.class),Object(r.a)(e,"has-text-color",c.color),Object(r.a)(e,c.class,c.class),e)),style:{backgroundColor:o.color,color:c.color},keepPlaceholderOnFocus:!0}),Object(a.createElement)(b.InspectorControls,null,Object(a.createElement)(b.PanelColorSettings,{title:Object(u.__)("Color Settings"),colorSettings:[{value:o.color,onChange:l,label:Object(u.__)("Background Color")},{value:c.color,onChange:d,label:Object(u.__)("Text Color")}]},Object(a.createElement)(b.ContrastChecker,{isLargeText:!1,textColor:c.color,backgroundColor:o.color,fallbackBackgroundColor:m,fallbackTextColor:h})))),g&&Object(a.createElement)("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},Object(a.createElement)(s.Dashicon,{icon:"admin-links"}),Object(a.createElement)(b.URLInput,{value:v,onChange:function(e){return p({url:e})}}),Object(a.createElement)(s.IconButton,{icon:"editor-break",label:Object(u.__)("Apply"),type:"submit"})))}}]),t}(a.Component),_=Object(O.compose)([Object(b.withColors)("backgroundColor",{textColor:"color"}),j])(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return E});var w={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},k="core/button",C=function(e){return Object(l.omit)(Object(o.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},E={title:Object(u.__)("Button"),description:Object(u.__)("Prompt visitors to take action with a button-style link."),icon:Object(a.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(s.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(s.G,null,Object(a.createElement)(s.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"}))),category:"layout",keywords:[Object(u.__)("link")],attributes:w,supports:{align:!0,alignWide:!1},styles:[{name:"default",label:Object(u._x)("Default","block style"),isDefault:!0},{name:"outline",label:Object(u.__)("Outline")},{name:"squared",label:Object(u._x)("Squared","block style")}],edit:_,save:function(e){var t,n=e.attributes,o=n.url,c=n.text,l=n.title,s=n.backgroundColor,u=n.textColor,d=n.customBackgroundColor,m=n.customTextColor,h=Object(b.getColorClassName)("color",u),p=Object(b.getColorClassName)("background-color",s),g=i()("wp-block-button__link",(t={"has-text-color":u||m},Object(r.a)(t,h,h),Object(r.a)(t,"has-background",s||d),Object(r.a)(t,p,p),t)),f={backgroundColor:p?void 0:d,color:h?void 0:m};return Object(a.createElement)("div",null,Object(a.createElement)(b.RichText.Content,{tagName:"a",className:g,href:o,title:l,style:f,value:c}))},deprecated:[{attributes:Object(o.a)({},Object(l.pick)(w,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,c=t.align,i={backgroundColor:t.color,color:t.textColor};return Object(a.createElement)("div",{className:"align".concat(c)},Object(a.createElement)(b.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:i,value:r}))},migrate:C},{attributes:Object(o.a)({},Object(l.pick)(w,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,c=t.align,i=t.color,l=t.textColor;return Object(a.createElement)("div",{className:"align".concat(c),style:{backgroundColor:i}},Object(a.createElement)(b.RichText.Content,{tagName:"a",href:n,title:o,style:{color:l},value:r}))},migrate:C}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(4),a=n(1),c=n(15),i=n(10),l=n(9),s=n(11),u=n(12),b=n(13),d=n(3),m=n(8),h=n(22),p=function(e){function t(){var e;return Object(i.a)(this,t),(e=Object(s.a)(this,Object(u.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(d.a)(Object(d.a)(e))),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(b.a)(t,e),Object(l.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(c.a)({},e,!n))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,n=e.displayAvatar,c=e.displayDate,i=e.displayExcerpt;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.InspectorControls,null,Object(r.createElement)(o.PanelBody,{title:Object(a.__)("Latest Comments Settings")},Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Date"),checked:c,onChange:this.toggleDisplayDate}),Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Excerpt"),checked:i,onChange:this.toggleDisplayExcerpt}),Object(r.createElement)(o.RangeControl,{label:Object(a.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(r.createElement)(o.Disabled,null,Object(r.createElement)(h.ServerSideRender,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(r.Component);n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var g="core/latest-comments",f={title:Object(a.__)("Latest Comments"),description:Object(a.__)("Display a list of your most recent comments."),icon:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),category:"widgets",keywords:[Object(a.__)("recent comments")],supports:{align:!0,html:!1},edit:p,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(15),i=n(19),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(2),p=n(16),g=n.n(p),f=n(33),O=n.n(f),v=n(25),j=n(50),y=n(8),_=n(5),w={per_page:-1},k=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).state={categoriesList:[]},e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(Object(m.a)(Object(m.a)(e))),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=O()({path:Object(v.addQueryArgs)("/wp/v2/categories",w)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,l=e.latestPosts,s=this.state.categoriesList,u=t.displayPostDate,b=t.align,d=t.postLayout,m=t.columns,h=t.order,p=t.orderBy,f=t.categories,O=t.postsToShow,v=Object(r.createElement)(y.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Latest Posts Settings")},Object(r.createElement)(a.QueryControls,Object(i.a)({order:h,orderBy:p},{numberOfItems:O,categoriesList:s,selectedCategoryId:f,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display post date"),checked:u,onChange:this.toggleDisplayPostDate}),"grid"===d&&Object(r.createElement)(a.RangeControl,{label:Object(o.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:_?Math.min(6,l.length):6,required:!0}))),_=Array.isArray(l)&&l.length;if(!_)return Object(r.createElement)(r.Fragment,null,v,Object(r.createElement)(a.Placeholder,{icon:"admin-post",label:Object(o.__)("Latest Posts")},Array.isArray(l)?Object(o.__)("No posts found."):Object(r.createElement)(a.Spinner,null)));var w=l.length>O?l.slice(0,O):l,k=[{icon:"list-view",title:Object(o.__)("List View"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===d},{icon:"grid-view",title:Object(o.__)("Grid View"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===d}],C=Object(j.__experimentalGetSettings)().formats.date;return Object(r.createElement)(r.Fragment,null,v,Object(r.createElement)(y.BlockControls,null,Object(r.createElement)(y.BlockAlignmentToolbar,{value:b,onChange:function(e){n({align:e})}}),Object(r.createElement)(a.Toolbar,{controls:k})),Object(r.createElement)("ul",{className:g()(this.props.className,Object(c.a)({"is-grid":"grid"===d,"has-dates":u},"columns-".concat(m),"grid"===d))},w.map(function(e,t){var n=e.title.rendered.trim();return Object(r.createElement)("li",{key:t},Object(r.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(r.createElement)(r.RawHTML,null,n):Object(o.__)("(Untitled)")),u&&e.date_gmt&&Object(r.createElement)("time",{dateTime:Object(j.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(j.dateI18n)(C,e.date_gmt)))})))}}]),t}(r.Component),C=Object(_.withSelect)(function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(h.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(h.isUndefined)(e)}))}})(k);n.d(t,"name",function(){return E}),n.d(t,"settings",function(){return x});var E="core/latest-posts",x={title:Object(o.__)("Latest Posts"),description:Object(o.__)("Display a list of your most recent posts."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(r.createElement)(a.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),category:"widgets",keywords:[Object(o.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:C,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(29),m=n.n(d),h=n(41),p=n.n(h),g=n(4),f=n(5),O=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).getYearMonth=p()(e.getYearMonth.bind(Object(u.a)(Object(u.a)(e))),{maxSize:1}),e.getServerSideAttributes=p()(e.getServerSideAttributes.bind(Object(u.a)(Object(u.a)(e))),{maxSize:1}),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=m()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(o.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(b.createElement)(g.Disabled,null,Object(b.createElement)(g.ServerSideRender,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(b.Component),v=Object(f.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute;return{date:"post"===t("type")?t("date"):void 0}})(O);n.d(t,"name",function(){return j}),n.d(t,"settings",function(){return y});var j="core/calendar",y={title:Object(r.__)("Calendar"),description:Object(r.__)("A calendar of your site’s posts."),icon:"calendar",category:"widgets",keywords:[Object(r.__)("posts"),Object(r.__)("archive")],supports:{align:!0},edit:v,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(2),m=n(6),h=n(5),p=n(8),g=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(b.a)(Object(b.a)(e))),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(b.a)(Object(b.a)(e))),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(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){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(d.unescape)(e.name).trim():Object(o.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(r.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map(function(t){return e.renderCategoryListItem(t,0)}))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,o=this.props.attributes,a=o.showHierarchy,c=o.showPostCounts,i=this.getCategories(e.id);return Object(r.createElement)("li",{key:e.id},Object(r.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),c&&Object(r.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),a&&!!i.length&&Object(r.createElement)("ul",{className:this.getCategoryListClassName(t+1)},i.map(function(e){return n.renderCategoryListItem(e,t+1)})))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,a=this.getCategories(n),c="blocks-category-select-".concat(t);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("label",{htmlFor:c,className:"screen-reader-text"},Object(o.__)("Categories")),Object(r.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},a.map(function(t){return e.renderCategoryDropdownItem(t,0)})))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,o=this.props.attributes,a=o.showHierarchy,c=o.showPostCounts,i=this.getCategories(e.id);return[Object(r.createElement)("option",{key:e.id},Object(d.times)(3*t,function(){return" "}),this.renderCategoryName(e),c?" (".concat(e.count,")"):""),a&&!!i.length&&i.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,c=t.displayAsDropdown,i=t.showHierarchy,l=t.showPostCounts,s=Object(r.createElement)(p.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Categories Settings")},Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display as Dropdown"),checked:c,onChange:this.toggleDisplayAsDropdown}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Hierarchy"),checked:i,onChange:this.toggleShowHierarchy}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Post Counts"),checked:l,onChange:this.toggleShowPostCounts})));return n?Object(r.createElement)(r.Fragment,null,s,Object(r.createElement)(a.Placeholder,{icon:"admin-post",label:Object(o.__)("Categories")},Object(r.createElement)(a.Spinner,null))):Object(r.createElement)(r.Fragment,null,s,Object(r.createElement)("div",{className:this.props.className},c?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(r.Component),f=Object(m.compose)(Object(h.withSelect)(function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}}),m.withInstanceId)(g);n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return v});var O="core/categories",v={title:Object(o.__)("Categories"),description:Object(o.__)("Display a list of all categories."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(r.createElement)(a.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object(r.createElement)(a.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,alignWide:!1,html:!1},edit:f,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(1),c=n(14),i=n(4),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(8),p=n(18),g=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(m.a)(Object(m.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.state={defaultText:Object(a.__)("Read more")},e}return Object(d.a)(t,e),Object(s.a)(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:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===p.ENTER&&n([Object(c.createBlock)(Object(c.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(a.__)("The excerpt is hidden."):Object(a.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,o=this.props.setAttributes,c=this.state.defaultText,l=void 0!==t?t:c,s=l.length+1;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h.InspectorControls,null,Object(r.createElement)(i.PanelBody,null,Object(r.createElement)(i.ToggleControl,{label:Object(a.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return o({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(r.createElement)("div",{className:"wp-block-more"},Object(r.createElement)("input",{type:"text",value:l,size:s,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(r.Component);n.d(t,"name",function(){return f}),n.d(t,"settings",function(){return O});var f="core/more",O={title:Object(a._x)("More","block name"),description:Object(a.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(i.G,null,Object(r.createElement)(i.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},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),Object(c.createBlock)("core/more",o)}}]},edit:g,save:function(e){var t=e.attributes,n=t.customText,a=t.noTeaser,c=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",i=a?"\x3c!--noteaser--\x3e":"";return Object(r.createElement)(r.RawHTML,null,Object(o.compact)([c,i]).join("\n"))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(14),c=n(4);n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var i="core/nextpage",l={title:Object(o.__)("Page Break"),description:Object(o.__)("Separate your content into a multi-page experience."),icon:Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.G,null,Object(r.createElement)(c.Path,{d:"M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}))),category:"layout",keywords:[Object(o.__)("next page"),Object(o.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(a.createBlock)("core/nextpage",{})}}]},edit:function(){return Object(r.createElement)("div",{className:"wp-block-nextpage"},Object(r.createElement)("span",null,Object(o.__)("Page break")))},save:function(){return Object(r.createElement)(r.RawHTML,null,"\x3c!--nextpage--\x3e")}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(15),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(1),u=n(8),b=n(5),d=n(4),m=n(19),h=n(10),p=n(9),g=n(11),f=n(12),O=n(13),v=n(3),j="is-style-".concat("solid-color"),y=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(g.a)(this,Object(f.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(v.a)(Object(v.a)(n))),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(v.a)(Object(v.a)(n))),n}return Object(O.a)(t,e),Object(p.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setTextColor,a=t.setMainColor,c=t.className,i=Object(l.includes)(c,j),s=!r.color||this.wasTextColorAutomaticallyComputed,u=i&&s&&e;a(e),u&&(this.wasTextColorAutomaticallyComputed=!0,o(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,c=e.setAttributes,b=e.isSelected,d=e.className,h=t.value,p=t.citation,g=Object(l.includes)(d,j),f=g?{backgroundColor:n.color}:{borderColor:n.color},O={color:r.color},v=r.color?i()("has-text-color",Object(o.a)({},r.class,r.class)):void 0;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("figure",{style:f,className:i()(d,Object(o.a)({},n.class,g&&n.class))},Object(a.createElement)("blockquote",{style:O,className:v},Object(a.createElement)(u.RichText,{multiline:!0,value:h,onChange:function(e){return c({value:e})},placeholder:Object(s.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!u.RichText.isEmpty(p)||b)&&Object(a.createElement)(u.RichText,{value:p,placeholder:Object(s.__)("Write citation…"),onChange:function(e){return c({citation:e})},className:"wp-block-pullquote__citation"}))),Object(a.createElement)(u.InspectorControls,null,Object(a.createElement)(u.PanelColorSettings,{title:Object(s.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(s.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(s.__)("Text Color")}]},g&&Object(a.createElement)(u.ContrastChecker,Object(m.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(a.Component),_=Object(u.withColors)({mainColor:"background-color",textColor:"color"})(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var w={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},k="core/pullquote",C={title:Object(s.__)("Pullquote"),description:Object(s.__)("Give special visual emphasis to a quote from your text."),icon:Object(a.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(d.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(a.createElement)(d.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(a.createElement)(d.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object(a.createElement)(d.Polygon,{points:"21 4 2 4 2 6 21 6"})),category:"formatting",attributes:w,styles:[{name:"default",label:Object(s._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(s.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:_,save:function(e){var t,n,r=e.attributes,c=r.mainColor,s=r.customMainColor,d=r.textColor,m=r.customTextColor,h=r.value,p=r.citation,g=r.className;if(Object(l.includes)(g,j))(t=Object(u.getColorClassName)("background-color",c))||(n={backgroundColor:s});else if(s)n={borderColor:s};else if(c){var f=Object(l.get)(Object(b.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(u.getColorObjectByAttributeValues)(f,c).color}}var O=Object(u.getColorClassName)("color",d),v=d||m?i()("has-text-color",Object(o.a)({},O,O)):void 0,y=O?void 0:{color:m};return Object(a.createElement)("figure",{className:t,style:n},Object(a.createElement)("blockquote",{className:v,style:y},Object(a.createElement)(u.RichText.Content,{value:h,multiline:!0}),!u.RichText.isEmpty(p)&&Object(a.createElement)(u.RichText.Content,{tagName:"cite",value:p})))},deprecated:[{attributes:Object(r.a)({},w),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(a.createElement)("blockquote",null,Object(a.createElement)(u.RichText.Content,{value:n,multiline:!0}),!u.RichText.isEmpty(r)&&Object(a.createElement)(u.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(r.a)({},w,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object(a.createElement)("blockquote",{className:"align".concat(o)},Object(a.createElement)(u.RichText.Content,{value:n,multiline:!0}),!u.RichText.isEmpty(r)&&Object(a.createElement)(u.RichText.Content,{tagName:"footer",value:r}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(8);n.d(t,"name",function(){return c}),n.d(t,"settings",function(){return i});var c="core/search",i={title:Object(r.__)("Search"),description:Object(r.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(r.__)("find")],edit:function(e){var t=e.className,n=e.attributes,c=e.setAttributes,i=n.label,l=n.placeholder,s=n.buttonText;return Object(o.createElement)("div",{className:t},Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(r.__)("Label text"),placeholder:Object(r.__)("Add label…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:i,onChange:function(e){return c({label:e})}}),Object(o.createElement)("input",{className:"wp-block-search__input","aria-label":Object(r.__)("Optional placeholder text"),placeholder:l?void 0:Object(r.__)("Optional placeholder…"),value:l,onChange:function(e){return c({placeholder:e.target.value})}}),Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(r.__)("Button text"),placeholder:Object(r.__)("Add button text…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:s,onChange:function(e){return c({buttonText:e})}}))},save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(15),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(4),m=n(8),h=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(u.a)(Object(u.a)(e))),e.onSubmitURL=e.onSubmitURL.bind(Object(u.a)(Object(u.a)(e))),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(o.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,o=t.columns,a=t.displayAuthor,c=t.displayExcerpt,i=t.displayDate,l=t.excerptLength,s=t.feedURL,u=t.itemsToShow,h=this.props.setAttributes;if(this.state.editing)return Object(b.createElement)(d.Placeholder,{icon:"rss",label:"RSS"},Object(b.createElement)("form",{onSubmit:this.onSubmitURL},Object(b.createElement)(d.TextControl,{placeholder:Object(r.__)("Enter URL here…"),value:s,onChange:function(e){return h({feedURL:e})},className:"components-placeholder__input"}),Object(b.createElement)(d.Button,{isLarge:!0,type:"submit"},Object(r.__)("Use URL"))));var p=[{icon:"edit",title:Object(r.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(r.__)("List View"),onClick:function(){return h({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(r.__)("Grid View"),onClick:function(){return h({blockLayout:"grid"})},isActive:"grid"===n}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(m.BlockControls,null,Object(b.createElement)(d.Toolbar,{controls:p})),Object(b.createElement)(m.InspectorControls,null,Object(b.createElement)(d.PanelBody,{title:Object(r.__)("RSS Settings")},Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Number of items"),value:u,onChange:function(e){return h({itemsToShow:e})},min:1,max:10,required:!0}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display author"),checked:a,onChange:this.toggleAttribute("displayAuthor")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display date"),checked:i,onChange:this.toggleAttribute("displayDate")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display excerpt"),checked:c,onChange:this.toggleAttribute("displayExcerpt")}),c&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Max number of words in excerpt"),value:l,onChange:function(e){return h({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Columns"),value:o,onChange:function(e){return h({columns:e})},min:2,max:6,required:!0}))),Object(b.createElement)(d.Disabled,null,Object(b.createElement)(d.ServerSideRender,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(b.Component);n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var p="core/rss",g={title:Object(r.__)("RSS"),description:Object(r.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(r.__)("atom"),Object(r.__)("feed")],supports:{html:!1},edit:h,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(2),m=n(4),h=n(5),p=n(8),g=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(u.a)(Object(u.a)(e))),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(u.a)(Object(u.a)(e))),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(d.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(r.__)("- Select -"),value:""},n=Object(d.map)(e,function(e){return{value:e.slug,label:e.name}});return[t].concat(Object(o.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,o=this.getTaxonomyOptions(),a=Object(b.createElement)(p.InspectorControls,null,Object(b.createElement)(m.PanelBody,{title:Object(r.__)("Tag Cloud Settings")},Object(b.createElement)(m.SelectControl,{label:Object(r.__)("Taxonomy"),options:o,value:t,onChange:this.setTaxonomy}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(b.createElement)(b.Fragment,null,a,Object(b.createElement)(m.ServerSideRender,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(b.Component),f=Object(h.withSelect)(function(e){return{taxonomies:e("core").getTaxonomies()}})(g);n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return v});var O="core/tag-cloud",v={title:Object(r.__)("Tag Cloud"),description:Object(r.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:f,save:function(){return null}}},,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"registerCoreBlocks",function(){return G});var r=n(17),o=(n(72),n(8),n(22),n(14)),a=n(138),c=n(230),i=n(235),l=n(208),s=n(234),u=n(242),b=n(236),d=n(243),m=n(246),h=n(247),p=n(240),g=n(209),f=n(210),O=n(237),v=n(110),j=n(232),y=n(241),_=n(229),w=n(244),k=n(245),C=n(231),E=n(212),x=n(136),S=n(248),T=n(249),R=n(213),A=n(250),N=n(233),B=n(252),I=n(251),P=n(214),L=n(215),M=n(216),z=n(217),H=n(239),D=n(218),F=n(219),U=n(220),V=n(238),W=n(253),q=n(139),G=function(){[a,c,i,s,E,l,L,u,b,d,m,h,p,g,f,O,v].concat(Object(r.a)(v.common),Object(r.a)(v.others),[j,window.wp&&window.wp.oldEditor?q:null,y,_,w,k,2===e.env.GUTENBERG_PHASE?C:null,x,S,T,R,A,B,I,P,N,M,z,H,W,D,F,U,V]).forEach(function(e){if(e){var t=e.name,n=e.settings;Object(o.registerBlockType)(t,n)}}),Object(o.setDefaultBlockName)(a.name),window.wp&&window.wp.oldEditor&&Object(o.setFreeformContentHandlerName)(q.name),Object(o.setUnregisteredTypeHandlerName)(x.name)}}.call(this,n(257))},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(e){r=c}}();var l,s=[],u=!1,b=-1;function d(){u&&l&&(u=!1,l.length?s=l.concat(s):b=-1,s.length&&m())}function m(){if(!u){var e=i(d);u=!0;for(var t=s.length;t;){for(l=s,s=[];++b1)for(var n=1;n (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:
    foo
    ",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var i={},o={},s={},c=a(!0),l="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,emoji:!0,splitAdjacentBlockquotes:!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:a(!0),allOn:function(){"use strict";var e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var a=0;a").replace(/&/g,"&")};var h=function(e,t,r,n){"use strict";var a,i,o,s,c,l=n||"",u=l.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+l.replace(/g/g,"")),f=new RegExp(t,l.replace(/g/g,"")),h=[];do{for(a=0;o=d.exec(e);)if(f.test(o[0]))a++||(s=(i=d.lastIndex)-o[0].length);else if(a&&!--a){c=o.index+o[0].length;var p={left:{start:s,end:i},match:{start:i,end:o.index},right:{start:o.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(p),!u)return h}}while(a&&(d.lastIndex=i));return h};i.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=h(e,t,r,n),i=[],o=0;o0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d=0?n+(r||0):n},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 r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e})},i.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"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={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:"S"},i.Converter=function(e){"use strict";var t={},r=[],n=[],a={},o=l,f={parsed:{},raw:"",format:""};function h(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 a=d(e,t);if(!a.valid)throw Error(a.error);for(var o=0;o[ \t]+¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(r)};!function e(t){for(var r=0;r? ?(['"].*['"])?\)$/m)>-1)o="";else if(!o){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),o="#"+a,i.helper.isUndefined(r.gUrls[a]))return e;o=r.gUrls[a],i.helper.isUndefined(r.gTitles[a])||(l=r.gTitles[a])}var u='"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,r,n,a,o){if("\\"===n)return r+a;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,o),c="";return t.openLinksInNewWindow&&(c=' target="¨E95Eblank"'),r+'"+a+""})),e=r.converter._dispatch("anchors.after",e,t,r)});var p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\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,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,k=function(e){"use strict";return function(t,r,n,a,o,s,c){var l=n=n.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",d="",f=r||"",h=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' target="¨E95Eblank"'),f+'"+l+""+u+h}},v=function(e,t){"use strict";return function(r,n,a){var o="mailto:";return n=n||"",a=i.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(o=i.helper.encodeEmailAddress(o+a),a=i.helper.encodeEmailAddress(a)):o+=a,n+''+a+""}};i.subParser("autoLinks",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(m,k(t))).replace(_,v(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)}),i.subParser("simplifiedAutoLinks",function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,k(t)):e.replace(p,k(t))).replace(b,v(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e}),i.subParser("blockGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=i.subParser("blockQuotes")(e,t,r),e=i.subParser("headers")(e,t,r),e=i.subParser("horizontalRule")(e,t,r),e=i.subParser("lists")(e,t,r),e=i.subParser("codeBlocks")(e,t,r),e=i.subParser("tables")(e,t,r),e=i.subParser("hashHTMLBlocks")(e,t,r),e=i.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)}),i.subParser("blockQuotes",function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=i.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
    [^\r]+?<\/pre>)/gm,function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")}),i.subParser("hashBlock")("
    \n"+e+"\n
    ",t,r)}),e=r.converter._dispatch("blockQuotes.after",e,t,r)}),i.subParser("codeBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,n,a){var o=n,s=a,c="\n";return o=i.subParser("outdent")(o,t,r),o=i.subParser("encodeCode")(o,t,r),o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),o="
    "+o+c+"
    ",i.subParser("hashBlock")(o,t,r)+s})).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)}),i.subParser("codeSpans",function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,n,a,o){var s=o;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+""+(s=i.subParser("encodeCode")(s,t,r))+"",s=i.subParser("hashHTMLSpans")(s,t,r)}),e=r.converter._dispatch("codeSpans.after",e,t,r)}),i.subParser("completeHTMLDocument",function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="\n",i="",o='\n',s="",c="";for(var l in void 0!==r.metadata.parsed.doctype&&(a="\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(o='')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":i=""+r.metadata.parsed.title+"\n";break;case"charset":o="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[l]+'"',c+='\n';break;default:c+='\n'}return e=a+"\n\n"+i+o+c+"\n\n"+e.trim()+"\n\n",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)}),i.subParser("detab",function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,t){for(var r=t,n=4-r.length%4,a=0;a/g,">"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)}),i.subParser("encodeBackslashEscapes",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)}),i.subParser("encodeCode",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)}),i.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)}),i.subParser("githubCodeBlocks",function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,n,a,o){var s=t.omitExtraWLInCodeBlocks?"":"\n";return o=i.subParser("encodeCode")(o,t,r),o="
    "+(o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"
    ",o=i.subParser("hashBlock")(o,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"})).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e}),i.subParser("hashBlock",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)}),i.subParser("hashCodeTags",function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=i.helper.replaceRecursiveRegExp(e,function(e,n,a,o){var s=a+i.subParser("encodeCode")(n,t,r)+o;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"},"]*>","","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)}),i.subParser("hashElement",function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}}),i.subParser("hashHTMLBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["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"],a=function(e,t,n,a){var i=e;return-1!==n.search(/\bmarkdown\b/)&&(i=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var o=0;o]*>)","im"),l="<"+n[o]+"\\b[^>]*>",u="";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],a,l,u,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,r)),e=(e=i.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(r.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,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)}),i.subParser("hashHTMLSpans",function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,function(e){return n(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return n(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return n(e)})).replace(/<[^>]+?>/gi,function(e){return n(e)}),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)}),i.subParser("unhashHTMLSpans",function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n]*>\\s*]*>","^ {0,3}\\s*
    ","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)}),i.subParser("headers",function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l=""+o+"";return i.subParser("hashBlock")(l,t,r)})).replace(o,function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l=n+1,u=""+o+"";return i.subParser("hashBlock")(u,t,r)});var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var n,a;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return n=e,a=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,function(e,a,o){var s=o;t.customizedHeaderId&&(s=o.replace(/\s?\{([^{]+?)}\s*$/,""));var l=i.subParser("spanGamut")(s,t,r),u=t.noHeaderId?"":' id="'+c(o)+'"',d=n-1+a.length,f=""+l+"";return i.subParser("hashBlock")(f,t,r)}),e=r.converter._dispatch("headers.after",e,t,r)}),i.subParser("horizontalRule",function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=i.subParser("hashBlock")("
    ",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)}),i.subParser("images",function(e,t,r){"use strict";function n(e,t,n,a,o,s,c,l){var u=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),l||(l=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,i.helper.isUndefined(u[n]))return e;a=u[n],i.helper.isUndefined(d[n])||(l=d[n]),i.helper.isUndefined(f[n])||(o=f[n].width,s=f[n].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h=''+t+'"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function(e,t,r,a,i,o,s,c){return n(e,t,r,a=a.replace(/\s/g,""),i,o,0,c)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=r.converter._dispatch("images.after",e,t,r)}),i.subParser("italicsAndBold",function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return n(t,"","")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return n(t,"","")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return n(t,"","")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e}),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e}),e=r.converter._dispatch("italicsAndBold.after",e,t,r)}),i.subParser("lists",function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,function(e,n,a,s,c,l,u){u=u&&""!==u.trim();var d=i.subParser("outdent")(c,t,r),f="";return l&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='-1?(d=i.subParser("githubCodeBlocks")(d,t,r),d=i.subParser("blockGamut")(d,t,r)):(d=(d=i.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=i.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=o?i.subParser("paragraphs")(d,t,r):i.subParser("spanGamut")(d,t,r)),d=""+(d=d.replace("¨A",""))+"\n"})).replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function o(e,r,i){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?o:s,l="";if(-1!==e.search(c))!function t(u){var d=u.search(c),f=a(e,r);-1!==d?(l+="\n\n<"+r+f+">\n"+n(u.slice(0,d),!!i)+"\n",c="ul"===(r="ul"===r?"ol":"ul")?o:s,t(u.slice(d))):l+="\n\n<"+r+f+">\n"+n(u,!!i)+"\n"}(e);else{var u=a(e,r);l="\n\n<"+r+u+">\n"+n(e,!!i)+"\n"}return l}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,r){return o(t,r.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,r,n){return o(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)}),i.subParser("metadata",function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,n){return r.metadata.parsed[t]=n,""})}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(e,t,r){return n(r),"¨M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"})).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)}),i.subParser("outdent",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)}),i.subParser("paragraphs",function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],o=n.length,s=0;s=0?a.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"

    "),c+="

    ",a.push(c))}for(o=a.length,s=0;s]*>\s*]*>/.test(u)&&(d=!0)}a[s]=u}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)}),i.subParser("runExtension",function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t}),i.subParser("spanGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=i.subParser("codeSpans")(e,t,r),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=i.subParser("encodeBackslashEscapes")(e,t,r),e=i.subParser("images")(e,t,r),e=i.subParser("anchors")(e,t,r),e=i.subParser("autoLinks")(e,t,r),e=i.subParser("simplifiedAutoLinks")(e,t,r),e=i.subParser("emoji")(e,t,r),e=i.subParser("underline")(e,t,r),e=i.subParser("italicsAndBold")(e,t,r),e=i.subParser("strikethrough")(e,t,r),e=i.subParser("ellipsis")(e,t,r),e=i.subParser("hashHTMLSpans")(e,t,r),e=i.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
    \n")):e=e.replace(/ +\n/g,"
    \n"),e=r.converter._dispatch("spanGamut.after",e,t,r)}),i.subParser("strikethrough",function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,n){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,r)),""+e+""}(n)}),e=r.converter._dispatch("strikethrough.after",e,t,r)),e}),i.subParser("stripLinkDefinitions",function(e,t,r){"use strict";var n=function(e,n,a,o,s,c,l){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=i.subParser("encodeAmpsAndAngles")(a,t,r),c?c+l:(l&&(r.gTitles[n]=l.replace(/"|'/g,""")),t.parseImgDimensions&&o&&s&&(r.gDimensions[n]={width:o,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).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,n)).replace(/¨0/,"")}),i.subParser("tables",function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return""+i.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,o=e.split("\n");for(a=0;a"+(c=i.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var i=0;i\n"}return r+="\n\n"}(p,m)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).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,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)}),i.subParser("underline",function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return""+t+""})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return""+t+""}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?""+t+"":e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?""+t+"":e})).replace(/(_)/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e}),i.subParser("unescapeSpecialChars",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,function(e,t){var r=parseInt(t);return String.fromCharCode(r)}),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)}),i.subParser("makeMarkdown.blockquote",function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,o=0;o ")}),i.subParser("makeMarkdown.codeBlock",function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"}),i.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),i.subParser("makeMarkdown.emphasis",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,o=0;o",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),i.subParser("makeMarkdown.links",function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var o=0;o",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r}),i.subParser("makeMarkdown.list",function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,s=e.getAttribute("start")||1,c=0;c"+t.preList[r]+""}),i.subParser("makeMarkdown.strikethrough",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,o=0;otr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rp&&(p=g)}for(r=0;r/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});void 0===(n=function(){"use strict";return i}.call(t,r,t,e))||(e.exports=n)}).call(this)},24:function(e,t){!function(){e.exports=this.wp.hooks}()},25:function(e,t){!function(){e.exports=this.wp.dom}()},28:function(e,t,r){"use strict";var n=r(37);var a=r(38);function i(e,t){return Object(n.a)(e)||function(e,t){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||Object(a.a)()}r.d(t,"a",function(){return i})},30:function(e,t,r){"use strict";var n,a;function i(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=f("SET_DEFAULT_BLOCK_NAME"),p=f("SET_FREEFORM_FALLBACK_BLOCK_NAME"),g=f("SET_UNREGISTERED_FALLBACK_BLOCK_NAME");var m=Object(i.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(l.keyBy)(Object(l.map)(t.blockTypes,function(e){return Object(l.omit)(e,"styles ")}),"name"));case"REMOVE_BLOCK_TYPES":return Object(l.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(l.mapValues)(Object(l.keyBy)(t.blockTypes,"name"),function(t){return Object(l.uniqBy)([].concat(Object(s.a)(Object(l.get)(t,["styles"],[])),Object(s.a)(Object(l.get)(e,[t.name],[]))),function(e){return e.name})}));case"ADD_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(l.uniqBy)([].concat(Object(s.a)(Object(l.get)(e,[t.blockName],[])),Object(s.a)(t.styles)),function(e){return e.name})));case"REMOVE_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(l.filter)(Object(l.get)(e,[t.blockName],[]),function(e){return-1===t.styleNames.indexOf(e.name)})))}return e},defaultBlockName:h,freeformFallbackBlockName:p,unregisteredFallbackBlockName:g,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(l.isEmpty)(t.category))return e;if(Object(l.find)(e,["slug",t.slug]))return Object(l.map)(e,function(e){return e.slug===t.slug?Object(c.a)({},e,t.category):e})}return e}}),b=r(30),_=function(e,t){return"string"==typeof t?v(e,t):t},k=Object(b.a)(function(e){return Object.values(e.blockTypes)},function(e){return[e.blockTypes]});function v(e,t){return e.blockTypes[t]}function w(e,t){return e.blockStyles[t]}function y(e){return e.categories}function j(e){return e.defaultBlockName}function O(e){return e.freeformFallbackBlockName}function x(e){return e.unregisteredFallbackBlockName}var C=Object(b.a)(function(e,t){return Object(l.map)(Object(l.filter)(e.blockTypes,function(e){return Object(l.includes)(e.parent,t)}),function(e){return e.name})},function(e){return[e.blockTypes]}),A=function(e,t,r,n){var a=_(e,t);return Object(l.get)(a,["supports",r],n)};function S(e,t,r,n){return!!A(e,t,r,n)}function T(e,t,r){var n=_(e,t),a=Object(l.flow)([l.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=a(r),o=Object(l.flow)([a,function(e){return Object(l.includes)(e,i)}]);return o(n.title)||Object(l.some)(n.keywords,o)||o(n.category)}var E=function(e,t){return C(e,t).length>0},P=function(e,t){return Object(l.some)(C(e,t),function(t){return S(e,t,"inserter",!0)})};function M(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(l.castArray)(e)}}function L(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(l.castArray)(e)}}function N(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(l.castArray)(t),blockName:e}}function B(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(l.castArray)(t),blockName:e}}function z(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function H(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function D(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function I(e){return{type:"SET_CATEGORIES",categories:e}}function V(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Object(i.registerStore)("core/blocks",{reducer:m,selectors:n,actions:a});var R=r(65),F=r.n(R),q=r(24),$=r(45),U=r.n($),G=r(0),W=["#191e23","#f8f9f9"];function K(e){var t=se();if(e.name!==t)return!1;K.block&&K.block.name===t||(K.block=_e(t));var r=K.block,n=ce(t);return Object(l.every)(n.attributes,function(t,n){return r.attributes[n]===e.attributes[n]})}function Y(e){return!!e&&(Object(l.isString)(e)||Object(G.isValidElement)(e)||Object(l.isFunction)(e)||e instanceof G.Component)}function Z(e){if(e||(e="block-default"),Y(e))return{src:e};if(Object(l.has)(e,["background"])){var t=U()(e.background);return Object(c.a)({},e,{foreground:e.foreground?e.foreground:Object($.mostReadable)(t,W,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function Q(e){return Object(l.isString)(e)?ce(e):e}var X={};function J(e){X=e}function ee(e,t){if(t=Object(c.a)({name:e},Object(l.get)(X,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(i.select)("core/blocks").getBlockType(e))console.error('Block "'+e+'" is already registered.');else if((t=Object(q.applyFilters)("blocks.registerBlockType",t,e))&&Object(l.isFunction)(t.save))if("edit"in t&&!Object(l.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("category"in t)if("category"in t&&!Object(l.some)(Object(i.select)("core/blocks").getCategories(),{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){if(t.icon=Z(t.icon),Y(t.icon.src))return Object(i.dispatch)("core/blocks").addBlockTypes(t),t;console.error("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://wordpress.org/gutenberg/handbook/designers-developers/developers/block-api/block-registration/#icon-optional")}else 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 te(e){var t=Object(i.select)("core/blocks").getBlockType(e);if(t)return Object(i.dispatch)("core/blocks").removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function re(e){Object(i.dispatch)("core/blocks").setFreeformFallbackBlockName(e)}function ne(){return Object(i.select)("core/blocks").getFreeformFallbackBlockName()}function ae(e){Object(i.dispatch)("core/blocks").setUnregisteredFallbackBlockName(e)}function ie(){return Object(i.select)("core/blocks").getUnregisteredFallbackBlockName()}function oe(e){Object(i.dispatch)("core/blocks").setDefaultBlockName(e)}function se(){return Object(i.select)("core/blocks").getDefaultBlockName()}function ce(e){return Object(i.select)("core/blocks").getBlockType(e)}function le(){return Object(i.select)("core/blocks").getBlockTypes()}function ue(e,t,r){return Object(i.select)("core/blocks").getBlockSupport(e,t,r)}function de(e,t,r){return Object(i.select)("core/blocks").hasBlockSupport(e,t,r)}function fe(e){return"core/block"===e.name}var he=function(e){return Object(i.select)("core/blocks").getChildBlockNames(e)},pe=function(e){return Object(i.select)("core/blocks").hasChildBlocks(e)},ge=function(e){return Object(i.select)("core/blocks").hasChildBlocksWithInserterSupport(e)},me=function(e,t){Object(i.dispatch)("core/blocks").addBlockStyles(e,t)},be=function(e,t){Object(i.dispatch)("core/blocks").removeBlockStyles(e,t)};function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ce(e),a=Object(l.reduce)(n.attributes,function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e},{});return{clientId:F()(),name:e,isValid:!0,attributes:a,innerBlocks:r}}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=F()();return Object(c.a)({},e,{clientId:n,attributes:Object(c.a)({},e.attributes,t),innerBlocks:r||e.innerBlocks.map(function(e){return ke(e)})})}var ve=function(e,t,r){if(Object(l.isEmpty)(r))return!1;if(!(!(r.length>1)||e.isMultiBlock))return!1;if(!("block"===e.type))return!1;var n=Object(l.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(n.name)))return!1;if(Object(l.isFunction)(e.isMatch)){var a=e.isMultiBlock?r.map(function(e){return e.attributes}):n.attributes;if(!e.isMatch(a))return!1}return!0},we=function(e){if(Object(l.isEmpty)(e))return[];var t=le();return Object(l.filter)(t,function(t){return!!Oe(xe("from",t.name),function(t){return ve(t,"from",e)})})},ye=function(e){if(Object(l.isEmpty)(e))return[];var t=xe("to",ce(Object(l.first)(e).name).name),r=Object(l.filter)(t,function(t){return ve(t,"to",e)});return Object(l.flatMap)(r,function(e){return e.blocks}).map(function(e){return ce(e)})};function je(e){if(Object(l.isEmpty)(e))return[];var t=Object(l.first)(e);if(e.length>1&&!Object(l.every)(e,{name:t.name}))return[];var r=we(e),n=ye(e);return Object(l.uniq)([].concat(Object(s.a)(r),Object(s.a)(n)))}function Oe(e,t){for(var r=Object(q.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),function(e){return e||a},a.priority)},a=0;a1,a=r[0],i=a.name;if(n&&!Object(l.every)(r,function(e){return e.name===i}))return null;var o,s=xe("from",t),u=Oe(xe("to",i),function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!n||e.isMultiBlock)})||Oe(s,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(i)&&(!n||e.isMultiBlock)});if(!u)return null;if(o=u.isMultiBlock?u.transform(r.map(function(e){return e.attributes}),r.map(function(e){return e.innerBlocks})):u.transform(a.attributes,a.innerBlocks),!Object(l.isObjectLike)(o))return null;if((o=Object(l.castArray)(o)).some(function(e){return!ce(e.name)}))return null;var d=Object(l.findIndex)(o,function(e){return e.name===t});return d<0?null:o.map(function(t,r){var n=Object(c.a)({},t,{clientId:r===d?a.clientId:t.clientId});return Object(q.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)})}var Ae=r(28);var Se,Te=function(){return Se||(Se=document.implementation.createHTMLDocument("")),Se};function Ee(e,t){if(t){if("string"==typeof e){var r=Te();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce(function(r,n){return r[n]=Ee(e,t[n]),r},{})}}function Pe(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return function(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}(n,t)}}var Me=r(66),Le=r(205),Ne=r(37),Be=r(34),ze=r(38);var He=r(10),De=r(9),Ie=/[\t\n\f ]/,Ve=/[A-Za-z]/,Re=/\r\n?/g;function Fe(e){return Ie.test(e)}function qe(e){return Ve.test(e)}function $e(e,t){if(!e)throw new Error((t||"value")+" was null");return e}var Ue=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(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":qe(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();Fe(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();Fe(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();Fe(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();Fe(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();Fe(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();Fe(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();Fe(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();qe(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(Re,"\n")}(e);this.index2&&void 0!==arguments[2]?arguments[2]:[],n=Q(e),a=n.save;if(a.prototype instanceof G.Component){var i=new a({attributes:t});a=i.render.bind(i)}var o=a({attributes:t,innerBlocks:r});if(Object(l.isObject)(o)&&Object(q.hasFilter)("blocks.getSaveContent.extraProps")){var s=Object(q.applyFilters)("blocks.getSaveContent.extraProps",Object(c.a)({},o.props),n,t);Ye()(s,o.props)||(o=Object(G.cloneElement)(o,s))}return o=Object(q.applyFilters)("blocks.getSaveElement",o,n,t),Object(G.createElement)(rt,{innerBlocks:r},o)}function ot(e,t,r){var n=Q(e);return Object(G.renderToString)(it(n,t,r))}function st(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=ot(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function ct(e,t,r){var n=Object(l.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(l.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function lt(e){var t=e.name,r=st(e);switch(t){case ne():case ie():return r;default:return ct(t,function(e,t){return Object(l.reduce)(e.attributes,function(e,r,n){var a=t[n];return void 0===a?e:void 0!==r.source?e:"default"in r&&r.default===a?e:(e[n]=a,e)},{})}(ce(t),e.attributes),r)}}function ut(e){return Object(l.castArray)(e).map(lt).join("\n\n")}var dt=/[\t\n\r\v\f ]+/g,ft=/^[\t\n\r\v\f ]*$/,ht=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,pt=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],gt=[].concat(pt,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),mt=[l.identity,function(e){return yt(e).join(" ")}],bt=/^[\da-z]+$/i,_t=/^#\d+$/,kt=/^#x[\da-f]+$/i;var vt=function(){function e(){Object(He.a)(this,e)}return Object(De.a)(e,[{key:"parse",value:function(e){if(t=e,bt.test(t)||_t.test(t)||kt.test(t))return Object(We.decodeEntities)("&"+e+";");var t}}]),e}(),wt=function(){function e(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:{},n=Q(e),a=Object(l.mapValues)(n.attributes,function(e,n){return function(e,t,r,n){var a,i=t.type;switch(t.source){case void 0:a=n?n[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":a=Wt(r,t)}return void 0===i||Ut(a,Object(l.castArray)(i))||(a=void 0),void 0===a?t.default:a}(n,e,t,r)});return Object(q.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function Yt(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,i=e.innerHTML,o=ne(),s=ie()||o;r=r||{},i=i.trim();var u=t||o;"core/cover-image"===u&&(u="core/cover"),"core/text"!==u&&"core/cover-text"!==u||(u="core/paragraph"),u===o&&(i=Object(Me.autop)(i).trim());var d=ce(u);if(!d){var f=i;u&&(i=ct(u,r,i)),r={originalName:t,originalUndelimitedContent:f},d=ce(u=s)}a=a.map(Yt);var h=u===o||u===s;if(d&&(i||!h)){var p=_e(u,Kt(d,i,r),a);return h||(p.isValid=Mt(d,p.attributes,i)),p.originalContent=i,p=function(e,t){var r=ce(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,i=a.originalContent,o=a.innerBlocks,s=0;s1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach(function(t){e(t.childNodes,r,n,a),r.forEach(function(e){n.contains(t)&&e(t,n,a)})})}(n.body.childNodes,t,n,r),n.body.innerHTML}function lr(e,t,r){var n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach(function(t){var i=t.nodeName.toLowerCase();if(!n.hasOwnProperty(i)||n[i].isMatch&&!n[i].isMatch(t))e(t.childNodes,r,n,a),a&&!rr(t)&&t.nextElementSibling&&Object(Jt.insertAfter)(r.createElement("br"),t),Object(Jt.unwrap)(t);else if(t.nodeType===ar){var o=n[i],s=o.attributes,c=void 0===s?[]:s,u=o.classes,d=void 0===u?[]:u,f=o.children,h=o.require,p=void 0===h?[]:h,g=o.allowEmpty;if(f&&!g&&sr(t))return void Object(Jt.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach(function(e){var r=e.name;"class"===r||Object(l.includes)(c,r)||t.removeAttribute(r)}),t.classList&&t.classList.length)){var m=d.map(function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:l.noop});Array.from(t.classList).forEach(function(e){m.some(function(t){return t(e)})||t.classList.remove(e)}),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===f)return;if(f)p.length&&!t.querySelector(p.join(","))?(e(t.childNodes,r,n,a),Object(Jt.unwrap)(t)):"BODY"===t.parentNode.nodeName&&rr(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some(function(e){return!rr(e)})&&Object(Jt.unwrap)(t)):e(t.childNodes,r,f,a);else for(;t.firstChild;)Object(Jt.remove)(t.firstChild)}}})}(n.body.childNodes,n,t,r),n.body.innerHTML}var ur=window.Node,dr=ur.ELEMENT_NODE,fr=ur.TEXT_NODE,hr=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var i=n.firstChild;i.nodeType===fr?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===dr?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(i.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(i):n.removeChild(i)):"P"===i.nodeName?sr(i)?n.removeChild(i):a.appendChild(i):rr(i)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):a.appendChild(i):n.removeChild(i)}return a.innerHTML},pr=window.Node.COMMENT_NODE,gr=function(e,t){if(e.nodeType===pr)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===pr&&"noteaser"===n.nodeValue){a=!0,Object(Jt.remove)(n);break}Object(Jt.replace)(e,function(e,t,r){var n=r.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(r,a,t))}}else Object(Jt.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function mr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var br=function(e){if(mr(e)){var t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Object(s.a)(n.childNodes).map(function(e){var t=e.nodeValue;return void 0===t?"":t}).join("")))){var i=a,o=i.previousElementSibling,c=i.parentNode;o?(o.appendChild(t),c.removeChild(i)):(c.parentNode.insertBefore(t,c),c.parentNode.removeChild(c))}if(a&&mr(a)){var l=e.previousElementSibling;l?l.appendChild(e):Object(Jt.unwrap)(e)}}},_r=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=hr(e.innerHTML))};var kr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!rr(e)&&Object(l.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(l.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);for(var i=n;i&&"P"!==i.nodeName;)i=i.parentElement;var o=t.createElement("figure");i?i.parentNode.insertBefore(o,i):n.parentNode.insertBefore(o,n),o.appendChild(n)}},vr=r(134);var wr=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Oe(xe("from"),function(e){return"shortcode"===e.type&&Object(l.some)(Object(l.castArray)(e.tag),function(e){return Object(vr.regexp)(e).test(t)})});if(!n)return[t];var a,i=Object(l.castArray)(n.tag),o=Object(l.first)(i);if(a=Object(vr.next)(o,t,r)){var u=t.substr(0,a.index);if(r=a.index+a.content.length,!Object(l.includes)(a.shortcode.content||"","<")&&!/(\n|

    )\s*$/.test(u))return e(t,r);var d=Object(l.mapValues)(Object(l.pickBy)(n.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(a.shortcode.attrs,a)});return[u,_e(n.blockName,Kt(Object(c.a)({},ce(n.blockName),{attributes:n.attributes}),a.shortcode.content,d))].concat(Object(s.a)(e(t.substr(r))))}return[t]};function yr(e,t){return e.every(function(e){return function(e,t){if(rr(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some(function(e){return 0===Object(l.difference)([r,t],e).length})}(e,t)&&yr(Array.from(e.children),t)})}function jr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Or=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(jr)&&yr(n,t)},xr=function(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,i=r.textDecorationLine,o=r.verticalAlign;"bold"!==n&&"700"!==n||Object(Jt.wrap)(t.createElement("strong"),e),"italic"===a&&Object(Jt.wrap)(t.createElement("em"),e),"line-through"===i&&Object(Jt.wrap)(t.createElement("s"),e),"super"===o?Object(Jt.wrap)(t.createElement("sup"),e):"sub"===o&&Object(Jt.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(Jt.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(Jt.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},Cr=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},Ar=window.parseInt;function Sr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Tr=function(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=Ar(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!Sr(i)){var o=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(o),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",o),e.parentNode.insertBefore(c,e)}var l=e.previousElementSibling,u=l.nodeName,d=t.createElement("li"),f=l;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)Sr(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Sr(f)||(f=f.appendChild(t.createElement(u))),f.appendChild(d),e.parentNode.removeChild(e)}}}},Er=r(35),Pr=window,Mr=Pr.atob,Lr=Pr.File,Nr=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(Ae.a)(r,2),a=n[0],i=n[1],o=a.slice(5).split(";"),s=Object(Ae.a)(o,1)[0];if(!i||!s)return void(e.src="");try{t=Mr(i)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),l=0;l]+>/,""),"INLINE"!==o){var f=r||a;if(-1!==f.indexOf("\x3c!-- wp:"))return Qt(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ \/>])/i.test(e)}(r)||(r=Hr(a),"AUTO"===o&&-1===a.indexOf("\n")&&0!==a.indexOf("

    ")&&0===r.indexOf("

    ")&&(o="INLINE")),"INLINE"===o)return Rr(r);var h=wr(r),p=h.length>1;if("AUTO"===o&&!p&&Or(r,s))return Rr(r);var g=Object(l.filter)(xe("from"),{type:"raw"}).map(function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}),m=tr(),b=or(g),_=Object(l.compact)(Object(l.flatMap)(h,function(e){if("string"!=typeof e)return e;var t=[Ir,Tr,Cr,br,Nr,xr,gr,kr,_r];d||t.unshift(Dr);var r=Object(c.a)({},b,m);return e=lr(e=cr(e,t,b),r),e=hr(e),Vr.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map(function(e){var t=Oe(r,function(t){return(0,t.isMatch)(e)});if(!t)return _e("core/html",Kt("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):_e(a,Kt(a,e.outerHTML))})}({html:e,rawTransforms:g})}));if("AUTO"===o&&1===_.length){var k=a.trim();if(""!==k&&-1===k.indexOf("\n"))return lr(st(_[0]),m)}return _}function qr(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Qt(r);var n=wr(r),a=Object(l.filter)(xe("from"),{type:"raw"}).map(function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}),i=or(a);return Object(l.compact)(Object(l.flatMap)(n,function(e){return"string"!=typeof e?e:(e=cr(e,[br,gr,kr,_r],i),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map(function(e){var t=Oe(r,function(t){return(0,t.isMatch)(e)});if(!t)return _e("core/html",Kt("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):_e(a,Kt(a,e.outerHTML))})}({html:e=hr(e),rawTransforms:a}))}))}function $r(){return Object(i.select)("core/blocks").getCategories()}function Ur(e){Object(i.dispatch)("core/blocks").setCategories(e)}function Gr(e,t){Object(i.dispatch)("core/blocks").updateCategory(e,t)}function Wr(){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(l.every)(t,function(t,r){var n=Object(Ae.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&Wr(o.innerBlocks,i)})}function Kr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(l.map)(t,function(t,r){var n=Object(Ae.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var u=Kr(s.innerBlocks,o);return Object(c.a)({},s,{innerBlocks:u})}var d=ce(a),f=function(e,t){return Object(l.mapValues)(t,function(t,r){return h(e[r],t)})},h=function(e,t){return r=e,"html"===Object(l.get)(r,["source"])&&Object(l.isArray)(t)?Object(G.renderToString)(t):function(e){return"query"===Object(l.get)(e,["source"])}(e)&&t?t.map(function(t){return f(e.query,t)}):t;var r};return _e(a,f(Object(l.get)(d,["attributes"],{}),i),Kr([],o))}):e}r.d(t,"createBlock",function(){return _e}),r.d(t,"cloneBlock",function(){return ke}),r.d(t,"getPossibleBlockTransformations",function(){return je}),r.d(t,"switchToBlockType",function(){return Ce}),r.d(t,"getBlockTransforms",function(){return xe}),r.d(t,"findTransform",function(){return Oe}),r.d(t,"parse",function(){return Xt}),r.d(t,"getBlockAttributes",function(){return Kt}),r.d(t,"parseWithAttributeSchema",function(){return Wt}),r.d(t,"pasteHandler",function(){return Fr}),r.d(t,"rawHandler",function(){return qr}),r.d(t,"getPhrasingContentSchema",function(){return tr}),r.d(t,"serialize",function(){return ut}),r.d(t,"getBlockContent",function(){return st}),r.d(t,"getBlockDefaultClassName",function(){return nt}),r.d(t,"getBlockMenuDefaultClassName",function(){return at}),r.d(t,"getSaveElement",function(){return it}),r.d(t,"getSaveContent",function(){return ot}),r.d(t,"isValidBlockContent",function(){return Mt}),r.d(t,"getCategories",function(){return $r}),r.d(t,"setCategories",function(){return Ur}),r.d(t,"updateCategory",function(){return Gr}),r.d(t,"registerBlockType",function(){return ee}),r.d(t,"unregisterBlockType",function(){return te}),r.d(t,"setFreeformContentHandlerName",function(){return re}),r.d(t,"getFreeformContentHandlerName",function(){return ne}),r.d(t,"setUnregisteredTypeHandlerName",function(){return ae}),r.d(t,"getUnregisteredTypeHandlerName",function(){return ie}),r.d(t,"setDefaultBlockName",function(){return oe}),r.d(t,"getDefaultBlockName",function(){return se}),r.d(t,"getBlockType",function(){return ce}),r.d(t,"getBlockTypes",function(){return le}),r.d(t,"getBlockSupport",function(){return ue}),r.d(t,"hasBlockSupport",function(){return de}),r.d(t,"isReusableBlock",function(){return fe}),r.d(t,"getChildBlockNames",function(){return he}),r.d(t,"hasChildBlocks",function(){return pe}),r.d(t,"hasChildBlocksWithInserterSupport",function(){return ge}),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",function(){return J}),r.d(t,"registerBlockStyle",function(){return me}),r.d(t,"unregisterBlockStyle",function(){return be}),r.d(t,"isUnmodifiedDefaultBlock",function(){return K}),r.d(t,"normalizeIconObject",function(){return Z}),r.d(t,"isValidIcon",function(){return Y}),r.d(t,"doBlocksMatchTemplate",function(){return Wr}),r.d(t,"synchronizeBlocksWithTemplate",function(){return Kr}),r.d(t,"children",function(){return zt}),r.d(t,"node",function(){return qt}),r.d(t,"withBlockContentContext",function(){return tt})},37:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",function(){return n})},38:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return n})},42:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},45:function(e,t,r){var n;!function(a){var i=/^\s+/,o=/\s+$/,s=0,c=a.round,l=a.min,u=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(o,"").toLowerCase();var t,r=!1;if(E[e])e=E[e],r=!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:B(t[1]),g:B(t[2]),b:B(t[3]),a:I(t[4]),format:r?"name":"hex8"};if(t=q.hex6.exec(e))return{r:B(t[1]),g:B(t[2]),b:B(t[3]),format:r?"name":"hex"};if(t=q.hex4.exec(e))return{r:B(t[1]+""+t[1]),g:B(t[2]+""+t[2]),b:B(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=q.hex3.exec(e))return{r:B(t[1]+""+t[1]),g:B(t[2]+""+t[2]),b:B(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&($(e.r)&&$(e.g)&&$(e.b)?(h=e.r,p=e.g,g=e.b,t={r:255*L(h,255),g:255*L(p,255),b:255*L(g,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):$(e.h)&&$(e.s)&&$(e.v)?(n=H(e.s),s=H(e.v),t=function(e,t,r){e=6*L(e,360),t=L(t,100),r=L(r,100);var n=a.floor(e),i=e-n,o=r*(1-t),s=r*(1-i*t),c=r*(1-(1-i)*t),l=n%6;return{r:255*[r,s,o,o,c,r][l],g:255*[c,r,r,s,o,o][l],b:255*[o,o,c,r,r,s][l]}}(e.h,n,s),d=!0,f="hsv"):$(e.h)&&$(e.s)&&$(e.l)&&(n=H(e.s),c=H(e.l),t=function(e,t,r){var n,a,i;function o(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=L(e,360),t=L(t,100),r=L(r,100),0===t)n=a=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=o(c,s,e+1/3),a=o(c,s,e),i=o(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,n,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,p,g;return r=M(r),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=L(e,255),t=L(t,255),r=L(r,255);var n,a,i=u(e,t,r),o=l(e,t,r),s=(i+o)/2;if(i==o)n=a=0;else{var c=i-o;switch(a=s>.5?c/(2-i-o):c/(i+o),i){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(f(n));return i}function T(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(f({h:n,s:a,v:i})),i=(i+s)%1;return o}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,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=M(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+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,r,n,a){var i=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(D(n))];if(a&&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:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*L(this._r,255))+"%",g:c(100*L(this._g,255))+"%",b:c(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*L(this._r,255))+"%, "+c(100*L(this._g,255))+"%, "+c(100*L(this._b,255))+"%)":"rgba("+c(100*L(this._r,255))+"%, "+c(100*L(this._g,255))+"%, "+c(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+m(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(k,arguments)},spin:function(){return this._applyModification(j,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:H(e[n]));e=r}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:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),i=r/100;return f({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,i=f.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},f.mostReadable=function(e,t,r){var n,a,i,o,s=null,c=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var l=0;lc&&(c=n,s=f(t[l]));return f.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var E=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"},P=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(E);function M(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function N(e){return l(1,u(0,e))}function B(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function H(e){return e<=1&&(e=100*e+"%"),e}function D(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return B(e)/255}var V,R,F,q=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),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 $(e){return!!q.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},5:function(e,t){!function(){e.exports=this.wp.data}()},57:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},6:function(e,t){!function(){e.exports=this.wp.compose}()},65:function(e,t,r){var n=r(87),a=r(88);e.exports=function(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[i+s]=o[s];return t||a(o)}},66:function(e,t){!function(){e.exports=this.wp.autop}()},7:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(15);function a(e){for(var t=1;t>>((3&t)<<3)&255;return a}}},88:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,a=r;return[a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]]].join("")}},9:function(e,t,r){"use strict";function n(e,t){for(var r=0;r (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:

    foo
    ",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var i={},o={},s={},c=a(!0),l="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,emoji:!0,splitAdjacentBlockquotes:!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:a(!0),allOn:function(){"use strict";var e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var a=0;a").replace(/&/g,"&")};var h=function(e,t,r,n){"use strict";var a,i,o,s,c,l=n||"",u=l.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+l.replace(/g/g,"")),f=new RegExp(t,l.replace(/g/g,"")),h=[];do{for(a=0;o=d.exec(e);)if(f.test(o[0]))a++||(s=(i=d.lastIndex)-o[0].length);else if(a&&!--a){c=o.index+o[0].length;var p={left:{start:s,end:i},match:{start:i,end:o.index},right:{start:o.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(p),!u)return h}}while(a&&(d.lastIndex=i));return h};i.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=h(e,t,r,n),i=[],o=0;o0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d=0?n+(r||0):n},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 r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e})},i.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"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={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:"S"},i.Converter=function(e){"use strict";var t={},r=[],n=[],a={},o=l,f={parsed:{},raw:"",format:""};function h(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 a=d(e,t);if(!a.valid)throw Error(a.error);for(var o=0;o[ \t]+¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(r)};!function e(t){for(var r=0;r? ?(['"].*['"])?\)$/m)>-1)o="";else if(!o){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),o="#"+a,i.helper.isUndefined(r.gUrls[a]))return e;o=r.gUrls[a],i.helper.isUndefined(r.gTitles[a])||(l=r.gTitles[a])}var u='"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,r,n,a,o){if("\\"===n)return r+a;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,o),c="";return t.openLinksInNewWindow&&(c=' target="¨E95Eblank"'),r+'"+a+""})),e=r.converter._dispatch("anchors.after",e,t,r)});var p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\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,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,k=function(e){"use strict";return function(t,r,n,a,o,s,c){var l=n=n.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",d="",f=r||"",h=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' target="¨E95Eblank"'),f+'"+l+""+u+h}},v=function(e,t){"use strict";return function(r,n,a){var o="mailto:";return n=n||"",a=i.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(o=i.helper.encodeEmailAddress(o+a),a=i.helper.encodeEmailAddress(a)):o+=a,n+''+a+""}};i.subParser("autoLinks",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(m,k(t))).replace(_,v(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)}),i.subParser("simplifiedAutoLinks",function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,k(t)):e.replace(p,k(t))).replace(b,v(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e}),i.subParser("blockGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=i.subParser("blockQuotes")(e,t,r),e=i.subParser("headers")(e,t,r),e=i.subParser("horizontalRule")(e,t,r),e=i.subParser("lists")(e,t,r),e=i.subParser("codeBlocks")(e,t,r),e=i.subParser("tables")(e,t,r),e=i.subParser("hashHTMLBlocks")(e,t,r),e=i.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)}),i.subParser("blockQuotes",function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=i.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
    [^\r]+?<\/pre>)/gm,function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")}),i.subParser("hashBlock")("
    \n"+e+"\n
    ",t,r)}),e=r.converter._dispatch("blockQuotes.after",e,t,r)}),i.subParser("codeBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,n,a){var o=n,s=a,c="\n";return o=i.subParser("outdent")(o,t,r),o=i.subParser("encodeCode")(o,t,r),o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),o="
    "+o+c+"
    ",i.subParser("hashBlock")(o,t,r)+s})).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)}),i.subParser("codeSpans",function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,n,a,o){var s=o;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+""+(s=i.subParser("encodeCode")(s,t,r))+"",s=i.subParser("hashHTMLSpans")(s,t,r)}),e=r.converter._dispatch("codeSpans.after",e,t,r)}),i.subParser("completeHTMLDocument",function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="\n",i="",o='\n',s="",c="";for(var l in void 0!==r.metadata.parsed.doctype&&(a="\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(o='')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":i=""+r.metadata.parsed.title+"\n";break;case"charset":o="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[l]+'"',c+='\n';break;default:c+='\n'}return e=a+"\n\n"+i+o+c+"\n\n"+e.trim()+"\n\n",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)}),i.subParser("detab",function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,t){for(var r=t,n=4-r.length%4,a=0;a/g,">"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)}),i.subParser("encodeBackslashEscapes",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)}),i.subParser("encodeCode",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)}),i.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)}),i.subParser("githubCodeBlocks",function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,n,a,o){var s=t.omitExtraWLInCodeBlocks?"":"\n";return o=i.subParser("encodeCode")(o,t,r),o="
    "+(o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"
    ",o=i.subParser("hashBlock")(o,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"})).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e}),i.subParser("hashBlock",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)}),i.subParser("hashCodeTags",function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=i.helper.replaceRecursiveRegExp(e,function(e,n,a,o){var s=a+i.subParser("encodeCode")(n,t,r)+o;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"},"]*>","","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)}),i.subParser("hashElement",function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}}),i.subParser("hashHTMLBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["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"],a=function(e,t,n,a){var i=e;return-1!==n.search(/\bmarkdown\b/)&&(i=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var o=0;o]*>)","im"),l="<"+n[o]+"\\b[^>]*>",u="";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],a,l,u,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,r)),e=(e=i.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(r.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,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)}),i.subParser("hashHTMLSpans",function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,function(e){return n(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return n(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return n(e)})).replace(/<[^>]+?>/gi,function(e){return n(e)}),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)}),i.subParser("unhashHTMLSpans",function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n]*>\\s*]*>","^ {0,3}\\s*
    ","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)}),i.subParser("headers",function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l=""+o+"";return i.subParser("hashBlock")(l,t,r)})).replace(o,function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l=n+1,u=""+o+"";return i.subParser("hashBlock")(u,t,r)});var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var n,a;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return n=e,a=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,function(e,a,o){var s=o;t.customizedHeaderId&&(s=o.replace(/\s?\{([^{]+?)}\s*$/,""));var l=i.subParser("spanGamut")(s,t,r),u=t.noHeaderId?"":' id="'+c(o)+'"',d=n-1+a.length,f=""+l+"";return i.subParser("hashBlock")(f,t,r)}),e=r.converter._dispatch("headers.after",e,t,r)}),i.subParser("horizontalRule",function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=i.subParser("hashBlock")("
    ",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)}),i.subParser("images",function(e,t,r){"use strict";function n(e,t,n,a,o,s,c,l){var u=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),l||(l=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,i.helper.isUndefined(u[n]))return e;a=u[n],i.helper.isUndefined(d[n])||(l=d[n]),i.helper.isUndefined(f[n])||(o=f[n].width,s=f[n].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h=''+t+'"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function(e,t,r,a,i,o,s,c){return n(e,t,r,a=a.replace(/\s/g,""),i,o,0,c)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=r.converter._dispatch("images.after",e,t,r)}),i.subParser("italicsAndBold",function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return n(t,"","")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return n(t,"","")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return n(t,"","")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e}),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e}),e=r.converter._dispatch("italicsAndBold.after",e,t,r)}),i.subParser("lists",function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,function(e,n,a,s,c,l,u){u=u&&""!==u.trim();var d=i.subParser("outdent")(c,t,r),f="";return l&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='-1?(d=i.subParser("githubCodeBlocks")(d,t,r),d=i.subParser("blockGamut")(d,t,r)):(d=(d=i.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=i.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=o?i.subParser("paragraphs")(d,t,r):i.subParser("spanGamut")(d,t,r)),d=""+(d=d.replace("¨A",""))+"\n"})).replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function o(e,r,i){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?o:s,l="";if(-1!==e.search(c))!function t(u){var d=u.search(c),f=a(e,r);-1!==d?(l+="\n\n<"+r+f+">\n"+n(u.slice(0,d),!!i)+"\n",c="ul"===(r="ul"===r?"ol":"ul")?o:s,t(u.slice(d))):l+="\n\n<"+r+f+">\n"+n(u,!!i)+"\n"}(e);else{var u=a(e,r);l="\n\n<"+r+u+">\n"+n(e,!!i)+"\n"}return l}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,r){return o(t,r.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,r,n){return o(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)}),i.subParser("metadata",function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,n){return r.metadata.parsed[t]=n,""})}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(e,t,r){return n(r),"¨M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"})).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)}),i.subParser("outdent",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)}),i.subParser("paragraphs",function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],o=n.length,s=0;s=0?a.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"

    "),c+="

    ",a.push(c))}for(o=a.length,s=0;s]*>\s*]*>/.test(u)&&(d=!0)}a[s]=u}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)}),i.subParser("runExtension",function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t}),i.subParser("spanGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=i.subParser("codeSpans")(e,t,r),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=i.subParser("encodeBackslashEscapes")(e,t,r),e=i.subParser("images")(e,t,r),e=i.subParser("anchors")(e,t,r),e=i.subParser("autoLinks")(e,t,r),e=i.subParser("simplifiedAutoLinks")(e,t,r),e=i.subParser("emoji")(e,t,r),e=i.subParser("underline")(e,t,r),e=i.subParser("italicsAndBold")(e,t,r),e=i.subParser("strikethrough")(e,t,r),e=i.subParser("ellipsis")(e,t,r),e=i.subParser("hashHTMLSpans")(e,t,r),e=i.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
    \n")):e=e.replace(/ +\n/g,"
    \n"),e=r.converter._dispatch("spanGamut.after",e,t,r)}),i.subParser("strikethrough",function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,n){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,r)),""+e+""}(n)}),e=r.converter._dispatch("strikethrough.after",e,t,r)),e}),i.subParser("stripLinkDefinitions",function(e,t,r){"use strict";var n=function(e,n,a,o,s,c,l){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=i.subParser("encodeAmpsAndAngles")(a,t,r),c?c+l:(l&&(r.gTitles[n]=l.replace(/"|'/g,""")),t.parseImgDimensions&&o&&s&&(r.gDimensions[n]={width:o,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).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,n)).replace(/¨0/,"")}),i.subParser("tables",function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return""+i.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,o=e.split("\n");for(a=0;a"+(c=i.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var i=0;i\n"}return r+="\n\n"}(p,m)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).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,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)}),i.subParser("underline",function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return""+t+""})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return""+t+""}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?""+t+"":e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?""+t+"":e})).replace(/(_)/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e}),i.subParser("unescapeSpecialChars",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,function(e,t){var r=parseInt(t);return String.fromCharCode(r)}),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)}),i.subParser("makeMarkdown.blockquote",function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,o=0;o ")}),i.subParser("makeMarkdown.codeBlock",function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"}),i.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),i.subParser("makeMarkdown.emphasis",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,o=0;o",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),i.subParser("makeMarkdown.links",function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var o=0;o",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r}),i.subParser("makeMarkdown.list",function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,s=e.getAttribute("start")||1,c=0;c"+t.preList[r]+""}),i.subParser("makeMarkdown.strikethrough",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,o=0;otr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rp&&(p=g)}for(r=0;r/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});void 0===(n=function(){"use strict";return i}.call(t,r,t,e))||(e.exports=n)}).call(this)},24:function(e,t){!function(){e.exports=this.wp.dom}()},26:function(e,t){!function(){e.exports=this.wp.hooks}()},28:function(e,t,r){"use strict";var n=r(37);var a=r(38);function i(e,t){return Object(n.a)(e)||function(e,t){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||Object(a.a)()}r.d(t,"a",function(){return i})},30:function(e,t,r){"use strict";var n,a;function i(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=f("SET_DEFAULT_BLOCK_NAME"),p=f("SET_FREEFORM_FALLBACK_BLOCK_NAME"),g=f("SET_UNREGISTERED_FALLBACK_BLOCK_NAME");var m=Object(i.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(l.keyBy)(Object(l.map)(t.blockTypes,function(e){return Object(l.omit)(e,"styles ")}),"name"));case"REMOVE_BLOCK_TYPES":return Object(l.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(l.mapValues)(Object(l.keyBy)(t.blockTypes,"name"),function(t){return Object(l.uniqBy)([].concat(Object(s.a)(Object(l.get)(t,["styles"],[])),Object(s.a)(Object(l.get)(e,[t.name],[]))),function(e){return e.name})}));case"ADD_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(l.uniqBy)([].concat(Object(s.a)(Object(l.get)(e,[t.blockName],[])),Object(s.a)(t.styles)),function(e){return e.name})));case"REMOVE_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(l.filter)(Object(l.get)(e,[t.blockName],[]),function(e){return-1===t.styleNames.indexOf(e.name)})))}return e},defaultBlockName:h,freeformFallbackBlockName:p,unregisteredFallbackBlockName:g,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(l.isEmpty)(t.category))return e;if(Object(l.find)(e,["slug",t.slug]))return Object(l.map)(e,function(e){return e.slug===t.slug?Object(c.a)({},e,t.category):e})}return e}}),b=r(30),_=function(e,t){return"string"==typeof t?v(e,t):t},k=Object(b.a)(function(e){return Object.values(e.blockTypes)},function(e){return[e.blockTypes]});function v(e,t){return e.blockTypes[t]}function w(e,t){return e.blockStyles[t]}function y(e){return e.categories}function j(e){return e.defaultBlockName}function O(e){return e.freeformFallbackBlockName}function x(e){return e.unregisteredFallbackBlockName}var C=Object(b.a)(function(e,t){return Object(l.map)(Object(l.filter)(e.blockTypes,function(e){return Object(l.includes)(e.parent,t)}),function(e){return e.name})},function(e){return[e.blockTypes]}),A=function(e,t,r,n){var a=_(e,t);return Object(l.get)(a,["supports",r],n)};function S(e,t,r,n){return!!A(e,t,r,n)}function T(e,t,r){var n=_(e,t),a=Object(l.flow)([l.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=a(r),o=Object(l.flow)([a,function(e){return Object(l.includes)(e,i)}]);return o(n.title)||Object(l.some)(n.keywords,o)||o(n.category)}var E=function(e,t){return C(e,t).length>0},P=function(e,t){return Object(l.some)(C(e,t),function(t){return S(e,t,"inserter",!0)})};function M(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(l.castArray)(e)}}function L(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(l.castArray)(e)}}function N(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(l.castArray)(t),blockName:e}}function B(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(l.castArray)(t),blockName:e}}function z(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function H(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function D(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function I(e){return{type:"SET_CATEGORIES",categories:e}}function V(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Object(i.registerStore)("core/blocks",{reducer:m,selectors:n,actions:a});var R=r(65),F=r.n(R),q=r(26),$=r(45),U=r.n($),G=r(0),W=["#191e23","#f8f9f9"];function K(e){var t=se();if(e.name!==t)return!1;K.block&&K.block.name===t||(K.block=_e(t));var r=K.block,n=ce(t);return Object(l.every)(n.attributes,function(t,n){return r.attributes[n]===e.attributes[n]})}function Y(e){return!!e&&(Object(l.isString)(e)||Object(G.isValidElement)(e)||Object(l.isFunction)(e)||e instanceof G.Component)}function Z(e){if(e||(e="block-default"),Y(e))return{src:e};if(Object(l.has)(e,["background"])){var t=U()(e.background);return Object(c.a)({},e,{foreground:e.foreground?e.foreground:Object($.mostReadable)(t,W,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function Q(e){return Object(l.isString)(e)?ce(e):e}var X={};function J(e){X=e}function ee(e,t){if(t=Object(c.a)({name:e},Object(l.get)(X,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(i.select)("core/blocks").getBlockType(e))console.error('Block "'+e+'" is already registered.');else if((t=Object(q.applyFilters)("blocks.registerBlockType",t,e))&&Object(l.isFunction)(t.save))if("edit"in t&&!Object(l.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("category"in t)if("category"in t&&!Object(l.some)(Object(i.select)("core/blocks").getCategories(),{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){if(t.icon=Z(t.icon),Y(t.icon.src))return Object(i.dispatch)("core/blocks").addBlockTypes(t),t;console.error("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://wordpress.org/gutenberg/handbook/designers-developers/developers/block-api/block-registration/#icon-optional")}else 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 te(e){var t=Object(i.select)("core/blocks").getBlockType(e);if(t)return Object(i.dispatch)("core/blocks").removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function re(e){Object(i.dispatch)("core/blocks").setFreeformFallbackBlockName(e)}function ne(){return Object(i.select)("core/blocks").getFreeformFallbackBlockName()}function ae(e){Object(i.dispatch)("core/blocks").setUnregisteredFallbackBlockName(e)}function ie(){return Object(i.select)("core/blocks").getUnregisteredFallbackBlockName()}function oe(e){Object(i.dispatch)("core/blocks").setDefaultBlockName(e)}function se(){return Object(i.select)("core/blocks").getDefaultBlockName()}function ce(e){return Object(i.select)("core/blocks").getBlockType(e)}function le(){return Object(i.select)("core/blocks").getBlockTypes()}function ue(e,t,r){return Object(i.select)("core/blocks").getBlockSupport(e,t,r)}function de(e,t,r){return Object(i.select)("core/blocks").hasBlockSupport(e,t,r)}function fe(e){return"core/block"===e.name}var he=function(e){return Object(i.select)("core/blocks").getChildBlockNames(e)},pe=function(e){return Object(i.select)("core/blocks").hasChildBlocks(e)},ge=function(e){return Object(i.select)("core/blocks").hasChildBlocksWithInserterSupport(e)},me=function(e,t){Object(i.dispatch)("core/blocks").addBlockStyles(e,t)},be=function(e,t){Object(i.dispatch)("core/blocks").removeBlockStyles(e,t)};function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ce(e),a=Object(l.reduce)(n.attributes,function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e},{});return{clientId:F()(),name:e,isValid:!0,attributes:a,innerBlocks:r}}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=F()();return Object(c.a)({},e,{clientId:n,attributes:Object(c.a)({},e.attributes,t),innerBlocks:r||e.innerBlocks.map(function(e){return ke(e)})})}var ve=function(e,t,r){if(Object(l.isEmpty)(r))return!1;if(!(!(r.length>1)||e.isMultiBlock))return!1;if(!("block"===e.type))return!1;var n=Object(l.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(n.name)))return!1;if(Object(l.isFunction)(e.isMatch)){var a=e.isMultiBlock?r.map(function(e){return e.attributes}):n.attributes;if(!e.isMatch(a))return!1}return!0},we=function(e){if(Object(l.isEmpty)(e))return[];var t=le();return Object(l.filter)(t,function(t){return!!Oe(xe("from",t.name),function(t){return ve(t,"from",e)})})},ye=function(e){if(Object(l.isEmpty)(e))return[];var t=xe("to",ce(Object(l.first)(e).name).name),r=Object(l.filter)(t,function(t){return ve(t,"to",e)});return Object(l.flatMap)(r,function(e){return e.blocks}).map(function(e){return ce(e)})};function je(e){if(Object(l.isEmpty)(e))return[];var t=Object(l.first)(e);if(e.length>1&&!Object(l.every)(e,{name:t.name}))return[];var r=we(e),n=ye(e);return Object(l.uniq)([].concat(Object(s.a)(r),Object(s.a)(n)))}function Oe(e,t){for(var r=Object(q.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),function(e){return e||a},a.priority)},a=0;a1,a=r[0],i=a.name;if(n&&!Object(l.every)(r,function(e){return e.name===i}))return null;var o,s=xe("from",t),u=Oe(xe("to",i),function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!n||e.isMultiBlock)})||Oe(s,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(i)&&(!n||e.isMultiBlock)});if(!u)return null;if(o=u.isMultiBlock?u.transform(r.map(function(e){return e.attributes}),r.map(function(e){return e.innerBlocks})):u.transform(a.attributes,a.innerBlocks),!Object(l.isObjectLike)(o))return null;if((o=Object(l.castArray)(o)).some(function(e){return!ce(e.name)}))return null;var d=Object(l.findIndex)(o,function(e){return e.name===t});return d<0?null:o.map(function(t,r){var n=Object(c.a)({},t,{clientId:r===d?a.clientId:t.clientId});return Object(q.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)})}var Ae=r(28);var Se,Te=function(){return Se||(Se=document.implementation.createHTMLDocument("")),Se};function Ee(e,t){if(t){if("string"==typeof e){var r=Te();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce(function(r,n){return r[n]=Ee(e,t[n]),r},{})}}function Pe(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return function(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}(n,t)}}var Me=r(66),Le=r(205),Ne=r(37),Be=r(34),ze=r(38);var He=r(10),De=r(9),Ie=/[\t\n\f ]/,Ve=/[A-Za-z]/,Re=/\r\n?/g;function Fe(e){return Ie.test(e)}function qe(e){return Ve.test(e)}function $e(e,t){if(!e)throw new Error((t||"value")+" was null");return e}var Ue=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(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":qe(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();Fe(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();Fe(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();Fe(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();Fe(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();Fe(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();Fe(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();Fe(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();qe(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(Re,"\n")}(e);this.index2&&void 0!==arguments[2]?arguments[2]:[],n=Q(e),a=n.save;if(a.prototype instanceof G.Component){var i=new a({attributes:t});a=i.render.bind(i)}var o=a({attributes:t,innerBlocks:r});if(Object(l.isObject)(o)&&Object(q.hasFilter)("blocks.getSaveContent.extraProps")){var s=Object(q.applyFilters)("blocks.getSaveContent.extraProps",Object(c.a)({},o.props),n,t);Ye()(s,o.props)||(o=Object(G.cloneElement)(o,s))}return o=Object(q.applyFilters)("blocks.getSaveElement",o,n,t),Object(G.createElement)(rt,{innerBlocks:r},o)}function ot(e,t,r){var n=Q(e);return Object(G.renderToString)(it(n,t,r))}function st(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=ot(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function ct(e,t,r){var n=Object(l.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(l.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function lt(e){var t=e.name,r=st(e);switch(t){case ne():case ie():return r;default:return ct(t,function(e,t){return Object(l.reduce)(e.attributes,function(e,r,n){var a=t[n];return void 0===a?e:void 0!==r.source?e:"default"in r&&r.default===a?e:(e[n]=a,e)},{})}(ce(t),e.attributes),r)}}function ut(e){return Object(l.castArray)(e).map(lt).join("\n\n")}var dt=/[\t\n\r\v\f ]+/g,ft=/^[\t\n\r\v\f ]*$/,ht=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,pt=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],gt=[].concat(pt,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),mt=[l.identity,function(e){return yt(e).join(" ")}],bt=/^[\da-z]+$/i,_t=/^#\d+$/,kt=/^#x[\da-f]+$/i;var vt=function(){function e(){Object(He.a)(this,e)}return Object(De.a)(e,[{key:"parse",value:function(e){if(t=e,bt.test(t)||_t.test(t)||kt.test(t))return Object(We.decodeEntities)("&"+e+";");var t}}]),e}(),wt=function(){function e(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:{},n=Q(e),a=Object(l.mapValues)(n.attributes,function(e,n){return function(e,t,r,n){var a,i=t.type;switch(t.source){case void 0:a=n?n[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":a=Wt(r,t)}return void 0===i||Ut(a,Object(l.castArray)(i))||(a=void 0),void 0===a?t.default:a}(n,e,t,r)});return Object(q.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function Yt(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,i=e.innerHTML,o=ne(),s=ie()||o;r=r||{},i=i.trim();var u=t||o;"core/cover-image"===u&&(u="core/cover"),"core/text"!==u&&"core/cover-text"!==u||(u="core/paragraph"),u===o&&(i=Object(Me.autop)(i).trim());var d=ce(u);if(!d){var f=i;u&&(i=ct(u,r,i)),r={originalName:t,originalUndelimitedContent:f},d=ce(u=s)}a=a.map(Yt);var h=u===o||u===s;if(d&&(i||!h)){var p=_e(u,Kt(d,i,r),a);return h||(p.isValid=Mt(d,p.attributes,i)),p.originalContent=i,p=function(e,t){var r=ce(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,i=a.originalContent,o=a.innerBlocks,s=0;s1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach(function(t){e(t.childNodes,r,n,a),r.forEach(function(e){n.contains(t)&&e(t,n,a)})})}(n.body.childNodes,t,n,r),n.body.innerHTML}function lr(e,t,r){var n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach(function(t){var i=t.nodeName.toLowerCase();if(!n.hasOwnProperty(i)||n[i].isMatch&&!n[i].isMatch(t))e(t.childNodes,r,n,a),a&&!rr(t)&&t.nextElementSibling&&Object(Jt.insertAfter)(r.createElement("br"),t),Object(Jt.unwrap)(t);else if(t.nodeType===ar){var o=n[i],s=o.attributes,c=void 0===s?[]:s,u=o.classes,d=void 0===u?[]:u,f=o.children,h=o.require,p=void 0===h?[]:h,g=o.allowEmpty;if(f&&!g&&sr(t))return void Object(Jt.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach(function(e){var r=e.name;"class"===r||Object(l.includes)(c,r)||t.removeAttribute(r)}),t.classList&&t.classList.length)){var m=d.map(function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:l.noop});Array.from(t.classList).forEach(function(e){m.some(function(t){return t(e)})||t.classList.remove(e)}),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===f)return;if(f)p.length&&!t.querySelector(p.join(","))?(e(t.childNodes,r,n,a),Object(Jt.unwrap)(t)):"BODY"===t.parentNode.nodeName&&rr(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some(function(e){return!rr(e)})&&Object(Jt.unwrap)(t)):e(t.childNodes,r,f,a);else for(;t.firstChild;)Object(Jt.remove)(t.firstChild)}}})}(n.body.childNodes,n,t,r),n.body.innerHTML}var ur=window.Node,dr=ur.ELEMENT_NODE,fr=ur.TEXT_NODE,hr=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var i=n.firstChild;i.nodeType===fr?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===dr?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(i.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(i):n.removeChild(i)):"P"===i.nodeName?sr(i)?n.removeChild(i):a.appendChild(i):rr(i)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):a.appendChild(i):n.removeChild(i)}return a.innerHTML},pr=window.Node.COMMENT_NODE,gr=function(e,t){if(e.nodeType===pr)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===pr&&"noteaser"===n.nodeValue){a=!0,Object(Jt.remove)(n);break}Object(Jt.replace)(e,function(e,t,r){var n=r.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(r,a,t))}}else Object(Jt.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function mr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var br=function(e){if(mr(e)){var t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Object(s.a)(n.childNodes).map(function(e){var t=e.nodeValue;return void 0===t?"":t}).join("")))){var i=a,o=i.previousElementSibling,c=i.parentNode;o?(o.appendChild(t),c.removeChild(i)):(c.parentNode.insertBefore(t,c),c.parentNode.removeChild(c))}if(a&&mr(a)){var l=e.previousElementSibling;l?l.appendChild(e):Object(Jt.unwrap)(e)}}},_r=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=hr(e.innerHTML))};var kr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!rr(e)&&Object(l.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(l.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);for(var i=n;i&&"P"!==i.nodeName;)i=i.parentElement;var o=t.createElement("figure");i?i.parentNode.insertBefore(o,i):n.parentNode.insertBefore(o,n),o.appendChild(n)}},vr=r(134);var wr=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Oe(xe("from"),function(e){return"shortcode"===e.type&&Object(l.some)(Object(l.castArray)(e.tag),function(e){return Object(vr.regexp)(e).test(t)})});if(!n)return[t];var a,i=Object(l.castArray)(n.tag),o=Object(l.first)(i);if(a=Object(vr.next)(o,t,r)){var u=t.substr(0,a.index);if(r=a.index+a.content.length,!Object(l.includes)(a.shortcode.content||"","<")&&!/(\n|

    )\s*$/.test(u))return e(t,r);var d=Object(l.mapValues)(Object(l.pickBy)(n.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(a.shortcode.attrs,a)});return[u,_e(n.blockName,Kt(Object(c.a)({},ce(n.blockName),{attributes:n.attributes}),a.shortcode.content,d))].concat(Object(s.a)(e(t.substr(r))))}return[t]};function yr(e,t){return e.every(function(e){return function(e,t){if(rr(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some(function(e){return 0===Object(l.difference)([r,t],e).length})}(e,t)&&yr(Array.from(e.children),t)})}function jr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Or=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(jr)&&yr(n,t)},xr=function(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,i=r.textDecorationLine,o=r.verticalAlign;"bold"!==n&&"700"!==n||Object(Jt.wrap)(t.createElement("strong"),e),"italic"===a&&Object(Jt.wrap)(t.createElement("em"),e),"line-through"===i&&Object(Jt.wrap)(t.createElement("s"),e),"super"===o?Object(Jt.wrap)(t.createElement("sup"),e):"sub"===o&&Object(Jt.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(Jt.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(Jt.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},Cr=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},Ar=window.parseInt;function Sr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Tr=function(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=Ar(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!Sr(i)){var o=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(o),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",o),e.parentNode.insertBefore(c,e)}var l=e.previousElementSibling,u=l.nodeName,d=t.createElement("li"),f=l;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)Sr(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Sr(f)||(f=f.appendChild(t.createElement(u))),f.appendChild(d),e.parentNode.removeChild(e)}}}},Er=r(35),Pr=window,Mr=Pr.atob,Lr=Pr.File,Nr=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(Ae.a)(r,2),a=n[0],i=n[1],o=a.slice(5).split(";"),s=Object(Ae.a)(o,1)[0];if(!i||!s)return void(e.src="");try{t=Mr(i)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),l=0;l]+>/,""),"INLINE"!==o){var f=r||a;if(-1!==f.indexOf("\x3c!-- wp:"))return Qt(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ \/>])/i.test(e)}(r)||(r=Hr(a),"AUTO"===o&&-1===a.indexOf("\n")&&0!==a.indexOf("

    ")&&0===r.indexOf("

    ")&&(o="INLINE")),"INLINE"===o)return Rr(r);var h=wr(r),p=h.length>1;if("AUTO"===o&&!p&&Or(r,s))return Rr(r);var g=Object(l.filter)(xe("from"),{type:"raw"}).map(function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}),m=tr(),b=or(g),_=Object(l.compact)(Object(l.flatMap)(h,function(e){if("string"!=typeof e)return e;var t=[Ir,Tr,Cr,br,Nr,xr,gr,kr,_r];d||t.unshift(Dr);var r=Object(c.a)({},b,m);return e=lr(e=cr(e,t,b),r),e=hr(e),Vr.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map(function(e){var t=Oe(r,function(t){return(0,t.isMatch)(e)});if(!t)return _e("core/html",Kt("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):_e(a,Kt(a,e.outerHTML))})}({html:e,rawTransforms:g})}));if("AUTO"===o&&1===_.length){var k=a.trim();if(""!==k&&-1===k.indexOf("\n"))return lr(st(_[0]),m)}return _}function qr(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Qt(r);var n=wr(r),a=Object(l.filter)(xe("from"),{type:"raw"}).map(function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}),i=or(a);return Object(l.compact)(Object(l.flatMap)(n,function(e){return"string"!=typeof e?e:(e=cr(e,[br,gr,kr,_r],i),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map(function(e){var t=Oe(r,function(t){return(0,t.isMatch)(e)});if(!t)return _e("core/html",Kt("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):_e(a,Kt(a,e.outerHTML))})}({html:e=hr(e),rawTransforms:a}))}))}function $r(){return Object(i.select)("core/blocks").getCategories()}function Ur(e){Object(i.dispatch)("core/blocks").setCategories(e)}function Gr(e,t){Object(i.dispatch)("core/blocks").updateCategory(e,t)}function Wr(){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(l.every)(t,function(t,r){var n=Object(Ae.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&Wr(o.innerBlocks,i)})}function Kr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(l.map)(t,function(t,r){var n=Object(Ae.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var u=Kr(s.innerBlocks,o);return Object(c.a)({},s,{innerBlocks:u})}var d=ce(a),f=function(e,t){return Object(l.mapValues)(t,function(t,r){return h(e[r],t)})},h=function(e,t){return r=e,"html"===Object(l.get)(r,["source"])&&Object(l.isArray)(t)?Object(G.renderToString)(t):function(e){return"query"===Object(l.get)(e,["source"])}(e)&&t?t.map(function(t){return f(e.query,t)}):t;var r};return _e(a,f(Object(l.get)(d,["attributes"],{}),i),Kr([],o))}):e}r.d(t,"createBlock",function(){return _e}),r.d(t,"cloneBlock",function(){return ke}),r.d(t,"getPossibleBlockTransformations",function(){return je}),r.d(t,"switchToBlockType",function(){return Ce}),r.d(t,"getBlockTransforms",function(){return xe}),r.d(t,"findTransform",function(){return Oe}),r.d(t,"parse",function(){return Xt}),r.d(t,"getBlockAttributes",function(){return Kt}),r.d(t,"parseWithAttributeSchema",function(){return Wt}),r.d(t,"pasteHandler",function(){return Fr}),r.d(t,"rawHandler",function(){return qr}),r.d(t,"getPhrasingContentSchema",function(){return tr}),r.d(t,"serialize",function(){return ut}),r.d(t,"getBlockContent",function(){return st}),r.d(t,"getBlockDefaultClassName",function(){return nt}),r.d(t,"getBlockMenuDefaultClassName",function(){return at}),r.d(t,"getSaveElement",function(){return it}),r.d(t,"getSaveContent",function(){return ot}),r.d(t,"isValidBlockContent",function(){return Mt}),r.d(t,"getCategories",function(){return $r}),r.d(t,"setCategories",function(){return Ur}),r.d(t,"updateCategory",function(){return Gr}),r.d(t,"registerBlockType",function(){return ee}),r.d(t,"unregisterBlockType",function(){return te}),r.d(t,"setFreeformContentHandlerName",function(){return re}),r.d(t,"getFreeformContentHandlerName",function(){return ne}),r.d(t,"setUnregisteredTypeHandlerName",function(){return ae}),r.d(t,"getUnregisteredTypeHandlerName",function(){return ie}),r.d(t,"setDefaultBlockName",function(){return oe}),r.d(t,"getDefaultBlockName",function(){return se}),r.d(t,"getBlockType",function(){return ce}),r.d(t,"getBlockTypes",function(){return le}),r.d(t,"getBlockSupport",function(){return ue}),r.d(t,"hasBlockSupport",function(){return de}),r.d(t,"isReusableBlock",function(){return fe}),r.d(t,"getChildBlockNames",function(){return he}),r.d(t,"hasChildBlocks",function(){return pe}),r.d(t,"hasChildBlocksWithInserterSupport",function(){return ge}),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",function(){return J}),r.d(t,"registerBlockStyle",function(){return me}),r.d(t,"unregisterBlockStyle",function(){return be}),r.d(t,"isUnmodifiedDefaultBlock",function(){return K}),r.d(t,"normalizeIconObject",function(){return Z}),r.d(t,"isValidIcon",function(){return Y}),r.d(t,"doBlocksMatchTemplate",function(){return Wr}),r.d(t,"synchronizeBlocksWithTemplate",function(){return Kr}),r.d(t,"children",function(){return zt}),r.d(t,"node",function(){return qt}),r.d(t,"withBlockContentContext",function(){return tt})},37:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",function(){return n})},38:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return n})},42:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},45:function(e,t,r){var n;!function(a){var i=/^\s+/,o=/\s+$/,s=0,c=a.round,l=a.min,u=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(o,"").toLowerCase();var t,r=!1;if(E[e])e=E[e],r=!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:B(t[1]),g:B(t[2]),b:B(t[3]),a:I(t[4]),format:r?"name":"hex8"};if(t=q.hex6.exec(e))return{r:B(t[1]),g:B(t[2]),b:B(t[3]),format:r?"name":"hex"};if(t=q.hex4.exec(e))return{r:B(t[1]+""+t[1]),g:B(t[2]+""+t[2]),b:B(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=q.hex3.exec(e))return{r:B(t[1]+""+t[1]),g:B(t[2]+""+t[2]),b:B(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&($(e.r)&&$(e.g)&&$(e.b)?(h=e.r,p=e.g,g=e.b,t={r:255*L(h,255),g:255*L(p,255),b:255*L(g,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):$(e.h)&&$(e.s)&&$(e.v)?(n=H(e.s),s=H(e.v),t=function(e,t,r){e=6*L(e,360),t=L(t,100),r=L(r,100);var n=a.floor(e),i=e-n,o=r*(1-t),s=r*(1-i*t),c=r*(1-(1-i)*t),l=n%6;return{r:255*[r,s,o,o,c,r][l],g:255*[c,r,r,s,o,o][l],b:255*[o,o,c,r,r,s][l]}}(e.h,n,s),d=!0,f="hsv"):$(e.h)&&$(e.s)&&$(e.l)&&(n=H(e.s),c=H(e.l),t=function(e,t,r){var n,a,i;function o(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=L(e,360),t=L(t,100),r=L(r,100),0===t)n=a=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=o(c,s,e+1/3),a=o(c,s,e),i=o(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,n,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,p,g;return r=M(r),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=L(e,255),t=L(t,255),r=L(r,255);var n,a,i=u(e,t,r),o=l(e,t,r),s=(i+o)/2;if(i==o)n=a=0;else{var c=i-o;switch(a=s>.5?c/(2-i-o):c/(i+o),i){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(f(n));return i}function T(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(f({h:n,s:a,v:i})),i=(i+s)%1;return o}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,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=M(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+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,r,n,a){var i=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(D(n))];if(a&&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:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*L(this._r,255))+"%",g:c(100*L(this._g,255))+"%",b:c(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*L(this._r,255))+"%, "+c(100*L(this._g,255))+"%, "+c(100*L(this._b,255))+"%)":"rgba("+c(100*L(this._r,255))+"%, "+c(100*L(this._g,255))+"%, "+c(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+m(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(k,arguments)},spin:function(){return this._applyModification(j,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:H(e[n]));e=r}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:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),i=r/100;return f({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,i=f.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},f.mostReadable=function(e,t,r){var n,a,i,o,s=null,c=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var l=0;lc&&(c=n,s=f(t[l]));return f.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var E=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"},P=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(E);function M(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function N(e){return l(1,u(0,e))}function B(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function H(e){return e<=1&&(e=100*e+"%"),e}function D(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return B(e)/255}var V,R,F,q=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),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 $(e){return!!q.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},5:function(e,t){!function(){e.exports=this.wp.data}()},57:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},6:function(e,t){!function(){e.exports=this.wp.compose}()},65:function(e,t,r){var n=r(87),a=r(88);e.exports=function(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[i+s]=o[s];return t||a(o)}},66:function(e,t){!function(){e.exports=this.wp.autop}()},7:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(15);function a(e){for(var t=1;t>>((3&t)<<3)&255;return a}}},88:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,a=r;return[a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]]].join("")}},9:function(e,t,r){"use strict";function n(e,t){for(var r=0;r=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},,function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.wp.dom}()},,function(e,t){!function(){e.exports=this.React}()},function(e,t,n){"use strict";var o=n(37);var r=n(38);function a(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(o=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(r)throw a}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return a})},function(e,t){!function(){e.exports=this.moment}()},,function(e,t,n){e.exports=n(89)()},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)})(e)}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return o})},,,function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},,,function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},function(e,t,n){e.exports=n(290)},,function(e,t,n){var o;!function(r){var a=/^\s+/,i=/\s+$/,c=0,s=r.round,l=r.min,u=r.max,d=r.random;function h(e,t){if(t=t||{},(e=e||"")instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,o=null,c=null,s=null,d=!1,h=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),a:A(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),a:A(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(f=e.r,p=e.g,b=e.b,t={r:255*I(f,255),g:255*I(p,255),b:255*I(b,255)},d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(o=R(e.s),c=R(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var o=r.floor(e),a=e-o,i=n*(1-t),c=n*(1-a*t),s=n*(1-(1-a)*t),l=o%6;return{r:255*[n,c,i,i,s,n][l],g:255*[s,n,n,c,i,i][l],b:255*[i,i,s,n,n,c][l]}}(e.h,o,c),d=!0,h="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(o=R(e.s),s=R(e.l),t=function(e,t,n){var o,r,a;function i(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=I(e,360),t=I(t,100),n=I(n,100),0===t)o=r=a=n;else{var c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;o=i(s,c,e+1/3),r=i(s,c,e),a=i(s,c,e-1/3)}return{r:255*o,g:255*r,b:255*a}}(e.h,o,s),d=!0,h="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,b;return n=T(n),{ok:d,format:e.format||h,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(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=s(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=c++}function f(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var o,r,a=u(e,t,n),i=l(e,t,n),c=(a+i)/2;if(a==i)o=r=0;else{var s=a-i;switch(r=c>.5?s/(2-a-i):s/(a+i),a){case e:o=(t-n)/s+(t>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(h(o));return a}function P(e,t){t=t||6;for(var n=h(e).toHsv(),o=n.h,r=n.s,a=n.v,i=[],c=1/t;t--;)i.push(h({h:o,s:r,v:a})),a=(a+c)%1;return i}h.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,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=s(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=s(360*e.h),n=s(100*e.s),o=s(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+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=s(360*e.h),n=s(100*e.s),o=s(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var a=[N(s(e).toString(16)),N(s(t).toString(16)),N(s(n).toString(16)),N(L(o))];if(r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*I(this._r,255))+"%",g:s(100*I(this._g,255))+"%",b:s(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%)":"rgba("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=h(e);n="#"+v(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"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 h(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(O,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(M,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:R(e[o]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:d(),g:d(),b:d()})},h.mix=function(e,t,n){n=0===n?0:n||50;var o=h(e).toRgb(),r=h(t).toRgb(),a=n/100;return h({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},h.readability=function(e,t){var n=h(e),o=h(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},h.isReadable=function(e,t,n){var o,r,a=h.readability(e,t);switch(r=!1,(o=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+o.size){case"AAsmall":case"AAAlarge":r=a>=4.5;break;case"AAlarge":r=a>=3;break;case"AAAsmall":r=a>=7}return r},h.mostReadable=function(e,t,n){var o,r,a,i,c=null,s=0;r=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;ls&&(s=o,c=h(t[l]));return h.isReadable(e,c,{level:a,size:i})||!r?c:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var E=h.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"},z=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(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=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function x(e){return l(1,u(0,e))}function H(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function L(e){return r.round(255*parseFloat(e)).toString(16)}function A(e){return H(e)/255}var F,V,B,K=(V="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),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 W(e){return!!K.CSS_UNIT.exec(e)}e.exports?e.exports=h:void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o)}(Math)},function(e,t,n){"use strict";var o=n(73),r=n(155),a=n(156),i=n(286),c=a();o(c,{getPolyfill:a,implementation:r,shim:i}),e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="Interact with the calendar and add the check-in date for your trip.",r="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",c="Home and end keys",s="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",h="Return to the date input field.",f="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},v=function(e){return e.date},m=function(e){var t=e.date;return"Not available. "+String(t)},y=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:o,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:o,jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y},t.DateRangePickerInputPhrases={focusStartDate:o,clearDates:"Clear Dates",keyboardNavigationInstructions:f},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:f},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h},t.DayPickerNavigationPhrases={jumpToPrevMonth:r,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y}},function(e,t){!function(){e.exports=this.wp.a11y}()},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce(function(e,t){return(0,o.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,r.default.oneOfType([r.default.string,r.default.func,r.default.node])))},{})};var o=a(n(46)),r=a(n(31));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){e.exports=this.ReactDOM}()},,,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,i=void 0===n?"styles":n,u=t.themePropName,h=void 0===u?"theme":u,p=t.cssPropName,y=void 0===p?"css":p,g=t.flushBefore,O=void 0!==g&&g,k=t.pureComponent,_=void 0!==k&&k,D=void 0,w=void 0,S=void 0,j=void 0,M=function(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}(_);function C(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function P(t,n){var o=function(e){return e===l.DIRECTIONS.LTR?S:j}(t),r=t===l.DIRECTIONS.LTR?D:w,a=d.default.get();if(r&&o===a)return r;var i=t===l.DIRECTIONS.RTL;return i?(w=e?d.default.createRTL(e):b,j=a,r=w):(D=e?d.default.createLTR(e):b,S=a,r=D),r}function E(e,t){return{resolveMethod:C(e),styleDef:P(e,t)}}return function(){return function(e){var t=e.displayName||e.name||"Component",n=function(n){function c(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var o=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,(c.__proto__||Object.getPrototypeOf(c)).call(this,e,n)),r=o.context[l.CHANNEL]?o.context[l.CHANNEL].getState():m;return o.state=E(r,t),o}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)}(c,n),r(c,[{key:"componentDidMount",value:function(){return function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe(function(n){e.setState(E(n,t))}))}}()},{key:"componentWillUnmount",value:function(){return function(){this.channelUnsubscribe&&this.channelUnsubscribe()}}()},{key:"render",value:function(){return function(){var t;O&&d.default.flush();var n=this.state,r=n.resolveMethod,c=n.styleDef;return a.default.createElement(e,o({},this.props,(f(t={},h,d.default.get()),f(t,i,c()),f(t,y,r),t)))}}()}]),c}(M);n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=v,e.propTypes&&(n.propTypes=(0,s.default)({},e.propTypes),delete n.propTypes[i],delete n.propTypes[h],delete n.propTypes[y]);e.defaultProps&&(n.defaultProps=(0,s.default)({},e.defaultProps));return(0,c.default)(n,e)}}()};var a=h(n(27)),i=h(n(31)),c=h(n(140)),s=h(n(291)),l=n(292),u=h(n(293)),d=h(n(153));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:i.default.object.isRequired,theme:i.default.object.isRequired,css:i.default.func.isRequired};var p={},b=function(){return p};var v=f({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,function(e,t,n){var o=n(29),r=n(288),a=n(289);e.exports={momentObj:a.createMomentChecker("object",function(e){return"object"==typeof e},function(e){return r.isValidMoment(e)},"Moment"),momentString:a.createMomentChecker("string",function(e){return"string"==typeof e},function(e){return r.isValidMoment(o(e))},"Moment"),momentDurationObj:a.createMomentChecker("object",function(e){return"object"==typeof e},function(e){return o.isDuration(e)},"Duration")}},function(e,t,n){var o=n(87),r=n(88);e.exports=function(e,t,n){var a=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var c=0;c<16;++c)t[a+c]=i[c];return t||r(i)}},,function(e,t,n){"use strict";e.exports=n(115)},,,,,,function(e,t,n){"use strict";var o=n(141),r=n(267),a="function"==typeof Symbol&&"symbol"==typeof Symbol(),i=Object.prototype.toString,c=Object.defineProperty&&function(){var e={};try{for(var t in Object.defineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),s=function(e,t,n,o){var r;t in e&&("function"!=typeof(r=o)||"[object Function]"!==i.call(r)||!o())||(c?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},l=function(e,t){var n=arguments.length>2?arguments[2]:{},i=o(t);a&&(i=i.concat(Object.getOwnPropertySymbols(t))),r(i,function(o){s(e,o,t[o],n[o])})};l.supportsDescriptors=!!c,e.exports=l},function(e,t,n){"use strict";var o=n(268);e.exports=Function.prototype.bind||o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf(i.WEEKDAYS)},,,function(e,t,n){"use strict";var o=n(287);e.exports=function(e,t,n){return!o(e.props,t)||!o(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!a.default.isMoment(e)||!a.default.isMoment(t))&&e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year()};var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,i.DISPLAY_FORMAT,i.ISO_FORMAT]:[i.DISPLAY_FORMAT,i.ISO_FORMAT],o=(0,a.default)(e,n,!0);return o.isValid()?o.hour(12):null};var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o},i=n(39)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION,i.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.OPEN_DOWN,i.OPEN_UP])},,,,function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var o=new Uint8Array(16);e.exports=function(){return n(o),o}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},function(e,t){for(var n=[],o=0;o<256;++o)n[o]=(o+256).toString(16).substr(1);e.exports=function(e,t){var o=t||0,r=n;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},function(e,t,n){"use strict";var o=n(90);function r(){}e.exports=function(){function e(e,t,n,r,a,i){if(i!==o){var c=new Error("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");throw c.name="Invariant Violation",c}}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,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var o=n(74);e.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.ICON_BEFORE_POSITION,i.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t)||(0,r.default)(e,t))};var o=a(n(29)),r=a(n(95));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!a.default.isMoment(e)||!a.default.isMoment(t))return!1;var n=e.year(),o=e.month(),r=t.year(),i=t.month(),c=n===r,s=o===i;return c&&s?e.date()2?n-2:0),r=2;r=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["wrappedRef"]);return i.createElement(e,o({},a,{ref:function(e){t.__wrappedInstance=e,t.__domNode=c.findDOMNode(e),r&&r(e)}}))}}]),n}();return n.displayName="clickOutside("+t+")",a(n,e)}},,,,,,,function(e,t,n){"use strict";var o=n(116);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,a=n.onlyScrollIfNeeded,i=n.alignWithTop,c=n.alignWithLeft,s=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;r=void 0===r||r;var h=o.isWindow(t),f=o.offset(e),p=o.outerHeight(e),b=o.outerWidth(e),v=void 0,m=void 0,y=void 0,g=void 0,O=void 0,k=void 0,_=void 0,D=void 0,w=void 0,S=void 0;h?(_=t,S=o.height(_),w=o.width(_),D={left:o.scrollLeft(_),top:o.scrollTop(_)},O={left:f.left-D.left-l,top:f.top-D.top-s},k={left:f.left+b-(D.left+w)+d,top:f.top+p-(D.top+S)+u},g=D):(v=o.offset(t),m=t.clientHeight,y=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},O={left:f.left-(v.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-l,top:f.top-(v.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-s},k={left:f.left+b-(v.left+y+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:f.top+p-(v.top+m+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),O.top<0||k.top>0?!0===i?o.scrollTop(t,g.top+O.top):!1===i?o.scrollTop(t,g.top+k.top):O.top<0?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+k.top):a||((i=void 0===i||!!i)?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+k.top)),r&&(O.left<0||k.left>0?!0===c?o.scrollLeft(t,g.left+O.left):!1===c?o.scrollLeft(t,g.left+k.left):O.left<0?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+k.left):a||((c=void 0===c||!!c)?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+k.left)))}},function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t0&&!o.call(e,0))for(var b=0;b0)for(var v=0;v0&&void 0!==arguments[0]&&(n=o.ToInteger(arguments[0]));var a=o.ArraySpeciesCreate(e,0);return function e(t,n,a,i,c){for(var s=i,l=0;l0&&(h=o.IsArray(d)),h)s=e(t,d,o.ToLength(o.Get(d,"length")),s,c-1);else{if(s>=r)throw new TypeError("index too large");o.CreateDataPropertyOrThrow(t,o.ToString(s),d),s+=1}}l+=1}return s}(a,e,t,0,n),a}},function(e,t,n){"use strict";var o=n(270),r=n(124),a=r(r({},o),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)}});e.exports=a},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var o=Object.prototype.toString;if(n(274)()){var r=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==o.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(r.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},function(e,t,n){"use strict";var o=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,a=Object.getPrototypeOf||function(e){return e.__proto__},i=void 0,c="undefined"==typeof Uint8Array?void 0:a(Uint8Array),s={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":r?a([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":i&&r&&Symbol.asyncIterator?i[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":r?a(a([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&r?a((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&r?a((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":r?a(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":r?Symbol:void 0,"$ %SymbolPrototype%":r?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":o,"$ %TypedArray%":c,"$ %TypedArrayPrototype%":c?c.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in s))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===s[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return s[n]}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var o=n(142);e.exports=function(){return Array.prototype.flat||o}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=void 0,r=void 0;function a(e,t){var n=t(e(r));return function(){return n}}function i(e){return a(e,o.createLTR||o.create)}function c(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var r="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||o?window.getComputedStyle(e):null,c=e.offsetWidth,s=e.offsetHeight,l="width"===t?c:s;n||(l-=parseFloat(i["padding"+r])+parseFloat(i["padding"+a])+parseFloat(i["border"+r+"Width"])+parseFloat(i["border"+a+"Width"]));o&&(l+=parseFloat(i["margin"+r])+parseFloat(i["margin"+a]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=r&&a2?arguments[2]:{},a=o(t);r&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var c=0;c=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t,n){"use strict";var o=n(166),r=n(91),a=n(74).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=o.RequireObjectCoercible(e),n=[];for(var i in t)r(t,i)&&a(t,i)&&n.push(t[i]);return n}},function(e,t,n){"use strict";e.exports=n(143)},function(e,t,n){"use strict";var o=n(165);e.exports=function(){return"function"==typeof Object.values?Object.values:o}},function(e,t,n){"use strict";var o=n(312),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,c=Object.defineProperty,s=c&&function(){var e={};try{for(var t in c(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,t,n,o){var r;t in e&&("function"!=typeof(r=o)||"[object Function]"!==a.call(r)||!o())||(s?c(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=o(t);r&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var c=0;c=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var o=n(170);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=v(n(31)),r=v(n(64)),a=n(43),i=n(47),c=v(n(51)),s=v(n(173)),l=v(n(92)),u=v(n(174)),d=v(n(105)),h=v(n(175)),f=v(n(83)),p=v(n(75)),b=v(n(93));function v(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:r.default.momentObj,endDate:r.default.momentObj,onDatesChange:o.default.func.isRequired,focusedInput:s.default,onFocusChange:o.default.func.isRequired,onClose:o.default.func,startDateId:o.default.string.isRequired,startDatePlaceholderText:o.default.string,endDateId:o.default.string.isRequired,endDatePlaceholderText:o.default.string,disabled:d.default,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDates:o.default.bool,showDefaultInputIcon:o.default.bool,inputIconPosition:l.default,customInputIcon:o.default.node,customArrowIcon:o.default.node,customCloseIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:h.default,openDirection:f.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:o.default.func,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDates:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:b.default,hideKeyboardShortcutsPanel:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,verticalSpacing:a.nonNegativeInteger,navPrev:o.default.node,navNext:o.default.node,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,minimumNights:o.default.number,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,c.default)(i.DateRangePickerPhrases)),dayAriaLabelFormat:o.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.START_DATE,i.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.ANCHOR_LEFT,i.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var a="undefined"!=typeof window?window.innerWidth:0,i=e===o.ANCHOR_LEFT?a-n:n,c=r||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+i-c,0))};var o=n(39)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getBoundingClientRect(),a=r.left,i=r.top;e===o.OPEN_UP&&(i=-(window.innerHeight-r.bottom));t===o.ANCHOR_RIGHT&&(a=-(window.innerWidth-r.right));return{transform:"translate3d("+String(Math.round(a))+"px, "+String(Math.round(i))+"px, 0)"}};var o=n(39)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=r,t.getScrollAncestorsOverflowY=a,t.default=function(e){var t=a(e),n=function(e){return t.forEach(function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)})};return n(!0),function(){return n(!1)}};var o=function(){return document.scrollingElement||document.documentElement};function r(e){var t=e.parentElement;if(null==t)return o();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:r(t)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=o(),i=r(e);return t.set(i,i.style.overflowY),i===n?t:a(i,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0&&(L||H||i!==k)){var $=y||this.today;V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked")}(L||x)&&(0,d.default)(P).forEach(function(e){Object.keys(e).forEach(function(e){var n=(0,u.default)(e),o=!1;(L||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),o=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(L||T)&&(s(n)?(V=t.addModifier(V,n,"blocked-calendar"),o=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=o?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(L||I)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))})}),i>0&&n&&r===E.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked"));var Y=(0,u.default)();if((0,m.default)(this.today,Y)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,Y,"today"),this.today=Y),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},P,V)}),L||h!==S){var q=N(h,r);this.setState({phrases:(0,a.default)({},h,{chooseAvailableDate:q})})}}}()},{key:"onDayClick",value:function(){return function(e,t){var n=this.props,o=n.keepOpenOnDateSelect,r=n.minimumNights,a=n.onBlur,i=n.focusedInput,c=n.onFocusChange,s=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,h=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var f=this.props,p=f.startDate,v=f.endDate;if(u||d)p=(0,_.default)(u,e),v=(0,_.default)(d,e),o||(c(null),s({startDate:p,endDate:v}));else if(i===E.START_DATE){var m=v&&v.clone().subtract(r,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,v),k=h===E.END_DATE;k&&O||(p=e,O&&(v=null)),k&&!O?(c(null),s({startDate:p,endDate:v})):k||c(E.END_DATE)}else if(i===E.END_DATE){var D=p&&p.clone().add(r,"days");p?(0,b.default)(e,D)?(v=e,o||(c(null),s({startDate:p,endDate:v}))):h!==E.START_DATE&&(p=e,v=null):(v=e,c(E.START_DATE))}l({startDate:p,endDate:v}),a()}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,o=t.endDate,r=t.focusedInput,i=t.minimumNights,c=t.startDateOffset,s=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,h=null;if(r){var f=c||s,p={};if(f){var b=(0,_.default)(c,e),v=(0,_.default)(s,e,function(e){return e.add(1,"day")});h={start:b,end:v},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,b,v,"hovered-offset")}if(!f){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!o&&r===E.END_DATE){if((0,y.default)(u,n)){var O=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,O,"hovered-span")}if(!this.isBlocked(e)&&(0,y.default)(e,n)){var k=e.clone().add(1,"day");p=this.addModifierToRange(p,n,k,"hovered-span")}}if(!n&&o&&r===E.START_DATE&&((0,g.default)(u,o)&&(p=this.deleteModifierFromRange(p,u,o,"hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,o)&&(p=this.addModifierToRange(p,e,o,"hovered-span"))),n){var D=n.clone().add(1,"day"),w=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,D,w,"after-hovered-start"),(0,m.default)(e,n)){var S=n.clone().add(1,"day"),j=n.clone().add(i+1,"days");p=this.addModifierToRange(p,S,j,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:h,visibleDays:(0,a.default)({},d,p)})}}}}()},{key:"onDayMouseLeave",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=t.minimumNights,i=this.state,c=i.hoverDate,s=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&c){var u={};if(u=this.deleteModifier(u,c,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!o&&(0,y.default)(c,n)){var d=c.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&o&&(0,y.default)(o,c)&&(u=this.deleteModifierFromRange(u,c,o,"hovered-span")),n&&(0,m.default)(e,n)){var h=n.clone().add(1,"day"),f=n.clone().add(r+1,"days");u=this.deleteModifierFromRange(u,h,f,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,a.default)({},s,u)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(2,"months"),u=(0,O.default)(l,1,o,!0),d=i.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[e]});var l=i.clone().add(n+1,"month"),u=(0,O.default)(l,1,o,!0),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onMultiplyScrollableMonths",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,o=this.state,r=o.currentMonth,i=o.visibleDays,c=Object.keys(i).length,s=r.clone().add(c,"month"),l=(0,O.default)(s,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,r=n.startDate,a=n.endDate,i=n.focusedInput,c=n.minimumNights,s=n.numberOfMonths,l=e.clone().startOf("month");if(i===E.START_DATE&&r?l=r.clone():i===E.END_DATE&&!a&&r?l=r.clone().add(c,"days"):i===E.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(s-1,"months").endOf("month"),h=l.clone();!(0,y.default)(h,d);)h=h.clone().add(1,"day"),u.push(h);var f=u.filter(function(e){return!t.isBlocked(e)});f.length>0&&(l=o(f,1)[0])}return l}}()},{key:"getModifiers",value:function(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]={},e[o].forEach(function(e){n[o][(0,D.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,o=e.numberOfMonths,r=e.enableOutsideDays,a=e.orientation,i=e.startDate,c=(n||(i?function(){return i}:function(){return t.today}))(),s=a===E.VERTICAL_SCROLLABLE;return{currentMonth:c,visibleDays:this.getModifiers((0,O.default)(c,o,r,s))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,D.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.add(n),(0,a.default)({},t,I({},o,(0,a.default)({},r,I({},f,i))))},p);else{var b=(0,w.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.add(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,m))))}return p}}()},{key:"addModifierToRange",value:function(){return function(e,t,n,o){for(var r=e,a=t.clone();(0,g.default)(a,n);)r=this.addModifier(r,a,o),a=a.clone().add(1,"day");return r}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,D.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.delete(n),(0,a.default)({},t,I({},o,(0,a.default)({},r,I({},f,i))))},p);else{var b=(0,w.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.delete(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,m))))}return p}}()},{key:"deleteModifierFromRange",value:function(){return function(e,t,n,o){for(var r=e,a=t.clone();(0,g.default)(a,n);)r=this.deleteModifier(r,a,o),a=a.clone().add(1,"day");return r}}()},{key:"doesNotMeetMinimumNights",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.isOutsideRange,r=t.focusedInput,a=t.minimumNights;if(r!==E.END_DATE)return!1;if(n){var i=e.diff(n.clone().startOf("day").hour(12),"days");return i=0}return o((0,u.default)(e).subtract(a,"days"))}}()},{key:"isDayAfterHoveredStartDate",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=t.minimumNights,a=(this.state||{}).hoverDate;return!!n&&!o&&!this.isBlocked(e)&&(0,v.default)(a,e)&&r>0&&(0,m.default)(a,n)}}()},{key:"isEndDate",value:function(){return function(e){var t=this.props.endDate;return(0,m.default)(e,t)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}}()},{key:"isInHoveredSpan",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=(this.state||{}).hoverDate,a=!!n&&!o&&(e.isBetween(n,r)||(0,m.default)(r,e)),i=!!o&&!n&&(e.isBetween(r,o)||(0,m.default)(r,e)),c=r&&!this.isBlocked(r);return(a||i)&&c}}()},{key:"isInSelectedSpan",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate;return e.isBetween(n,o)}}()},{key:"isLastInRange",value:function(){return function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,v.default)(e,t)}}()},{key:"isStartDate",value:function(){return function(e){var t=this.props.startDate;return(0,m.default)(e,t)}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,o=t.isOutsideRange;return n(e)||o(e)||this.doesNotMeetMinimumNights(e)}}()},{key:"isToday",value:function(){return function(e){return(0,m.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,o=e.monthFormat,r=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,h=e.firstDayOfWeek,f=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.focusedInput,v=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,D=e.showKeyboardShortcuts,w=e.isRTL,S=e.weekDayFormat,j=e.dayAriaLabelFormat,M=e.verticalHeight,C=e.noBorder,P=e.transitionDuration,E=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.phrases,N=I.visibleDays;return i.default.createElement(z.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:o,renderMonthText:r,withPortal:u,hidden:!b,initialVisibleMonth:function(){return x},daySize:p,onOutsideClick:l,navPrev:a,navNext:c,noNavButtons:s,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:h,hideKeyboardShortcutsPanel:f,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:D,phrases:H,isRTL:w,weekDayFormat:S,dayAriaLabelFormat:j,verticalHeight:M,verticalBorderSpacing:E,noBorder:C,transitionDuration:P,horizontalMonthPadding:T})}}()}]),t}();t.default=R,R.propTypes=x,R.defaultProps=H},function(e,t,n){"use strict";var o=n(73),r=n(190),a=n(191),i=n(324),c=a();o(c,{getPolyfill:a,implementation:r,shim:i}),e.exports=c},function(e,t,n){"use strict";var o=n(166),r=n(91),a=n(74).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=o.RequireObjectCoercible(e),n=[];for(var i in t)r(t,i)&&a(t,i)&&n.push(t[i]);return n}},function(e,t,n){"use strict";var o=n(190);e.exports=function(){return"function"==typeof Object.values?Object.values:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!o.default.isMoment(e)||!o.default.isMoment(t))return!1;var n=(0,o.default)(e).add(1,"day");return(0,r.default)(n,t)};var o=a(n(29)),r=a(n(79));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!o.default.isMoment(e))return{};for(var i={},c=a?e.clone():e.clone().subtract(1,"month"),s=0;s<(a?t:t+2);s+=1){var l=[],u=c.clone(),d=u.clone().startOf("month").hour(12),h=u.clone().endOf("month").hour(12),f=d.clone();if(n)for(var p=0;p0&&this.setState({visibleDays:(0,a.default)({},D,z)})}}()},{key:"componentWillUpdate",value:function(){return function(){this.today=(0,u.default)()}}()},{key:"onDayClick",value:function(){return function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,o=n.onDateChange,r=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;o(e),r||(a({focused:!1}),i({date:e}))}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,o=t.visibleDays,r=this.deleteModifier({},n,"hovered");r=this.addModifier(r,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},o,r)})}}}()},{key:"onDayMouseLeave",value:function(){return function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var o=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,o)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,o);this.setState({currentMonth:l,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(l.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[e]});var l=i.clone().add(n,"month"),u=(0,m.default)(l,1,o),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,r=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(r&&(i=r.clone()),this.isBlocked(i)){for(var c=[],s=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,v.default)(l,s);)l=l.clone().add(1,"day"),c.push(l);var u=c.filter(function(e){return!t.isBlocked(e)&&(0,v.default)(e,i)});if(u.length>0){var d=o(u,1);i=d[0]}}return i}}()},{key:"getModifiers",value:function(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]={},e[o].forEach(function(e){n[o][(0,g.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,o=e.date,r=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(o?function(){return o}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,m.default)(i,r,a))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.add(n),(0,a.default)({},t,M({},o,(0,a.default)({},r,M({},f,i))))},p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.add(n),p=(0,a.default)({},p,M({},b,(0,a.default)({},v,M({},f,m))))}return p}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.delete(n),(0,a.default)({},t,M({},o,(0,a.default)({},r,M({},f,i))))},p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.delete(n),p=(0,a.default)({},p,M({},b,(0,a.default)({},v,M({},f,m))))}return p}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,o=t.isOutsideRange;return n(e)||o(e)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return(0,b.default)(e,t)}}()},{key:"isSelected",value:function(){return function(e){var t=this.props.date;return(0,b.default)(e,t)}}()},{key:"isToday",value:function(){return function(e){return(0,b.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,o=e.monthFormat,r=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,h=e.hideKeyboardShortcutsPanel,f=e.daySize,p=e.firstDayOfWeek,b=e.renderCalendarDay,v=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,D=e.dayAriaLabelFormat,w=e.onBlur,j=e.showKeyboardShortcuts,M=e.weekDayFormat,C=e.verticalHeight,P=e.noBorder,E=e.transitionDuration,z=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.visibleDays;return i.default.createElement(S.default,{orientation:n,enableOutsideDays:d,modifiers:H,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:o,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:h,initialVisibleMonth:function(){return x},firstDayOfWeek:p,onOutsideClick:s,navPrev:a,navNext:c,renderMonthText:r,renderCalendarDay:b,renderDayContents:v,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:w,phrases:_,daySize:f,isRTL:k,showKeyboardShortcuts:j,weekDayFormat:M,dayAriaLabelFormat:D,verticalHeight:C,noBorder:P,transitionDuration:E,verticalBorderSpacing:z,horizontalMonthPadding:T})}}()}]),t}();t.default=E,E.propTypes=C,E.defaultProps=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=p(n(31)),r=p(n(64)),a=n(43),i=n(47),c=p(n(51)),s=p(n(92)),l=p(n(174)),u=p(n(175)),d=p(n(83)),h=p(n(75)),f=p(n(93));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:r.default.momentObj,onDateChange:o.default.func.isRequired,focused:o.default.bool,onFocusChange:o.default.func.isRequired,id:o.default.string.isRequired,placeholder:o.default.string,disabled:o.default.bool,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDate:o.default.bool,customCloseIcon:o.default.node,showDefaultInputIcon:o.default.bool,inputIconPosition:s.default,customInputIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,initialVisibleMonth:o.default.func,firstDayOfWeek:h.default,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDate:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:f.default,hideKeyboardShortcutsPanel:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,navPrev:o.default.node,navNext:o.default.node,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,onClose:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,c.default)(i.SingleDatePickerPhrases)),dayAriaLabelFormat:o.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},,,function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.React}()},function(e,t,n){"use strict";var o=n(37);var r=n(38);function a(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(o=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(r)throw a}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return a})},function(e,t){!function(){e.exports=this.moment}()},,function(e,t,n){e.exports=n(89)()},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)})(e)}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return o})},,,function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},,,function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},function(e,t,n){e.exports=n(290)},,function(e,t,n){var o;!function(r){var a=/^\s+/,i=/\s+$/,c=0,s=r.round,l=r.min,u=r.max,d=r.random;function h(e,t){if(t=t||{},(e=e||"")instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,o=null,c=null,s=null,d=!1,h=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),a:A(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),a:A(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(f=e.r,p=e.g,b=e.b,t={r:255*I(f,255),g:255*I(p,255),b:255*I(b,255)},d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(o=R(e.s),c=R(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var o=r.floor(e),a=e-o,i=n*(1-t),c=n*(1-a*t),s=n*(1-(1-a)*t),l=o%6;return{r:255*[n,c,i,i,s,n][l],g:255*[s,n,n,c,i,i][l],b:255*[i,i,s,n,n,c][l]}}(e.h,o,c),d=!0,h="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(o=R(e.s),s=R(e.l),t=function(e,t,n){var o,r,a;function i(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=I(e,360),t=I(t,100),n=I(n,100),0===t)o=r=a=n;else{var c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;o=i(s,c,e+1/3),r=i(s,c,e),a=i(s,c,e-1/3)}return{r:255*o,g:255*r,b:255*a}}(e.h,o,s),d=!0,h="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,b;return n=T(n),{ok:d,format:e.format||h,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(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=s(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=c++}function f(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var o,r,a=u(e,t,n),i=l(e,t,n),c=(a+i)/2;if(a==i)o=r=0;else{var s=a-i;switch(r=c>.5?s/(2-a-i):s/(a+i),a){case e:o=(t-n)/s+(t>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(h(o));return a}function P(e,t){t=t||6;for(var n=h(e).toHsv(),o=n.h,r=n.s,a=n.v,i=[],c=1/t;t--;)i.push(h({h:o,s:r,v:a})),a=(a+c)%1;return i}h.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,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=s(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=s(360*e.h),n=s(100*e.s),o=s(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+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=s(360*e.h),n=s(100*e.s),o=s(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var a=[N(s(e).toString(16)),N(s(t).toString(16)),N(s(n).toString(16)),N(L(o))];if(r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*I(this._r,255))+"%",g:s(100*I(this._g,255))+"%",b:s(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%)":"rgba("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=h(e);n="#"+v(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"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 h(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(O,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(M,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:R(e[o]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:d(),g:d(),b:d()})},h.mix=function(e,t,n){n=0===n?0:n||50;var o=h(e).toRgb(),r=h(t).toRgb(),a=n/100;return h({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},h.readability=function(e,t){var n=h(e),o=h(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},h.isReadable=function(e,t,n){var o,r,a=h.readability(e,t);switch(r=!1,(o=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+o.size){case"AAsmall":case"AAAlarge":r=a>=4.5;break;case"AAlarge":r=a>=3;break;case"AAAsmall":r=a>=7}return r},h.mostReadable=function(e,t,n){var o,r,a,i,c=null,s=0;r=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;ls&&(s=o,c=h(t[l]));return h.isReadable(e,c,{level:a,size:i})||!r?c:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var E=h.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"},z=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(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=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function x(e){return l(1,u(0,e))}function H(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function L(e){return r.round(255*parseFloat(e)).toString(16)}function A(e){return H(e)/255}var F,V,B,K=(V="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),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 W(e){return!!K.CSS_UNIT.exec(e)}e.exports?e.exports=h:void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o)}(Math)},function(e,t,n){"use strict";var o=n(73),r=n(155),a=n(156),i=n(286),c=a();o(c,{getPolyfill:a,implementation:r,shim:i}),e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="Interact with the calendar and add the check-in date for your trip.",r="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",c="Home and end keys",s="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",h="Return to the date input field.",f="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},v=function(e){return e.date},m=function(e){var t=e.date;return"Not available. "+String(t)},y=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:o,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:o,jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y},t.DateRangePickerInputPhrases={focusStartDate:o,clearDates:"Clear Dates",keyboardNavigationInstructions:f},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:f},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h},t.DayPickerNavigationPhrases={jumpToPrevMonth:r,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y}},function(e,t){!function(){e.exports=this.wp.a11y}()},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce(function(e,t){return(0,o.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,r.default.oneOfType([r.default.string,r.default.func,r.default.node])))},{})};var o=a(n(46)),r=a(n(31));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){e.exports=this.ReactDOM}()},,,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,i=void 0===n?"styles":n,u=t.themePropName,h=void 0===u?"theme":u,p=t.cssPropName,y=void 0===p?"css":p,g=t.flushBefore,O=void 0!==g&&g,k=t.pureComponent,_=void 0!==k&&k,D=void 0,w=void 0,S=void 0,j=void 0,M=function(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}(_);function C(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function P(t,n){var o=function(e){return e===l.DIRECTIONS.LTR?S:j}(t),r=t===l.DIRECTIONS.LTR?D:w,a=d.default.get();if(r&&o===a)return r;var i=t===l.DIRECTIONS.RTL;return i?(w=e?d.default.createRTL(e):b,j=a,r=w):(D=e?d.default.createLTR(e):b,S=a,r=D),r}function E(e,t){return{resolveMethod:C(e),styleDef:P(e,t)}}return function(){return function(e){var t=e.displayName||e.name||"Component",n=function(n){function c(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var o=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,(c.__proto__||Object.getPrototypeOf(c)).call(this,e,n)),r=o.context[l.CHANNEL]?o.context[l.CHANNEL].getState():m;return o.state=E(r,t),o}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)}(c,n),r(c,[{key:"componentDidMount",value:function(){return function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe(function(n){e.setState(E(n,t))}))}}()},{key:"componentWillUnmount",value:function(){return function(){this.channelUnsubscribe&&this.channelUnsubscribe()}}()},{key:"render",value:function(){return function(){var t;O&&d.default.flush();var n=this.state,r=n.resolveMethod,c=n.styleDef;return a.default.createElement(e,o({},this.props,(f(t={},h,d.default.get()),f(t,i,c()),f(t,y,r),t)))}}()}]),c}(M);n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=v,e.propTypes&&(n.propTypes=(0,s.default)({},e.propTypes),delete n.propTypes[i],delete n.propTypes[h],delete n.propTypes[y]);e.defaultProps&&(n.defaultProps=(0,s.default)({},e.defaultProps));return(0,c.default)(n,e)}}()};var a=h(n(27)),i=h(n(31)),c=h(n(140)),s=h(n(291)),l=n(292),u=h(n(293)),d=h(n(153));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:i.default.object.isRequired,theme:i.default.object.isRequired,css:i.default.func.isRequired};var p={},b=function(){return p};var v=f({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,function(e,t,n){var o=n(29),r=n(288),a=n(289);e.exports={momentObj:a.createMomentChecker("object",function(e){return"object"==typeof e},function(e){return r.isValidMoment(e)},"Moment"),momentString:a.createMomentChecker("string",function(e){return"string"==typeof e},function(e){return r.isValidMoment(o(e))},"Moment"),momentDurationObj:a.createMomentChecker("object",function(e){return"object"==typeof e},function(e){return o.isDuration(e)},"Duration")}},function(e,t,n){var o=n(87),r=n(88);e.exports=function(e,t,n){var a=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var c=0;c<16;++c)t[a+c]=i[c];return t||r(i)}},,function(e,t,n){"use strict";e.exports=n(115)},,,,,,function(e,t,n){"use strict";var o=n(141),r=n(267),a="function"==typeof Symbol&&"symbol"==typeof Symbol(),i=Object.prototype.toString,c=Object.defineProperty&&function(){var e={};try{for(var t in Object.defineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),s=function(e,t,n,o){var r;t in e&&("function"!=typeof(r=o)||"[object Function]"!==i.call(r)||!o())||(c?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},l=function(e,t){var n=arguments.length>2?arguments[2]:{},i=o(t);a&&(i=i.concat(Object.getOwnPropertySymbols(t))),r(i,function(o){s(e,o,t[o],n[o])})};l.supportsDescriptors=!!c,e.exports=l},function(e,t,n){"use strict";var o=n(268);e.exports=Function.prototype.bind||o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf(i.WEEKDAYS)},,,function(e,t,n){"use strict";var o=n(287);e.exports=function(e,t,n){return!o(e.props,t)||!o(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!a.default.isMoment(e)||!a.default.isMoment(t))&&e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year()};var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,i.DISPLAY_FORMAT,i.ISO_FORMAT]:[i.DISPLAY_FORMAT,i.ISO_FORMAT],o=(0,a.default)(e,n,!0);return o.isValid()?o.hour(12):null};var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o},i=n(39)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION,i.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.OPEN_DOWN,i.OPEN_UP])},,,,function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var o=new Uint8Array(16);e.exports=function(){return n(o),o}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},function(e,t){for(var n=[],o=0;o<256;++o)n[o]=(o+256).toString(16).substr(1);e.exports=function(e,t){var o=t||0,r=n;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},function(e,t,n){"use strict";var o=n(90);function r(){}e.exports=function(){function e(e,t,n,r,a,i){if(i!==o){var c=new Error("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");throw c.name="Invariant Violation",c}}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,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var o=n(74);e.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.ICON_BEFORE_POSITION,i.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t)||(0,r.default)(e,t))};var o=a(n(29)),r=a(n(95));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!a.default.isMoment(e)||!a.default.isMoment(t))return!1;var n=e.year(),o=e.month(),r=t.year(),i=t.month(),c=n===r,s=o===i;return c&&s?e.date()2?n-2:0),r=2;r=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["wrappedRef"]);return i.createElement(e,o({},a,{ref:function(e){t.__wrappedInstance=e,t.__domNode=c.findDOMNode(e),r&&r(e)}}))}}]),n}();return n.displayName="clickOutside("+t+")",a(n,e)}},,,,,,,function(e,t,n){"use strict";var o=n(116);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,a=n.onlyScrollIfNeeded,i=n.alignWithTop,c=n.alignWithLeft,s=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;r=void 0===r||r;var h=o.isWindow(t),f=o.offset(e),p=o.outerHeight(e),b=o.outerWidth(e),v=void 0,m=void 0,y=void 0,g=void 0,O=void 0,k=void 0,_=void 0,D=void 0,w=void 0,S=void 0;h?(_=t,S=o.height(_),w=o.width(_),D={left:o.scrollLeft(_),top:o.scrollTop(_)},O={left:f.left-D.left-l,top:f.top-D.top-s},k={left:f.left+b-(D.left+w)+d,top:f.top+p-(D.top+S)+u},g=D):(v=o.offset(t),m=t.clientHeight,y=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},O={left:f.left-(v.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-l,top:f.top-(v.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-s},k={left:f.left+b-(v.left+y+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:f.top+p-(v.top+m+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),O.top<0||k.top>0?!0===i?o.scrollTop(t,g.top+O.top):!1===i?o.scrollTop(t,g.top+k.top):O.top<0?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+k.top):a||((i=void 0===i||!!i)?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+k.top)),r&&(O.left<0||k.left>0?!0===c?o.scrollLeft(t,g.left+O.left):!1===c?o.scrollLeft(t,g.left+k.left):O.left<0?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+k.left):a||((c=void 0===c||!!c)?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+k.left)))}},function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t0&&!o.call(e,0))for(var b=0;b0)for(var v=0;v0&&void 0!==arguments[0]&&(n=o.ToInteger(arguments[0]));var a=o.ArraySpeciesCreate(e,0);return function e(t,n,a,i,c){for(var s=i,l=0;l0&&(h=o.IsArray(d)),h)s=e(t,d,o.ToLength(o.Get(d,"length")),s,c-1);else{if(s>=r)throw new TypeError("index too large");o.CreateDataPropertyOrThrow(t,o.ToString(s),d),s+=1}}l+=1}return s}(a,e,t,0,n),a}},function(e,t,n){"use strict";var o=n(270),r=n(124),a=r(r({},o),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)}});e.exports=a},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var o=Object.prototype.toString;if(n(274)()){var r=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==o.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(r.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},function(e,t,n){"use strict";var o=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,a=Object.getPrototypeOf||function(e){return e.__proto__},i=void 0,c="undefined"==typeof Uint8Array?void 0:a(Uint8Array),s={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":r?a([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":i&&r&&Symbol.asyncIterator?i[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":r?a(a([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&r?a((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&r?a((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":r?a(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":r?Symbol:void 0,"$ %SymbolPrototype%":r?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":o,"$ %TypedArray%":c,"$ %TypedArrayPrototype%":c?c.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in s))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===s[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return s[n]}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var o=n(142);e.exports=function(){return Array.prototype.flat||o}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=void 0,r=void 0;function a(e,t){var n=t(e(r));return function(){return n}}function i(e){return a(e,o.createLTR||o.create)}function c(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var r="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||o?window.getComputedStyle(e):null,c=e.offsetWidth,s=e.offsetHeight,l="width"===t?c:s;n||(l-=parseFloat(i["padding"+r])+parseFloat(i["padding"+a])+parseFloat(i["border"+r+"Width"])+parseFloat(i["border"+a+"Width"]));o&&(l+=parseFloat(i["margin"+r])+parseFloat(i["margin"+a]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=r&&a2?arguments[2]:{},a=o(t);r&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var c=0;c=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t,n){"use strict";var o=n(166),r=n(91),a=n(74).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=o.RequireObjectCoercible(e),n=[];for(var i in t)r(t,i)&&a(t,i)&&n.push(t[i]);return n}},function(e,t,n){"use strict";e.exports=n(143)},function(e,t,n){"use strict";var o=n(165);e.exports=function(){return"function"==typeof Object.values?Object.values:o}},function(e,t,n){"use strict";var o=n(312),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,c=Object.defineProperty,s=c&&function(){var e={};try{for(var t in c(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,t,n,o){var r;t in e&&("function"!=typeof(r=o)||"[object Function]"!==a.call(r)||!o())||(s?c(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=o(t);r&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var c=0;c=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var o=n(170);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=v(n(31)),r=v(n(64)),a=n(43),i=n(47),c=v(n(51)),s=v(n(173)),l=v(n(92)),u=v(n(174)),d=v(n(105)),h=v(n(175)),f=v(n(83)),p=v(n(75)),b=v(n(93));function v(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:r.default.momentObj,endDate:r.default.momentObj,onDatesChange:o.default.func.isRequired,focusedInput:s.default,onFocusChange:o.default.func.isRequired,onClose:o.default.func,startDateId:o.default.string.isRequired,startDatePlaceholderText:o.default.string,endDateId:o.default.string.isRequired,endDatePlaceholderText:o.default.string,disabled:d.default,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDates:o.default.bool,showDefaultInputIcon:o.default.bool,inputIconPosition:l.default,customInputIcon:o.default.node,customArrowIcon:o.default.node,customCloseIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:h.default,openDirection:f.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:o.default.func,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDates:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:b.default,hideKeyboardShortcutsPanel:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,verticalSpacing:a.nonNegativeInteger,navPrev:o.default.node,navNext:o.default.node,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,minimumNights:o.default.number,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,c.default)(i.DateRangePickerPhrases)),dayAriaLabelFormat:o.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.START_DATE,i.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o},i=n(39);t.default=a.default.oneOf([i.ANCHOR_LEFT,i.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var a="undefined"!=typeof window?window.innerWidth:0,i=e===o.ANCHOR_LEFT?a-n:n,c=r||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+i-c,0))};var o=n(39)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getBoundingClientRect(),a=r.left,i=r.top;e===o.OPEN_UP&&(i=-(window.innerHeight-r.bottom));t===o.ANCHOR_RIGHT&&(a=-(window.innerWidth-r.right));return{transform:"translate3d("+String(Math.round(a))+"px, "+String(Math.round(i))+"px, 0)"}};var o=n(39)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=r,t.getScrollAncestorsOverflowY=a,t.default=function(e){var t=a(e),n=function(e){return t.forEach(function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)})};return n(!0),function(){return n(!1)}};var o=function(){return document.scrollingElement||document.documentElement};function r(e){var t=e.parentElement;if(null==t)return o();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:r(t)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=o(),i=r(e);return t.set(i,i.style.overflowY),i===n?t:a(i,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0&&(L||H||i!==k)){var $=y||this.today;V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked")}(L||x)&&(0,d.default)(P).forEach(function(e){Object.keys(e).forEach(function(e){var n=(0,u.default)(e),o=!1;(L||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),o=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(L||T)&&(s(n)?(V=t.addModifier(V,n,"blocked-calendar"),o=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=o?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(L||I)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))})}),i>0&&n&&r===E.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked"));var Y=(0,u.default)();if((0,m.default)(this.today,Y)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,Y,"today"),this.today=Y),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},P,V)}),L||h!==S){var q=N(h,r);this.setState({phrases:(0,a.default)({},h,{chooseAvailableDate:q})})}}}()},{key:"onDayClick",value:function(){return function(e,t){var n=this.props,o=n.keepOpenOnDateSelect,r=n.minimumNights,a=n.onBlur,i=n.focusedInput,c=n.onFocusChange,s=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,h=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var f=this.props,p=f.startDate,v=f.endDate;if(u||d)p=(0,_.default)(u,e),v=(0,_.default)(d,e),o||(c(null),s({startDate:p,endDate:v}));else if(i===E.START_DATE){var m=v&&v.clone().subtract(r,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,v),k=h===E.END_DATE;k&&O||(p=e,O&&(v=null)),k&&!O?(c(null),s({startDate:p,endDate:v})):k||c(E.END_DATE)}else if(i===E.END_DATE){var D=p&&p.clone().add(r,"days");p?(0,b.default)(e,D)?(v=e,o||(c(null),s({startDate:p,endDate:v}))):h!==E.START_DATE&&(p=e,v=null):(v=e,c(E.START_DATE))}l({startDate:p,endDate:v}),a()}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,o=t.endDate,r=t.focusedInput,i=t.minimumNights,c=t.startDateOffset,s=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,h=null;if(r){var f=c||s,p={};if(f){var b=(0,_.default)(c,e),v=(0,_.default)(s,e,function(e){return e.add(1,"day")});h={start:b,end:v},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,b,v,"hovered-offset")}if(!f){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!o&&r===E.END_DATE){if((0,y.default)(u,n)){var O=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,O,"hovered-span")}if(!this.isBlocked(e)&&(0,y.default)(e,n)){var k=e.clone().add(1,"day");p=this.addModifierToRange(p,n,k,"hovered-span")}}if(!n&&o&&r===E.START_DATE&&((0,g.default)(u,o)&&(p=this.deleteModifierFromRange(p,u,o,"hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,o)&&(p=this.addModifierToRange(p,e,o,"hovered-span"))),n){var D=n.clone().add(1,"day"),w=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,D,w,"after-hovered-start"),(0,m.default)(e,n)){var S=n.clone().add(1,"day"),j=n.clone().add(i+1,"days");p=this.addModifierToRange(p,S,j,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:h,visibleDays:(0,a.default)({},d,p)})}}}}()},{key:"onDayMouseLeave",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=t.minimumNights,i=this.state,c=i.hoverDate,s=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&c){var u={};if(u=this.deleteModifier(u,c,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!o&&(0,y.default)(c,n)){var d=c.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&o&&(0,y.default)(o,c)&&(u=this.deleteModifierFromRange(u,c,o,"hovered-span")),n&&(0,m.default)(e,n)){var h=n.clone().add(1,"day"),f=n.clone().add(r+1,"days");u=this.deleteModifierFromRange(u,h,f,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,a.default)({},s,u)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(2,"months"),u=(0,O.default)(l,1,o,!0),d=i.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[e]});var l=i.clone().add(n+1,"month"),u=(0,O.default)(l,1,o,!0),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onMultiplyScrollableMonths",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,o=this.state,r=o.currentMonth,i=o.visibleDays,c=Object.keys(i).length,s=r.clone().add(c,"month"),l=(0,O.default)(s,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,r=n.startDate,a=n.endDate,i=n.focusedInput,c=n.minimumNights,s=n.numberOfMonths,l=e.clone().startOf("month");if(i===E.START_DATE&&r?l=r.clone():i===E.END_DATE&&!a&&r?l=r.clone().add(c,"days"):i===E.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(s-1,"months").endOf("month"),h=l.clone();!(0,y.default)(h,d);)h=h.clone().add(1,"day"),u.push(h);var f=u.filter(function(e){return!t.isBlocked(e)});f.length>0&&(l=o(f,1)[0])}return l}}()},{key:"getModifiers",value:function(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]={},e[o].forEach(function(e){n[o][(0,D.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,o=e.numberOfMonths,r=e.enableOutsideDays,a=e.orientation,i=e.startDate,c=(n||(i?function(){return i}:function(){return t.today}))(),s=a===E.VERTICAL_SCROLLABLE;return{currentMonth:c,visibleDays:this.getModifiers((0,O.default)(c,o,r,s))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,D.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.add(n),(0,a.default)({},t,I({},o,(0,a.default)({},r,I({},f,i))))},p);else{var b=(0,w.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.add(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,m))))}return p}}()},{key:"addModifierToRange",value:function(){return function(e,t,n,o){for(var r=e,a=t.clone();(0,g.default)(a,n);)r=this.addModifier(r,a,o),a=a.clone().add(1,"day");return r}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,D.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.delete(n),(0,a.default)({},t,I({},o,(0,a.default)({},r,I({},f,i))))},p);else{var b=(0,w.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.delete(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,m))))}return p}}()},{key:"deleteModifierFromRange",value:function(){return function(e,t,n,o){for(var r=e,a=t.clone();(0,g.default)(a,n);)r=this.deleteModifier(r,a,o),a=a.clone().add(1,"day");return r}}()},{key:"doesNotMeetMinimumNights",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.isOutsideRange,r=t.focusedInput,a=t.minimumNights;if(r!==E.END_DATE)return!1;if(n){var i=e.diff(n.clone().startOf("day").hour(12),"days");return i=0}return o((0,u.default)(e).subtract(a,"days"))}}()},{key:"isDayAfterHoveredStartDate",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=t.minimumNights,a=(this.state||{}).hoverDate;return!!n&&!o&&!this.isBlocked(e)&&(0,v.default)(a,e)&&r>0&&(0,m.default)(a,n)}}()},{key:"isEndDate",value:function(){return function(e){var t=this.props.endDate;return(0,m.default)(e,t)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}}()},{key:"isInHoveredSpan",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=(this.state||{}).hoverDate,a=!!n&&!o&&(e.isBetween(n,r)||(0,m.default)(r,e)),i=!!o&&!n&&(e.isBetween(r,o)||(0,m.default)(r,e)),c=r&&!this.isBlocked(r);return(a||i)&&c}}()},{key:"isInSelectedSpan",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate;return e.isBetween(n,o)}}()},{key:"isLastInRange",value:function(){return function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,v.default)(e,t)}}()},{key:"isStartDate",value:function(){return function(e){var t=this.props.startDate;return(0,m.default)(e,t)}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,o=t.isOutsideRange;return n(e)||o(e)||this.doesNotMeetMinimumNights(e)}}()},{key:"isToday",value:function(){return function(e){return(0,m.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,o=e.monthFormat,r=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,h=e.firstDayOfWeek,f=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.focusedInput,v=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,D=e.showKeyboardShortcuts,w=e.isRTL,S=e.weekDayFormat,j=e.dayAriaLabelFormat,M=e.verticalHeight,C=e.noBorder,P=e.transitionDuration,E=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.phrases,N=I.visibleDays;return i.default.createElement(z.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:o,renderMonthText:r,withPortal:u,hidden:!b,initialVisibleMonth:function(){return x},daySize:p,onOutsideClick:l,navPrev:a,navNext:c,noNavButtons:s,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:h,hideKeyboardShortcutsPanel:f,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:D,phrases:H,isRTL:w,weekDayFormat:S,dayAriaLabelFormat:j,verticalHeight:M,verticalBorderSpacing:E,noBorder:C,transitionDuration:P,horizontalMonthPadding:T})}}()}]),t}();t.default=R,R.propTypes=x,R.defaultProps=H},function(e,t,n){"use strict";var o=n(73),r=n(190),a=n(191),i=n(324),c=a();o(c,{getPolyfill:a,implementation:r,shim:i}),e.exports=c},function(e,t,n){"use strict";var o=n(166),r=n(91),a=n(74).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=o.RequireObjectCoercible(e),n=[];for(var i in t)r(t,i)&&a(t,i)&&n.push(t[i]);return n}},function(e,t,n){"use strict";var o=n(190);e.exports=function(){return"function"==typeof Object.values?Object.values:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!o.default.isMoment(e)||!o.default.isMoment(t))return!1;var n=(0,o.default)(e).add(1,"day");return(0,r.default)(n,t)};var o=a(n(29)),r=a(n(79));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!o.default.isMoment(e))return{};for(var i={},c=a?e.clone():e.clone().subtract(1,"month"),s=0;s<(a?t:t+2);s+=1){var l=[],u=c.clone(),d=u.clone().startOf("month").hour(12),h=u.clone().endOf("month").hour(12),f=d.clone();if(n)for(var p=0;p0&&this.setState({visibleDays:(0,a.default)({},D,z)})}}()},{key:"componentWillUpdate",value:function(){return function(){this.today=(0,u.default)()}}()},{key:"onDayClick",value:function(){return function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,o=n.onDateChange,r=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;o(e),r||(a({focused:!1}),i({date:e}))}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,o=t.visibleDays,r=this.deleteModifier({},n,"hovered");r=this.addModifier(r,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},o,r)})}}}()},{key:"onDayMouseLeave",value:function(){return function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var o=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,o)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,o);this.setState({currentMonth:l,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(l.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[e]});var l=i.clone().add(n,"month"),u=(0,m.default)(l,1,o),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,r=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(r&&(i=r.clone()),this.isBlocked(i)){for(var c=[],s=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,v.default)(l,s);)l=l.clone().add(1,"day"),c.push(l);var u=c.filter(function(e){return!t.isBlocked(e)&&(0,v.default)(e,i)});if(u.length>0){var d=o(u,1);i=d[0]}}return i}}()},{key:"getModifiers",value:function(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]={},e[o].forEach(function(e){n[o][(0,g.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,o=e.date,r=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(o?function(){return o}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,m.default)(i,r,a))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.add(n),(0,a.default)({},t,M({},o,(0,a.default)({},r,M({},f,i))))},p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.add(n),p=(0,a.default)({},p,M({},b,(0,a.default)({},v,M({},f,m))))}return p}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.delete(n),(0,a.default)({},t,M({},o,(0,a.default)({},r,M({},f,i))))},p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.delete(n),p=(0,a.default)({},p,M({},b,(0,a.default)({},v,M({},f,m))))}return p}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,o=t.isOutsideRange;return n(e)||o(e)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return(0,b.default)(e,t)}}()},{key:"isSelected",value:function(){return function(e){var t=this.props.date;return(0,b.default)(e,t)}}()},{key:"isToday",value:function(){return function(e){return(0,b.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,o=e.monthFormat,r=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,h=e.hideKeyboardShortcutsPanel,f=e.daySize,p=e.firstDayOfWeek,b=e.renderCalendarDay,v=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,D=e.dayAriaLabelFormat,w=e.onBlur,j=e.showKeyboardShortcuts,M=e.weekDayFormat,C=e.verticalHeight,P=e.noBorder,E=e.transitionDuration,z=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.visibleDays;return i.default.createElement(S.default,{orientation:n,enableOutsideDays:d,modifiers:H,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:o,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:h,initialVisibleMonth:function(){return x},firstDayOfWeek:p,onOutsideClick:s,navPrev:a,navNext:c,renderMonthText:r,renderCalendarDay:b,renderDayContents:v,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:w,phrases:_,daySize:f,isRTL:k,showKeyboardShortcuts:j,weekDayFormat:M,dayAriaLabelFormat:D,verticalHeight:C,noBorder:P,transitionDuration:E,verticalBorderSpacing:z,horizontalMonthPadding:T})}}()}]),t}();t.default=E,E.propTypes=C,E.defaultProps=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=p(n(31)),r=p(n(64)),a=n(43),i=n(47),c=p(n(51)),s=p(n(92)),l=p(n(174)),u=p(n(175)),d=p(n(83)),h=p(n(75)),f=p(n(93));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:r.default.momentObj,onDateChange:o.default.func.isRequired,focused:o.default.bool,onFocusChange:o.default.func.isRequired,id:o.default.string.isRequired,placeholder:o.default.string,disabled:o.default.bool,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDate:o.default.bool,customCloseIcon:o.default.node,showDefaultInputIcon:o.default.bool,inputIconPosition:s.default,customInputIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,initialVisibleMonth:o.default.func,firstDayOfWeek:h.default,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDate:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:f.default,hideKeyboardShortcutsPanel:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,navPrev:o.default.node,navNext:o.default.node,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,onClose:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,c.default)(i.SingleDatePickerPhrases)),dayAriaLabelFormat:o.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===o(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,c.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}();function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var o,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":r(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(e),o.removeAllRanges(),o.addRange(r),t=o.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},h=1;h<20;++h)s[111+h]="f"+h;for(h=0;h<=9;++h)s[h+96]=h.toString();y.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},y.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},y.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},y.prototype.reset=function(){return this._callbacks={},this._directMap={},this},y.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},y.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=null},y.init=function(){var e=y(a);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),r.Mousetrap=y,e.exports&&(e.exports=y),void 0===(o=function(){return y}.call(t,n,t,e))||(e.exports=o)}function f(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return s[e.which]?s[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function b(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!c)for(var e in c={},s)e>95&&e<112||s.hasOwnProperty(e)&&(c[s[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function m(e,t){var n,o,r,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),r=0;r1?h(e,c,n,o):(i=m(e,o),t._callbacks[i.key]=t._callbacks[i.key]||[],l(i.key,i.modifiers,{type:i.action},r,e,a),t._callbacks[i.key][r?"unshift":"push"]({callback:n,modifiers:i.modifiers,action:i.action,seq:r,level:a,combo:e}))}t._handleKey=function(e,t,n){var o,r=l(e,t,n),a={},d=0,h=!1;for(o=0;o=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t){var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=function(e,t,r){if("[object Function]"!==o.call(t))throw new TypeError("iterator must be a function");var a=e.length;if(a===+a)for(var i=0;i= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n}});delete a.EnumerableOwnNames,e.exports=a},function(e,t,n){"use strict";var o=n(91),r=n(271),a=n(147),i=a("%TypeError%"),c=a("%SyntaxError%"),s=a("%Array%"),l=a("%String%"),u=a("%Object%"),d=a("%Number%"),h=a("%Symbol%",!0),f=a("%RegExp%"),p=!!h,b=n(148),v=n(149),m=d.MAX_SAFE_INTEGER||Math.pow(2,53)-1,y=n(124),g=n(150),O=n(151),k=n(275),_=parseInt,D=n(74),w=D.call(Function.call,s.prototype.slice),S=D.call(Function.call,l.prototype.slice),j=D.call(Function.call,f.prototype.test,/^0b[01]+$/i),M=D.call(Function.call,f.prototype.test,/^0o[0-7]+$/i),C=D.call(Function.call,f.prototype.exec),P=new f("["+["…","​","￾"].join("")+"]","g"),E=D.call(Function.call,f.prototype.test,P),z=D.call(Function.call,f.prototype.test,/^[-+]0x[0-9a-f]+$/i),T=D.call(Function.call,l.prototype.charCodeAt),I=D.call(Function.call,Object.prototype.toString),x=Math.floor,H=Math.abs,N=Object.create,R=u.getOwnPropertyDescriptor,L=u.isExtensible,A=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),F=new RegExp("(^["+A+"]+)|(["+A+"]+$)","g"),V=D.call(Function.call,l.prototype.replace),B=n(276),K=n(278),W=y(y({},B),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new i(e+" is not a function");return e.apply(t,n)},ToPrimitive:r,ToNumber:function(e){var t=k(e)?e:r(e,d);if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a number");if("string"==typeof t){if(j(t))return this.ToNumber(_(S(t,2),2));if(M(t))return this.ToNumber(_(S(t,2),8));if(E(t)||z(t))return NaN;var n=function(e){return V(e,F,"")}(t);if(n!==t)return this.ToNumber(n)}return d(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(b(t)||0===t||!v(t))return 0;var n=g(t)*x(H(t));return O(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(b(t)||t<=0)return 0;if(t>=255)return 255;var n=x(e);return n+.5m?m:t},CanonicalNumericIndexString:function(e){if("[object String]"!==I(e))throw new i("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:B.CheckObjectCoercible,IsArray:s.isArray||function(e){return"[object Array]"===I(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!k(e)&&L(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||b(e)||!v(e))return!1;var t=H(e);return x(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(p){var t=e[h.match];if(void 0!==t)return B.ToBoolean(t)}return K(e)},SameValueZero:function(e,t){return e===t||b(e)&&b(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new i(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":B.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new i("O.constructor is not an Object");var o=p&&h.species?n[h.species]:void 0;if(null==o)return t;if(this.IsConstructor(o))return o;throw new i("no constructor found")},CompletePropertyDescriptor:function(e){if(!this.IsPropertyDescriptor(e))throw new i("Desc must be a Property Descriptor");return this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(o(e,"[[Value]]")||(e["[[Value]]"]=void 0),o(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(o(e,"[[Get]]")||(e["[[Get]]"]=void 0),o(e,"[[Set]]")||(e["[[Set]]"]=void 0)),o(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),o(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,o){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");if("Boolean"!==this.Type(o))throw new i("Throw must be a Boolean");if(o)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return o(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(p&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");var n=w(arguments,2),o=this.GetV(e,t);return this.Call(o,e,n)},GetIterator:function(e,t){if(!p)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var o=this.Call(n,e);if("Object"!==this.Type(o))throw new i("iterator must return an object");return o},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new i("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new i("Assertion failed: completion is not a thunk for a Completion Record");var n,o=t,r=this.GetMethod(e,"return");if(void 0===r)return o();try{var a=this.Call(r,e,[])}catch(e){throw n=o(),o=null,e}if(n=o(),o=null,"Object"!==this.Type(a))throw new i("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new i("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new i("R must be an Object");if("String"!==this.Type(t))throw new i("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var o=this.Call(n,e,[t]);if(null===o||"Object"===this.Type(o))return o;throw new i('"exec" method must return `null` or an Object')}return C(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");var n,o=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&p&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return s(o);if(!this.IsConstructor(n))throw new i("C must be a constructor");return new n(o)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=R(e,t),r=o||"function"!=typeof L||L(e);if(o&&(!o.writable||!o.configurable)||!r)return!1;var a={configurable:!0,enumerable:!0,value:n,writable:!0};return Object.defineProperty(e,t,a),!0},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=this.CreateDataProperty(e,t,n);if(!o)throw new i("unable to create data property");return o},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new i("Assertion failed: proto must be null or an object");if((arguments.length<2?[]:t).length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!N)throw new c("native Object.create support is required to create null objects");return N(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new i("S must be a String");if(!this.IsInteger(t)||t<0||t>m)throw new i("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new i("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var o=T(e,t);if(o<55296||o>56319)return t+1;var r=T(e,t+1);return r<56320||r>57343?t+1:t+2}});delete W.CheckObjectCoercible,e.exports=W},function(e,t,n){"use strict";e.exports=n(272)},function(e,t,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,r=n(144),a=n(123),i=n(273),c=n(145);e.exports=function(e){if(r(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),o&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!=n){if(!a(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}}(e,Symbol.toPrimitive):c(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var s=t.call(e,n);if(r(s))return s;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||c(e))&&(n="string"),function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,o,i,c="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!s(t))return 0;var n=l(t)*Math.floor(Math.abs(t));return u(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),r(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:d,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(f(e,n)&&!t[n])return!1;var o=f(e,"[[Value]]"),r=f(e,"[[Get]]")||f(e,"[[Set]]");if(o&&r)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Get]]")&&!f(e,"[[Set]]"))},IsDataDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Value]]")&&!f(e,"[[Writable]]"))},IsGenericDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e)},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");if(this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new a("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new a("ToPropertyDescriptor requires an object");var t={};if(f(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),f(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),f(e,"value")&&(t["[[Value]]"]=e.value),f(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),f(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(f(e,"set")){var o=e.set;if(void 0!==o&&!this.IsCallable(o))throw new a("setter must be a function");t["[[Set]]"]=o}if((f(t,"[[Get]]")||f(t,"[[Set]]"))&&(f(t,"[[Value]]")||f(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=p},function(e,t,n){"use strict";var o=Object.prototype.toString,r=n(144),a=n(123),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===o.call(e)?String:Number)===String||t===Number){var n,i,c=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1?i(e,arguments[1]):i(e)}},function(e,t,n){"use strict";var o=n(91),r=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c)return"[object RegExp]"===i.call(e);var t=a(e,"lastIndex");return!(!t||!o(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,r.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var o=n(73),r=n(152);e.exports=function(){var e=r();return o(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var o=n(73),r=n(145),a="__ global cache key __";"function"==typeof Symbol&&r(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},c=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,o(t,e,n)}return t[a]},s=c(),l=function(e){return r(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],s=c()},delete:function(e){return u(e),delete s[l(e)],!d.has(e)},get:function(e){return u(e),s[l(e)]},has:function(e){return u(e),l(e)in s},set:function(e,t){u(e);var n=l(e),r={};r[n]=t;var a={};return a[n]=i,o(s,r,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(59))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,o={},r=0;r>",baseInvalidMessage:"Invalid "};function o(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var o=e.bind(null,!1,t);return o.isRequired=e.bind(null,!0,t),o},t}function r(e,t,o){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+o+"`.")}var a=-1;e.exports={constructPropValidatorVariations:o,createMomentChecker:function(e,t,i,c){return o(function(o,s,l,u,d,h,f){var p=l[u],b=typeof p,v=function(e,t,n,o){var i=void 0===o,c=null===o;if(e){if(i)return r(n,t,"undefined");if(c)return r(n,t,"null")}return i||c?null:a}(o,d=d||n.anonymousMessage,f=f||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+c+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null})},messages:n}},function(e,t,n){"use strict";function o(){return null}function r(){return o}o.isRequired=o,e.exports={and:r,between:r,booleanSome:r,childrenHavePropXorChildren:r,childrenOf:r,childrenOfType:r,childrenSequenceOf:r,componentWithName:r,disallowedIf:r,elementType:r,empty:r,explicitNull:r,forbidExtraProps:Object,integer:r,keysOf:r,mutuallyExclusiveProps:r,mutuallyExclusiveTrueProps:r,nChildren:r,nonNegativeInteger:o,nonNegativeNumber:r,numericString:r,object:r,or:r,range:r,requiredBy:r,restrictedProp:r,sequenceOf:r,shape:r,stringStartsWith:r,uniqueArray:r,uniqueArrayOf:r,valuesOf:r,withShape:r}},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){var n;return t&&!0===t.clone&&o(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e}function i(e,t,n){var r=e.slice();return t.forEach(function(t,i){void 0===r[i]?r[i]=a(t,n):o(t)?r[i]=c(e[i],t,n):-1===e.indexOf(t)&&r.push(a(t,n))}),r}function c(e,t,n){var r=Array.isArray(t);return r===Array.isArray(e)?r?((n||{arrayMerge:i}).arrayMerge||i)(e,t,n):function(e,t,n){var r={};return o(e)&&Object.keys(e).forEach(function(t){r[t]=a(e[t],n)}),Object.keys(t).forEach(function(i){o(t[i])&&e[i]?r[i]=c(e[i],t[i],n):r[i]=a(t[i],n)}),r}(e,t,n):a(t,n)}c.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,n){return c(e,n,t)})};var s=c;e.exports=s},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o};t.default=a.default.shape({getState:a.default.func,setState:a.default.func,subscribe:a.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var o=c(n(27)),r=n(43),a=c(n(125)),i=c(n(296));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.forbidExtraProps)({children:(0,r.or)([(0,r.childrenOfType)(a.default),(0,r.childrenOfType)(i.default)]).isRequired});function l(e){var t=e.children;return o.default.createElement("tr",null,t)}l.propTypes=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:a.default.localeData().firstDayOfWeek();if(!a.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var o=e.clone().startOf("month").hour(12),r=e.clone().endOf("month").hour(12),c=(o.day()+7-n)%7,s=(n+6-r.day())%7,l=o.clone().subtract(c,"day"),u=r.clone().add(s,"day").diff(l,"days")+1,d=l.clone(),h=[],f=0;f=c&&f0&&!r.call(e,0))for(var b=0;b0)for(var v=0;v0&&!r.call(e,0))for(var b=0;b0)for(var v=0;v=t||n<0||m&&e-b>=d}function k(){var e=r();if(O(e))return _(e);f=setTimeout(k,function(e){var n=t-(e-p);return m?s(n,d-(e-b)):n}(e))}function _(e){return f=void 0,y&&l?g(e):(l=u=void 0,h)}function D(){var e=r(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return b=e,f=setTimeout(k,t),v?g(e):h}(p);if(m)return f=setTimeout(k,t),g(p)}return void 0===f&&(f=setTimeout(k,t)),h}return t=a(t)||0,o(n)&&(v=!!n.leading,d=(m="maxWait"in n)?c(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),D.cancel=function(){void 0!==f&&clearTimeout(f),b=0,l=p=u=f=void 0},D.flush=function(){return void 0===f?h:_(r())},D}},function(e,t,n){var o=n(183);e.exports=function(){return o.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(59))},function(e,t,n){var o=n(128),r=n(319),a=NaN,i=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):c.test(e)?a:+e}},function(e,t,n){var o=n(320),r=n(323),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||r(e)&&o(e)==a}},function(e,t,n){var o=n(184),r=n(321),a=n(322),i="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:s&&s in Object(e)?r(e):a(e)}},function(e,t,n){var o=n(184),r=Object.prototype,a=r.hasOwnProperty,i=r.toString,c=o?o.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var o=!0}catch(e){}var r=i.call(e);return o&&(t?e[c]=n:delete e[c]),r}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var o=n(191),r=n(73);e.exports=function(){var e=o();return r(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return e?n(e(t.clone())):t};var o=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:a.default.localeData().firstDayOfWeek(),n=function(e,t){return(e.day()-t+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=n.split(" "),i=Object(h.a)(a,2),c=i[0],s=i[1],l=void 0===s?"center":s,u=function(e,t,n){var o,r=t.height,a=e.top+e.height/2,i={popoverTop:a,contentHeight:(a-r/2>0?r/2:a)+(a+r/2>window.innerHeight?window.innerHeight-a:r/2)},c={popoverTop:e.top,contentHeight:e.top-N-r>0?r:e.top-N},s={popoverTop:e.bottom,contentHeight:e.bottom+N+r>window.innerHeight?window.innerHeight-N-e.bottom:r},l=null;if("middle"===n&&i.contentHeight===r)o="middle";else if("top"===n&&c.contentHeight===r)o="top";else if("bottom"===n&&s.contentHeight===r)o="bottom";else{var u="top"==(o=c.contentHeight>s.contentHeight?"top":"bottom")?c.contentHeight:s.contentHeight;l=u!==r?u:null}return{yAxis:o,popoverTop:"middle"===o?i.popoverTop:"top"===o?c.popoverTop:s.popoverTop,contentHeight:l}}(e,t,c),d=function(e,t,n,o){var r=t.width;"left"===n&&L()?n="right":"right"===n&&L()&&(n="left");var a,i=Math.round(e.left+e.width/2),c={popoverLeft:i,contentWidth:(i-r/2>0?r/2:i)+(i+r/2>window.innerWidth?window.innerWidth-i:r/2)},s="middle"===o?e.left:i,l={popoverLeft:s,contentWidth:s-r>0?r:s},u="middle"===o?e.right:i,d={popoverLeft:u,contentWidth:u+r>window.innerWidth?window.innerWidth-u:r},h=null;if("center"===n&&c.contentWidth===r)a="center";else if("left"===n&&l.contentWidth===r)a="left";else if("right"===n&&d.contentWidth===r)a="right";else{var f="left"==(a=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;h=f!==r?f:null}return{xAxis:a,popoverLeft:"center"===a?c.popoverLeft:"left"===a?l.popoverLeft:d.popoverLeft,contentWidth:h}}(e,t,l,u.yAxis);return Object(o.a)({isMobile:R()&&r},d,u)}var F=Object(r.createContext)({focusHistory:[]}),V=F.Provider,B=F.Consumer;V.displayName="FocusReturnProvider",B.displayName="FocusReturnConsumer";var K=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onFocus=e.onFocus.bind(Object(k.a)(Object(k.a)(e))),e.state={focusHistory:[]},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"onFocus",value:function(e){var t=this.state.focusHistory,n=Object(D.uniq)([].concat(Object(_.a)(t),[e.target]).slice(-100).reverse()).reverse();this.setState({focusHistory:n})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className;return Object(r.createElement)(V,{value:this.state},Object(r.createElement)("div",{onFocus:this.onFocus,className:n},t))}}]),t}(r.Component);var W=Object(j.createHigherOrderComponent)(function e(t){if((o=t)instanceof r.Component||"function"==typeof o){var n=t;return e({})(n)}var o,a=t.onFocusReturn,i=void 0===a?D.stubTrue:a;return function(e){var t=function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==i())for(var o,r=[].concat(Object(_.a)(D.without.apply(void 0,[this.props.focusHistory].concat(Object(_.a)(n)))),[e]);o=r.pop();)if(document.body.contains(o))return void o.focus()}},{key:"render",value:function(){return Object(r.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(r.createElement)(e,this.props))}}]),n}(r.Component);return function(e){return Object(r.createElement)(B,null,function(n){return Object(r.createElement)(t,Object(P.a)({},e,n))})}}},"withFocusReturn"),U=Object(j.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).focusContainRef=Object(r.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===w.TAB){var t=C.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],o=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),o.focus()):(e.shiftKey||e.target!==o)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(r.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"withConstrainedTabbing"),$=n(108),Y=n.n($),q=function(e){function t(){return Object(v.a)(this,t),Object(m.a)(this,Object(y.a)(t).apply(this,arguments))}return Object(O.a)(t,e),Object(g.a)(t,[{key:"handleClickOutside",value:function(e){var t=this.props.onClickOutside;t&&t(e)}},{key:"render",value:function(){return this.props.children}}]),t}(r.Component),G=Y()(q);var Z=function(e){var t,n,o=e.shortcut,a=e.className;return o?(Object(D.isString)(o)&&(t=o),Object(D.isObject)(o)&&(t=o.display,n=o.ariaLabel),Object(r.createElement)("span",{className:a,"aria-label":n},t)):null},X=700,Q=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).delayedSetIsOver=Object(D.debounce)(function(t){return e.setState({isOver:t})},X),e.state={isOver:!1},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel()}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===r.Children.count(n)){var o=r.Children.only(n);"function"==typeof o.props[e]&&o.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(o){if(n.emitToChild(e,o),!o.currentTarget.disabled){n.delayedSetIsOver.cancel();var r=Object(D.includes)(["focus","mouseenter"],o.type);r!==n.state.isOver&&(t?n.delayedSetIsOver(r):n.setState({isOver:r}))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,o=e.text,a=e.shortcut;if(1!==r.Children.count(t))return t;var i=r.Children.only(t),c=this.state.isOver;return Object(r.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),children:Object(r.concatChildren)(i.props.children,c&&Object(r.createElement)(ve,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},o,Object(r.createElement)(Z,{className:"components-tooltip__shortcut",shortcut:a})))})}}]),t}(r.Component),J=function(e){function t(){return Object(v.a)(this,t),Object(m.a)(this,Object(y.a)(t).apply(this,arguments))}return Object(O.a)(t,e),Object(g.a)(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.icon!==e.icon||this.props.size!==e.size||this.props.className!==e.className||this.props.ariaPressed!==e.ariaPressed}},{key:"render",value:function(){var e,t=this.props,n=t.icon,o=t.size,a=void 0===o?20:o;switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var i,s=["dashicon","dashicons-"+(i=this.props).icon,i.className].filter(Boolean).join(" ");return Object(r.createElement)(u,{"aria-hidden":!0,role:"img",focusable:"false",className:s,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 20 20"},Object(r.createElement)(c,{d:e}))}}]),t}(r.Component);var ee=Object(r.forwardRef)(function(e,t){var n=e.icon,o=e.children,a=e.label,i=e.className,c=e.tooltip,s=e.shortcut,l=e.labelPosition,u=Object(T.a)(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),d=u["aria-pressed"],h=p()("components-icon-button",i,{"has-text":o}),f=c||a,b=!u.disabled&&(c||s||!!a&&(!o||Object(D.isArray)(o)&&!o.length)&&!1!==c),v=Object(r.createElement)(I,Object(P.a)({"aria-label":a},u,{className:h,ref:t}),Object(D.isString)(n)?Object(r.createElement)(J,{icon:n,ariaPressed:d}):n,o);return b&&(v=Object(r.createElement)(Q,{text:f,shortcut:s,position:l},v)),v});var te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,o=e.className,a=void 0===o?"lockscroll":o,i=0,c=0;function s(e){var t=n.scrollingElement||n.body;e&&(c=t.scrollTop);var o=e?"add":"remove";t.classList[o](a),n.documentElement.classList[o](a),e||(t.scrollTop=c)}return function(e){function t(){return Object(v.a)(this,t),Object(m.a)(this,Object(y.a)(t).apply(this,arguments))}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){0===i&&s(!0),++i}},{key:"componentWillUnmount",value:function(){1===i&&s(!1),--i}},{key:"render",value:function(){return null}}]),t}(r.Component)}(),ne=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(T.a)(e,["children"]);return Object(r.createElement)("div",Object(P.a)({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(r.Component),oe=Object(r.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){}}),re=oe.Provider,ae=oe.Consumer,ie=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Object(k.a)(Object(k.a)(e))),e.registerFill=e.registerFill.bind(Object(k.a)(Object(k.a)(e))),e.unregisterSlot=e.unregisterSlot.bind(Object(k.a)(Object(k.a)(e))),e.unregisterFill=e.unregisterFill.bind(Object(k.a)(Object(k.a)(e))),e.getSlot=e.getSlot.bind(Object(k.a)(Object(k.a)(e))),e.getFills=e.getFills.bind(Object(k.a)(Object(k.a)(e))),e.slots={},e.fills={},e.state={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"registerSlot",value:function(e,t){var n=this.slots[e];this.slots[e]=t,this.forceUpdateFills(e),this.forceUpdateSlot(e),n&&n.forceUpdate()}},{key:"registerFill",value:function(e,t){this.fills[e]=[].concat(Object(_.a)(this.fills[e]||[]),[t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e,t){this.slots[e]===t&&(delete this.slots[e],this.forceUpdateFills(e))}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(D.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e,t){return this.slots[e]!==t?[]:Object(D.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(D.forEach)(this.fills[e],function(e){e.resetOccurrence()})}},{key:"forceUpdateFills",value:function(e){Object(D.forEach)(this.fills[e],function(e){e.forceUpdate()})}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"render",value:function(){return Object(r.createElement)(re,{value:this.state},this.props.children)}}]),t}(r.Component),ce=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,o=t.unregisterSlot,r=t.registerSlot;e.name!==n&&(o(e.name),r(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,o=e.bubblesVirtually,a=void 0!==o&&o,i=e.fillProps,c=void 0===i?{}:i,s=e.getFills;if(a)return Object(r.createElement)("div",{ref:this.bindNode});var l=Object(D.map)(s(n,this),function(e){var t=e.occurrence,n=Object(D.isFunction)(e.props.children)?e.props.children(c):e.props.children;return r.Children.map(n,function(e,n){if(!e||Object(D.isString)(e))return e;var o="".concat(t,"---").concat(e.key||n);return Object(r.cloneElement)(e,{key:o})})}).filter(Object(D.negate)(r.isEmptyElement));return Object(r.createElement)(r.Fragment,null,Object(D.isFunction)(t)?t(l):l)}}]),t}(r.Component),se=function(e){return Object(r.createElement)(ae,null,function(t){var n=t.registerSlot,o=t.unregisterSlot,a=t.getFills;return Object(r.createElement)(ce,Object(P.a)({},e,{registerSlot:n,unregisterSlot:o,getFills:a}))})},le=0,ue=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).occurrence=++le,e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerFill)(this.props.name,this)}},{key:"componentWillUpdate",value:function(){this.occurrence||(this.occurrence=++le);var e=(0,this.props.getSlot)(this.props.name);e&&!e.props.bubblesVirtually&&e.forceUpdate()}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterFill)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,o=t.unregisterFill,r=t.registerFill;e.name!==n&&(o(e.name,this),r(n,this))}},{key:"resetOccurrence",value:function(){this.occurrence=null}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.getSlot,o=this.props.children,a=n(t);return a&&a.node&&a.props.bubblesVirtually?(Object(D.isFunction)(o)&&(o=o(a.props.fillProps)),Object(r.createPortal)(o,a.node)):null}}]),t}(r.Component),de=function(e){return Object(r.createElement)(ae,null,function(t){var n=t.getSlot,o=t.registerFill,a=t.unregisterFill;return Object(r.createElement)(ue,Object(P.a)({},e,{getSlot:n,registerFill:o,unregisterFill:a}))})};function he(e){var t=function(t){return Object(r.createElement)(de,Object(P.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(r.createElement)(se,Object(P.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var fe=U(W(function(e){return e.children})),pe=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).getAnchorRect=e.getAnchorRect.bind(Object(k.a)(Object(k.a)(e))),e.computePopoverPosition=e.computePopoverPosition.bind(Object(k.a)(Object(k.a)(e))),e.maybeClose=e.maybeClose.bind(Object(k.a)(Object(k.a)(e))),e.throttledRefresh=e.throttledRefresh.bind(Object(k.a)(Object(k.a)(e))),e.refresh=e.refresh.bind(Object(k.a)(Object(k.a)(e))),e.refreshOnAnchorMove=e.refreshOnAnchorMove.bind(Object(k.a)(Object(k.a)(e))),e.contentNode=Object(r.createRef)(),e.anchorNode=Object(r.createRef)(),e.state={popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1,popoverSize:null,isReadyToAnimate:!1},e.anchorRect={},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.toggleAutoRefresh(!0),this.refresh(),this.focusTimeout=setTimeout(function(){e.focus()},0)}},{key:"componentDidUpdate",value:function(e){e.position!==this.props.position&&this.computePopoverPosition(this.state.popoverSize,this.anchorRect)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.focusTimeout),this.toggleAutoRefresh(!1)}},{key:"toggleAutoRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle);var t=e?"addEventListener":"removeEventListener";window[t]("resize",this.throttledRefresh),window[t]("scroll",this.throttledRefresh,!0),e?this.autoRefresh=setInterval(this.refreshOnAnchorMove,500):clearInterval(this.autoRefresh)}},{key:"throttledRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle),e&&"scroll"===e.type&&this.contentNode.current.contains(e.target)||(this.rafHandle=window.requestAnimationFrame(this.refresh))}},{key:"refreshOnAnchorMove",value:function(){var e=this.props.getAnchorRect,t=(void 0===e?this.getAnchorRect:e)(this.anchorNode.current);!H()(t,this.anchorRect)&&(this.anchorRect=t,this.computePopoverPosition(this.state.popoverSize,t))}},{key:"refresh",value:function(){var e=this.props.getAnchorRect,t=(void 0===e?this.getAnchorRect:e)(this.anchorNode.current),n=this.contentNode.current.getBoundingClientRect(),o={width:n.width,height:n.height};(!this.state.popoverSize||o.width!==this.state.popoverSize.width||o.height!==this.state.popoverSize.height)&&this.setState({popoverSize:o,isReadyToAnimate:!0}),this.anchorRect=t,this.computePopoverPosition(o,t)}},{key:"focus",value:function(){var e=this.props.focusOnMount;if(e&&this.contentNode.current)if("firstElement"!==e)"container"===e&&this.contentNode.current.focus();else{var t=C.focus.tabbable.find(this.contentNode.current)[0];t?t.focus():this.contentNode.current.focus()}}},{key:"getAnchorRect",value:function(e){if(e&&e.parentNode){var t=e.parentNode.getBoundingClientRect(),n=window.getComputedStyle(e.parentNode),o=n.paddingTop,r=n.paddingBottom,a=parseInt(o,10),i=parseInt(r,10);return{x:t.left,y:t.top+a,width:t.width,height:t.height-a-i,left:t.left,right:t.right,top:t.top+a,bottom:t.bottom-i}}}},{key:"computePopoverPosition",value:function(e,t){var n=this.props,o=n.position,r=A(t,e,void 0===o?"top":o,n.expandOnMobile);this.state.yAxis===r.yAxis&&this.state.xAxis===r.xAxis&&this.state.popoverLeft===r.popoverLeft&&this.state.popoverTop===r.popoverTop&&this.state.contentHeight===r.contentHeight&&this.state.contentWidth===r.contentWidth&&this.state.isMobile===r.isMobile||this.setState(r)}},{key:"maybeClose",value:function(e){var t=this.props,n=t.onKeyDown,o=t.onClose;e.keyCode===w.ESCAPE&&o&&(e.stopPropagation(),o()),n&&n(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.headerTitle,o=t.onClose,a=t.children,i=t.className,c=t.onClickOutside,s=void 0===c?o:c,l=t.noArrow,u=(t.position,t.range,t.focusOnMount),d=(t.getAnchorRect,t.expandOnMobile),h=t.animate,f=void 0===h||h,v=Object(T.a)(t,["headerTitle","onClose","children","className","onClickOutside","noArrow","position","range","focusOnMount","getAnchorRect","expandOnMobile","animate"]),m=this.state,y=m.popoverLeft,g=m.popoverTop,O=m.yAxis,k=m.xAxis,_=m.contentHeight,D=m.contentWidth,w=m.popoverSize,S=m.isMobile,j=m.isReadyToAnimate,M={top:"bottom",bottom:"top"}[O]||"middle",C={left:"right",right:"left"}[k]||"center",E=p()("components-popover",i,"is-"+O,"is-"+k,{"is-mobile":S,"is-without-arrow":l||"center"===k&&"middle"===O}),z=Object(r.createElement)(G,{onClickOutside:s},Object(r.createElement)(b,{type:f&&j?"appear":null,options:{origin:M+" "+C}},function(t){var i=t.className;return Object(r.createElement)(ne,Object(P.a)({className:p()(E,i),style:{top:!S&&g?g+"px":void 0,left:!S&&y?y+"px":void 0,visibility:w?void 0:"hidden"}},v,{onKeyDown:e.maybeClose}),S&&Object(r.createElement)("div",{className:"components-popover__header"},Object(r.createElement)("span",{className:"components-popover__header-title"},n),Object(r.createElement)(ee,{className:"components-popover__close",icon:"no-alt",onClick:o})),Object(r.createElement)("div",{ref:e.contentNode,className:"components-popover__content",style:{maxHeight:!S&&_?_+"px":void 0,maxWidth:!S&&D?D+"px":void 0},tabIndex:"-1"},a))}));return u&&(z=Object(r.createElement)(fe,null,z)),Object(r.createElement)(ae,null,function(t){var n=t.getSlot;return n&&n("Popover")&&(z=Object(r.createElement)(de,{name:"Popover"},z)),Object(r.createElement)("span",{ref:e.anchorNode},z,S&&d&&Object(r.createElement)(te,null))})}}]),t}(r.Component);pe.defaultProps={focusOnMount:"firstElement",noArrow:!1};var be=pe;be.Slot=function(){return Object(r.createElement)(se,{bubblesVirtually:!0,name:"Popover"})};var ve=be,me=n(48),ye=Object(j.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).debouncedSpeak=Object(D.debounce)(e.speak.bind(Object(k.a)(Object(k.a)(e))),500),e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(me.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(r.createElement)(e,Object(P.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(r.Component)},"withSpokenMessages");function ge(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=[],r=0;r0,v=b?"components-autocomplete-listbox-".concat(o):null,m=b?"components-autocomplete-item-".concat(o,"-").concat(d):null;return Object(r.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:b,listBoxId:v,activeId:m}),b&&Object(r.createElement)(ve,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:Oe},Object(r.createElement)("div",{id:v,role:"listbox",className:"components-autocomplete__results"},b&&Object(D.map)(l,function(t,n){return Object(r.createElement)(I,{key:t.key,id:"components-autocomplete-item-".concat(o,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:p()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(r.Component),_e=Object(j.compose)([ye,j.withInstanceId,z])(ke);var De=function(e){var t=e.id,n=e.label,o=e.help,a=e.className,i=e.children;return Object(r.createElement)("div",{className:p()("components-base-control",a)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n),n&&!t&&Object(r.createElement)("span",{className:"components-base-control__label"},n),i),!!o&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},o))};var we=function(e){var t=e.className,n=Object(T.a)(e,["className"]),o=p()("components-button-group",t);return Object(r.createElement)("div",Object(P.a)({},n,{className:o,role:"group"}))};var Se=Object(j.withInstanceId)(function(e){var t=e.label,n=e.className,o=e.heading,a=e.checked,i=e.help,c=e.instanceId,s=e.onChange,l=Object(T.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(c);return Object(r.createElement)(De,{label:o,id:u,help:i,className:n},Object(r.createElement)("input",Object(P.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return s(e.target.checked)},checked:a,"aria-describedby":i?u+"__help":void 0},l)),Object(r.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))}),je=n(221),Me=n.n(je),Ce=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(k.a)(Object(k.a)(e))),e.onCopy=e.onCopy.bind(Object(k.a)(Object(k.a)(e))),e.getText=e.getText.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){var e=this.container,t=this.getText,n=this.onCopy,o=e.firstChild;this.clipboard=new Me.a(o,{text:t,container:e}),this.clipboard.on("success",n)}},{key:"componentWillUnmount",value:function(){this.clipboard.destroy(),delete this.clipboard,clearTimeout(this.onCopyTimeout)}},{key:"bindContainer",value:function(e){this.container=e}},{key:"onCopy",value:function(e){e.clearSelection();var t=this.props,n=t.onCopy,o=t.onFinishCopy;n&&(n(),o&&(clearTimeout(this.onCopyTimeout),this.onCopyTimeout=setTimeout(o,4e3)))}},{key:"getText",value:function(){var e=this.props.text;return"function"==typeof e&&(e=e()),e}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,o=(e.onCopy,e.onFinishCopy,e.text,Object(T.a)(e,["className","children","onCopy","onFinishCopy","text"])),a=o.icon,i=p()("components-clipboard-button",t),c=a?ee:I;return Object(r.createElement)("span",{ref:this.bindContainer,onCopy:function(e){e.target.focus()}},Object(r.createElement)(c,Object(P.a)({},o,{className:i}),n))}}]),t}(r.Component),Pe=function(e){var t=e.className,n=e.colorValue,o=Object(T.a)(e,["className","colorValue"]);return Object(r.createElement)("span",Object(P.a)({className:p()("component-color-indicator",t),style:{background:n}},o))},Ee=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(k.a)(Object(k.a)(e))),e.close=e.close.bind(Object(k.a)(Object(k.a)(e))),e.closeIfClickOutside=e.closeIfClickOutside.bind(Object(k.a)(Object(k.a)(e))),e.containerRef=Object(r.createRef)(),e.state={isOpen:!1},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,o=this.props.onToggle;t.isOpen!==n&&o&&o(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfClickOutside",value:function(e){this.containerRef.current.contains(e.target)||this.close()}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,o=t.renderToggle,a=t.position,i=void 0===a?"bottom":a,c=t.className,s=t.contentClassName,l=t.expandOnMobile,u=t.headerTitle,d=t.focusOnMount,h={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(r.createElement)("div",{className:c,ref:this.containerRef},o(h),e&&Object(r.createElement)(ve,{className:s,position:i,onClose:this.close,onClickOutside:this.closeIfClickOutside,expandOnMobile:l,headerTitle:u,focusOnMount:d},n(h)))}}]),t}(r.Component),ze=n(45),Te=n.n(ze);function Ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?Te()(e.hex):Te()(e),o=n.toHsl();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.l=Math.round(100*o.l);var r=n.toHsv();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.v=Math.round(100*r.v);var a=n.toRgb(),i=n.toHex();return 0===o.s&&(o.h=t||0,r.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:o,hsv:r,oldHue:e.h||t||o.h,rgb:a,source:e.source}}function xe(e,t){e.preventDefault();var n=t.getBoundingClientRect(),o=n.left,r=n.top,a=n.width,i=n.height,c="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=c-(o+window.pageXOffset),u=s-(r+window.pageYOffset);return l<0?l=0:l>a?l=a:u<0?u=0:u>i&&(u=i),{top:u,left:l,width:a,height:i}}var He=n(222),Ne=n.n(He),Re=(n(259),function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new Ne.a(n),Object(D.forEach)(this.props.shortcuts,function(t,n){var o=e.props,r=o.bindGlobal,a=o.eventName,i=r?"bindGlobal":"bind";e.mousetrap[i](n,t,a)})}},{key:"componentWillUnmount",value:function(){this.mousetrap.reset()}},{key:"bindKeyTarget",value:function(e){this.keyTarget=e}},{key:"render",value:function(){var e=this.props.children;return r.Children.count(e)?Object(r.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(r.Component)),Le=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(k.a)(Object(k.a)(e))),e.decrease=e.decrease.bind(Object(k.a)(Object(k.a)(e))),e.handleChange=e.handleChange.bind(Object(k.a)(Object(k.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(k.a)(Object(k.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,o=t.onChange,r=void 0===o?D.noop:o;e=parseInt(100*e,10),r({h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"})}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,o=t.onChange,r=void 0===o?D.noop:o,a=parseInt(100*n.a,10)-parseInt(100*e,10);r({h:n.h,s:n.s,l:n.l,a:n.a<=e?0:a/100,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,o=function(e,t,n){var o=xe(e,n),r=o.left,a=o.width,i=r<0?0:Math.round(100*r/a)/100;return t.hsl.a!==i?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:i,source:"rgb"}:null}(e,this.props,this.container.current);o&&n(o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==w.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),o={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},a={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(r.createElement)(Re,{shortcuts:i},Object(r.createElement)("div",{className:"components-color-picker__alpha"},Object(r.createElement)("div",{className:"components-color-picker__alpha-gradient",style:o}),Object(r.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(S.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:a,onKeyDown:this.preventKeyEvents}))))}}]),t}(r.Component),Ae=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(k.a)(Object(k.a)(e))),e.decrease=e.decrease.bind(Object(k.a)(Object(k.a)(e))),e.handleChange=e.handleChange.bind(Object(k.a)(Object(k.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(k.a)(Object(k.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,o=t.onChange;(void 0===o?D.noop:o)({h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,o=t.onChange;(void 0===o?D.noop:o)({h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,o=function(e,t,n){var o=xe(e,n),r=o.left,a=o.width,i=r>=a?359:100*r/a*360/100;return t.hsl.h!==i?{h:i,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);o&&n(o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==w.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,o=void 0===n?{}:n,a=t.instanceId,i={left:"".concat(100*o.h/360,"%")},c={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(r.createElement)(Re,{shortcuts:c},Object(r.createElement)("div",{className:"components-color-picker__hue"},Object(r.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(r.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":o.h,"aria-orientation":"horizontal","aria-label":Object(S.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(a),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(r.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(a)},Object(S.__)("Move the arrow left or right to change hue.")))))}}]),t}(r.Component),Fe=Object(j.withInstanceId)(Ae);var Ve=Object(j.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.className,i=e.instanceId,c=e.onChange,s=e.type,l=void 0===s?"text":s,u=Object(T.a)(e,["label","value","help","className","instanceId","onChange","type"]),d="inspector-text-control-".concat(i);return Object(r.createElement)(De,{label:t,id:d,help:o,className:a},Object(r.createElement)("input",Object(P.a)({className:"components-text-control__input",type:l,id:d,value:n,onChange:function(e){return c(e.target.value)},"aria-describedby":o?d+"__help":void 0},u)))}),Be=function(e){function t(e){var n,o=e.value;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={value:String(o).toLowerCase()},n.handleBlur=n.handleBlur.bind(Object(k.a)(Object(k.a)(n))),n.handleChange=n.handleChange.bind(Object(k.a)(Object(k.a)(n))),n.handleKeyDown=n.handleKeyDown.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillReceiveProps",value:function(e){e.value!==this.props.value&&this.setState({value:String(e.value).toLowerCase()})}},{key:"handleBlur",value:function(){var e=this.props,t=e.valueKey,n=e.onChange,o=this.state.value;n(Object(d.a)({},t,o))}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,o=t.onChange;e.length>4&&o(Object(d.a)({},n,e)),this.setState({value:e})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===w.ENTER||t===w.UP||t===w.DOWN){var n=this.state.value,o=this.props,r=o.valueKey;(0,o.onChange)(Object(d.a)({},r,n))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,o=Object(T.a)(t,["label"]),a=this.state.value;return Object(r.createElement)(Ve,Object(P.a)({className:"components-color-picker__inputs-field",label:n,value:a,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(D.omit)(o,["onChange","value","valueKey"])))}}]),t}(r.Component),Ke=function(e){function t(e){var n,o=e.hsl;Object(v.a)(this,t),n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments));var r=1===o.a?"hex":"rgb";return n.state={view:r},n.toggleViews=n.toggleViews.bind(Object(k.a)(Object(k.a)(n))),n.handleChange=n.handleChange.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"}),Object(me.speak)(Object(S.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"}),Object(me.speak)(Object(S.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"}),Object(me.speak)(Object(S.__)("Hex color mode active"))):(this.setState({view:"rgb"}),Object(me.speak)(Object(S.__)("RGB mode active"))))}},{key:"handleChange",value:function(e){var t,n;e.hex?(t=e.hex,n="#"===String(t).charAt(0)?1:0,t.length!==4+n&&t.length<7+n&&Te()(t).isValid()&&this.props.onChange({hex:e.hex,source:"hex"})):e.r||e.g||e.b?this.props.onChange({r:e.r||this.props.rgb.r,g:e.g||this.props.rgb.g,b:e.b||this.props.rgb.b,source:"rgb"}):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),this.props.onChange({h:this.props.hsl.h,s:this.props.hsl.s,l:this.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"})):(e.h||e.s||e.l)&&this.props.onChange({h:e.h||this.props.hsl.h,s:e.s||this.props.hsl.s,l:e.l||this.props.hsl.l,source:"hsl"})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Be,{label:Object(S.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(S.__)("Color value in RGB")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Be,{label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Be,{label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Be,{label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(r.createElement)(Be,{label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(S.__)("Color value in HSL")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Be,{label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(r.createElement)(Be,{label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(r.createElement)(Be,{label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(r.createElement)(Be,{label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(r.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(r.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(r.createElement)(ee,{icon:"arrow-down-alt2",label:Object(S.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component),We=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).throttle=Object(D.throttle)(function(e,t,n){e(t,n)},50),n.container=Object(r.createRef)(),n.saturate=n.saturate.bind(Object(k.a)(Object(k.a)(n))),n.brighten=n.brighten.bind(Object(k.a)(Object(k.a)(n))),n.handleChange=n.handleChange.bind(Object(k.a)(Object(k.a)(n))),n.handleMouseDown=n.handleMouseDown.bind(Object(k.a)(Object(k.a)(n))),n.handleMouseUp=n.handleMouseUp.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,o=t.onChange,r=void 0===o?D.noop:o,a=Object(D.clamp)(n.s+Math.round(100*e),0,100);r({h:n.h,s:a,v:n.v,a:n.a,source:"rgb"})}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,o=t.onChange,r=void 0===o?D.noop:o,a=Object(D.clamp)(n.v+Math.round(100*e),0,100);r({h:n.h,s:n.s,v:a,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,o=function(e,t,n){var o=xe(e,n),r=o.top,a=o.left,i=o.width,c=o.height,s=a<0?0:100*a/i,l=r>=c?0:-100*r/c+100;return l<1&&(l=0),{h:t.hsl.h,s:s,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==w.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,o=t.hsl,a=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},c={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(r.createElement)(Re,{shortcuts:c},Object(r.createElement)("div",{style:{background:"hsl(".concat(o.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(r.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(r.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(r.createElement)("button",{"aria-label":Object(S.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(a),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(r.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(a)},Object(S.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(r.Component),Ue=Object(j.withInstanceId)(We),$e=function(e){function t(e){var n,o=e.color,r=void 0===o?"0071a1":o;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state=Ie(r),n.handleChange=n.handleChange.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"handleChange",value:function(e){var t=this.props,n=t.oldHue,o=t.onChangeComplete,r=void 0===o?D.noop:o;if(function(e){var t=0,n=0;return Object(D.each)(["r","g","b","a","h","s","l","v"],function(o){e[o]&&(t+=1,isNaN(e[o])||(n+=1))}),t===n&&e}(e)){var a=Ie(e,e.h||n);this.setState(a,Object(D.debounce)(Object(D.partial)(r,a),100))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,o=this.state,a=o.color,i=o.hex,c=o.hsl,s=o.hsv,l=o.rgb,u=p()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(r.createElement)("div",{className:u},Object(r.createElement)("div",{className:"components-color-picker__saturation"},Object(r.createElement)(Ue,{hsl:c,hsv:s,onChange:this.handleChange})),Object(r.createElement)("div",{className:"components-color-picker__body"},Object(r.createElement)("div",{className:"components-color-picker__controls"},Object(r.createElement)("div",{className:"components-color-picker__swatch"},Object(r.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:a&&a.toRgbString()}})),Object(r.createElement)("div",{className:"components-color-picker__toggles"},Object(r.createElement)(Fe,{hsl:c,onChange:this.handleChange}),n?null:Object(r.createElement)(Le,{rgb:l,hsl:c,onChange:this.handleChange}))),Object(r.createElement)(Ke,{rgb:l,hsl:c,hex:i,onChange:this.handleChange,disableAlpha:n})))}}]),t}(r.Component);function Ye(e){var t=e.colors,n=e.disableCustomColors,o=void 0!==n&&n,a=e.value,i=e.onChange,c=e.className;function s(e){return function(){return i(a===e?void 0:e)}}var l=Object(S.__)("Custom color picker"),u=p()("components-color-palette",c);return Object(r.createElement)("div",{className:u},Object(D.map)(t,function(e){var t=e.color,n=e.name,o={color:t},i=p()("components-color-palette__item",{"is-active":a===t});return Object(r.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(r.createElement)(Q,{text:n||Object(S.sprintf)(Object(S.__)("Color code: %s"),t)},Object(r.createElement)("button",{type:"button",className:i,style:o,onClick:s(t),"aria-label":n?Object(S.sprintf)(Object(S.__)("Color: %s"),n):Object(S.sprintf)(Object(S.__)("Color code: %s"),t),"aria-pressed":a===t})),a===t&&Object(r.createElement)(J,{icon:"saved"}))}),Object(r.createElement)("div",{className:"components-color-palette__custom-clear-wrapper"},!o&&Object(r.createElement)(Ee,{className:"components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(I,{"aria-expanded":t,onClick:n,"aria-label":l,isLink:!0},Object(S.__)("Custom Color"))},renderContent:function(){return Object(r.createElement)($e,{color:a,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),Object(r.createElement)(I,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},Object(S.__)("Clear"))))}n(260);var qe=n(29),Ge=n.n(qe),Ze=n(223),Xe=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,o=t.onChange,r=n?Ge()(n):Ge()(),a={hours:r.hours(),minutes:r.minutes(),seconds:r.seconds()};o(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?Ge()(e):Ge()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,o=this.getMomentDate(t);return Object(r.createElement)("div",{className:"components-datetime__date"},Object(r.createElement)(Ze.DayPickerSingleDateController,{date:o,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(o?o.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())}}))}}]),t}(r.Component),Qe=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.updateMonth=e.updateMonth.bind(Object(k.a)(Object(k.a)(e))),e.onChangeMonth=e.onChangeMonth.bind(Object(k.a)(Object(k.a)(e))),e.updateDay=e.updateDay.bind(Object(k.a)(Object(k.a)(e))),e.onChangeDay=e.onChangeDay.bind(Object(k.a)(Object(k.a)(e))),e.updateYear=e.updateYear.bind(Object(k.a)(Object(k.a)(e))),e.onChangeYear=e.onChangeYear.bind(Object(k.a)(Object(k.a)(e))),e.updateHours=e.updateHours.bind(Object(k.a)(Object(k.a)(e))),e.updateMinutes=e.updateMinutes.bind(Object(k.a)(Object(k.a)(e))),e.onChangeHours=e.onChangeHours.bind(Object(k.a)(Object(k.a)(e))),e.onChangeMinutes=e.onChangeMinutes.bind(Object(k.a)(Object(k.a)(e))),e.renderMonth=e.renderMonth.bind(Object(k.a)(Object(k.a)(e))),e.renderDay=e.renderDay.bind(Object(k.a)(Object(k.a)(e))),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,o=t.is12Hour;n===e.currentTime&&o===e.is12Hour||this.syncState(this.props)}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,o=t?Ge()(t):Ge()(),r=o.format("DD"),a=o.format("MM"),i=o.format("YYYY"),c=o.format("mm"),s=o.format("A"),l=o.format(n?"hh":"HH"),u=t?Ge()(t):Ge()();this.setState({day:r,month:a,year:i,minutes:c,hours:l,am:s,date:u})}},{key:"updateHours",value:function(){var e=this.props,t=e.is12Hour,n=e.onChange,o=this.state,r=o.am,a=o.hours,i=o.date,c=parseInt(a,10);if(!Object(D.isInteger)(c)||t&&(c<1||c>12)||!t&&(c<0||c>23))this.syncState(this.props);else{var s=t?i.clone().hours("AM"===r?c%12:(c%12+12)%24):i.clone().hours(c);this.setState({date:s}),n(s.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMinutes",value:function(){var e=this.props.onChange,t=this.state,n=t.minutes,o=t.date,r=parseInt(n,10);if(!Object(D.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var a=o.clone().minutes(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateDay",value:function(){var e=this.props.onChange,t=this.state,n=t.day,o=t.date,r=parseInt(n,10);if(!Object(D.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var a=o.clone().date(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMonth",value:function(){var e=this.props.onChange,t=this.state,n=t.month,o=t.date,r=parseInt(n,10);if(!Object(D.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var a=o.clone().month(r-1);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateYear",value:function(){var e=this.props.onChange,t=this.state,n=t.year,o=t.date,r=parseInt(n,10);if(!Object(D.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var a=o.clone().year(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,o=t.props.onChange,r=t.state,a=r.am,i=r.date,c=r.hours;a!==e&&(n="PM"===e?i.clone().hours((parseInt(c,10)%12+12)%24):i.clone().hours(parseInt(c,10)%12),t.setState({date:n}),o(n.format("YYYY-MM-DDTHH:mm:ss")))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){this.setState({minutes:e.target.value})}},{key:"renderMonth",value:function(e){return Object(r.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(r.createElement)("select",{"aria-label":Object(S.__)("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(r.createElement)("option",{value:"01"},Object(S.__)("January")),Object(r.createElement)("option",{value:"02"},Object(S.__)("February")),Object(r.createElement)("option",{value:"03"},Object(S.__)("March")),Object(r.createElement)("option",{value:"04"},Object(S.__)("April")),Object(r.createElement)("option",{value:"05"},Object(S.__)("May")),Object(r.createElement)("option",{value:"06"},Object(S.__)("June")),Object(r.createElement)("option",{value:"07"},Object(S.__)("July")),Object(r.createElement)("option",{value:"08"},Object(S.__)("August")),Object(r.createElement)("option",{value:"09"},Object(S.__)("September")),Object(r.createElement)("option",{value:"10"},Object(S.__)("October")),Object(r.createElement)("option",{value:"11"},Object(S.__)("November")),Object(r.createElement)("option",{value:"12"},Object(S.__)("December"))))}},{key:"renderDay",value:function(e){return Object(r.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(r.createElement)("input",{"aria-label":Object(S.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,o=t.month,r=[this.renderDay(n),this.renderMonth(o)];return e?r:r.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,o=t.minutes,a=t.hours,i=t.am;return Object(r.createElement)("div",{className:p()("components-datetime__time")},Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(S.__)("Date")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(r.createElement)("input",{"aria-label":Object(S.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(S.__)("Time")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(r.createElement)("input",{"aria-label":Object(S.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:a,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(r.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(r.createElement)("input",{"aria-label":Object(S.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:o,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(r.createElement)(I,{"aria-pressed":"AM"===i,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===i,onClick:this.updateAmPm("AM")},Object(S.__)("AM")),Object(r.createElement)(I,{"aria-pressed":"PM"===i,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===i,onClick:this.updateAmPm("PM")},Object(S.__)("PM"))))))}}]),t}(r.Component),Je=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"onClickDescriptionToggle",value:function(){this.setState({calendarHelpIsVisible:!this.state.calendarHelpIsVisible})}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.is12Hour,o=e.onChange;return Object(r.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(Qe,{currentTime:t,onChange:o,is12Hour:n}),Object(r.createElement)(Xe,{currentDate:t,onChange:o})),this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"components-datetime__calendar-help"},Object(r.createElement)("h4",null,Object(S.__)("Click to Select")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(S.__)("Click the right or left arrows to select other months in the past or the future.")),Object(r.createElement)("li",null,Object(S.__)("Click the desired day to select it."))),Object(r.createElement)("h4",null,Object(S.__)("Navigating with a keyboard")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S._x)("Enter","keyboard button")},"↵")," ",Object(r.createElement)("span",null,Object(S.__)("Select the date in focus."))),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S.__)("Left and Right Arrows")},"←/→")," ",Object(S.__)("Move backward (left) or forward (right) by one day.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S.__)("Up and Down Arrows")},"↑/↓")," ",Object(S.__)("Move backward (up) or forward (down) by one week.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S.__)("Page Up and Page Down")},Object(S.__)("PgUp/PgDn"))," ",Object(S.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S.__)("Home and End")},Object(S.__)("Home/End"))," ",Object(S.__)("Go to the first (home) or last (end) day of a week."))),Object(r.createElement)(I,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(S.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(r.createElement)(I,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(S.__)("Calendar Help")))}}]),t}(r.Component),et=Object(r.createContext)(!1),tt=et.Consumer,nt=et.Provider,ot=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],rt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(k.a)(Object(k.a)(e))),e.disable=e.disable.bind(Object(k.a)(Object(k.a)(e))),e.debouncedDisable=Object(D.debounce)(e.disable,{leading:!0}),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){C.focus.focusable.find(this.node).forEach(function(e){Object(D.includes)(ot,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")})}},{key:"render",value:function(){var e=this.props,t=e.className,n=Object(T.a)(e,["className"]);return Object(r.createElement)(nt,{value:!0},Object(r.createElement)("div",Object(P.a)({ref:this.bindNode,className:p()(t,"components-disabled")},n),this.props.children))}}]),t}(r.Component);rt.Consumer=tt;var at=rt,it=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(k.a)(Object(k.a)(e))),e.onDragOver=e.onDragOver.bind(Object(k.a)(Object(k.a)(e))),e.onDrop=e.onDrop.bind(Object(k.a)(Object(k.a)(e))),e.onDragEnd=e.onDragEnd.bind(Object(k.a)(Object(k.a)(e))),e.resetDragState=e.resetDragState.bind(Object(k.a)(Object(k.a)(e))),e.isChromeAndHasIframes=!1,e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?D.noop:t;e&&e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDrop",value:function(){this.onDragEnd(null)}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,o=t.transferData,r=t.onDragStart,a=void 0===r?D.noop:r,i=document.getElementById(n);if(i){if("function"==typeof e.dataTransfer.setDragImage){var c=document.createElement("div");c.id="drag-image-".concat(n),c.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0),this.props.setTimeout(function(){document.body.removeChild(c)})}e.dataTransfer.setData("text",JSON.stringify(o));var s=i.getBoundingClientRect(),l=i.parentNode,u=parseInt(s.top,10),d=parseInt(s.left,10),h=i.cloneNode(!0);h.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(s.width+40,"px"),s.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),Object(_.a)(h.querySelectorAll("iframe")).forEach(function(e){return e.parentNode.removeChild(e)}),this.cloneWrapper.appendChild(h),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),/Chrome/i.test(window.navigator.userAgent)&&Object(_.a)(document.getElementById("editor").querySelectorAll("iframe")).length>0&&(this.isChromeAndHasIframes=!0,document.addEventListener("drop",this.onDrop)),this.props.setTimeout(a)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),this.isChromeAndHasIframes&&(this.isChromeAndHasIframes=!1,document.removeEventListener("drop",this.onDrop)),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(r.Component),ct=Object(j.withSafeTimeout)(it),st=Object(r.createContext)({addDropZone:function(){},removeDropZone:function(){}}),lt=st.Provider,ut=st.Consumer,dt=function(e){var t=e.dataTransfer;if(t){if(Object(D.includes)(t.types,"Files"))return"file";if(Object(D.includes)(t.types,"text/html"))return"html"}return"default"},ht=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},ft=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(k.a)(Object(k.a)(e))),e.onDrop=e.onDrop.bind(Object(k.a)(Object(k.a)(e))),e.addDropZone=e.addDropZone.bind(Object(k.a)(Object(k.a)(e))),e.removeDropZone=e.removeDropZone.bind(Object(k.a)(Object(k.a)(e))),e.resetDragState=e.resetDragState.bind(Object(k.a)(Object(k.a)(e))),e.toggleDraggingOverDocument=Object(D.throttle)(e.toggleDraggingOverDocument.bind(Object(k.a)(Object(k.a)(e))),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(D.filter)(this.dropZones,function(t){return t!==e})}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null}),this.dropZones.forEach(function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})}))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,o=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,r=Object(D.filter)(this.dropZones,function(e){return ht(t,e)&&(n=e.element,r=o.clientX,a=o.clientY,(i=n.getBoundingClientRect()).bottom!==i.top&&i.left!==i.right&&r>=i.left&&r<=i.right&&a>=i.top&&a<=i.bottom);var n,r,a,i}),a=Object(D.find)(r,function(e){return!Object(D.some)(r,function(t){return t!==e&&e.element.parentElement.contains(t.element)})}),i=this.dropZones.indexOf(a),c=null;if(a){var s=a.element.getBoundingClientRect();c={x:o.clientX-s.left-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,o=n.cycle,r=void 0===o||o,a=n.eventToOffset,i=n.onNavigate,c=void 0===i?D.noop:i,s=n.stopNavigationEvents,l=a(e);if(void 0!==l&&s&&(e.nativeEvent.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault(),e.stopPropagation()),l){var u=t(document.activeElement);if(u){var d=u.index,h=u.focusables,f=r?function(e,t,n){var o=e+n;return o<0?t+o:o>=t?o-t:o}(d,h.length,l):d+l;f>=0&&f0&&0===o,"is-active":e.isActive}),icon:e.icon,role:"menuitem",disabled:e.isDisabled},e.title)})}))}})};var _t=Object(r.forwardRef)(function(e,t){var n=e.href,o=e.children,a=e.className,i=e.rel,c=void 0===i?"":i,s=Object(T.a)(e,["href","children","className","rel"]);c=Object(D.uniq)(Object(D.compact)([].concat(Object(_.a)(c.split(" ")),["external","noreferrer","noopener"]))).join(" ");var l=p()("components-external-link",a);return Object(r.createElement)("a",Object(P.a)({},s,{className:l,href:n,target:"_blank",rel:c,ref:t})," ",o,Object(r.createElement)("span",{className:"screen-reader-text"},Object(S.__)("(opens in a new tab)")),Object(r.createElement)(J,{icon:"external",className:"components-external-link__icon"}))}),Dt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onMouseMove=e.onMouseMove.bind(Object(k.a)(Object(k.a)(e))),e.state={isDragging:!1,bounds:{},percentages:{}},e.containerRef=Object(r.createRef)(),e.imageRef=Object(r.createRef)(),e.horizontalPositionChanged=e.horizontalPositionChanged.bind(Object(k.a)(Object(k.a)(e))),e.verticalPositionChanged=e.verticalPositionChanged.bind(Object(k.a)(Object(k.a)(e))),e.onLoad=e.onLoad.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.setState({percentages:this.props.value})}},{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,o=this.pickerDimensions(),r=o.width/t,a=o.height/n;return a>=r?(e.width=e.right=o.width,e.height=n*r,e.top=(o.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=o.height,e.width=t*a,e.left=(o.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,o=t.bounds,r=this.props.onChange;if(n){var a=this.pickerDimensions(),i={left:e.pageX-a.left,top:e.pageY-a.top},c=Math.max(o.left,Math.min(i.left,o.right)),s=Math.max(o.top,Math.min(i.top,o.bottom)),l={x:(c-o.left)/(a.width-2*o.left),y:(s-o.top)/(a.height-2*o.top)};this.setState({percentages:l},function(){r({x:this.state.percentages.x,y:this.state.percentages.y})})}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,o=this.state.percentages,r=Math.max(Math.min(parseInt(t),100),0);o[e]=r?r/100:0,this.setState({percentages:o},function(){n({x:this.state.percentages.x,y:this.state.percentages.y})})}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.url,a=t.value,i=t.label,s=t.help,l=t.className,d=this.state,h=d.bounds,f=d.isDragging,b=d.percentages,v=this.pickerDimensions(),m={left:a.x*(v.width-2*h.left)+h.left,top:a.y*(v.height-2*h.top)+h.top},y={left:"".concat(m.left,"px"),top:"".concat(m.top,"px")},g=p()("components-focal-point-picker__icon_container",f?"is-dragging":null),O="inspector-focal-point-picker-control-".concat(n),k="inspector-focal-point-picker-control-horizontal-position-".concat(n),_="inspector-focal-point-picker-control-horizontal-position-".concat(n);return Object(r.createElement)(De,{label:i,id:O,help:s,className:l},Object(r.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(r.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(r.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:o,draggable:"false"}),Object(r.createElement)("div",{className:g,style:y},Object(r.createElement)(u,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(r.createElement)(c,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(r.createElement)(c,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(r.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(r.createElement)(De,{label:Object(S.__)("Horizontal Pos."),id:k},Object(r.createElement)("input",{className:"components-text-control__input",id:k,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(b.x)}),Object(r.createElement)("span",null,"%")),Object(r.createElement)(De,{label:Object(S.__)("Vertical Pos."),id:_},Object(r.createElement)("input",{className:"components-text-control__input",id:_,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(b.y)}),Object(r.createElement)("span",null,"%"))))}}]),t}(r.Component);Dt.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};var wt=Object(j.compose)([j.withInstanceId,z])(Dt),St=window.FocusEvent,jt=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(k.a)(Object(k.a)(n))),n.node=e.iframeRef||Object(r.createRef)(),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new St("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(r.createElement)("iframe",Object(P.a)({ref:this.node},Object(D.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(r.Component),Mt=Object(j.withGlobalEvents)({blur:"checkFocus"})(jt);var Ct=Object(j.compose)([j.withInstanceId,Object(j.withState)({currentInput:null})])(function(e){var t=e.className,n=e.currentInput,o=e.label,a=e.value,i=e.instanceId,c=e.onChange,s=e.beforeIcon,l=e.afterIcon,u=e.help,d=e.allowReset,h=e.initialPosition,f=e.min,b=e.max,v=e.setState,m=Object(T.a)(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),y="inspector-range-control-".concat(i),g=null===n?a:n,O=function(){null!==n&&v({currentInput:null})},k=function(e){var t=e.target.value;e.target.checkValidity()?(O(),c(""===t?void 0:parseFloat(t))):v({currentInput:t})},_=Object(D.isFinite)(g)?g:h||"";return Object(r.createElement)(De,{label:o,id:y,help:u,className:p()("components-range-control",t)},s&&Object(r.createElement)(J,{icon:s}),Object(r.createElement)("input",Object(P.a)({className:"components-range-control__slider",id:y,type:"range",value:_,onChange:k,"aria-describedby":u?y+"__help":void 0,min:f,max:b},m)),l&&Object(r.createElement)(J,{icon:l}),Object(r.createElement)("input",Object(P.a)({className:"components-range-control__number",type:"number",onChange:k,"aria-label":o,value:g,min:f,max:b,onBlur:O},m)),d&&Object(r.createElement)(I,{onClick:function(){O(),c()},disabled:void 0===a},Object(S.__)("Reset")))});var Pt=function(e){var t=e.fallbackFontSize,n=e.fontSizes,o=void 0===n?[]:n,a=e.disableCustomFontSizes,i=void 0!==a&&a,c=e.onChange,s=e.value,l=e.withSlider,u=void 0!==l&&l;if(i&&!o.length)return null;var d=o.find(function(e){return e.size===s}),h=d&&d.name||!s&&Object(S._x)("Normal","font size name")||Object(S._x)("Custom","font size name");return Object(r.createElement)(De,{label:Object(S.__)("Font Size")},Object(r.createElement)("div",{className:"components-font-size-picker__buttons"},o.length>0&&Object(r.createElement)(Ee,{className:"components-font-size-picker__dropdown",contentClassName:"components-font-size-picker__dropdown-content",position:"bottom",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(I,{className:"components-font-size-picker__selector",isLarge:!0,onClick:n,"aria-expanded":t,"aria-label":Object(S.sprintf)(Object(S.__)("Font size: %s"),h)},h)},renderContent:function(){return Object(r.createElement)(gt,null,Object(D.map)(o,function(e){var t=e.name,n=e.size,o=e.slug,a=s===n||!s&&"normal"===o;return Object(r.createElement)(I,{key:o,onClick:function(){return c("normal"===o?void 0:n)},className:"is-font-".concat(o),role:"menuitemradio","aria-checked":a},a&&Object(r.createElement)(J,{icon:"saved"}),Object(r.createElement)("span",{className:"components-font-size-picker__dropdown-text-size",style:{fontSize:n}},t))}))}}),!u&&!i&&Object(r.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;c(""!==t?Number(t):void 0)},"aria-label":Object(S.__)("Custom font size"),value:s||""}),Object(r.createElement)(I,{className:"components-color-palette__clear",type:"button",disabled:void 0===s,onClick:function(){return c(void 0)},isSmall:!0,isDefault:!0},Object(S.__)("Reset"))),u&&Object(r.createElement)(Ct,{className:"components-font-size-picker__custom-input",label:Object(S.__)("Custom Size"),value:s||"",initialPosition:t,onChange:c,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))},Et=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(k.a)(Object(k.a)(e))),e.bindInput=e.bindInput.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.multiple,o=void 0!==n&&n,a=e.accept,i=e.onChange,c=e.icon,s=void 0===c?"upload":c,l=Object(T.a)(e,["children","multiple","accept","onChange","icon"]);return Object(r.createElement)("div",{className:"components-form-file-upload"},Object(r.createElement)(ee,Object(P.a)({icon:s,onClick:this.openFileDialog},l),t),Object(r.createElement)("input",{type:"file",ref:this.bindInput,multiple:o,style:{display:"none"},accept:a,onChange:i}))}}]),t}(r.Component);var zt=function(e){var t=e.className,n=e.checked,o=e.id,a=e.onChange,i=void 0===a?D.noop:a,s=Object(T.a)(e,["className","checked","id","onChange"]),l=p()("components-form-toggle",t,{"is-checked":n});return Object(r.createElement)("span",{className:l},Object(r.createElement)("input",Object(P.a)({className:"components-form-toggle__input",id:o,type:"checkbox",checked:n,onChange:i},s)),Object(r.createElement)("span",{className:"components-form-toggle__track"}),Object(r.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(r.createElement)(u,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(r.createElement)(c,{d:"M0 0h2v6H0z"})):Object(r.createElement)(u,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(r.createElement)(c,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))},Tt=n(32);var It=Object(j.withInstanceId)(function(e){var t=e.value,n=e.status,o=e.title,a=e.displayTransform,i=e.isBorderless,c=void 0!==i&&i,s=e.disabled,l=void 0!==s&&s,u=e.onClickRemove,d=void 0===u?D.noop:u,h=e.onMouseEnter,f=e.onMouseLeave,b=e.messages,v=e.termPosition,m=e.termsCount,y=e.instanceId,g=p()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":l}),O=a(t),k=Object(S.sprintf)(Object(S.__)("%1$s (%2$s of %3$s)"),O,v,m);return Object(r.createElement)("span",{className:g,onMouseEnter:h,onMouseLeave:f,title:o},Object(r.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(y)},Object(r.createElement)("span",{className:"screen-reader-text"},k),Object(r.createElement)("span",{"aria-hidden":"true"},O)),Object(r.createElement)(ee,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!l&&function(){return d({value:t})},label:b.remove,"aria-describedby":"components-form-token-field__token-text-".concat(y)}))}),xt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(k.a)(Object(k.a)(e))),e.bindInput=e.bindInput.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,o=e.instanceId,a=e.selectedSuggestionIndex,i=Object(T.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),c=t.length+1;return Object(r.createElement)("input",Object(P.a)({ref:this.bindInput,id:"components-form-token-input-".concat(o),type:"text"},i,{value:t,onChange:this.onChange,size:c,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(o):void 0,"aria-activedescendant":-1!==a?"components-form-token-suggestions-".concat(o,"-").concat(a):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(o)}))}}]),t}(r.Component),Ht=n(67),Nt=n.n(Ht),Rt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(k.a)(Object(k.a)(e))),e.bindList=e.bindList.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,Nt()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(r.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(D.map)(this.props.suggestions,function(t,n){var o=e.computeSuggestionMatch(t),a=p()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(r.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:a,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},o?Object(r.createElement)("span",{"aria-label":e.props.displayTransform(t)},o.suggestionBeforeMatch,Object(r.createElement)("strong",{className:"components-form-token-field__suggestion-match"},o.suggestionMatch),o.suggestionAfterMatch):e.props.displayTransform(t))}))}}]),t}(r.Component);Rt.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var Lt=Rt,At={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},Ft=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state=At,e.onKeyDown=e.onKeyDown.bind(Object(k.a)(Object(k.a)(e))),e.onKeyPress=e.onKeyPress.bind(Object(k.a)(Object(k.a)(e))),e.onFocus=e.onFocus.bind(Object(k.a)(Object(k.a)(e))),e.onBlur=e.onBlur.bind(Object(k.a)(Object(k.a)(e))),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(k.a)(Object(k.a)(e))),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(k.a)(Object(k.a)(e))),e.addCurrentToken=e.addCurrentToken.bind(Object(k.a)(Object(k.a)(e))),e.onContainerTouched=e.onContainerTouched.bind(Object(k.a)(Object(k.a)(e))),e.renderToken=e.renderToken.bind(Object(k.a)(Object(k.a)(e))),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(k.a)(Object(k.a)(e))),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(k.a)(Object(k.a)(e))),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(k.a)(Object(k.a)(e))),e.onInputChange=e.onInputChange.bind(Object(k.a)(Object(k.a)(e))),e.bindInput=e.bindInput.bind(Object(k.a)(Object(k.a)(e))),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidUpdate",value:function(){this.state.isActive&&!this.input.hasFocus()&&this.input.focus()}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(At)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case w.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case w.ENTER:t=this.addCurrentToken();break;case w.LEFT:t=this.handleLeftArrowKey();break;case w.UP:t=this.handleUpArrowKey();break;case w.RIGHT:t=this.handleRightArrowKey();break;case w.DOWN:t=this.handleDownArrowKey();break;case w.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case w.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case w.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,o=t.split(n),r=Object(D.last)(o)||"",a=r.trim().length>1,i=this.getMatchingSuggestions(r),c=a&&!!i.length;o.length>1&&this.addNewTokens(o.slice(0,-1)),this.setState({incompleteTokenValue:r,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.props.onInputChange(r),a&&(this.setState({isExpanded:c}),i.length?this.props.debouncedSpeak(Object(S.sprintf)(Object(S._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",i.length),i.length),"assertive"):this.props.debouncedSpeak(Object(S.__)("No results."),"assertive"))}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState(function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}}),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState(function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}}),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState(function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}})}},{key:"moveInputBeforePreviousToken",value:function(){this.setState(function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}})}},{key:"moveInputAfterNextToken",value:function(){this.setState(function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}})}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e0){var o=Object(D.clone)(this.props.value);o.splice.apply(o,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(o)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter(function(n){return t.getTokenValue(n)!==t.getTokenValue(e)});this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object(Tt.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,r=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform)(e),a=[],i=[];return 0===r.length?t=Object(D.difference)(t,n):(r=r.toLocaleLowerCase(),Object(D.each)(t,function(e){var t=e.toLocaleLowerCase().indexOf(r);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&i.push(e))}),t=a.concat(i)),Object(D.take)(t,o)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(D.some)(this.props.value,function(n){return t.getTokenValue(e)===t.getTokenValue(n)})}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"renderTokensAndInput",value:function(){var e=Object(D.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var o=this.getTokenValue(e),a=e.status?e.status:void 0,i=t+1,c=n.length;return Object(r.createElement)(It,{key:"token-"+o,value:o,status:a,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==a&&this.props.disabled,messages:this.props.messages,termsCount:c,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,a=e.maxLength,i=e.value,c={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return a&&i.length>=a||(c=Object(o.a)({},c,{onChange:this.onInputChange})),Object(r.createElement)(xt,c)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,o=void 0===n?Object(S.__)("Add item"):n,a=e.instanceId,i=e.className,c=this.state.isExpanded,s=p()(i,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),l={className:"components-form-token-field",tabIndex:"-1"},u=this.getMatchingSuggestions();return t||(l=Object.assign({},l,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(r.createElement)("div",l,Object(r.createElement)("label",{htmlFor:"components-form-token-input-".concat(a),className:"components-form-token-field__label"},o),Object(r.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),c&&Object(r.createElement)(Lt,{instanceId:a,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:u,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(r.createElement)("div",{id:"components-form-token-suggestions-howto-".concat(a),className:"screen-reader-text"},Object(S.__)("Separate with commas")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(r.Component);Ft.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:D.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(S.__)("Item added."),removed:Object(S.__)("Item removed."),remove:Object(S.__)("Remove item")}};var Vt=ye(Object(j.withInstanceId)(Ft));var Bt=function(e){var t,n=e.icon,a=void 0===n?null:n,i=e.size,c=e.className;if("string"==typeof a)return t=i||20,Object(r.createElement)(J,{icon:a,size:t,className:c});if(t=i||24,"function"==typeof a)return a.prototype instanceof r.Component?Object(r.createElement)(a,{className:c,size:t}):a();if(a&&("svg"===a.type||a.type===u)){var s=Object(o.a)({className:c,width:t,height:t},a.props);return Object(r.createElement)(u,s)}return Object(r.isValidElement)(a)?Object(r.cloneElement)(a,{className:c,size:t}):a};var Kt=Object(j.withInstanceId)(function(e){var t=e.children,n=e.className,o=void 0===n?"":n,a=e.instanceId,i=e.label;if(!r.Children.count(t))return null;var c="components-menu-group-label-".concat(a),s=p()(o,"components-menu-group");return Object(r.createElement)("div",{className:s},i&&Object(r.createElement)("div",{className:"components-menu-group__label",id:c},i),Object(r.createElement)(gt,{orientation:"vertical","aria-labelledby":i?c:null},t))});var Wt=Object(j.withInstanceId)(function(e){var t=e.children,n=e.info,a=e.className,i=e.icon,c=e.shortcut,s=e.isSelected,l=e.role,u=void 0===l?"menuitem":l,d=Object(T.a)(e,["children","info","className","icon","shortcut","isSelected","role"]);a=p()("components-menu-item__button",a,{"has-icon":i}),n&&(t=Object(r.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(r.createElement)("span",{className:"components-menu-item__info"},n)));var h=I;return i&&(Object(D.isString)(i)||(i=Object(r.cloneElement)(i,{className:"components-menu-items__item-icon",height:20,width:20})),h=ee,d.icon=i),Object(r.createElement)(h,Object(o.a)({"aria-checked":"menuitemcheckbox"===u||"menuitemradio"===u?s:void 0,role:u,className:a},d),t,Object(r.createElement)(Z,{className:"components-menu-item__shortcut",shortcut:c}))});function Ut(e){var t=e.choices,n=void 0===t?[]:t,o=e.onSelect,a=e.value;return n.map(function(e){var t=a===e.value;return Object(r.createElement)(Wt,{key:e.value,role:"menuitemradio",icon:t&&"yes",isSelected:t,shortcut:e.shortcut,onClick:function(){t||o(e.value)}},e.label)})}var $t=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Object(k.a)(Object(k.a)(e))),e.handleClickOutside=e.handleClickOutside.bind(Object(k.a)(Object(k.a)(e))),e.focusFirstTabbable=e.focusFirstTabbable.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=C.focus.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleClickOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===w.ESCAPE&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.preventDefault(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.contentLabel,n=e.aria,o=n.describedby,a=n.labelledby,i=e.children,c=e.className,s=e.role,l=e.style;return Object(r.createElement)("div",{className:c,style:l,ref:this.containerRef,role:s,"aria-label":t,"aria-labelledby":t?null:a,"aria-describedby":o,tabIndex:"-1"},i)}}]),t}(r.Component),Yt=Object(j.compose)([W,U,Y.a,Object(j.withGlobalEvents)({keydown:"handleKeyDown"})])($t),qt=function(e){var t=e.icon,n=e.title,o=e.onClose,a=e.closeLabel,i=e.headingId,c=e.isDismissable,s=a||Object(S.__)("Close dialog");return Object(r.createElement)("div",{className:"components-modal__header"},Object(r.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(r.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(r.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),c&&Object(r.createElement)(ee,{onClick:o,icon:"no-alt",label:s}))},Gt=new Set(["alert","status","log","marquee","timer"]),Zt=[],Xt=!1;function Qt(e){if(!Xt){var t=document.body.children;Object(D.forEach)(t,function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Gt.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Zt.push(t))}),Xt=!0}}var Jt,en=0,tn=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).prepareDOM(),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){1===++en&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--en&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){Jt||(Jt=document.createElement("div"),document.body.appendChild(Jt)),this.node=document.createElement("div"),Jt.appendChild(this.node)}},{key:"cleanDOM",value:function(){Jt.removeChild(this.node)}},{key:"openFirstModal",value:function(){Qt(Jt),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),Xt&&(Object(D.forEach)(Zt,function(e){e.removeAttribute("aria-hidden")}),Zt=[],Xt=!1)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.className,o=e.onRequestClose,a=e.title,i=e.icon,c=e.closeButtonLabel,s=e.children,l=e.aria,u=e.instanceId,d=e.isDismissable,h=Object(T.a)(e,["overlayClassName","className","onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),f=l.labelledby||"components-modal-header-".concat(u);return Object(r.createPortal)(Object(r.createElement)(ne,{className:p()("components-modal__screen-overlay",t)},Object(r.createElement)(Yt,Object(P.a)({className:p()("components-modal__frame",n),onRequestClose:o,aria:{labelledby:a?f:null,describedby:l.describedby}},h),Object(r.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(r.createElement)(qt,{closeLabel:c,headingId:f,icon:i,isDismissable:d,onClose:o,title:a}),s))),this.node)}}]),t}(r.Component);tn.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,onRequestClose:D.noop,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var nn=Object(j.withInstanceId)(tn);var on=function(e){var t=e.className,n=e.status,o=e.children,a=e.onRemove,i=void 0===a?D.noop:a,c=e.isDismissible,s=void 0===c||c,l=e.actions,u=void 0===l?[]:l,d=e.__unstableHTML,h=p()(t,"components-notice","is-"+n,{"is-dismissible":s});return d&&(o=Object(r.createElement)(r.RawHTML,null,o)),Object(r.createElement)("div",{className:h},Object(r.createElement)("div",{className:"components-notice__content"},o,u.map(function(e,t){var n=e.className,o=e.label,a=e.noDefaultClasses,i=void 0!==a&&a,c=e.onClick,s=e.url;return Object(r.createElement)(I,{key:t,href:s,isDefault:!i&&!s,isLink:!i&&!!s,onClick:s?void 0:c,className:p()("components-notice__action",n)},o)})),s&&Object(r.createElement)(ee,{className:"components-notice__dismiss",icon:"no",label:Object(S.__)("Dismiss this notice"),onClick:i,tooltip:!1}))};var rn=function(e){var t=e.notices,n=e.onRemove,o=void 0===n?D.noop:n,a=e.className,i=e.children;return a=p()("components-notice-list",a),Object(r.createElement)("div",{className:a},i,Object(_.a)(t).reverse().map(function(e){return Object(r.createElement)(on,Object(P.a)({},Object(D.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return o(t)})}),e.content);var t}))};var an=function(e){var t=e.label,n=e.children;return Object(r.createElement)("div",{className:"components-panel__header"},t&&Object(r.createElement)("h2",null,t),n)};var cn=function(e){var t=e.header,n=e.className,o=e.children,a=p()(n,"components-panel");return Object(r.createElement)("div",{className:a},t&&Object(r.createElement)(an,{label:t}),o)},sn=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"toggle",value:function(e){e.preventDefault(),void 0===this.props.opened&&this.setState(function(e){return{opened:!e.opened}}),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,o=e.opened,a=e.className,s=e.icon,l=e.forwardedRef,d=void 0===o?this.state.opened:o,h=p()("components-panel__body",a,{"is-opened":d});return Object(r.createElement)("div",{className:h,ref:l},!!t&&Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)(I,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":d},Object(r.createElement)("span",{"aria-hidden":"true"},d?Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,s&&Object(r.createElement)(Bt,{icon:s,className:"components-panel__icon",size:20}))),d&&n)}}]),t}(r.Component),ln=function(e,t){return Object(r.createElement)(sn,Object(P.a)({},e,{forwardedRef:t}))};ln.displayName="PanelBody";var un=Object(r.forwardRef)(ln);var dn=function(e){var t=e.className,n=e.children,o=p()("components-panel__row",t);return Object(r.createElement)("div",{className:o},n)};var hn=function(e){var t=e.icon,n=e.children,o=e.label,a=e.instructions,i=e.className,c=e.notices,s=Object(T.a)(e,["icon","children","label","instructions","className","notices"]),l=p()("components-placeholder",i);return Object(r.createElement)("div",Object(P.a)({},s,{className:l}),c,Object(r.createElement)("div",{className:"components-placeholder__label"},Object(D.isString)(t)?Object(r.createElement)(J,{icon:t}):t,o),!!a&&Object(r.createElement)("div",{className:"components-placeholder__instructions"},a),Object(r.createElement)("div",{className:"components-placeholder__fieldset"},n))};function fn(){var e=window.getSelection();if(0===e.rangeCount)return{};var t=Object(C.getRectangleFromRange)(e.getRangeAt(0)),n=t.top+t.height,o=t.left+t.width/2,r=Object(C.getOffsetParent)(e.anchorNode);if(r){var a=r.getBoundingClientRect();n-=a.top,o-=a.left}return{top:n,left:o}}var pn=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={style:fn()},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"render",value:function(){var e=this.props.children,t=this.state.style;return Object(r.createElement)("div",{className:"editor-format-toolbar__selection-position block-editor-format-toolbar__selection-position",style:t},e)}}]),t}(r.Component);function bn(e){var t=e.label,n=e.noOptionLabel,o=e.onChange,a=e.selectedId,i=e.tree,c=Object(T.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),s=Object(D.compact)([n&&{value:"",label:n}].concat(Object(_.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(D.flatMap)(t,function(t){return[{value:t.id,label:Object(D.repeat)(" ",3*n)+Object(D.unescape)(t.name)}].concat(Object(_.a)(e(t.children||[],n+1)))})}(i))));return Object(r.createElement)(Bn,Object(P.a)({label:t,options:s,onChange:o},{value:a},c))}function vn(e){var t,n,a=e.label,i=e.noOptionLabel,c=e.categoriesList,s=e.selectedCategoryId,l=e.onChange,u=(t=c.map(function(e){return Object(o.a)({children:[],parent:null},e)}),(n=Object(D.groupBy)(t,"parent")).null&&n.null.length?t:function e(t){return t.map(function(t){var r=n[t.id];return Object(o.a)({},t,{children:r&&r.length?e(r):[]})})}(n[0]||[]));return Object(r.createElement)(bn,Object(P.a)({label:a,noOptionLabel:i,onChange:l},{tree:u,selectedId:s}))}var mn=1,yn=100;function gn(e){var t=e.categoriesList,n=e.selectedCategoryId,o=e.numberOfItems,a=e.order,i=e.orderBy,c=e.maxItems,s=void 0===c?yn:c,l=e.minItems,u=void 0===l?mn:l,d=e.onCategoryChange,f=e.onNumberOfItemsChange,p=e.onOrderChange,b=e.onOrderByChange;return[p&&b&&Object(r.createElement)(Bn,{key:"query-controls-order-select",label:Object(S.__)("Order by"),value:"".concat(i,"/").concat(a),options:[{label:Object(S.__)("Newest to Oldest"),value:"date/desc"},{label:Object(S.__)("Oldest to Newest"),value:"date/asc"},{label:Object(S.__)("A → Z"),value:"title/asc"},{label:Object(S.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(h.a)(t,2),o=n[0],r=n[1];r!==a&&p(r),o!==i&&b(o)}}),d&&Object(r.createElement)(vn,{key:"query-controls-category-select",categoriesList:t,label:Object(S.__)("Category"),noOptionLabel:Object(S.__)("All"),selectedCategoryId:n,onChange:d}),f&&Object(r.createElement)(Ct,{key:"query-controls-range-control",label:Object(S.__)("Number of items"),value:o,onChange:f,min:u,max:s,required:!0})]}var On=Object(j.withInstanceId)(function(e){var t=e.label,n=e.className,o=e.selected,a=e.help,i=e.instanceId,c=e.onChange,s=e.options,l=void 0===s?[]:s,u="inspector-radio-control-".concat(i),d=function(e){return c(e.target.value)};return!Object(D.isEmpty)(l)&&Object(r.createElement)(De,{label:t,id:u,help:a,className:p()(n,"components-radio-control")},l.map(function(e,t){return Object(r.createElement)("div",{key:"".concat(u,"-").concat(t),className:"components-radio-control__option"},Object(r.createElement)("input",{id:"".concat(u,"-").concat(t),className:"components-radio-control__input",type:"radio",name:u,value:e.value,onChange:d,checked:e.value===o,"aria-describedby":a?"".concat(u,"__help"):void 0}),Object(r.createElement)("label",{htmlFor:"".concat(u,"-").concat(t)},e.label))}))}),kn=n(27),_n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Dn=function(){function e(e,t){for(var n=0;n div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map(function(e,t){return Object(r.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})})),Object(r.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(r.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(r.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map(function(e){return Object(r.createElement)("script",{key:e,src:e})}))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(r.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(r.createElement)(Mt,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(r.Component),Vn=Fn=Object(j.withGlobalEvents)({message:"checkMessageForResize"})(Fn);var Bn=Object(j.withInstanceId)(function(e){var t=e.help,n=e.instanceId,o=e.label,a=e.multiple,i=void 0!==a&&a,c=e.onChange,s=e.options,l=void 0===s?[]:s,u=e.className,d=Object(T.a)(e,["help","instanceId","label","multiple","onChange","options","className"]),h="inspector-select-control-".concat(n);return!Object(D.isEmpty)(l)&&Object(r.createElement)(De,{label:o,id:h,help:t,className:u},Object(r.createElement)("select",Object(P.a)({id:h,className:"components-select-control__input",onChange:function(e){if(i){var t=Object(_.a)(e.target.options).filter(function(e){return e.selected}).map(function(e){return e.value});c(t)}else c(e.target.value)},"aria-describedby":t?"".concat(h,"__help"):void 0,multiple:i},d),l.map(function(e,t){return Object(r.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)})))});function Kn(){return Object(r.createElement)("span",{className:"components-spinner"})}var Wn=n(33),Un=n.n(Wn),$n=n(23);var Yn=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).state={response:null},n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=Object(D.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){Object(D.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var n=e.block,r=e.attributes,a=void 0===r?null:r,i=e.urlQueryArgs,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object($n.addQueryArgs)("/wp/v2/block-renderer/".concat(e),Object(o.a)({context:"edit"},null!==t?{attributes:t}:{},n))}(n,a,void 0===i?{}:i),s=this.currentFetchRequest=Un()({path:c}).then(function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&e.rendered&&t.setState({response:e.rendered})}).catch(function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})});return s}}},{key:"render",value:function(){var e=this.state.response,t=this.props.className;if(!e)return Object(r.createElement)(hn,{className:t},Object(r.createElement)(Kn,null));if(e.error){var n=Object(S.sprintf)(Object(S.__)("Error loading block: %s"),e.errorMsg);return Object(r.createElement)(hn,{className:t},n)}return e.length?Object(r.createElement)(r.RawHTML,{key:"html",className:t},e):Object(r.createElement)(hn,{className:t},Object(S.__)("No results found."))}}]),t}(r.Component),qn=function(e){var t=e.tabId,n=e.onClick,o=e.children,a=e.selected,i=Object(T.a)(e,["tabId","onClick","children","selected"]);return Object(r.createElement)(I,Object(P.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),o)},Gn=function(e){function t(){var e;Object(v.a)(this,t);var n=(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).props,o=n.tabs,r=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(k.a)(Object(k.a)(e))),e.onNavigate=e.onNavigate.bind(Object(k.a)(Object(k.a)(e))),e.state={selected:r||(o.length>0?o[0].name:null)},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?D.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,o=n.activeClass,a=void 0===o?"is-active":o,i=n.className,c=n.instanceId,s=n.orientation,l=void 0===s?"horizontal":s,u=n.tabs,d=Object(D.find)(u,{name:t}),h=c+"-"+d.name;return Object(r.createElement)("div",{className:i},Object(r.createElement)(gt,{role:"tablist",orientation:l,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},u.map(function(n){return Object(r.createElement)(qn,{className:"".concat(n.className," ").concat(n.name===t?a:""),tabId:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(D.partial)(e.handleClick,n.name)},n.title)})),d&&Object(r.createElement)("div",{"aria-labelledby":h,role:"tabpanel",id:h+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(d)))}}]),t}(r.Component),Zn=Object(j.withInstanceId)(Gn);var Xn=Object(j.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.instanceId,i=e.onChange,c=e.rows,s=void 0===c?4:c,l=e.className,u=Object(T.a)(e,["label","value","help","instanceId","onChange","rows","className"]),d="inspector-textarea-control-".concat(a);return Object(r.createElement)(De,{label:t,id:d,help:o,className:l},Object(r.createElement)("textarea",Object(P.a)({className:"components-textarea-control__input",id:d,rows:s,onChange:function(e){return i(e.target.value)},"aria-describedby":o?d+"__help":void 0,value:n},u)))}),Qn=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,o=n.label,a=n.checked,i=n.help,c=n.instanceId,s=n.className,l="inspector-toggle-control-".concat(c);return i&&(e=l+"__help",t=Object(D.isFunction)(i)?i(a):i),Object(r.createElement)(De,{id:l,help:t,className:p()("components-toggle-control",s)},Object(r.createElement)(zt,{id:l,checked:a,onChange:this.onChange,"aria-describedby":e}),Object(r.createElement)("label",{htmlFor:l,className:"components-toggle-control__label"},o))}}]),t}(r.Component),Jn=Object(j.withInstanceId)(Qn),eo=function(e){return Object(r.createElement)("div",{className:e.className},e.children)};var to=function(e){var t=e.containerClassName,n=e.icon,o=e.title,a=e.shortcut,i=e.subscript,c=e.onClick,s=e.className,l=e.isActive,u=e.isDisabled,d=e.extraProps,h=e.children;return Object(r.createElement)(eo,{className:t},Object(r.createElement)(ee,Object(P.a)({icon:n,label:o,shortcut:a,"data-subscript":i,onClick:function(e){e.stopPropagation(),c()},className:p()("components-toolbar__control",s,{"is-active":l}),"aria-pressed":l,disabled:u},d)),h)},no=function(e){return Object(r.createElement)("div",{className:e.className},e.children)};var oo=function(e){var t=e.controls,n=void 0===t?[]:t,o=e.children,a=e.className,i=e.isCollapsed,c=e.icon,s=e.label,l=Object(T.a)(e,["controls","children","className","isCollapsed","icon","label"]);if(!(n&&n.length||o))return null;var u=n;return Array.isArray(u[0])||(u=[u]),i?Object(r.createElement)(kt,{icon:c,label:s,controls:u,className:p()("components-toolbar",a)}):Object(r.createElement)(no,Object(P.a)({className:p()("components-toolbar",a)},l),Object(D.flatMap)(u,function(e,t){return e.map(function(e,n){return Object(r.createElement)(to,Object(P.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))})}),o)},ro=Object(j.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(k.a)(Object(k.a)(e))),e.focusNextRegion=e.focusRegion.bind(Object(k.a)(Object(k.a)(e)),1),e.focusPreviousRegion=e.focusRegion.bind(Object(k.a)(Object(k.a)(e)),-1),e.onClick=e.onClick.bind(Object(k.a)(Object(k.a)(e))),e.state={isFocusingRegions:!1},e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=Object(_.a)(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],o=t.indexOf(document.activeElement);if(-1!==o){var r=o+e;n=t[r=(r=-1===r?t.length-1:r)===t.length?0:r]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t=p()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(r.createElement)("div",{ref:this.bindContainer,className:t,onClick:this.onClick},Object(r.createElement)(Re,{bindGlobal:!0,shortcuts:{"ctrl+`":this.focusNextRegion,"shift+alt+n":this.focusNextRegion,"ctrl+shift+`":this.focusPreviousRegion,"shift+alt+p":this.focusPreviousRegion}}),Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"navigateRegions"),ao=function(e){return Object(j.createHigherOrderComponent)(function(t){return function(n){function o(){var e;return Object(v.a)(this,o),(e=Object(m.a)(this,Object(y.a)(o).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(o,n),Object(g.a)(o,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var t=this.state,n=t.grabStylesCompleted,o=t.fallbackStyles;if(this.nodeRef&&!n){var r=e(this.nodeRef,this.props);Object(D.isEqual)(r,o)||this.setState({fallbackStyles:r,grabStylesCompleted:!!Object(D.every)(r)})}}},{key:"render",value:function(){var e=Object(r.createElement)(t,Object(P.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(r.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),o}(r.Component)},"withFallbackStyles")},io=n(24),co=16;function so(e){return Object(j.createHigherOrderComponent)(function(t){var n,o="core/with-filters/"+e;var a=function(a){function i(){var o;return Object(v.a)(this,i),o=Object(m.a)(this,Object(y.a)(i).apply(this,arguments)),void 0===n&&(n=Object(io.applyFilters)(e,t)),o}return Object(O.a)(i,a),Object(g.a)(i,[{key:"componentDidMount",value:function(){i.instances.push(this),1===i.instances.length&&(Object(io.addAction)("hookRemoved",o,c),Object(io.addAction)("hookAdded",o,c))}},{key:"componentWillUnmount",value:function(){i.instances=Object(D.without)(i.instances,this),0===i.instances.length&&(Object(io.removeAction)("hookRemoved",o),Object(io.removeAction)("hookAdded",o))}},{key:"render",value:function(){return Object(r.createElement)(n,this.props)}}]),i}(r.Component);a.instances=[];var i=Object(D.debounce)(function(){n=Object(io.applyFilters)(e,t),a.instances.forEach(function(e){e.forceUpdate()})},co);function c(t){t===e&&i()}return a},"withFilters")}var lo=n(65),uo=n.n(lo),ho=Object(j.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(k.a)(Object(k.a)(e))),e.createErrorNotice=e.createErrorNotice.bind(Object(k.a)(Object(k.a)(e))),e.removeNotice=e.removeNotice.bind(Object(k.a)(Object(k.a)(e))),e.removeAllNotices=e.removeAllNotices.bind(Object(k.a)(Object(k.a)(e))),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:Object(o.a)({},e,{id:uo()()});this.setState(function(e){return{noticeList:[].concat(Object(_.a)(e.noticeList),[t])}})}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState(function(t){return{noticeList:t.noticeList.filter(function(t){return t.id!==e})}})}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(r.createElement)(e,Object(P.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(r.createElement)(rn,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(r.Component)});n.d(t,"Circle",function(){return a}),n.d(t,"G",function(){return i}),n.d(t,"Path",function(){return c}),n.d(t,"Polygon",function(){return s}),n.d(t,"Rect",function(){return l}),n.d(t,"SVG",function(){return u}),n.d(t,"Animate",function(){return b}),n.d(t,"Autocomplete",function(){return _e}),n.d(t,"BaseControl",function(){return De}),n.d(t,"Button",function(){return I}),n.d(t,"ButtonGroup",function(){return we}),n.d(t,"CheckboxControl",function(){return Se}),n.d(t,"ClipboardButton",function(){return Ce}),n.d(t,"ColorIndicator",function(){return Pe}),n.d(t,"ColorPalette",function(){return Ye}),n.d(t,"ColorPicker",function(){return $e}),n.d(t,"Dashicon",function(){return J}),n.d(t,"DateTimePicker",function(){return Je}),n.d(t,"DatePicker",function(){return Xe}),n.d(t,"TimePicker",function(){return Qe}),n.d(t,"Disabled",function(){return at}),n.d(t,"Draggable",function(){return ct}),n.d(t,"DropZone",function(){return bt}),n.d(t,"DropZoneProvider",function(){return ft}),n.d(t,"Dropdown",function(){return Ee}),n.d(t,"DropdownMenu",function(){return kt}),n.d(t,"ExternalLink",function(){return _t}),n.d(t,"FocalPointPicker",function(){return wt}),n.d(t,"FocusableIframe",function(){return Mt}),n.d(t,"FontSizePicker",function(){return Pt}),n.d(t,"FormFileUpload",function(){return Et}),n.d(t,"FormToggle",function(){return zt}),n.d(t,"FormTokenField",function(){return Vt}),n.d(t,"Icon",function(){return Bt}),n.d(t,"IconButton",function(){return ee}),n.d(t,"KeyboardShortcuts",function(){return Re}),n.d(t,"MenuGroup",function(){return Kt}),n.d(t,"MenuItem",function(){return Wt}),n.d(t,"MenuItemsChoice",function(){return Ut}),n.d(t,"Modal",function(){return nn}),n.d(t,"ScrollLock",function(){return te}),n.d(t,"NavigableMenu",function(){return gt}),n.d(t,"TabbableContainer",function(){return Ot}),n.d(t,"Notice",function(){return on}),n.d(t,"NoticeList",function(){return rn}),n.d(t,"Panel",function(){return cn}),n.d(t,"PanelBody",function(){return un}),n.d(t,"PanelHeader",function(){return an}),n.d(t,"PanelRow",function(){return dn}),n.d(t,"Placeholder",function(){return hn}),n.d(t,"Popover",function(){return ve}),n.d(t,"PositionedAtSelection",function(){return pn}),n.d(t,"QueryControls",function(){return gn}),n.d(t,"RadioControl",function(){return On}),n.d(t,"RangeControl",function(){return Ct}),n.d(t,"ResizableBox",function(){return Ln}),n.d(t,"ResponsiveWrapper",function(){return An}),n.d(t,"SandBox",function(){return Vn}),n.d(t,"SelectControl",function(){return Bn}),n.d(t,"Spinner",function(){return Kn}),n.d(t,"ServerSideRender",function(){return Yn}),n.d(t,"TabPanel",function(){return Zn}),n.d(t,"TextControl",function(){return Ve}),n.d(t,"TextareaControl",function(){return Xn}),n.d(t,"ToggleControl",function(){return Jn}),n.d(t,"Toolbar",function(){return oo}),n.d(t,"ToolbarButton",function(){return to}),n.d(t,"Tooltip",function(){return Q}),n.d(t,"TreeSelect",function(){return bn}),n.d(t,"IsolatedEventContainer",function(){return ne}),n.d(t,"createSlotFill",function(){return he}),n.d(t,"Slot",function(){return se}),n.d(t,"Fill",function(){return de}),n.d(t,"SlotFillProvider",function(){return ie}),n.d(t,"navigateRegions",function(){return ro}),n.d(t,"withConstrainedTabbing",function(){return U}),n.d(t,"withFallbackStyles",function(){return ao}),n.d(t,"withFilters",function(){return so}),n.d(t,"withFocusOutside",function(){return z}),n.d(t,"withFocusReturn",function(){return W}),n.d(t,"FocusReturnProvider",function(){return K}),n.d(t,"withNotices",function(){return ho}),n.d(t,"withSpokenMessages",function(){return ye})}]); \ No newline at end of file +var o;o=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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=0)}([function(e,t,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===o(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,c.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}();function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var o,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":r(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(e),o.removeAllRanges(),o.addRange(r),t=o.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},h=1;h<20;++h)s[111+h]="f"+h;for(h=0;h<=9;++h)s[h+96]=h.toString();y.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},y.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},y.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},y.prototype.reset=function(){return this._callbacks={},this._directMap={},this},y.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},y.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=null},y.init=function(){var e=y(a);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),r.Mousetrap=y,e.exports&&(e.exports=y),void 0===(o=function(){return y}.call(t,n,t,e))||(e.exports=o)}function f(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return s[e.which]?s[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function b(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!c)for(var e in c={},s)e>95&&e<112||s.hasOwnProperty(e)&&(c[s[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function m(e,t){var n,o,r,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),r=0;r1?h(e,c,n,o):(i=m(e,o),t._callbacks[i.key]=t._callbacks[i.key]||[],l(i.key,i.modifiers,{type:i.action},r,e,a),t._callbacks[i.key][r?"unshift":"push"]({callback:n,modifiers:i.modifiers,action:i.action,seq:r,level:a,combo:e}))}t._handleKey=function(e,t,n){var o,r=l(e,t,n),a={},d=0,h=!1;for(o=0;o=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t){var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=function(e,t,r){if("[object Function]"!==o.call(t))throw new TypeError("iterator must be a function");var a=e.length;if(a===+a)for(var i=0;i= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n}});delete a.EnumerableOwnNames,e.exports=a},function(e,t,n){"use strict";var o=n(91),r=n(271),a=n(147),i=a("%TypeError%"),c=a("%SyntaxError%"),s=a("%Array%"),l=a("%String%"),u=a("%Object%"),d=a("%Number%"),h=a("%Symbol%",!0),f=a("%RegExp%"),p=!!h,b=n(148),v=n(149),m=d.MAX_SAFE_INTEGER||Math.pow(2,53)-1,y=n(124),g=n(150),O=n(151),k=n(275),_=parseInt,D=n(74),w=D.call(Function.call,s.prototype.slice),S=D.call(Function.call,l.prototype.slice),j=D.call(Function.call,f.prototype.test,/^0b[01]+$/i),M=D.call(Function.call,f.prototype.test,/^0o[0-7]+$/i),C=D.call(Function.call,f.prototype.exec),P=new f("["+["…","​","￾"].join("")+"]","g"),E=D.call(Function.call,f.prototype.test,P),z=D.call(Function.call,f.prototype.test,/^[-+]0x[0-9a-f]+$/i),T=D.call(Function.call,l.prototype.charCodeAt),I=D.call(Function.call,Object.prototype.toString),x=Math.floor,H=Math.abs,N=Object.create,R=u.getOwnPropertyDescriptor,L=u.isExtensible,A=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),F=new RegExp("(^["+A+"]+)|(["+A+"]+$)","g"),V=D.call(Function.call,l.prototype.replace),B=n(276),K=n(278),W=y(y({},B),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new i(e+" is not a function");return e.apply(t,n)},ToPrimitive:r,ToNumber:function(e){var t=k(e)?e:r(e,d);if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a number");if("string"==typeof t){if(j(t))return this.ToNumber(_(S(t,2),2));if(M(t))return this.ToNumber(_(S(t,2),8));if(E(t)||z(t))return NaN;var n=function(e){return V(e,F,"")}(t);if(n!==t)return this.ToNumber(n)}return d(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(b(t)||0===t||!v(t))return 0;var n=g(t)*x(H(t));return O(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(b(t)||t<=0)return 0;if(t>=255)return 255;var n=x(e);return n+.5m?m:t},CanonicalNumericIndexString:function(e){if("[object String]"!==I(e))throw new i("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:B.CheckObjectCoercible,IsArray:s.isArray||function(e){return"[object Array]"===I(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!k(e)&&L(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||b(e)||!v(e))return!1;var t=H(e);return x(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(p){var t=e[h.match];if(void 0!==t)return B.ToBoolean(t)}return K(e)},SameValueZero:function(e,t){return e===t||b(e)&&b(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new i(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":B.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new i("O.constructor is not an Object");var o=p&&h.species?n[h.species]:void 0;if(null==o)return t;if(this.IsConstructor(o))return o;throw new i("no constructor found")},CompletePropertyDescriptor:function(e){if(!this.IsPropertyDescriptor(e))throw new i("Desc must be a Property Descriptor");return this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(o(e,"[[Value]]")||(e["[[Value]]"]=void 0),o(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(o(e,"[[Get]]")||(e["[[Get]]"]=void 0),o(e,"[[Set]]")||(e["[[Set]]"]=void 0)),o(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),o(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,o){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");if("Boolean"!==this.Type(o))throw new i("Throw must be a Boolean");if(o)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return o(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(p&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");var n=w(arguments,2),o=this.GetV(e,t);return this.Call(o,e,n)},GetIterator:function(e,t){if(!p)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var o=this.Call(n,e);if("Object"!==this.Type(o))throw new i("iterator must return an object");return o},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new i("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new i("Assertion failed: completion is not a thunk for a Completion Record");var n,o=t,r=this.GetMethod(e,"return");if(void 0===r)return o();try{var a=this.Call(r,e,[])}catch(e){throw n=o(),o=null,e}if(n=o(),o=null,"Object"!==this.Type(a))throw new i("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new i("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new i("R must be an Object");if("String"!==this.Type(t))throw new i("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var o=this.Call(n,e,[t]);if(null===o||"Object"===this.Type(o))return o;throw new i('"exec" method must return `null` or an Object')}return C(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");var n,o=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&p&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return s(o);if(!this.IsConstructor(n))throw new i("C must be a constructor");return new n(o)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=R(e,t),r=o||"function"!=typeof L||L(e);if(o&&(!o.writable||!o.configurable)||!r)return!1;var a={configurable:!0,enumerable:!0,value:n,writable:!0};return Object.defineProperty(e,t,a),!0},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=this.CreateDataProperty(e,t,n);if(!o)throw new i("unable to create data property");return o},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new i("Assertion failed: proto must be null or an object");if((arguments.length<2?[]:t).length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!N)throw new c("native Object.create support is required to create null objects");return N(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new i("S must be a String");if(!this.IsInteger(t)||t<0||t>m)throw new i("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new i("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var o=T(e,t);if(o<55296||o>56319)return t+1;var r=T(e,t+1);return r<56320||r>57343?t+1:t+2}});delete W.CheckObjectCoercible,e.exports=W},function(e,t,n){"use strict";e.exports=n(272)},function(e,t,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,r=n(144),a=n(123),i=n(273),c=n(145);e.exports=function(e){if(r(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),o&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!=n){if(!a(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}}(e,Symbol.toPrimitive):c(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var s=t.call(e,n);if(r(s))return s;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||c(e))&&(n="string"),function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,o,i,c="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!s(t))return 0;var n=l(t)*Math.floor(Math.abs(t));return u(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),r(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:d,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(f(e,n)&&!t[n])return!1;var o=f(e,"[[Value]]"),r=f(e,"[[Get]]")||f(e,"[[Set]]");if(o&&r)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Get]]")&&!f(e,"[[Set]]"))},IsDataDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Value]]")&&!f(e,"[[Writable]]"))},IsGenericDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e)},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");if(this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new a("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new a("ToPropertyDescriptor requires an object");var t={};if(f(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),f(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),f(e,"value")&&(t["[[Value]]"]=e.value),f(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),f(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(f(e,"set")){var o=e.set;if(void 0!==o&&!this.IsCallable(o))throw new a("setter must be a function");t["[[Set]]"]=o}if((f(t,"[[Get]]")||f(t,"[[Set]]"))&&(f(t,"[[Value]]")||f(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=p},function(e,t,n){"use strict";var o=Object.prototype.toString,r=n(144),a=n(123),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===o.call(e)?String:Number)===String||t===Number){var n,i,c=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1?i(e,arguments[1]):i(e)}},function(e,t,n){"use strict";var o=n(91),r=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c)return"[object RegExp]"===i.call(e);var t=a(e,"lastIndex");return!(!t||!o(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,r.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var o=n(73),r=n(152);e.exports=function(){var e=r();return o(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var o=n(73),r=n(145),a="__ global cache key __";"function"==typeof Symbol&&r(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},c=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,o(t,e,n)}return t[a]},s=c(),l=function(e){return r(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],s=c()},delete:function(e){return u(e),delete s[l(e)],!d.has(e)},get:function(e){return u(e),s[l(e)]},has:function(e){return u(e),l(e)in s},set:function(e,t){u(e);var n=l(e),r={};r[n]=t;var a={};return a[n]=i,o(s,r,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(59))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,o={},r=0;r>",baseInvalidMessage:"Invalid "};function o(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var o=e.bind(null,!1,t);return o.isRequired=e.bind(null,!0,t),o},t}function r(e,t,o){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+o+"`.")}var a=-1;e.exports={constructPropValidatorVariations:o,createMomentChecker:function(e,t,i,c){return o(function(o,s,l,u,d,h,f){var p=l[u],b=typeof p,v=function(e,t,n,o){var i=void 0===o,c=null===o;if(e){if(i)return r(n,t,"undefined");if(c)return r(n,t,"null")}return i||c?null:a}(o,d=d||n.anonymousMessage,f=f||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+c+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null})},messages:n}},function(e,t,n){"use strict";function o(){return null}function r(){return o}o.isRequired=o,e.exports={and:r,between:r,booleanSome:r,childrenHavePropXorChildren:r,childrenOf:r,childrenOfType:r,childrenSequenceOf:r,componentWithName:r,disallowedIf:r,elementType:r,empty:r,explicitNull:r,forbidExtraProps:Object,integer:r,keysOf:r,mutuallyExclusiveProps:r,mutuallyExclusiveTrueProps:r,nChildren:r,nonNegativeInteger:o,nonNegativeNumber:r,numericString:r,object:r,or:r,range:r,ref:r,requiredBy:r,restrictedProp:r,sequenceOf:r,shape:r,stringStartsWith:r,uniqueArray:r,uniqueArrayOf:r,valuesOf:r,withShape:r}},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){var n;return t&&!0===t.clone&&o(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e}function i(e,t,n){var r=e.slice();return t.forEach(function(t,i){void 0===r[i]?r[i]=a(t,n):o(t)?r[i]=c(e[i],t,n):-1===e.indexOf(t)&&r.push(a(t,n))}),r}function c(e,t,n){var r=Array.isArray(t);return r===Array.isArray(e)?r?((n||{arrayMerge:i}).arrayMerge||i)(e,t,n):function(e,t,n){var r={};return o(e)&&Object.keys(e).forEach(function(t){r[t]=a(e[t],n)}),Object.keys(t).forEach(function(i){o(t[i])&&e[i]?r[i]=c(e[i],t[i],n):r[i]=a(t[i],n)}),r}(e,t,n):a(t,n)}c.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,n){return c(e,n,t)})};var s=c;e.exports=s},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(31),a=(o=r)&&o.__esModule?o:{default:o};t.default=a.default.shape({getState:a.default.func,setState:a.default.func,subscribe:a.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var o=c(n(27)),r=n(43),a=c(n(125)),i=c(n(296));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.forbidExtraProps)({children:(0,r.or)([(0,r.childrenOfType)(a.default),(0,r.childrenOfType)(i.default)]).isRequired});function l(e){var t=e.children;return o.default.createElement("tr",null,t)}l.propTypes=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:a.default.localeData().firstDayOfWeek();if(!a.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var o=e.clone().startOf("month").hour(12),r=e.clone().endOf("month").hour(12),c=(o.day()+7-n)%7,s=(n+6-r.day())%7,l=o.clone().subtract(c,"day"),u=r.clone().add(s,"day").diff(l,"days")+1,d=l.clone(),h=[],f=0;f=c&&f0&&!r.call(e,0))for(var b=0;b0)for(var v=0;v0&&!r.call(e,0))for(var b=0;b0)for(var v=0;v=t||n<0||m&&e-b>=d}function k(){var e=r();if(O(e))return _(e);f=setTimeout(k,function(e){var n=t-(e-p);return m?s(n,d-(e-b)):n}(e))}function _(e){return f=void 0,y&&l?g(e):(l=u=void 0,h)}function D(){var e=r(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return b=e,f=setTimeout(k,t),v?g(e):h}(p);if(m)return f=setTimeout(k,t),g(p)}return void 0===f&&(f=setTimeout(k,t)),h}return t=a(t)||0,o(n)&&(v=!!n.leading,d=(m="maxWait"in n)?c(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),D.cancel=function(){void 0!==f&&clearTimeout(f),b=0,l=p=u=f=void 0},D.flush=function(){return void 0===f?h:_(r())},D}},function(e,t,n){var o=n(183);e.exports=function(){return o.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(59))},function(e,t,n){var o=n(128),r=n(319),a=NaN,i=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):c.test(e)?a:+e}},function(e,t,n){var o=n(320),r=n(323),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||r(e)&&o(e)==a}},function(e,t,n){var o=n(184),r=n(321),a=n(322),i="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:s&&s in Object(e)?r(e):a(e)}},function(e,t,n){var o=n(184),r=Object.prototype,a=r.hasOwnProperty,i=r.toString,c=o?o.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var o=!0}catch(e){}var r=i.call(e);return o&&(t?e[c]=n:delete e[c]),r}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var o=n(191),r=n(73);e.exports=function(){var e=o();return r(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return e?n(e(t.clone())):t};var o=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:a.default.localeData().firstDayOfWeek(),n=function(e,t){return(e.day()-t+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=n.split(" "),i=Object(h.a)(a,2),c=i[0],s=i[1],l=void 0===s?"center":s,u=function(e,t,n){var o,r=t.height,a=e.top+e.height/2,i={popoverTop:a,contentHeight:(a-r/2>0?r/2:a)+(a+r/2>window.innerHeight?window.innerHeight-a:r/2)},c={popoverTop:e.top,contentHeight:e.top-N-r>0?r:e.top-N},s={popoverTop:e.bottom,contentHeight:e.bottom+N+r>window.innerHeight?window.innerHeight-N-e.bottom:r},l=null;if("middle"===n&&i.contentHeight===r)o="middle";else if("top"===n&&c.contentHeight===r)o="top";else if("bottom"===n&&s.contentHeight===r)o="bottom";else{var u="top"==(o=c.contentHeight>s.contentHeight?"top":"bottom")?c.contentHeight:s.contentHeight;l=u!==r?u:null}return{yAxis:o,popoverTop:"middle"===o?i.popoverTop:"top"===o?c.popoverTop:s.popoverTop,contentHeight:l}}(e,t,c),d=function(e,t,n,o){var r=t.width;"left"===n&&L()?n="right":"right"===n&&L()&&(n="left");var a,i=Math.round(e.left+e.width/2),c={popoverLeft:i,contentWidth:(i-r/2>0?r/2:i)+(i+r/2>window.innerWidth?window.innerWidth-i:r/2)},s="middle"===o?e.left:i,l={popoverLeft:s,contentWidth:s-r>0?r:s},u="middle"===o?e.right:i,d={popoverLeft:u,contentWidth:u+r>window.innerWidth?window.innerWidth-u:r},h=null;if("center"===n&&c.contentWidth===r)a="center";else if("left"===n&&l.contentWidth===r)a="left";else if("right"===n&&d.contentWidth===r)a="right";else{var f="left"==(a=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;h=f!==r?f:null}return{xAxis:a,popoverLeft:"center"===a?c.popoverLeft:"left"===a?l.popoverLeft:d.popoverLeft,contentWidth:h}}(e,t,l,u.yAxis);return Object(o.a)({isMobile:R()&&r},d,u)}var F=Object(r.createContext)({focusHistory:[]}),V=F.Provider,B=F.Consumer;V.displayName="FocusReturnProvider",B.displayName="FocusReturnConsumer";var K=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onFocus=e.onFocus.bind(Object(k.a)(Object(k.a)(e))),e.state={focusHistory:[]},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"onFocus",value:function(e){var t=this.state.focusHistory,n=Object(D.uniq)([].concat(Object(_.a)(t),[e.target]).slice(-100).reverse()).reverse();this.setState({focusHistory:n})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className;return Object(r.createElement)(V,{value:this.state},Object(r.createElement)("div",{onFocus:this.onFocus,className:n},t))}}]),t}(r.Component);var W=Object(j.createHigherOrderComponent)(function e(t){if((o=t)instanceof r.Component||"function"==typeof o){var n=t;return e({})(n)}var o,a=t.onFocusReturn,i=void 0===a?D.stubTrue:a;return function(e){var t=function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==i())for(var o,r=[].concat(Object(_.a)(D.without.apply(void 0,[this.props.focusHistory].concat(Object(_.a)(n)))),[e]);o=r.pop();)if(document.body.contains(o))return void o.focus()}},{key:"render",value:function(){return Object(r.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(r.createElement)(e,this.props))}}]),n}(r.Component);return function(e){return Object(r.createElement)(B,null,function(n){return Object(r.createElement)(t,Object(P.a)({},e,n))})}}},"withFocusReturn"),U=Object(j.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).focusContainRef=Object(r.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===w.TAB){var t=C.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],o=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),o.focus()):(e.shiftKey||e.target!==o)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(r.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"withConstrainedTabbing"),$=n(108),Y=n.n($),q=function(e){function t(){return Object(v.a)(this,t),Object(m.a)(this,Object(y.a)(t).apply(this,arguments))}return Object(O.a)(t,e),Object(g.a)(t,[{key:"handleClickOutside",value:function(e){var t=this.props.onClickOutside;t&&t(e)}},{key:"render",value:function(){return this.props.children}}]),t}(r.Component),G=Y()(q);var Z=function(e){var t,n,o=e.shortcut,a=e.className;return o?(Object(D.isString)(o)&&(t=o),Object(D.isObject)(o)&&(t=o.display,n=o.ariaLabel),Object(r.createElement)("span",{className:a,"aria-label":n},t)):null},X=700,Q=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).delayedSetIsOver=Object(D.debounce)(function(t){return e.setState({isOver:t})},X),e.state={isOver:!1},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel()}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===r.Children.count(n)){var o=r.Children.only(n);"function"==typeof o.props[e]&&o.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(o){if(n.emitToChild(e,o),!o.currentTarget.disabled){n.delayedSetIsOver.cancel();var r=Object(D.includes)(["focus","mouseenter"],o.type);r!==n.state.isOver&&(t?n.delayedSetIsOver(r):n.setState({isOver:r}))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,o=e.text,a=e.shortcut;if(1!==r.Children.count(t))return t;var i=r.Children.only(t),c=this.state.isOver;return Object(r.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),children:Object(r.concatChildren)(i.props.children,c&&Object(r.createElement)(ve,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},o,Object(r.createElement)(Z,{className:"components-tooltip__shortcut",shortcut:a})))})}}]),t}(r.Component),J=function(e){function t(){return Object(v.a)(this,t),Object(m.a)(this,Object(y.a)(t).apply(this,arguments))}return Object(O.a)(t,e),Object(g.a)(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.icon!==e.icon||this.props.size!==e.size||this.props.className!==e.className||this.props.ariaPressed!==e.ariaPressed}},{key:"render",value:function(){var e,t=this.props,n=t.icon,o=t.size,a=void 0===o?20:o;switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var i,s=["dashicon","dashicons-"+(i=this.props).icon,i.className].filter(Boolean).join(" ");return Object(r.createElement)(u,{"aria-hidden":!0,role:"img",focusable:"false",className:s,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 20 20"},Object(r.createElement)(c,{d:e}))}}]),t}(r.Component);var ee=Object(r.forwardRef)(function(e,t){var n=e.icon,o=e.children,a=e.label,i=e.className,c=e.tooltip,s=e.shortcut,l=e.labelPosition,u=Object(T.a)(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),d=u["aria-pressed"],h=p()("components-icon-button",i,{"has-text":o}),f=c||a,b=!u.disabled&&(c||s||!!a&&(!o||Object(D.isArray)(o)&&!o.length)&&!1!==c),v=Object(r.createElement)(I,Object(P.a)({"aria-label":a},u,{className:h,ref:t}),Object(D.isString)(n)?Object(r.createElement)(J,{icon:n,ariaPressed:d}):n,o);return b&&(v=Object(r.createElement)(Q,{text:f,shortcut:s,position:l},v)),v});var te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,o=e.className,a=void 0===o?"lockscroll":o,i=0,c=0;function s(e){var t=n.scrollingElement||n.body;e&&(c=t.scrollTop);var o=e?"add":"remove";t.classList[o](a),n.documentElement.classList[o](a),e||(t.scrollTop=c)}return function(e){function t(){return Object(v.a)(this,t),Object(m.a)(this,Object(y.a)(t).apply(this,arguments))}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){0===i&&s(!0),++i}},{key:"componentWillUnmount",value:function(){1===i&&s(!1),--i}},{key:"render",value:function(){return null}}]),t}(r.Component)}(),ne=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(T.a)(e,["children"]);return Object(r.createElement)("div",Object(P.a)({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(r.Component),oe=Object(r.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){}}),re=oe.Provider,ae=oe.Consumer,ie=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Object(k.a)(Object(k.a)(e))),e.registerFill=e.registerFill.bind(Object(k.a)(Object(k.a)(e))),e.unregisterSlot=e.unregisterSlot.bind(Object(k.a)(Object(k.a)(e))),e.unregisterFill=e.unregisterFill.bind(Object(k.a)(Object(k.a)(e))),e.getSlot=e.getSlot.bind(Object(k.a)(Object(k.a)(e))),e.getFills=e.getFills.bind(Object(k.a)(Object(k.a)(e))),e.slots={},e.fills={},e.state={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"registerSlot",value:function(e,t){var n=this.slots[e];this.slots[e]=t,this.forceUpdateFills(e),this.forceUpdateSlot(e),n&&n.forceUpdate()}},{key:"registerFill",value:function(e,t){this.fills[e]=[].concat(Object(_.a)(this.fills[e]||[]),[t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e,t){this.slots[e]===t&&(delete this.slots[e],this.forceUpdateFills(e))}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(D.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e,t){return this.slots[e]!==t?[]:Object(D.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(D.forEach)(this.fills[e],function(e){e.resetOccurrence()})}},{key:"forceUpdateFills",value:function(e){Object(D.forEach)(this.fills[e],function(e){e.forceUpdate()})}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"render",value:function(){return Object(r.createElement)(re,{value:this.state},this.props.children)}}]),t}(r.Component),ce=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,o=t.unregisterSlot,r=t.registerSlot;e.name!==n&&(o(e.name),r(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,o=e.bubblesVirtually,a=void 0!==o&&o,i=e.fillProps,c=void 0===i?{}:i,s=e.getFills;if(a)return Object(r.createElement)("div",{ref:this.bindNode});var l=Object(D.map)(s(n,this),function(e){var t=e.occurrence,n=Object(D.isFunction)(e.props.children)?e.props.children(c):e.props.children;return r.Children.map(n,function(e,n){if(!e||Object(D.isString)(e))return e;var o="".concat(t,"---").concat(e.key||n);return Object(r.cloneElement)(e,{key:o})})}).filter(Object(D.negate)(r.isEmptyElement));return Object(r.createElement)(r.Fragment,null,Object(D.isFunction)(t)?t(l):l)}}]),t}(r.Component),se=function(e){return Object(r.createElement)(ae,null,function(t){var n=t.registerSlot,o=t.unregisterSlot,a=t.getFills;return Object(r.createElement)(ce,Object(P.a)({},e,{registerSlot:n,unregisterSlot:o,getFills:a}))})},le=0,ue=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).occurrence=++le,e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerFill)(this.props.name,this)}},{key:"componentWillUpdate",value:function(){this.occurrence||(this.occurrence=++le);var e=(0,this.props.getSlot)(this.props.name);e&&!e.props.bubblesVirtually&&e.forceUpdate()}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterFill)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,o=t.unregisterFill,r=t.registerFill;e.name!==n&&(o(e.name,this),r(n,this))}},{key:"resetOccurrence",value:function(){this.occurrence=null}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.getSlot,o=this.props.children,a=n(t);return a&&a.node&&a.props.bubblesVirtually?(Object(D.isFunction)(o)&&(o=o(a.props.fillProps)),Object(r.createPortal)(o,a.node)):null}}]),t}(r.Component),de=function(e){return Object(r.createElement)(ae,null,function(t){var n=t.getSlot,o=t.registerFill,a=t.unregisterFill;return Object(r.createElement)(ue,Object(P.a)({},e,{getSlot:n,registerFill:o,unregisterFill:a}))})};function he(e){var t=function(t){return Object(r.createElement)(de,Object(P.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(r.createElement)(se,Object(P.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var fe=U(W(function(e){return e.children})),pe=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).getAnchorRect=e.getAnchorRect.bind(Object(k.a)(Object(k.a)(e))),e.computePopoverPosition=e.computePopoverPosition.bind(Object(k.a)(Object(k.a)(e))),e.maybeClose=e.maybeClose.bind(Object(k.a)(Object(k.a)(e))),e.throttledRefresh=e.throttledRefresh.bind(Object(k.a)(Object(k.a)(e))),e.refresh=e.refresh.bind(Object(k.a)(Object(k.a)(e))),e.refreshOnAnchorMove=e.refreshOnAnchorMove.bind(Object(k.a)(Object(k.a)(e))),e.contentNode=Object(r.createRef)(),e.anchorNode=Object(r.createRef)(),e.state={popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1,popoverSize:null,isReadyToAnimate:!1},e.anchorRect={},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.toggleAutoRefresh(!this.props.hasOwnProperty("anchorRect")),this.refresh(),this.focusTimeout=setTimeout(function(){e.focus()},0)}},{key:"componentDidUpdate",value:function(e){e.position!==this.props.position&&this.computePopoverPosition(this.state.popoverSize,this.anchorRect),e.anchorRect!==this.props.anchorRect&&this.refreshOnAnchorMove();var t=this.props.hasOwnProperty("anchorRect");t!==e.hasOwnProperty("anchorRect")&&this.toggleAutoRefresh(!t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.focusTimeout),this.toggleAutoRefresh(!1)}},{key:"toggleAutoRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle);var t=e?"addEventListener":"removeEventListener";window[t]("resize",this.throttledRefresh),window[t]("scroll",this.throttledRefresh,!0),e?this.autoRefresh=setInterval(this.refreshOnAnchorMove,500):clearInterval(this.autoRefresh)}},{key:"throttledRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle),e&&"scroll"===e.type&&this.contentNode.current.contains(e.target)||(this.rafHandle=window.requestAnimationFrame(this.refresh))}},{key:"refreshOnAnchorMove",value:function(){var e=this.getAnchorRect(this.anchorNode.current);!H()(e,this.anchorRect)&&(this.anchorRect=e,this.computePopoverPosition(this.state.popoverSize,e))}},{key:"refresh",value:function(){var e=this.getAnchorRect(this.anchorNode.current),t=this.contentNode.current.getBoundingClientRect(),n={width:t.width,height:t.height};(!this.state.popoverSize||n.width!==this.state.popoverSize.width||n.height!==this.state.popoverSize.height)&&this.setState({popoverSize:n,isReadyToAnimate:!0}),this.anchorRect=e,this.computePopoverPosition(n,e)}},{key:"focus",value:function(){var e=this.props.focusOnMount;if(e&&this.contentNode.current)if("firstElement"!==e)"container"===e&&this.contentNode.current.focus();else{var t=C.focus.tabbable.find(this.contentNode.current)[0];t?t.focus():this.contentNode.current.focus()}}},{key:"getAnchorRect",value:function(e){var t=this.props,n=t.getAnchorRect,o=t.anchorRect;if(o)return o;if(n)return n(e);if(e&&e.parentNode){var r=e.parentNode.getBoundingClientRect(),a=window.getComputedStyle(e.parentNode),i=a.paddingTop,c=a.paddingBottom,s=parseInt(i,10),l=parseInt(c,10);return{x:r.left,y:r.top+s,width:r.width,height:r.height-s-l,left:r.left,right:r.right,top:r.top+s,bottom:r.bottom-l}}}},{key:"computePopoverPosition",value:function(e,t){var n=this.props,o=n.position,r=A(t,e,void 0===o?"top":o,n.expandOnMobile);this.state.yAxis===r.yAxis&&this.state.xAxis===r.xAxis&&this.state.popoverLeft===r.popoverLeft&&this.state.popoverTop===r.popoverTop&&this.state.contentHeight===r.contentHeight&&this.state.contentWidth===r.contentWidth&&this.state.isMobile===r.isMobile||this.setState(r)}},{key:"maybeClose",value:function(e){var t=this.props,n=t.onKeyDown,o=t.onClose;e.keyCode===w.ESCAPE&&o&&(e.stopPropagation(),o()),n&&n(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.headerTitle,o=t.onClose,a=t.children,i=t.className,c=t.onClickOutside,s=void 0===c?o:c,l=t.noArrow,u=(t.position,t.range,t.focusOnMount),d=(t.getAnchorRect,t.expandOnMobile),h=t.animate,f=void 0===h||h,v=Object(T.a)(t,["headerTitle","onClose","children","className","onClickOutside","noArrow","position","range","focusOnMount","getAnchorRect","expandOnMobile","animate"]),m=this.state,y=m.popoverLeft,g=m.popoverTop,O=m.yAxis,k=m.xAxis,_=m.contentHeight,D=m.contentWidth,w=m.popoverSize,S=m.isMobile,j=m.isReadyToAnimate,M={top:"bottom",bottom:"top"}[O]||"middle",C={left:"right",right:"left"}[k]||"center",E=p()("components-popover",i,"is-"+O,"is-"+k,{"is-mobile":S,"is-without-arrow":l||"center"===k&&"middle"===O}),z=Object(r.createElement)(G,{onClickOutside:s},Object(r.createElement)(b,{type:f&&j?"appear":null,options:{origin:M+" "+C}},function(t){var i=t.className;return Object(r.createElement)(ne,Object(P.a)({className:p()(E,i),style:{top:!S&&g?g+"px":void 0,left:!S&&y?y+"px":void 0,visibility:w?void 0:"hidden"}},v,{onKeyDown:e.maybeClose}),S&&Object(r.createElement)("div",{className:"components-popover__header"},Object(r.createElement)("span",{className:"components-popover__header-title"},n),Object(r.createElement)(ee,{className:"components-popover__close",icon:"no-alt",onClick:o})),Object(r.createElement)("div",{ref:e.contentNode,className:"components-popover__content",style:{maxHeight:!S&&_?_+"px":void 0,maxWidth:!S&&D?D+"px":void 0},tabIndex:"-1"},a))}));return u&&(z=Object(r.createElement)(fe,null,z)),Object(r.createElement)(ae,null,function(t){var n=t.getSlot;return n&&n("Popover")&&(z=Object(r.createElement)(de,{name:"Popover"},z)),Object(r.createElement)("span",{ref:e.anchorNode},z,S&&d&&Object(r.createElement)(te,null))})}}]),t}(r.Component);pe.defaultProps={focusOnMount:"firstElement",noArrow:!1};var be=pe;be.Slot=function(){return Object(r.createElement)(se,{bubblesVirtually:!0,name:"Popover"})};var ve=be,me=n(48),ye=Object(j.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).debouncedSpeak=Object(D.debounce)(e.speak.bind(Object(k.a)(Object(k.a)(e))),500),e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(me.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(r.createElement)(e,Object(P.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(r.Component)},"withSpokenMessages");function ge(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=[],r=0;r0,v=b?"components-autocomplete-listbox-".concat(o):null,m=b?"components-autocomplete-item-".concat(o,"-").concat(d):null;return Object(r.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:b,listBoxId:v,activeId:m}),b&&Object(r.createElement)(ve,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:Oe},Object(r.createElement)("div",{id:v,role:"listbox",className:"components-autocomplete__results"},b&&Object(D.map)(l,function(t,n){return Object(r.createElement)(I,{key:t.key,id:"components-autocomplete-item-".concat(o,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:p()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(r.Component),_e=Object(j.compose)([ye,j.withInstanceId,z])(ke);var De=function(e){var t=e.id,n=e.label,o=e.help,a=e.className,i=e.children;return Object(r.createElement)("div",{className:p()("components-base-control",a)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n),n&&!t&&Object(r.createElement)("span",{className:"components-base-control__label"},n),i),!!o&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},o))};var we=function(e){var t=e.className,n=Object(T.a)(e,["className"]),o=p()("components-button-group",t);return Object(r.createElement)("div",Object(P.a)({},n,{className:o,role:"group"}))};var Se=Object(j.withInstanceId)(function(e){var t=e.label,n=e.className,o=e.heading,a=e.checked,i=e.help,c=e.instanceId,s=e.onChange,l=Object(T.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(c);return Object(r.createElement)(De,{label:o,id:u,help:i,className:n},Object(r.createElement)("input",Object(P.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return s(e.target.checked)},checked:a,"aria-describedby":i?u+"__help":void 0},l)),Object(r.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))}),je=n(221),Me=n.n(je),Ce=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(k.a)(Object(k.a)(e))),e.onCopy=e.onCopy.bind(Object(k.a)(Object(k.a)(e))),e.getText=e.getText.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){var e=this.container,t=this.getText,n=this.onCopy,o=e.firstChild;this.clipboard=new Me.a(o,{text:t,container:e}),this.clipboard.on("success",n)}},{key:"componentWillUnmount",value:function(){this.clipboard.destroy(),delete this.clipboard,clearTimeout(this.onCopyTimeout)}},{key:"bindContainer",value:function(e){this.container=e}},{key:"onCopy",value:function(e){e.clearSelection();var t=this.props,n=t.onCopy,o=t.onFinishCopy;n&&(n(),o&&(clearTimeout(this.onCopyTimeout),this.onCopyTimeout=setTimeout(o,4e3)))}},{key:"getText",value:function(){var e=this.props.text;return"function"==typeof e&&(e=e()),e}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,o=(e.onCopy,e.onFinishCopy,e.text,Object(T.a)(e,["className","children","onCopy","onFinishCopy","text"])),a=o.icon,i=p()("components-clipboard-button",t),c=a?ee:I;return Object(r.createElement)("span",{ref:this.bindContainer,onCopy:function(e){e.target.focus()}},Object(r.createElement)(c,Object(P.a)({},o,{className:i}),n))}}]),t}(r.Component),Pe=function(e){var t=e.className,n=e.colorValue,o=Object(T.a)(e,["className","colorValue"]);return Object(r.createElement)("span",Object(P.a)({className:p()("component-color-indicator",t),style:{background:n}},o))},Ee=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(k.a)(Object(k.a)(e))),e.close=e.close.bind(Object(k.a)(Object(k.a)(e))),e.closeIfClickOutside=e.closeIfClickOutside.bind(Object(k.a)(Object(k.a)(e))),e.containerRef=Object(r.createRef)(),e.state={isOpen:!1},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,o=this.props.onToggle;t.isOpen!==n&&o&&o(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfClickOutside",value:function(e){this.containerRef.current.contains(e.target)||this.close()}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,o=t.renderToggle,a=t.position,i=void 0===a?"bottom":a,c=t.className,s=t.contentClassName,l=t.expandOnMobile,u=t.headerTitle,d=t.focusOnMount,h={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(r.createElement)("div",{className:c,ref:this.containerRef},o(h),e&&Object(r.createElement)(ve,{className:s,position:i,onClose:this.close,onClickOutside:this.closeIfClickOutside,expandOnMobile:l,headerTitle:u,focusOnMount:d},n(h)))}}]),t}(r.Component),ze=n(45),Te=n.n(ze);function Ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?Te()(e.hex):Te()(e),o=n.toHsl();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.l=Math.round(100*o.l);var r=n.toHsv();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.v=Math.round(100*r.v);var a=n.toRgb(),i=n.toHex();return 0===o.s&&(o.h=t||0,r.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:o,hsv:r,oldHue:e.h||t||o.h,rgb:a,source:e.source}}function xe(e,t){e.preventDefault();var n=t.getBoundingClientRect(),o=n.left,r=n.top,a=n.width,i=n.height,c="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=c-(o+window.pageXOffset),u=s-(r+window.pageYOffset);return l<0?l=0:l>a?l=a:u<0?u=0:u>i&&(u=i),{top:u,left:l,width:a,height:i}}var He=n(222),Ne=n.n(He),Re=(n(259),function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new Ne.a(n),Object(D.forEach)(this.props.shortcuts,function(t,n){var o=e.props,r=o.bindGlobal,a=o.eventName,i=r?"bindGlobal":"bind";e.mousetrap[i](n,t,a)})}},{key:"componentWillUnmount",value:function(){this.mousetrap.reset()}},{key:"bindKeyTarget",value:function(e){this.keyTarget=e}},{key:"render",value:function(){var e=this.props.children;return r.Children.count(e)?Object(r.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(r.Component)),Le=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(k.a)(Object(k.a)(e))),e.decrease=e.decrease.bind(Object(k.a)(Object(k.a)(e))),e.handleChange=e.handleChange.bind(Object(k.a)(Object(k.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(k.a)(Object(k.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,o=t.onChange,r=void 0===o?D.noop:o;e=parseInt(100*e,10),r({h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"})}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,o=t.onChange,r=void 0===o?D.noop:o,a=parseInt(100*n.a,10)-parseInt(100*e,10);r({h:n.h,s:n.s,l:n.l,a:n.a<=e?0:a/100,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,o=function(e,t,n){var o=xe(e,n),r=o.left,a=o.width,i=r<0?0:Math.round(100*r/a)/100;return t.hsl.a!==i?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:i,source:"rgb"}:null}(e,this.props,this.container.current);o&&n(o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==w.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),o={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},a={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(r.createElement)(Re,{shortcuts:i},Object(r.createElement)("div",{className:"components-color-picker__alpha"},Object(r.createElement)("div",{className:"components-color-picker__alpha-gradient",style:o}),Object(r.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(S.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:a,onKeyDown:this.preventKeyEvents}))))}}]),t}(r.Component),Ae=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(k.a)(Object(k.a)(e))),e.decrease=e.decrease.bind(Object(k.a)(Object(k.a)(e))),e.handleChange=e.handleChange.bind(Object(k.a)(Object(k.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(k.a)(Object(k.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,o=t.onChange;(void 0===o?D.noop:o)({h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,o=t.onChange;(void 0===o?D.noop:o)({h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,o=function(e,t,n){var o=xe(e,n),r=o.left,a=o.width,i=r>=a?359:100*r/a*360/100;return t.hsl.h!==i?{h:i,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);o&&n(o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==w.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,o=void 0===n?{}:n,a=t.instanceId,i={left:"".concat(100*o.h/360,"%")},c={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(r.createElement)(Re,{shortcuts:c},Object(r.createElement)("div",{className:"components-color-picker__hue"},Object(r.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(r.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":o.h,"aria-orientation":"horizontal","aria-label":Object(S.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(a),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(r.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(a)},Object(S.__)("Move the arrow left or right to change hue.")))))}}]),t}(r.Component),Fe=Object(j.withInstanceId)(Ae);var Ve=Object(j.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.className,i=e.instanceId,c=e.onChange,s=e.type,l=void 0===s?"text":s,u=Object(T.a)(e,["label","value","help","className","instanceId","onChange","type"]),d="inspector-text-control-".concat(i);return Object(r.createElement)(De,{label:t,id:d,help:o,className:a},Object(r.createElement)("input",Object(P.a)({className:"components-text-control__input",type:l,id:d,value:n,onChange:function(e){return c(e.target.value)},"aria-describedby":o?d+"__help":void 0},u)))}),Be=function(e){function t(e){var n,o=e.value;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={value:String(o).toLowerCase()},n.handleBlur=n.handleBlur.bind(Object(k.a)(Object(k.a)(n))),n.handleChange=n.handleChange.bind(Object(k.a)(Object(k.a)(n))),n.handleKeyDown=n.handleKeyDown.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillReceiveProps",value:function(e){e.value!==this.props.value&&this.setState({value:String(e.value).toLowerCase()})}},{key:"handleBlur",value:function(){var e=this.props,t=e.valueKey,n=e.onChange,o=this.state.value;n(Object(d.a)({},t,o))}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,o=t.onChange;e.length>4&&o(Object(d.a)({},n,e)),this.setState({value:e})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===w.ENTER||t===w.UP||t===w.DOWN){var n=this.state.value,o=this.props,r=o.valueKey;(0,o.onChange)(Object(d.a)({},r,n))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,o=Object(T.a)(t,["label"]),a=this.state.value;return Object(r.createElement)(Ve,Object(P.a)({className:"components-color-picker__inputs-field",label:n,value:a,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(D.omit)(o,["onChange","value","valueKey"])))}}]),t}(r.Component),Ke=function(e){function t(e){var n,o=e.hsl;Object(v.a)(this,t),n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments));var r=1===o.a?"hex":"rgb";return n.state={view:r},n.toggleViews=n.toggleViews.bind(Object(k.a)(Object(k.a)(n))),n.handleChange=n.handleChange.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"}),Object(me.speak)(Object(S.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"}),Object(me.speak)(Object(S.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"}),Object(me.speak)(Object(S.__)("Hex color mode active"))):(this.setState({view:"rgb"}),Object(me.speak)(Object(S.__)("RGB mode active"))))}},{key:"handleChange",value:function(e){var t,n;e.hex?(t=e.hex,n="#"===String(t).charAt(0)?1:0,t.length!==4+n&&t.length<7+n&&Te()(t).isValid()&&this.props.onChange({hex:e.hex,source:"hex"})):e.r||e.g||e.b?this.props.onChange({r:e.r||this.props.rgb.r,g:e.g||this.props.rgb.g,b:e.b||this.props.rgb.b,source:"rgb"}):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),this.props.onChange({h:this.props.hsl.h,s:this.props.hsl.s,l:this.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"})):(e.h||e.s||e.l)&&this.props.onChange({h:e.h||this.props.hsl.h,s:e.s||this.props.hsl.s,l:e.l||this.props.hsl.l,source:"hsl"})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Be,{label:Object(S.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(S.__)("Color value in RGB")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Be,{label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Be,{label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Be,{label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(r.createElement)(Be,{label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(S.__)("Color value in HSL")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Be,{label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(r.createElement)(Be,{label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(r.createElement)(Be,{label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(r.createElement)(Be,{label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(r.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(r.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(r.createElement)(ee,{icon:"arrow-down-alt2",label:Object(S.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component),We=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).throttle=Object(D.throttle)(function(e,t,n){e(t,n)},50),n.container=Object(r.createRef)(),n.saturate=n.saturate.bind(Object(k.a)(Object(k.a)(n))),n.brighten=n.brighten.bind(Object(k.a)(Object(k.a)(n))),n.handleChange=n.handleChange.bind(Object(k.a)(Object(k.a)(n))),n.handleMouseDown=n.handleMouseDown.bind(Object(k.a)(Object(k.a)(n))),n.handleMouseUp=n.handleMouseUp.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,o=t.onChange,r=void 0===o?D.noop:o,a=Object(D.clamp)(n.s+Math.round(100*e),0,100);r({h:n.h,s:a,v:n.v,a:n.a,source:"rgb"})}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,o=t.onChange,r=void 0===o?D.noop:o,a=Object(D.clamp)(n.v+Math.round(100*e),0,100);r({h:n.h,s:n.s,v:a,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,o=function(e,t,n){var o=xe(e,n),r=o.top,a=o.left,i=o.width,c=o.height,s=a<0?0:100*a/i,l=r>=c?0:-100*r/c+100;return l<1&&(l=0),{h:t.hsl.h,s:s,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==w.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,o=t.hsl,a=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},c={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(r.createElement)(Re,{shortcuts:c},Object(r.createElement)("div",{style:{background:"hsl(".concat(o.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(r.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(r.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(r.createElement)("button",{"aria-label":Object(S.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(a),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(r.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(a)},Object(S.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(r.Component),Ue=Object(j.withInstanceId)(We),$e=function(e){function t(e){var n,o=e.color,r=void 0===o?"0071a1":o;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state=Ie(r),n.handleChange=n.handleChange.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"handleChange",value:function(e){var t=this.props,n=t.oldHue,o=t.onChangeComplete,r=void 0===o?D.noop:o;if(function(e){var t=0,n=0;return Object(D.each)(["r","g","b","a","h","s","l","v"],function(o){e[o]&&(t+=1,isNaN(e[o])||(n+=1))}),t===n&&e}(e)){var a=Ie(e,e.h||n);this.setState(a,Object(D.debounce)(Object(D.partial)(r,a),100))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,o=this.state,a=o.color,i=o.hex,c=o.hsl,s=o.hsv,l=o.rgb,u=p()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(r.createElement)("div",{className:u},Object(r.createElement)("div",{className:"components-color-picker__saturation"},Object(r.createElement)(Ue,{hsl:c,hsv:s,onChange:this.handleChange})),Object(r.createElement)("div",{className:"components-color-picker__body"},Object(r.createElement)("div",{className:"components-color-picker__controls"},Object(r.createElement)("div",{className:"components-color-picker__swatch"},Object(r.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:a&&a.toRgbString()}})),Object(r.createElement)("div",{className:"components-color-picker__toggles"},Object(r.createElement)(Fe,{hsl:c,onChange:this.handleChange}),n?null:Object(r.createElement)(Le,{rgb:l,hsl:c,onChange:this.handleChange}))),Object(r.createElement)(Ke,{rgb:l,hsl:c,hex:i,onChange:this.handleChange,disableAlpha:n})))}}]),t}(r.Component);function Ye(e){var t=e.colors,n=e.disableCustomColors,o=void 0!==n&&n,a=e.value,i=e.onChange,c=e.className;function s(e){return function(){return i(a===e?void 0:e)}}var l=Object(S.__)("Custom color picker"),u=p()("components-color-palette",c);return Object(r.createElement)("div",{className:u},Object(D.map)(t,function(e){var t=e.color,n=e.name,o={color:t},i=p()("components-color-palette__item",{"is-active":a===t});return Object(r.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(r.createElement)(Q,{text:n||Object(S.sprintf)(Object(S.__)("Color code: %s"),t)},Object(r.createElement)("button",{type:"button",className:i,style:o,onClick:s(t),"aria-label":n?Object(S.sprintf)(Object(S.__)("Color: %s"),n):Object(S.sprintf)(Object(S.__)("Color code: %s"),t),"aria-pressed":a===t})),a===t&&Object(r.createElement)(J,{icon:"saved"}))}),Object(r.createElement)("div",{className:"components-color-palette__custom-clear-wrapper"},!o&&Object(r.createElement)(Ee,{className:"components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(I,{"aria-expanded":t,onClick:n,"aria-label":l,isLink:!0},Object(S.__)("Custom Color"))},renderContent:function(){return Object(r.createElement)($e,{color:a,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),Object(r.createElement)(I,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},Object(S.__)("Clear"))))}n(260);var qe=n(29),Ge=n.n(qe),Ze=n(223),Xe=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,o=t.onChange,r=n?Ge()(n):Ge()(),a={hours:r.hours(),minutes:r.minutes(),seconds:r.seconds()};o(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?Ge()(e):Ge()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,o=this.getMomentDate(t);return Object(r.createElement)("div",{className:"components-datetime__date"},Object(r.createElement)(Ze.DayPickerSingleDateController,{date:o,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(o?o.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())}}))}}]),t}(r.Component),Qe=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.updateMonth=e.updateMonth.bind(Object(k.a)(Object(k.a)(e))),e.onChangeMonth=e.onChangeMonth.bind(Object(k.a)(Object(k.a)(e))),e.updateDay=e.updateDay.bind(Object(k.a)(Object(k.a)(e))),e.onChangeDay=e.onChangeDay.bind(Object(k.a)(Object(k.a)(e))),e.updateYear=e.updateYear.bind(Object(k.a)(Object(k.a)(e))),e.onChangeYear=e.onChangeYear.bind(Object(k.a)(Object(k.a)(e))),e.updateHours=e.updateHours.bind(Object(k.a)(Object(k.a)(e))),e.updateMinutes=e.updateMinutes.bind(Object(k.a)(Object(k.a)(e))),e.onChangeHours=e.onChangeHours.bind(Object(k.a)(Object(k.a)(e))),e.onChangeMinutes=e.onChangeMinutes.bind(Object(k.a)(Object(k.a)(e))),e.renderMonth=e.renderMonth.bind(Object(k.a)(Object(k.a)(e))),e.renderDay=e.renderDay.bind(Object(k.a)(Object(k.a)(e))),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,o=t.is12Hour;n===e.currentTime&&o===e.is12Hour||this.syncState(this.props)}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,o=t?Ge()(t):Ge()(),r=o.format("DD"),a=o.format("MM"),i=o.format("YYYY"),c=o.format("mm"),s=o.format("A"),l=o.format(n?"hh":"HH"),u=t?Ge()(t):Ge()();this.setState({day:r,month:a,year:i,minutes:c,hours:l,am:s,date:u})}},{key:"updateHours",value:function(){var e=this.props,t=e.is12Hour,n=e.onChange,o=this.state,r=o.am,a=o.hours,i=o.date,c=parseInt(a,10);if(!Object(D.isInteger)(c)||t&&(c<1||c>12)||!t&&(c<0||c>23))this.syncState(this.props);else{var s=t?i.clone().hours("AM"===r?c%12:(c%12+12)%24):i.clone().hours(c);this.setState({date:s}),n(s.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMinutes",value:function(){var e=this.props.onChange,t=this.state,n=t.minutes,o=t.date,r=parseInt(n,10);if(!Object(D.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var a=o.clone().minutes(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateDay",value:function(){var e=this.props.onChange,t=this.state,n=t.day,o=t.date,r=parseInt(n,10);if(!Object(D.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var a=o.clone().date(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMonth",value:function(){var e=this.props.onChange,t=this.state,n=t.month,o=t.date,r=parseInt(n,10);if(!Object(D.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var a=o.clone().month(r-1);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateYear",value:function(){var e=this.props.onChange,t=this.state,n=t.year,o=t.date,r=parseInt(n,10);if(!Object(D.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var a=o.clone().year(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,o=t.props.onChange,r=t.state,a=r.am,i=r.date,c=r.hours;a!==e&&(n="PM"===e?i.clone().hours((parseInt(c,10)%12+12)%24):i.clone().hours(parseInt(c,10)%12),t.setState({date:n}),o(n.format("YYYY-MM-DDTHH:mm:ss")))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){this.setState({minutes:e.target.value})}},{key:"renderMonth",value:function(e){return Object(r.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(r.createElement)("select",{"aria-label":Object(S.__)("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(r.createElement)("option",{value:"01"},Object(S.__)("January")),Object(r.createElement)("option",{value:"02"},Object(S.__)("February")),Object(r.createElement)("option",{value:"03"},Object(S.__)("March")),Object(r.createElement)("option",{value:"04"},Object(S.__)("April")),Object(r.createElement)("option",{value:"05"},Object(S.__)("May")),Object(r.createElement)("option",{value:"06"},Object(S.__)("June")),Object(r.createElement)("option",{value:"07"},Object(S.__)("July")),Object(r.createElement)("option",{value:"08"},Object(S.__)("August")),Object(r.createElement)("option",{value:"09"},Object(S.__)("September")),Object(r.createElement)("option",{value:"10"},Object(S.__)("October")),Object(r.createElement)("option",{value:"11"},Object(S.__)("November")),Object(r.createElement)("option",{value:"12"},Object(S.__)("December"))))}},{key:"renderDay",value:function(e){return Object(r.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(r.createElement)("input",{"aria-label":Object(S.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,o=t.month,r=[this.renderDay(n),this.renderMonth(o)];return e?r:r.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,o=t.minutes,a=t.hours,i=t.am;return Object(r.createElement)("div",{className:p()("components-datetime__time")},Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(S.__)("Date")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(r.createElement)("input",{"aria-label":Object(S.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(S.__)("Time")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(r.createElement)("input",{"aria-label":Object(S.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:a,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(r.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(r.createElement)("input",{"aria-label":Object(S.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:o,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(r.createElement)(I,{"aria-pressed":"AM"===i,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===i,onClick:this.updateAmPm("AM")},Object(S.__)("AM")),Object(r.createElement)(I,{"aria-pressed":"PM"===i,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===i,onClick:this.updateAmPm("PM")},Object(S.__)("PM"))))))}}]),t}(r.Component),Je=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"onClickDescriptionToggle",value:function(){this.setState({calendarHelpIsVisible:!this.state.calendarHelpIsVisible})}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.is12Hour,o=e.onChange;return Object(r.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(Qe,{currentTime:t,onChange:o,is12Hour:n}),Object(r.createElement)(Xe,{currentDate:t,onChange:o})),this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"components-datetime__calendar-help"},Object(r.createElement)("h4",null,Object(S.__)("Click to Select")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(S.__)("Click the right or left arrows to select other months in the past or the future.")),Object(r.createElement)("li",null,Object(S.__)("Click the desired day to select it."))),Object(r.createElement)("h4",null,Object(S.__)("Navigating with a keyboard")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S._x)("Enter","keyboard button")},"↵")," ",Object(r.createElement)("span",null,Object(S.__)("Select the date in focus."))),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S.__)("Left and Right Arrows")},"←/→")," ",Object(S.__)("Move backward (left) or forward (right) by one day.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S.__)("Up and Down Arrows")},"↑/↓")," ",Object(S.__)("Move backward (up) or forward (down) by one week.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S.__)("Page Up and Page Down")},Object(S.__)("PgUp/PgDn"))," ",Object(S.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(S.__)("Home and End")},Object(S.__)("Home/End"))," ",Object(S.__)("Go to the first (home) or last (end) day of a week."))),Object(r.createElement)(I,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(S.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(r.createElement)(I,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(S.__)("Calendar Help")))}}]),t}(r.Component),et=Object(r.createContext)(!1),tt=et.Consumer,nt=et.Provider,ot=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],rt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(k.a)(Object(k.a)(e))),e.disable=e.disable.bind(Object(k.a)(Object(k.a)(e))),e.debouncedDisable=Object(D.debounce)(e.disable,{leading:!0}),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){C.focus.focusable.find(this.node).forEach(function(e){Object(D.includes)(ot,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")})}},{key:"render",value:function(){var e=this.props,t=e.className,n=Object(T.a)(e,["className"]);return Object(r.createElement)(nt,{value:!0},Object(r.createElement)("div",Object(P.a)({ref:this.bindNode,className:p()(t,"components-disabled")},n),this.props.children))}}]),t}(r.Component);rt.Consumer=tt;var at=rt,it=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(k.a)(Object(k.a)(e))),e.onDragOver=e.onDragOver.bind(Object(k.a)(Object(k.a)(e))),e.onDrop=e.onDrop.bind(Object(k.a)(Object(k.a)(e))),e.onDragEnd=e.onDragEnd.bind(Object(k.a)(Object(k.a)(e))),e.resetDragState=e.resetDragState.bind(Object(k.a)(Object(k.a)(e))),e.isChromeAndHasIframes=!1,e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?D.noop:t;e&&e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDrop",value:function(){this.onDragEnd(null)}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,o=t.transferData,r=t.onDragStart,a=void 0===r?D.noop:r,i=document.getElementById(n);if(i){if("function"==typeof e.dataTransfer.setDragImage){var c=document.createElement("div");c.id="drag-image-".concat(n),c.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0),this.props.setTimeout(function(){document.body.removeChild(c)})}e.dataTransfer.setData("text",JSON.stringify(o));var s=i.getBoundingClientRect(),l=i.parentNode,u=parseInt(s.top,10),d=parseInt(s.left,10),h=i.cloneNode(!0);h.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(s.width+40,"px"),s.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),Object(_.a)(h.querySelectorAll("iframe")).forEach(function(e){return e.parentNode.removeChild(e)}),this.cloneWrapper.appendChild(h),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),/Chrome/i.test(window.navigator.userAgent)&&Object(_.a)(document.getElementById("editor").querySelectorAll("iframe")).length>0&&(this.isChromeAndHasIframes=!0,document.addEventListener("drop",this.onDrop)),this.props.setTimeout(a)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),this.isChromeAndHasIframes&&(this.isChromeAndHasIframes=!1,document.removeEventListener("drop",this.onDrop)),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(r.Component),ct=Object(j.withSafeTimeout)(it),st=Object(r.createContext)({addDropZone:function(){},removeDropZone:function(){}}),lt=st.Provider,ut=st.Consumer,dt=function(e){var t=e.dataTransfer;if(t){if(Object(D.includes)(t.types,"Files"))return"file";if(Object(D.includes)(t.types,"text/html"))return"html"}return"default"},ht=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},ft=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(k.a)(Object(k.a)(e))),e.onDrop=e.onDrop.bind(Object(k.a)(Object(k.a)(e))),e.addDropZone=e.addDropZone.bind(Object(k.a)(Object(k.a)(e))),e.removeDropZone=e.removeDropZone.bind(Object(k.a)(Object(k.a)(e))),e.resetDragState=e.resetDragState.bind(Object(k.a)(Object(k.a)(e))),e.toggleDraggingOverDocument=Object(D.throttle)(e.toggleDraggingOverDocument.bind(Object(k.a)(Object(k.a)(e))),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(D.filter)(this.dropZones,function(t){return t!==e})}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null}),this.dropZones.forEach(function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})}))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,o=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,r=Object(D.filter)(this.dropZones,function(e){return ht(t,e)&&(n=e.element,r=o.clientX,a=o.clientY,(i=n.getBoundingClientRect()).bottom!==i.top&&i.left!==i.right&&r>=i.left&&r<=i.right&&a>=i.top&&a<=i.bottom);var n,r,a,i}),a=Object(D.find)(r,function(e){return!Object(D.some)(r,function(t){return t!==e&&e.element.parentElement.contains(t.element)})}),i=this.dropZones.indexOf(a),c=null;if(a){var s=a.element.getBoundingClientRect();c={x:o.clientX-s.left-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,o=n.cycle,r=void 0===o||o,a=n.eventToOffset,i=n.onNavigate,c=void 0===i?D.noop:i,s=n.stopNavigationEvents,l=a(e);if(void 0!==l&&s&&(e.nativeEvent.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault(),e.stopPropagation()),l){var u=t(document.activeElement);if(u){var d=u.index,h=u.focusables,f=r?function(e,t,n){var o=e+n;return o<0?t+o:o>=t?o-t:o}(d,h.length,l):d+l;f>=0&&f0&&0===o,"is-active":e.isActive}),icon:e.icon,role:"menuitem",disabled:e.isDisabled},e.title)})}))}})};var _t=Object(r.forwardRef)(function(e,t){var n=e.href,o=e.children,a=e.className,i=e.rel,c=void 0===i?"":i,s=Object(T.a)(e,["href","children","className","rel"]);c=Object(D.uniq)(Object(D.compact)([].concat(Object(_.a)(c.split(" ")),["external","noreferrer","noopener"]))).join(" ");var l=p()("components-external-link",a);return Object(r.createElement)("a",Object(P.a)({},s,{className:l,href:n,target:"_blank",rel:c,ref:t})," ",o,Object(r.createElement)("span",{className:"screen-reader-text"},Object(S.__)("(opens in a new tab)")),Object(r.createElement)(J,{icon:"external",className:"components-external-link__icon"}))}),Dt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onMouseMove=e.onMouseMove.bind(Object(k.a)(Object(k.a)(e))),e.state={isDragging:!1,bounds:{},percentages:{}},e.containerRef=Object(r.createRef)(),e.imageRef=Object(r.createRef)(),e.horizontalPositionChanged=e.horizontalPositionChanged.bind(Object(k.a)(Object(k.a)(e))),e.verticalPositionChanged=e.verticalPositionChanged.bind(Object(k.a)(Object(k.a)(e))),e.onLoad=e.onLoad.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.setState({percentages:this.props.value})}},{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,o=this.pickerDimensions(),r=o.width/t,a=o.height/n;return a>=r?(e.width=e.right=o.width,e.height=n*r,e.top=(o.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=o.height,e.width=t*a,e.left=(o.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,o=t.bounds,r=this.props.onChange;if(n){var a=this.pickerDimensions(),i={left:e.pageX-a.left,top:e.pageY-a.top},c=Math.max(o.left,Math.min(i.left,o.right)),s=Math.max(o.top,Math.min(i.top,o.bottom)),l={x:(c-o.left)/(a.width-2*o.left),y:(s-o.top)/(a.height-2*o.top)};this.setState({percentages:l},function(){r({x:this.state.percentages.x,y:this.state.percentages.y})})}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,o=this.state.percentages,r=Math.max(Math.min(parseInt(t),100),0);o[e]=r?r/100:0,this.setState({percentages:o},function(){n({x:this.state.percentages.x,y:this.state.percentages.y})})}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.url,a=t.value,i=t.label,s=t.help,l=t.className,d=this.state,h=d.bounds,f=d.isDragging,b=d.percentages,v=this.pickerDimensions(),m={left:a.x*(v.width-2*h.left)+h.left,top:a.y*(v.height-2*h.top)+h.top},y={left:"".concat(m.left,"px"),top:"".concat(m.top,"px")},g=p()("components-focal-point-picker__icon_container",f?"is-dragging":null),O="inspector-focal-point-picker-control-".concat(n),k="inspector-focal-point-picker-control-horizontal-position-".concat(n),_="inspector-focal-point-picker-control-horizontal-position-".concat(n);return Object(r.createElement)(De,{label:i,id:O,help:s,className:l},Object(r.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(r.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(r.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:o,draggable:"false"}),Object(r.createElement)("div",{className:g,style:y},Object(r.createElement)(u,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(r.createElement)(c,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(r.createElement)(c,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(r.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(r.createElement)(De,{label:Object(S.__)("Horizontal Pos."),id:k},Object(r.createElement)("input",{className:"components-text-control__input",id:k,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(b.x)}),Object(r.createElement)("span",null,"%")),Object(r.createElement)(De,{label:Object(S.__)("Vertical Pos."),id:_},Object(r.createElement)("input",{className:"components-text-control__input",id:_,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(b.y)}),Object(r.createElement)("span",null,"%"))))}}]),t}(r.Component);Dt.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};var wt=Object(j.compose)([j.withInstanceId,z])(Dt),St=window.FocusEvent,jt=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(k.a)(Object(k.a)(n))),n.node=e.iframeRef||Object(r.createRef)(),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new St("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(r.createElement)("iframe",Object(P.a)({ref:this.node},Object(D.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(r.Component),Mt=Object(j.withGlobalEvents)({blur:"checkFocus"})(jt);var Ct=Object(j.compose)([j.withInstanceId,Object(j.withState)({currentInput:null})])(function(e){var t=e.className,n=e.currentInput,o=e.label,a=e.value,i=e.instanceId,c=e.onChange,s=e.beforeIcon,l=e.afterIcon,u=e.help,d=e.allowReset,h=e.initialPosition,f=e.min,b=e.max,v=e.setState,m=Object(T.a)(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),y="inspector-range-control-".concat(i),g=null===n?a:n,O=function(){null!==n&&v({currentInput:null})},k=function(e){var t=e.target.value;e.target.checkValidity()?(O(),c(""===t?void 0:parseFloat(t))):v({currentInput:t})},_=Object(D.isFinite)(g)?g:h||"";return Object(r.createElement)(De,{label:o,id:y,help:u,className:p()("components-range-control",t)},s&&Object(r.createElement)(J,{icon:s}),Object(r.createElement)("input",Object(P.a)({className:"components-range-control__slider",id:y,type:"range",value:_,onChange:k,"aria-describedby":u?y+"__help":void 0,min:f,max:b},m)),l&&Object(r.createElement)(J,{icon:l}),Object(r.createElement)("input",Object(P.a)({className:"components-range-control__number",type:"number",onChange:k,"aria-label":o,value:g,min:f,max:b,onBlur:O},m)),d&&Object(r.createElement)(I,{onClick:function(){O(),c()},disabled:void 0===a},Object(S.__)("Reset")))});var Pt=function(e){var t=e.fallbackFontSize,n=e.fontSizes,o=void 0===n?[]:n,a=e.disableCustomFontSizes,i=void 0!==a&&a,c=e.onChange,s=e.value,l=e.withSlider,u=void 0!==l&&l;if(i&&!o.length)return null;var d=o.find(function(e){return e.size===s}),h=d&&d.name||!s&&Object(S._x)("Normal","font size name")||Object(S._x)("Custom","font size name");return Object(r.createElement)(De,{label:Object(S.__)("Font Size")},Object(r.createElement)("div",{className:"components-font-size-picker__buttons"},o.length>0&&Object(r.createElement)(Ee,{className:"components-font-size-picker__dropdown",contentClassName:"components-font-size-picker__dropdown-content",position:"bottom",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(I,{className:"components-font-size-picker__selector",isLarge:!0,onClick:n,"aria-expanded":t,"aria-label":Object(S.sprintf)(Object(S.__)("Font size: %s"),h)},h)},renderContent:function(){return Object(r.createElement)(gt,null,Object(D.map)(o,function(e){var t=e.name,n=e.size,o=e.slug,a=s===n||!s&&"normal"===o;return Object(r.createElement)(I,{key:o,onClick:function(){return c("normal"===o?void 0:n)},className:"is-font-".concat(o),role:"menuitemradio","aria-checked":a},a&&Object(r.createElement)(J,{icon:"saved"}),Object(r.createElement)("span",{className:"components-font-size-picker__dropdown-text-size",style:{fontSize:n}},t))}))}}),!u&&!i&&Object(r.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;c(""!==t?Number(t):void 0)},"aria-label":Object(S.__)("Custom font size"),value:s||""}),Object(r.createElement)(I,{className:"components-color-palette__clear",type:"button",disabled:void 0===s,onClick:function(){return c(void 0)},isSmall:!0,isDefault:!0},Object(S.__)("Reset"))),u&&Object(r.createElement)(Ct,{className:"components-font-size-picker__custom-input",label:Object(S.__)("Custom Size"),value:s||"",initialPosition:t,onChange:c,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))},Et=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(k.a)(Object(k.a)(e))),e.bindInput=e.bindInput.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.multiple,o=void 0!==n&&n,a=e.accept,i=e.onChange,c=e.icon,s=void 0===c?"upload":c,l=Object(T.a)(e,["children","multiple","accept","onChange","icon"]);return Object(r.createElement)("div",{className:"components-form-file-upload"},Object(r.createElement)(ee,Object(P.a)({icon:s,onClick:this.openFileDialog},l),t),Object(r.createElement)("input",{type:"file",ref:this.bindInput,multiple:o,style:{display:"none"},accept:a,onChange:i}))}}]),t}(r.Component);var zt=function(e){var t=e.className,n=e.checked,o=e.id,a=e.onChange,i=void 0===a?D.noop:a,s=Object(T.a)(e,["className","checked","id","onChange"]),l=p()("components-form-toggle",t,{"is-checked":n});return Object(r.createElement)("span",{className:l},Object(r.createElement)("input",Object(P.a)({className:"components-form-toggle__input",id:o,type:"checkbox",checked:n,onChange:i},s)),Object(r.createElement)("span",{className:"components-form-toggle__track"}),Object(r.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(r.createElement)(u,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(r.createElement)(c,{d:"M0 0h2v6H0z"})):Object(r.createElement)(u,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(r.createElement)(c,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))},Tt=n(32);var It=Object(j.withInstanceId)(function(e){var t=e.value,n=e.status,o=e.title,a=e.displayTransform,i=e.isBorderless,c=void 0!==i&&i,s=e.disabled,l=void 0!==s&&s,u=e.onClickRemove,d=void 0===u?D.noop:u,h=e.onMouseEnter,f=e.onMouseLeave,b=e.messages,v=e.termPosition,m=e.termsCount,y=e.instanceId,g=p()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":l}),O=a(t),k=Object(S.sprintf)(Object(S.__)("%1$s (%2$s of %3$s)"),O,v,m);return Object(r.createElement)("span",{className:g,onMouseEnter:h,onMouseLeave:f,title:o},Object(r.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(y)},Object(r.createElement)("span",{className:"screen-reader-text"},k),Object(r.createElement)("span",{"aria-hidden":"true"},O)),Object(r.createElement)(ee,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!l&&function(){return d({value:t})},label:b.remove,"aria-describedby":"components-form-token-field__token-text-".concat(y)}))}),xt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(k.a)(Object(k.a)(e))),e.bindInput=e.bindInput.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,o=e.instanceId,a=e.selectedSuggestionIndex,i=Object(T.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),c=t.length+1;return Object(r.createElement)("input",Object(P.a)({ref:this.bindInput,id:"components-form-token-input-".concat(o),type:"text"},i,{value:t,onChange:this.onChange,size:c,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(o):void 0,"aria-activedescendant":-1!==a?"components-form-token-suggestions-".concat(o,"-").concat(a):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(o)}))}}]),t}(r.Component),Ht=n(67),Nt=n.n(Ht),Rt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(k.a)(Object(k.a)(e))),e.bindList=e.bindList.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,Nt()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(r.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(D.map)(this.props.suggestions,function(t,n){var o=e.computeSuggestionMatch(t),a=p()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(r.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:a,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},o?Object(r.createElement)("span",{"aria-label":e.props.displayTransform(t)},o.suggestionBeforeMatch,Object(r.createElement)("strong",{className:"components-form-token-field__suggestion-match"},o.suggestionMatch),o.suggestionAfterMatch):e.props.displayTransform(t))}))}}]),t}(r.Component);Rt.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var Lt=Rt,At={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},Ft=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state=At,e.onKeyDown=e.onKeyDown.bind(Object(k.a)(Object(k.a)(e))),e.onKeyPress=e.onKeyPress.bind(Object(k.a)(Object(k.a)(e))),e.onFocus=e.onFocus.bind(Object(k.a)(Object(k.a)(e))),e.onBlur=e.onBlur.bind(Object(k.a)(Object(k.a)(e))),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(k.a)(Object(k.a)(e))),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(k.a)(Object(k.a)(e))),e.addCurrentToken=e.addCurrentToken.bind(Object(k.a)(Object(k.a)(e))),e.onContainerTouched=e.onContainerTouched.bind(Object(k.a)(Object(k.a)(e))),e.renderToken=e.renderToken.bind(Object(k.a)(Object(k.a)(e))),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(k.a)(Object(k.a)(e))),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(k.a)(Object(k.a)(e))),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(k.a)(Object(k.a)(e))),e.onInputChange=e.onInputChange.bind(Object(k.a)(Object(k.a)(e))),e.bindInput=e.bindInput.bind(Object(k.a)(Object(k.a)(e))),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidUpdate",value:function(){this.state.isActive&&!this.input.hasFocus()&&this.input.focus()}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(At)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case w.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case w.ENTER:t=this.addCurrentToken();break;case w.LEFT:t=this.handleLeftArrowKey();break;case w.UP:t=this.handleUpArrowKey();break;case w.RIGHT:t=this.handleRightArrowKey();break;case w.DOWN:t=this.handleDownArrowKey();break;case w.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case w.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case w.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,o=t.split(n),r=Object(D.last)(o)||"",a=r.trim().length>1,i=this.getMatchingSuggestions(r),c=a&&!!i.length;o.length>1&&this.addNewTokens(o.slice(0,-1)),this.setState({incompleteTokenValue:r,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.props.onInputChange(r),a&&(this.setState({isExpanded:c}),i.length?this.props.debouncedSpeak(Object(S.sprintf)(Object(S._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",i.length),i.length),"assertive"):this.props.debouncedSpeak(Object(S.__)("No results."),"assertive"))}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState(function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}}),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState(function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}}),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState(function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}})}},{key:"moveInputBeforePreviousToken",value:function(){this.setState(function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}})}},{key:"moveInputAfterNextToken",value:function(){this.setState(function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}})}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e0){var o=Object(D.clone)(this.props.value);o.splice.apply(o,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(o)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter(function(n){return t.getTokenValue(n)!==t.getTokenValue(e)});this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object(Tt.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,r=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform)(e),a=[],i=[];return 0===r.length?t=Object(D.difference)(t,n):(r=r.toLocaleLowerCase(),Object(D.each)(t,function(e){var t=e.toLocaleLowerCase().indexOf(r);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&i.push(e))}),t=a.concat(i)),Object(D.take)(t,o)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(D.some)(this.props.value,function(n){return t.getTokenValue(e)===t.getTokenValue(n)})}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"renderTokensAndInput",value:function(){var e=Object(D.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var o=this.getTokenValue(e),a=e.status?e.status:void 0,i=t+1,c=n.length;return Object(r.createElement)(It,{key:"token-"+o,value:o,status:a,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==a&&this.props.disabled,messages:this.props.messages,termsCount:c,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,a=e.maxLength,i=e.value,c={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return a&&i.length>=a||(c=Object(o.a)({},c,{onChange:this.onInputChange})),Object(r.createElement)(xt,c)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,o=void 0===n?Object(S.__)("Add item"):n,a=e.instanceId,i=e.className,c=this.state.isExpanded,s=p()(i,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),l={className:"components-form-token-field",tabIndex:"-1"},u=this.getMatchingSuggestions();return t||(l=Object.assign({},l,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(r.createElement)("div",l,Object(r.createElement)("label",{htmlFor:"components-form-token-input-".concat(a),className:"components-form-token-field__label"},o),Object(r.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),c&&Object(r.createElement)(Lt,{instanceId:a,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:u,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(r.createElement)("div",{id:"components-form-token-suggestions-howto-".concat(a),className:"screen-reader-text"},Object(S.__)("Separate with commas")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(r.Component);Ft.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:D.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(S.__)("Item added."),removed:Object(S.__)("Item removed."),remove:Object(S.__)("Remove item")}};var Vt=ye(Object(j.withInstanceId)(Ft));var Bt=function(e){var t,n=e.icon,a=void 0===n?null:n,i=e.size,c=e.className;if("string"==typeof a)return t=i||20,Object(r.createElement)(J,{icon:a,size:t,className:c});if(t=i||24,"function"==typeof a)return a.prototype instanceof r.Component?Object(r.createElement)(a,{className:c,size:t}):a();if(a&&("svg"===a.type||a.type===u)){var s=Object(o.a)({className:c,width:t,height:t},a.props);return Object(r.createElement)(u,s)}return Object(r.isValidElement)(a)?Object(r.cloneElement)(a,{className:c,size:t}):a};var Kt=Object(j.withInstanceId)(function(e){var t=e.children,n=e.className,o=void 0===n?"":n,a=e.instanceId,i=e.label;if(!r.Children.count(t))return null;var c="components-menu-group-label-".concat(a),s=p()(o,"components-menu-group");return Object(r.createElement)("div",{className:s},i&&Object(r.createElement)("div",{className:"components-menu-group__label",id:c},i),Object(r.createElement)(gt,{orientation:"vertical","aria-labelledby":i?c:null},t))});var Wt=Object(j.withInstanceId)(function(e){var t=e.children,n=e.info,a=e.className,i=e.icon,c=e.shortcut,s=e.isSelected,l=e.role,u=void 0===l?"menuitem":l,d=Object(T.a)(e,["children","info","className","icon","shortcut","isSelected","role"]);a=p()("components-menu-item__button",a,{"has-icon":i}),n&&(t=Object(r.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(r.createElement)("span",{className:"components-menu-item__info"},n)));var h=I;return i&&(Object(D.isString)(i)||(i=Object(r.cloneElement)(i,{className:"components-menu-items__item-icon",height:20,width:20})),h=ee,d.icon=i),Object(r.createElement)(h,Object(o.a)({"aria-checked":"menuitemcheckbox"===u||"menuitemradio"===u?s:void 0,role:u,className:a},d),t,Object(r.createElement)(Z,{className:"components-menu-item__shortcut",shortcut:c}))});function Ut(e){var t=e.choices,n=void 0===t?[]:t,o=e.onSelect,a=e.value;return n.map(function(e){var t=a===e.value;return Object(r.createElement)(Wt,{key:e.value,role:"menuitemradio",icon:t&&"yes",isSelected:t,shortcut:e.shortcut,onClick:function(){t||o(e.value)}},e.label)})}var $t=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Object(k.a)(Object(k.a)(e))),e.handleClickOutside=e.handleClickOutside.bind(Object(k.a)(Object(k.a)(e))),e.focusFirstTabbable=e.focusFirstTabbable.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=C.focus.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleClickOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===w.ESCAPE&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.preventDefault(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.contentLabel,n=e.aria,o=n.describedby,a=n.labelledby,i=e.children,c=e.className,s=e.role,l=e.style;return Object(r.createElement)("div",{className:c,style:l,ref:this.containerRef,role:s,"aria-label":t,"aria-labelledby":t?null:a,"aria-describedby":o,tabIndex:"-1"},i)}}]),t}(r.Component),Yt=Object(j.compose)([W,U,Y.a,Object(j.withGlobalEvents)({keydown:"handleKeyDown"})])($t),qt=function(e){var t=e.icon,n=e.title,o=e.onClose,a=e.closeLabel,i=e.headingId,c=e.isDismissable,s=a||Object(S.__)("Close dialog");return Object(r.createElement)("div",{className:"components-modal__header"},Object(r.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(r.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(r.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),c&&Object(r.createElement)(ee,{onClick:o,icon:"no-alt",label:s}))},Gt=new Set(["alert","status","log","marquee","timer"]),Zt=[],Xt=!1;function Qt(e){if(!Xt){var t=document.body.children;Object(D.forEach)(t,function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Gt.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Zt.push(t))}),Xt=!0}}var Jt,en=0,tn=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).prepareDOM(),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){1===++en&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--en&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){Jt||(Jt=document.createElement("div"),document.body.appendChild(Jt)),this.node=document.createElement("div"),Jt.appendChild(this.node)}},{key:"cleanDOM",value:function(){Jt.removeChild(this.node)}},{key:"openFirstModal",value:function(){Qt(Jt),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),Xt&&(Object(D.forEach)(Zt,function(e){e.removeAttribute("aria-hidden")}),Zt=[],Xt=!1)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.className,o=e.onRequestClose,a=e.title,i=e.icon,c=e.closeButtonLabel,s=e.children,l=e.aria,u=e.instanceId,d=e.isDismissable,h=Object(T.a)(e,["overlayClassName","className","onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),f=l.labelledby||"components-modal-header-".concat(u);return Object(r.createPortal)(Object(r.createElement)(ne,{className:p()("components-modal__screen-overlay",t)},Object(r.createElement)(Yt,Object(P.a)({className:p()("components-modal__frame",n),onRequestClose:o,aria:{labelledby:a?f:null,describedby:l.describedby}},h),Object(r.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(r.createElement)(qt,{closeLabel:c,headingId:f,icon:i,isDismissable:d,onClose:o,title:a}),s))),this.node)}}]),t}(r.Component);tn.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,onRequestClose:D.noop,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var nn=Object(j.withInstanceId)(tn);var on=function(e){var t=e.className,n=e.status,o=e.children,a=e.onRemove,i=void 0===a?D.noop:a,c=e.isDismissible,s=void 0===c||c,l=e.actions,u=void 0===l?[]:l,d=e.__unstableHTML,h=p()(t,"components-notice","is-"+n,{"is-dismissible":s});return d&&(o=Object(r.createElement)(r.RawHTML,null,o)),Object(r.createElement)("div",{className:h},Object(r.createElement)("div",{className:"components-notice__content"},o,u.map(function(e,t){var n=e.className,o=e.label,a=e.noDefaultClasses,i=void 0!==a&&a,c=e.onClick,s=e.url;return Object(r.createElement)(I,{key:t,href:s,isDefault:!i&&!s,isLink:!i&&!!s,onClick:s?void 0:c,className:p()("components-notice__action",n)},o)})),s&&Object(r.createElement)(ee,{className:"components-notice__dismiss",icon:"no",label:Object(S.__)("Dismiss this notice"),onClick:i,tooltip:!1}))};var rn=function(e){var t=e.notices,n=e.onRemove,o=void 0===n?D.noop:n,a=e.className,i=e.children;return a=p()("components-notice-list",a),Object(r.createElement)("div",{className:a},i,Object(_.a)(t).reverse().map(function(e){return Object(r.createElement)(on,Object(P.a)({},Object(D.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return o(t)})}),e.content);var t}))};var an=function(e){var t=e.label,n=e.children;return Object(r.createElement)("div",{className:"components-panel__header"},t&&Object(r.createElement)("h2",null,t),n)};var cn=function(e){var t=e.header,n=e.className,o=e.children,a=p()(n,"components-panel");return Object(r.createElement)("div",{className:a},t&&Object(r.createElement)(an,{label:t}),o)},sn=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(Object(k.a)(Object(k.a)(n))),n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"toggle",value:function(e){e.preventDefault(),void 0===this.props.opened&&this.setState(function(e){return{opened:!e.opened}}),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,o=e.opened,a=e.className,s=e.icon,l=e.forwardedRef,d=void 0===o?this.state.opened:o,h=p()("components-panel__body",a,{"is-opened":d});return Object(r.createElement)("div",{className:h,ref:l},!!t&&Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)(I,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":d},Object(r.createElement)("span",{"aria-hidden":"true"},d?Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,s&&Object(r.createElement)(Bt,{icon:s,className:"components-panel__icon",size:20}))),d&&n)}}]),t}(r.Component),ln=function(e,t){return Object(r.createElement)(sn,Object(P.a)({},e,{forwardedRef:t}))};ln.displayName="PanelBody";var un=Object(r.forwardRef)(ln);var dn=function(e){var t=e.className,n=e.children,o=p()("components-panel__row",t);return Object(r.createElement)("div",{className:o},n)};var hn=function(e){var t=e.icon,n=e.children,o=e.label,a=e.instructions,i=e.className,c=e.notices,s=Object(T.a)(e,["icon","children","label","instructions","className","notices"]),l=p()("components-placeholder",i);return Object(r.createElement)("div",Object(P.a)({},s,{className:l}),c,Object(r.createElement)("div",{className:"components-placeholder__label"},Object(D.isString)(t)?Object(r.createElement)(J,{icon:t}):t,o),!!a&&Object(r.createElement)("div",{className:"components-placeholder__instructions"},a),Object(r.createElement)("div",{className:"components-placeholder__fieldset"},n))};function fn(){var e=window.getSelection();if(0===e.rangeCount)return{};var t=Object(C.getRectangleFromRange)(e.getRangeAt(0)),n=t.top+t.height,o=t.left+t.width/2,r=Object(C.getOffsetParent)(e.anchorNode);if(r){var a=r.getBoundingClientRect();n-=a.top,o-=a.left}return{top:n,left:o}}var pn=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state={style:fn()},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"render",value:function(){var e=this.props.children,t=this.state.style;return Object(r.createElement)("div",{className:"editor-format-toolbar__selection-position block-editor-format-toolbar__selection-position",style:t},e)}}]),t}(r.Component);function bn(e){var t=e.label,n=e.noOptionLabel,o=e.onChange,a=e.selectedId,i=e.tree,c=Object(T.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),s=Object(D.compact)([n&&{value:"",label:n}].concat(Object(_.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(D.flatMap)(t,function(t){return[{value:t.id,label:Object(D.repeat)(" ",3*n)+Object(D.unescape)(t.name)}].concat(Object(_.a)(e(t.children||[],n+1)))})}(i))));return Object(r.createElement)(Bn,Object(P.a)({label:t,options:s,onChange:o},{value:a},c))}function vn(e){var t,n,a=e.label,i=e.noOptionLabel,c=e.categoriesList,s=e.selectedCategoryId,l=e.onChange,u=(t=c.map(function(e){return Object(o.a)({children:[],parent:null},e)}),(n=Object(D.groupBy)(t,"parent")).null&&n.null.length?t:function e(t){return t.map(function(t){var r=n[t.id];return Object(o.a)({},t,{children:r&&r.length?e(r):[]})})}(n[0]||[]));return Object(r.createElement)(bn,Object(P.a)({label:a,noOptionLabel:i,onChange:l},{tree:u,selectedId:s}))}var mn=1,yn=100;function gn(e){var t=e.categoriesList,n=e.selectedCategoryId,o=e.numberOfItems,a=e.order,i=e.orderBy,c=e.maxItems,s=void 0===c?yn:c,l=e.minItems,u=void 0===l?mn:l,d=e.onCategoryChange,f=e.onNumberOfItemsChange,p=e.onOrderChange,b=e.onOrderByChange;return[p&&b&&Object(r.createElement)(Bn,{key:"query-controls-order-select",label:Object(S.__)("Order by"),value:"".concat(i,"/").concat(a),options:[{label:Object(S.__)("Newest to Oldest"),value:"date/desc"},{label:Object(S.__)("Oldest to Newest"),value:"date/asc"},{label:Object(S.__)("A → Z"),value:"title/asc"},{label:Object(S.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(h.a)(t,2),o=n[0],r=n[1];r!==a&&p(r),o!==i&&b(o)}}),d&&Object(r.createElement)(vn,{key:"query-controls-category-select",categoriesList:t,label:Object(S.__)("Category"),noOptionLabel:Object(S.__)("All"),selectedCategoryId:n,onChange:d}),f&&Object(r.createElement)(Ct,{key:"query-controls-range-control",label:Object(S.__)("Number of items"),value:o,onChange:f,min:u,max:s,required:!0})]}var On=Object(j.withInstanceId)(function(e){var t=e.label,n=e.className,o=e.selected,a=e.help,i=e.instanceId,c=e.onChange,s=e.options,l=void 0===s?[]:s,u="inspector-radio-control-".concat(i),d=function(e){return c(e.target.value)};return!Object(D.isEmpty)(l)&&Object(r.createElement)(De,{label:t,id:u,help:a,className:p()(n,"components-radio-control")},l.map(function(e,t){return Object(r.createElement)("div",{key:"".concat(u,"-").concat(t),className:"components-radio-control__option"},Object(r.createElement)("input",{id:"".concat(u,"-").concat(t),className:"components-radio-control__input",type:"radio",name:u,value:e.value,onChange:d,checked:e.value===o,"aria-describedby":a?"".concat(u,"__help"):void 0}),Object(r.createElement)("label",{htmlFor:"".concat(u,"-").concat(t)},e.label))}))}),kn=n(27),_n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Dn=function(){function e(e,t){for(var n=0;n div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map(function(e,t){return Object(r.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})})),Object(r.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(r.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(r.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map(function(e){return Object(r.createElement)("script",{key:e,src:e})}))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(r.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(r.createElement)(Mt,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(r.Component),Vn=Fn=Object(j.withGlobalEvents)({message:"checkMessageForResize"})(Fn);var Bn=Object(j.withInstanceId)(function(e){var t=e.help,n=e.instanceId,o=e.label,a=e.multiple,i=void 0!==a&&a,c=e.onChange,s=e.options,l=void 0===s?[]:s,u=e.className,d=Object(T.a)(e,["help","instanceId","label","multiple","onChange","options","className"]),h="inspector-select-control-".concat(n);return!Object(D.isEmpty)(l)&&Object(r.createElement)(De,{label:o,id:h,help:t,className:u},Object(r.createElement)("select",Object(P.a)({id:h,className:"components-select-control__input",onChange:function(e){if(i){var t=Object(_.a)(e.target.options).filter(function(e){return e.selected}).map(function(e){return e.value});c(t)}else c(e.target.value)},"aria-describedby":t?"".concat(h,"__help"):void 0,multiple:i},d),l.map(function(e,t){return Object(r.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)})))});function Kn(){return Object(r.createElement)("span",{className:"components-spinner"})}var Wn=n(33),Un=n.n(Wn),$n=n(25);var Yn=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).state={response:null},n}return Object(O.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=Object(D.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){Object(D.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var n=e.block,r=e.attributes,a=void 0===r?null:r,i=e.urlQueryArgs,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object($n.addQueryArgs)("/wp/v2/block-renderer/".concat(e),Object(o.a)({context:"edit"},null!==t?{attributes:t}:{},n))}(n,a,void 0===i?{}:i),s=this.currentFetchRequest=Un()({path:c}).then(function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&e.rendered&&t.setState({response:e.rendered})}).catch(function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})});return s}}},{key:"render",value:function(){var e=this.state.response,t=this.props.className;if(!e)return Object(r.createElement)(hn,{className:t},Object(r.createElement)(Kn,null));if(e.error){var n=Object(S.sprintf)(Object(S.__)("Error loading block: %s"),e.errorMsg);return Object(r.createElement)(hn,{className:t},n)}return e.length?Object(r.createElement)(r.RawHTML,{key:"html",className:t},e):Object(r.createElement)(hn,{className:t},Object(S.__)("No results found."))}}]),t}(r.Component),qn=function(e){var t=e.tabId,n=e.onClick,o=e.children,a=e.selected,i=Object(T.a)(e,["tabId","onClick","children","selected"]);return Object(r.createElement)(I,Object(P.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),o)},Gn=function(e){function t(){var e;Object(v.a)(this,t);var n=(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).props,o=n.tabs,r=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(k.a)(Object(k.a)(e))),e.onNavigate=e.onNavigate.bind(Object(k.a)(Object(k.a)(e))),e.state={selected:r||(o.length>0?o[0].name:null)},e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?D.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,o=n.activeClass,a=void 0===o?"is-active":o,i=n.className,c=n.instanceId,s=n.orientation,l=void 0===s?"horizontal":s,u=n.tabs,d=Object(D.find)(u,{name:t}),h=c+"-"+d.name;return Object(r.createElement)("div",{className:i},Object(r.createElement)(gt,{role:"tablist",orientation:l,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},u.map(function(n){return Object(r.createElement)(qn,{className:"".concat(n.className," ").concat(n.name===t?a:""),tabId:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(D.partial)(e.handleClick,n.name)},n.title)})),d&&Object(r.createElement)("div",{"aria-labelledby":h,role:"tabpanel",id:h+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(d)))}}]),t}(r.Component),Zn=Object(j.withInstanceId)(Gn);var Xn=Object(j.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.instanceId,i=e.onChange,c=e.rows,s=void 0===c?4:c,l=e.className,u=Object(T.a)(e,["label","value","help","instanceId","onChange","rows","className"]),d="inspector-textarea-control-".concat(a);return Object(r.createElement)(De,{label:t,id:d,help:o,className:l},Object(r.createElement)("textarea",Object(P.a)({className:"components-textarea-control__input",id:d,rows:s,onChange:function(e){return i(e.target.value)},"aria-describedby":o?d+"__help":void 0,value:n},u)))}),Qn=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(t,e),Object(g.a)(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,o=n.label,a=n.checked,i=n.help,c=n.instanceId,s=n.className,l="inspector-toggle-control-".concat(c);return i&&(e=l+"__help",t=Object(D.isFunction)(i)?i(a):i),Object(r.createElement)(De,{id:l,help:t,className:p()("components-toggle-control",s)},Object(r.createElement)(zt,{id:l,checked:a,onChange:this.onChange,"aria-describedby":e}),Object(r.createElement)("label",{htmlFor:l,className:"components-toggle-control__label"},o))}}]),t}(r.Component),Jn=Object(j.withInstanceId)(Qn),eo=function(e){return Object(r.createElement)("div",{className:e.className},e.children)};var to=function(e){var t=e.containerClassName,n=e.icon,o=e.title,a=e.shortcut,i=e.subscript,c=e.onClick,s=e.className,l=e.isActive,u=e.isDisabled,d=e.extraProps,h=e.children;return Object(r.createElement)(eo,{className:t},Object(r.createElement)(ee,Object(P.a)({icon:n,label:o,shortcut:a,"data-subscript":i,onClick:function(e){e.stopPropagation(),c()},className:p()("components-toolbar__control",s,{"is-active":l}),"aria-pressed":l,disabled:u},d)),h)},no=function(e){return Object(r.createElement)("div",{className:e.className},e.children)};var oo=function(e){var t=e.controls,n=void 0===t?[]:t,o=e.children,a=e.className,i=e.isCollapsed,c=e.icon,s=e.label,l=Object(T.a)(e,["controls","children","className","isCollapsed","icon","label"]);if(!(n&&n.length||o))return null;var u=n;return Array.isArray(u[0])||(u=[u]),i?Object(r.createElement)(kt,{icon:c,label:s,controls:u,className:p()("components-toolbar",a)}):Object(r.createElement)(no,Object(P.a)({className:p()("components-toolbar",a)},l),Object(D.flatMap)(u,function(e,t){return e.map(function(e,n){return Object(r.createElement)(to,Object(P.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))})}),o)},ro=Object(j.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(k.a)(Object(k.a)(e))),e.focusNextRegion=e.focusRegion.bind(Object(k.a)(Object(k.a)(e)),1),e.focusPreviousRegion=e.focusRegion.bind(Object(k.a)(Object(k.a)(e)),-1),e.onClick=e.onClick.bind(Object(k.a)(Object(k.a)(e))),e.state={isFocusingRegions:!1},e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=Object(_.a)(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],o=t.indexOf(document.activeElement);if(-1!==o){var r=o+e;n=t[r=(r=-1===r?t.length-1:r)===t.length?0:r]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t,n=p()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(r.createElement)("div",{ref:this.bindContainer,className:n,onClick:this.onClick},Object(r.createElement)(Re,{bindGlobal:!0,shortcuts:(t={"ctrl+`":this.focusNextRegion},Object(d.a)(t,w.rawShortcut.access("n"),this.focusNextRegion),Object(d.a)(t,"ctrl+shift+`",this.focusPreviousRegion),Object(d.a)(t,w.rawShortcut.access("p"),this.focusPreviousRegion),t)}),Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"navigateRegions"),ao=function(e){return Object(j.createHigherOrderComponent)(function(t){return function(n){function o(){var e;return Object(v.a)(this,o),(e=Object(m.a)(this,Object(y.a)(o).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(k.a)(Object(k.a)(e))),e}return Object(O.a)(o,n),Object(g.a)(o,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var t=this.state,n=t.grabStylesCompleted,o=t.fallbackStyles;if(this.nodeRef&&!n){var r=e(this.nodeRef,this.props);Object(D.isEqual)(r,o)||this.setState({fallbackStyles:r,grabStylesCompleted:!!Object(D.every)(r)})}}},{key:"render",value:function(){var e=Object(r.createElement)(t,Object(P.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(r.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),o}(r.Component)},"withFallbackStyles")},io=n(26),co=16;function so(e){return Object(j.createHigherOrderComponent)(function(t){var n,o="core/with-filters/"+e;var a=function(a){function i(){var o;return Object(v.a)(this,i),o=Object(m.a)(this,Object(y.a)(i).apply(this,arguments)),void 0===n&&(n=Object(io.applyFilters)(e,t)),o}return Object(O.a)(i,a),Object(g.a)(i,[{key:"componentDidMount",value:function(){i.instances.push(this),1===i.instances.length&&(Object(io.addAction)("hookRemoved",o,c),Object(io.addAction)("hookAdded",o,c))}},{key:"componentWillUnmount",value:function(){i.instances=Object(D.without)(i.instances,this),0===i.instances.length&&(Object(io.removeAction)("hookRemoved",o),Object(io.removeAction)("hookAdded",o))}},{key:"render",value:function(){return Object(r.createElement)(n,this.props)}}]),i}(r.Component);a.instances=[];var i=Object(D.debounce)(function(){n=Object(io.applyFilters)(e,t),a.instances.forEach(function(e){e.forceUpdate()})},co);function c(t){t===e&&i()}return a},"withFilters")}var lo=n(65),uo=n.n(lo),ho=Object(j.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(k.a)(Object(k.a)(e))),e.createErrorNotice=e.createErrorNotice.bind(Object(k.a)(Object(k.a)(e))),e.removeNotice=e.removeNotice.bind(Object(k.a)(Object(k.a)(e))),e.removeAllNotices=e.removeAllNotices.bind(Object(k.a)(Object(k.a)(e))),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(O.a)(n,t),Object(g.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:Object(o.a)({},e,{id:uo()()});this.setState(function(e){return{noticeList:[].concat(Object(_.a)(e.noticeList),[t])}})}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState(function(t){return{noticeList:t.noticeList.filter(function(t){return t.id!==e})}})}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(r.createElement)(e,Object(P.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(r.createElement)(rn,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(r.Component)});n.d(t,"Circle",function(){return a}),n.d(t,"G",function(){return i}),n.d(t,"Path",function(){return c}),n.d(t,"Polygon",function(){return s}),n.d(t,"Rect",function(){return l}),n.d(t,"SVG",function(){return u}),n.d(t,"Animate",function(){return b}),n.d(t,"Autocomplete",function(){return _e}),n.d(t,"BaseControl",function(){return De}),n.d(t,"Button",function(){return I}),n.d(t,"ButtonGroup",function(){return we}),n.d(t,"CheckboxControl",function(){return Se}),n.d(t,"ClipboardButton",function(){return Ce}),n.d(t,"ColorIndicator",function(){return Pe}),n.d(t,"ColorPalette",function(){return Ye}),n.d(t,"ColorPicker",function(){return $e}),n.d(t,"Dashicon",function(){return J}),n.d(t,"DateTimePicker",function(){return Je}),n.d(t,"DatePicker",function(){return Xe}),n.d(t,"TimePicker",function(){return Qe}),n.d(t,"Disabled",function(){return at}),n.d(t,"Draggable",function(){return ct}),n.d(t,"DropZone",function(){return bt}),n.d(t,"DropZoneProvider",function(){return ft}),n.d(t,"Dropdown",function(){return Ee}),n.d(t,"DropdownMenu",function(){return kt}),n.d(t,"ExternalLink",function(){return _t}),n.d(t,"FocalPointPicker",function(){return wt}),n.d(t,"FocusableIframe",function(){return Mt}),n.d(t,"FontSizePicker",function(){return Pt}),n.d(t,"FormFileUpload",function(){return Et}),n.d(t,"FormToggle",function(){return zt}),n.d(t,"FormTokenField",function(){return Vt}),n.d(t,"Icon",function(){return Bt}),n.d(t,"IconButton",function(){return ee}),n.d(t,"KeyboardShortcuts",function(){return Re}),n.d(t,"MenuGroup",function(){return Kt}),n.d(t,"MenuItem",function(){return Wt}),n.d(t,"MenuItemsChoice",function(){return Ut}),n.d(t,"Modal",function(){return nn}),n.d(t,"ScrollLock",function(){return te}),n.d(t,"NavigableMenu",function(){return gt}),n.d(t,"TabbableContainer",function(){return Ot}),n.d(t,"Notice",function(){return on}),n.d(t,"NoticeList",function(){return rn}),n.d(t,"Panel",function(){return cn}),n.d(t,"PanelBody",function(){return un}),n.d(t,"PanelHeader",function(){return an}),n.d(t,"PanelRow",function(){return dn}),n.d(t,"Placeholder",function(){return hn}),n.d(t,"Popover",function(){return ve}),n.d(t,"__unstablePositionedAtSelection",function(){return pn}),n.d(t,"QueryControls",function(){return gn}),n.d(t,"RadioControl",function(){return On}),n.d(t,"RangeControl",function(){return Ct}),n.d(t,"ResizableBox",function(){return Ln}),n.d(t,"ResponsiveWrapper",function(){return An}),n.d(t,"SandBox",function(){return Vn}),n.d(t,"SelectControl",function(){return Bn}),n.d(t,"Spinner",function(){return Kn}),n.d(t,"ServerSideRender",function(){return Yn}),n.d(t,"TabPanel",function(){return Zn}),n.d(t,"TextControl",function(){return Ve}),n.d(t,"TextareaControl",function(){return Xn}),n.d(t,"ToggleControl",function(){return Jn}),n.d(t,"Toolbar",function(){return oo}),n.d(t,"ToolbarButton",function(){return to}),n.d(t,"Tooltip",function(){return Q}),n.d(t,"TreeSelect",function(){return bn}),n.d(t,"IsolatedEventContainer",function(){return ne}),n.d(t,"createSlotFill",function(){return he}),n.d(t,"Slot",function(){return se}),n.d(t,"Fill",function(){return de}),n.d(t,"SlotFillProvider",function(){return ie}),n.d(t,"navigateRegions",function(){return ro}),n.d(t,"withConstrainedTabbing",function(){return U}),n.d(t,"withFallbackStyles",function(){return ao}),n.d(t,"withFilters",function(){return so}),n.d(t,"withFocusOutside",function(){return z}),n.d(t,"withFocusReturn",function(){return W}),n.d(t,"FocusReturnProvider",function(){return K}),n.d(t,"withNotices",function(){return ho}),n.d(t,"withSpokenMessages",function(){return ye})}]); \ No newline at end of file diff --git a/wp-includes/js/dist/core-data.js b/wp-includes/js/dist/core-data.js index 8ba39ca0d4..d9ca768d2c 100644 --- a/wp-includes/js/dist/core-data.js +++ b/wp-includes/js/dist/core-data.js @@ -181,18 +181,18 @@ function _toConsumableArray(arr) { /***/ }), /***/ 23: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["url"]; }()); - -/***/ }), - -/***/ 26: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(54); +/***/ }), + +/***/ 25: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["url"]; }()); + /***/ }), /***/ 28: @@ -772,7 +772,7 @@ var equivalent_key_map = __webpack_require__(76); var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(23); +var external_this_wp_url_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/get-query-parts.js @@ -943,7 +943,7 @@ var getQueriedItems = Object(rememo["a" /* default */])(function (state) { var redux = __webpack_require__(71); // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js -var regenerator = __webpack_require__(26); +var regenerator = __webpack_require__(23); var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} diff --git a/wp-includes/js/dist/core-data.min.js b/wp-includes/js/dist/core-data.min.js index 49fe4142de..845dcd270d 100644 --- a/wp-includes/js/dist/core-data.min.js +++ b/wp-includes/js/dist/core-data.min.js @@ -1 +1 @@ -this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=364)}({132:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},15:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",function(){return n})},17:function(e,t,r){"use strict";var n=r(34);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[e];if(void 0===o)return r;var i=t(r[o],n);return i===r[o]?r:Object(a.a)({},r,Object(f.a)({},o,i))}}},h=function(e){return function(t){return function(r,n){return t(r,e(n))}}};var v=function(e){var t=new WeakMap;return function(r){var n;return t.has(r)?n=t.get(r):(n=e(r),Object(l.isObjectLike)(r)&&t.set(r,n)),n}};function y(e){return{type:"RECEIVE_ITEMS",items:Object(l.castArray)(e)}}var b=r(30),g=r(76),m=r.n(g),w=r(23);var E=v(function(e){for(var t={stableKey:"",page:1,perPage:10},r=Object.keys(e).sort(),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=O.get(e);if(r){var n=r.get(t);if(void 0!==n)return n}else r=new m.a,O.set(e,r);var o=function(e,t){var r=E(t),n=r.stableKey,o=r.page,i=r.perPage;if(!e.queries[n])return null;var a=e.queries[n];if(!a)return null;for(var u=-1===i?0:(o-1)*i,c=-1===i?a.length:Math.min(u+i,a.length),s=[],f=u;f1?t-1:0),n=1;n4&&void 0!==arguments[4]&&arguments[4];return o=n?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(a.a)({},y(e),{query:t})}(r,n):y(r),Object(a.a)({},o,{kind:e,name:t,invalidateCache:i})}function M(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function C(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function D(e,t,r){var n,o,i,a,u;return _.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,X(e);case 2:if(n=c.sent,o=Object(l.find)(n,{kind:e,name:t})){c.next=6;break}return c.abrupt("return");case 6:return i=o.key||K,a=r[i],c.next=10,I({path:"".concat(o.baseURL).concat(a?"/"+a:""),method:a?"PUT":"POST",data:r});case 10:return u=c.sent,c.next=13,U(e,t,u,void 0,!0);case 13:return c.abrupt("return",u);case 14:case"end":return c.stop()}},A,this)}function q(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function V(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}var F=_.a.mark(Q),B=_.a.mark(H),G=_.a.mark(X),K="id",W=[{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"}],Y=[{name:"postType",loadEntities:Q},{name:"taxonomy",loadEntities:H}];function Q(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(l.map)(e,function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t}}));case 4:case"end":return t.stop()}},F,this)}function H(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(l.map)(e,function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}}));case 4:case"end":return t.stop()}},B,this)}var z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Object(l.find)(W,{kind:e,name:t}),i="root"===e?"":Object(l.upperFirst)(Object(l.camelCase)(e)),a=Object(l.upperFirst)(Object(l.camelCase)(t))+(n?"s":""),u=n&&o.plural?Object(l.upperFirst)(Object(l.camelCase)(o.plural)):a;return"".concat(r).concat(i).concat(u)};function X(e){var t,r;return _.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,S("getEntitiesByKind",e);case 2:if(!(t=n.sent)||0===t.length){n.next=5;break}return n.abrupt("return",t);case 5:if(r=Object(l.find)(Y,{name:e})){n.next=8;break}return n.abrupt("return",[]);case 8:return n.next=10,r.loadEntities();case 10:return t=n.sent,n.next=13,N(t);case 13:return n.abrupt("return",t);case 14:case"end":return n.stop()}},G,this)}var J=Object(l.flowRight)([d(function(e){return"query"in e}),h(function(e){return e.query?Object(a.a)({},e,E(e.query)):e}),p("stableKey")])(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.page,o=t.perPage,i=t.key,a=void 0===i?K:i;return"RECEIVE_ITEMS"!==r?e:function(e,t,r,n){for(var o=(r-1)*n,i=Math.max(e.length,o+t.length),a=new Array(i),u=0;u=o&&u0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return Object(a.a)({},e,Object(l.keyBy)(t.items,t.key||K))}return e},queries:J});var $=Object(u.combineReducers)({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return Object(a.a)({},e,Object(f.a)({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:Object(a.a)({},e.byId,Object(l.keyBy)(t.users,"id")),queries:Object(a.a)({},e.queries,Object(f.a)({},t.queryID,Object(l.map)(t.users,function(e){return e.id})))}}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return Object(a.a)({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(Object(s.a)(e),Object(s.a)(t.entities))}return e}(e.config,t),n=e.reducer;if(!n||r!==e.config){var o=Object(l.groupBy)(r,"kind");n=Object(u.combineReducers)(Object.entries(o).reduce(function(e,t){var r=Object(c.a)(t,2),n=r[0],o=r[1],i=Object(u.combineReducers)(o.reduce(function(e,t){return Object(a.a)({},e,Object(f.a)({},t.name,function(e){return Object(l.flowRight)([d(function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind}),h(function(t){return Object(a.a)({},t,{key:e.key||K})})])(Z)}(t)))},{}));return e[n]=i,e},{}))}var i=n(e.data,t);return i===e.data&&r===e.config&&n===e.reducer?e:{reducer:n,data:i,config:r}},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var r=t.url,n=t.preview;return Object(a.a)({},e,Object(f.a)({},r,n))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return Object(a.a)({},e,Object(f.a)({},t.key,t.isAllowed))}return e}}),ee=r(49),te=r.n(ee),re=Object(u.createRegistrySelector)(function(e){return function(t,r){return e("core/data").isResolving("core","getEmbedPreview",[r])}});function ne(e){return oe(e,"authors")}var oe=Object(b.a)(function(e,t){var r=e.users.queries[t];return Object(l.map)(r,function(t){return e.users.byId[t]})},function(e,t){return[e.users.queries[t],e.users.byId]});function ie(e,t){return Object(l.filter)(e.entities.config,{kind:t})}function ae(e,t,r){return Object(l.find)(e.entities.config,{kind:t,name:r})}function ue(e,t,r,n){return Object(l.get)(e.entities.data,[t,r,"items",n])}function ce(e,t,r,n){var o=Object(l.get)(e.entities.data,[t,r]);return o?j(o,n):[]}function se(e){return e.themeSupports}function fe(e,t){return e.embedPreviews[t]}function le(e,t){var r=e.embedPreviews[t],n=''+t+"";return!!r&&r.html===n}function de(e){return te()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(l.defaultTo)(pe(e,"create","media"),!0)}function pe(e,t,r,n){var o=Object(l.compact)([t,r,n]).join("/");return Object(l.get)(e,["userPermissions",o])}var he=_.a.mark(Ee),ve=_.a.mark(Oe),ye=_.a.mark(je),be=_.a.mark(xe),ge=_.a.mark(ke),me=_.a.mark(_e),we=_.a.mark(Pe);function Ee(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,L("authors",e);case 5:case"end":return t.stop()}},he,this)}function Oe(e,t,r){var n,o,i;return _.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,X(e);case 2:if(n=a.sent,o=Object(l.find)(n,{kind:e,name:t})){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,I({path:"".concat(o.baseURL,"/").concat(r,"?context=edit")});case 8:return i=a.sent,a.next=11,U(e,t,i);case 11:case"end":return a.stop()}},ve,this)}function je(e,t){var r,n,o,i,u,c=arguments;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return r=c.length>2&&void 0!==c[2]?c[2]:{},s.next=3,X(e);case 3:if(n=s.sent,o=Object(l.find)(n,{kind:e,name:t})){s.next=7;break}return s.abrupt("return");case 7:return i=Object(w.addQueryArgs)(o.baseURL,Object(a.a)({},r,{context:"edit"})),s.next=10,I({path:i});case 10:return u=s.sent,s.next=13,U(e,t,Object.values(u),r);case 13:case"end":return s.stop()}},ye,this)}function xe(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,M(e[0].theme_supports);case 5:case"end":return t.stop()}},be,this)}function ke(e){var t;return _.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,I({path:Object(w.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=r.sent,r.next=6,C(e,t);case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),r.next=12,C(e,!1);case 12:case"end":return r.stop()}},ge,this,[[0,8]])}function _e(){return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return te()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(Pe("create","media"),"t0",2);case 2:case"end":return e.stop()}},me,this)}function Pe(e,t,r){var n,o,i,a,u,c;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(n={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){s.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return o=r?"/wp/v2/".concat(t,"/").concat(r):"/wp/v2/".concat(t),s.prev=5,s.next=8,I({path:o,method:r?"GET":"OPTIONS",parse:!1});case 8:i=s.sent,s.next=14;break;case 11:return s.prev=11,s.t0=s.catch(5),s.abrupt("return");case 14:return a=Object(l.hasIn)(i,["headers","get"])?i.headers.get("allow"):Object(l.get)(i,["headers","Allow"],""),u=Object(l.compact)([e,t,r]).join("/"),c=Object(l.includes)(a,n),s.next=19,V(u,c);case 19:case"end":return s.stop()}},we,this,[[5,11]])}je.shouldInvalidate=function(e,t,r){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&r===e.name};var Re=W.reduce(function(e,t){var r=t.kind,n=t.name;return e[z(r,n)]=function(e,t){return ue(e,r,n,t)},e[z(r,n,"get",!0)]=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a1?o-1:0),a=1;a=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},55:function(e,t){!function(t){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",s="object"==typeof e,f=t.regeneratorRuntime;if(f)s&&(e.exports=f);else{(f=t.regeneratorRuntime=s?e.exports:{}).wrap=w;var l="suspendedStart",d="suspendedYield",p="executing",h="completed",v={},y={};y[a]=function(){return this};var b=Object.getPrototypeOf,g=b&&b(b(T([])));g&&g!==n&&o.call(g,a)&&(y=g);var m=x.prototype=O.prototype=Object.create(y);j.prototype=m.constructor=x,x.constructor=j,x[c]=j.displayName="GeneratorFunction",f.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===j||"GeneratorFunction"===(t.displayName||t.name))},f.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(m),e},f.awrap=function(e){return{__await:e}},k(_.prototype),_.prototype[u]=function(){return this},f.AsyncIterator=_,f.async=function(e,t,r,n){var o=new _(w(e,t,r,n));return f.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},k(m),m[c]="Generator",m[a]=function(){return this},m.toString=function(){return"[object Generator]"},f.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=T,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,o){return u.type="throw",u.arg=e,t.next=n,o&&(t.method="next",t.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function w(e,t,r,n){var o=t&&t.prototype instanceof O?t:O,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(e,t,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=P(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=E(e,t,r);if("normal"===c.type){if(n=r.done?h:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function E(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function O(){}function j(){}function x(){}function k(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function _(e){var t;this._invoke=function(r,n){function i(){return new Promise(function(t,i){!function t(r,n,i,a){var u=E(e[r],e,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(s).then(function(e){c.value=e,i(c)},function(e){return t("throw",e,i,a)})}a(u.arg)}(r,n,t,i)})}return t=t?t.then(i,i):i()}}function P(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,P(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=E(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,v;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,v):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),a&&o(t,a),e}();e.exports=a},77:function(e,t,r){"use strict";(function(e,n){var o,i=r(99);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(i.a)(o);t.a=a}).call(this,r(59),r(132)(e))},99:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",function(){return n})}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=364)}({132:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},15:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",function(){return n})},17:function(e,t,r){"use strict";var n=r(34);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[e];if(void 0===o)return r;var i=t(r[o],n);return i===r[o]?r:Object(a.a)({},r,Object(f.a)({},o,i))}}},h=function(e){return function(t){return function(r,n){return t(r,e(n))}}};var v=function(e){var t=new WeakMap;return function(r){var n;return t.has(r)?n=t.get(r):(n=e(r),Object(l.isObjectLike)(r)&&t.set(r,n)),n}};function y(e){return{type:"RECEIVE_ITEMS",items:Object(l.castArray)(e)}}var b=r(30),g=r(76),m=r.n(g),w=r(25);var E=v(function(e){for(var t={stableKey:"",page:1,perPage:10},r=Object.keys(e).sort(),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=O.get(e);if(r){var n=r.get(t);if(void 0!==n)return n}else r=new m.a,O.set(e,r);var o=function(e,t){var r=E(t),n=r.stableKey,o=r.page,i=r.perPage;if(!e.queries[n])return null;var a=e.queries[n];if(!a)return null;for(var u=-1===i?0:(o-1)*i,c=-1===i?a.length:Math.min(u+i,a.length),s=[],f=u;f1?t-1:0),n=1;n4&&void 0!==arguments[4]&&arguments[4];return o=n?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(a.a)({},y(e),{query:t})}(r,n):y(r),Object(a.a)({},o,{kind:e,name:t,invalidateCache:i})}function M(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function C(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function D(e,t,r){var n,o,i,a,u;return _.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,X(e);case 2:if(n=c.sent,o=Object(l.find)(n,{kind:e,name:t})){c.next=6;break}return c.abrupt("return");case 6:return i=o.key||K,a=r[i],c.next=10,I({path:"".concat(o.baseURL).concat(a?"/"+a:""),method:a?"PUT":"POST",data:r});case 10:return u=c.sent,c.next=13,U(e,t,u,void 0,!0);case 13:return c.abrupt("return",u);case 14:case"end":return c.stop()}},A,this)}function q(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function V(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}var F=_.a.mark(Q),B=_.a.mark(H),G=_.a.mark(X),K="id",W=[{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"}],Y=[{name:"postType",loadEntities:Q},{name:"taxonomy",loadEntities:H}];function Q(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(l.map)(e,function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t}}));case 4:case"end":return t.stop()}},F,this)}function H(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(l.map)(e,function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}}));case 4:case"end":return t.stop()}},B,this)}var z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Object(l.find)(W,{kind:e,name:t}),i="root"===e?"":Object(l.upperFirst)(Object(l.camelCase)(e)),a=Object(l.upperFirst)(Object(l.camelCase)(t))+(n?"s":""),u=n&&o.plural?Object(l.upperFirst)(Object(l.camelCase)(o.plural)):a;return"".concat(r).concat(i).concat(u)};function X(e){var t,r;return _.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,S("getEntitiesByKind",e);case 2:if(!(t=n.sent)||0===t.length){n.next=5;break}return n.abrupt("return",t);case 5:if(r=Object(l.find)(Y,{name:e})){n.next=8;break}return n.abrupt("return",[]);case 8:return n.next=10,r.loadEntities();case 10:return t=n.sent,n.next=13,N(t);case 13:return n.abrupt("return",t);case 14:case"end":return n.stop()}},G,this)}var J=Object(l.flowRight)([d(function(e){return"query"in e}),h(function(e){return e.query?Object(a.a)({},e,E(e.query)):e}),p("stableKey")])(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.page,o=t.perPage,i=t.key,a=void 0===i?K:i;return"RECEIVE_ITEMS"!==r?e:function(e,t,r,n){for(var o=(r-1)*n,i=Math.max(e.length,o+t.length),a=new Array(i),u=0;u=o&&u0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return Object(a.a)({},e,Object(l.keyBy)(t.items,t.key||K))}return e},queries:J});var $=Object(u.combineReducers)({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return Object(a.a)({},e,Object(f.a)({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:Object(a.a)({},e.byId,Object(l.keyBy)(t.users,"id")),queries:Object(a.a)({},e.queries,Object(f.a)({},t.queryID,Object(l.map)(t.users,function(e){return e.id})))}}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return Object(a.a)({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(Object(s.a)(e),Object(s.a)(t.entities))}return e}(e.config,t),n=e.reducer;if(!n||r!==e.config){var o=Object(l.groupBy)(r,"kind");n=Object(u.combineReducers)(Object.entries(o).reduce(function(e,t){var r=Object(c.a)(t,2),n=r[0],o=r[1],i=Object(u.combineReducers)(o.reduce(function(e,t){return Object(a.a)({},e,Object(f.a)({},t.name,function(e){return Object(l.flowRight)([d(function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind}),h(function(t){return Object(a.a)({},t,{key:e.key||K})})])(Z)}(t)))},{}));return e[n]=i,e},{}))}var i=n(e.data,t);return i===e.data&&r===e.config&&n===e.reducer?e:{reducer:n,data:i,config:r}},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var r=t.url,n=t.preview;return Object(a.a)({},e,Object(f.a)({},r,n))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return Object(a.a)({},e,Object(f.a)({},t.key,t.isAllowed))}return e}}),ee=r(49),te=r.n(ee),re=Object(u.createRegistrySelector)(function(e){return function(t,r){return e("core/data").isResolving("core","getEmbedPreview",[r])}});function ne(e){return oe(e,"authors")}var oe=Object(b.a)(function(e,t){var r=e.users.queries[t];return Object(l.map)(r,function(t){return e.users.byId[t]})},function(e,t){return[e.users.queries[t],e.users.byId]});function ie(e,t){return Object(l.filter)(e.entities.config,{kind:t})}function ae(e,t,r){return Object(l.find)(e.entities.config,{kind:t,name:r})}function ue(e,t,r,n){return Object(l.get)(e.entities.data,[t,r,"items",n])}function ce(e,t,r,n){var o=Object(l.get)(e.entities.data,[t,r]);return o?j(o,n):[]}function se(e){return e.themeSupports}function fe(e,t){return e.embedPreviews[t]}function le(e,t){var r=e.embedPreviews[t],n=''+t+"";return!!r&&r.html===n}function de(e){return te()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(l.defaultTo)(pe(e,"create","media"),!0)}function pe(e,t,r,n){var o=Object(l.compact)([t,r,n]).join("/");return Object(l.get)(e,["userPermissions",o])}var he=_.a.mark(Ee),ve=_.a.mark(Oe),ye=_.a.mark(je),be=_.a.mark(xe),ge=_.a.mark(ke),me=_.a.mark(_e),we=_.a.mark(Pe);function Ee(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,L("authors",e);case 5:case"end":return t.stop()}},he,this)}function Oe(e,t,r){var n,o,i;return _.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,X(e);case 2:if(n=a.sent,o=Object(l.find)(n,{kind:e,name:t})){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,I({path:"".concat(o.baseURL,"/").concat(r,"?context=edit")});case 8:return i=a.sent,a.next=11,U(e,t,i);case 11:case"end":return a.stop()}},ve,this)}function je(e,t){var r,n,o,i,u,c=arguments;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return r=c.length>2&&void 0!==c[2]?c[2]:{},s.next=3,X(e);case 3:if(n=s.sent,o=Object(l.find)(n,{kind:e,name:t})){s.next=7;break}return s.abrupt("return");case 7:return i=Object(w.addQueryArgs)(o.baseURL,Object(a.a)({},r,{context:"edit"})),s.next=10,I({path:i});case 10:return u=s.sent,s.next=13,U(e,t,Object.values(u),r);case 13:case"end":return s.stop()}},ye,this)}function xe(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,M(e[0].theme_supports);case 5:case"end":return t.stop()}},be,this)}function ke(e){var t;return _.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,I({path:Object(w.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=r.sent,r.next=6,C(e,t);case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),r.next=12,C(e,!1);case 12:case"end":return r.stop()}},ge,this,[[0,8]])}function _e(){return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return te()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(Pe("create","media"),"t0",2);case 2:case"end":return e.stop()}},me,this)}function Pe(e,t,r){var n,o,i,a,u,c;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(n={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){s.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return o=r?"/wp/v2/".concat(t,"/").concat(r):"/wp/v2/".concat(t),s.prev=5,s.next=8,I({path:o,method:r?"GET":"OPTIONS",parse:!1});case 8:i=s.sent,s.next=14;break;case 11:return s.prev=11,s.t0=s.catch(5),s.abrupt("return");case 14:return a=Object(l.hasIn)(i,["headers","get"])?i.headers.get("allow"):Object(l.get)(i,["headers","Allow"],""),u=Object(l.compact)([e,t,r]).join("/"),c=Object(l.includes)(a,n),s.next=19,V(u,c);case 19:case"end":return s.stop()}},we,this,[[5,11]])}je.shouldInvalidate=function(e,t,r){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&r===e.name};var Re=W.reduce(function(e,t){var r=t.kind,n=t.name;return e[z(r,n)]=function(e,t){return ue(e,r,n,t)},e[z(r,n,"get",!0)]=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a1?o-1:0),a=1;a=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},55:function(e,t){!function(t){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",s="object"==typeof e,f=t.regeneratorRuntime;if(f)s&&(e.exports=f);else{(f=t.regeneratorRuntime=s?e.exports:{}).wrap=w;var l="suspendedStart",d="suspendedYield",p="executing",h="completed",v={},y={};y[a]=function(){return this};var b=Object.getPrototypeOf,g=b&&b(b(T([])));g&&g!==n&&o.call(g,a)&&(y=g);var m=x.prototype=O.prototype=Object.create(y);j.prototype=m.constructor=x,x.constructor=j,x[c]=j.displayName="GeneratorFunction",f.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===j||"GeneratorFunction"===(t.displayName||t.name))},f.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(m),e},f.awrap=function(e){return{__await:e}},k(_.prototype),_.prototype[u]=function(){return this},f.AsyncIterator=_,f.async=function(e,t,r,n){var o=new _(w(e,t,r,n));return f.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},k(m),m[c]="Generator",m[a]=function(){return this},m.toString=function(){return"[object Generator]"},f.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=T,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,o){return u.type="throw",u.arg=e,t.next=n,o&&(t.method="next",t.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function w(e,t,r,n){var o=t&&t.prototype instanceof O?t:O,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(e,t,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=P(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=E(e,t,r);if("normal"===c.type){if(n=r.done?h:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function E(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function O(){}function j(){}function x(){}function k(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function _(e){var t;this._invoke=function(r,n){function i(){return new Promise(function(t,i){!function t(r,n,i,a){var u=E(e[r],e,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(s).then(function(e){c.value=e,i(c)},function(e){return t("throw",e,i,a)})}a(u.arg)}(r,n,t,i)})}return t=t?t.then(i,i):i()}}function P(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,P(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=E(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,v;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,v):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),a&&o(t,a),e}();e.exports=a},77:function(e,t,r){"use strict";(function(e,n){var o,i=r(99);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(i.a)(o);t.a=a}).call(this,r(59),r(132)(e))},99:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",function(){return n})}}); \ No newline at end of file diff --git a/wp-includes/js/dist/data.js b/wp-includes/js/dist/data.js index 44dc5053e5..b1474ae502 100644 --- a/wp-includes/js/dist/data.js +++ b/wp-includes/js/dist/data.js @@ -377,7 +377,7 @@ module.exports = combineReducers; /***/ }), -/***/ 26: +/***/ 23: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(54); @@ -520,7 +520,7 @@ var objectSpread = __webpack_require__(7); var external_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js -var regenerator = __webpack_require__(26); +var regenerator = __webpack_require__(23); var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js diff --git a/wp-includes/js/dist/data.min.js b/wp-includes/js/dist/data.min.js index 6e99cfa839..bd04b0fb9f 100644 --- a/wp-includes/js/dist/data.min.js +++ b/wp-includes/js/dist/data.min.js @@ -1 +1 @@ -this.wp=this.wp||{},this.wp.data=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=363)}({0:function(t,e){!function(){t.exports=this.wp.element}()},10:function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,"a",function(){return n})},100:function(t,e){t.exports=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}},11:function(t,e,r){"use strict";r.d(e,"a",function(){return i});var n=r(32),o=r(3);function i(t,e){return!e||"object"!==Object(n.a)(e)&&"function"!=typeof e?Object(o.a)(t):e}},12:function(t,e,r){"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r.d(e,"a",function(){return n})},13:function(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}r.d(e,"a",function(){return o})},132:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);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}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},15:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",function(){return n})},17:function(t,e,r){"use strict";var n=r(34);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e3?u-3:0),a=3;a0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[t];if(void 0===o)return r;var i=e(r[o],n);return i===r[o]?r:Object(s.a)({},r,Object(j.a)({},o,i))}}},x=Object(f.flowRight)([_("reducerKey"),_("selectorName")])(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new E.a,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===e.type,n=new E.a(t);return n.set(e.args,r),n;case"INVALIDATE_RESOLUTION":var o=new E.a(t);return o.delete(e.args),o}return t});function R(t,e,r,n){var o=Object(f.get)(t,[e,r]);if(o)return o.get(n)}function P(t,e,r){return void 0!==R(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function T(t,e,r){return!1===R(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function I(t,e,r){return!0===R(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function N(t,e){return t.hasOwnProperty(e)?t[e]:{}}function A(t,e,r){return{type:"START_RESOLUTION",reducerKey:t,selectorName:e,args:r}}function L(t,e,r){return{type:"FINISH_RESOLUTION",reducerKey:t,selectorName:e,args:r}}function k(t,e,r){return{type:"INVALIDATE_RESOLUTION",reducerKey:t,selectorName:e,args:r}}function C(t){return{type:"INVALIDATE_RESOLUTION_FOR_STORE",reducerKey:t}}function U(t,e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",reducerKey:t,selectorName:e}}var D={reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return Object(f.has)(t,e.reducerKey)?Object(f.omit)(t,[e.reducerKey]):t;case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(t,[e.reducerKey,e.selectorName])?Object(s.a)({},t,Object(j.a)({},e.reducerKey,Object(f.omit)(t[e.reducerKey],[e.selectorName]))):t;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return x(t,e)}return t},actions:o,selectors:n};function F(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={},r=[];function n(){r.forEach(function(t){return t()})}function o(t,r){if("function"!=typeof r.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof r.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof r.subscribe)throw new TypeError("config.subscribe must be a function");e[t]=r,r.subscribe(n)}var i,u={registerGenericStore:o,stores:e,namespaces:e,subscribe:function(t){return r.push(t),function(){r=Object(f.without)(r,t)}},select:function(t){var r=e[t];return r&&r.getSelectors()},dispatch:function(t){var r=e[t];return r&&r.getActions()},use:function(t,e){return u=Object(s.a)({},u,t(u,e))}};return u.registerStore=function(t,e){if(!e.reducer)throw new TypeError("Must specify store reducer");var r=m(t,e,u);return o(t,r),r.store},Object.entries(Object(s.a)({"core/data":D},t)).map(function(t){var e=Object(a.a)(t,2),r=e[0],n=e[1];return u.registerStore(r,n)}),i=u,Object(f.mapValues)(i,function(t,e){return"function"!=typeof t?t:function(){return u[e].apply(null,arguments)}})}var M,V,K=F(),G=r(224),H=r.n(G),W=function(t){return{registerStore:function(e,r){var n=t.registerStore(e,r);if(r.controls){var o=Object(f.mapValues)(r.controls,function(e){return e.isRegistryControl?e(t):e}),i=H()(o),u=Object(d.a)(i);Object.assign(n,u(function(){return n})(r.reducer)),t.namespaces[e].supportControls=!0}return n}}},Q={getItem:function(t){return M&&M[t]?M[t]:null},setItem:function(t,e){M||Q.clear(),M[t]=String(e)},clear:function(){M=Object.create(null)}},Y=Q;try{(V=window.localStorage).setItem("__wpDataTestLocalStorage",""),V.removeItem("__wpDataTestLocalStorage")}catch(t){V=Y}var q=V,X="WP_DATA",z=function(t){return function(e,r){return r.nextState===e?e:t(e,r)}};function B(t){var e,r=t.storage,n=void 0===r?q:r,o=t.storageKey,i=void 0===o?X:o;return{get:function(){if(void 0===e){var t=n.getItem(i);if(null===t)e={};else try{e=JSON.parse(t)}catch(t){e={}}}return e},set:function(t,r){e=Object(s.a)({},e,Object(j.a)({},t,r)),n.setItem(i,JSON.stringify(e))}}}var J=function(t,e){var r=B(e);function n(t,e,n){var o;if(Array.isArray(n)){var i=n.reduce(function(t,e){return Object.assign(t,Object(j.a)({},e,function(t,r){return r.nextState[e]}))},{});o=z(c()(i))}else o=function(t,e){return e.nextState};var u=o(void 0,{nextState:t()});return function(n){var i=o(u,{nextState:t()});return i!==u&&(r.set(e,i),u=i),n}}return{registerStore:function(e,o){if(!o.persist)return t.registerStore(e,o);var i=r.get()[e];if(void 0!==i){var u=o.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});u=Object(f.isPlainObject)(u)&&Object(f.isPlainObject)(i)?Object(f.merge)({},u,i):i,o=Object(s.a)({},o,{initialState:u})}var c=t.registerStore(e,o);return c.dispatch=Object(f.flow)([c.dispatch,n(c.getState,e,o.persist)]),c}}};J.__unstableMigrate=function(t){var e=B(t),r=e.get()["core/editor"];if(r&&r.preferences&&r.preferences.insertUsage){var n={preferences:{insertUsage:r.preferences.insertUsage}};e.set("core/editor",Object(s.a)({},r,{preferences:Object(f.omit)(r.preferences,["insertUsage"])})),e.set("core/block-editor",n)}};var Z=J,$=r(19),tt=r(10),et=r(9),rt=r(11),nt=r(12),ot=r(13),it=r(3),ut=r(0),ct=r(42),at=r(6),st=r(225),ft=Object(ut.createContext)(K),lt=ft.Consumer,pt=ft.Provider,ht=lt,dt=pt,yt=Object(ut.createContext)(!1),vt=yt.Consumer,bt=yt.Provider,gt=vt,Ot=bt,mt=Object(st.createQueue)(),wt=function(t){return Object(at.createHigherOrderComponent)(function(e){var r={};function n(e){return t(e.registry.select,e.ownProps,e.registry)||r}var o=function(t){function r(t){var e;return Object(tt.a)(this,r),(e=Object(rt.a)(this,Object(nt.a)(r).call(this,t))).onStoreChange=e.onStoreChange.bind(Object(it.a)(Object(it.a)(e))),e.subscribe(t.registry),e.mergeProps=n(t),e}return Object(ot.a)(r,t),Object(et.a)(r,[{key:"componentDidMount",value:function(){this.canRunSelection=!0,this.hasQueuedSelection&&(this.hasQueuedSelection=!1,this.onStoreChange())}},{key:"componentWillUnmount",value:function(){this.canRunSelection=!1,this.unsubscribe(),mt.flush(this)}},{key:"shouldComponentUpdate",value:function(t,e){var r=t.registry!==this.props.registry,o=t.isAsync!==this.props.isAsync;r&&(this.unsubscribe(),this.subscribe(t.registry)),o&&mt.flush(this);var i=r||!Object(ct.isShallowEqualObjects)(this.props.ownProps,t.ownProps);if(this.state===e&&!i&&!o)return!1;if(i||o){var u=n(t);Object(ct.isShallowEqualObjects)(this.mergeProps,u)||(this.mergeProps=u)}return!0}},{key:"onStoreChange",value:function(){if(this.canRunSelection){var t=n(this.props);Object(ct.isShallowEqualObjects)(this.mergeProps,t)||(this.mergeProps=t,this.setState({}))}else this.hasQueuedSelection=!0}},{key:"subscribe",value:function(t){var e=this;this.unsubscribe=t.subscribe(function(){e.props.isAsync?mt.add(e,e.onStoreChange):e.onStoreChange()})}},{key:"render",value:function(){return Object(ut.createElement)(e,Object($.a)({},this.props.ownProps,this.mergeProps))}}]),r}(ut.Component);return function(t){return Object(ut.createElement)(gt,null,function(e){return Object(ut.createElement)(ht,null,function(r){return Object(ut.createElement)(o,{ownProps:t,registry:r,isAsync:e})})})}},"withSelect")},jt=function(t){return Object(at.createHigherOrderComponent)(function(e){var r=function(r){function n(t){var e;return Object(tt.a)(this,n),(e=Object(rt.a)(this,Object(nt.a)(n).apply(this,arguments))).proxyProps={},e.setProxyProps(t),e}return Object(ot.a)(n,r),Object(et.a)(n,[{key:"proxyDispatch",value:function(e){for(var r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag",s="object"==typeof t,f=e.regeneratorRuntime;if(f)s&&(t.exports=f);else{(f=e.regeneratorRuntime=s?t.exports:{}).wrap=m;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},v={};v[u]=function(){return this};var b=Object.getPrototypeOf,g=b&&b(b(N([])));g&&g!==n&&o.call(g,u)&&(v=g);var O=E.prototype=j.prototype=Object.create(v);S.prototype=O.constructor=E,E.constructor=S,E[a]=S.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(O),t},f.awrap=function(t){return{__await:t}},_(x.prototype),x.prototype[c]=function(){return this},f.AsyncIterator=x,f.async=function(t,e,r,n){var o=new x(m(t,e,r,n));return f.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},_(O),O[a]="Generator",O[u]=function(){return this},O.toString=function(){return"[object Generator]"},f.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=N,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],c=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var a=o.call(u,"catchLoc"),s=o.call(u,"finallyLoc");if(a&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function m(t,e,r,n){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),u=new I(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var c=R(u,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var a=w(t,e,r);if("normal"===a.type){if(n=r.done?d:p,a.arg===y)continue;return{value:a.arg,done:r.done}}"throw"===a.type&&(n=d,r.method="throw",r.arg=a.arg)}}}(t,r,u),i}function w(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function j(){}function S(){}function E(){}function _(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function x(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,u){var c=w(t[r],t,n);if("throw"!==c.type){var a=c.arg,s=a.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,u)},function(t){e("throw",t,i,u)}):Promise.resolve(s).then(function(t){a.value=t,i(a)},function(t){return e("throw",t,i,u)})}u(c.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function R(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,R(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=w(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),t.call(r,o,i,e)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(e.prototype,r),u&&o(e,u),t}();t.exports=u},77:function(t,e,r){"use strict";(function(t,n){var o,i=r(99);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var u=Object(i.a)(o);e.a=u}).call(this,r(59),r(132)(t))},9:function(t,e,r){"use strict";function n(t,e){for(var r=0;r3?u-3:0),a=3;a0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[t];if(void 0===o)return r;var i=e(r[o],n);return i===r[o]?r:Object(s.a)({},r,Object(j.a)({},o,i))}}},x=Object(f.flowRight)([_("reducerKey"),_("selectorName")])(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new E.a,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===e.type,n=new E.a(t);return n.set(e.args,r),n;case"INVALIDATE_RESOLUTION":var o=new E.a(t);return o.delete(e.args),o}return t});function R(t,e,r,n){var o=Object(f.get)(t,[e,r]);if(o)return o.get(n)}function P(t,e,r){return void 0!==R(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function T(t,e,r){return!1===R(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function I(t,e,r){return!0===R(t,e,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])}function N(t,e){return t.hasOwnProperty(e)?t[e]:{}}function A(t,e,r){return{type:"START_RESOLUTION",reducerKey:t,selectorName:e,args:r}}function L(t,e,r){return{type:"FINISH_RESOLUTION",reducerKey:t,selectorName:e,args:r}}function k(t,e,r){return{type:"INVALIDATE_RESOLUTION",reducerKey:t,selectorName:e,args:r}}function C(t){return{type:"INVALIDATE_RESOLUTION_FOR_STORE",reducerKey:t}}function U(t,e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",reducerKey:t,selectorName:e}}var D={reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return Object(f.has)(t,e.reducerKey)?Object(f.omit)(t,[e.reducerKey]):t;case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(t,[e.reducerKey,e.selectorName])?Object(s.a)({},t,Object(j.a)({},e.reducerKey,Object(f.omit)(t[e.reducerKey],[e.selectorName]))):t;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return x(t,e)}return t},actions:o,selectors:n};function F(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={},r=[];function n(){r.forEach(function(t){return t()})}function o(t,r){if("function"!=typeof r.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof r.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof r.subscribe)throw new TypeError("config.subscribe must be a function");e[t]=r,r.subscribe(n)}var i,u={registerGenericStore:o,stores:e,namespaces:e,subscribe:function(t){return r.push(t),function(){r=Object(f.without)(r,t)}},select:function(t){var r=e[t];return r&&r.getSelectors()},dispatch:function(t){var r=e[t];return r&&r.getActions()},use:function(t,e){return u=Object(s.a)({},u,t(u,e))}};return u.registerStore=function(t,e){if(!e.reducer)throw new TypeError("Must specify store reducer");var r=m(t,e,u);return o(t,r),r.store},Object.entries(Object(s.a)({"core/data":D},t)).map(function(t){var e=Object(a.a)(t,2),r=e[0],n=e[1];return u.registerStore(r,n)}),i=u,Object(f.mapValues)(i,function(t,e){return"function"!=typeof t?t:function(){return u[e].apply(null,arguments)}})}var M,V,K=F(),G=r(224),H=r.n(G),W=function(t){return{registerStore:function(e,r){var n=t.registerStore(e,r);if(r.controls){var o=Object(f.mapValues)(r.controls,function(e){return e.isRegistryControl?e(t):e}),i=H()(o),u=Object(d.a)(i);Object.assign(n,u(function(){return n})(r.reducer)),t.namespaces[e].supportControls=!0}return n}}},Q={getItem:function(t){return M&&M[t]?M[t]:null},setItem:function(t,e){M||Q.clear(),M[t]=String(e)},clear:function(){M=Object.create(null)}},Y=Q;try{(V=window.localStorage).setItem("__wpDataTestLocalStorage",""),V.removeItem("__wpDataTestLocalStorage")}catch(t){V=Y}var q=V,X="WP_DATA",z=function(t){return function(e,r){return r.nextState===e?e:t(e,r)}};function B(t){var e,r=t.storage,n=void 0===r?q:r,o=t.storageKey,i=void 0===o?X:o;return{get:function(){if(void 0===e){var t=n.getItem(i);if(null===t)e={};else try{e=JSON.parse(t)}catch(t){e={}}}return e},set:function(t,r){e=Object(s.a)({},e,Object(j.a)({},t,r)),n.setItem(i,JSON.stringify(e))}}}var J=function(t,e){var r=B(e);function n(t,e,n){var o;if(Array.isArray(n)){var i=n.reduce(function(t,e){return Object.assign(t,Object(j.a)({},e,function(t,r){return r.nextState[e]}))},{});o=z(c()(i))}else o=function(t,e){return e.nextState};var u=o(void 0,{nextState:t()});return function(n){var i=o(u,{nextState:t()});return i!==u&&(r.set(e,i),u=i),n}}return{registerStore:function(e,o){if(!o.persist)return t.registerStore(e,o);var i=r.get()[e];if(void 0!==i){var u=o.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});u=Object(f.isPlainObject)(u)&&Object(f.isPlainObject)(i)?Object(f.merge)({},u,i):i,o=Object(s.a)({},o,{initialState:u})}var c=t.registerStore(e,o);return c.dispatch=Object(f.flow)([c.dispatch,n(c.getState,e,o.persist)]),c}}};J.__unstableMigrate=function(t){var e=B(t),r=e.get()["core/editor"];if(r&&r.preferences&&r.preferences.insertUsage){var n={preferences:{insertUsage:r.preferences.insertUsage}};e.set("core/editor",Object(s.a)({},r,{preferences:Object(f.omit)(r.preferences,["insertUsage"])})),e.set("core/block-editor",n)}};var Z=J,$=r(19),tt=r(10),et=r(9),rt=r(11),nt=r(12),ot=r(13),it=r(3),ut=r(0),ct=r(42),at=r(6),st=r(225),ft=Object(ut.createContext)(K),lt=ft.Consumer,pt=ft.Provider,ht=lt,dt=pt,yt=Object(ut.createContext)(!1),vt=yt.Consumer,bt=yt.Provider,gt=vt,Ot=bt,mt=Object(st.createQueue)(),wt=function(t){return Object(at.createHigherOrderComponent)(function(e){var r={};function n(e){return t(e.registry.select,e.ownProps,e.registry)||r}var o=function(t){function r(t){var e;return Object(tt.a)(this,r),(e=Object(rt.a)(this,Object(nt.a)(r).call(this,t))).onStoreChange=e.onStoreChange.bind(Object(it.a)(Object(it.a)(e))),e.subscribe(t.registry),e.mergeProps=n(t),e}return Object(ot.a)(r,t),Object(et.a)(r,[{key:"componentDidMount",value:function(){this.canRunSelection=!0,this.hasQueuedSelection&&(this.hasQueuedSelection=!1,this.onStoreChange())}},{key:"componentWillUnmount",value:function(){this.canRunSelection=!1,this.unsubscribe(),mt.flush(this)}},{key:"shouldComponentUpdate",value:function(t,e){var r=t.registry!==this.props.registry,o=t.isAsync!==this.props.isAsync;r&&(this.unsubscribe(),this.subscribe(t.registry)),o&&mt.flush(this);var i=r||!Object(ct.isShallowEqualObjects)(this.props.ownProps,t.ownProps);if(this.state===e&&!i&&!o)return!1;if(i||o){var u=n(t);Object(ct.isShallowEqualObjects)(this.mergeProps,u)||(this.mergeProps=u)}return!0}},{key:"onStoreChange",value:function(){if(this.canRunSelection){var t=n(this.props);Object(ct.isShallowEqualObjects)(this.mergeProps,t)||(this.mergeProps=t,this.setState({}))}else this.hasQueuedSelection=!0}},{key:"subscribe",value:function(t){var e=this;this.unsubscribe=t.subscribe(function(){e.props.isAsync?mt.add(e,e.onStoreChange):e.onStoreChange()})}},{key:"render",value:function(){return Object(ut.createElement)(e,Object($.a)({},this.props.ownProps,this.mergeProps))}}]),r}(ut.Component);return function(t){return Object(ut.createElement)(gt,null,function(e){return Object(ut.createElement)(ht,null,function(r){return Object(ut.createElement)(o,{ownProps:t,registry:r,isAsync:e})})})}},"withSelect")},jt=function(t){return Object(at.createHigherOrderComponent)(function(e){var r=function(r){function n(t){var e;return Object(tt.a)(this,n),(e=Object(rt.a)(this,Object(nt.a)(n).apply(this,arguments))).proxyProps={},e.setProxyProps(t),e}return Object(ot.a)(n,r),Object(et.a)(n,[{key:"proxyDispatch",value:function(e){for(var r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag",s="object"==typeof t,f=e.regeneratorRuntime;if(f)s&&(t.exports=f);else{(f=e.regeneratorRuntime=s?t.exports:{}).wrap=m;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},v={};v[u]=function(){return this};var b=Object.getPrototypeOf,g=b&&b(b(N([])));g&&g!==n&&o.call(g,u)&&(v=g);var O=E.prototype=j.prototype=Object.create(v);S.prototype=O.constructor=E,E.constructor=S,E[a]=S.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(O),t},f.awrap=function(t){return{__await:t}},_(x.prototype),x.prototype[c]=function(){return this},f.AsyncIterator=x,f.async=function(t,e,r,n){var o=new x(m(t,e,r,n));return f.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},_(O),O[a]="Generator",O[u]=function(){return this},O.toString=function(){return"[object Generator]"},f.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=N,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],c=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var a=o.call(u,"catchLoc"),s=o.call(u,"finallyLoc");if(a&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function m(t,e,r,n){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),u=new I(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var c=R(u,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var a=w(t,e,r);if("normal"===a.type){if(n=r.done?d:p,a.arg===y)continue;return{value:a.arg,done:r.done}}"throw"===a.type&&(n=d,r.method="throw",r.arg=a.arg)}}}(t,r,u),i}function w(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function j(){}function S(){}function E(){}function _(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function x(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,u){var c=w(t[r],t,n);if("throw"!==c.type){var a=c.arg,s=a.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,u)},function(t){e("throw",t,i,u)}):Promise.resolve(s).then(function(t){a.value=t,i(a)},function(t){return e("throw",t,i,u)})}u(c.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function R(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,R(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=w(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),t.call(r,o,i,e)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(e.prototype,r),u&&o(e,u),t}();t.exports=u},77:function(t,e,r){"use strict";(function(t,n){var o,i=r(99);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var u=Object(i.a)(o);e.a=u}).call(this,r(59),r(132)(t))},9:function(t,e,r){"use strict";function n(t,e){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,u=t.plugin,i=t.link,a=t.hint,l=u?" from ".concat(u):"",f=n?"".concat(l," in ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",p=i?" See: ".concat(i):"",s=a?" Note: ".concat(a):"",b="".concat(e," is deprecated and will be removed").concat(f,".").concat(d).concat(p).concat(s);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default; \ No newline at end of file +this.wp=this.wp||{},this.wp.deprecated=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,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=339)}({26:function(e,t){!function(){e.exports=this.wp.hooks}()},339:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",function(){return o}),n.d(t,"default",function(){return c});var r=n(26),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,u=t.plugin,i=t.link,a=t.hint,l=u?" from ".concat(u):"",f=n?"".concat(l," in ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",p=i?" See: ".concat(i):"",s=a?" Note: ".concat(a):"",b="".concat(e," is deprecated and will be removed").concat(f,".").concat(d).concat(p).concat(s);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/dom.js b/wp-includes/js/dist/dom.js index a7f85c2ccb..983573e15f 100644 --- a/wp-includes/js/dist/dom.js +++ b/wp-includes/js/dist/dom.js @@ -471,27 +471,36 @@ function isEdge(container, isReverse, onlyVertical) { return false; } - var rangeRect = getRectangleFromRange(selection.getRangeAt(0)); + var range = selection.getRangeAt(0).cloneRange(); + var isForward = isSelectionForward(selection); + var isCollapsed = selection.isCollapsed; // Collapse in direction of selection. + + if (!isCollapsed) { + range.collapse(!isForward); + } + + var rangeRect = getRectangleFromRange(range); if (!rangeRect) { return false; } var computedStyle = window.getComputedStyle(container); - var lineHeight = parseInt(computedStyle.lineHeight, 10); // Only consider the multiline selection at the edge if the direction is + var lineHeight = parseInt(computedStyle.lineHeight, 10) || 0; // Only consider the multiline selection at the edge if the direction is // towards the edge. - if (!selection.isCollapsed && rangeRect.height > lineHeight && isSelectionForward(selection) === isReverse) { + if (!isCollapsed && rangeRect.height > lineHeight && isForward === isReverse) { return false; - } // Calculate a buffer that is half the line height. In some browsers, the + } + + var padding = parseInt(computedStyle["padding".concat(isReverse ? 'Top' : 'Bottom')], 10) || 0; // Calculate a buffer that is half the line height. In some browsers, the // selection rectangle may not fill the entire height of the line, so we add // 3/4 the line height to the selection rectangle to ensure that it is well // over its line boundary. - var buffer = 3 * parseInt(lineHeight, 10) / 4; var containerRect = container.getBoundingClientRect(); - var verticalEdge = isReverse ? containerRect.top > rangeRect.top - buffer : containerRect.bottom < rangeRect.bottom + buffer; + var verticalEdge = isReverse ? containerRect.top + padding > rangeRect.top - buffer : containerRect.bottom - padding < rangeRect.bottom + buffer; if (!verticalEdge) { return false; @@ -577,7 +586,9 @@ function getRectangleFromRange(range) { // See: https://stackoverflow.com/a/6847328/995445 if (!rect) { - var padNode = document.createTextNode("\u200B"); + var padNode = document.createTextNode("\u200B"); // Do not modify the live range. + + range = range.cloneRange(); range.insertNode(padNode); rect = range.getClientRects()[0]; padNode.parentNode.removeChild(padNode); diff --git a/wp-includes/js/dist/dom.min.js b/wp-includes/js/dist/dom.min.js index f32448cb20..00e0fc28f5 100644 --- a/wp-includes/js/dist/dom.min.js +++ b/wp-includes/js/dist/dom.min.js @@ -1 +1 @@ -this.wp=this.wp||{},this.wp.dom=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,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=379)}({17:function(e,t,n){"use strict";var r=n(34);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0||e.offsetHeight>0||e.getClientRects().length>0}function c(e){var t=e.querySelectorAll(a);return Object(i.a)(t).filter(function(e){return!!u(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&u(n)}(e))})}var l=n(2);function d(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function f(e){return-1!==d(e)}function s(e,t){return{element:e,index:t}}function g(e){return e.element}function p(e,t){var n=d(e.element),r=d(t.element);return n===r?e.index-t.index:n-r}function v(e){return c(e).filter(f).map(s).sort(p).map(g).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var u=t.hasOwnProperty(a);if(!i&&u)return e;if(u){var c=t[a];e=Object(l.without)(e,c)}return t[a]=n,e.concat(n)}),[]);var t}var m=window.getComputedStyle,h=window.Node,b=h.TEXT_NODE,C=h.ELEMENT_NODE,N=h.DOCUMENT_POSITION_PRECEDING,E=h.DOCUMENT_POSITION_FOLLOWING;function y(e,t,n){if(Object(l.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=O(r.getRangeAt(0));if(!o)return!1;var i=window.getComputedStyle(e),a=parseInt(i.lineHeight,10);if(!r.isCollapsed&&o.height>a&&function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&N)&&(!!(i&E)||0!==i||r<=o)}(r)===t)return!1;var u=3*parseInt(a,10)/4,c=e.getBoundingClientRect();if(!(t?c.top>o.top-u:c.bottom3&&void 0!==arguments[3])||arguments[3];if(e)if(n&&e.isContentEditable){var o=n.height/2,i=e.getBoundingClientRect(),a=n.left,u=t?i.bottom-o:i.top+o,c=A(document,a,u,e);if(!c||!e.contains(c.startContainer))return!r||c&&c.startContainer&&c.startContainer.contains(e)?void T(e,t):(e.scrollIntoView(t),void P(e,t,n,!1));if(c.startContainer.nodeType===b){var l=c.startContainer.parentNode,d=l.getBoundingClientRect(),f=t?"bottom":"top",s=parseInt(m(l).getPropertyValue("padding-".concat(f)),10)||0,g=t?d.bottom-s-o:d.top+s+o;u!==g&&(c=A(document,a,g,e))}var p=window.getSelection();p.removeAllRanges(),p.addRange(c),e.focus(),p.removeAllRanges(),p.addRange(c)}else T(e,t)}function I(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(e){return!1}}function x(){if(I(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}function j(e){if(Object(l.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var u=e.lastChild,c=u.nodeType===b?u.data.length:u.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===c}function _(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return _(e.parentNode)}}function M(e){for(var t;(t=e.parentNode)&&t.nodeType!==C;);return t?"static"!==m(t).position?t:t.offsetParent:null}function B(e,t){F(t,e.parentNode),D(e)}function D(e){e.parentNode.removeChild(e)}function F(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function H(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function U(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function X(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}n.d(t,"focus",function(){return z}),n.d(t,"isHorizontalEdge",function(){return w}),n.d(t,"isVerticalEdge",function(){return S}),n.d(t,"getRectangleFromRange",function(){return O}),n.d(t,"computeCaretRect",function(){return R}),n.d(t,"placeCaretAtHorizontalEdge",function(){return T}),n.d(t,"placeCaretAtVerticalEdge",function(){return P}),n.d(t,"isTextField",function(){return I}),n.d(t,"documentHasSelection",function(){return x}),n.d(t,"isEntirelySelected",function(){return j}),n.d(t,"getScrollContainer",function(){return _}),n.d(t,"getOffsetParent",function(){return M}),n.d(t,"replace",function(){return B}),n.d(t,"remove",function(){return D}),n.d(t,"insertAfter",function(){return F}),n.d(t,"unwrap",function(){return H}),n.d(t,"replaceTag",function(){return U}),n.d(t,"wrap",function(){return X});var z={focusable:r,tabbable:o}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.dom=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,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=379)}({17:function(e,t,n){"use strict";var r=n(34);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0||e.offsetHeight>0||e.getClientRects().length>0}function c(e){var t=e.querySelectorAll(a);return Object(i.a)(t).filter(function(e){return!!u(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&u(n)}(e))})}var l=n(2);function d(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function f(e){return-1!==d(e)}function s(e,t){return{element:e,index:t}}function g(e){return e.element}function p(e,t){var n=d(e.element),r=d(t.element);return n===r?e.index-t.index:n-r}function v(e){return c(e).filter(f).map(s).sort(p).map(g).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var u=t.hasOwnProperty(a);if(!i&&u)return e;if(u){var c=t[a];e=Object(l.without)(e,c)}return t[a]=n,e.concat(n)}),[]);var t}var m=window.getComputedStyle,h=window.Node,b=h.TEXT_NODE,C=h.ELEMENT_NODE,N=h.DOCUMENT_POSITION_PRECEDING,E=h.DOCUMENT_POSITION_FOLLOWING;function y(e,t,n){if(Object(l.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0).cloneRange(),i=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&N)&&(!!(i&E)||0!==i||r<=o)}(r),a=r.isCollapsed;a||o.collapse(!i);var u=S(o);if(!u)return!1;var c=window.getComputedStyle(e),d=parseInt(c.lineHeight,10)||0;if(!a&&u.height>d&&i===t)return!1;var f=parseInt(c["padding".concat(t?"Top":"Bottom")],10)||0,s=3*parseInt(d,10)/4,g=e.getBoundingClientRect();if(!(t?g.top+f>u.top-s:g.bottom-f3&&void 0!==arguments[3])||arguments[3];if(e)if(n&&e.isContentEditable){var o=n.height/2,i=e.getBoundingClientRect(),a=n.left,u=t?i.bottom-o:i.top+o,c=A(document,a,u,e);if(!c||!e.contains(c.startContainer))return!r||c&&c.startContainer&&c.startContainer.contains(e)?void T(e,t):(e.scrollIntoView(t),void P(e,t,n,!1));if(c.startContainer.nodeType===b){var l=c.startContainer.parentNode,d=l.getBoundingClientRect(),f=t?"bottom":"top",s=parseInt(m(l).getPropertyValue("padding-".concat(f)),10)||0,g=t?d.bottom-s-o:d.top+s+o;u!==g&&(c=A(document,a,g,e))}var p=window.getSelection();p.removeAllRanges(),p.addRange(c),e.focus(),p.removeAllRanges(),p.addRange(c)}else T(e,t)}function I(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(e){return!1}}function x(){if(I(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}function j(e){if(Object(l.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var u=e.lastChild,c=u.nodeType===b?u.data.length:u.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===c}function _(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return _(e.parentNode)}}function B(e){for(var t;(t=e.parentNode)&&t.nodeType!==C;);return t?"static"!==m(t).position?t:t.offsetParent:null}function M(e,t){F(t,e.parentNode),D(e)}function D(e){e.parentNode.removeChild(e)}function F(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function H(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function U(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function X(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}n.d(t,"focus",function(){return z}),n.d(t,"isHorizontalEdge",function(){return w}),n.d(t,"isVerticalEdge",function(){return R}),n.d(t,"getRectangleFromRange",function(){return S}),n.d(t,"computeCaretRect",function(){return O}),n.d(t,"placeCaretAtHorizontalEdge",function(){return T}),n.d(t,"placeCaretAtVerticalEdge",function(){return P}),n.d(t,"isTextField",function(){return I}),n.d(t,"documentHasSelection",function(){return x}),n.d(t,"isEntirelySelected",function(){return j}),n.d(t,"getScrollContainer",function(){return _}),n.d(t,"getOffsetParent",function(){return B}),n.d(t,"replace",function(){return M}),n.d(t,"remove",function(){return D}),n.d(t,"insertAfter",function(){return F}),n.d(t,"unwrap",function(){return H}),n.d(t,"replaceTag",function(){return U}),n.d(t,"wrap",function(){return X});var z={focusable:r,tabbable:o}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/edit-post.js b/wp-includes/js/dist/edit-post.js index 1854ac952c..6e201839cd 100644 --- a/wp-includes/js/dist/edit-post.js +++ b/wp-includes/js/dist/edit-post.js @@ -405,14 +405,14 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 23: +/***/ 25: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); /***/ }), -/***/ 24: +/***/ 26: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["hooks"]; }()); @@ -881,7 +881,7 @@ var external_this_wp_blockLibrary_ = __webpack_require__(226); var external_this_wp_data_ = __webpack_require__(5); // EXTERNAL MODULE: external {"this":["wp","hooks"]} -var external_this_wp_hooks_ = __webpack_require__(24); +var external_this_wp_hooks_ = __webpack_require__(26); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js var classCallCheck = __webpack_require__(10); @@ -1365,7 +1365,7 @@ Object(external_this_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/edit-post var external_this_wp_plugins_ = __webpack_require__(63); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(23); +var external_this_wp_url_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/copy-content-menu-item/index.js @@ -2440,20 +2440,17 @@ var effects = { } }); var wasSavingPost = Object(external_this_wp_data_["select"])('core/editor').isSavingPost(); - var wasAutosavingPost = Object(external_this_wp_data_["select"])('core/editor').isAutosavingPost(); - var wasPreviewingPost = Object(external_this_wp_data_["select"])('core/editor').isPreviewingPost(); // Save metaboxes when performing a full save on the post. + var wasAutosavingPost = Object(external_this_wp_data_["select"])('core/editor').isAutosavingPost(); // Save metaboxes when performing a full save on the post. Object(external_this_wp_data_["subscribe"])(function () { var isSavingPost = Object(external_this_wp_data_["select"])('core/editor').isSavingPost(); var isAutosavingPost = Object(external_this_wp_data_["select"])('core/editor').isAutosavingPost(); - var isPreviewingPost = Object(external_this_wp_data_["select"])('core/editor').isPreviewingPost(); var hasActiveMetaBoxes = Object(external_this_wp_data_["select"])('core/edit-post').hasMetaBoxes(); // Save metaboxes on save completion, except for autosaves that are not a post preview. - var shouldTriggerMetaboxesSave = hasActiveMetaBoxes && (wasSavingPost && !isSavingPost && !wasAutosavingPost || wasAutosavingPost && wasPreviewingPost && !isPreviewingPost); // Save current state for next inspection. + var shouldTriggerMetaboxesSave = hasActiveMetaBoxes && wasSavingPost && !isSavingPost && !wasAutosavingPost; // Save current state for next inspection. wasSavingPost = isSavingPost; wasAutosavingPost = isAutosavingPost; - wasPreviewingPost = isPreviewingPost; if (shouldTriggerMetaboxesSave) { store.dispatch(requestMetaBoxUpdates()); @@ -3752,8 +3749,7 @@ var primary = external_this_wp_keycodes_["displayShortcutList"].primary, access = external_this_wp_keycodes_["displayShortcutList"].access, ctrl = external_this_wp_keycodes_["displayShortcutList"].ctrl, alt = external_this_wp_keycodes_["displayShortcutList"].alt, - ctrlShift = external_this_wp_keycodes_["displayShortcutList"].ctrlShift, - shiftAlt = external_this_wp_keycodes_["displayShortcutList"].shiftAlt; + ctrlShift = external_this_wp_keycodes_["displayShortcutList"].ctrlShift; var globalShortcuts = { title: Object(external_this_wp_i18n_["__"])('Global shortcuts'), shortcuts: [{ @@ -3784,10 +3780,10 @@ var globalShortcuts = { description: Object(external_this_wp_i18n_["__"])('Navigate to the previous part of the editor.'), ariaLabel: external_this_wp_keycodes_["shortcutAriaLabel"].ctrlShift('`') }, { - keyCombination: shiftAlt('n'), + keyCombination: access('n'), description: Object(external_this_wp_i18n_["__"])('Navigate to the next part of the editor (alternative).') }, { - keyCombination: shiftAlt('p'), + keyCombination: access('p'), description: Object(external_this_wp_i18n_["__"])('Navigate to the previous part of the editor (alternative).') }, { keyCombination: alt('F10'), diff --git a/wp-includes/js/dist/edit-post.min.js b/wp-includes/js/dist/edit-post.min.js index c81f9bd035..f769e42b24 100644 --- a/wp-includes/js/dist/edit-post.min.js +++ b/wp-includes/js/dist/edit-post.min.js @@ -9,4 +9,4 @@ this.wp=this.wp||{},this.wp.editPost=function(e){var t={};function n(o){if(t[o]) Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},22:function(e,t){!function(){e.exports=this.wp.editor}()},226:function(e,t){!function(){e.exports=this.wp.blockLibrary}()},23:function(e,t){!function(){e.exports=this.wp.url}()},24:function(e,t){!function(){e.exports=this.wp.hooks}()},28:function(e,t,n){"use strict";var o=n(37);var r=n(38);function i(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(o=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==a.return||a.return()}finally{if(r)throw i}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return i})},3:function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},30:function(e,t,n){"use strict";var o,r;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o0&&this.buildAndSetGalleryFrame(),this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),t}(i.Component);Object(b.addFilter)("editor.MediaUpload","core/edit-post/components/media-upload/replace-media-upload",function(){return S});var k=n(19),P=n(21),w=n(14),C=n(4),T=n(6),x=Object(T.compose)(Object(d.withSelect)(function(e,t){if(Object(w.hasBlockSupport)(t.name,"multiple",!0))return{};var n=e("core/block-editor").getBlocks(),o=Object(g.find)(n,function(e){var n=e.name;return t.name===n});return{originalBlockClientId:o&&o.clientId!==t.clientId&&o.clientId}}),Object(d.withDispatch)(function(e,t){var n=t.originalBlockClientId;return{selectFirst:function(){return e("core/block-editor").selectBlock(n)}}})),M=Object(T.createHigherOrderComponent)(function(e){return x(function(t){var n=t.originalBlockClientId,o=t.selectFirst,r=Object(P.a)(t,["originalBlockClientId","selectFirst"]);if(!n)return Object(i.createElement)(e,r);var a=Object(w.getBlockType)(r.name),l=function(e){var t=Object(w.findTransform)(Object(w.getBlockTransforms)("to",e),function(e){var t=e.type,n=e.blocks;return"block"===t&&1===n.length});if(!t)return null;return Object(w.getBlockType)(t.blocks[0])}(r.name);return[Object(i.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(i.createElement)(e,Object(k.a)({key:"block-edit"},r))),Object(i.createElement)(c.Warning,{key:"multiple-use-warning",actions:[Object(i.createElement)(C.Button,{key:"find-original",isLarge:!0,onClick:o},Object(E.__)("Find original")),Object(i.createElement)(C.Button,{key:"remove",isLarge:!0,onClick:function(){return r.onReplace([])}},Object(E.__)("Remove")),l&&Object(i.createElement)(C.Button,{key:"transform",isLarge:!0,onClick:function(){return r.onReplace(Object(w.createBlock)(l.name,r.attributes))}},Object(E.__)("Transform into:")," ",l.title)]},Object(i.createElement)("strong",null,a.title,": "),Object(E.__)("This block can only be used once."))]})},"withMultipleValidation");Object(b.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",M);var B=n(63),N=n(23);var A=Object(T.compose)(Object(d.withSelect)(function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}}),Object(T.withState)({hasCopied:!1}))(function(e){var t=e.editedPostContent,n=e.hasCopied,o=e.setState;return Object(i.createElement)(C.ClipboardButton,{text:t,className:"components-menu-item__button",onCopy:function(){return o({hasCopied:!0})},onFinishCopy:function(){return o({hasCopied:!1})}},n?Object(E.__)("Copied!"):Object(E.__)("Copy All Content"))});var I=Object(d.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.onSelect,n=e.openModal;return Object(i.createElement)(C.MenuItem,{onClick:Object(g.flow)([t,function(){return n("edit-post/manage-blocks")}])},Object(E.__)("Block Manager"))}),L=n(18);var D=Object(d.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal,n=e.onSelect;return Object(i.createElement)(C.MenuItem,{onClick:function(){n(),t("edit-post/keyboard-shortcut-help")},shortcut:L.displayShortcut.access("h")},Object(E.__)("Keyboard Shortcuts"))}),F=Object(C.createSlotFill)("ToolsMoreMenuGroup"),R=F.Fill,G=F.Slot;R.Slot=function(e){var t=e.fillProps;return Object(i.createElement)(G,{fillProps:t},function(e){return!Object(g.isEmpty)(e)&&Object(i.createElement)(C.MenuGroup,{label:Object(E.__)("Tools")},e)})};var U=R;Object(B.registerPlugin)("edit-post",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(U,null,function(e){var t=e.onClose;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(I,{onSelect:t}),Object(i.createElement)(C.MenuItem,{role:"menuitem",href:Object(N.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(E.__)("Manage All Reusable Blocks")),Object(i.createElement)(D,{onSelect:t}),Object(i.createElement)(A,null))}))}});var V,H=n(17),W=n(15),q=n(7),K="edit-post/document",z=Object(g.flow)([d.combineReducers,(V={editorMode:"visual",isGeneralSidebarDismissed:!1,panels:{"post-status":{opened:!0}},features:{fixedToolbar:!1},pinnedPluginItems:{},hiddenBlockTypes:[]},function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,n=arguments.length>1?arguments[1]:void 0;return e(t,n)}})])({isGeneralSidebarDismissed:function(e,t){switch(t.type){case"OPEN_GENERAL_SIDEBAR":case"CLOSE_GENERAL_SIDEBAR":return"CLOSE_GENERAL_SIDEBAR"===t.type}return e},panels:function(e,t){switch(t.type){case"TOGGLE_PANEL_ENABLED":var n=t.panelName;return Object(q.a)({},e,Object(W.a)({},n,Object(q.a)({},e[n],{enabled:!Object(g.get)(e,[n,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var o=t.panelName,r=!0===e[o]||Object(g.get)(e,[o,"opened"],!1);return Object(q.a)({},e,Object(W.a)({},o,Object(q.a)({},e[o],{opened:!r})))}return e},features:function(e,t){return"TOGGLE_FEATURE"===t.type?Object(q.a)({},e,Object(W.a)({},t.feature,!e[t.feature])):e},editorMode:function(e,t){return"SWITCH_MODE"===t.type?t.mode:e},pinnedPluginItems:function(e,t){return"TOGGLE_PINNED_PLUGIN_ITEM"===t.type?Object(q.a)({},e,Object(W.a)({},t.pluginName,!Object(g.get)(e,[t.pluginName],!0))):e},hiddenBlockTypes:function(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return g.without.apply(void 0,[e].concat(Object(H.a)(t.blockNames)));case"HIDE_BLOCK_TYPES":return Object(g.union)(e,t.blockNames)}return e}});var Q=Object(d.combineReducers)({isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"REQUEST_META_BOX_UPDATES":return!0;case"META_BOX_UPDATES_SUCCESS":return!1;default:return e}},locations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_META_BOXES_PER_LOCATIONS":return t.metaBoxesPerLocation}return e}}),X=Object(d.combineReducers)({activeGeneralSidebar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_GENERAL_SIDEBAR":return t.name}return e},activeModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e},metaBoxes:Q,preferences:z,publishSidebarActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e},removedPanels:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REMOVE_PANEL":if(!Object(g.includes)(e,t.panelName))return[].concat(Object(H.a)(e),[t.panelName])}return e}}),Y=n(70),J=n.n(Y),$=n(28),Z=n(48),ee=n(33),te=n.n(ee);function ne(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function oe(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function re(e){return{type:"OPEN_MODAL",name:e}}function ie(){return{type:"CLOSE_MODAL"}}function ce(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function ae(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function le(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function se(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function ue(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function de(e){return{type:"REMOVE_PANEL",panelName:e}}function be(e){return{type:"TOGGLE_FEATURE",feature:e}}function pe(e){return{type:"SWITCH_MODE",mode:e}}function me(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function Oe(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(g.castArray)(e)}}function fe(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(g.castArray)(e)}}function je(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function he(){return{type:"REQUEST_META_BOX_UPDATES"}}function ge(){return{type:"META_BOX_UPDATES_SUCCESS"}}var Ee=n(30);function ve(e){return Pe(e,"editorMode","visual")}function ye(e){var t=Se(e);return Object(g.includes)(["edit-post/document","edit-post/block"],t)}function _e(e){return!!Se(e)&&!ye(e)}function Se(e){return Pe(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function ke(e){return e.preferences}function Pe(e,t,n){var o=ke(e)[t];return void 0===o?n:o}function we(e){return e.publishSidebarActive}function Ce(e,t){return Object(g.includes)(e.removedPanels,t)}function Te(e,t){var n=Pe(e,"panels");return!Ce(e,t)&&Object(g.get)(n,[t,"enabled"],!0)}function xe(e,t){var n=Pe(e,"panels");return!0===n[t]||Object(g.get)(n,[t,"opened"],!1)}function Me(e,t){return e.activeModal===t}function Be(e,t){return!!e.preferences.features[t]}function Ne(e,t){var n=Pe(e,"pinnedPluginItems",{});return Object(g.get)(n,[t],!0)}var Ae=Object(Ee.a)(function(e){return Object.keys(e.metaBoxes.locations).filter(function(t){return Le(e,t)})},function(e){return[e.metaBoxes.locations]});function Ie(e,t){return Le(e,t)&&Object(g.some)(De(e,t),function(t){var n=t.id;return Te(e,"meta-box-".concat(n))})}function Le(e,t){var n=De(e,t);return!!n&&0!==n.length}function De(e,t){return e.metaBoxes.locations[t]}var Fe=Object(Ee.a)(function(e){return Object(g.flatten)(Object(g.values)(e.metaBoxes.locations))},function(e){return[e.metaBoxes.locations]});function Re(e){return Ae(e).length>0}function Ge(e){return e.metaBoxes.isSaving}var Ue=function(e,t){var n=e();return function(){var o=e();o!==n&&(n=o,t(o))}},Ve={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout(function(){var e=Object(d.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)});var n=Object(d.select)("core/editor").isSavingPost(),o=Object(d.select)("core/editor").isAutosavingPost(),r=Object(d.select)("core/editor").isPreviewingPost();Object(d.subscribe)(function(){var e=Object(d.select)("core/editor").isSavingPost(),i=Object(d.select)("core/editor").isAutosavingPost(),c=Object(d.select)("core/editor").isPreviewingPost(),a=Object(d.select)("core/edit-post").hasMetaBoxes()&&(n&&!e&&!o||o&&r&&!c);n=e,o=i,r=c,a&&t.dispatch({type:"REQUEST_META_BOX_UPDATES"})})},REQUEST_META_BOX_UPDATES:function(e,t){window.tinyMCE&&window.tinyMCE.triggerSave();var n=t.getState(),o=Object(d.select)("core/editor").getCurrentPost(n),r=[!!o.comment_status&&["comment_status",o.comment_status],!!o.ping_status&&["ping_status",o.ping_status],!!o.sticky&&["sticky",o.sticky],["post_author",o.author]].filter(Boolean),i=[new window.FormData(document.querySelector(".metabox-base-form"))].concat(Object(H.a)(Ae(n).map(function(e){return new window.FormData(function(e){var t=document.querySelector(".edit-post-meta-boxes-area.is-".concat(e," .metabox-location-").concat(e));return t||document.querySelector("#metaboxes .metabox-location-"+e)}(e))}))),c=Object(g.reduce)(i,function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=Object($.a)(i.value,2),l=a[0],s=a[1];e.append(l,s)}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return e},new window.FormData);r.forEach(function(e){var t=Object($.a)(e,2),n=t[0],o=t[1];return c.append(n,o)}),te()({url:window._wpMetaBoxUrl,method:"POST",body:c,parse:!1}).then(function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})})},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(d.dispatch)("core/block-editor").clearSelectedBlock();var t="visual"===e.mode?Object(E.__)("Visual editor selected"):Object(E.__)("Code editor selected");Object(Z.speak)(t,"assertive")},INIT:function(e,t){Object(d.subscribe)(Ue(function(){return!!Object(d.select)("core/block-editor").getBlockSelectionStart()},function(e){Object(d.select)("core/edit-post").isEditorSidebarOpened()&&(e?t.dispatch(ne("edit-post/block")):t.dispatch(ne("edit-post/document")))}));var n,o=function(){return Object(d.select)("core/viewport").isViewportMatch("< medium")},r=(n=null,function(e){e?(n=Se(t.getState()))&&t.dispatch({type:"CLOSE_GENERAL_SIDEBAR"}):n&&!Se(t.getState())&&t.dispatch(ne(n))});r(o()),Object(d.subscribe)(Ue(o,r));Object(d.subscribe)(Ue(function(){return Object(d.select)("core/editor").getCurrentPost().link},function(e){if(e){var t=document.querySelector("#wp-admin-bar-view a");t&&t.setAttribute("href",e)}}))}};var He=function(e){var t,n=[J()(Ve)],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map(function(e){return e(r)}),o=g.flowRight.apply(void 0,Object(H.a)(t))(e.dispatch),e.dispatch=o,e},We=Object(d.registerStore)("core/edit-post",{reducer:X,actions:o,selectors:r,persist:["preferences"]});He(We),We.dispatch({type:"INIT"});var qe=n(41),Ke=n.n(qe),ze={"t a l e s o f g u t e n b e r g":function(e){(document.activeElement.classList.contains("edit-post-visual-editor")||document.activeElement===document.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},Qe=n(16),Xe=n.n(Qe);var Ye=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).state={historyId:null},e}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.postId,o=t.postStatus,r=t.postType,i=this.state.historyId;"trash"!==o?n===e.postId&&n===i||"auto-draft"===o||this.setBrowserURL(n):this.setTrashURL(n,r)}},{key:"setTrashURL",value:function(e,t){window.location.href=function(e,t){return Object(N.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}},{key:"setBrowserURL",value:function(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(N.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState(function(){return{historyId:e}})}},{key:"render",value:function(){return null}}]),t}(i.Component),Je=Object(d.withSelect)(function(e){var t=(0,e("core/editor").getCurrentPost)();return{postId:t.id,postStatus:t.status,postType:t.type}})(Ye),$e={toggleEditorMode:{raw:L.rawShortcut.secondary("m"),display:L.displayShortcut.secondary("m")},toggleSidebar:{raw:L.rawShortcut.primaryShift(","),display:L.displayShortcut.primaryShift(","),ariaLabel:L.shortcutAriaLabel.primaryShift(",")}},Ze=[{value:"visual",label:Object(E.__)("Visual Editor")},{value:"text",label:Object(E.__)("Code Editor")}];var et=Object(T.compose)([Object(d.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,mode:e("core/edit-post").getEditorMode()}}),Object(T.ifCondition)(function(e){return e.isRichEditingEnabled}),Object(d.withDispatch)(function(e,t){return{onSwitch:function(n){e("core/edit-post").switchEditorMode(n),t.onSelect(n)}}})])(function(e){var t=e.onSwitch,n=e.mode,o=Ze.map(function(e){return e.value!==n?Object(q.a)({},e,{shortcut:$e.toggleEditorMode.display}):e});return Object(i.createElement)(C.MenuGroup,{label:Object(E.__)("Editor")},Object(i.createElement)(C.MenuItemsChoice,{choices:o,value:n,onSelect:t}))}),tt=Object(C.createSlotFill)("PluginsMoreMenuGroup"),nt=tt.Fill,ot=tt.Slot;nt.Slot=function(e){var t=e.fillProps;return Object(i.createElement)(ot,{fillProps:t},function(e){return!Object(g.isEmpty)(e)&&Object(i.createElement)(C.MenuGroup,{label:Object(E.__)("Plugins")},e)})};var rt=nt;var it=Object(d.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal,n=e.onSelect;return Object(i.createElement)(C.MenuItem,{onClick:function(){n(),t("edit-post/options")}},Object(E.__)("Options"))});var ct=Object(T.compose)([Object(d.withSelect)(function(e,t){var n=t.feature;return{isActive:e("core/edit-post").isFeatureActive(n)}}),Object(d.withDispatch)(function(e,t){return{onToggle:function(){e("core/edit-post").toggleFeature(t.feature),t.onToggle()}}}),C.withSpokenMessages])(function(e){var t=e.onToggle,n=e.isActive,o=e.label,r=e.info,c=e.messageActivated,a=e.messageDeactivated,l=e.speak;return Object(i.createElement)(C.MenuItem,{icon:n&&"yes",isSelected:n,onClick:Object(g.flow)(t,function(){l(n?a||Object(E.__)("Feature deactivated"):c||Object(E.__)("Feature activated"))}),role:"menuitemcheckbox",info:r},o)});var at=Object(s.ifViewportMatches)("medium")(function(e){var t=e.onClose;return Object(i.createElement)(C.MenuGroup,{label:Object(E._x)("View","noun")},Object(i.createElement)(ct,{feature:"fixedToolbar",label:Object(E.__)("Top Toolbar"),info:Object(E.__)("Access all block and document tools in a single place"),onToggle:t,messageActivated:Object(E.__)("Top toolbar activated"),messageDeactivated:Object(E.__)("Top toolbar deactivated")}),Object(i.createElement)(ct,{feature:"focusMode",label:Object(E.__)("Spotlight Mode"),info:Object(E.__)("Focus on one block at a time"),onToggle:t,messageActivated:Object(E.__)("Spotlight mode activated"),messageDeactivated:Object(E.__)("Spotlight mode deactivated")}),Object(i.createElement)(ct,{feature:"fullscreenMode",label:Object(E.__)("Fullscreen Mode"),info:Object(E.__)("Work without distraction"),onToggle:t,messageActivated:Object(E.__)("Fullscreen mode activated"),messageDeactivated:Object(E.__)("Fullscreen mode deactivated")}))}),lt=Object(E.__)("Show more tools & options"),st=Object(E.__)("Hide more tools & options"),ut=function(){return Object(i.createElement)(C.Dropdown,{className:"edit-post-more-menu",contentClassName:"edit-post-more-menu__content",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(i.createElement)(C.IconButton,{icon:"ellipsis",label:t?st:lt,labelPosition:"bottom",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onClose;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(at,{onClose:t}),Object(i.createElement)(et,{onSelect:t}),Object(i.createElement)(rt.Slot,{fillProps:{onClose:t}}),Object(i.createElement)(U.Slot,{fillProps:{onClose:t}}),Object(i.createElement)(C.MenuGroup,null,Object(i.createElement)(it,{onSelect:t})))}})};var dt=Object(d.withSelect)(function(e){var t=e("core/editor").getCurrentPostType,n=e("core/edit-post").isFeatureActive,o=e("core").getPostType;return{isActive:n("fullscreenMode"),postType:o(t())}})(function(e){var t=e.isActive,n=e.postType;return t&&n?Object(i.createElement)(C.Toolbar,{className:"edit-post-fullscreen-mode-close__toolbar"},Object(i.createElement)(C.IconButton,{icon:"arrow-left-alt2",href:Object(N.addQueryArgs)("edit.php",{post_type:n.slug}),label:Object(g.get)(n,["labels","view_items"],Object(E.__)("Back"))})):null});var bt=Object(T.compose)([Object(d.withSelect)(function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),showInserter:"visual"===e("core/edit-post").getEditorMode()&&e("core/editor").getEditorSettings().richEditingEnabled,isTextModeEnabled:"text"===e("core/edit-post").getEditorMode()}}),Object(s.withViewportMatch)({isLargeViewport:"medium"})])(function(e){var t=e.hasFixedToolbar,n=e.isLargeViewport,o=e.showInserter,r=e.isTextModeEnabled,s=t?Object(E.__)("Document and block tools"):Object(E.__)("Document tools");return Object(i.createElement)(c.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":s},Object(i.createElement)(dt,null),Object(i.createElement)("div",null,Object(i.createElement)(c.Inserter,{disabled:!o,position:"bottom right"}),Object(i.createElement)(l.DotTip,{tipId:"core/editor.inserter"},Object(E.__)("Welcome to the wonderful world of blocks! Click the “+” (“Add block”) button to add a new block. There are blocks available for all kinds of content: you can insert text, headings, images, lists, and lots more!"))),Object(i.createElement)(a.EditorHistoryUndo,null),Object(i.createElement)(a.EditorHistoryRedo,null),Object(i.createElement)(a.TableOfContents,{hasOutlineItemsDisabled:r}),Object(i.createElement)(c.BlockNavigationDropdown,{isDisabled:r}),t&&n&&Object(i.createElement)("div",{className:"edit-post-header-toolbar__block-toolbar"},Object(i.createElement)(c.BlockToolbar,null)))}),pt=Object(C.createSlotFill)("PinnedPlugins"),mt=pt.Fill,Ot=pt.Slot;mt.Slot=function(e){return Object(i.createElement)(Ot,e,function(e){return!Object(g.isEmpty)(e)&&Object(i.createElement)("div",{className:"edit-post-pinned-plugins"},e)})};var ft=mt;var jt=Object(T.compose)(Object(d.withSelect)(function(e){return{hasPublishAction:Object(g.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()}}),Object(d.withDispatch)(function(e){return{togglePublishSidebar:e("core/edit-post").togglePublishSidebar}}),Object(s.withViewportMatch)({isLessThanMediumViewport:"< medium"}))(function(e){var t,n=e.forceIsDirty,o=e.forceIsSaving,r=e.hasPublishAction,c=e.isBeingScheduled,l=e.isLessThanMediumViewport,s=e.isPending,u=e.isPublished,d=e.isPublishSidebarEnabled,b=e.isPublishSidebarOpened,p=e.isScheduled,m=e.togglePublishSidebar;return t=u||p&&c||s&&!r&&!l?"button":l?"toggle":d?"toggle":"button",Object(i.createElement)(a.PostPublishButton,{forceIsDirty:n,forceIsSaving:o,isOpen:b,isToggle:"toggle"===t,onToggle:m})});var ht=Object(T.compose)(Object(d.withSelect)(function(e){return{hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isEditorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isSaving:e("core/edit-post").isSavingMetaBoxes()}}),Object(d.withDispatch)(function(e,t,n){var o=(0,n.select)("core/block-editor").getBlockSelectionStart,r=e("core/edit-post"),i=r.openGeneralSidebar;return{openGeneralSidebar:function(){return i(o()?"edit-post/block":"edit-post/document")},closeGeneralSidebar:r.closeGeneralSidebar}}))(function(e){var t=e.closeGeneralSidebar,n=e.hasActiveMetaboxes,o=e.isEditorSidebarOpened,r=e.isPublishSidebarOpened,c=e.isSaving,s=e.openGeneralSidebar,u=o?t:s;return Object(i.createElement)("div",{role:"region","aria-label":Object(E.__)("Editor top bar"),className:"edit-post-header",tabIndex:"-1"},Object(i.createElement)(bt,null),Object(i.createElement)("div",{className:"edit-post-header__settings"},!r&&Object(i.createElement)(a.PostSavedState,{forceIsDirty:n,forceIsSaving:c}),Object(i.createElement)(a.PostPreviewButton,{forceIsAutosaveable:n,forcePreviewLink:c?null:void 0}),Object(i.createElement)(jt,{forceIsDirty:n,forceIsSaving:c}),Object(i.createElement)("div",null,Object(i.createElement)(C.IconButton,{icon:"admin-generic",label:Object(E.__)("Settings"),onClick:u,isToggled:o,"aria-expanded":o,shortcut:$e.toggleSidebar}),Object(i.createElement)(l.DotTip,{tipId:"core/editor.settings"},Object(E.__)("You’ll find more settings for your page and blocks in the sidebar. Click the cog icon to toggle the sidebar open and closed."))),Object(i.createElement)(ft.Slot,null),Object(i.createElement)(ut,null)))});var gt=Object(T.compose)(Object(d.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}}),Object(d.withDispatch)(function(e){return{onExit:function(){e("core/edit-post").switchEditorMode("visual")}}}))(function(e){var t=e.onExit,n=e.isRichEditingEnabled;return Object(i.createElement)("div",{className:"edit-post-text-editor"},n&&Object(i.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(i.createElement)("h2",null,Object(E.__)("Editing Code")),Object(i.createElement)(C.IconButton,{onClick:t,icon:"no-alt",shortcut:L.displayShortcut.secondary("m")},Object(E.__)("Exit Code Editor")),Object(i.createElement)(a.TextEditorGlobalKeyboardShortcuts,null)),Object(i.createElement)("div",{className:"edit-post-text-editor__body"},Object(i.createElement)(a.PostTitle,null),Object(i.createElement)(a.PostTextEditor,null)))});var Et=Object(T.compose)(Object(d.withSelect)(function(e){return{areAdvancedSettingsOpened:"edit-post/block"===e("core/edit-post").getActiveGeneralSidebarName()}}),Object(d.withDispatch)(function(e){return{openEditorSidebar:function(){return e("core/edit-post").openGeneralSidebar("edit-post/block")},closeSidebar:e("core/edit-post").closeGeneralSidebar}}),C.withSpokenMessages)(function(e){var t=e.areAdvancedSettingsOpened,n=e.closeSidebar,o=e.openEditorSidebar,r=e.onClick,c=void 0===r?g.noop:r,a=e.small,l=void 0!==a&&a,s=e.speak,u=t?Object(E.__)("Hide Block Settings"):Object(E.__)("Show Block Settings");return Object(i.createElement)(C.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(g.flow)(t?n:o,function(){s(t?Object(E.__)("Block settings closed"):Object(E.__)("Additional settings are now available in the Editor block settings sidebar"))},c),icon:"admin-generic",shortcut:$e.toggleSidebar},!l&&u)}),vt=Object(C.createSlotFill)("PluginBlockSettingsMenuGroup"),yt=vt.Fill,_t=vt.Slot;yt.Slot=Object(d.withSelect)(function(e,t){var n=t.fillProps.clientIds;return{selectedBlocks:e("core/block-editor").getBlocksByClientId(n)}})(function(e){var t=e.fillProps,n=e.selectedBlocks;return n=Object(g.map)(n,function(e){return e.name}),Object(i.createElement)(_t,{fillProps:Object(q.a)({},t,{selectedBlocks:n})},function(e){return!Object(g.isEmpty)(e)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"editor-block-settings-menu__separator"}),e)})});var St=yt;var kt=function(){return Object(i.createElement)(c.BlockSelectionClearer,{className:"edit-post-visual-editor editor-styles-wrapper"},Object(i.createElement)(a.VisualEditorGlobalKeyboardShortcuts,null),Object(i.createElement)(c.MultiSelectScrollIntoView,null),Object(i.createElement)(c.WritingFlow,null,Object(i.createElement)(c.ObserveTyping,null,Object(i.createElement)(c.CopyHandler,null,Object(i.createElement)(a.PostTitle,null),Object(i.createElement)(c.BlockList,null)))),Object(i.createElement)(c._BlockSettingsMenuFirstItem,null,function(e){var t=e.onClose;return Object(i.createElement)(Et,{onClick:t})}),Object(i.createElement)(c._BlockSettingsMenuPluginsExtension,null,function(e){var t=e.clientIds,n=e.onClose;return Object(i.createElement)(St.Slot,{fillProps:{clientIds:t,onClose:n}})}))},Pt=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).toggleMode=e.toggleMode.bind(Object(h.a)(Object(h.a)(e))),e.toggleSidebar=e.toggleSidebar.bind(Object(h.a)(Object(h.a)(e))),e}return Object(j.a)(t,e),Object(m.a)(t,[{key:"toggleMode",value:function(){var e=this.props,t=e.mode,n=e.switchMode;e.isRichEditingEnabled&&n("visual"===t?"text":"visual")}},{key:"toggleSidebar",value:function(e){e.preventDefault();var t=this.props,n=t.isEditorSidebarOpen,o=t.closeSidebar,r=t.openSidebar;n?o():r()}},{key:"render",value:function(){var e;return Object(i.createElement)(C.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(e={},Object(W.a)(e,$e.toggleEditorMode.raw,this.toggleMode),Object(W.a)(e,$e.toggleSidebar.raw,this.toggleSidebar),e)})}}]),t}(i.Component),wt=Object(T.compose)([Object(d.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,mode:e("core/edit-post").getEditorMode(),isEditorSidebarOpen:e("core/edit-post").isEditorSidebarOpened()}}),Object(d.withDispatch)(function(e,t,n){var o=n.select;return{switchMode:function(t){e("core/edit-post").switchEditorMode(t)},openSidebar:function(){var t=(0,o("core/block-editor").getBlockSelectionStart)()?"edit-post/block":"edit-post/document";e("core/edit-post").openGeneralSidebar(t)},closeSidebar:e("core/edit-post").closeGeneralSidebar}})])(Pt),Ct=L.displayShortcutList.primary,Tt=L.displayShortcutList.primaryShift,xt=L.displayShortcutList.primaryAlt,Mt=L.displayShortcutList.secondary,Bt=L.displayShortcutList.access,Nt=L.displayShortcutList.ctrl,At=L.displayShortcutList.alt,It=L.displayShortcutList.ctrlShift,Lt=L.displayShortcutList.shiftAlt,Dt=[{title:Object(E.__)("Global shortcuts"),shortcuts:[{keyCombination:Bt("h"),description:Object(E.__)("Display this help.")},{keyCombination:Ct("s"),description:Object(E.__)("Save your changes.")},{keyCombination:Ct("z"),description:Object(E.__)("Undo your last changes.")},{keyCombination:Tt("z"),description:Object(E.__)("Redo your last undo.")},{keyCombination:Tt(","),description:Object(E.__)("Show or hide the settings sidebar."),ariaLabel:L.shortcutAriaLabel.primaryShift(",")},{keyCombination:Bt("o"),description:Object(E.__)("Open the block navigation menu.")},{keyCombination:Nt("`"),description:Object(E.__)("Navigate to the next part of the editor."),ariaLabel:L.shortcutAriaLabel.ctrl("`")},{keyCombination:It("`"),description:Object(E.__)("Navigate to the previous part of the editor."),ariaLabel:L.shortcutAriaLabel.ctrlShift("`")},{keyCombination:Lt("n"),description:Object(E.__)("Navigate to the next part of the editor (alternative).")},{keyCombination:Lt("p"),description:Object(E.__)("Navigate to the previous part of the editor (alternative).")},{keyCombination:At("F10"),description:Object(E.__)("Navigate to the nearest toolbar.")},{keyCombination:Mt("m"),description:Object(E.__)("Switch between Visual Editor and Code Editor.")}]},{title:Object(E.__)("Selection shortcuts"),shortcuts:[{keyCombination:Ct("a"),description:Object(E.__)("Select all text when typing. Press again to select all blocks.")},{keyCombination:"Esc",description:Object(E.__)("Clear selection."),ariaLabel:Object(E.__)("Escape")}]},{title:Object(E.__)("Block shortcuts"),shortcuts:[{keyCombination:Tt("d"),description:Object(E.__)("Duplicate the selected block(s).")},{keyCombination:Bt("z"),description:Object(E.__)("Remove the selected block(s).")},{keyCombination:xt("t"),description:Object(E.__)("Insert a new block before the selected block(s).")},{keyCombination:xt("y"),description:Object(E.__)("Insert a new block after the selected block(s).")},{keyCombination:"/",description:Object(E.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(E.__)("Forward-slash")}]},{title:Object(E.__)("Text formatting"),shortcuts:[{keyCombination:Ct("b"),description:Object(E.__)("Make the selected text bold.")},{keyCombination:Ct("i"),description:Object(E.__)("Make the selected text italic.")},{keyCombination:Ct("u"),description:Object(E.__)("Underline the selected text.")},{keyCombination:Ct("k"),description:Object(E.__)("Convert the selected text into a link.")},{keyCombination:Tt("k"),description:Object(E.__)("Remove a link.")},{keyCombination:Bt("d"),description:Object(E.__)("Add a strikethrough to the selected text.")},{keyCombination:Bt("x"),description:Object(E.__)("Display the selected text in a monospaced font.")}]}],Ft="edit-post/keyboard-shortcut-help",Rt=function(e){var t=e.shortcuts;return Object(i.createElement)("dl",{className:"edit-post-keyboard-shortcut-help__shortcut-list"},t.map(function(e,t){var n=e.keyCombination,o=e.description,r=e.ariaLabel;return Object(i.createElement)("div",{className:"edit-post-keyboard-shortcut-help__shortcut",key:t},Object(i.createElement)("dt",{className:"edit-post-keyboard-shortcut-help__shortcut-term"},Object(i.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help__shortcut-key-combination","aria-label":r},function(e){return e.map(function(e,t){return"+"===e?Object(i.createElement)(i.Fragment,{key:t},e):Object(i.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help__shortcut-key"},e)})}(Object(g.castArray)(n)))),Object(i.createElement)("dd",{className:"edit-post-keyboard-shortcut-help__shortcut-description"},o))}))},Gt=function(e){var t=e.title,n=e.shortcuts;return Object(i.createElement)("section",{className:"edit-post-keyboard-shortcut-help__section"},Object(i.createElement)("h2",{className:"edit-post-keyboard-shortcut-help__section-title"},t),Object(i.createElement)(Rt,{shortcuts:n}))};var Ut=Object(T.compose)([Object(d.withSelect)(function(e){return{isModalActive:e("core/edit-post").isModalActive(Ft)}}),Object(d.withDispatch)(function(e,t){var n=t.isModalActive,o=e("core/edit-post"),r=o.openModal,i=o.closeModal;return{toggleModal:function(){return n?i():r(Ft)}}})])(function(e){var t=e.isModalActive,n=e.toggleModal;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(C.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(W.a)({},L.rawShortcut.access("h"),n)}),t&&Object(i.createElement)(C.Modal,{className:"edit-post-keyboard-shortcut-help",title:Object(E.__)("Keyboard Shortcuts"),closeLabel:Object(E.__)("Close"),onRequestClose:n},Dt.map(function(e,t){return Object(i.createElement)(Gt,Object(k.a)({key:t},e))})))});var Vt=function(e){var t=e.blockTypes,n=e.value,o=e.onItemChange;return Object(i.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},t.map(function(e){return Object(i.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(i.createElement)(C.CheckboxControl,{label:Object(i.createElement)(i.Fragment,null,e.title,Object(i.createElement)(c.BlockIcon,{icon:e.icon})),checked:n.includes(e.name),onChange:Object(g.partial)(o,e.name)}))}))};var Ht=Object(T.compose)([T.withInstanceId,Object(d.withSelect)(function(e){return{hiddenBlockTypes:(0,e("core/edit-post").getPreference)("hiddenBlockTypes")}}),Object(d.withDispatch)(function(e,t){var n=e("core/edit-post"),o=n.showBlockTypes,r=n.hideBlockTypes;return{toggleVisible:function(e,t){t?o(e):r(e)},toggleAllVisible:function(e){var n=Object(g.map)(t.blockTypes,"name");e?o(n):r(n)}}})])(function(e){var t=e.instanceId,n=e.category,o=e.blockTypes,r=e.hiddenBlockTypes,c=e.toggleVisible,a=e.toggleAllVisible;if(!o.length)return null;var l,s=g.without.apply(void 0,[Object(g.map)(o,"name")].concat(Object(H.a)(r))),u="edit-post-manage-blocks-modal__category-title-"+t,d=s.length===o.length;return l=d?"true":s.length>0?"mixed":"false",Object(i.createElement)("div",{role:"group","aria-labelledby":u,className:"edit-post-manage-blocks-modal__category"},Object(i.createElement)(C.CheckboxControl,{checked:d,onChange:a,className:"edit-post-manage-blocks-modal__category-title","aria-checked":l,label:Object(i.createElement)("span",{id:u},n.title)}),Object(i.createElement)(Vt,{blockTypes:o,value:s,onItemChange:c}))});var Wt=Object(T.compose)([Object(T.withState)({search:""}),Object(d.withSelect)(function(e){var t=e("core/blocks"),n=t.getBlockTypes,o=t.getCategories,r=t.hasBlockSupport,i=t.isMatchingSearchTerm;return{blockTypes:n(),categories:o(),hasBlockSupport:r,isMatchingSearchTerm:i}})])(function(e){var t=e.search,n=e.setState,o=e.blockTypes,r=e.categories,c=e.hasBlockSupport,a=e.isMatchingSearchTerm;return o=o.filter(function(e){return c(e,"inserter",!0)&&(!t||a(e,t))}),Object(i.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(i.createElement)(C.TextControl,{type:"search",label:Object(E.__)("Search for a block"),value:t,onChange:function(e){return n({search:e})},className:"edit-post-manage-blocks-modal__search"}),Object(i.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(E.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===o.length&&Object(i.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(E.__)("No blocks found.")),r.map(function(e){return Object(i.createElement)(Ht,{key:e.slug,category:e,blockTypes:Object(g.filter)(o,{category:e.slug})})})))});var qt=Object(T.compose)([Object(d.withSelect)(function(e){return{isActive:(0,e("core/edit-post").isModalActive)("edit-post/manage-blocks")}}),Object(d.withDispatch)(function(e){return{closeModal:e("core/edit-post").closeModal}})])(function(e){var t=e.isActive,n=e.closeModal;return t?Object(i.createElement)(C.Modal,{className:"edit-post-manage-blocks-modal",title:Object(E.__)("Block Manager"),closeLabel:Object(E.__)("Close"),onRequestClose:n},Object(i.createElement)(Wt,null)):null}),Kt=function(e){var t=e.title,n=e.children;return Object(i.createElement)("section",{className:"edit-post-options-modal__section"},Object(i.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),n)};var zt=function(e){var t=e.label,n=e.isChecked,o=e.onChange;return Object(i.createElement)(C.CheckboxControl,{className:"edit-post-options-modal__option",label:t,checked:n,onChange:o})},Qt=function(e){function t(e){var n,o=e.isChecked;return Object(p.a)(this,t),(n=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).toggleCustomFields=n.toggleCustomFields.bind(Object(h.a)(Object(h.a)(n))),n.state={isChecked:o},n}return Object(j.a)(t,e),Object(m.a)(t,[{key:"toggleCustomFields",value:function(){document.getElementById("toggle-custom-fields-form").submit(),this.setState({isChecked:!this.props.isChecked})}},{key:"render",value:function(){var e=this.props.label,t=this.state.isChecked;return Object(i.createElement)(zt,{label:e,isChecked:t,onChange:this.toggleCustomFields})}}]),t}(i.Component),Xt=Object(d.withSelect)(function(e){return{isChecked:!!e("core/editor").getEditorSettings().enableCustomFields}})(Qt),Yt=Object(T.compose)(Object(d.withSelect)(function(e,t){var n=t.panelName,o=e("core/edit-post"),r=o.isEditorPanelEnabled;return{isRemoved:(0,o.isEditorPanelRemoved)(n),isChecked:r(n)}}),Object(T.ifCondition)(function(e){return!e.isRemoved}),Object(d.withDispatch)(function(e,t){var n=t.panelName;return{onChange:function(){return e("core/edit-post").toggleEditorPanelEnabled(n)}}}))(zt),Jt=Object(T.compose)(Object(d.withSelect)(function(e){return{isChecked:e("core/editor").isPublishSidebarEnabled()}}),Object(d.withDispatch)(function(e){var t=e("core/editor"),n=t.enablePublishSidebar,o=t.disablePublishSidebar;return{onChange:function(e){return e?n():o()}}}),Object(s.ifViewportMatches)("medium"))(zt),$t=function(e){function t(e){var n,o=e.isChecked;return Object(p.a)(this,t),(n=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).state={isChecked:o},n}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentWillUnmount",value:function(){this.state.isChecked!==this.props.isChecked&&this.props.onChange(this.state.isChecked)}},{key:"render",value:function(){var e=this;return Object(i.createElement)(zt,{label:this.props.label,isChecked:this.state.isChecked,onChange:function(t){return e.setState({isChecked:t})}})}}]),t}(i.Component),Zt=Object(T.compose)(Object(d.withSelect)(function(e){return{isChecked:e("core/nux").areTipsEnabled()}}),Object(d.withDispatch)(function(e){var t=e("core/nux"),n=t.enableTips,o=t.disableTips;return{onChange:function(e){return e?n():o()}}}))($t);var en=Object(d.withSelect)(function(e){var t=e("core/editor").getEditorSettings,n=e("core/edit-post").getAllMetaBoxes;return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:n()}})(function(e){var t=e.areCustomFieldsRegistered,n=e.metaBoxes,o=Object(P.a)(e,["areCustomFieldsRegistered","metaBoxes"]),r=Object(g.filter)(n,function(e){return"postcustom"!==e.id});return t||0!==r.length?Object(i.createElement)(Kt,o,t&&Object(i.createElement)(Xt,{label:Object(E.__)("Custom Fields")}),Object(g.map)(r,function(e){var t=e.id,n=e.title;return Object(i.createElement)(Yt,{key:t,label:n,panelName:"meta-box-".concat(t)})})):null});var tn=Object(T.compose)(Object(d.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=(0,e("core").getPostType)(t("type"));return{isModalActive:e("core/edit-post").isModalActive("edit-post/options"),isViewable:Object(g.get)(n,["viewable"],!1)}}),Object(d.withDispatch)(function(e){return{closeModal:function(){return e("core/edit-post").closeModal()}}}))(function(e){var t=e.isModalActive,n=e.isViewable,o=e.closeModal;return t?Object(i.createElement)(C.Modal,{className:"edit-post-options-modal",title:Object(E.__)("Options"),closeLabel:Object(E.__)("Close"),onRequestClose:o},Object(i.createElement)(Kt,{title:Object(E.__)("General")},Object(i.createElement)(Jt,{label:Object(E.__)("Enable Pre-publish Checks")}),Object(i.createElement)(Zt,{label:Object(E.__)("Enable Tips")})),Object(i.createElement)(Kt,{title:Object(E.__)("Document Panels")},n&&Object(i.createElement)(Yt,{label:Object(E.__)("Permalink"),panelName:"post-link"}),Object(i.createElement)(a.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(i.createElement)(Yt,{label:Object(g.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(i.createElement)(a.PostFeaturedImageCheck,null,Object(i.createElement)(Yt,{label:Object(E.__)("Featured Image"),panelName:"featured-image"})),Object(i.createElement)(a.PostExcerptCheck,null,Object(i.createElement)(Yt,{label:Object(E.__)("Excerpt"),panelName:"post-excerpt"})),Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(i.createElement)(Yt,{label:Object(E.__)("Discussion"),panelName:"discussion-panel"})),Object(i.createElement)(a.PageAttributesCheck,null,Object(i.createElement)(Yt,{label:Object(E.__)("Page Attributes"),panelName:"page-attributes"}))),Object(i.createElement)(en,{title:Object(E.__)("Advanced Panels")})):null}),nn=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(h.a)(Object(h.a)(e))),e}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){this.form=document.querySelector(".metabox-location-"+this.props.location),this.form&&this.container.appendChild(this.form)}},{key:"componentWillUnmount",value:function(){this.form&&document.querySelector("#metaboxes").appendChild(this.form)}},{key:"bindContainerNode",value:function(e){this.container=e}},{key:"render",value:function(){var e=this.props,t=e.location,n=e.isSaving,o=Xe()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":n});return Object(i.createElement)("div",{className:o},n&&Object(i.createElement)(C.Spinner,null),Object(i.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(i.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(i.Component),on=Object(d.withSelect)(function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}})(nn),rn=function(e){function t(){return Object(p.a)(this,t),Object(O.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){this.updateDOM()}},{key:"componentDidUpdate",value:function(e){this.props.isVisible!==e.isVisible&&this.updateDOM()}},{key:"updateDOM",value:function(){var e=this.props,t=e.id,n=e.isVisible,o=document.getElementById(t);o&&(n?o.classList.remove("is-hidden"):o.classList.add("is-hidden"))}},{key:"render",value:function(){return null}}]),t}(i.Component),cn=Object(d.withSelect)(function(e,t){var n=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(n))}})(rn);var an=Object(d.withSelect)(function(e,t){var n=t.location,o=e("core/edit-post"),r=o.isMetaBoxLocationVisible;return{metaBoxes:(0,o.getMetaBoxesPerLocation)(n),isVisible:r(n)}})(function(e){var t=e.location,n=e.isVisible,o=e.metaBoxes;return Object(i.createElement)(i.Fragment,null,Object(g.map)(o,function(e){var t=e.id;return Object(i.createElement)(cn,{key:t,id:t})}),n&&Object(i.createElement)(on,{location:t}))}),ln=Object(C.createSlotFill)("Sidebar"),sn=ln.Fill,un=ln.Slot;function dn(e){var t=e.children,n=e.label,o=e.className;return Object(i.createElement)("div",{className:Xe()("edit-post-sidebar",o),role:"region","aria-label":n,tabIndex:"-1"},t)}dn=Object(C.withFocusReturn)({onFocusReturn:function(){var e=document.querySelector('.edit-post-header__settings [aria-label="Settings"]');if(e)return e.focus(),!1}})(dn);var bn=Object(T.compose)(Object(d.withSelect)(function(e,t){var n=t.name;return{isActive:e("core/edit-post").getActiveGeneralSidebarName()===n}}),Object(T.ifCondition)(function(e){return e.isActive}))(function(e){return Object(i.createElement)(sn,null,Object(i.createElement)(C.Animate,{type:"slide-in",options:{origin:"left"}},function(){return Object(i.createElement)(dn,e)}))});bn.Slot=un;var pn=bn,mn=Object(T.compose)(Object(d.withSelect)(function(e){return{title:e("core/editor").getEditedPostAttribute("title")}}),Object(d.withDispatch)(function(e){return{closeSidebar:e("core/edit-post").closeGeneralSidebar}}))(function(e){var t=e.children,n=e.className,o=e.closeLabel,r=e.closeSidebar,c=e.title;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"components-panel__header edit-post-sidebar-header__small"},Object(i.createElement)("span",{className:"edit-post-sidebar-header__title"},c||Object(E.__)("(no title)")),Object(i.createElement)(C.IconButton,{onClick:r,icon:"no-alt",label:o})),Object(i.createElement)("div",{className:Xe()("components-panel__header edit-post-sidebar-header",n)},t,Object(i.createElement)(C.IconButton,{onClick:r,icon:"no-alt",label:o,shortcut:$e.toggleSidebar})))}),On=Object(d.withDispatch)(function(e){var t=e("core/edit-post").openGeneralSidebar,n=e("core/block-editor").clearSelectedBlock;return{openDocumentSettings:function(){t("edit-post/document"),n()},openBlockSettings:function(){t("edit-post/block")}}})(function(e){var t=e.openDocumentSettings,n=e.openBlockSettings,o=e.sidebarName,r=Object(E.__)("Block"),c="edit-post/document"===o?[Object(E.__)("Document (selected)"),"is-active"]:[Object(E.__)("Document"),""],a=Object($.a)(c,2),l=a[0],s=a[1],u="edit-post/block"===o?[Object(E.__)("Block (selected)"),"is-active"]:[Object(E.__)("Block"),""],d=Object($.a)(u,2),b=d[0],p=d[1];return Object(i.createElement)(mn,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(E.__)("Close settings")},Object(i.createElement)("ul",null,Object(i.createElement)("li",null,Object(i.createElement)("button",{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(s),"aria-label":l,"data-label":Object(E.__)("Document")},Object(E.__)("Document"))),Object(i.createElement)("li",null,Object(i.createElement)("button",{onClick:n,className:"edit-post-sidebar__panel-tab ".concat(p),"aria-label":b,"data-label":r},r))))});var fn=function(){return Object(i.createElement)(a.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(i.createElement)(C.PanelRow,{className:"edit-post-post-visibility"},Object(i.createElement)("span",null,Object(E.__)("Visibility")),!t&&Object(i.createElement)("span",null,Object(i.createElement)(a.PostVisibilityLabel,null)),t&&Object(i.createElement)(C.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(i.createElement)(C.Button,{type:"button","aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,isLink:!0},Object(i.createElement)(a.PostVisibilityLabel,null))},renderContent:function(){return Object(i.createElement)(a.PostVisibility,null)}}))}})};function jn(){return Object(i.createElement)(a.PostTrashCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostTrash,null)))}var hn=Object(T.withInstanceId)(function(e){var t=e.instanceId;return Object(i.createElement)(a.PostScheduleCheck,null,Object(i.createElement)(C.PanelRow,{className:"edit-post-post-schedule"},Object(i.createElement)("label",{htmlFor:"edit-post-post-schedule__toggle-".concat(t),id:"edit-post-post-schedule__heading-".concat(t)},Object(E.__)("Publish")),Object(i.createElement)(C.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var n=e.onToggle,o=e.isOpen;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{className:"edit-post-post-schedule__label",htmlFor:"edit-post-post-schedule__toggle-".concat(t)},Object(i.createElement)(a.PostScheduleLabel,null)," ",Object(E.__)("Click to change")),Object(i.createElement)(C.Button,{id:"edit-post-post-schedule__toggle-".concat(t),type:"button",className:"edit-post-post-schedule__toggle",onClick:n,"aria-expanded":o,"aria-live":"polite",isLink:!0},Object(i.createElement)(a.PostScheduleLabel,null)))},renderContent:function(){return Object(i.createElement)(a.PostSchedule,null)}})))});var gn=function(){return Object(i.createElement)(a.PostStickyCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostSticky,null)))};var En=function(){return Object(i.createElement)(a.PostAuthorCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostAuthor,null)))};var vn=function(){return Object(i.createElement)(a.PostFormatCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostFormat,null)))};var yn=function(){return Object(i.createElement)(a.PostPendingStatusCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostPendingStatus,null)))},_n=Object(C.createSlotFill)("PluginPostStatusInfo"),Sn=_n.Fill,kn=_n.Slot,Pn=function(e){var t=e.children,n=e.className;return Object(i.createElement)(Sn,null,Object(i.createElement)(C.PanelRow,{className:n},t))};Pn.Slot=kn;var wn=Pn;var Cn=Object(T.compose)([Object(d.withSelect)(function(e){return{isOpened:e("core/edit-post").isEditorPanelOpened("post-status")}}),Object(d.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-status")}}})])(function(e){var t=e.isOpened,n=e.onTogglePanel;return Object(i.createElement)(C.PanelBody,{className:"edit-post-post-status",title:Object(E.__)("Status & Visibility"),opened:t,onToggle:n},Object(i.createElement)(wn.Slot,null,function(e){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(fn,null),Object(i.createElement)(hn,null),Object(i.createElement)(vn,null),Object(i.createElement)(gn,null),Object(i.createElement)(yn,null),Object(i.createElement)(En,null),e,Object(i.createElement)(jn,null))}))});var Tn=function(){return Object(i.createElement)(a.PostLastRevisionCheck,null,Object(i.createElement)(C.PanelBody,{className:"edit-post-last-revision__panel"},Object(i.createElement)(a.PostLastRevision,null)))};var xn=Object(T.compose)(Object(d.withSelect)(function(e,t){var n=Object(g.get)(t.taxonomy,["slug"]),o=n?"taxonomy-panel-".concat(n):"";return{panelName:o,isEnabled:!!n&&e("core/edit-post").isEditorPanelEnabled(o),isOpened:!!n&&e("core/edit-post").isEditorPanelOpened(o)}}),Object(d.withDispatch)(function(e,t){return{onTogglePanel:function(){e("core/edit-post").toggleEditorPanelOpened(t.panelName)}}}))(function(e){var t=e.isEnabled,n=e.taxonomy,o=e.isOpened,r=e.onTogglePanel,c=e.children;if(!t)return null;var a=Object(g.get)(n,["labels","menu_name"]);return a?Object(i.createElement)(C.PanelBody,{title:a,opened:o,onToggle:r},c):null});var Mn=function(){return Object(i.createElement)(a.PostTaxonomiesCheck,null,Object(i.createElement)(a.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(i.createElement)(xn,{taxonomy:t},e)}}))};var Bn=Object(d.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core").getPostType,o=e("core/edit-post"),r=o.isEditorPanelEnabled,i=o.isEditorPanelOpened;return{postType:n(t("type")),isEnabled:r("featured-image"),isOpened:i("featured-image")}}),Nn=Object(d.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(g.partial)(t,"featured-image")}}),An=Object(T.compose)(Bn,Nn)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.postType,r=e.onTogglePanel;return t?Object(i.createElement)(a.PostFeaturedImageCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(g.get)(o,["labels","featured_image"],Object(E.__)("Featured Image")),opened:n,onToggle:r},Object(i.createElement)(a.PostFeaturedImage,null))):null});var In=Object(T.compose)([Object(d.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}}),Object(d.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-excerpt")}}})])(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(i.createElement)(a.PostExcerptCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(E.__)("Excerpt"),opened:n,onToggle:o},Object(i.createElement)(a.PostExcerpt,null))):null});var Ln=Object(T.compose)([Object(d.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,o=t.isPermalinkEditable,r=t.getCurrentPost,i=t.isCurrentPostPublished,c=t.getPermalinkParts,a=t.getEditedPostAttribute,l=e("core/edit-post"),s=l.isEditorPanelEnabled,u=l.isEditorPanelOpened,d=e("core").getPostType,b=r(),p=b.link,m=b.id,O=d(a("type"));return{isNew:n(),postLink:p,isEditable:o(),isPublished:i(),isOpened:u("post-link"),permalinkParts:c(),isEnabled:s("post-link"),isViewable:Object(g.get)(O,["viewable"],!1),postTitle:a("title"),postSlug:a("slug"),postID:m}}),Object(T.ifCondition)(function(e){var t=e.isEnabled,n=e.isNew,o=e.postLink,r=e.isViewable,i=e.permalinkParts;return t&&!n&&o&&r&&i}),Object(d.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened,n=e("core/editor").editPost;return{onTogglePanel:function(){return t("post-link")},editPermalink:function(e){n({slug:e})}}}),Object(T.withState)({forceEmptyField:!1})])(function(e){var t,n,o,r=e.isOpened,c=e.onTogglePanel,l=e.isEditable,s=e.postLink,u=e.permalinkParts,d=e.editPermalink,b=e.forceEmptyField,p=e.setState,m=e.postTitle,O=e.postSlug,f=e.postID,j=u.prefix,h=u.suffix,g=Object(N.safeDecodeURIComponent)(O)||Object(a.cleanForSlug)(m)||f;return l&&(t=j&&Object(i.createElement)("span",{className:"edit-post-post-link__link-prefix"},j),n=g&&Object(i.createElement)("span",{className:"edit-post-post-link__link-post-name"},g),o=h&&Object(i.createElement)("span",{className:"edit-post-post-link__link-suffix"},h)),Object(i.createElement)(C.PanelBody,{title:Object(E.__)("Permalink"),opened:r,onToggle:c},l&&Object(i.createElement)("div",{className:"editor-post-link"},Object(i.createElement)(C.TextControl,{label:Object(E.__)("URL Slug"),value:b?"":g,onChange:function(e){d(e),e?b&&p({forceEmptyField:!1}):b||p({forceEmptyField:!0})},onBlur:function(e){d(Object(a.cleanForSlug)(e.target.value)),b&&p({forceEmptyField:!1})}}),Object(i.createElement)("p",null,Object(E.__)("The last part of the URL. "),Object(i.createElement)(C.ExternalLink,{href:"https://codex.wordpress.org/Posts_Add_New_Screen"},Object(E.__)("Read about permalinks")))),Object(i.createElement)("p",{className:"edit-post-post-link__preview-label"},Object(E.__)("Preview")),Object(i.createElement)(C.ExternalLink,{className:"edit-post-post-link__link",href:s,target:"_blank"},l?Object(i.createElement)(i.Fragment,null,t,n,o):s))});var Dn=Object(T.compose)([Object(d.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}}),Object(d.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("discussion-panel")}}})])(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(i.createElement)(C.PanelBody,{title:Object(E.__)("Discussion"),opened:n,onToggle:o},Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:"comments"},Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostComments,null))),Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostPingbacks,null))))):null});var Fn=Object(d.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core/edit-post"),o=n.isEditorPanelEnabled,r=n.isEditorPanelOpened,i=e("core").getPostType;return{isEnabled:o("page-attributes"),isOpened:r("page-attributes"),postType:i(t("type"))}}),Rn=Object(d.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(g.partial)(t,"page-attributes")}}),Gn=Object(T.compose)(Fn,Rn)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel,r=e.postType;return t&&r?Object(i.createElement)(a.PageAttributesCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(g.get)(r,["labels","attributes"],Object(E.__)("Page Attributes")),opened:n,onToggle:o},Object(i.createElement)(a.PageTemplate,null),Object(i.createElement)(a.PageAttributesParent,null),Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PageAttributesOrder,null)))):null}),Un=Object(T.compose)(Object(d.withSelect)(function(e){var t=e("core/edit-post"),n=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:n()}}),Object(T.ifCondition)(function(e){return e.isEditorSidebarOpened}))(function(e){var t=e.sidebarName;return Object(i.createElement)(pn,{name:t,label:Object(E.__)("Editor settings")},Object(i.createElement)(On,{sidebarName:t}),Object(i.createElement)(C.Panel,null,"edit-post/document"===t&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Cn,null),Object(i.createElement)(Tn,null),Object(i.createElement)(Ln,null),Object(i.createElement)(Mn,null),Object(i.createElement)(An,null),Object(i.createElement)(In,null),Object(i.createElement)(Dn,null),Object(i.createElement)(Gn,null),Object(i.createElement)(an,{location:"side"})),"edit-post/block"===t&&Object(i.createElement)(C.PanelBody,{className:"edit-post-settings-sidebar__panel-block"},Object(i.createElement)(c.BlockInspector,null))))}),Vn=Object(C.createSlotFill)("PluginPostPublishPanel"),Hn=Vn.Fill,Wn=Vn.Slot,qn=function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,c=void 0!==r&&r;return Object(i.createElement)(Hn,null,Object(i.createElement)(C.PanelBody,{className:n,initialOpen:c||!o,title:o},t))};qn.Slot=Wn;var Kn=qn,zn=Object(C.createSlotFill)("PluginPrePublishPanel"),Qn=zn.Fill,Xn=zn.Slot,Yn=function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,c=void 0!==r&&r;return Object(i.createElement)(Qn,null,Object(i.createElement)(C.PanelBody,{className:n,initialOpen:c||!o,title:o},t))};Yn.Slot=Xn;var Jn=Yn,$n=function(e){function t(){return Object(p.a)(this,t),Object(O.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),t}(i.Component),Zn=Object(d.withSelect)(function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}})($n);var eo=Object(T.compose)(Object(d.withSelect)(function(e){return{mode:e("core/edit-post").getEditorMode(),editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isSaving:e("core/edit-post").isSavingMetaBoxes(),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}}),Object(d.withDispatch)(function(e){var t=e("core/edit-post");return{closePublishSidebar:t.closePublishSidebar,togglePublishSidebar:t.togglePublishSidebar}}),C.navigateRegions,Object(s.withViewportMatch)({isMobileViewport:"< small"}))(function(e){var t=e.mode,n=e.editorSidebarOpened,o=e.pluginSidebarOpened,r=e.publishSidebarOpened,l=e.hasFixedToolbar,s=e.closePublishSidebar,u=e.togglePublishSidebar,d=e.hasActiveMetaboxes,b=e.isSaving,p=e.isMobileViewport,m=e.isRichEditingEnabled,O=n||o||r,f=Xe()("edit-post-layout",{"is-sidebar-opened":O,"has-fixed-toolbar":l}),j={role:"region","aria-label":Object(E.__)("Editor publish"),tabIndex:-1};return Object(i.createElement)(C.FocusReturnProvider,{className:f},Object(i.createElement)(Zn,null),Object(i.createElement)(Je,null),Object(i.createElement)(a.UnsavedChangesWarning,null),Object(i.createElement)(a.AutosaveMonitor,null),Object(i.createElement)(ht,null),Object(i.createElement)("div",{className:"edit-post-layout__content",role:"region","aria-label":Object(E.__)("Editor content"),tabIndex:"-1"},Object(i.createElement)(a.EditorNotices,{dismissible:!1,className:"is-pinned"}),Object(i.createElement)(a.EditorNotices,{dismissible:!0}),Object(i.createElement)(c.PreserveScrollInReorder,null),Object(i.createElement)(wt,null),Object(i.createElement)(Ut,null),Object(i.createElement)(qt,null),Object(i.createElement)(tn,null),("text"===t||!m)&&Object(i.createElement)(gt,null),m&&"visual"===t&&Object(i.createElement)(kt,null),Object(i.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(i.createElement)(an,{location:"normal"})),Object(i.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(i.createElement)(an,{location:"advanced"}))),r?Object(i.createElement)(a.PostPublishPanel,Object(k.a)({},j,{onClose:s,forceIsDirty:d,forceIsSaving:b,PrePublishExtension:Jn.Slot,PostPublishExtension:Kn.Slot})):Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",Object(k.a)({className:"edit-post-toggle-publish-panel"},j),Object(i.createElement)(C.Button,{isDefault:!0,type:"button",className:"edit-post-toggle-publish-panel__button",onClick:u,"aria-expanded":!1},Object(E.__)("Open publish panel"))),Object(i.createElement)(Un,null),Object(i.createElement)(pn.Slot,null),p&&O&&Object(i.createElement)(C.ScrollLock,null)),Object(i.createElement)(C.Popover.Slot,null),Object(i.createElement)(B.PluginArea,null))}),to=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).getEditorSettings=Ke()(e.getEditorSettings,{maxSize:1}),e}return Object(j.a)(t,e),Object(m.a)(t,[{key:"getEditorSettings",value:function(e,t,n,o,r){if(e=Object(q.a)({},e,{hasFixedToolbar:t,focusMode:n}),Object(g.size)(o)>0){var i=!0===e.allowedBlockTypes?Object(g.map)(r,"name"):e.allowedBlockTypes||[];e.allowedBlockTypes=g.without.apply(void 0,[i].concat(Object(H.a)(o)))}return e}},{key:"render",value:function(){var e=this.props,t=e.settings,n=e.hasFixedToolbar,o=e.focusMode,r=e.post,c=e.initialEdits,l=e.onError,s=e.hiddenBlockTypes,u=e.blockTypes,d=Object(P.a)(e,["settings","hasFixedToolbar","focusMode","post","initialEdits","onError","hiddenBlockTypes","blockTypes"]);if(!r)return null;var b=this.getEditorSettings(t,n,o,s,u);return Object(i.createElement)(i.StrictMode,null,Object(i.createElement)(a.EditorProvider,Object(k.a)({settings:b,post:r,initialEdits:c},d),Object(i.createElement)(a.ErrorBoundary,{onError:l},Object(i.createElement)(eo,null),Object(i.createElement)(C.KeyboardShortcuts,{shortcuts:ze})),Object(i.createElement)(a.PostLockedModal,null)))}}]),t}(i.Component),no=Object(d.withSelect)(function(e,t){var n=t.postId,o=t.postType,r=e("core/edit-post"),i=r.isFeatureActive,c=r.getPreference,a=e("core").getEntityRecord,l=e("core/blocks").getBlockTypes;return{hasFixedToolbar:i("fixedToolbar"),focusMode:i("focusMode"),post:a("postType",o,n),hiddenBlockTypes:c("hiddenBlockTypes"),blockTypes:l()}})(to),oo=function(e,t){return!Array.isArray(t)||(n=e,o=t,0===Object(g.difference)(n,o).length);var n,o},ro=function(e){var t=e.allowedBlocks,n=e.icon,o=e.label,r=e.onClick,c=e.small,a=e.role;return Object(i.createElement)(St,null,function(e){var l=e.selectedBlocks,s=e.onClose;return oo(l,t)?Object(i.createElement)(C.MenuItem,{className:"editor-block-settings-menu__control",onClick:Object(T.compose)(r,s),icon:n||"admin-plugins",label:c?o:void 0,role:a},!c&&o):null})},io=Object(T.compose)(Object(B.withPluginContext)(function(e,t){return{icon:t.icon||e.icon}}))(function(e){var t=e.onClick,n=void 0===t?g.noop:t,o=Object(P.a)(e,["onClick"]);return Object(i.createElement)(rt,null,function(e){return Object(i.createElement)(C.MenuItem,Object(k.a)({},o,{onClick:Object(T.compose)(n,e.onClose)}))})});var co=Object(T.compose)(Object(B.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}}),Object(d.withSelect)(function(e,t){var n=t.sidebarName,o=e("core/edit-post"),r=o.getActiveGeneralSidebarName,i=o.isPluginItemPinned;return{isActive:r()===n,isPinned:i(n)}}),Object(d.withDispatch)(function(e,t){var n=t.isActive,o=t.sidebarName,r=e("core/edit-post"),i=r.closeGeneralSidebar,c=r.openGeneralSidebar,a=r.togglePinnedPluginItem;return{togglePin:function(){a(o)},toggleSidebar:function(){n?i():c(o)}}}))(function(e){var t=e.children,n=e.className,o=e.icon,r=e.isActive,c=e.isPinnable,a=void 0===c||c,l=e.isPinned,s=e.sidebarName,u=e.title,d=e.togglePin,b=e.toggleSidebar;return Object(i.createElement)(i.Fragment,null,a&&Object(i.createElement)(ft,null,l&&Object(i.createElement)(C.IconButton,{icon:o,label:u,onClick:b,isToggled:r,"aria-expanded":r})),Object(i.createElement)(pn,{name:s,label:Object(E.__)("Editor plugins")},Object(i.createElement)(mn,{closeLabel:Object(E.__)("Close plugin")},Object(i.createElement)("strong",null,u),a&&Object(i.createElement)(C.IconButton,{icon:l?"star-filled":"star-empty",label:l?Object(E.__)("Unpin from toolbar"):Object(E.__)("Pin to toolbar"),onClick:d,isToggled:l,"aria-expanded":l})),Object(i.createElement)(C.Panel,{className:n},t)))}),ao=Object(T.compose)(Object(B.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}}),Object(d.withSelect)(function(e,t){var n=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===n}}),Object(d.withDispatch)(function(e,t){var n=t.isSelected,o=t.sidebarName,r=e("core/edit-post"),i=r.closeGeneralSidebar,c=r.openGeneralSidebar;return{onClick:n?i:function(){return c(o)}}}))(function(e){var t=e.children,n=e.icon,o=e.isSelected,r=e.onClick;return Object(i.createElement)(io,{icon:o?"yes":n,isSelected:o,role:"menuitemcheckbox",onClick:r},t)});function lo(e,t,n,o,r){Object(i.unmountComponentAtNode)(n);var c=lo.bind(null,e,t,n,o,r);Object(i.render)(Object(i.createElement)(no,{settings:o,onError:c,postId:t,postType:e,initialEdits:r,recovery:!0}),n)}function so(e,t,n,o,r){var c=document.getElementById(e),a=lo.bind(null,t,n,c,o,r);Object(u.registerCoreBlocks)(),"Standards"!==("CSS1Compat"===document.compatMode?"Standards":"Quirks")&&console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening . Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins."),Object(d.dispatch)("core/nux").triggerGuide(["core/editor.inserter","core/editor.settings","core/editor.preview","core/editor.publish"]),Object(i.render)(Object(i.createElement)(no,{settings:o,onError:a,postId:n,postType:t,initialEdits:r}),c)}n.d(t,"reinitializeEditor",function(){return lo}),n.d(t,"initializeEditor",function(){return so}),n.d(t,"PluginBlockSettingsMenuItem",function(){return ro}),n.d(t,"PluginMoreMenuItem",function(){return io}),n.d(t,"PluginPostPublishPanel",function(){return Kn}),n.d(t,"PluginPostStatusInfo",function(){return wn}),n.d(t,"PluginPrePublishPanel",function(){return Jn}),n.d(t,"PluginSidebar",function(){return co}),n.d(t,"PluginSidebarMoreMenuItem",function(){return ao})},37:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},38:function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t){!function(){e.exports=this.wp.viewport}()},41:function(e,t,n){e.exports=function(e,t){var n,o,r,i=0;function c(){var t,c,a=o,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},22:function(e,t){!function(){e.exports=this.wp.editor}()},226:function(e,t){!function(){e.exports=this.wp.blockLibrary}()},25:function(e,t){!function(){e.exports=this.wp.url}()},26:function(e,t){!function(){e.exports=this.wp.hooks}()},28:function(e,t,n){"use strict";var o=n(37);var r=n(38);function i(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(o=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==a.return||a.return()}finally{if(r)throw i}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return i})},3:function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},30:function(e,t,n){"use strict";var o,r;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o0&&this.buildAndSetGalleryFrame(),this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),t}(i.Component);Object(b.addFilter)("editor.MediaUpload","core/edit-post/components/media-upload/replace-media-upload",function(){return S});var k=n(19),P=n(21),w=n(14),C=n(4),T=n(6),x=Object(T.compose)(Object(d.withSelect)(function(e,t){if(Object(w.hasBlockSupport)(t.name,"multiple",!0))return{};var n=e("core/block-editor").getBlocks(),o=Object(g.find)(n,function(e){var n=e.name;return t.name===n});return{originalBlockClientId:o&&o.clientId!==t.clientId&&o.clientId}}),Object(d.withDispatch)(function(e,t){var n=t.originalBlockClientId;return{selectFirst:function(){return e("core/block-editor").selectBlock(n)}}})),M=Object(T.createHigherOrderComponent)(function(e){return x(function(t){var n=t.originalBlockClientId,o=t.selectFirst,r=Object(P.a)(t,["originalBlockClientId","selectFirst"]);if(!n)return Object(i.createElement)(e,r);var a=Object(w.getBlockType)(r.name),l=function(e){var t=Object(w.findTransform)(Object(w.getBlockTransforms)("to",e),function(e){var t=e.type,n=e.blocks;return"block"===t&&1===n.length});if(!t)return null;return Object(w.getBlockType)(t.blocks[0])}(r.name);return[Object(i.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(i.createElement)(e,Object(k.a)({key:"block-edit"},r))),Object(i.createElement)(c.Warning,{key:"multiple-use-warning",actions:[Object(i.createElement)(C.Button,{key:"find-original",isLarge:!0,onClick:o},Object(E.__)("Find original")),Object(i.createElement)(C.Button,{key:"remove",isLarge:!0,onClick:function(){return r.onReplace([])}},Object(E.__)("Remove")),l&&Object(i.createElement)(C.Button,{key:"transform",isLarge:!0,onClick:function(){return r.onReplace(Object(w.createBlock)(l.name,r.attributes))}},Object(E.__)("Transform into:")," ",l.title)]},Object(i.createElement)("strong",null,a.title,": "),Object(E.__)("This block can only be used once."))]})},"withMultipleValidation");Object(b.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",M);var B=n(63),N=n(25);var A=Object(T.compose)(Object(d.withSelect)(function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}}),Object(T.withState)({hasCopied:!1}))(function(e){var t=e.editedPostContent,n=e.hasCopied,o=e.setState;return Object(i.createElement)(C.ClipboardButton,{text:t,className:"components-menu-item__button",onCopy:function(){return o({hasCopied:!0})},onFinishCopy:function(){return o({hasCopied:!1})}},n?Object(E.__)("Copied!"):Object(E.__)("Copy All Content"))});var I=Object(d.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.onSelect,n=e.openModal;return Object(i.createElement)(C.MenuItem,{onClick:Object(g.flow)([t,function(){return n("edit-post/manage-blocks")}])},Object(E.__)("Block Manager"))}),L=n(18);var D=Object(d.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal,n=e.onSelect;return Object(i.createElement)(C.MenuItem,{onClick:function(){n(),t("edit-post/keyboard-shortcut-help")},shortcut:L.displayShortcut.access("h")},Object(E.__)("Keyboard Shortcuts"))}),F=Object(C.createSlotFill)("ToolsMoreMenuGroup"),R=F.Fill,G=F.Slot;R.Slot=function(e){var t=e.fillProps;return Object(i.createElement)(G,{fillProps:t},function(e){return!Object(g.isEmpty)(e)&&Object(i.createElement)(C.MenuGroup,{label:Object(E.__)("Tools")},e)})};var U=R;Object(B.registerPlugin)("edit-post",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(U,null,function(e){var t=e.onClose;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(I,{onSelect:t}),Object(i.createElement)(C.MenuItem,{role:"menuitem",href:Object(N.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(E.__)("Manage All Reusable Blocks")),Object(i.createElement)(D,{onSelect:t}),Object(i.createElement)(A,null))}))}});var V,H=n(17),W=n(15),q=n(7),K="edit-post/document",z=Object(g.flow)([d.combineReducers,(V={editorMode:"visual",isGeneralSidebarDismissed:!1,panels:{"post-status":{opened:!0}},features:{fixedToolbar:!1},pinnedPluginItems:{},hiddenBlockTypes:[]},function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,n=arguments.length>1?arguments[1]:void 0;return e(t,n)}})])({isGeneralSidebarDismissed:function(e,t){switch(t.type){case"OPEN_GENERAL_SIDEBAR":case"CLOSE_GENERAL_SIDEBAR":return"CLOSE_GENERAL_SIDEBAR"===t.type}return e},panels:function(e,t){switch(t.type){case"TOGGLE_PANEL_ENABLED":var n=t.panelName;return Object(q.a)({},e,Object(W.a)({},n,Object(q.a)({},e[n],{enabled:!Object(g.get)(e,[n,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var o=t.panelName,r=!0===e[o]||Object(g.get)(e,[o,"opened"],!1);return Object(q.a)({},e,Object(W.a)({},o,Object(q.a)({},e[o],{opened:!r})))}return e},features:function(e,t){return"TOGGLE_FEATURE"===t.type?Object(q.a)({},e,Object(W.a)({},t.feature,!e[t.feature])):e},editorMode:function(e,t){return"SWITCH_MODE"===t.type?t.mode:e},pinnedPluginItems:function(e,t){return"TOGGLE_PINNED_PLUGIN_ITEM"===t.type?Object(q.a)({},e,Object(W.a)({},t.pluginName,!Object(g.get)(e,[t.pluginName],!0))):e},hiddenBlockTypes:function(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return g.without.apply(void 0,[e].concat(Object(H.a)(t.blockNames)));case"HIDE_BLOCK_TYPES":return Object(g.union)(e,t.blockNames)}return e}});var Q=Object(d.combineReducers)({isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"REQUEST_META_BOX_UPDATES":return!0;case"META_BOX_UPDATES_SUCCESS":return!1;default:return e}},locations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_META_BOXES_PER_LOCATIONS":return t.metaBoxesPerLocation}return e}}),X=Object(d.combineReducers)({activeGeneralSidebar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_GENERAL_SIDEBAR":return t.name}return e},activeModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e},metaBoxes:Q,preferences:z,publishSidebarActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e},removedPanels:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REMOVE_PANEL":if(!Object(g.includes)(e,t.panelName))return[].concat(Object(H.a)(e),[t.panelName])}return e}}),Y=n(70),J=n.n(Y),$=n(28),Z=n(48),ee=n(33),te=n.n(ee);function ne(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function oe(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function re(e){return{type:"OPEN_MODAL",name:e}}function ie(){return{type:"CLOSE_MODAL"}}function ce(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function ae(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function le(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function se(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function ue(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function de(e){return{type:"REMOVE_PANEL",panelName:e}}function be(e){return{type:"TOGGLE_FEATURE",feature:e}}function pe(e){return{type:"SWITCH_MODE",mode:e}}function me(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function Oe(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(g.castArray)(e)}}function fe(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(g.castArray)(e)}}function je(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function he(){return{type:"REQUEST_META_BOX_UPDATES"}}function ge(){return{type:"META_BOX_UPDATES_SUCCESS"}}var Ee=n(30);function ve(e){return Pe(e,"editorMode","visual")}function ye(e){var t=Se(e);return Object(g.includes)(["edit-post/document","edit-post/block"],t)}function _e(e){return!!Se(e)&&!ye(e)}function Se(e){return Pe(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function ke(e){return e.preferences}function Pe(e,t,n){var o=ke(e)[t];return void 0===o?n:o}function we(e){return e.publishSidebarActive}function Ce(e,t){return Object(g.includes)(e.removedPanels,t)}function Te(e,t){var n=Pe(e,"panels");return!Ce(e,t)&&Object(g.get)(n,[t,"enabled"],!0)}function xe(e,t){var n=Pe(e,"panels");return!0===n[t]||Object(g.get)(n,[t,"opened"],!1)}function Me(e,t){return e.activeModal===t}function Be(e,t){return!!e.preferences.features[t]}function Ne(e,t){var n=Pe(e,"pinnedPluginItems",{});return Object(g.get)(n,[t],!0)}var Ae=Object(Ee.a)(function(e){return Object.keys(e.metaBoxes.locations).filter(function(t){return Le(e,t)})},function(e){return[e.metaBoxes.locations]});function Ie(e,t){return Le(e,t)&&Object(g.some)(De(e,t),function(t){var n=t.id;return Te(e,"meta-box-".concat(n))})}function Le(e,t){var n=De(e,t);return!!n&&0!==n.length}function De(e,t){return e.metaBoxes.locations[t]}var Fe=Object(Ee.a)(function(e){return Object(g.flatten)(Object(g.values)(e.metaBoxes.locations))},function(e){return[e.metaBoxes.locations]});function Re(e){return Ae(e).length>0}function Ge(e){return e.metaBoxes.isSaving}var Ue=function(e,t){var n=e();return function(){var o=e();o!==n&&(n=o,t(o))}},Ve={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout(function(){var e=Object(d.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)});var n=Object(d.select)("core/editor").isSavingPost(),o=Object(d.select)("core/editor").isAutosavingPost();Object(d.subscribe)(function(){var e=Object(d.select)("core/editor").isSavingPost(),r=Object(d.select)("core/editor").isAutosavingPost(),i=Object(d.select)("core/edit-post").hasMetaBoxes()&&n&&!e&&!o;n=e,o=r,i&&t.dispatch({type:"REQUEST_META_BOX_UPDATES"})})},REQUEST_META_BOX_UPDATES:function(e,t){window.tinyMCE&&window.tinyMCE.triggerSave();var n=t.getState(),o=Object(d.select)("core/editor").getCurrentPost(n),r=[!!o.comment_status&&["comment_status",o.comment_status],!!o.ping_status&&["ping_status",o.ping_status],!!o.sticky&&["sticky",o.sticky],["post_author",o.author]].filter(Boolean),i=[new window.FormData(document.querySelector(".metabox-base-form"))].concat(Object(H.a)(Ae(n).map(function(e){return new window.FormData(function(e){var t=document.querySelector(".edit-post-meta-boxes-area.is-".concat(e," .metabox-location-").concat(e));return t||document.querySelector("#metaboxes .metabox-location-"+e)}(e))}))),c=Object(g.reduce)(i,function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=Object($.a)(i.value,2),l=a[0],s=a[1];e.append(l,s)}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return e},new window.FormData);r.forEach(function(e){var t=Object($.a)(e,2),n=t[0],o=t[1];return c.append(n,o)}),te()({url:window._wpMetaBoxUrl,method:"POST",body:c,parse:!1}).then(function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})})},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(d.dispatch)("core/block-editor").clearSelectedBlock();var t="visual"===e.mode?Object(E.__)("Visual editor selected"):Object(E.__)("Code editor selected");Object(Z.speak)(t,"assertive")},INIT:function(e,t){Object(d.subscribe)(Ue(function(){return!!Object(d.select)("core/block-editor").getBlockSelectionStart()},function(e){Object(d.select)("core/edit-post").isEditorSidebarOpened()&&(e?t.dispatch(ne("edit-post/block")):t.dispatch(ne("edit-post/document")))}));var n,o=function(){return Object(d.select)("core/viewport").isViewportMatch("< medium")},r=(n=null,function(e){e?(n=Se(t.getState()))&&t.dispatch({type:"CLOSE_GENERAL_SIDEBAR"}):n&&!Se(t.getState())&&t.dispatch(ne(n))});r(o()),Object(d.subscribe)(Ue(o,r));Object(d.subscribe)(Ue(function(){return Object(d.select)("core/editor").getCurrentPost().link},function(e){if(e){var t=document.querySelector("#wp-admin-bar-view a");t&&t.setAttribute("href",e)}}))}};var He=function(e){var t,n=[J()(Ve)],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map(function(e){return e(r)}),o=g.flowRight.apply(void 0,Object(H.a)(t))(e.dispatch),e.dispatch=o,e},We=Object(d.registerStore)("core/edit-post",{reducer:X,actions:o,selectors:r,persist:["preferences"]});He(We),We.dispatch({type:"INIT"});var qe=n(41),Ke=n.n(qe),ze={"t a l e s o f g u t e n b e r g":function(e){(document.activeElement.classList.contains("edit-post-visual-editor")||document.activeElement===document.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},Qe=n(16),Xe=n.n(Qe);var Ye=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).state={historyId:null},e}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.postId,o=t.postStatus,r=t.postType,i=this.state.historyId;"trash"!==o?n===e.postId&&n===i||"auto-draft"===o||this.setBrowserURL(n):this.setTrashURL(n,r)}},{key:"setTrashURL",value:function(e,t){window.location.href=function(e,t){return Object(N.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}},{key:"setBrowserURL",value:function(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(N.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState(function(){return{historyId:e}})}},{key:"render",value:function(){return null}}]),t}(i.Component),Je=Object(d.withSelect)(function(e){var t=(0,e("core/editor").getCurrentPost)();return{postId:t.id,postStatus:t.status,postType:t.type}})(Ye),$e={toggleEditorMode:{raw:L.rawShortcut.secondary("m"),display:L.displayShortcut.secondary("m")},toggleSidebar:{raw:L.rawShortcut.primaryShift(","),display:L.displayShortcut.primaryShift(","),ariaLabel:L.shortcutAriaLabel.primaryShift(",")}},Ze=[{value:"visual",label:Object(E.__)("Visual Editor")},{value:"text",label:Object(E.__)("Code Editor")}];var et=Object(T.compose)([Object(d.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,mode:e("core/edit-post").getEditorMode()}}),Object(T.ifCondition)(function(e){return e.isRichEditingEnabled}),Object(d.withDispatch)(function(e,t){return{onSwitch:function(n){e("core/edit-post").switchEditorMode(n),t.onSelect(n)}}})])(function(e){var t=e.onSwitch,n=e.mode,o=Ze.map(function(e){return e.value!==n?Object(q.a)({},e,{shortcut:$e.toggleEditorMode.display}):e});return Object(i.createElement)(C.MenuGroup,{label:Object(E.__)("Editor")},Object(i.createElement)(C.MenuItemsChoice,{choices:o,value:n,onSelect:t}))}),tt=Object(C.createSlotFill)("PluginsMoreMenuGroup"),nt=tt.Fill,ot=tt.Slot;nt.Slot=function(e){var t=e.fillProps;return Object(i.createElement)(ot,{fillProps:t},function(e){return!Object(g.isEmpty)(e)&&Object(i.createElement)(C.MenuGroup,{label:Object(E.__)("Plugins")},e)})};var rt=nt;var it=Object(d.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal,n=e.onSelect;return Object(i.createElement)(C.MenuItem,{onClick:function(){n(),t("edit-post/options")}},Object(E.__)("Options"))});var ct=Object(T.compose)([Object(d.withSelect)(function(e,t){var n=t.feature;return{isActive:e("core/edit-post").isFeatureActive(n)}}),Object(d.withDispatch)(function(e,t){return{onToggle:function(){e("core/edit-post").toggleFeature(t.feature),t.onToggle()}}}),C.withSpokenMessages])(function(e){var t=e.onToggle,n=e.isActive,o=e.label,r=e.info,c=e.messageActivated,a=e.messageDeactivated,l=e.speak;return Object(i.createElement)(C.MenuItem,{icon:n&&"yes",isSelected:n,onClick:Object(g.flow)(t,function(){l(n?a||Object(E.__)("Feature deactivated"):c||Object(E.__)("Feature activated"))}),role:"menuitemcheckbox",info:r},o)});var at=Object(s.ifViewportMatches)("medium")(function(e){var t=e.onClose;return Object(i.createElement)(C.MenuGroup,{label:Object(E._x)("View","noun")},Object(i.createElement)(ct,{feature:"fixedToolbar",label:Object(E.__)("Top Toolbar"),info:Object(E.__)("Access all block and document tools in a single place"),onToggle:t,messageActivated:Object(E.__)("Top toolbar activated"),messageDeactivated:Object(E.__)("Top toolbar deactivated")}),Object(i.createElement)(ct,{feature:"focusMode",label:Object(E.__)("Spotlight Mode"),info:Object(E.__)("Focus on one block at a time"),onToggle:t,messageActivated:Object(E.__)("Spotlight mode activated"),messageDeactivated:Object(E.__)("Spotlight mode deactivated")}),Object(i.createElement)(ct,{feature:"fullscreenMode",label:Object(E.__)("Fullscreen Mode"),info:Object(E.__)("Work without distraction"),onToggle:t,messageActivated:Object(E.__)("Fullscreen mode activated"),messageDeactivated:Object(E.__)("Fullscreen mode deactivated")}))}),lt=Object(E.__)("Show more tools & options"),st=Object(E.__)("Hide more tools & options"),ut=function(){return Object(i.createElement)(C.Dropdown,{className:"edit-post-more-menu",contentClassName:"edit-post-more-menu__content",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(i.createElement)(C.IconButton,{icon:"ellipsis",label:t?st:lt,labelPosition:"bottom",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onClose;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(at,{onClose:t}),Object(i.createElement)(et,{onSelect:t}),Object(i.createElement)(rt.Slot,{fillProps:{onClose:t}}),Object(i.createElement)(U.Slot,{fillProps:{onClose:t}}),Object(i.createElement)(C.MenuGroup,null,Object(i.createElement)(it,{onSelect:t})))}})};var dt=Object(d.withSelect)(function(e){var t=e("core/editor").getCurrentPostType,n=e("core/edit-post").isFeatureActive,o=e("core").getPostType;return{isActive:n("fullscreenMode"),postType:o(t())}})(function(e){var t=e.isActive,n=e.postType;return t&&n?Object(i.createElement)(C.Toolbar,{className:"edit-post-fullscreen-mode-close__toolbar"},Object(i.createElement)(C.IconButton,{icon:"arrow-left-alt2",href:Object(N.addQueryArgs)("edit.php",{post_type:n.slug}),label:Object(g.get)(n,["labels","view_items"],Object(E.__)("Back"))})):null});var bt=Object(T.compose)([Object(d.withSelect)(function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),showInserter:"visual"===e("core/edit-post").getEditorMode()&&e("core/editor").getEditorSettings().richEditingEnabled,isTextModeEnabled:"text"===e("core/edit-post").getEditorMode()}}),Object(s.withViewportMatch)({isLargeViewport:"medium"})])(function(e){var t=e.hasFixedToolbar,n=e.isLargeViewport,o=e.showInserter,r=e.isTextModeEnabled,s=t?Object(E.__)("Document and block tools"):Object(E.__)("Document tools");return Object(i.createElement)(c.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":s},Object(i.createElement)(dt,null),Object(i.createElement)("div",null,Object(i.createElement)(c.Inserter,{disabled:!o,position:"bottom right"}),Object(i.createElement)(l.DotTip,{tipId:"core/editor.inserter"},Object(E.__)("Welcome to the wonderful world of blocks! Click the “+” (“Add block”) button to add a new block. There are blocks available for all kinds of content: you can insert text, headings, images, lists, and lots more!"))),Object(i.createElement)(a.EditorHistoryUndo,null),Object(i.createElement)(a.EditorHistoryRedo,null),Object(i.createElement)(a.TableOfContents,{hasOutlineItemsDisabled:r}),Object(i.createElement)(c.BlockNavigationDropdown,{isDisabled:r}),t&&n&&Object(i.createElement)("div",{className:"edit-post-header-toolbar__block-toolbar"},Object(i.createElement)(c.BlockToolbar,null)))}),pt=Object(C.createSlotFill)("PinnedPlugins"),mt=pt.Fill,Ot=pt.Slot;mt.Slot=function(e){return Object(i.createElement)(Ot,e,function(e){return!Object(g.isEmpty)(e)&&Object(i.createElement)("div",{className:"edit-post-pinned-plugins"},e)})};var ft=mt;var jt=Object(T.compose)(Object(d.withSelect)(function(e){return{hasPublishAction:Object(g.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()}}),Object(d.withDispatch)(function(e){return{togglePublishSidebar:e("core/edit-post").togglePublishSidebar}}),Object(s.withViewportMatch)({isLessThanMediumViewport:"< medium"}))(function(e){var t,n=e.forceIsDirty,o=e.forceIsSaving,r=e.hasPublishAction,c=e.isBeingScheduled,l=e.isLessThanMediumViewport,s=e.isPending,u=e.isPublished,d=e.isPublishSidebarEnabled,b=e.isPublishSidebarOpened,p=e.isScheduled,m=e.togglePublishSidebar;return t=u||p&&c||s&&!r&&!l?"button":l?"toggle":d?"toggle":"button",Object(i.createElement)(a.PostPublishButton,{forceIsDirty:n,forceIsSaving:o,isOpen:b,isToggle:"toggle"===t,onToggle:m})});var ht=Object(T.compose)(Object(d.withSelect)(function(e){return{hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isEditorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isSaving:e("core/edit-post").isSavingMetaBoxes()}}),Object(d.withDispatch)(function(e,t,n){var o=(0,n.select)("core/block-editor").getBlockSelectionStart,r=e("core/edit-post"),i=r.openGeneralSidebar;return{openGeneralSidebar:function(){return i(o()?"edit-post/block":"edit-post/document")},closeGeneralSidebar:r.closeGeneralSidebar}}))(function(e){var t=e.closeGeneralSidebar,n=e.hasActiveMetaboxes,o=e.isEditorSidebarOpened,r=e.isPublishSidebarOpened,c=e.isSaving,s=e.openGeneralSidebar,u=o?t:s;return Object(i.createElement)("div",{role:"region","aria-label":Object(E.__)("Editor top bar"),className:"edit-post-header",tabIndex:"-1"},Object(i.createElement)(bt,null),Object(i.createElement)("div",{className:"edit-post-header__settings"},!r&&Object(i.createElement)(a.PostSavedState,{forceIsDirty:n,forceIsSaving:c}),Object(i.createElement)(a.PostPreviewButton,{forceIsAutosaveable:n,forcePreviewLink:c?null:void 0}),Object(i.createElement)(jt,{forceIsDirty:n,forceIsSaving:c}),Object(i.createElement)("div",null,Object(i.createElement)(C.IconButton,{icon:"admin-generic",label:Object(E.__)("Settings"),onClick:u,isToggled:o,"aria-expanded":o,shortcut:$e.toggleSidebar}),Object(i.createElement)(l.DotTip,{tipId:"core/editor.settings"},Object(E.__)("You’ll find more settings for your page and blocks in the sidebar. Click the cog icon to toggle the sidebar open and closed."))),Object(i.createElement)(ft.Slot,null),Object(i.createElement)(ut,null)))});var gt=Object(T.compose)(Object(d.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}}),Object(d.withDispatch)(function(e){return{onExit:function(){e("core/edit-post").switchEditorMode("visual")}}}))(function(e){var t=e.onExit,n=e.isRichEditingEnabled;return Object(i.createElement)("div",{className:"edit-post-text-editor"},n&&Object(i.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(i.createElement)("h2",null,Object(E.__)("Editing Code")),Object(i.createElement)(C.IconButton,{onClick:t,icon:"no-alt",shortcut:L.displayShortcut.secondary("m")},Object(E.__)("Exit Code Editor")),Object(i.createElement)(a.TextEditorGlobalKeyboardShortcuts,null)),Object(i.createElement)("div",{className:"edit-post-text-editor__body"},Object(i.createElement)(a.PostTitle,null),Object(i.createElement)(a.PostTextEditor,null)))});var Et=Object(T.compose)(Object(d.withSelect)(function(e){return{areAdvancedSettingsOpened:"edit-post/block"===e("core/edit-post").getActiveGeneralSidebarName()}}),Object(d.withDispatch)(function(e){return{openEditorSidebar:function(){return e("core/edit-post").openGeneralSidebar("edit-post/block")},closeSidebar:e("core/edit-post").closeGeneralSidebar}}),C.withSpokenMessages)(function(e){var t=e.areAdvancedSettingsOpened,n=e.closeSidebar,o=e.openEditorSidebar,r=e.onClick,c=void 0===r?g.noop:r,a=e.small,l=void 0!==a&&a,s=e.speak,u=t?Object(E.__)("Hide Block Settings"):Object(E.__)("Show Block Settings");return Object(i.createElement)(C.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(g.flow)(t?n:o,function(){s(t?Object(E.__)("Block settings closed"):Object(E.__)("Additional settings are now available in the Editor block settings sidebar"))},c),icon:"admin-generic",shortcut:$e.toggleSidebar},!l&&u)}),vt=Object(C.createSlotFill)("PluginBlockSettingsMenuGroup"),yt=vt.Fill,_t=vt.Slot;yt.Slot=Object(d.withSelect)(function(e,t){var n=t.fillProps.clientIds;return{selectedBlocks:e("core/block-editor").getBlocksByClientId(n)}})(function(e){var t=e.fillProps,n=e.selectedBlocks;return n=Object(g.map)(n,function(e){return e.name}),Object(i.createElement)(_t,{fillProps:Object(q.a)({},t,{selectedBlocks:n})},function(e){return!Object(g.isEmpty)(e)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"editor-block-settings-menu__separator"}),e)})});var St=yt;var kt=function(){return Object(i.createElement)(c.BlockSelectionClearer,{className:"edit-post-visual-editor editor-styles-wrapper"},Object(i.createElement)(a.VisualEditorGlobalKeyboardShortcuts,null),Object(i.createElement)(c.MultiSelectScrollIntoView,null),Object(i.createElement)(c.WritingFlow,null,Object(i.createElement)(c.ObserveTyping,null,Object(i.createElement)(c.CopyHandler,null,Object(i.createElement)(a.PostTitle,null),Object(i.createElement)(c.BlockList,null)))),Object(i.createElement)(c._BlockSettingsMenuFirstItem,null,function(e){var t=e.onClose;return Object(i.createElement)(Et,{onClick:t})}),Object(i.createElement)(c._BlockSettingsMenuPluginsExtension,null,function(e){var t=e.clientIds,n=e.onClose;return Object(i.createElement)(St.Slot,{fillProps:{clientIds:t,onClose:n}})}))},Pt=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).toggleMode=e.toggleMode.bind(Object(h.a)(Object(h.a)(e))),e.toggleSidebar=e.toggleSidebar.bind(Object(h.a)(Object(h.a)(e))),e}return Object(j.a)(t,e),Object(m.a)(t,[{key:"toggleMode",value:function(){var e=this.props,t=e.mode,n=e.switchMode;e.isRichEditingEnabled&&n("visual"===t?"text":"visual")}},{key:"toggleSidebar",value:function(e){e.preventDefault();var t=this.props,n=t.isEditorSidebarOpen,o=t.closeSidebar,r=t.openSidebar;n?o():r()}},{key:"render",value:function(){var e;return Object(i.createElement)(C.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(e={},Object(W.a)(e,$e.toggleEditorMode.raw,this.toggleMode),Object(W.a)(e,$e.toggleSidebar.raw,this.toggleSidebar),e)})}}]),t}(i.Component),wt=Object(T.compose)([Object(d.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,mode:e("core/edit-post").getEditorMode(),isEditorSidebarOpen:e("core/edit-post").isEditorSidebarOpened()}}),Object(d.withDispatch)(function(e,t,n){var o=n.select;return{switchMode:function(t){e("core/edit-post").switchEditorMode(t)},openSidebar:function(){var t=(0,o("core/block-editor").getBlockSelectionStart)()?"edit-post/block":"edit-post/document";e("core/edit-post").openGeneralSidebar(t)},closeSidebar:e("core/edit-post").closeGeneralSidebar}})])(Pt),Ct=L.displayShortcutList.primary,Tt=L.displayShortcutList.primaryShift,xt=L.displayShortcutList.primaryAlt,Mt=L.displayShortcutList.secondary,Bt=L.displayShortcutList.access,Nt=L.displayShortcutList.ctrl,At=L.displayShortcutList.alt,It=L.displayShortcutList.ctrlShift,Lt=[{title:Object(E.__)("Global shortcuts"),shortcuts:[{keyCombination:Bt("h"),description:Object(E.__)("Display this help.")},{keyCombination:Ct("s"),description:Object(E.__)("Save your changes.")},{keyCombination:Ct("z"),description:Object(E.__)("Undo your last changes.")},{keyCombination:Tt("z"),description:Object(E.__)("Redo your last undo.")},{keyCombination:Tt(","),description:Object(E.__)("Show or hide the settings sidebar."),ariaLabel:L.shortcutAriaLabel.primaryShift(",")},{keyCombination:Bt("o"),description:Object(E.__)("Open the block navigation menu.")},{keyCombination:Nt("`"),description:Object(E.__)("Navigate to the next part of the editor."),ariaLabel:L.shortcutAriaLabel.ctrl("`")},{keyCombination:It("`"),description:Object(E.__)("Navigate to the previous part of the editor."),ariaLabel:L.shortcutAriaLabel.ctrlShift("`")},{keyCombination:Bt("n"),description:Object(E.__)("Navigate to the next part of the editor (alternative).")},{keyCombination:Bt("p"),description:Object(E.__)("Navigate to the previous part of the editor (alternative).")},{keyCombination:At("F10"),description:Object(E.__)("Navigate to the nearest toolbar.")},{keyCombination:Mt("m"),description:Object(E.__)("Switch between Visual Editor and Code Editor.")}]},{title:Object(E.__)("Selection shortcuts"),shortcuts:[{keyCombination:Ct("a"),description:Object(E.__)("Select all text when typing. Press again to select all blocks.")},{keyCombination:"Esc",description:Object(E.__)("Clear selection."),ariaLabel:Object(E.__)("Escape")}]},{title:Object(E.__)("Block shortcuts"),shortcuts:[{keyCombination:Tt("d"),description:Object(E.__)("Duplicate the selected block(s).")},{keyCombination:Bt("z"),description:Object(E.__)("Remove the selected block(s).")},{keyCombination:xt("t"),description:Object(E.__)("Insert a new block before the selected block(s).")},{keyCombination:xt("y"),description:Object(E.__)("Insert a new block after the selected block(s).")},{keyCombination:"/",description:Object(E.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(E.__)("Forward-slash")}]},{title:Object(E.__)("Text formatting"),shortcuts:[{keyCombination:Ct("b"),description:Object(E.__)("Make the selected text bold.")},{keyCombination:Ct("i"),description:Object(E.__)("Make the selected text italic.")},{keyCombination:Ct("u"),description:Object(E.__)("Underline the selected text.")},{keyCombination:Ct("k"),description:Object(E.__)("Convert the selected text into a link.")},{keyCombination:Tt("k"),description:Object(E.__)("Remove a link.")},{keyCombination:Bt("d"),description:Object(E.__)("Add a strikethrough to the selected text.")},{keyCombination:Bt("x"),description:Object(E.__)("Display the selected text in a monospaced font.")}]}],Dt="edit-post/keyboard-shortcut-help",Ft=function(e){var t=e.shortcuts;return Object(i.createElement)("dl",{className:"edit-post-keyboard-shortcut-help__shortcut-list"},t.map(function(e,t){var n=e.keyCombination,o=e.description,r=e.ariaLabel;return Object(i.createElement)("div",{className:"edit-post-keyboard-shortcut-help__shortcut",key:t},Object(i.createElement)("dt",{className:"edit-post-keyboard-shortcut-help__shortcut-term"},Object(i.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help__shortcut-key-combination","aria-label":r},function(e){return e.map(function(e,t){return"+"===e?Object(i.createElement)(i.Fragment,{key:t},e):Object(i.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help__shortcut-key"},e)})}(Object(g.castArray)(n)))),Object(i.createElement)("dd",{className:"edit-post-keyboard-shortcut-help__shortcut-description"},o))}))},Rt=function(e){var t=e.title,n=e.shortcuts;return Object(i.createElement)("section",{className:"edit-post-keyboard-shortcut-help__section"},Object(i.createElement)("h2",{className:"edit-post-keyboard-shortcut-help__section-title"},t),Object(i.createElement)(Ft,{shortcuts:n}))};var Gt=Object(T.compose)([Object(d.withSelect)(function(e){return{isModalActive:e("core/edit-post").isModalActive(Dt)}}),Object(d.withDispatch)(function(e,t){var n=t.isModalActive,o=e("core/edit-post"),r=o.openModal,i=o.closeModal;return{toggleModal:function(){return n?i():r(Dt)}}})])(function(e){var t=e.isModalActive,n=e.toggleModal;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(C.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(W.a)({},L.rawShortcut.access("h"),n)}),t&&Object(i.createElement)(C.Modal,{className:"edit-post-keyboard-shortcut-help",title:Object(E.__)("Keyboard Shortcuts"),closeLabel:Object(E.__)("Close"),onRequestClose:n},Lt.map(function(e,t){return Object(i.createElement)(Rt,Object(k.a)({key:t},e))})))});var Ut=function(e){var t=e.blockTypes,n=e.value,o=e.onItemChange;return Object(i.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},t.map(function(e){return Object(i.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(i.createElement)(C.CheckboxControl,{label:Object(i.createElement)(i.Fragment,null,e.title,Object(i.createElement)(c.BlockIcon,{icon:e.icon})),checked:n.includes(e.name),onChange:Object(g.partial)(o,e.name)}))}))};var Vt=Object(T.compose)([T.withInstanceId,Object(d.withSelect)(function(e){return{hiddenBlockTypes:(0,e("core/edit-post").getPreference)("hiddenBlockTypes")}}),Object(d.withDispatch)(function(e,t){var n=e("core/edit-post"),o=n.showBlockTypes,r=n.hideBlockTypes;return{toggleVisible:function(e,t){t?o(e):r(e)},toggleAllVisible:function(e){var n=Object(g.map)(t.blockTypes,"name");e?o(n):r(n)}}})])(function(e){var t=e.instanceId,n=e.category,o=e.blockTypes,r=e.hiddenBlockTypes,c=e.toggleVisible,a=e.toggleAllVisible;if(!o.length)return null;var l,s=g.without.apply(void 0,[Object(g.map)(o,"name")].concat(Object(H.a)(r))),u="edit-post-manage-blocks-modal__category-title-"+t,d=s.length===o.length;return l=d?"true":s.length>0?"mixed":"false",Object(i.createElement)("div",{role:"group","aria-labelledby":u,className:"edit-post-manage-blocks-modal__category"},Object(i.createElement)(C.CheckboxControl,{checked:d,onChange:a,className:"edit-post-manage-blocks-modal__category-title","aria-checked":l,label:Object(i.createElement)("span",{id:u},n.title)}),Object(i.createElement)(Ut,{blockTypes:o,value:s,onItemChange:c}))});var Ht=Object(T.compose)([Object(T.withState)({search:""}),Object(d.withSelect)(function(e){var t=e("core/blocks"),n=t.getBlockTypes,o=t.getCategories,r=t.hasBlockSupport,i=t.isMatchingSearchTerm;return{blockTypes:n(),categories:o(),hasBlockSupport:r,isMatchingSearchTerm:i}})])(function(e){var t=e.search,n=e.setState,o=e.blockTypes,r=e.categories,c=e.hasBlockSupport,a=e.isMatchingSearchTerm;return o=o.filter(function(e){return c(e,"inserter",!0)&&(!t||a(e,t))}),Object(i.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(i.createElement)(C.TextControl,{type:"search",label:Object(E.__)("Search for a block"),value:t,onChange:function(e){return n({search:e})},className:"edit-post-manage-blocks-modal__search"}),Object(i.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(E.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===o.length&&Object(i.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(E.__)("No blocks found.")),r.map(function(e){return Object(i.createElement)(Vt,{key:e.slug,category:e,blockTypes:Object(g.filter)(o,{category:e.slug})})})))});var Wt=Object(T.compose)([Object(d.withSelect)(function(e){return{isActive:(0,e("core/edit-post").isModalActive)("edit-post/manage-blocks")}}),Object(d.withDispatch)(function(e){return{closeModal:e("core/edit-post").closeModal}})])(function(e){var t=e.isActive,n=e.closeModal;return t?Object(i.createElement)(C.Modal,{className:"edit-post-manage-blocks-modal",title:Object(E.__)("Block Manager"),closeLabel:Object(E.__)("Close"),onRequestClose:n},Object(i.createElement)(Ht,null)):null}),qt=function(e){var t=e.title,n=e.children;return Object(i.createElement)("section",{className:"edit-post-options-modal__section"},Object(i.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),n)};var Kt=function(e){var t=e.label,n=e.isChecked,o=e.onChange;return Object(i.createElement)(C.CheckboxControl,{className:"edit-post-options-modal__option",label:t,checked:n,onChange:o})},zt=function(e){function t(e){var n,o=e.isChecked;return Object(p.a)(this,t),(n=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).toggleCustomFields=n.toggleCustomFields.bind(Object(h.a)(Object(h.a)(n))),n.state={isChecked:o},n}return Object(j.a)(t,e),Object(m.a)(t,[{key:"toggleCustomFields",value:function(){document.getElementById("toggle-custom-fields-form").submit(),this.setState({isChecked:!this.props.isChecked})}},{key:"render",value:function(){var e=this.props.label,t=this.state.isChecked;return Object(i.createElement)(Kt,{label:e,isChecked:t,onChange:this.toggleCustomFields})}}]),t}(i.Component),Qt=Object(d.withSelect)(function(e){return{isChecked:!!e("core/editor").getEditorSettings().enableCustomFields}})(zt),Xt=Object(T.compose)(Object(d.withSelect)(function(e,t){var n=t.panelName,o=e("core/edit-post"),r=o.isEditorPanelEnabled;return{isRemoved:(0,o.isEditorPanelRemoved)(n),isChecked:r(n)}}),Object(T.ifCondition)(function(e){return!e.isRemoved}),Object(d.withDispatch)(function(e,t){var n=t.panelName;return{onChange:function(){return e("core/edit-post").toggleEditorPanelEnabled(n)}}}))(Kt),Yt=Object(T.compose)(Object(d.withSelect)(function(e){return{isChecked:e("core/editor").isPublishSidebarEnabled()}}),Object(d.withDispatch)(function(e){var t=e("core/editor"),n=t.enablePublishSidebar,o=t.disablePublishSidebar;return{onChange:function(e){return e?n():o()}}}),Object(s.ifViewportMatches)("medium"))(Kt),Jt=function(e){function t(e){var n,o=e.isChecked;return Object(p.a)(this,t),(n=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).state={isChecked:o},n}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentWillUnmount",value:function(){this.state.isChecked!==this.props.isChecked&&this.props.onChange(this.state.isChecked)}},{key:"render",value:function(){var e=this;return Object(i.createElement)(Kt,{label:this.props.label,isChecked:this.state.isChecked,onChange:function(t){return e.setState({isChecked:t})}})}}]),t}(i.Component),$t=Object(T.compose)(Object(d.withSelect)(function(e){return{isChecked:e("core/nux").areTipsEnabled()}}),Object(d.withDispatch)(function(e){var t=e("core/nux"),n=t.enableTips,o=t.disableTips;return{onChange:function(e){return e?n():o()}}}))(Jt);var Zt=Object(d.withSelect)(function(e){var t=e("core/editor").getEditorSettings,n=e("core/edit-post").getAllMetaBoxes;return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:n()}})(function(e){var t=e.areCustomFieldsRegistered,n=e.metaBoxes,o=Object(P.a)(e,["areCustomFieldsRegistered","metaBoxes"]),r=Object(g.filter)(n,function(e){return"postcustom"!==e.id});return t||0!==r.length?Object(i.createElement)(qt,o,t&&Object(i.createElement)(Qt,{label:Object(E.__)("Custom Fields")}),Object(g.map)(r,function(e){var t=e.id,n=e.title;return Object(i.createElement)(Xt,{key:t,label:n,panelName:"meta-box-".concat(t)})})):null});var en=Object(T.compose)(Object(d.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=(0,e("core").getPostType)(t("type"));return{isModalActive:e("core/edit-post").isModalActive("edit-post/options"),isViewable:Object(g.get)(n,["viewable"],!1)}}),Object(d.withDispatch)(function(e){return{closeModal:function(){return e("core/edit-post").closeModal()}}}))(function(e){var t=e.isModalActive,n=e.isViewable,o=e.closeModal;return t?Object(i.createElement)(C.Modal,{className:"edit-post-options-modal",title:Object(E.__)("Options"),closeLabel:Object(E.__)("Close"),onRequestClose:o},Object(i.createElement)(qt,{title:Object(E.__)("General")},Object(i.createElement)(Yt,{label:Object(E.__)("Enable Pre-publish Checks")}),Object(i.createElement)($t,{label:Object(E.__)("Enable Tips")})),Object(i.createElement)(qt,{title:Object(E.__)("Document Panels")},n&&Object(i.createElement)(Xt,{label:Object(E.__)("Permalink"),panelName:"post-link"}),Object(i.createElement)(a.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(i.createElement)(Xt,{label:Object(g.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(i.createElement)(a.PostFeaturedImageCheck,null,Object(i.createElement)(Xt,{label:Object(E.__)("Featured Image"),panelName:"featured-image"})),Object(i.createElement)(a.PostExcerptCheck,null,Object(i.createElement)(Xt,{label:Object(E.__)("Excerpt"),panelName:"post-excerpt"})),Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(i.createElement)(Xt,{label:Object(E.__)("Discussion"),panelName:"discussion-panel"})),Object(i.createElement)(a.PageAttributesCheck,null,Object(i.createElement)(Xt,{label:Object(E.__)("Page Attributes"),panelName:"page-attributes"}))),Object(i.createElement)(Zt,{title:Object(E.__)("Advanced Panels")})):null}),tn=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(h.a)(Object(h.a)(e))),e}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){this.form=document.querySelector(".metabox-location-"+this.props.location),this.form&&this.container.appendChild(this.form)}},{key:"componentWillUnmount",value:function(){this.form&&document.querySelector("#metaboxes").appendChild(this.form)}},{key:"bindContainerNode",value:function(e){this.container=e}},{key:"render",value:function(){var e=this.props,t=e.location,n=e.isSaving,o=Xe()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":n});return Object(i.createElement)("div",{className:o},n&&Object(i.createElement)(C.Spinner,null),Object(i.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(i.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(i.Component),nn=Object(d.withSelect)(function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}})(tn),on=function(e){function t(){return Object(p.a)(this,t),Object(O.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){this.updateDOM()}},{key:"componentDidUpdate",value:function(e){this.props.isVisible!==e.isVisible&&this.updateDOM()}},{key:"updateDOM",value:function(){var e=this.props,t=e.id,n=e.isVisible,o=document.getElementById(t);o&&(n?o.classList.remove("is-hidden"):o.classList.add("is-hidden"))}},{key:"render",value:function(){return null}}]),t}(i.Component),rn=Object(d.withSelect)(function(e,t){var n=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(n))}})(on);var cn=Object(d.withSelect)(function(e,t){var n=t.location,o=e("core/edit-post"),r=o.isMetaBoxLocationVisible;return{metaBoxes:(0,o.getMetaBoxesPerLocation)(n),isVisible:r(n)}})(function(e){var t=e.location,n=e.isVisible,o=e.metaBoxes;return Object(i.createElement)(i.Fragment,null,Object(g.map)(o,function(e){var t=e.id;return Object(i.createElement)(rn,{key:t,id:t})}),n&&Object(i.createElement)(nn,{location:t}))}),an=Object(C.createSlotFill)("Sidebar"),ln=an.Fill,sn=an.Slot;function un(e){var t=e.children,n=e.label,o=e.className;return Object(i.createElement)("div",{className:Xe()("edit-post-sidebar",o),role:"region","aria-label":n,tabIndex:"-1"},t)}un=Object(C.withFocusReturn)({onFocusReturn:function(){var e=document.querySelector('.edit-post-header__settings [aria-label="Settings"]');if(e)return e.focus(),!1}})(un);var dn=Object(T.compose)(Object(d.withSelect)(function(e,t){var n=t.name;return{isActive:e("core/edit-post").getActiveGeneralSidebarName()===n}}),Object(T.ifCondition)(function(e){return e.isActive}))(function(e){return Object(i.createElement)(ln,null,Object(i.createElement)(C.Animate,{type:"slide-in",options:{origin:"left"}},function(){return Object(i.createElement)(un,e)}))});dn.Slot=sn;var bn=dn,pn=Object(T.compose)(Object(d.withSelect)(function(e){return{title:e("core/editor").getEditedPostAttribute("title")}}),Object(d.withDispatch)(function(e){return{closeSidebar:e("core/edit-post").closeGeneralSidebar}}))(function(e){var t=e.children,n=e.className,o=e.closeLabel,r=e.closeSidebar,c=e.title;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"components-panel__header edit-post-sidebar-header__small"},Object(i.createElement)("span",{className:"edit-post-sidebar-header__title"},c||Object(E.__)("(no title)")),Object(i.createElement)(C.IconButton,{onClick:r,icon:"no-alt",label:o})),Object(i.createElement)("div",{className:Xe()("components-panel__header edit-post-sidebar-header",n)},t,Object(i.createElement)(C.IconButton,{onClick:r,icon:"no-alt",label:o,shortcut:$e.toggleSidebar})))}),mn=Object(d.withDispatch)(function(e){var t=e("core/edit-post").openGeneralSidebar,n=e("core/block-editor").clearSelectedBlock;return{openDocumentSettings:function(){t("edit-post/document"),n()},openBlockSettings:function(){t("edit-post/block")}}})(function(e){var t=e.openDocumentSettings,n=e.openBlockSettings,o=e.sidebarName,r=Object(E.__)("Block"),c="edit-post/document"===o?[Object(E.__)("Document (selected)"),"is-active"]:[Object(E.__)("Document"),""],a=Object($.a)(c,2),l=a[0],s=a[1],u="edit-post/block"===o?[Object(E.__)("Block (selected)"),"is-active"]:[Object(E.__)("Block"),""],d=Object($.a)(u,2),b=d[0],p=d[1];return Object(i.createElement)(pn,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(E.__)("Close settings")},Object(i.createElement)("ul",null,Object(i.createElement)("li",null,Object(i.createElement)("button",{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(s),"aria-label":l,"data-label":Object(E.__)("Document")},Object(E.__)("Document"))),Object(i.createElement)("li",null,Object(i.createElement)("button",{onClick:n,className:"edit-post-sidebar__panel-tab ".concat(p),"aria-label":b,"data-label":r},r))))});var On=function(){return Object(i.createElement)(a.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(i.createElement)(C.PanelRow,{className:"edit-post-post-visibility"},Object(i.createElement)("span",null,Object(E.__)("Visibility")),!t&&Object(i.createElement)("span",null,Object(i.createElement)(a.PostVisibilityLabel,null)),t&&Object(i.createElement)(C.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(i.createElement)(C.Button,{type:"button","aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,isLink:!0},Object(i.createElement)(a.PostVisibilityLabel,null))},renderContent:function(){return Object(i.createElement)(a.PostVisibility,null)}}))}})};function fn(){return Object(i.createElement)(a.PostTrashCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostTrash,null)))}var jn=Object(T.withInstanceId)(function(e){var t=e.instanceId;return Object(i.createElement)(a.PostScheduleCheck,null,Object(i.createElement)(C.PanelRow,{className:"edit-post-post-schedule"},Object(i.createElement)("label",{htmlFor:"edit-post-post-schedule__toggle-".concat(t),id:"edit-post-post-schedule__heading-".concat(t)},Object(E.__)("Publish")),Object(i.createElement)(C.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var n=e.onToggle,o=e.isOpen;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{className:"edit-post-post-schedule__label",htmlFor:"edit-post-post-schedule__toggle-".concat(t)},Object(i.createElement)(a.PostScheduleLabel,null)," ",Object(E.__)("Click to change")),Object(i.createElement)(C.Button,{id:"edit-post-post-schedule__toggle-".concat(t),type:"button",className:"edit-post-post-schedule__toggle",onClick:n,"aria-expanded":o,"aria-live":"polite",isLink:!0},Object(i.createElement)(a.PostScheduleLabel,null)))},renderContent:function(){return Object(i.createElement)(a.PostSchedule,null)}})))});var hn=function(){return Object(i.createElement)(a.PostStickyCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostSticky,null)))};var gn=function(){return Object(i.createElement)(a.PostAuthorCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostAuthor,null)))};var En=function(){return Object(i.createElement)(a.PostFormatCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostFormat,null)))};var vn=function(){return Object(i.createElement)(a.PostPendingStatusCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostPendingStatus,null)))},yn=Object(C.createSlotFill)("PluginPostStatusInfo"),_n=yn.Fill,Sn=yn.Slot,kn=function(e){var t=e.children,n=e.className;return Object(i.createElement)(_n,null,Object(i.createElement)(C.PanelRow,{className:n},t))};kn.Slot=Sn;var Pn=kn;var wn=Object(T.compose)([Object(d.withSelect)(function(e){return{isOpened:e("core/edit-post").isEditorPanelOpened("post-status")}}),Object(d.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-status")}}})])(function(e){var t=e.isOpened,n=e.onTogglePanel;return Object(i.createElement)(C.PanelBody,{className:"edit-post-post-status",title:Object(E.__)("Status & Visibility"),opened:t,onToggle:n},Object(i.createElement)(Pn.Slot,null,function(e){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(On,null),Object(i.createElement)(jn,null),Object(i.createElement)(En,null),Object(i.createElement)(hn,null),Object(i.createElement)(vn,null),Object(i.createElement)(gn,null),e,Object(i.createElement)(fn,null))}))});var Cn=function(){return Object(i.createElement)(a.PostLastRevisionCheck,null,Object(i.createElement)(C.PanelBody,{className:"edit-post-last-revision__panel"},Object(i.createElement)(a.PostLastRevision,null)))};var Tn=Object(T.compose)(Object(d.withSelect)(function(e,t){var n=Object(g.get)(t.taxonomy,["slug"]),o=n?"taxonomy-panel-".concat(n):"";return{panelName:o,isEnabled:!!n&&e("core/edit-post").isEditorPanelEnabled(o),isOpened:!!n&&e("core/edit-post").isEditorPanelOpened(o)}}),Object(d.withDispatch)(function(e,t){return{onTogglePanel:function(){e("core/edit-post").toggleEditorPanelOpened(t.panelName)}}}))(function(e){var t=e.isEnabled,n=e.taxonomy,o=e.isOpened,r=e.onTogglePanel,c=e.children;if(!t)return null;var a=Object(g.get)(n,["labels","menu_name"]);return a?Object(i.createElement)(C.PanelBody,{title:a,opened:o,onToggle:r},c):null});var xn=function(){return Object(i.createElement)(a.PostTaxonomiesCheck,null,Object(i.createElement)(a.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(i.createElement)(Tn,{taxonomy:t},e)}}))};var Mn=Object(d.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core").getPostType,o=e("core/edit-post"),r=o.isEditorPanelEnabled,i=o.isEditorPanelOpened;return{postType:n(t("type")),isEnabled:r("featured-image"),isOpened:i("featured-image")}}),Bn=Object(d.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(g.partial)(t,"featured-image")}}),Nn=Object(T.compose)(Mn,Bn)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.postType,r=e.onTogglePanel;return t?Object(i.createElement)(a.PostFeaturedImageCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(g.get)(o,["labels","featured_image"],Object(E.__)("Featured Image")),opened:n,onToggle:r},Object(i.createElement)(a.PostFeaturedImage,null))):null});var An=Object(T.compose)([Object(d.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}}),Object(d.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-excerpt")}}})])(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(i.createElement)(a.PostExcerptCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(E.__)("Excerpt"),opened:n,onToggle:o},Object(i.createElement)(a.PostExcerpt,null))):null});var In=Object(T.compose)([Object(d.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,o=t.isPermalinkEditable,r=t.getCurrentPost,i=t.isCurrentPostPublished,c=t.getPermalinkParts,a=t.getEditedPostAttribute,l=e("core/edit-post"),s=l.isEditorPanelEnabled,u=l.isEditorPanelOpened,d=e("core").getPostType,b=r(),p=b.link,m=b.id,O=d(a("type"));return{isNew:n(),postLink:p,isEditable:o(),isPublished:i(),isOpened:u("post-link"),permalinkParts:c(),isEnabled:s("post-link"),isViewable:Object(g.get)(O,["viewable"],!1),postTitle:a("title"),postSlug:a("slug"),postID:m}}),Object(T.ifCondition)(function(e){var t=e.isEnabled,n=e.isNew,o=e.postLink,r=e.isViewable,i=e.permalinkParts;return t&&!n&&o&&r&&i}),Object(d.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened,n=e("core/editor").editPost;return{onTogglePanel:function(){return t("post-link")},editPermalink:function(e){n({slug:e})}}}),Object(T.withState)({forceEmptyField:!1})])(function(e){var t,n,o,r=e.isOpened,c=e.onTogglePanel,l=e.isEditable,s=e.postLink,u=e.permalinkParts,d=e.editPermalink,b=e.forceEmptyField,p=e.setState,m=e.postTitle,O=e.postSlug,f=e.postID,j=u.prefix,h=u.suffix,g=Object(N.safeDecodeURIComponent)(O)||Object(a.cleanForSlug)(m)||f;return l&&(t=j&&Object(i.createElement)("span",{className:"edit-post-post-link__link-prefix"},j),n=g&&Object(i.createElement)("span",{className:"edit-post-post-link__link-post-name"},g),o=h&&Object(i.createElement)("span",{className:"edit-post-post-link__link-suffix"},h)),Object(i.createElement)(C.PanelBody,{title:Object(E.__)("Permalink"),opened:r,onToggle:c},l&&Object(i.createElement)("div",{className:"editor-post-link"},Object(i.createElement)(C.TextControl,{label:Object(E.__)("URL Slug"),value:b?"":g,onChange:function(e){d(e),e?b&&p({forceEmptyField:!1}):b||p({forceEmptyField:!0})},onBlur:function(e){d(Object(a.cleanForSlug)(e.target.value)),b&&p({forceEmptyField:!1})}}),Object(i.createElement)("p",null,Object(E.__)("The last part of the URL. "),Object(i.createElement)(C.ExternalLink,{href:"https://codex.wordpress.org/Posts_Add_New_Screen"},Object(E.__)("Read about permalinks")))),Object(i.createElement)("p",{className:"edit-post-post-link__preview-label"},Object(E.__)("Preview")),Object(i.createElement)(C.ExternalLink,{className:"edit-post-post-link__link",href:s,target:"_blank"},l?Object(i.createElement)(i.Fragment,null,t,n,o):s))});var Ln=Object(T.compose)([Object(d.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}}),Object(d.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("discussion-panel")}}})])(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(i.createElement)(C.PanelBody,{title:Object(E.__)("Discussion"),opened:n,onToggle:o},Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:"comments"},Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostComments,null))),Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PostPingbacks,null))))):null});var Dn=Object(d.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core/edit-post"),o=n.isEditorPanelEnabled,r=n.isEditorPanelOpened,i=e("core").getPostType;return{isEnabled:o("page-attributes"),isOpened:r("page-attributes"),postType:i(t("type"))}}),Fn=Object(d.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(g.partial)(t,"page-attributes")}}),Rn=Object(T.compose)(Dn,Fn)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel,r=e.postType;return t&&r?Object(i.createElement)(a.PageAttributesCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(g.get)(r,["labels","attributes"],Object(E.__)("Page Attributes")),opened:n,onToggle:o},Object(i.createElement)(a.PageTemplate,null),Object(i.createElement)(a.PageAttributesParent,null),Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(a.PageAttributesOrder,null)))):null}),Gn=Object(T.compose)(Object(d.withSelect)(function(e){var t=e("core/edit-post"),n=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:n()}}),Object(T.ifCondition)(function(e){return e.isEditorSidebarOpened}))(function(e){var t=e.sidebarName;return Object(i.createElement)(bn,{name:t,label:Object(E.__)("Editor settings")},Object(i.createElement)(mn,{sidebarName:t}),Object(i.createElement)(C.Panel,null,"edit-post/document"===t&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(wn,null),Object(i.createElement)(Cn,null),Object(i.createElement)(In,null),Object(i.createElement)(xn,null),Object(i.createElement)(Nn,null),Object(i.createElement)(An,null),Object(i.createElement)(Ln,null),Object(i.createElement)(Rn,null),Object(i.createElement)(cn,{location:"side"})),"edit-post/block"===t&&Object(i.createElement)(C.PanelBody,{className:"edit-post-settings-sidebar__panel-block"},Object(i.createElement)(c.BlockInspector,null))))}),Un=Object(C.createSlotFill)("PluginPostPublishPanel"),Vn=Un.Fill,Hn=Un.Slot,Wn=function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,c=void 0!==r&&r;return Object(i.createElement)(Vn,null,Object(i.createElement)(C.PanelBody,{className:n,initialOpen:c||!o,title:o},t))};Wn.Slot=Hn;var qn=Wn,Kn=Object(C.createSlotFill)("PluginPrePublishPanel"),zn=Kn.Fill,Qn=Kn.Slot,Xn=function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,c=void 0!==r&&r;return Object(i.createElement)(zn,null,Object(i.createElement)(C.PanelBody,{className:n,initialOpen:c||!o,title:o},t))};Xn.Slot=Qn;var Yn=Xn,Jn=function(e){function t(){return Object(p.a)(this,t),Object(O.a)(this,Object(f.a)(t).apply(this,arguments))}return Object(j.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),t}(i.Component),$n=Object(d.withSelect)(function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}})(Jn);var Zn=Object(T.compose)(Object(d.withSelect)(function(e){return{mode:e("core/edit-post").getEditorMode(),editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isSaving:e("core/edit-post").isSavingMetaBoxes(),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}}),Object(d.withDispatch)(function(e){var t=e("core/edit-post");return{closePublishSidebar:t.closePublishSidebar,togglePublishSidebar:t.togglePublishSidebar}}),C.navigateRegions,Object(s.withViewportMatch)({isMobileViewport:"< small"}))(function(e){var t=e.mode,n=e.editorSidebarOpened,o=e.pluginSidebarOpened,r=e.publishSidebarOpened,l=e.hasFixedToolbar,s=e.closePublishSidebar,u=e.togglePublishSidebar,d=e.hasActiveMetaboxes,b=e.isSaving,p=e.isMobileViewport,m=e.isRichEditingEnabled,O=n||o||r,f=Xe()("edit-post-layout",{"is-sidebar-opened":O,"has-fixed-toolbar":l}),j={role:"region","aria-label":Object(E.__)("Editor publish"),tabIndex:-1};return Object(i.createElement)(C.FocusReturnProvider,{className:f},Object(i.createElement)($n,null),Object(i.createElement)(Je,null),Object(i.createElement)(a.UnsavedChangesWarning,null),Object(i.createElement)(a.AutosaveMonitor,null),Object(i.createElement)(ht,null),Object(i.createElement)("div",{className:"edit-post-layout__content",role:"region","aria-label":Object(E.__)("Editor content"),tabIndex:"-1"},Object(i.createElement)(a.EditorNotices,{dismissible:!1,className:"is-pinned"}),Object(i.createElement)(a.EditorNotices,{dismissible:!0}),Object(i.createElement)(c.PreserveScrollInReorder,null),Object(i.createElement)(wt,null),Object(i.createElement)(Gt,null),Object(i.createElement)(Wt,null),Object(i.createElement)(en,null),("text"===t||!m)&&Object(i.createElement)(gt,null),m&&"visual"===t&&Object(i.createElement)(kt,null),Object(i.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(i.createElement)(cn,{location:"normal"})),Object(i.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(i.createElement)(cn,{location:"advanced"}))),r?Object(i.createElement)(a.PostPublishPanel,Object(k.a)({},j,{onClose:s,forceIsDirty:d,forceIsSaving:b,PrePublishExtension:Yn.Slot,PostPublishExtension:qn.Slot})):Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",Object(k.a)({className:"edit-post-toggle-publish-panel"},j),Object(i.createElement)(C.Button,{isDefault:!0,type:"button",className:"edit-post-toggle-publish-panel__button",onClick:u,"aria-expanded":!1},Object(E.__)("Open publish panel"))),Object(i.createElement)(Gn,null),Object(i.createElement)(bn.Slot,null),p&&O&&Object(i.createElement)(C.ScrollLock,null)),Object(i.createElement)(C.Popover.Slot,null),Object(i.createElement)(B.PluginArea,null))}),eo=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(O.a)(this,Object(f.a)(t).apply(this,arguments))).getEditorSettings=Ke()(e.getEditorSettings,{maxSize:1}),e}return Object(j.a)(t,e),Object(m.a)(t,[{key:"getEditorSettings",value:function(e,t,n,o,r){if(e=Object(q.a)({},e,{hasFixedToolbar:t,focusMode:n}),Object(g.size)(o)>0){var i=!0===e.allowedBlockTypes?Object(g.map)(r,"name"):e.allowedBlockTypes||[];e.allowedBlockTypes=g.without.apply(void 0,[i].concat(Object(H.a)(o)))}return e}},{key:"render",value:function(){var e=this.props,t=e.settings,n=e.hasFixedToolbar,o=e.focusMode,r=e.post,c=e.initialEdits,l=e.onError,s=e.hiddenBlockTypes,u=e.blockTypes,d=Object(P.a)(e,["settings","hasFixedToolbar","focusMode","post","initialEdits","onError","hiddenBlockTypes","blockTypes"]);if(!r)return null;var b=this.getEditorSettings(t,n,o,s,u);return Object(i.createElement)(i.StrictMode,null,Object(i.createElement)(a.EditorProvider,Object(k.a)({settings:b,post:r,initialEdits:c},d),Object(i.createElement)(a.ErrorBoundary,{onError:l},Object(i.createElement)(Zn,null),Object(i.createElement)(C.KeyboardShortcuts,{shortcuts:ze})),Object(i.createElement)(a.PostLockedModal,null)))}}]),t}(i.Component),to=Object(d.withSelect)(function(e,t){var n=t.postId,o=t.postType,r=e("core/edit-post"),i=r.isFeatureActive,c=r.getPreference,a=e("core").getEntityRecord,l=e("core/blocks").getBlockTypes;return{hasFixedToolbar:i("fixedToolbar"),focusMode:i("focusMode"),post:a("postType",o,n),hiddenBlockTypes:c("hiddenBlockTypes"),blockTypes:l()}})(eo),no=function(e,t){return!Array.isArray(t)||(n=e,o=t,0===Object(g.difference)(n,o).length);var n,o},oo=function(e){var t=e.allowedBlocks,n=e.icon,o=e.label,r=e.onClick,c=e.small,a=e.role;return Object(i.createElement)(St,null,function(e){var l=e.selectedBlocks,s=e.onClose;return no(l,t)?Object(i.createElement)(C.MenuItem,{className:"editor-block-settings-menu__control",onClick:Object(T.compose)(r,s),icon:n||"admin-plugins",label:c?o:void 0,role:a},!c&&o):null})},ro=Object(T.compose)(Object(B.withPluginContext)(function(e,t){return{icon:t.icon||e.icon}}))(function(e){var t=e.onClick,n=void 0===t?g.noop:t,o=Object(P.a)(e,["onClick"]);return Object(i.createElement)(rt,null,function(e){return Object(i.createElement)(C.MenuItem,Object(k.a)({},o,{onClick:Object(T.compose)(n,e.onClose)}))})});var io=Object(T.compose)(Object(B.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}}),Object(d.withSelect)(function(e,t){var n=t.sidebarName,o=e("core/edit-post"),r=o.getActiveGeneralSidebarName,i=o.isPluginItemPinned;return{isActive:r()===n,isPinned:i(n)}}),Object(d.withDispatch)(function(e,t){var n=t.isActive,o=t.sidebarName,r=e("core/edit-post"),i=r.closeGeneralSidebar,c=r.openGeneralSidebar,a=r.togglePinnedPluginItem;return{togglePin:function(){a(o)},toggleSidebar:function(){n?i():c(o)}}}))(function(e){var t=e.children,n=e.className,o=e.icon,r=e.isActive,c=e.isPinnable,a=void 0===c||c,l=e.isPinned,s=e.sidebarName,u=e.title,d=e.togglePin,b=e.toggleSidebar;return Object(i.createElement)(i.Fragment,null,a&&Object(i.createElement)(ft,null,l&&Object(i.createElement)(C.IconButton,{icon:o,label:u,onClick:b,isToggled:r,"aria-expanded":r})),Object(i.createElement)(bn,{name:s,label:Object(E.__)("Editor plugins")},Object(i.createElement)(pn,{closeLabel:Object(E.__)("Close plugin")},Object(i.createElement)("strong",null,u),a&&Object(i.createElement)(C.IconButton,{icon:l?"star-filled":"star-empty",label:l?Object(E.__)("Unpin from toolbar"):Object(E.__)("Pin to toolbar"),onClick:d,isToggled:l,"aria-expanded":l})),Object(i.createElement)(C.Panel,{className:n},t)))}),co=Object(T.compose)(Object(B.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}}),Object(d.withSelect)(function(e,t){var n=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===n}}),Object(d.withDispatch)(function(e,t){var n=t.isSelected,o=t.sidebarName,r=e("core/edit-post"),i=r.closeGeneralSidebar,c=r.openGeneralSidebar;return{onClick:n?i:function(){return c(o)}}}))(function(e){var t=e.children,n=e.icon,o=e.isSelected,r=e.onClick;return Object(i.createElement)(ro,{icon:o?"yes":n,isSelected:o,role:"menuitemcheckbox",onClick:r},t)});function ao(e,t,n,o,r){Object(i.unmountComponentAtNode)(n);var c=ao.bind(null,e,t,n,o,r);Object(i.render)(Object(i.createElement)(to,{settings:o,onError:c,postId:t,postType:e,initialEdits:r,recovery:!0}),n)}function lo(e,t,n,o,r){var c=document.getElementById(e),a=ao.bind(null,t,n,c,o,r);Object(u.registerCoreBlocks)(),"Standards"!==("CSS1Compat"===document.compatMode?"Standards":"Quirks")&&console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening . Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins."),Object(d.dispatch)("core/nux").triggerGuide(["core/editor.inserter","core/editor.settings","core/editor.preview","core/editor.publish"]),Object(i.render)(Object(i.createElement)(to,{settings:o,onError:a,postId:n,postType:t,initialEdits:r}),c)}n.d(t,"reinitializeEditor",function(){return ao}),n.d(t,"initializeEditor",function(){return lo}),n.d(t,"PluginBlockSettingsMenuItem",function(){return oo}),n.d(t,"PluginMoreMenuItem",function(){return ro}),n.d(t,"PluginPostPublishPanel",function(){return qn}),n.d(t,"PluginPostStatusInfo",function(){return Pn}),n.d(t,"PluginPrePublishPanel",function(){return Yn}),n.d(t,"PluginSidebar",function(){return io}),n.d(t,"PluginSidebarMoreMenuItem",function(){return co})},37:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},38:function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t){!function(){e.exports=this.wp.viewport}()},41:function(e,t,n){e.exports=function(e,t){var n,o,r,i=0;function c(){var t,c,a=o,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",function(){return r})},227:function(t,e){var n=t.exports=function(t){return new r(t)};function r(t){this.value=t}function o(t,e,n){var r=[],o=[],a=!0;return function t(d){var p=n?i(d):d,h={},f=!0,b={node:p,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(t,e){b.isRoot||(b.parent.node[b.key]=t),b.node=t,e&&(f=!1)},delete:function(t){delete b.parent.node[b.key],t&&(f=!1)},remove:function(t){c(b.parent.node)?b.parent.node.splice(b.key,1):delete b.parent.node[b.key],t&&(f=!1)},keys:null,before:function(t){h.before=t},after:function(t){h.after=t},pre:function(t){h.pre=t},post:function(t){h.post=t},stop:function(){a=!1},block:function(){f=!1}};if(!a)return b;function m(){if("object"==typeof b.node&&null!==b.node){b.keys&&b.node_===b.node||(b.keys=s(b.node)),b.isLeaf=0==b.keys.length;for(var t=0;t=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["optimist"])}}return{optimist:a,innerState:t}}t.exports=function(t){function e(e,n,o){return e.length&&(e=e.concat([{action:o}])),u(n=t(n,o),o),r({optimist:e},n)}return function(n,a){if(a.optimist)switch(a.optimist.type){case o:return function(e,n){var o=l(e),i=o.optimist,s=o.innerState;return i=i.concat([{beforeState:s,action:n}]),u(s=t(s,n),n),r({optimist:i},s)}(n,a);case i:return function(t,n){var r=l(t),o=r.optimist,i=r.innerState,s=[],a=!1,u=!1;o.forEach(function(t){a?t.beforeState&&c(t.action,n.optimist.id)?(u=!0,s.push({action:t.action})):s.push(t):t.beforeState&&!c(t.action,n.optimist.id)?(a=!0,s.push(t)):t.beforeState&&c(t.action,n.optimist.id)&&(u=!0)}),u||console.error('Cannot commit transaction with id "'+n.optimist.id+'" because it does not exist');return e(o=s,i,n)}(n,a);case s:return function(n,r){var o=l(n),i=o.optimist,s=o.innerState,a=[],d=!1,p=!1,h=s;i.forEach(function(e){e.beforeState&&c(e.action,r.optimist.id)&&(h=e.beforeState,p=!0),c(e.action,r.optimist.id)||(e.beforeState&&(d=!0),d&&(p&&e.beforeState?a.push({beforeState:h,action:e.action}):a.push(e)),p&&(h=t(h,e.action),u(s,r)))}),p||console.error('Cannot revert transaction with id "'+r.optimist.id+'" because it does not exist');return e(i=a,h,r)}(n,a)}var d=l(n),p=d.optimist,h=d.innerState;if(n&&!p.length){var f=t(h,a);return f===h?n:(u(f,a),r({optimist:p},f))}return e(p,h,a)}},t.exports.BEGIN=o,t.exports.COMMIT=i,t.exports.REVERT=s},35:function(t,e){!function(){t.exports=this.wp.blob}()},358:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"setupEditor",function(){return it}),n.d(r,"resetPost",function(){return st}),n.d(r,"resetAutosave",function(){return at}),n.d(r,"__experimentalRequestPostUpdateStart",function(){return ct}),n.d(r,"__experimentalRequestPostUpdateSuccess",function(){return ut}),n.d(r,"__experimentalRequestPostUpdateFailure",function(){return lt}),n.d(r,"updatePost",function(){return dt}),n.d(r,"setupEditorState",function(){return pt}),n.d(r,"editPost",function(){return ht}),n.d(r,"__experimentalOptimisticUpdatePost",function(){return ft}),n.d(r,"savePost",function(){return bt}),n.d(r,"refreshPost",function(){return mt}),n.d(r,"trashPost",function(){return vt}),n.d(r,"autosave",function(){return Ot}),n.d(r,"redo",function(){return gt}),n.d(r,"undo",function(){return yt}),n.d(r,"createUndoLevel",function(){return jt}),n.d(r,"updatePostLock",function(){return _t}),n.d(r,"__experimentalFetchReusableBlocks",function(){return kt}),n.d(r,"__experimentalReceiveReusableBlocks",function(){return Et}),n.d(r,"__experimentalSaveReusableBlock",function(){return St}),n.d(r,"__experimentalDeleteReusableBlock",function(){return Pt}),n.d(r,"__experimentalUpdateReusableBlockTitle",function(){return wt}),n.d(r,"__experimentalConvertBlockToStatic",function(){return Tt}),n.d(r,"__experimentalConvertBlockToReusable",function(){return Ct}),n.d(r,"enablePublishSidebar",function(){return xt}),n.d(r,"disablePublishSidebar",function(){return Bt}),n.d(r,"lockPostSaving",function(){return At}),n.d(r,"unlockPostSaving",function(){return It}),n.d(r,"resetEditorBlocks",function(){return Lt}),n.d(r,"updateEditorSettings",function(){return Rt}),n.d(r,"resetBlocks",function(){return Ut}),n.d(r,"receiveBlocks",function(){return Dt}),n.d(r,"updateBlock",function(){return Ft}),n.d(r,"updateBlockAttributes",function(){return Mt}),n.d(r,"selectBlock",function(){return Vt}),n.d(r,"startMultiSelect",function(){return zt}),n.d(r,"stopMultiSelect",function(){return Kt}),n.d(r,"multiSelect",function(){return qt}),n.d(r,"clearSelectedBlock",function(){return Wt}),n.d(r,"toggleSelection",function(){return Ht}),n.d(r,"replaceBlocks",function(){return Gt}),n.d(r,"moveBlocksDown",function(){return Qt}),n.d(r,"moveBlocksUp",function(){return Yt}),n.d(r,"moveBlockToPosition",function(){return $t}),n.d(r,"insertBlock",function(){return Xt}),n.d(r,"insertBlocks",function(){return Zt}),n.d(r,"showInsertionPoint",function(){return Jt}),n.d(r,"hideInsertionPoint",function(){return te}),n.d(r,"setTemplateValidity",function(){return ee}),n.d(r,"synchronizeTemplate",function(){return ne}),n.d(r,"mergeBlocks",function(){return re}),n.d(r,"removeBlocks",function(){return oe}),n.d(r,"removeBlock",function(){return ie}),n.d(r,"toggleBlockMode",function(){return se}),n.d(r,"startTyping",function(){return ae}),n.d(r,"stopTyping",function(){return ce}),n.d(r,"enterFormattedText",function(){return ue}),n.d(r,"exitFormattedText",function(){return le}),n.d(r,"insertDefaultBlock",function(){return de}),n.d(r,"updateBlockListSettings",function(){return pe});var o={};n.r(o),n.d(o,"hasEditorUndo",function(){return Oe}),n.d(o,"hasEditorRedo",function(){return ge}),n.d(o,"isEditedPostNew",function(){return ye}),n.d(o,"hasChangedContent",function(){return je}),n.d(o,"isEditedPostDirty",function(){return _e}),n.d(o,"isCleanNewPost",function(){return ke}),n.d(o,"getCurrentPost",function(){return Ee}),n.d(o,"getCurrentPostType",function(){return Se}),n.d(o,"getCurrentPostId",function(){return Pe}),n.d(o,"getCurrentPostRevisionsCount",function(){return we}),n.d(o,"getCurrentPostLastRevisionId",function(){return Te}),n.d(o,"getPostEdits",function(){return Ce}),n.d(o,"getReferenceByDistinctEdits",function(){return xe}),n.d(o,"getCurrentPostAttribute",function(){return Be}),n.d(o,"getEditedPostAttribute",function(){return Ie}),n.d(o,"getAutosaveAttribute",function(){return Le}),n.d(o,"getEditedPostVisibility",function(){return Re}),n.d(o,"isCurrentPostPending",function(){return Ne}),n.d(o,"isCurrentPostPublished",function(){return Ue}),n.d(o,"isCurrentPostScheduled",function(){return De}),n.d(o,"isEditedPostPublishable",function(){return Fe}),n.d(o,"isEditedPostSaveable",function(){return Me}),n.d(o,"isEditedPostEmpty",function(){return Ve}),n.d(o,"isEditedPostAutosaveable",function(){return ze}),n.d(o,"getAutosave",function(){return Ke}),n.d(o,"hasAutosave",function(){return qe}),n.d(o,"isEditedPostBeingScheduled",function(){return We}),n.d(o,"isEditedPostDateFloating",function(){return He}),n.d(o,"isSavingPost",function(){return Ge}),n.d(o,"didPostSaveRequestSucceed",function(){return Qe}),n.d(o,"didPostSaveRequestFail",function(){return Ye}),n.d(o,"isAutosavingPost",function(){return $e}),n.d(o,"isPreviewingPost",function(){return Xe}),n.d(o,"getEditedPostPreviewLink",function(){return Ze}),n.d(o,"getSuggestedPostFormat",function(){return Je}),n.d(o,"getBlocksForSerialization",function(){return tn}),n.d(o,"getEditedPostContent",function(){return en}),n.d(o,"__experimentalGetReusableBlock",function(){return nn}),n.d(o,"__experimentalIsSavingReusableBlock",function(){return rn}),n.d(o,"__experimentalIsFetchingReusableBlock",function(){return on}),n.d(o,"__experimentalGetReusableBlocks",function(){return sn}),n.d(o,"getStateBeforeOptimisticTransaction",function(){return an}),n.d(o,"isPublishingPost",function(){return cn}),n.d(o,"isPermalinkEditable",function(){return un}),n.d(o,"getPermalink",function(){return ln}),n.d(o,"getPermalinkParts",function(){return dn}),n.d(o,"inSomeHistory",function(){return pn}),n.d(o,"isPostLocked",function(){return hn}),n.d(o,"isPostSavingLocked",function(){return fn}),n.d(o,"isPostLockTakeover",function(){return bn}),n.d(o,"getPostLockUser",function(){return mn}),n.d(o,"getActivePostLock",function(){return vn}),n.d(o,"canUserUseUnfilteredHTML",function(){return On}),n.d(o,"isPublishSidebarEnabled",function(){return gn}),n.d(o,"getEditorBlocks",function(){return yn}),n.d(o,"__unstableIsEditorReady",function(){return jn}),n.d(o,"getEditorSettings",function(){return _n}),n.d(o,"getBlockDependantsCacheBust",function(){return En}),n.d(o,"getBlockName",function(){return Sn}),n.d(o,"isBlockValid",function(){return Pn}),n.d(o,"getBlockAttributes",function(){return wn}),n.d(o,"getBlock",function(){return Tn}),n.d(o,"getBlocks",function(){return Cn}),n.d(o,"__unstableGetBlockWithoutInnerBlocks",function(){return xn}),n.d(o,"getClientIdsOfDescendants",function(){return Bn}),n.d(o,"getClientIdsWithDescendants",function(){return An}),n.d(o,"getGlobalBlockCount",function(){return In}),n.d(o,"getBlocksByClientId",function(){return Ln}),n.d(o,"getBlockCount",function(){return Rn}),n.d(o,"getBlockSelectionStart",function(){return Nn}),n.d(o,"getBlockSelectionEnd",function(){return Un}),n.d(o,"getSelectedBlockCount",function(){return Dn}),n.d(o,"hasSelectedBlock",function(){return Fn}),n.d(o,"getSelectedBlockClientId",function(){return Mn}),n.d(o,"getSelectedBlock",function(){return Vn}),n.d(o,"getBlockRootClientId",function(){return zn}),n.d(o,"getBlockHierarchyRootClientId",function(){return Kn}),n.d(o,"getAdjacentBlockClientId",function(){return qn}),n.d(o,"getPreviousBlockClientId",function(){return Wn}),n.d(o,"getNextBlockClientId",function(){return Hn}),n.d(o,"getSelectedBlocksInitialCaretPosition",function(){return Gn}),n.d(o,"getMultiSelectedBlockClientIds",function(){return Qn}),n.d(o,"getMultiSelectedBlocks",function(){return Yn}),n.d(o,"getFirstMultiSelectedBlockClientId",function(){return $n}),n.d(o,"getLastMultiSelectedBlockClientId",function(){return Xn}),n.d(o,"isFirstMultiSelectedBlock",function(){return Zn}),n.d(o,"isBlockMultiSelected",function(){return Jn}),n.d(o,"isAncestorMultiSelected",function(){return tr}),n.d(o,"getMultiSelectedBlocksStartClientId",function(){return er}),n.d(o,"getMultiSelectedBlocksEndClientId",function(){return nr}),n.d(o,"getBlockOrder",function(){return rr}),n.d(o,"getBlockIndex",function(){return or}),n.d(o,"isBlockSelected",function(){return ir}),n.d(o,"hasSelectedInnerBlock",function(){return sr}),n.d(o,"isBlockWithinSelection",function(){return ar}),n.d(o,"hasMultiSelection",function(){return cr}),n.d(o,"isMultiSelecting",function(){return ur}),n.d(o,"isSelectionEnabled",function(){return lr}),n.d(o,"getBlockMode",function(){return dr}),n.d(o,"isTyping",function(){return pr}),n.d(o,"isCaretWithinFormattedText",function(){return hr}),n.d(o,"getBlockInsertionPoint",function(){return fr}),n.d(o,"isBlockInsertionPointVisible",function(){return br}),n.d(o,"isValidTemplate",function(){return mr}),n.d(o,"getTemplate",function(){return vr}),n.d(o,"getTemplateLock",function(){return Or}),n.d(o,"canInsertBlockType",function(){return gr}),n.d(o,"getInserterItems",function(){return yr}),n.d(o,"hasInserterItems",function(){return jr}),n.d(o,"getBlockListSettings",function(){return _r});var i=n(8),s=n(14),a=(n(72),n(133),n(60)),c=n(20),u=n(40),l=n(5),d=n(28),p=n(15),h=n(7),f=n(32),b=n(62),m=n.n(b),v=n(2),O=n(23),g={isPublishSidebarEnabled:!0},y={},j=Object(h.a)({},i.SETTINGS_DEFAULTS,{richEditingEnabled:!0,enableCustomFields:!1}),_=new Set(["meta"]),k="core/editor",E="post-update",S="SAVE_POST_NOTICE_ID",P="TRASH_POST_NOTICE_ID",w=/%(?:postname|pagename)%/,T=6e4,C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){return function(n,r){var o=e(n,r),i=void 0===n||Object(v.includes)(t.resetTypes,r.type),s=n!==o;if(!s&&!i)return n;s&&void 0!==n||(o=Object(h.a)({},o));var a=Object(v.includes)(t.ignoreTypes,r.type);return o.isDirty=a?n.isDirty:!i&&s,o}}},x=n(17),B={resetTypes:[],ignoreTypes:[],shouldOverwriteState:function(){return!1}},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){(t=Object(h.a)({},B,t)).shouldOverwriteState=Object(v.overSome)([t.shouldOverwriteState,function(e){return Object(v.includes)(t.ignoreTypes,e.type)}]);var n={past:[],present:e(void 0,{}),future:[],lastAction:null,shouldCreateUndoLevel:!1},r=t,o=r.resetTypes,i=void 0===o?[]:o,s=r.shouldOverwriteState,a=void 0===s?function(){return!1}:s;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,r=arguments.length>1?arguments[1]:void 0,o=t.past,s=t.present,c=t.future,u=t.lastAction,l=t.shouldCreateUndoLevel,d=u;switch(r.type){case"UNDO":return o.length?{past:Object(v.dropRight)(o),present:Object(v.last)(o),future:[s].concat(Object(x.a)(c)),lastAction:null,shouldCreateUndoLevel:!1}:t;case"REDO":return c.length?{past:[].concat(Object(x.a)(o),[s]),present:Object(v.first)(c),future:Object(v.drop)(c),lastAction:null,shouldCreateUndoLevel:!1}:t;case"CREATE_UNDO_LEVEL":return Object(h.a)({},t,{lastAction:null,shouldCreateUndoLevel:!0})}var p=e(s,r);if(Object(v.includes)(i,r.type))return{past:[],present:p,future:[],lastAction:null,shouldCreateUndoLevel:!1};if(s===p)return t;var f=o,b=d;return!l&&o.length&&a(r,d)||(f=[].concat(Object(x.a)(o),[s]),b=r),{past:f,present:p,future:[],shouldCreateUndoLevel:!1,lastAction:b}}}};function I(t){return t&&"object"===Object(f.a)(t)&&"raw"in t?t.raw:t}function L(t,e){return t===e?Object(h.a)({},t):e}function R(t,e){return"EDIT_POST"===t.type&&(n=t.edits,r=e.edits,Object(v.isEqual)(Object(v.keys)(n),Object(v.keys)(r)));var n,r}var N=Object(v.flow)([l.combineReducers,A({resetTypes:["SETUP_EDITOR_STATE"],ignoreTypes:["RESET_POST","UPDATE_POST"],shouldOverwriteState:function(t,e){return"RESET_EDITOR_BLOCKS"===t.type?!t.shouldCreateUndoLevel:!(!e||t.type!==e.type)&&R(t,e)}})])({blocks:C({resetTypes:["SETUP_EDITOR_STATE","REQUEST_POST_UPDATE_START"]})(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{value:[]},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RESET_EDITOR_BLOCKS":return e.blocks===t.value?t:{value:e.blocks}}return t}),edits:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"EDIT_POST":return Object(v.reduce)(e.edits,function(e,n,r){return n!==t[r]&&(e=L(t,e),_.has(r)?e[r]=Object(h.a)({},e[r],n):e[r]=n),e},t);case"UPDATE_POST":case"RESET_POST":var n="UPDATE_POST"===e.type?function(t){return e.edits[t]}:function(t){return I(e.post[t])};return Object(v.reduce)(t,function(e,r,o){return Object(v.isEqual)(r,n(o))?(delete(e=L(t,e))[o],e):e},t);case"RESET_EDITOR_BLOCKS":return"content"in t?Object(v.omit)(t,"content"):t}return t}});var U=Object(l.combineReducers)({data:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_REUSABLE_BLOCKS":return Object(v.reduce)(e.results,function(e,n){var r=n.reusableBlock,o=r.id,i=r.title,s={clientId:n.parsedBlock.clientId,title:i};return Object(v.isEqual)(e[o],s)||((e=L(t,e))[o]=s),e},t);case"UPDATE_REUSABLE_BLOCK_TITLE":var n=e.id,r=e.title;return t[n]&&t[n].title!==r?Object(h.a)({},t,Object(p.a)({},n,Object(h.a)({},t[n],{title:r}))):t;case"SAVE_REUSABLE_BLOCK_SUCCESS":var o=e.id,i=e.updatedId;if(o===i)return t;var s=t[o];return Object(h.a)({},Object(v.omit)(t,o),Object(p.a)({},i,s));case"REMOVE_REUSABLE_BLOCK":var a=e.id;return Object(v.omit)(t,a)}return t},isFetching:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"FETCH_REUSABLE_BLOCKS":var n=e.id;return n?Object(h.a)({},t,Object(p.a)({},n,!0)):t;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=e.id;return Object(v.omit)(t,r)}return t},isSaving:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SAVE_REUSABLE_BLOCK":return Object(h.a)({},t,Object(p.a)({},e.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=e.id;return Object(v.omit)(t,n)}return t}});var D=m()(Object(l.combineReducers)({editor:N,initialEdits:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SETUP_EDITOR":if(!e.edits)break;return e.edits;case"SETUP_EDITOR_STATE":return"content"in t?Object(v.omit)(t,"content"):t;case"UPDATE_POST":return Object(v.reduce)(e.edits,function(e,n,r){return e.hasOwnProperty(r)?(delete(e=L(t,e))[r],e):e},t);case"RESET_POST":return y}return t},currentPost:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":var n;if(e.post)n=e.post;else{if(!e.edits)return t;n=Object(h.a)({},t,e.edits)}return Object(v.mapValues)(n,I)}return t},preferences:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;switch((arguments.length>1?arguments[1]:void 0).type){case"ENABLE_PUBLISH_SIDEBAR":return Object(h.a)({},t,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(h.a)({},t,{isPublishSidebarEnabled:!1})}return t},saving:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REQUEST_POST_UPDATE_START":return{requesting:!0,successful:!1,error:null,options:e.options||{}};case"REQUEST_POST_UPDATE_SUCCESS":return{requesting:!1,successful:!0,error:null,options:e.options||{}};case"REQUEST_POST_UPDATE_FAILURE":return{requesting:!1,successful:!1,error:e.error,options:e.options||{}}}return t},postLock:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"UPDATE_POST_LOCK":return e.lock}return t},reusableBlocks:U,template:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_TEMPLATE_VALIDITY":return Object(h.a)({},t,{isValid:e.isValid})}return t},autosave:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RESET_AUTOSAVE":var n=e.post,r=["title","excerpt","content"].map(function(t){return I(n[t])}),o=Object(d.a)(r,3);return{title:o[0],excerpt:o[1],content:o[2]}}return t},previewLink:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REQUEST_POST_UPDATE_SUCCESS":return e.post.preview_link?e.post.preview_link:e.post.link?Object(O.addQueryArgs)(e.post.link,{preview:!0}):t;case"REQUEST_POST_UPDATE_START":if(t&&e.options.isPreview)return null}return t},postSavingLock:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"LOCK_POST_SAVING":return Object(h.a)({},t,Object(p.a)({},e.lockName,!0));case"UNLOCK_POST_SAVING":return Object(v.omit)(t,e.lockName)}return t},isReady:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"SETUP_EDITOR_STATE":return!0}return t},editorSettings:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"UPDATE_EDITOR_SETTINGS":return Object(h.a)({},t,e.settings)}return t}})),F=n(70),M=n.n(F),V=n(97),z=n.n(V),K=n(26),q=n.n(K),W=n(33),H=n.n(W);function G(t){return{type:"API_FETCH",request:t}}function Q(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o2?n-2:0),o=2;o2?n-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:{};return{type:"REQUEST_POST_UPDATE_START",optimist:{type:b.BEGIN,id:E},options:t}}function ut(t){var e=t.previousPost,n=t.post,r=t.isRevision,o=t.options,i=t.postType;return{type:"REQUEST_POST_UPDATE_SUCCESS",previousPost:e,post:n,optimist:{type:r?b.REVERT:b.COMMIT,id:E},options:o,postType:i}}function lt(t){var e=t.post,n=t.edits,r=t.error,o=t.options;return{type:"REQUEST_POST_UPDATE_FAILURE",optimist:{type:b.REVERT,id:E},post:e,edits:n,error:r,options:o}}function dt(t){return{type:"UPDATE_POST",edits:t}}function pt(t){return{type:"SETUP_EDITOR_STATE",post:t}}function ht(t){return{type:"EDIT_POST",edits:t}}function ft(t){return Object(h.a)({},dt(t),{optimist:{id:E}})}function bt(){var t,e,n,r,o,i,s,a,c,u,l,d,p,f,b,m=arguments;return q.a.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return t=m.length>0&&void 0!==m[0]?m[0]:{},O.next=3,Q(k,"isEditedPostSaveable");case 3:if(O.sent){O.next=6;break}return O.abrupt("return");case 6:return O.next=8,Q(k,"getPostEdits");case 8:return e=O.sent,(n=!!t.isAutosave)&&(e=Object(v.pick)(e,["title","content","excerpt"])),O.next=13,Q(k,"isEditedPostNew");case 13:return O.sent&&(e=Object(h.a)({status:"draft"},e)),O.next=17,Q(k,"getCurrentPost");case 17:return r=O.sent,O.next=20,Q(k,"getEditedPostContent");case 20:return o=O.sent,i=Object(h.a)({},e,{content:o,id:r.id}),O.next=24,Q(k,"getCurrentPostType");case 24:return s=O.sent,O.next=27,Y("core","getPostType",s);case 27:return a=O.sent,O.next=30,$(k,"__experimentalRequestPostUpdateStart",t);case 30:return O.next=32,$(k,"__experimentalOptimisticUpdatePost",i);case 32:if(c="/wp/v2/".concat(a.rest_base,"/").concat(r.id),u="PUT",!n){O.next=43;break}return O.next=37,Q(k,"getAutosave");case 37:l=O.sent,i=Object(h.a)({},Object(v.pick)(r,["title","content","excerpt"]),l,i),c+="/autosaves",u="POST",O.next=47;break;case 43:return O.next=45,$("core/notices","removeNotice",S);case 45:return O.next=47,$("core/notices","removeNotice","autosave-exists");case 47:return O.prev=47,O.next=50,G({path:c,method:u,data:i});case 50:return d=O.sent,p=n?"resetAutosave":"resetPost",O.next=54,$(k,p,d);case 54:return O.next=56,$(k,"__experimentalRequestPostUpdateSuccess",{previousPost:r,post:d,options:t,postType:a,isRevision:d.id!==r.id});case 56:if(!((f=J({previousPost:r,post:d,postType:a,options:t})).length>0)){O.next=60;break}return O.next=60,$.apply(void 0,["core/notices","createSuccessNotice"].concat(Object(x.a)(f)));case 60:O.next=70;break;case 62:return O.prev=62,O.t0=O.catch(47),O.next=66,$(k,"__experimentalRequestPostUpdateFailure",{post:r,edits:e,error:O.t0,options:t});case 66:if(!((b=tt({post:r,edits:e,error:O.t0})).length>0)){O.next=70;break}return O.next=70,$.apply(void 0,["core/notices","createErrorNotice"].concat(Object(x.a)(b)));case 70:case"end":return O.stop()}},et,this,[[47,62]])}function mt(){var t,e,n,r;return q.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Q(k,"getCurrentPost");case 2:return t=o.sent,o.next=5,Q(k,"getCurrentPostType");case 5:return e=o.sent,o.next=8,Y("core","getPostType",e);case 8:return n=o.sent,o.next=11,G({path:"/wp/v2/".concat(n.rest_base,"/").concat(t.id)+"?context=edit&_timestamp=".concat(Date.now())});case 11:return r=o.sent,o.next=14,$(k,"resetPost",r);case 14:case"end":return o.stop()}},nt,this)}function vt(){var t,e,n;return q.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Q(k,"getCurrentPostType");case 2:return t=r.sent,r.next=5,Y("core","getPostType",t);case 5:return e=r.sent,r.next=8,$("core/notices","removeNotice",P);case 8:return r.prev=8,r.next=11,Q(k,"getCurrentPost");case 11:return n=r.sent,r.next=14,G({path:"/wp/v2/".concat(e.rest_base,"/").concat(n.id),method:"DELETE"});case 14:return r.next=16,$(k,"resetPost",Object(h.a)({},n,{status:"trash"}));case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(8),r.next=22,$.apply(void 0,["core/notices","createErrorNotice"].concat(Object(x.a)([(o={error:r.t0}).error.message&&"unknown_error"!==o.error.code?o.error.message:Object(Z.__)("Trashing failed"),{id:P}])));case 22:case"end":return r.stop()}var o},rt,this,[[8,18]])}function Ot(t){return q.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$(k,"savePost",Object(h.a)({isAutosave:!0},t));case 2:case"end":return e.stop()}},ot,this)}function gt(){return{type:"REDO"}}function yt(){return{type:"UNDO"}}function jt(){return{type:"CREATE_UNDO_LEVEL"}}function _t(t){return{type:"UPDATE_POST_LOCK",lock:t}}function kt(t){return{type:"FETCH_REUSABLE_BLOCKS",id:t}}function Et(t){return{type:"RECEIVE_REUSABLE_BLOCKS",results:t}}function St(t){return{type:"SAVE_REUSABLE_BLOCK",id:t}}function Pt(t){return{type:"DELETE_REUSABLE_BLOCK",id:t}}function wt(t,e){return{type:"UPDATE_REUSABLE_BLOCK_TITLE",id:t,title:e}}function Tt(t){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:t}}function Ct(t){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(v.castArray)(t)}}function xt(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function Bt(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function At(t){return{type:"LOCK_POST_SAVING",lockName:t}}function It(t){return{type:"UNLOCK_POST_SAVING",lockName:t}}function Lt(t){return{type:"RESET_EDITOR_BLOCKS",blocks:t,shouldCreateUndoLevel:!1!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).__unstableShouldCreateUndoLevel}}function Rt(t){return{type:"UPDATE_EDITOR_SETTINGS",settings:t}}var Nt=function(t){return q.a.mark(function e(){var n,r,o,i=arguments;return q.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(n=i.length,r=new Array(n),o=0;o0}function ge(t){return t.editor.future.length>0}function ye(t){return"auto-draft"===Ee(t).status}function je(t){return t.editor.present.blocks.isDirty||"content"in t.editor.present.edits}function _e(t){return!!je(t)||(Object.keys(t.editor.present.edits).length>0||pn(t,_e))}function ke(t){return!_e(t)&&ye(t)}function Ee(t){return t.currentPost}function Se(t){return t.currentPost.type}function Pe(t){return Ee(t).id||null}function we(t){return Object(v.get)(Ee(t),["_links","version-history",0,"count"],0)}function Te(t){return Object(v.get)(Ee(t),["_links","predecessor-version",0,"id"],null)}var Ce=Object(fe.a)(function(t){return Object(h.a)({},t.initialEdits,t.editor.present.edits)},function(t){return[t.editor.present.edits,t.initialEdits]}),xe=Object(fe.a)(function(){return[]},function(t){return[t.editor]});function Be(t,e){var n=Ee(t);if(n.hasOwnProperty(e))return n[e]}var Ae=Object(fe.a)(function(t,e){var n=Ce(t);return n.hasOwnProperty(e)?Object(h.a)({},Be(t,e),n[e]):Be(t,e)},function(t,e){return[Object(v.get)(t.editor.present.edits,[e],ve),Object(v.get)(t.currentPost,[e],ve)]});function Ie(t,e){switch(e){case"content":return en(t)}var n=Ce(t);return n.hasOwnProperty(e)?_.has(e)?Ae(t,e):n[e]:Be(t,e)}function Le(t,e){if(!qe(t))return null;var n=Ke(t);return n.hasOwnProperty(e)?n[e]:void 0}function Re(t){return"private"===Ie(t,"status")?"private":Ie(t,"password")?"password":"public"}function Ne(t){return"pending"===Ee(t).status}function Ue(t){var e=Ee(t);return-1!==["publish","private"].indexOf(e.status)||"future"===e.status&&!Object(be.isInTheFuture)(new Date(Number(Object(be.getDate)(e.date))-T))}function De(t){return"future"===Ee(t).status&&!Ue(t)}function Fe(t){var e=Ee(t);return _e(t)||-1===["publish","private","future"].indexOf(e.status)}function Me(t){return!Ge(t)&&(!!Ie(t,"title")||!!Ie(t,"excerpt")||!Ve(t))}function Ve(t){var e=t.editor.present.blocks.value;if(e.length&&!("content"in Ce(t))){if(e.length>1)return!1;var n=e[0].name;if(n!==Object(s.getDefaultBlockName)()&&n!==Object(s.getFreeformContentHandlerName)())return!1}return!en(t)}function ze(t){if(!Me(t))return!1;if(!qe(t))return!0;if(je(t))return!0;var e=Ke(t);return["title","excerpt"].some(function(n){return e[n]!==Ie(t,n)})}function Ke(t){return t.autosave}function qe(t){return!!Ke(t)}function We(t){var e=Ie(t,"date"),n=new Date(Number(Object(be.getDate)(e))-T);return Object(be.isInTheFuture)(n)}function He(t){var e=Ie(t,"date"),n=Ie(t,"modified"),r=Ie(t,"status");return("draft"===r||"auto-draft"===r||"pending"===r)&&e===n}function Ge(t){return t.saving.requesting}function Qe(t){return t.saving.successful}function Ye(t){return!!t.saving.error}function $e(t){return Ge(t)&&!!t.saving.options.isAutosave}function Xe(t){return Ge(t)&&!!t.saving.options.isPreview}function Ze(t){var e=Ie(t,"featured_media"),n=t.previewLink;return n&&e?Object(O.addQueryArgs)(n,{_thumbnail_id:e}):n}function Je(t){var e,n=t.editor.present.blocks.value;switch(1===n.length&&(e=n[0].name),2===n.length&&"core/paragraph"===n[1].name&&(e=n[0].name),e){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":case"core-embed/youtube":case"core-embed/vimeo":return"video";case"core/audio":case"core-embed/spotify":case"core-embed/soundcloud":return"audio"}return null}function tn(t){var e=t.editor.present.blocks.value;return 1===e.length&&Object(s.isUnmodifiedDefaultBlock)(e[0])?[]:e}var en=Object(fe.a)(function(t){var e=Ce(t);if("content"in e)return e.content;var n=tn(t),r=Object(s.serialize)(n);return 1===n.length&&n[0].name===Object(s.getFreeformContentHandlerName)()?Object(me.removep)(r):r},function(t){return[t.editor.present.blocks.value,t.editor.present.edits.content,t.initialEdits.content]}),nn=Object(fe.a)(function(t,e){var n=t.reusableBlocks.data[e];if(!n)return null;var r=isNaN(parseInt(e));return Object(h.a)({},n,{id:r?e:+e,isTemporary:r})},function(t,e){return[t.reusableBlocks.data[e]]});function rn(t,e){return t.reusableBlocks.isSaving[e]||!1}function on(t,e){return!!t.reusableBlocks.isFetching[e]}var sn=Object(fe.a)(function(t){return Object(v.map)(t.reusableBlocks.data,function(e,n){return nn(t,n)})},function(t){return[t.reusableBlocks.data]});function an(t,e){var n=Object(v.find)(t.optimist,function(t){return t.beforeState&&Object(v.get)(t.action,["optimist","id"])===e});return n?n.beforeState:null}function cn(t){if(!Ge(t))return!1;if(!Ue(t))return!1;var e=an(t,E);return!!e&&!Ue(e)}function un(t){var e=Ie(t,"permalink_template");return w.test(e)}function ln(t){var e=dn(t);if(!e)return null;var n=e.prefix,r=e.postName,o=e.suffix;return un(t)?n+r+o:n}function dn(t){var e=Ie(t,"permalink_template");if(!e)return null;var n=Ie(t,"slug")||Ie(t,"generated_slug"),r=e.split(w),o=Object(d.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function pn(t,e){var n=t.optimist;return!!n&&n.some(function(t){var n=t.beforeState;return n&&e(n)})}function hn(t){return t.postLock.isLocked}function fn(t){return Object.keys(t.postSavingLock).length>0}function bn(t){return t.postLock.isTakeover}function mn(t){return t.postLock.user}function vn(t){return t.postLock.activePostLock}function On(t){return Object(v.has)(Ee(t),["_links","wp:action-unfiltered-html"])}function gn(t){return t.preferences.hasOwnProperty("isPublishSidebarEnabled")?t.preferences.isPublishSidebarEnabled:g.isPublishSidebarEnabled}function yn(t){return t.editor.present.blocks.value}function jn(t){return t.isReady}function _n(t){return t.editorSettings}function kn(t){return Object(l.createRegistrySelector)(function(e){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),s=1;s0&&void 0!==arguments[0]?arguments[0]:{},e=t.getBlockInsertionParentClientId,n=void 0===e?Br:e,r=t.getInserterItems,o=void 0===r?Ar:r,a=t.getSelectedBlockName,c=void 0===a?Ir:a;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){var t=c();return o(n()).filter(function(e){return t!==e.name})},getOptionKeywords:function(t){var e=t.title,n=t.keywords,r=void 0===n?[]:n;return[t.category].concat(Object(x.a)(r),[e])},getOptionLabel:function(t){var e=t.icon,n=t.title;return[Object(xr.createElement)(i.BlockIcon,{key:"icon",icon:e,showColors:!0}),n]},allowContext:function(t,e){return!(/\S/.test(t)||/\S/.test(e))},getOptionCompletion:function(t){var e=t.name,n=t.initialAttributes;return{action:"replace",value:Object(s.createBlock)(e,n)}},isOptionDisabled:function(t){return t.isDisabled}}}(),Rr={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(t){var e="";return t&&(e="?search="+encodeURIComponent(t)),H()({path:"/wp/v2/users"+e})},isDebounced:!0,getOptionKeywords:function(t){return[t.slug,t.name]},getOptionLabel:function(t){return[Object(xr.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:t.avatar_urls[24]}),Object(xr.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},t.name),Object(xr.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},t.slug)]},getOptionCompletion:function(t){return"@".concat(t.slug)}},Nr=n(19),Ur=n(21),Dr=n(4),Fr=function(t){var e=t.urlQueryArgs,n=void 0===e?{}:e,r=Object(Ur.a)(t,["urlQueryArgs"]),o=Object(l.select)("core/editor").getCurrentPostId;return n=Object(h.a)({post_id:o()},n),Object(xr.createElement)(Dr.ServerSideRender,Object(Nr.a)({urlQueryArgs:n},r))},Mr=n(10),Vr=n(9),zr=n(11),Kr=n(12),qr=n(13),Wr=n(6),Hr=function(t){function e(){return Object(Mr.a)(this,e),Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDirty,r=e.editsReference,o=e.isAutosaveable,i=e.isAutosaving;r!==t.editsReference&&(this.didAutosaveForEditsReference=!1),!i&&t.isAutosaving&&(this.didAutosaveForEditsReference=!0),t.isDirty===n&&t.isAutosaveable===o&&t.editsReference===r||this.toggleTimer(n&&o&&!this.didAutosaveForEditsReference)}},{key:"componentWillUnmount",value:function(){this.toggleTimer(!1)}},{key:"toggleTimer",value:function(t){var e=this;clearTimeout(this.pendingSave);var n=this.props.autosaveInterval;t&&(this.pendingSave=setTimeout(function(){return e.props.autosave()},1e3*n))}},{key:"render",value:function(){return null}}]),e}(xr.Component),Gr=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isEditedPostDirty,r=e.isEditedPostAutosaveable,o=e.getReferenceByDistinctEdits,i=e.isAutosavingPost,s=t("core/editor").getEditorSettings().autosaveInterval;return{isDirty:n(),isAutosaveable:r(),editsReference:o(),isAutosaving:i(),autosaveInterval:s}}),Object(l.withDispatch)(function(t){return{autosave:t("core/editor").autosave}})])(Hr),Qr=n(16),Yr=n.n(Qr),$r=function(t){var e=t.children,n=t.isValid,r=t.level,o=t.path,s=void 0===o?[]:o,a=t.href,c=t.onSelect;return Object(xr.createElement)("li",{className:Yr()("document-outline__item","is-".concat(r.toLowerCase()),{"is-invalid":!n})},Object(xr.createElement)("a",{href:a,className:"document-outline__button",onClick:c},Object(xr.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),s.map(function(t,e){var n=t.clientId;return Object(xr.createElement)("strong",{key:e,className:"document-outline__level"},Object(xr.createElement)(i.BlockTitle,{clientId:n}))}),Object(xr.createElement)("strong",{className:"document-outline__level"},r),Object(xr.createElement)("span",{className:"document-outline__item-content"},e)))},Xr=Object(xr.createElement)("em",null,Object(Z.__)("(Empty heading)")),Zr=[Object(xr.createElement)("br",{key:"incorrect-break"}),Object(xr.createElement)("em",{key:"incorrect-message"},Object(Z.__)("(Incorrect heading level)"))],Jr=[Object(xr.createElement)("br",{key:"incorrect-break-h1"}),Object(xr.createElement)("em",{key:"incorrect-message-h1"},Object(Z.__)("(Your theme may already use a H1 for the post title)"))],to=[Object(xr.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(xr.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(Z.__)("(Multiple H1 headings are not recommended)"))],eo=function(t){return!t.attributes.content||0===t.attributes.content.length},no=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/block-editor").getBlocks,n=t("core/editor").getEditedPostAttribute,r=(0,t("core").getPostType)(n("type"));return{title:n("title"),blocks:e(),isTitleSupported:Object(v.get)(r,["supports","title"],!1)}}))(function(t){var e=t.blocks,n=void 0===e?[]:e,r=t.title,o=t.onSelect,i=t.isTitleSupported,s=t.hasOutlineItemsDisabled,a=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(v.flatMap)(e,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===e.name?Object(h.a)({},e,{path:n,level:e.attributes.level,isEmpty:eo(e)}):t(e.innerBlocks,[].concat(Object(x.a)(n),[e]))})}(n);if(a.length<1)return null;var u=1,l=document.querySelector(".editor-post-title__input"),d=i&&r&&l,p=Object(v.countBy)(a,"level")[1]>1;return Object(xr.createElement)("div",{className:"document-outline"},Object(xr.createElement)("ul",null,d&&Object(xr.createElement)($r,{level:Object(Z.__)("Title"),isValid:!0,onSelect:o,href:"#".concat(l.id),isDisabled:s},r),a.map(function(t,e){var n=t.level>u+1,r=!(t.isEmpty||n||!t.level||1===t.level&&(p||d));return u=t.level,Object(xr.createElement)($r,{key:e,level:"H".concat(t.level),isValid:r,path:t.path,isDisabled:s,href:"#block-".concat(t.clientId),onSelect:o},t.isEmpty?Xr:Object(c.getTextContent)(Object(c.create)({html:t.attributes.content})),n&&Zr,1===t.level&&p&&to,d&&1===t.level&&!p&&Jr)})))});var ro=Object(l.withSelect)(function(t){return{blocks:t("core/block-editor").getBlocks()}})(function(t){var e=t.blocks,n=t.children;return Object(v.filter)(e,function(t){return"core/heading"===t.name}).length<1?null:n}),oo=n(3),io=n(18),so=n(49),ao=n.n(so);var co=Object(Wr.compose)([Object(l.withSelect)(function(t){return{isDirty:(0,t("core/editor").isEditedPostDirty)()}}),Object(l.withDispatch)(function(t,e,n){var r=n.select,o=t("core/editor").savePost;return{onSave:function(){(0,r("core/editor").isEditedPostDirty)()&&o()}}})])(function(t){var e=t.onSave;return Object(xr.createElement)(Dr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.a)({},io.rawShortcut.primary("s"),function(t){t.preventDefault(),e()})})}),uo=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).undoOrRedo=t.undoOrRedo.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"undoOrRedo",value:function(t){var e=this.props,n=e.onRedo,r=e.onUndo;t.shiftKey?n():r(),t.preventDefault()}},{key:"render",value:function(){var t;return Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)(i.BlockEditorKeyboardShortcuts,null),Object(xr.createElement)(Dr.KeyboardShortcuts,{shortcuts:(t={},Object(p.a)(t,io.rawShortcut.primary("z"),this.undoOrRedo),Object(p.a)(t,io.rawShortcut.primaryShift("z"),this.undoOrRedo),t)}),Object(xr.createElement)(co,null))}}]),e}(xr.Component),lo=Object(l.withDispatch)(function(t){var e=t("core/editor");return{onRedo:e.redo,onUndo:e.undo}})(uo),po=lo;function ho(){return ao()("EditorGlobalKeyboardShortcuts",{alternative:"VisualEditorGlobalKeyboardShortcuts",plugin:"Gutenberg"}),Object(xr.createElement)(lo,null)}function fo(){return Object(xr.createElement)(co,null)}var bo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{hasRedo:t("core/editor").hasEditorRedo()}}),Object(l.withDispatch)(function(t){return{redo:t("core/editor").redo}})])(function(t){var e=t.hasRedo,n=t.redo;return Object(xr.createElement)(Dr.IconButton,{icon:"redo",label:Object(Z.__)("Redo"),shortcut:io.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?n:void 0,className:"editor-history__redo"})});var mo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{hasUndo:t("core/editor").hasEditorUndo()}}),Object(l.withDispatch)(function(t){return{undo:t("core/editor").undo}})])(function(t){var e=t.hasUndo,n=t.undo;return Object(xr.createElement)(Dr.IconButton,{icon:"undo",label:Object(Z.__)("Undo"),shortcut:io.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?n:void 0,className:"editor-history__undo"})});var vo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{isValid:t("core/block-editor").isValidTemplate()}}),Object(l.withDispatch)(function(t){var e=t("core/block-editor"),n=e.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:e.synchronizeTemplate}})])(function(t){var e=t.isValid,n=Object(Ur.a)(t,["isValid"]);return e?null:Object(xr.createElement)(Dr.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(xr.createElement)("p",null,Object(Z.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(xr.createElement)("div",null,Object(xr.createElement)(Dr.Button,{isDefault:!0,onClick:n.resetTemplateValidity},Object(Z.__)("Keep it as is")),Object(xr.createElement)(Dr.Button,{onClick:function(){window.confirm(Object(Z.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(Z.__)("Reset the template"))))});var Oo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{notices:t("core/notices").getNotices()}}),Object(l.withDispatch)(function(t){return{onRemove:t("core/notices").removeNotice}})])(function(t){var e=t.dismissible,n=t.notices,r=Object(Ur.a)(t,["dismissible","notices"]);return void 0!==e&&(n=Object(v.filter)(n,{isDismissible:e})),Object(xr.createElement)(Dr.NoticeList,Object(Nr.a)({notices:n},r),!1!==e&&Object(xr.createElement)(vo,null))}),go=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).reboot=t.reboot.bind(Object(oo.a)(Object(oo.a)(t))),t.getContent=t.getContent.bind(Object(oo.a)(Object(oo.a)(t))),t.state={error:null},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidCatch",value:function(t){this.setState({error:t})}},{key:"reboot",value:function(){this.props.onError()}},{key:"getContent",value:function(){try{return Object(l.select)("core/editor").getEditedPostContent()}catch(t){}}},{key:"render",value:function(){var t=this.state.error;return t?Object(xr.createElement)(i.Warning,{className:"editor-error-boundary",actions:[Object(xr.createElement)(Dr.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(Z.__)("Attempt Recovery")),Object(xr.createElement)(Dr.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(Z.__)("Copy Post Text")),Object(xr.createElement)(Dr.ClipboardButton,{key:"copy-error",text:t.stack,isLarge:!0},Object(Z.__)("Copy Error"))]},Object(Z.__)("The editor has encountered an unexpected error.")):this.props.children}}]),e}(xr.Component);var yo=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getEditorSettings,o=t("core").getPostType,i=r().availableTemplates;return{postType:o(n("type")),availableTemplates:i}})(function(t){var e=t.availableTemplates,n=t.postType,r=t.children;return!Object(v.get)(n,["supports","page-attributes"],!1)&&Object(v.isEmpty)(e)?null:r});var jo=Object(l.withSelect)(function(t){var e=t("core/editor").getEditedPostAttribute;return{postType:(0,t("core").getPostType)(e("type"))}})(function(t){var e=t.postType,n=t.children,r=t.supportKeys,o=!0;return e&&(o=Object(v.some)(Object(v.castArray)(r),function(t){return!!e.supports[t]})),o?n:null}),_o=Object(Wr.withState)({orderInput:null})(function(t){var e=t.onUpdateOrder,n=t.order,r=void 0===n?0:n,o=t.orderInput,i=t.setState,s=null===o?r:o;return Object(xr.createElement)(Dr.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(Z.__)("Order"),value:s,onChange:function(t){i({orderInput:t});var n=Number(t);Number.isInteger(n)&&""!==Object(v.invoke)(t,["trim"])&&e(Number(t))},size:6,onBlur:function(){i({orderInput:null})}})});var ko=Object(Wr.compose)([Object(l.withSelect)(function(t){return{order:t("core/editor").getEditedPostAttribute("menu_order")}}),Object(l.withDispatch)(function(t){return{onUpdateOrder:function(e){t("core/editor").editPost({menu_order:e})}}})])(function(t){return Object(xr.createElement)(jo,{supportKeys:"page-attributes"},Object(xr.createElement)(_o,t))});function Eo(t){var e=t.map(function(t){return Object(h.a)({children:[],parent:null},t)}),n=Object(v.groupBy)(e,"parent");if(n.null&&n.null.length)return e;return function t(e){return e.map(function(e){var r=n[e.id];return Object(h.a)({},e,{children:r&&r.length?t(r):[]})})}(n[0]||[])}var So=Object(l.withSelect)(function(t){var e=t("core"),n=e.getPostType,r=e.getEntityRecords,o=t("core/editor"),i=o.getCurrentPostId,s=o.getEditedPostAttribute,a=s("type"),c=n(a),u=i(),l=Object(v.get)(c,["hierarchical"],!1),d={per_page:-1,exclude:u,parent_exclude:u,orderby:"menu_order",order:"asc"};return{parent:s("parent"),items:l?r("postType",a,d):[],postType:c}}),Po=Object(l.withDispatch)(function(t){var e=t("core/editor").editPost;return{onUpdateParent:function(t){e({parent:t||0})}}}),wo=Object(Wr.compose)([So,Po])(function(t){var e=t.parent,n=t.postType,r=t.items,o=t.onUpdateParent,i=Object(v.get)(n,["hierarchical"],!1),s=Object(v.get)(n,["labels","parent_item_colon"]),a=r||[];if(!i||!s||!a.length)return null;var c=Eo(a.map(function(t){return{id:t.id,parent:t.parent,name:t.title.raw?t.title.raw:"#".concat(t.id," (").concat(Object(Z.__)("no title"),")")}}));return Object(xr.createElement)(Dr.TreeSelect,{className:"editor-page-attributes__parent",label:s,noOptionLabel:"(".concat(Object(Z.__)("no parent"),")"),tree:c,selectedId:e,onChange:o})});var To=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=(0,e.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}}),Object(l.withDispatch)(function(t){return{onUpdate:function(e){t("core/editor").editPost({template:e||""})}}}))(function(t){var e=t.availableTemplates,n=t.selectedTemplate,r=t.onUpdate;return Object(v.isEmpty)(e)?null:Object(xr.createElement)(Dr.SelectControl,{label:Object(Z.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(v.map)(e,function(t,e){return{value:e,label:t}})})});var Co=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(v.get)(e,["_links","wp:action-assign-author"],!1),postType:t("core/editor").getCurrentPostType(),authors:t("core").getAuthors()}}),Wr.withInstanceId])(function(t){var e=t.hasAssignAuthorAction,n=t.authors,r=t.children;return!e||n.length<2?null:Object(xr.createElement)(jo,{supportKeys:"author"},r)}),xo=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).setAuthorId=t.setAuthorId.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"setAuthorId",value:function(t){var e=this.props.onUpdateAuthor,n=t.target.value;e(Number(n))}},{key:"render",value:function(){var t=this.props,e=t.postAuthor,n=t.instanceId,r=t.authors,o="post-author-selector-"+n;return Object(xr.createElement)(Co,null,Object(xr.createElement)("label",{htmlFor:o},Object(Z.__)("Author")),Object(xr.createElement)("select",{id:o,value:e,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map(function(t){return Object(xr.createElement)("option",{key:t.id,value:t.id},t.name)})))}}]),e}(xr.Component),Bo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{postAuthor:t("core/editor").getEditedPostAttribute("author"),authors:t("core").getAuthors()}}),Object(l.withDispatch)(function(t){return{onUpdateAuthor:function(e){t("core/editor").editPost({author:e})}}}),Wr.withInstanceId])(xo);var Ao=Object(Wr.compose)([Object(l.withSelect)(function(t){return{commentStatus:t("core/editor").getEditedPostAttribute("comment_status")}}),Object(l.withDispatch)(function(t){return{editPost:t("core/editor").editPost}})])(function(t){var e=t.commentStatus,n=void 0===e?"open":e,r=Object(Ur.a)(t,["commentStatus"]);return Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Allow Comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})});var Io=Object(Wr.compose)([Object(l.withSelect)(function(t){return{excerpt:t("core/editor").getEditedPostAttribute("excerpt")}}),Object(l.withDispatch)(function(t){return{onUpdateExcerpt:function(e){t("core/editor").editPost({excerpt:e})}}})])(function(t){var e=t.excerpt,n=t.onUpdateExcerpt;return Object(xr.createElement)("div",{className:"editor-post-excerpt"},Object(xr.createElement)(Dr.TextareaControl,{label:Object(Z.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(t){return n(t)},value:e}),Object(xr.createElement)(Dr.ExternalLink,{href:Object(Z.__)("https://codex.wordpress.org/Excerpt")},Object(Z.__)("Learn more about manual excerpts")))});var Lo=function(t){return Object(xr.createElement)(jo,Object(Nr.a)({},t,{supportKeys:"excerpt"}))};var Ro=Object(l.withSelect)(function(t){var e=t("core").getThemeSupports;return{postType:(0,t("core/editor").getEditedPostAttribute)("type"),themeSupports:e()}})(function(t){var e=t.themeSupports,n=t.children,r=t.postType,o=t.supportKeys;return Object(v.some)(Object(v.castArray)(o),function(t){var n=Object(v.get)(e,[t],!1);return"post-thumbnails"===t&&Object(v.isArray)(n)?Object(v.includes)(n,r):n})?n:null});var No=function(t){return Object(xr.createElement)(Ro,{supportKeys:"post-thumbnails"},Object(xr.createElement)(jo,Object(Nr.a)({},t,{supportKeys:"thumbnail"})))},Uo=["image"],Do=Object(Z.__)("Featured Image"),Fo=Object(Z.__)("Set featured image"),Mo=Object(Z.__)("Remove image");var Vo=Object(l.withSelect)(function(t){var e=t("core"),n=e.getMedia,r=e.getPostType,o=t("core/editor"),i=o.getCurrentPostId,s=o.getEditedPostAttribute,a=s("featured_media");return{media:a?n(a):null,currentPostId:i(),postType:r(s("type")),featuredImageId:a}}),zo=Object(l.withDispatch)(function(t){var e=t("core/editor").editPost;return{onUpdateImage:function(t){e({featured_media:t.id})},onRemoveImage:function(){e({featured_media:0})}}}),Ko=Object(Wr.compose)(Vo,zo,Object(Dr.withFilters)("editor.PostFeaturedImage"))(function(t){var e,n,r,o=t.currentPostId,s=t.featuredImageId,a=t.onUpdateImage,c=t.onRemoveImage,u=t.media,l=t.postType,d=Object(v.get)(l,["labels"],{}),p=Object(xr.createElement)("p",null,Object(Z.__)("To edit the featured image, you need permission to upload media."));if(u){var h=Object(Cr.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",u.id,o);Object(v.has)(u,["media_details","sizes",h])?(e=u.media_details.sizes[h].width,n=u.media_details.sizes[h].height,r=u.media_details.sizes[h].source_url):(e=u.media_details.width,n=u.media_details.height,r=u.source_url)}return Object(xr.createElement)(No,null,Object(xr.createElement)("div",{className:"editor-post-featured-image"},Object(xr.createElement)(i.MediaUploadCheck,{fallback:p},Object(xr.createElement)(i.MediaUpload,{title:d.featured_image||Do,onSelect:a,allowedTypes:Uo,modalClass:"editor-post-featured-image__media-modal",render:function(t){var o=t.open;return Object(xr.createElement)(Dr.Button,{className:s?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o,"aria-label":s?Object(Z.__)("Edit or update the image"):null},!!s&&u&&Object(xr.createElement)(Dr.ResponsiveWrapper,{naturalWidth:e,naturalHeight:n},Object(xr.createElement)("img",{src:r,alt:""})),!!s&&!u&&Object(xr.createElement)(Dr.Spinner,null),!s&&(d.set_featured_image||Fo))},value:s})),!!s&&u&&!u.isLoading&&Object(xr.createElement)(i.MediaUploadCheck,null,Object(xr.createElement)(i.MediaUpload,{title:d.featured_image||Do,onSelect:a,allowedTypes:Uo,modalClass:"editor-post-featured-image__media-modal",render:function(t){var e=t.open;return Object(xr.createElement)(Dr.Button,{onClick:e,isDefault:!0,isLarge:!0},Object(Z.__)("Replace image"))}})),!!s&&Object(xr.createElement)(i.MediaUploadCheck,null,Object(xr.createElement)(Dr.Button,{onClick:c,isLink:!0,isDestructive:!0},d.remove_featured_image||Mo))))});var qo=Object(l.withSelect)(function(t){return{disablePostFormats:t("core/editor").getEditorSettings().disablePostFormats}})(function(t){var e=t.disablePostFormats,n=Object(Ur.a)(t,["disablePostFormats"]);return!e&&Object(xr.createElement)(jo,Object(Nr.a)({},n,{supportKeys:"post-formats"}))}),Wo=[{id:"aside",caption:Object(Z.__)("Aside")},{id:"gallery",caption:Object(Z.__)("Gallery")},{id:"link",caption:Object(Z.__)("Link")},{id:"image",caption:Object(Z.__)("Image")},{id:"quote",caption:Object(Z.__)("Quote")},{id:"standard",caption:Object(Z.__)("Standard")},{id:"status",caption:Object(Z.__)("Status")},{id:"video",caption:Object(Z.__)("Video")},{id:"audio",caption:Object(Z.__)("Audio")},{id:"chat",caption:Object(Z.__)("Chat")}];var Ho=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getSuggestedPostFormat,o=n("format"),i=t("core").getThemeSupports();return{postFormat:o,supportedFormats:Object(v.union)([o],Object(v.get)(i,["formats"],[])),suggestedFormat:r()}}),Object(l.withDispatch)(function(t){return{onUpdatePostFormat:function(e){t("core/editor").editPost({format:e})}}}),Wr.withInstanceId])(function(t){var e=t.onUpdatePostFormat,n=t.postFormat,r=void 0===n?"standard":n,o=t.supportedFormats,i=t.suggestedFormat,s="post-format-selector-"+t.instanceId,a=Wo.filter(function(t){return Object(v.includes)(o,t.id)}),c=Object(v.find)(a,function(t){return t.id===i});return Object(xr.createElement)(qo,null,Object(xr.createElement)("div",{className:"editor-post-format"},Object(xr.createElement)("div",{className:"editor-post-format__content"},Object(xr.createElement)("label",{htmlFor:s},Object(Z.__)("Post Format")),Object(xr.createElement)(Dr.SelectControl,{value:r,onChange:function(t){return e(t)},id:s,options:a.map(function(t){return{label:t.caption,value:t.id}})})),c&&c.id!==r&&Object(xr.createElement)("div",{className:"editor-post-format__suggestion"},Object(Z.__)("Suggestion:")," ",Object(xr.createElement)(Dr.Button,{isLink:!0,onClick:function(){return e(c.id)}},c.caption))))});var Go=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPostLastRevisionId,r=e.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}})(function(t){var e=t.lastRevisionId,n=t.revisionsCount,r=t.children;return!e||n<2?null:Object(xr.createElement)(jo,{supportKeys:"revisions"},r)});function Qo(t,e){return Object(O.addQueryArgs)(t,e)}function Yo(t){return Object(v.toLower)(Object(v.deburr)(Object(v.trim)(t.replace(/[\s\.\/_]+/g,"-"),"-")))}var $o=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPostLastRevisionId,r=e.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}})(function(t){var e=t.lastRevisionId,n=t.revisionsCount;return Object(xr.createElement)(Go,null,Object(xr.createElement)(Dr.IconButton,{href:Qo("revision.php",{revision:e,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(Z.sprintf)(Object(Z._n)("%d Revision","%d Revisions",n),n)))});var Xo=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).openPreviewWindow=t.openPreviewWindow.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidUpdate",value:function(t){var e=this.props.previewLink;e&&!t.previewLink&&this.setPreviewWindowLink(e)}},{key:"setPreviewWindowLink",value:function(t){var e=this.previewWindow;e&&!e.closed&&(e.location=t)}},{key:"getWindowTarget",value:function(){var t=this.props.postId;return"wp-preview-".concat(t)}},{key:"openPreviewWindow",value:function(t){var e,n;(t.preventDefault(),this.previewWindow&&!this.previewWindow.closed||(this.previewWindow=window.open("",this.getWindowTarget())),this.previewWindow.focus(),this.props.isAutosaveable)?(this.props.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),e=this.previewWindow.document,n=Object(xr.renderToString)(Object(xr.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(xr.createElement)(Dr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(xr.createElement)(Dr.Path,{className:"outer",d:"M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",fill:"none"}),Object(xr.createElement)(Dr.Path,{className:"inner",d:"M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",fill:"none"})),Object(xr.createElement)("p",null,Object(Z.__)("Generating preview…")))),n+='\n\t\t\n\t',n=Object(Cr.applyFilters)("editor.PostPreview.interstitialMarkup",n),e.write(n),e.title=Object(Z.__)("Generating preview…"),e.close()):this.setPreviewWindowLink(t.target.href)}},{key:"render",value:function(){var t=this.props,e=t.previewLink,n=t.currentPostLink,r=t.isSaveable,o=e||n;return Object(xr.createElement)(Dr.Button,{isLarge:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(Z._x)("Preview","imperative verb"),Object(xr.createElement)("span",{className:"screen-reader-text"},Object(Z.__)("(opens in a new tab)")),Object(xr.createElement)(a.DotTip,{tipId:"core/editor.preview"},Object(Z.__)("Click “Preview” to load a preview of this page, so you can make sure you’re happy with your blocks.")))}}]),e}(xr.Component),Zo=Object(Wr.compose)([Object(l.withSelect)(function(t,e){var n=e.forcePreviewLink,r=e.forceIsAutosaveable,o=t("core/editor"),i=o.getCurrentPostId,s=o.getCurrentPostAttribute,a=o.getEditedPostAttribute,c=o.isEditedPostSaveable,u=o.isEditedPostAutosaveable,l=o.getEditedPostPreviewLink,d=t("core").getPostType,p=l(),h=d(a("type"));return{postId:i(),currentPostLink:s("link"),previewLink:void 0!==n?n:p,isSaveable:c(),isAutosaveable:r||u(),isViewable:Object(v.get)(h,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}}),Object(l.withDispatch)(function(t){return{autosave:t("core/editor").autosave,savePost:t("core/editor").savePost}}),Object(Wr.ifCondition)(function(t){return t.isViewable})])(Xo),Jo=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).sendPostLock=t.sendPostLock.bind(Object(oo.a)(Object(oo.a)(t))),t.receivePostLock=t.receivePostLock.bind(Object(oo.a)(Object(oo.a)(t))),t.releasePostLock=t.releasePostLock.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){var t=this.getHookName();Object(Cr.addAction)("heartbeat.send",t,this.sendPostLock),Object(Cr.addAction)("heartbeat.tick",t,this.receivePostLock)}},{key:"componentWillUnmount",value:function(){var t=this.getHookName();Object(Cr.removeAction)("heartbeat.send",t),Object(Cr.removeAction)("heartbeat.tick",t)}},{key:"getHookName",value:function(){return"core/editor/post-locked-modal-"+this.props.instanceId}},{key:"sendPostLock",value:function(t){var e=this.props,n=e.isLocked,r=e.activePostLock,o=e.postId;n||(t["wp-refresh-post-lock"]={lock:r,post_id:o})}},{key:"receivePostLock",value:function(t){if(t["wp-refresh-post-lock"]){var e=this.props,n=e.autosave,r=e.updatePostLock,o=t["wp-refresh-post-lock"];o.lock_error?(n(),r({isLocked:!0,isTakeover:!0,user:{avatar:o.lock_error.avatar_src}})):o.new_lock&&r({isLocked:!1,activePostLock:o.new_lock})}}},{key:"releasePostLock",value:function(){var t=this.props,e=t.isLocked,n=t.activePostLock,r=t.postLockUtils,o=t.postId;if(!e&&n){var i=new window.FormData;i.append("action","wp-remove-post-lock"),i.append("_wpnonce",r.unlockNonce),i.append("post_ID",o),i.append("active_post_lock",n);var s=new window.XMLHttpRequest;s.open("POST",r.ajaxUrl,!1),s.send(i)}}},{key:"render",value:function(){var t=this.props,e=t.user,n=t.postId,r=t.isLocked,o=t.isTakeover,i=t.postLockUtils,s=t.postType;if(!r)return null;var a=e.name,c=e.avatar,u=Object(O.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),l=Qo("edit.php",{post_type:Object(v.get)(s,["slug"])}),d=Object(Z.__)("Exit the Editor");return Object(xr.createElement)(Dr.Modal,{title:o?Object(Z.__)("Someone else has taken over this post."):Object(Z.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissable:!1,className:"editor-post-locked-modal"},!!c&&Object(xr.createElement)("img",{src:c,alt:Object(Z.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(xr.createElement)("div",null,Object(xr.createElement)("div",null,a?Object(Z.sprintf)(Object(Z.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(Z.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(xr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(xr.createElement)(Dr.Button,{isPrimary:!0,isLarge:!0,href:l},d))),!o&&Object(xr.createElement)("div",null,Object(xr.createElement)("div",null,a?Object(Z.sprintf)(Object(Z.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(Z.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(xr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(xr.createElement)(Dr.Button,{isDefault:!0,isLarge:!0,href:l},d),Object(xr.createElement)(Zo,null),Object(xr.createElement)(Dr.Button,{isPrimary:!0,isLarge:!0,href:u},Object(Z.__)("Take Over")))))}}]),e}(xr.Component),ti=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isPostLocked,r=e.isPostLockTakeover,o=e.getPostLockUser,i=e.getCurrentPostId,s=e.getActivePostLock,a=e.getEditedPostAttribute,c=e.getEditorSettings,u=t("core").getPostType;return{isLocked:n(),isTakeover:r(),user:o(),postId:i(),postLockUtils:c().postLockUtils,activePostLock:s(),postType:u(a("type"))}}),Object(l.withDispatch)(function(t){var e=t("core/editor");return{autosave:e.autosave,updatePostLock:e.updatePostLock}}),Wr.withInstanceId,Object(Wr.withGlobalEvents)({beforeunload:"releasePostLock"}))(Jo);var ei=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isCurrentPostPublished,r=e.getCurrentPostType,o=e.getCurrentPost;return{hasPublishAction:Object(v.get)(o(),["_links","wp:action-publish"],!1),isPublished:n(),postType:r()}}))(function(t){var e=t.hasPublishAction,n=t.isPublished,r=t.children;return n||!e?null:r});var ni=Object(Wr.compose)(Object(l.withSelect)(function(t){return{status:t("core/editor").getEditedPostAttribute("status")}}),Object(l.withDispatch)(function(t){return{onUpdateStatus:function(e){t("core/editor").editPost({status:e})}}}))(function(t){var e=t.status,n=t.onUpdateStatus;return Object(xr.createElement)(ei,null,Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Pending Review"),checked:"pending"===e,onChange:function(){n("pending"===e?"draft":"pending")}}))});var ri=Object(Wr.compose)([Object(l.withSelect)(function(t){return{pingStatus:t("core/editor").getEditedPostAttribute("ping_status")}}),Object(l.withDispatch)(function(t){return{editPost:t("core/editor").editPost}})])(function(t){var e=t.pingStatus,n=void 0===e?"open":e,r=Object(Ur.a)(t,["pingStatus"]);return Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Allow Pingbacks & Trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})});var oi=Object(Wr.compose)([Object(l.withSelect)(function(t,e){var n=e.forceIsSaving,r=t("core/editor"),o=r.isCurrentPostPublished,i=r.isEditedPostBeingScheduled,s=r.isSavingPost,a=r.isPublishingPost,c=r.getCurrentPost,u=r.getCurrentPostType,l=r.isAutosavingPost;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||s(),isPublishing:a(),hasPublishAction:Object(v.get)(c(),["_links","wp:action-publish"],!1),postType:u(),isAutosaving:l()}})])(function(t){var e=t.isPublished,n=t.isBeingScheduled,r=t.isSaving,o=t.isPublishing,i=t.hasPublishAction,s=t.isAutosaving;return o?Object(Z.__)("Publishing…"):e&&r&&!s?Object(Z.__)("Updating…"):n&&r&&!s?Object(Z.__)("Scheduling…"):i?e?Object(Z.__)("Update"):n?Object(Z.__)("Schedule"):Object(Z.__)("Publish"):Object(Z.__)("Submit for Review")}),ii=function(t){function e(t){var n;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).call(this,t))).buttonNode=Object(xr.createRef)(),n}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.buttonNode.current.focus()}},{key:"render",value:function(){var t,e=this.props,n=e.forceIsDirty,r=e.forceIsSaving,o=e.hasPublishAction,i=e.isBeingScheduled,s=e.isOpen,c=e.isPostSavingLocked,u=e.isPublishable,l=e.isPublished,d=e.isSaveable,p=e.isSaving,h=e.isToggle,f=e.onSave,b=e.onStatusChange,m=e.onSubmit,O=void 0===m?v.noop:m,g=e.onToggle,y=e.visibility,j=p||r||!d||c||!u&&!n,_=l||p||r||!d||!u&&!n;t=o?i?"future":"private"===y?"private":"publish":"pending";var k={"aria-disabled":j,className:"editor-post-publish-button",isBusy:p&&l,isLarge:!0,isPrimary:!0,onClick:function(){j||(O(),b(t),f())}},E={"aria-disabled":_,"aria-expanded":s,className:"editor-post-publish-panel__toggle",isBusy:p&&l,isPrimary:!0,onClick:function(){_||g()}},S=i?Object(Z.__)("Schedule…"):Object(Z.__)("Publish…"),P=Object(xr.createElement)(oi,{forceIsSaving:r}),w=h?E:k,T=h?S:P;return Object(xr.createElement)(Dr.Button,Object(Nr.a)({ref:this.buttonNode},w),T,Object(xr.createElement)(a.DotTip,{tipId:"core/editor.publish"},Object(Z.__)("Finished writing? That’s great, let’s get this published right now. Just click “Publish” and you’re good to go.")))}}]),e}(xr.Component),si=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isSavingPost,r=e.isEditedPostBeingScheduled,o=e.getEditedPostVisibility,i=e.isCurrentPostPublished,s=e.isEditedPostSaveable,a=e.isEditedPostPublishable,c=e.isPostSavingLocked,u=e.getCurrentPost,l=e.getCurrentPostType;return{isSaving:n(),isBeingScheduled:r(),visibility:o(),isSaveable:s(),isPostSavingLocked:c(),isPublishable:a(),isPublished:i(),hasPublishAction:Object(v.get)(u(),["_links","wp:action-publish"],!1),postType:l()}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.editPost;return{onStatusChange:function(t){return n({status:t})},onSave:e.savePost}})])(ii),ai=[{value:"public",label:Object(Z.__)("Public"),info:Object(Z.__)("Visible to everyone.")},{value:"private",label:Object(Z.__)("Private"),info:Object(Z.__)("Only visible to site admins and editors.")},{value:"password",label:Object(Z.__)("Password Protected"),info:Object(Z.__)("Protected with a password you choose. Only those with the password can view this post.")}],ci=function(t){function e(t){var n;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).setPublic=n.setPublic.bind(Object(oo.a)(Object(oo.a)(n))),n.setPrivate=n.setPrivate.bind(Object(oo.a)(Object(oo.a)(n))),n.setPasswordProtected=n.setPasswordProtected.bind(Object(oo.a)(Object(oo.a)(n))),n.updatePassword=n.updatePassword.bind(Object(oo.a)(Object(oo.a)(n))),n.state={hasPassword:!!t.password},n}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"setPublic",value:function(){var t=this.props,e=t.visibility,n=t.onUpdateVisibility,r=t.status;n("private"===e?"draft":r),this.setState({hasPassword:!1})}},{key:"setPrivate",value:function(){if(window.confirm(Object(Z.__)("Would you like to privately publish this post now?"))){var t=this.props,e=t.onUpdateVisibility,n=t.onSave;e("private"),this.setState({hasPassword:!1}),n()}}},{key:"setPasswordProtected",value:function(){var t=this.props,e=t.visibility,n=t.onUpdateVisibility,r=t.status;n("private"===e?"draft":r,t.password||""),this.setState({hasPassword:!0})}},{key:"updatePassword",value:function(t){var e=this.props,n=e.status;(0,e.onUpdateVisibility)(n,t.target.value)}},{key:"render",value:function(){var t=this.props,e=t.visibility,n=t.password,r=t.instanceId,o={public:{onSelect:this.setPublic,checked:"public"===e&&!this.state.hasPassword},private:{onSelect:this.setPrivate,checked:"private"===e},password:{onSelect:this.setPasswordProtected,checked:this.state.hasPassword}};return[Object(xr.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(xr.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(Z.__)("Post Visibility")),ai.map(function(t){var e=t.value,n=t.label,i=t.info;return Object(xr.createElement)("div",{key:e,className:"editor-post-visibility__choice"},Object(xr.createElement)("input",{type:"radio",name:"editor-post-visibility__setting-".concat(r),value:e,onChange:o[e].onSelect,checked:o[e].checked,id:"editor-post-".concat(e,"-").concat(r),"aria-describedby":"editor-post-".concat(e,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-radio"}),Object(xr.createElement)("label",{htmlFor:"editor-post-".concat(e,"-").concat(r),className:"editor-post-visibility__dialog-label"},n),Object(xr.createElement)("p",{id:"editor-post-".concat(e,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-info"},i))})),this.state.hasPassword&&Object(xr.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(xr.createElement)("label",{htmlFor:"editor-post-visibility__dialog-password-input-".concat(r),className:"screen-reader-text"},Object(Z.__)("Create password")),Object(xr.createElement)("input",{className:"editor-post-visibility__dialog-password-input",id:"editor-post-visibility__dialog-password-input-".concat(r),type:"text",onChange:this.updatePassword,value:n,placeholder:Object(Z.__)("Use a secure password")}))]}}]),e}(xr.Component),ui=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.savePost,r=e.editPost;return{onSave:n,onUpdateVisibility:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r({status:t,password:e})}}}),Wr.withInstanceId])(ci);var li=Object(l.withSelect)(function(t){return{visibility:t("core/editor").getEditedPostVisibility()}})(function(t){var e=t.visibility;return Object(v.find)(ai,{value:e}).label});var di=Object(Wr.compose)([Object(l.withSelect)(function(t){return{date:t("core/editor").getEditedPostAttribute("date")}}),Object(l.withDispatch)(function(t){return{onUpdateDate:function(e){t("core/editor").editPost({date:e})}}})])(function(t){var e=t.date,n=t.onUpdateDate,r=Object(be.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(xr.createElement)(Dr.DateTimePicker,{key:"date-time-picker",currentDate:e,onChange:n,is12Hour:o})});var pi=Object(l.withSelect)(function(t){return{date:t("core/editor").getEditedPostAttribute("date"),isFloating:t("core/editor").isEditedPostDateFloating()}})(function(t){var e=t.date,n=t.isFloating,r=Object(be.__experimentalGetSettings)();return e&&!n?Object(be.dateI18n)(r.formats.datetimeAbbreviated,e):Object(Z.__)("Immediately")}),hi={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},fi=function(t,e){return t.toLowerCase()===e.toLowerCase()},bi=function(t){return Object(h.a)({},t,{name:Object(v.unescape)(t.name)})},mi=function(t){return Object(v.map)(t,bi)},vi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(oo.a)(Object(oo.a)(t))),t.searchTerms=Object(v.throttle)(t.searchTerms.bind(Object(oo.a)(Object(oo.a)(t))),500),t.findOrCreateTerm=t.findOrCreateTerm.bind(Object(oo.a)(Object(oo.a)(t))),t.state={loading:!Object(v.isEmpty)(t.props.terms),availableTerms:[],selectedTerms:[]},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){var t=this;Object(v.isEmpty)(this.props.terms)||(this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:-1}),this.initRequest.then(function(){t.setState({loading:!1})},function(e){"abort"!==e.statusText&&t.setState({loading:!1})}))}},{key:"componentWillUnmount",value:function(){Object(v.invoke)(this.initRequest,["abort"]),Object(v.invoke)(this.searchRequest,["abort"])}},{key:"componentDidUpdate",value:function(t){t.terms!==this.props.terms&&this.updateSelectedTerms(this.props.terms)}},{key:"fetchTerms",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.props.taxonomy,r=Object(h.a)({},hi,e),o=H()({path:Object(O.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(mi).then(function(e){t.setState(function(t){return{availableTerms:t.availableTerms.concat(e.filter(function(e){return!Object(v.find)(t.availableTerms,function(t){return t.id===e.id})}))}}),t.updateSelectedTerms(t.props.terms)}),o}},{key:"updateSelectedTerms",value:function(){var t=this,e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(e,n){var r=Object(v.find)(t.state.availableTerms,function(t){return t.id===n});return r&&e.push(r.name),e},[]);this.setState({selectedTerms:e})}},{key:"findOrCreateTerm",value:function(t){var e=this,n=this.props.taxonomy,r=Object(v.escape)(t);return H()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:r}}).catch(function(o){return"term_exists"===o.code?(e.addRequest=H()({path:Object(O.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(h.a)({},hi,{search:r}))}).then(mi),e.addRequest.then(function(e){return Object(v.find)(e,function(e){return fi(e.name,t)})})):Promise.reject(o)}).then(bi)}},{key:"onChange",value:function(t){var e=this,n=Object(v.uniqBy)(t,function(t){return t.toLowerCase()});this.setState({selectedTerms:n});var r=n.filter(function(t){return!Object(v.find)(e.state.availableTerms,function(e){return fi(e.name,t)})}),o=function(t,e){return t.map(function(t){return Object(v.find)(e,function(e){return fi(e.name,t)}).id})};if(0===r.length)return this.props.onUpdateTerms(o(n,this.state.availableTerms),this.props.taxonomy.rest_base);Promise.all(r.map(this.findOrCreateTerm)).then(function(t){var r=e.state.availableTerms.concat(t);return e.setState({availableTerms:r}),e.props.onUpdateTerms(o(n,r),e.props.taxonomy.rest_base)})}},{key:"searchTerms",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(v.invoke)(this.searchRequest,["abort"]),this.searchRequest=this.fetchTerms({search:t})}},{key:"render",value:function(){var t=this.props,e=t.slug,n=t.taxonomy;if(!t.hasAssignAction)return null;var r=this.state,o=r.loading,i=r.availableTerms,s=r.selectedTerms,a=i.map(function(t){return t.name}),c=Object(v.get)(n,["labels","add_new_item"],"post_tag"===e?Object(Z.__)("Add New Tag"):Object(Z.__)("Add New Term")),u=Object(v.get)(n,["labels","singular_name"],"post_tag"===e?Object(Z.__)("Tag"):Object(Z.__)("Term")),l=Object(Z.sprintf)(Object(Z._x)("%s added","term"),u),d=Object(Z.sprintf)(Object(Z._x)("%s removed","term"),u),p=Object(Z.sprintf)(Object(Z._x)("Remove %s","term"),u);return Object(xr.createElement)(Dr.FormTokenField,{value:s,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:c,messages:{added:l,removed:d,remove:p}})}}]),e}(xr.Component),Oi=Object(Wr.compose)(Object(l.withSelect)(function(t,e){var n=e.slug,r=t("core/editor").getCurrentPost,o=(0,t("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(v.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(v.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?t("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(l.withDispatch)(function(t){return{onUpdateTerms:function(e,n){t("core/editor").editPost(Object(p.a)({},n,e))}}}),Object(Dr.withFilters)("editor.PostTaxonomyType"))(vi),gi=function(){var t=[Object(Z.__)("Suggestion:"),Object(xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Z.__)("Add tags"))];return Object(xr.createElement)(Dr.PanelBody,{initialOpen:!1,title:t},Object(xr.createElement)("p",null,Object(Z.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(xr.createElement)(Oi,{slug:"post_tag"}))},yi=function(t){function e(t){var n;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).call(this,t))).state={hadTagsWhenOpeningThePanel:t.hasTags},n}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(xr.createElement)(gi,null)}}]),e}(xr.Component),ji=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor").getCurrentPostType(),n=t("core").getTaxonomy("post_tag"),r=n&&t("core/editor").getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(v.some)(n.types,function(t){return t===e}),hasTags:r&&r.length}}),Object(Wr.ifCondition)(function(t){var e=t.areTagsFetched;return t.isPostTypeSupported&&e}))(yi),_i=function(t){var e=t.suggestedPostFormat,n=t.suggestionText,r=t.onUpdatePostFormat;return Object(xr.createElement)(Dr.Button,{isLink:!0,onClick:function(){return r(e)}},n)},ki=function(t,e){var n=Wo.filter(function(e){return Object(v.includes)(t,e.id)});return Object(v.find)(n,function(t){return t.id===e})},Ei=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getSuggestedPostFormat,o=Object(v.get)(t("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:ki(o,r())}}),Object(l.withDispatch)(function(t){return{onUpdatePostFormat:function(e){t("core/editor").editPost({format:e})}}}),Object(Wr.ifCondition)(function(t){var e=t.suggestion,n=t.currentPostFormat;return e&&e.id!==n}))(function(t){var e=t.suggestion,n=t.onUpdatePostFormat,r=[Object(Z.__)("Suggestion:"),Object(xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Z.__)("Use a post format"))];return Object(xr.createElement)(Dr.PanelBody,{initialOpen:!1,title:r},Object(xr.createElement)("p",null,Object(Z.__)("Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.")),Object(xr.createElement)("p",null,Object(xr.createElement)(_i,{onUpdatePostFormat:n,suggestedPostFormat:e.id,suggestionText:Object(Z.sprintf)(Object(Z.__)('Apply the "%1$s" format.'),e.caption)})))});var Si=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPost,r=e.isEditedPostBeingScheduled;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),isBeingScheduled:r()}})(function(t){var e,n,r=t.hasPublishAction,o=t.isBeingScheduled,i=t.children;return r?o?(e=Object(Z.__)("Are you ready to schedule?"),n=Object(Z.__)("Your work will be published at the specified date and time.")):(e=Object(Z.__)("Are you ready to publish?"),n=Object(Z.__)("Double-check your settings before publishing.")):(e=Object(Z.__)("Are you ready to submit for review?"),n=Object(Z.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(xr.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(xr.createElement)("div",null,Object(xr.createElement)("strong",null,e)),Object(xr.createElement)("p",null,n),r&&Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)(Dr.PanelBody,{initialOpen:!1,title:[Object(Z.__)("Visibility:"),Object(xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(xr.createElement)(li,null))]},Object(xr.createElement)(ui,null)),Object(xr.createElement)(Dr.PanelBody,{initialOpen:!1,title:[Object(Z.__)("Publish:"),Object(xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(xr.createElement)(pi,null))]},Object(xr.createElement)(di,null)),Object(xr.createElement)(Ei,null),Object(xr.createElement)(ji,null),i))}),Pi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).state={showCopyConfirmation:!1},t.onCopy=t.onCopy.bind(Object(oo.a)(Object(oo.a)(t))),t.onSelectInput=t.onSelectInput.bind(Object(oo.a)(Object(oo.a)(t))),t.postLink=Object(xr.createRef)(),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.postLink.current.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.dismissCopyConfirmation)}},{key:"onCopy",value:function(){var t=this;this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout(function(){t.setState({showCopyConfirmation:!1})},4e3)}},{key:"onSelectInput",value:function(t){t.target.select()}},{key:"render",value:function(){var t=this.props,e=t.children,n=t.isScheduled,r=t.post,o=t.postType,i=Object(v.get)(o,["labels","singular_name"]),s=Object(v.get)(o,["labels","view_item"]),a=n?Object(xr.createElement)(xr.Fragment,null,Object(Z.__)("is now scheduled. It will go live on")," ",Object(xr.createElement)(pi,null),"."):Object(Z.__)("is now live.");return Object(xr.createElement)("div",{className:"post-publish-panel__postpublish"},Object(xr.createElement)(Dr.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(xr.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(Z.__)("(no title)"))," ",a),Object(xr.createElement)(Dr.PanelBody,null,Object(xr.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(xr.createElement)("strong",null,Object(Z.__)("What’s next?"))),Object(xr.createElement)(Dr.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(Z.sprintf)(Object(Z.__)("%s address"),i),value:Object(O.safeDecodeURIComponent)(r.link),onFocus:this.onSelectInput}),Object(xr.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(xr.createElement)(Dr.Button,{isDefault:!0,href:r.link},s),Object(xr.createElement)(Dr.ClipboardButton,{isDefault:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(Z.__)("Copied!"):Object(Z.__)("Copy Link")))),e)}}]),e}(xr.Component),wi=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getCurrentPost,o=e.isCurrentPostScheduled,i=t("core").getPostType;return{post:r(),postType:i(n("type")),isScheduled:o()}})(Pi),Ti=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).onSubmit=t.onSubmit.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidUpdate",value:function(t){t.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}},{key:"onSubmit",value:function(){var t=this.props,e=t.onClose,n=t.hasPublishAction,r=t.isPostTypeViewable;n&&r||e()}},{key:"render",value:function(){var t=this.props,e=t.forceIsDirty,n=t.forceIsSaving,r=t.isBeingScheduled,o=t.isPublished,i=t.isPublishSidebarEnabled,s=t.isScheduled,a=t.isSaving,c=t.onClose,u=t.onTogglePublishSidebar,l=t.PostPublishExtension,d=t.PrePublishExtension,p=Object(Ur.a)(t,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),h=Object(v.omit)(p,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||s&&r,b=!f&&!a,m=f&&!a;return Object(xr.createElement)("div",Object(Nr.a)({className:"editor-post-publish-panel"},h),Object(xr.createElement)("div",{className:"editor-post-publish-panel__header"},m?Object(xr.createElement)("div",{className:"editor-post-publish-panel__header-published"},s?Object(Z.__)("Scheduled"):Object(Z.__)("Published")):Object(xr.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(xr.createElement)(si,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:e,forceIsSaving:n}),Object(xr.createElement)("span",{className:"editor-post-publish-panel__spacer"})),Object(xr.createElement)(Dr.IconButton,{"aria-expanded":!0,onClick:c,icon:"no-alt",label:Object(Z.__)("Close panel")})),Object(xr.createElement)("div",{className:"editor-post-publish-panel__content"},b&&Object(xr.createElement)(Si,null,d&&Object(xr.createElement)(d,null)),m&&Object(xr.createElement)(wi,{focusOnMount:!0},l&&Object(xr.createElement)(l,null)),a&&Object(xr.createElement)(Dr.Spinner,null)),Object(xr.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Always show pre-publish checks."),checked:i,onChange:u})))}}]),e}(xr.Component),Ci=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core").getPostType,n=t("core/editor"),r=n.getCurrentPost,o=n.getEditedPostAttribute,i=n.isCurrentPostPublished,s=n.isCurrentPostScheduled,a=n.isEditedPostBeingScheduled,c=n.isEditedPostDirty,u=n.isSavingPost,l=t("core/editor").isPublishSidebarEnabled,d=e(o("type"));return{hasPublishAction:Object(v.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(v.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:c(),isPublished:i(),isPublishSidebarEnabled:l(),isSaving:u(),isScheduled:s()}}),Object(l.withDispatch)(function(t,e){var n=e.isPublishSidebarEnabled,r=t("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}}),Dr.withFocusReturn,Dr.withConstrainedTabbing])(Ti);var xi=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isSavingPost,r=e.isCurrentPostPublished,o=e.isCurrentPostScheduled;return{isSaving:n(),isPublished:r(),isScheduled:o()}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.editPost,r=e.savePost;return{onClick:function(){n({status:"draft"}),r()}}})])(function(t){var e=t.isSaving,n=t.isPublished,r=t.isScheduled,o=t.onClick;return n||r?Object(xr.createElement)(Dr.Button,{className:"editor-post-switch-to-draft",onClick:function(){var t;n?t=Object(Z.__)("Are you sure you want to unpublish this post?"):r&&(t=Object(Z.__)("Are you sure you want to unschedule this post?")),window.confirm(t)&&o()},disabled:e,isTertiary:!0},Object(Z.__)("Switch to Draft")):null}),Bi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).state={forceSavedMessage:!1},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidUpdate",value:function(t){var e=this;t.isSaving&&!this.props.isSaving&&(this.setState({forceSavedMessage:!0}),this.props.setTimeout(function(){e.setState({forceSavedMessage:!1})},1e3))}},{key:"render",value:function(){var t=this.props,e=t.post,n=t.isNew,r=t.isScheduled,o=t.isPublished,i=t.isDirty,s=t.isSaving,a=t.isSaveable,c=t.onSave,u=t.isAutosaving,l=t.isPending,d=t.isLargeViewport,p=this.state.forceSavedMessage;if(s){var h=Yr()("editor-post-saved-state","is-saving",{"is-autosaving":u});return Object(xr.createElement)("span",{className:h},Object(xr.createElement)(Dr.Dashicon,{icon:"cloud"}),u?Object(Z.__)("Autosaving"):Object(Z.__)("Saving"))}if(o||r)return Object(xr.createElement)(xi,null);if(!a)return null;if(p||!n&&!i)return Object(xr.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(xr.createElement)(Dr.Dashicon,{icon:"saved"}),Object(Z.__)("Saved"));if(!Object(v.get)(e,["_links","wp:action-publish"],!1)&&l)return null;var f=l?Object(Z.__)("Save as Pending"):Object(Z.__)("Save Draft");return d?Object(xr.createElement)(Dr.Button,{className:"editor-post-save-draft",onClick:c,shortcut:io.displayShortcut.primary("s"),isTertiary:!0},f):Object(xr.createElement)(Dr.IconButton,{className:"editor-post-save-draft",label:f,onClick:c,shortcut:io.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),e}(xr.Component),Ai=Object(Wr.compose)([Object(l.withSelect)(function(t,e){var n=e.forceIsDirty,r=e.forceIsSaving,o=t("core/editor"),i=o.isEditedPostNew,s=o.isCurrentPostPublished,a=o.isCurrentPostScheduled,c=o.isEditedPostDirty,u=o.isSavingPost,l=o.isEditedPostSaveable,d=o.getCurrentPost,p=o.isAutosavingPost,h=o.getEditedPostAttribute;return{post:d(),isNew:i(),isPublished:s(),isScheduled:a(),isDirty:n||c(),isSaving:r||u(),isSaveable:l(),isAutosaving:p(),isPending:"pending"===h("status")}}),Object(l.withDispatch)(function(t){return{onSave:t("core/editor").savePost}}),Wr.withSafeTimeout,Object(u.withViewportMatch)({isLargeViewport:"medium"})])(Bi);var Ii=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPost,r=e.getCurrentPostType;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(t){var e=t.hasPublishAction,n=t.children;return e?n:null});var Li=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor").getCurrentPost();return{hasStickyAction:Object(v.get)(e,["_links","wp:action-sticky"],!1),postType:t("core/editor").getCurrentPostType()}})])(function(t){var e=t.hasStickyAction,n=t.postType,r=t.children;return"post"===n&&e?r:null});var Ri=Object(Wr.compose)([Object(l.withSelect)(function(t){return{postSticky:t("core/editor").getEditedPostAttribute("sticky")}}),Object(l.withDispatch)(function(t){return{onUpdateSticky:function(e){t("core/editor").editPost({sticky:e})}}})])(function(t){var e=t.onUpdateSticky,n=t.postSticky,r=void 0!==n&&n;return Object(xr.createElement)(Li,null,Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Stick to the top of the blog"),checked:r,onChange:function(){return e(!r)}}))}),Ni={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},Ui=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).findTerm=t.findTerm.bind(Object(oo.a)(Object(oo.a)(t))),t.onChange=t.onChange.bind(Object(oo.a)(Object(oo.a)(t))),t.onChangeFormName=t.onChangeFormName.bind(Object(oo.a)(Object(oo.a)(t))),t.onChangeFormParent=t.onChangeFormParent.bind(Object(oo.a)(Object(oo.a)(t))),t.onAddTerm=t.onAddTerm.bind(Object(oo.a)(Object(oo.a)(t))),t.onToggleForm=t.onToggleForm.bind(Object(oo.a)(Object(oo.a)(t))),t.setFilterValue=t.setFilterValue.bind(Object(oo.a)(Object(oo.a)(t))),t.sortBySelected=t.sortBySelected.bind(Object(oo.a)(Object(oo.a)(t))),t.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"onChange",value:function(t){var e=this.props,n=e.onUpdateTerms,r=e.terms,o=void 0===r?[]:r,i=e.taxonomy,s=parseInt(t.target.value,10);n(-1!==o.indexOf(s)?Object(v.without)(o,s):[].concat(Object(x.a)(o),[s]),i.rest_base)}},{key:"onChangeFormName",value:function(t){var e=""===t.target.value.trim()?"":t.target.value;this.setState({formName:e})}},{key:"onChangeFormParent",value:function(t){this.setState({formParent:t})}},{key:"onToggleForm",value:function(){this.setState(function(t){return{showForm:!t.showForm}})}},{key:"findTerm",value:function(t,e,n){return Object(v.find)(t,function(t){return(!t.parent&&!e||parseInt(t.parent)===parseInt(e))&&t.name.toLowerCase()===n.toLowerCase()})}},{key:"onAddTerm",value:function(t){var e=this;t.preventDefault();var n=this.props,r=n.onUpdateTerms,o=n.taxonomy,i=n.terms,s=n.slug,a=this.state,c=a.formName,u=a.formParent,l=a.adding,d=a.availableTerms;if(""!==c&&!l){var p=this.findTerm(d,u,c);if(p)return Object(v.some)(i,function(t){return t===p.id})||r([].concat(Object(x.a)(i),[p.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=H()({path:"/wp/v2/".concat(o.rest_base),method:"POST",data:{name:c,parent:u||void 0}}),this.addRequest.catch(function(t){return"term_exists"===t.code?(e.addRequest=H()({path:Object(O.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(h.a)({},Ni,{parent:u||0,search:c}))}),e.addRequest.then(function(t){return e.findTerm(t,u,c)})):Promise.reject(t)}).then(function(t){var n=!!Object(v.find)(e.state.availableTerms,function(e){return e.id===t.id})?e.state.availableTerms:[t].concat(Object(x.a)(e.state.availableTerms)),a=Object(Z.sprintf)(Object(Z._x)("%s added","term"),Object(v.get)(e.props.taxonomy,["labels","singular_name"],"category"===s?Object(Z.__)("Category"):Object(Z.__)("Term")));e.props.speak(a,"assertive"),e.addRequest=null,e.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:e.sortBySelected(Eo(n))}),r([].concat(Object(x.a)(i),[t.id]),o.rest_base)},function(t){"abort"!==t.statusText&&(e.addRequest=null,e.setState({adding:!1}))})}}},{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){Object(v.invoke)(this.fetchRequest,["abort"]),Object(v.invoke)(this.addRequest,["abort"])}},{key:"componentDidUpdate",value:function(t){this.props.taxonomy!==t.taxonomy&&this.fetchTerms()}},{key:"fetchTerms",value:function(){var t=this,e=this.props.taxonomy;e&&(this.fetchRequest=H()({path:Object(O.addQueryArgs)("/wp/v2/".concat(e.rest_base),Ni)}),this.fetchRequest.then(function(e){var n=t.sortBySelected(Eo(e));t.fetchRequest=null,t.setState({loading:!1,availableTermsTree:n,availableTerms:e})},function(e){"abort"!==e.statusText&&(t.fetchRequest=null,t.setState({loading:!1}))}))}},{key:"sortBySelected",value:function(t){var e=this.props.terms,n=function t(n){return-1!==e.indexOf(n.id)||void 0!==n.children&&!!(n.children.map(t).filter(function(t){return t}).length>0)};return t.sort(function(t,e){var r=n(t),o=n(e);return r===o?0:r&&!o?-1:!r&&o?1:0}),t}},{key:"setFilterValue",value:function(t){var e=this.state.availableTermsTree,n=t.target.value,r=e.map(this.getFilterMatcher(n)).filter(function(t){return t});this.setState({filterValue:n,filteredTermsTree:r});var o=function t(e){for(var n=0,r=0;r0&&(r.children=r.children.map(e).filter(function(t){return t})),(-1!==r.name.toLowerCase().indexOf(t)||r.children.length>0)&&r}}},{key:"renderTerms",value:function(t){var e=this,n=this.props.terms,r=void 0===n?[]:n;return t.map(function(t){var n="editor-post-taxonomies-hierarchical-term-".concat(t.id);return Object(xr.createElement)("div",{key:t.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(xr.createElement)("input",{id:n,className:"editor-post-taxonomies__hierarchical-terms-input",type:"checkbox",checked:-1!==r.indexOf(t.id),value:t.id,onChange:e.onChange}),Object(xr.createElement)("label",{htmlFor:n},Object(v.unescape)(t.name)),!!t.children.length&&Object(xr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},e.renderTerms(t.children)))})}},{key:"render",value:function(){var t=this.props,e=t.slug,n=t.taxonomy,r=t.instanceId,o=t.hasCreateAction;if(!t.hasAssignAction)return null;var i=this.state,s=i.availableTermsTree,a=i.availableTerms,c=i.filteredTermsTree,u=i.formName,l=i.formParent,d=i.loading,p=i.showForm,h=i.filterValue,f=function(t,r,o){return Object(v.get)(n,["labels",t],"category"===e?r:o)},b=f("add_new_item",Object(Z.__)("Add new category"),Object(Z.__)("Add new term")),m=f("new_item_name",Object(Z.__)("Add new category"),Object(Z.__)("Add new term")),O=f("parent_item",Object(Z.__)("Parent Category"),Object(Z.__)("Parent Term")),g="— ".concat(O," —"),y=b,j="editor-post-taxonomies__hierarchical-terms-input-".concat(r),_="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),k=Object(v.get)(this.props.taxonomy,["labels","search_items"],Object(Z.__)("Search Terms")),E=Object(v.get)(this.props.taxonomy,["name"],Object(Z.__)("Terms")),S=a.length>=8;return[S&&Object(xr.createElement)("label",{key:"filter-label",htmlFor:_},k),S&&Object(xr.createElement)("input",{type:"search",id:_,value:h,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(xr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",key:"term-list",tabIndex:"0",role:"group","aria-label":E},this.renderTerms(""!==h?c:s)),!d&&o&&Object(xr.createElement)(Dr.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},b),p&&Object(xr.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(xr.createElement)("label",{htmlFor:j,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(xr.createElement)("input",{type:"text",id:j,className:"editor-post-taxonomies__hierarchical-terms-input",value:u,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(xr.createElement)(Dr.TreeSelect,{label:O,noOptionLabel:g,onChange:this.onChangeFormParent,selectedId:l,tree:s}),Object(xr.createElement)(Dr.Button,{isDefault:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},y))]}}]),e}(xr.Component),Di=Object(Wr.compose)([Object(l.withSelect)(function(t,e){var n=e.slug,r=t("core/editor").getCurrentPost,o=(0,t("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(v.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(v.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?t("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(l.withDispatch)(function(t){return{onUpdateTerms:function(e,n){t("core/editor").editPost(Object(p.a)({},n,e))}}}),Dr.withSpokenMessages,Wr.withInstanceId,Object(Dr.withFilters)("editor.PostTaxonomyType")])(Ui);var Fi=Object(Wr.compose)([Object(l.withSelect)(function(t){return{postType:t("core/editor").getCurrentPostType(),taxonomies:t("core").getTaxonomies({per_page:-1})}})])(function(t){var e=t.postType,n=t.taxonomies,r=t.taxonomyWrapper,o=void 0===r?v.identity:r,i=Object(v.filter)(n,function(t){return Object(v.includes)(t.types,e)});return Object(v.filter)(i,function(t){return t.visibility.show_ui}).map(function(t){var e=t.hierarchical?Di:Oi;return Object(xr.createElement)(xr.Fragment,{key:"taxonomy-".concat(t.slug)},o(Object(xr.createElement)(e,{slug:t.slug}),t))})});var Mi=Object(Wr.compose)([Object(l.withSelect)(function(t){return{postType:t("core/editor").getCurrentPostType(),taxonomies:t("core").getTaxonomies({per_page:-1})}})])(function(t){var e=t.postType,n=t.taxonomies,r=t.children;return Object(v.some)(n,function(t){return Object(v.includes)(t.types,e)})?r:null}),Vi=n(61),zi=n.n(Vi),Ki=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).edit=t.edit.bind(Object(oo.a)(Object(oo.a)(t))),t.stopEditing=t.stopEditing.bind(Object(oo.a)(Object(oo.a)(t))),t.state={},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"edit",value:function(t){var e=t.target.value;this.props.onChange(e),this.setState({value:e,isDirty:!0})}},{key:"stopEditing",value:function(){this.state.isDirty&&(this.props.onPersist(this.state.value),this.setState({isDirty:!1}))}},{key:"render",value:function(){var t=this.state.value,e=this.props.instanceId;return Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)("label",{htmlFor:"post-content-".concat(e),className:"screen-reader-text"},Object(Z.__)("Type text or HTML")),Object(xr.createElement)(zi.a,{autoComplete:"off",dir:"auto",value:t,onChange:this.edit,onBlur:this.stopEditing,className:"editor-post-text-editor",id:"post-content-".concat(e),placeholder:Object(Z.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){return e.isDirty?null:{value:t.value,isDirty:!1}}}]),e}(xr.Component),qi=Object(Wr.compose)([Object(l.withSelect)(function(t){return{value:(0,t("core/editor").getEditedPostContent)()}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.editPost,r=e.resetEditorBlocks;return{onChange:function(t){n({content:t})},onPersist:function(t){var e=Object(s.parse)(t);r(e)}}}),Wr.withInstanceId])(Ki),Wi=n(57),Hi=function(t){function e(t){var n,r=t.permalinkParts,o=t.slug;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(oo.a)(Object(oo.a)(n))),n}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"onSavePermalink",value:function(t){var e=Yo(this.state.editedPostName);t.preventDefault(),this.props.onSave(),e!==this.props.postName&&(this.props.editPost({slug:e}),this.setState({editedPostName:e}))}},{key:"render",value:function(){var t=this,e=this.props.permalinkParts,n=e.prefix,r=e.suffix,o=this.state.editedPostName;return Object(xr.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(xr.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(xr.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(xr.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(Z.__)("Edit post permalink"),value:o,onChange:function(e){return t.setState({editedPostName:e.target.value})},type:"text",autoFocus:!0}),Object(xr.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),Object(xr.createElement)(Dr.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(Z.__)("Save")))}}]),e}(xr.Component),Gi=Object(Wr.compose)([Object(l.withSelect)(function(t){return{permalinkParts:(0,t("core/editor").getPermalinkParts)()}}),Object(l.withDispatch)(function(t){return{editPost:t("core/editor").editPost}})])(Hi),Qi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).addVisibilityCheck=t.addVisibilityCheck.bind(Object(oo.a)(Object(oo.a)(t))),t.onVisibilityChange=t.onVisibilityChange.bind(Object(oo.a)(Object(oo.a)(t))),t.state={isCopied:!1,isEditingPermalink:!1},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"addVisibilityCheck",value:function(){window.addEventListener("visibilitychange",this.onVisibilityChange)}},{key:"onVisibilityChange",value:function(){var t=this.props,e=t.isEditable,n=t.refreshPost;e||"visible"!==document.visibilityState||n()}},{key:"componentDidUpdate",value:function(t,e){e.isEditingPermalink&&!this.state.isEditingPermalink&&this.linkElement.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("visibilitychange",this.addVisibilityCheck)}},{key:"render",value:function(){var t=this,e=this.props,n=e.isEditable,r=e.isNew,o=e.isPublished,i=e.isViewable,s=e.permalinkParts,a=e.postLink,c=e.postSlug,u=e.postID,l=e.postTitle;if(r||!i||!s||!a)return null;var d=this.state,p=d.isCopied,h=d.isEditingPermalink,f=p?Object(Z.__)("Permalink copied"):Object(Z.__)("Copy the permalink"),b=s.prefix,m=s.suffix,v=Object(O.safeDecodeURIComponent)(c)||Yo(l)||u,g=n?b+v+m:b;return Object(xr.createElement)("div",{className:"editor-post-permalink"},Object(xr.createElement)(Dr.ClipboardButton,{className:Yr()("editor-post-permalink__copy",{"is-copied":p}),text:g,label:f,onCopy:function(){return t.setState({isCopied:!0})},"aria-disabled":p,icon:"admin-links"}),Object(xr.createElement)("span",{className:"editor-post-permalink__label"},Object(Z.__)("Permalink:")),!h&&Object(xr.createElement)(Dr.ExternalLink,{className:"editor-post-permalink__link",href:o?g:a,target:"_blank",ref:function(e){return t.linkElement=e}},Object(O.safeDecodeURI)(g),"‎"),h&&Object(xr.createElement)(Gi,{slug:v,onSave:function(){return t.setState({isEditingPermalink:!1})}}),n&&!h&&Object(xr.createElement)(Dr.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return t.setState({isEditingPermalink:!0})}},Object(Z.__)("Edit")),!n&&Object(xr.createElement)(Dr.Button,{className:"editor-post-permalink__change",isLarge:!0,href:Qo("options-permalink.php"),onClick:this.addVisibilityCheck,target:"_blank"},Object(Z.__)("Change Permalinks")))}}]),e}(xr.Component),Yi=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isEditedPostNew,r=e.isPermalinkEditable,o=e.getCurrentPost,i=e.getPermalinkParts,s=e.getEditedPostAttribute,a=e.isCurrentPostPublished,c=t("core").getPostType,u=o(),l=u.id,d=u.link,p=c(s("type"));return{isNew:n(),postLink:d,permalinkParts:i(),postSlug:s("slug"),isEditable:r(),isPublished:a(),postTitle:s("title"),postID:l,isViewable:Object(v.get)(p,["viewable"],!1)}}),Object(l.withDispatch)(function(t){return{refreshPost:t("core/editor").refreshPost}})])(Qi),$i=/[\r\n]+/g,Xi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(oo.a)(Object(oo.a)(t))),t.onSelect=t.onSelect.bind(Object(oo.a)(Object(oo.a)(t))),t.onUnselect=t.onUnselect.bind(Object(oo.a)(Object(oo.a)(t))),t.onKeyDown=t.onKeyDown.bind(Object(oo.a)(Object(oo.a)(t))),t.redirectHistory=t.redirectHistory.bind(Object(oo.a)(Object(oo.a)(t))),t.state={isSelected:!1},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"handleFocusOutside",value:function(){this.onUnselect()}},{key:"onSelect",value:function(){this.setState({isSelected:!0}),this.props.clearSelectedBlock()}},{key:"onUnselect",value:function(){this.setState({isSelected:!1})}},{key:"onChange",value:function(t){var e=t.target.value.replace($i," ");this.props.onUpdate(e)}},{key:"onKeyDown",value:function(t){t.keyCode===io.ENTER&&(t.preventDefault(),this.props.onEnterPress())}},{key:"redirectHistory",value:function(t){t.shiftKey?this.props.onRedo():this.props.onUndo(),t.preventDefault()}},{key:"render",value:function(){var t=this.props,e=t.hasFixedToolbar,n=t.isCleanNewPost,r=t.isFocusMode,o=t.isPostTypeViewable,i=t.instanceId,s=t.placeholder,a=t.title,c=this.state.isSelected,u=Yr()("wp-block editor-post-title__block",{"is-selected":c,"is-focus-mode":r,"has-fixed-toolbar":e}),l=Object(Wi.decodeEntities)(s);return Object(xr.createElement)(jo,{supportKeys:"title"},Object(xr.createElement)("div",{className:"editor-post-title"},Object(xr.createElement)("div",{className:u},Object(xr.createElement)(Dr.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},Object(xr.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},l||Object(Z.__)("Add title")),Object(xr.createElement)(zi.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:a,onChange:this.onChange,placeholder:l||Object(Z.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:n})),c&&o&&Object(xr.createElement)(Yi,null))))}}]),e}(xr.Component),Zi=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.isCleanNewPost,o=t("core/block-editor").getSettings,i=(0,t("core").getPostType)(n("type")),s=o(),a=s.titlePlaceholder,c=s.focusMode,u=s.hasFixedToolbar;return{isCleanNewPost:r(),title:n("title"),isPostTypeViewable:Object(v.get)(i,["viewable"],!1),placeholder:a,isFocusMode:c,hasFixedToolbar:u}}),Ji=Object(l.withDispatch)(function(t){var e=t("core/block-editor"),n=e.insertDefaultBlock,r=e.clearSelectedBlock,o=t("core/editor"),i=o.editPost;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(t){i({title:t})},onUndo:o.undo,onRedo:o.redo,clearSelectedBlock:r}}),ts=Object(Wr.compose)(Zi,Ji,Wr.withInstanceId,Dr.withFocusOutside)(Xi);var es=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isEditedPostNew,r=e.getCurrentPostId,o=e.getCurrentPostType;return{isNew:n(),postId:r(),postType:o()}}),Object(l.withDispatch)(function(t){return{trashPost:t("core/editor").trashPost}})])(function(t){var e=t.isNew,n=t.postId,r=t.postType,o=Object(Ur.a)(t,["isNew","postId","postType"]);return e||!n?null:Object(xr.createElement)(Dr.Button,{className:"editor-post-trash button-link-delete",onClick:function(){return o.trashPost(n,r)},isDefault:!0,isLarge:!0},Object(Z.__)("Move to trash"))});var ns=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isEditedPostNew,r=e.getCurrentPostId;return{isNew:n(),postId:r()}})(function(t){var e=t.isNew,n=t.postId,r=t.children;return e||!n?null:r});var rs=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPost,r=e.getCurrentPostType;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(t){var e=t.hasPublishAction;return(0,t.render)({canEdit:e})}),os=n(98);var is=Object(l.withSelect)(function(t){return{content:t("core/editor").getEditedPostAttribute("content")}})(function(t){var e=t.content,n=Object(Z._x)("words","Word count type. Do not translate!");return Object(xr.createElement)("span",{className:"word-count"},Object(os.count)(e,n))});var ss=Object(l.withSelect)(function(t){var e=t("core/block-editor").getGlobalBlockCount;return{headingCount:e("core/heading"),paragraphCount:e("core/paragraph"),numberOfBlocks:e()}})(function(t){var e=t.headingCount,n=t.paragraphCount,r=t.numberOfBlocks,o=t.hasOutlineItemsDisabled,i=t.onRequestClose;return Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)("div",{className:"table-of-contents__counts",role:"note","aria-label":Object(Z.__)("Document Statistics"),tabIndex:"0"},Object(xr.createElement)("div",{className:"table-of-contents__count"},Object(Z.__)("Words"),Object(xr.createElement)(is,null)),Object(xr.createElement)("div",{className:"table-of-contents__count"},Object(Z.__)("Headings"),Object(xr.createElement)("span",{className:"table-of-contents__number"},e)),Object(xr.createElement)("div",{className:"table-of-contents__count"},Object(Z.__)("Paragraphs"),Object(xr.createElement)("span",{className:"table-of-contents__number"},n)),Object(xr.createElement)("div",{className:"table-of-contents__count"},Object(Z.__)("Blocks"),Object(xr.createElement)("span",{className:"table-of-contents__number"},r))),e>0&&Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)("hr",null),Object(xr.createElement)("span",{className:"table-of-contents__title"},Object(Z.__)("Document Outline")),Object(xr.createElement)(no,{onSelect:i,hasOutlineItemsDisabled:o})))});var as=Object(l.withSelect)(function(t){return{hasBlocks:!!t("core/block-editor").getBlockCount()}})(function(t){var e=t.hasBlocks,n=t.hasOutlineItemsDisabled;return Object(xr.createElement)(Dr.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(xr.createElement)(Dr.IconButton,{onClick:e?r:void 0,icon:"info-outline","aria-expanded":n,label:Object(Z.__)("Content structure"),labelPosition:"bottom","aria-disabled":!e})},renderContent:function(t){var e=t.onClose;return Object(xr.createElement)(ss,{onRequestClose:e,hasOutlineItemsDisabled:n})}})}),cs=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).warnIfUnsavedChanges=t.warnIfUnsavedChanges.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){window.addEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"warnIfUnsavedChanges",value:function(t){if(this.props.isDirty)return t.returnValue=Object(Z.__)("You have unsaved changes. If you proceed, they will be lost."),t.returnValue}},{key:"render",value:function(){return null}}]),e}(xr.Component),us=Object(l.withSelect)(function(t){return{isDirty:t("core/editor").isEditedPostDirty()}})(cs),ls=n(41),ds=n.n(ls),ps=n(227),hs=n.n(ps),fs=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,bs=function(t,e){e=e||{};var n=1,r=1;function o(t){var e=t.match(/\n/g);e&&(n+=e.length);var o=t.lastIndexOf("\n");r=~o?t.length-o:r+t.length}function i(){var t={line:n,column:r};return function(e){return e.position=new s(t),h(),e}}function s(t){this.start=t,this.end={line:n,column:r},this.source=e.source}s.prototype.content=t;var a=[];function c(o){var i=new Error(e.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=e.source,i.line=n,i.column=r,i.source=t,!e.silent)throw i;a.push(i)}function u(){return p(/^{\s*/)}function l(){return p(/^}/)}function d(){var e,n=[];for(h(),b(n);t.length&&"}"!==t.charAt(0)&&(e=P()||w());)!1!==e&&(n.push(e),b(n));return n}function p(e){var n=e.exec(t);if(n){var r=n[0];return o(r),t=t.slice(r.length),n}}function h(){p(/^\s*/)}function b(t){var e;for(t=t||[];e=m();)!1!==e&&t.push(e);return t}function m(){var e=i();if("/"===t.charAt(0)&&"*"===t.charAt(1)){for(var n=2;""!==t.charAt(n)&&("*"!==t.charAt(n)||"/"!==t.charAt(n+1));)++n;if(n+=2,""===t.charAt(n-1))return c("End of comment missing");var s=t.slice(2,n-2);return r+=2,o(s),t=t.slice(n),r+=2,e({type:"comment",comment:s})}}function v(){var t=p(/^([^{]+)/);if(t)return ms(t[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(t){return t.replace(/,/g,"‌")}).split(/\s*(?![^(]*\)),\s*/).map(function(t){return t.replace(/\u200C/g,",")})}function O(){var t=i(),e=p(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(e){if(e=ms(e[0]),!p(/^:\s*/))return c("property missing ':'");var n=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=t({type:"declaration",property:e.replace(fs,""),value:n?ms(n[0]).replace(fs,""):""});return p(/^[;\s]*/),r}}function g(){var t,e=[];if(!u())return c("missing '{'");for(b(e);t=O();)!1!==t&&(e.push(t),b(e));return l()?e:c("missing '}'")}function y(){for(var t,e=[],n=i();t=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),p(/^,\s*/);if(e.length)return n({type:"keyframe",values:e,declarations:g()})}var j,_=S("import"),k=S("charset"),E=S("namespace");function S(t){var e=new RegExp("^@"+t+"\\s*([^;]+);");return function(){var n=i(),r=p(e);if(r){var o={type:t};return o[t]=r[1].trim(),n(o)}}}function P(){if("@"===t[0])return function(){var t=i(),e=p(/^@([-\w]+)?keyframes\s*/);if(e){var n=e[1];if(!(e=p(/^([-\w]+)\s*/)))return c("@keyframes missing name");var r,o=e[1];if(!u())return c("@keyframes missing '{'");for(var s=b();r=y();)s.push(r),s=s.concat(b());return l()?t({type:"keyframes",name:o,vendor:n,keyframes:s}):c("@keyframes missing '}'")}}()||function(){var t=i(),e=p(/^@media *([^{]+)/);if(e){var n=ms(e[1]);if(!u())return c("@media missing '{'");var r=b().concat(d());return l()?t({type:"media",media:n,rules:r}):c("@media missing '}'")}}()||function(){var t=i(),e=p(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(e)return t({type:"custom-media",name:ms(e[1]),media:ms(e[2])})}()||function(){var t=i(),e=p(/^@supports *([^{]+)/);if(e){var n=ms(e[1]);if(!u())return c("@supports missing '{'");var r=b().concat(d());return l()?t({type:"supports",supports:n,rules:r}):c("@supports missing '}'")}}()||_()||k()||E()||function(){var t=i(),e=p(/^@([-\w]+)?document *([^{]+)/);if(e){var n=ms(e[1]),r=ms(e[2]);if(!u())return c("@document missing '{'");var o=b().concat(d());return l()?t({type:"document",document:r,vendor:n,rules:o}):c("@document missing '}'")}}()||function(){var t=i();if(p(/^@page */)){var e=v()||[];if(!u())return c("@page missing '{'");for(var n,r=b();n=O();)r.push(n),r=r.concat(b());return l()?t({type:"page",selectors:e,declarations:r}):c("@page missing '}'")}}()||function(){var t=i();if(p(/^@host\s*/)){if(!u())return c("@host missing '{'");var e=b().concat(d());return l()?t({type:"host",rules:e}):c("@host missing '}'")}}()||function(){var t=i();if(p(/^@font-face\s*/)){if(!u())return c("@font-face missing '{'");for(var e,n=b();e=O();)n.push(e),n=n.concat(b());return l()?t({type:"font-face",declarations:n}):c("@font-face missing '}'")}}()}function w(){var t=i(),e=v();return e?(b(),t({type:"rule",selectors:e,declarations:g()})):c("selector missing")}return function t(e,n){var r=e&&"string"==typeof e.type;var o=r?e:n;for(var i in e){var s=e[i];Array.isArray(s)?s.forEach(function(e){t(e,o)}):s&&"object"===Object(f.a)(s)&&t(s,o)}r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return e}((j=d(),{type:"stylesheet",stylesheet:{source:e.source,rules:j,parsingErrors:a}}))};function ms(t){return t?t.replace(/^\s+|\s+$/g,""):""}var vs=n(109),Os=n.n(vs),gs=ys;function ys(t){this.options=t||{}}ys.prototype.emit=function(t){return t},ys.prototype.visit=function(t){return this[t.type](t)},ys.prototype.mapVisit=function(t,e){var n="";e=e||"";for(var r=0,o=t.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Object(h.a)({},n,{selectors:n.selectors.map(function(n){return Object(v.includes)(e,n.trim())?n:n.match(Bs)?n.replace(/^(body|html|:root)/,t):t+" "+n})}):n}},Is=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(v.map)(t,function(t){var n=t.css,r=t.baseURL,o=[];return e&&o.push(As(e)),r&&o.push(xs(r)),o.length?Ps(n,Object(Wr.compose)(o)):n})},Ls=n(35);function Rs(){return(Rs=Object(he.a)(q.a.mark(function t(e){var n,r,o,i,s,a,c,u,l,p,f,b,m,O,g,y,j,_,k,E,S,P,w,T,C,B,A,I,L;return q.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.allowedTypes,r=e.additionalData,o=void 0===r?{}:r,i=e.filesList,s=e.maxUploadFileSize,a=e.onError,c=void 0===a?v.noop:a,u=e.onFileChange,l=e.wpAllowedMimeTypes,p=void 0===l?null:l,f=Object(x.a)(i),b=[],m=function(t,e){Object(Ls.revokeBlobURL)(Object(v.get)(b,[t,"url"])),b[t]=e,u(Object(v.compact)(b))},O=function(t){return!n||Object(v.some)(n,function(e){return Object(v.includes)(e,"/")?e===t:Object(v.startsWith)(t,"".concat(e,"/"))})},g=(R=p)?Object(v.flatMap)(R,function(t,e){var n=t.split("/"),r=Object(d.a)(n,1)[0],o=e.split("|");return[t].concat(Object(x.a)(Object(v.map)(o,function(t){return"".concat(r,"/").concat(t)})))}):R,y=function(t){return Object(v.includes)(g,t)},j=function(t){t.message=[Object(xr.createElement)("strong",{key:"filename"},t.file.name),": ",t.message],c(t)},_=[],k=!0,E=!1,S=void 0,t.prev=12,P=f[Symbol.iterator]();case 14:if(k=(w=P.next()).done){t.next=34;break}if(T=w.value,!g||y(T.type)){t.next=19;break}return j({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(Z.__)("Sorry, this file type is not permitted for security reasons."),file:T}),t.abrupt("continue",31);case 19:if(O(T.type)){t.next=22;break}return j({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(Z.__)("Sorry, this file type is not supported here."),file:T}),t.abrupt("continue",31);case 22:if(!(s&&T.size>s)){t.next=25;break}return j({code:"SIZE_ABOVE_LIMIT",message:Object(Z.__)("This file exceeds the maximum upload size for this site."),file:T}),t.abrupt("continue",31);case 25:if(!(T.size<=0)){t.next=28;break}return j({code:"EMPTY_FILE",message:Object(Z.__)("This file is empty."),file:T}),t.abrupt("continue",31);case 28:_.push(T),b.push({url:Object(Ls.createBlobURL)(T)}),u(b);case 31:k=!0,t.next=14;break;case 34:t.next=40;break;case 36:t.prev=36,t.t0=t.catch(12),E=!0,S=t.t0;case 40:t.prev=40,t.prev=41,k||null==P.return||P.return();case 43:if(t.prev=43,!E){t.next=46;break}throw S;case 46:return t.finish(43);case 47:return t.finish(40);case 48:C=0;case 49:if(!(C<_.length)){t.next=68;break}return B=_[C],t.prev=51,t.next=54,Ns(B,o);case 54:A=t.sent,I=Object(h.a)({},Object(v.omit)(A,["alt_text","source_url"]),{alt:A.alt_text,caption:Object(v.get)(A,["caption","raw"],""),title:A.title.raw,url:A.source_url}),m(C,I),t.next=65;break;case 59:t.prev=59,t.t1=t.catch(51),m(C,null),L=void 0,L=Object(v.has)(t.t1,["message"])?Object(v.get)(t.t1,["message"]):Object(Z.sprintf)(Object(Z.__)("Error while uploading file %s to the media library."),B.name),c({code:"GENERAL",message:L,file:B});case 65:++C,t.next=49;break;case 68:case"end":return t.stop()}var R},t,this,[[12,36,40,48],[41,,43,47],[51,59]])}))).apply(this,arguments)}function Ns(t,e){var n=new window.FormData;return n.append("file",t,t.name||t.type.replace("/",".")),Object(v.forEach)(e,function(t,e){return n.append(e,t)}),H()({path:"/wp/v2/media",body:n,method:"POST"})}var Us=function(t){var e=t.additionalData,n=void 0===e?{}:e,r=t.allowedTypes,o=t.filesList,i=t.maxUploadFileSize,s=t.onError,a=void 0===s?v.noop:s,c=t.onFileChange,u=Object(l.select)("core/editor"),d=u.getCurrentPostId,p=u.getEditorSettings,f=p().allowedMimeTypes;i=i||p().maxUploadFileSize,function(t){Rs.apply(this,arguments)}({allowedTypes:r,filesList:o,onFileChange:c,additionalData:Object(h.a)({post:d()},n),maxUploadFileSize:i,onError:function(t){var e=t.message;return a(e)},wpAllowedMimeTypes:f})},Ds=function(t){function e(t){var n;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).getBlockEditorSettings=ds()(n.getBlockEditorSettings,{maxSize:1}),t.recovery?Object(zr.a)(n):(t.updatePostLock(t.settings.postLock),t.setupEditor(t.post,t.initialEdits,t.settings.template),t.settings.autosave&&t.createWarningNotice(Object(Z.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(Z.__)("View the autosave"),url:t.settings.autosave.editLink}]}),n)}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"getBlockEditorSettings",value:function(t,e,n,r){return Object(h.a)({},Object(v.pick)(t,["alignWide","allowedBlockTypes","availableLegacyWidgets","bodyPlaceholder","colors","disableCustomColors","disableCustomFontSizes","focusMode","fontSizes","hasFixedToolbar","hasPermissionsToManageWidgets","imageSizes","isRTL","maxWidth","styles","templateLock","titlePlaceholder"]),{__experimentalMetaSource:{value:e,onChange:n},__experimentalReusableBlocks:r,__experimentalMediaUpload:Us})}},{key:"componentDidMount",value:function(){if(this.props.updateEditorSettings(this.props.settings),this.props.settings.styles){var t=Is(this.props.settings.styles,".editor-styles-wrapper");Object(v.map)(t,function(t){if(t){var e=document.createElement("style");e.innerHTML=t,document.body.appendChild(e)}})}}},{key:"componentDidUpdate",value:function(t){this.props.settings!==t.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"render",value:function(){var t=this.props,e=t.children,n=t.blocks,r=t.resetEditorBlocks,o=t.isReady,s=t.settings,a=t.meta,c=t.onMetaChange,u=t.reusableBlocks,l=t.resetEditorBlocksWithoutUndoLevel;if(!o)return null;var d=this.getBlockEditorSettings(s,a,c,u);return Object(xr.createElement)(i.BlockEditorProvider,{value:n,onInput:l,onChange:r,settings:d},e)}}]),e}(xr.Component),Fs=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.__unstableIsEditorReady,r=e.getEditorBlocks,o=e.getEditedPostAttribute,i=e.__experimentalGetReusableBlocks;return{isReady:n(),blocks:r(),meta:o("meta"),reusableBlocks:i()}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.setupEditor,r=e.updatePostLock,o=e.resetEditorBlocks,i=e.editPost,s=e.updateEditorSettings;return{setupEditor:n,updatePostLock:r,createWarningNotice:t("core/notices").createWarningNotice,resetEditorBlocks:o,updateEditorSettings:s,resetEditorBlocksWithoutUndoLevel:function(t){o(t,{__unstableShouldCreateUndoLevel:!1})},onMetaChange:function(t){i({meta:t})}}})])(Ds),Ms=[Rr],Vs=Object(v.once)(function(){return Object(l.dispatch)("core/editor").__experimentalFetchReusableBlocks()});Object(Cr.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",function(t,e){return t||(t=Ms.map(v.clone),e===Object(s.getDefaultBlockName)()&&(t.push(Object(v.clone)(Lr)),Vs())),t}),n.d(e,"ServerSideRender",function(){return Fr}),n.d(e,"AutosaveMonitor",function(){return Gr}),n.d(e,"DocumentOutline",function(){return no}),n.d(e,"DocumentOutlineCheck",function(){return ro}),n.d(e,"VisualEditorGlobalKeyboardShortcuts",function(){return po}),n.d(e,"EditorGlobalKeyboardShortcuts",function(){return ho}),n.d(e,"TextEditorGlobalKeyboardShortcuts",function(){return fo}),n.d(e,"EditorHistoryRedo",function(){return bo}),n.d(e,"EditorHistoryUndo",function(){return mo}),n.d(e,"EditorNotices",function(){return Oo}),n.d(e,"ErrorBoundary",function(){return go}),n.d(e,"PageAttributesCheck",function(){return yo}),n.d(e,"PageAttributesOrder",function(){return ko}),n.d(e,"PageAttributesParent",function(){return wo}),n.d(e,"PageTemplate",function(){return To}),n.d(e,"PostAuthor",function(){return Bo}),n.d(e,"PostAuthorCheck",function(){return Co}),n.d(e,"PostComments",function(){return Ao}),n.d(e,"PostExcerpt",function(){return Io}),n.d(e,"PostExcerptCheck",function(){return Lo}),n.d(e,"PostFeaturedImage",function(){return Ko}),n.d(e,"PostFeaturedImageCheck",function(){return No}),n.d(e,"PostFormat",function(){return Ho}),n.d(e,"PostFormatCheck",function(){return qo}),n.d(e,"PostLastRevision",function(){return $o}),n.d(e,"PostLastRevisionCheck",function(){return Go}),n.d(e,"PostLockedModal",function(){return ti}),n.d(e,"PostPendingStatus",function(){return ni}),n.d(e,"PostPendingStatusCheck",function(){return ei}),n.d(e,"PostPingbacks",function(){return ri}),n.d(e,"PostPreviewButton",function(){return Zo}),n.d(e,"PostPublishButton",function(){return si}),n.d(e,"PostPublishButtonLabel",function(){return oi}),n.d(e,"PostPublishPanel",function(){return Ci}),n.d(e,"PostSavedState",function(){return Ai}),n.d(e,"PostSchedule",function(){return di}),n.d(e,"PostScheduleCheck",function(){return Ii}),n.d(e,"PostScheduleLabel",function(){return pi}),n.d(e,"PostSticky",function(){return Ri}),n.d(e,"PostStickyCheck",function(){return Li}),n.d(e,"PostSwitchToDraftButton",function(){return xi}),n.d(e,"PostTaxonomies",function(){return Fi}),n.d(e,"PostTaxonomiesCheck",function(){return Mi}),n.d(e,"PostTextEditor",function(){return qi}),n.d(e,"PostTitle",function(){return ts}),n.d(e,"PostTrash",function(){return es}),n.d(e,"PostTrashCheck",function(){return ns}),n.d(e,"PostTypeSupportCheck",function(){return jo}),n.d(e,"PostVisibility",function(){return ui}),n.d(e,"PostVisibilityLabel",function(){return li}),n.d(e,"PostVisibilityCheck",function(){return rs}),n.d(e,"TableOfContents",function(){return as}),n.d(e,"UnsavedChangesWarning",function(){return us}),n.d(e,"WordCount",function(){return is}),n.d(e,"EditorProvider",function(){return Fs}),n.d(e,"blockAutocompleter",function(){return Lr}),n.d(e,"userAutocompleter",function(){return Rr}),n.d(e,"Autocomplete",function(){return i.Autocomplete}),n.d(e,"AlignmentToolbar",function(){return i.AlignmentToolbar}),n.d(e,"BlockAlignmentToolbar",function(){return i.BlockAlignmentToolbar}),n.d(e,"BlockControls",function(){return i.BlockControls}),n.d(e,"BlockEdit",function(){return i.BlockEdit}),n.d(e,"BlockEditorKeyboardShortcuts",function(){return i.BlockEditorKeyboardShortcuts}),n.d(e,"BlockFormatControls",function(){return i.BlockFormatControls}),n.d(e,"BlockIcon",function(){return i.BlockIcon}),n.d(e,"BlockInspector",function(){return i.BlockInspector}),n.d(e,"BlockList",function(){return i.BlockList}),n.d(e,"BlockMover",function(){return i.BlockMover}),n.d(e,"BlockNavigationDropdown",function(){return i.BlockNavigationDropdown}),n.d(e,"BlockSelectionClearer",function(){return i.BlockSelectionClearer}),n.d(e,"BlockSettingsMenu",function(){return i.BlockSettingsMenu}),n.d(e,"BlockTitle",function(){return i.BlockTitle}),n.d(e,"BlockToolbar",function(){return i.BlockToolbar}),n.d(e,"ColorPalette",function(){return i.ColorPalette}),n.d(e,"ContrastChecker",function(){return i.ContrastChecker}),n.d(e,"CopyHandler",function(){return i.CopyHandler}),n.d(e,"createCustomColorsHOC",function(){return i.createCustomColorsHOC}),n.d(e,"DefaultBlockAppender",function(){return i.DefaultBlockAppender}),n.d(e,"FontSizePicker",function(){return i.FontSizePicker}),n.d(e,"getColorClassName",function(){return i.getColorClassName}),n.d(e,"getColorObjectByAttributeValues",function(){return i.getColorObjectByAttributeValues}),n.d(e,"getColorObjectByColorValue",function(){return i.getColorObjectByColorValue}),n.d(e,"getFontSize",function(){return i.getFontSize}),n.d(e,"getFontSizeClass",function(){return i.getFontSizeClass}),n.d(e,"Inserter",function(){return i.Inserter}),n.d(e,"InnerBlocks",function(){return i.InnerBlocks}),n.d(e,"InspectorAdvancedControls",function(){return i.InspectorAdvancedControls}),n.d(e,"InspectorControls",function(){return i.InspectorControls}),n.d(e,"PanelColorSettings",function(){return i.PanelColorSettings}),n.d(e,"PlainText",function(){return i.PlainText}),n.d(e,"RichText",function(){return i.RichText}),n.d(e,"RichTextShortcut",function(){return i.RichTextShortcut}),n.d(e,"RichTextToolbarButton",function(){return i.RichTextToolbarButton}),n.d(e,"RichTextInserterItem",function(){return i.RichTextInserterItem}),n.d(e,"UnstableRichTextInputEvent",function(){return i.UnstableRichTextInputEvent}),n.d(e,"MediaPlaceholder",function(){return i.MediaPlaceholder}),n.d(e,"MediaUpload",function(){return i.MediaUpload}),n.d(e,"MediaUploadCheck",function(){return i.MediaUploadCheck}),n.d(e,"MultiBlocksSwitcher",function(){return i.MultiBlocksSwitcher}),n.d(e,"MultiSelectScrollIntoView",function(){return i.MultiSelectScrollIntoView}),n.d(e,"NavigableToolbar",function(){return i.NavigableToolbar}),n.d(e,"ObserveTyping",function(){return i.ObserveTyping}),n.d(e,"PreserveScrollInReorder",function(){return i.PreserveScrollInReorder}),n.d(e,"SkipToSelectedBlock",function(){return i.SkipToSelectedBlock}),n.d(e,"URLInput",function(){return i.URLInput}),n.d(e,"URLInputButton",function(){return i.URLInputButton}),n.d(e,"URLPopover",function(){return i.URLPopover}),n.d(e,"Warning",function(){return i.Warning}),n.d(e,"WritingFlow",function(){return i.WritingFlow}),n.d(e,"withColorContext",function(){return i.withColorContext}),n.d(e,"withColors",function(){return i.withColors}),n.d(e,"withFontSizes",function(){return i.withFontSizes}),n.d(e,"mediaUpload",function(){return Us}),n.d(e,"cleanForSlug",function(){return Yo}),n.d(e,"transformStyles",function(){return Is})},37:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",function(){return r})},38:function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(e,"a",function(){return r})},4:function(t,e){!function(){t.exports=this.wp.components}()},40:function(t,e){!function(){t.exports=this.wp.viewport}()},41:function(t,e,n){t.exports=function(t,e){var n,r,o,i=0;function s(){var e,s,a=r,c=arguments.length;t:for(;a;){if(a.args.length===arguments.length){for(s=0;s=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(55),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",u="object"==typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{(l=e.regeneratorRuntime=u?t.exports:{}).wrap=y;var d="suspendedStart",p="suspendedYield",h="executing",f="completed",b={},m={};m[s]=function(){return this};var v=Object.getPrototypeOf,O=v&&v(v(B([])));O&&O!==r&&o.call(O,s)&&(m=O);var g=E.prototype=_.prototype=Object.create(m);k.prototype=g.constructor=E,E.constructor=k,E[c]=k.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(g),t},l.awrap=function(t){return{__await:t}},S(P.prototype),P.prototype[a]=function(){return this},l.AsyncIterator=P,l.async=function(t,e,n,r){var o=new P(y(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},S(g),g[c]="Generator",g[s]=function(){return this},g.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=B,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return a.type="throw",a.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var c=o.call(s,"catchLoc"),u=o.call(s,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:B(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),b}}}function y(t,e,n,r){var o=e&&e.prototype instanceof _?e:_,i=Object.create(o.prototype),s=new x(r||[]);return i._invoke=function(t,e,n){var r=d;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===f){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var s=n.delegate;if(s){var a=w(s,n);if(a){if(a===b)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=j(t,e,n);if("normal"===c.type){if(r=n.done?f:p,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=f,n.method="throw",n.arg=c.arg)}}}(t,n,s),i}function j(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function _(){}function k(){}function E(){}function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function P(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,s){var a=j(t[n],t,r);if("throw"!==a.type){var c=a.arg,u=c.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,i,s)},function(t){e("throw",t,i,s)}):Promise.resolve(u).then(function(t){c.value=t,i(c)},function(t){return e("throw",t,i,s)})}s(a.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,w(t,e),"throw"===e.method))return b;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=j(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,b;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,b):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,b)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function B(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),d=["%","/","?",";","#"].concat(l),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=n(120);function g(t,e,n){if(t&&o.isObject(t)&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}i.prototype.parse=function(t,e,n){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),a=-1!==i&&i127?I+="x":I+=A[L];if(!I.match(h)){var N=x.slice(0,w),U=x.slice(w+1),D=A.match(f);D&&(N.push(D[1]),U.unshift(D[2])),U.length&&(g="/"+U.join(".")+g),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),C||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",M=this.hostname||"";this.host=M+F,this.href+=this.host,C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==g[0]&&(g="/"+g))}if(!b[_])for(w=0,B=l.length;w0)&&n.host.split("@"))&&(n.auth=C.shift(),n.host=n.hostname=C.shift());return n.search=t.search,n.query=t.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 S=k.slice(-1)[0],P=(n.host||t.host||k.length>1)&&("."===S||".."===S)||""===S,w=0,T=k.length;T>=0;T--)"."===(S=k[T])?k.splice(T,1):".."===S?(k.splice(T,1),w++):w&&(k.splice(T,1),w--);if(!j&&!_)for(;w--;w)k.unshift("..");!j||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),P&&"/"!==k.join("/").substr(-1)&&k.push("");var C,x=""===k[0]||k[0]&&"/"===k[0].charAt(0);E&&(n.hostname=n.host=x?"":k.length?k.shift():"",(C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=C.shift(),n.host=n.hostname=C.shift()));return(j=j||n.host&&k.length)&&!x&&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=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},89:function(t,e,n){"use strict";var r=n(90);function o(){}t.exports=function(){function t(t,e,n,o,i,s){if(s!==r){var a=new Error("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");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=o,n.PropTypes=n,n}},9:function(t,e,n){"use strict";function r(t,e){for(var n=0;n=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",function(){return r})},227:function(t,e){var n=t.exports=function(t){return new r(t)};function r(t){this.value=t}function o(t,e,n){var r=[],o=[],a=!0;return function t(d){var p=n?i(d):d,h={},f=!0,b={node:p,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(t,e){b.isRoot||(b.parent.node[b.key]=t),b.node=t,e&&(f=!1)},delete:function(t){delete b.parent.node[b.key],t&&(f=!1)},remove:function(t){c(b.parent.node)?b.parent.node.splice(b.key,1):delete b.parent.node[b.key],t&&(f=!1)},keys:null,before:function(t){h.before=t},after:function(t){h.after=t},pre:function(t){h.pre=t},post:function(t){h.post=t},stop:function(){a=!1},block:function(){f=!1}};if(!a)return b;function m(){if("object"==typeof b.node&&null!==b.node){b.keys&&b.node_===b.node||(b.keys=s(b.node)),b.isLeaf=0==b.keys.length;for(var t=0;t=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["optimist"])}}return{optimist:a,innerState:t}}t.exports=function(t){function e(e,n,o){return e.length&&(e=e.concat([{action:o}])),u(n=t(n,o),o),r({optimist:e},n)}return function(n,a){if(a.optimist)switch(a.optimist.type){case o:return function(e,n){var o=l(e),i=o.optimist,s=o.innerState;return i=i.concat([{beforeState:s,action:n}]),u(s=t(s,n),n),r({optimist:i},s)}(n,a);case i:return function(t,n){var r=l(t),o=r.optimist,i=r.innerState,s=[],a=!1,u=!1;o.forEach(function(t){a?t.beforeState&&c(t.action,n.optimist.id)?(u=!0,s.push({action:t.action})):s.push(t):t.beforeState&&!c(t.action,n.optimist.id)?(a=!0,s.push(t)):t.beforeState&&c(t.action,n.optimist.id)&&(u=!0)}),u||console.error('Cannot commit transaction with id "'+n.optimist.id+'" because it does not exist');return e(o=s,i,n)}(n,a);case s:return function(n,r){var o=l(n),i=o.optimist,s=o.innerState,a=[],d=!1,p=!1,h=s;i.forEach(function(e){e.beforeState&&c(e.action,r.optimist.id)&&(h=e.beforeState,p=!0),c(e.action,r.optimist.id)||(e.beforeState&&(d=!0),d&&(p&&e.beforeState?a.push({beforeState:h,action:e.action}):a.push(e)),p&&(h=t(h,e.action),u(s,r)))}),p||console.error('Cannot revert transaction with id "'+r.optimist.id+'" because it does not exist');return e(i=a,h,r)}(n,a)}var d=l(n),p=d.optimist,h=d.innerState;if(n&&!p.length){var f=t(h,a);return f===h?n:(u(f,a),r({optimist:p},f))}return e(p,h,a)}},t.exports.BEGIN=o,t.exports.COMMIT=i,t.exports.REVERT=s},35:function(t,e){!function(){t.exports=this.wp.blob}()},358:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"setupEditor",function(){return it}),n.d(r,"resetPost",function(){return st}),n.d(r,"resetAutosave",function(){return at}),n.d(r,"__experimentalRequestPostUpdateStart",function(){return ct}),n.d(r,"__experimentalRequestPostUpdateSuccess",function(){return ut}),n.d(r,"__experimentalRequestPostUpdateFailure",function(){return lt}),n.d(r,"updatePost",function(){return dt}),n.d(r,"setupEditorState",function(){return pt}),n.d(r,"editPost",function(){return ht}),n.d(r,"__experimentalOptimisticUpdatePost",function(){return ft}),n.d(r,"savePost",function(){return bt}),n.d(r,"refreshPost",function(){return mt}),n.d(r,"trashPost",function(){return vt}),n.d(r,"autosave",function(){return Ot}),n.d(r,"redo",function(){return gt}),n.d(r,"undo",function(){return yt}),n.d(r,"createUndoLevel",function(){return jt}),n.d(r,"updatePostLock",function(){return _t}),n.d(r,"__experimentalFetchReusableBlocks",function(){return kt}),n.d(r,"__experimentalReceiveReusableBlocks",function(){return Et}),n.d(r,"__experimentalSaveReusableBlock",function(){return St}),n.d(r,"__experimentalDeleteReusableBlock",function(){return Pt}),n.d(r,"__experimentalUpdateReusableBlockTitle",function(){return wt}),n.d(r,"__experimentalConvertBlockToStatic",function(){return Tt}),n.d(r,"__experimentalConvertBlockToReusable",function(){return Ct}),n.d(r,"enablePublishSidebar",function(){return xt}),n.d(r,"disablePublishSidebar",function(){return Bt}),n.d(r,"lockPostSaving",function(){return At}),n.d(r,"unlockPostSaving",function(){return It}),n.d(r,"resetEditorBlocks",function(){return Lt}),n.d(r,"updateEditorSettings",function(){return Rt}),n.d(r,"resetBlocks",function(){return Ut}),n.d(r,"receiveBlocks",function(){return Dt}),n.d(r,"updateBlock",function(){return Ft}),n.d(r,"updateBlockAttributes",function(){return Mt}),n.d(r,"selectBlock",function(){return Vt}),n.d(r,"startMultiSelect",function(){return zt}),n.d(r,"stopMultiSelect",function(){return Kt}),n.d(r,"multiSelect",function(){return qt}),n.d(r,"clearSelectedBlock",function(){return Wt}),n.d(r,"toggleSelection",function(){return Ht}),n.d(r,"replaceBlocks",function(){return Gt}),n.d(r,"moveBlocksDown",function(){return Qt}),n.d(r,"moveBlocksUp",function(){return Yt}),n.d(r,"moveBlockToPosition",function(){return $t}),n.d(r,"insertBlock",function(){return Xt}),n.d(r,"insertBlocks",function(){return Zt}),n.d(r,"showInsertionPoint",function(){return Jt}),n.d(r,"hideInsertionPoint",function(){return te}),n.d(r,"setTemplateValidity",function(){return ee}),n.d(r,"synchronizeTemplate",function(){return ne}),n.d(r,"mergeBlocks",function(){return re}),n.d(r,"removeBlocks",function(){return oe}),n.d(r,"removeBlock",function(){return ie}),n.d(r,"toggleBlockMode",function(){return se}),n.d(r,"startTyping",function(){return ae}),n.d(r,"stopTyping",function(){return ce}),n.d(r,"enterFormattedText",function(){return ue}),n.d(r,"exitFormattedText",function(){return le}),n.d(r,"insertDefaultBlock",function(){return de}),n.d(r,"updateBlockListSettings",function(){return pe});var o={};n.r(o),n.d(o,"hasEditorUndo",function(){return Oe}),n.d(o,"hasEditorRedo",function(){return ge}),n.d(o,"isEditedPostNew",function(){return ye}),n.d(o,"hasChangedContent",function(){return je}),n.d(o,"isEditedPostDirty",function(){return _e}),n.d(o,"isCleanNewPost",function(){return ke}),n.d(o,"getCurrentPost",function(){return Ee}),n.d(o,"getCurrentPostType",function(){return Se}),n.d(o,"getCurrentPostId",function(){return Pe}),n.d(o,"getCurrentPostRevisionsCount",function(){return we}),n.d(o,"getCurrentPostLastRevisionId",function(){return Te}),n.d(o,"getPostEdits",function(){return Ce}),n.d(o,"getReferenceByDistinctEdits",function(){return xe}),n.d(o,"getCurrentPostAttribute",function(){return Be}),n.d(o,"getEditedPostAttribute",function(){return Ie}),n.d(o,"getAutosaveAttribute",function(){return Le}),n.d(o,"getEditedPostVisibility",function(){return Re}),n.d(o,"isCurrentPostPending",function(){return Ne}),n.d(o,"isCurrentPostPublished",function(){return Ue}),n.d(o,"isCurrentPostScheduled",function(){return De}),n.d(o,"isEditedPostPublishable",function(){return Fe}),n.d(o,"isEditedPostSaveable",function(){return Me}),n.d(o,"isEditedPostEmpty",function(){return Ve}),n.d(o,"isEditedPostAutosaveable",function(){return ze}),n.d(o,"getAutosave",function(){return Ke}),n.d(o,"hasAutosave",function(){return qe}),n.d(o,"isEditedPostBeingScheduled",function(){return We}),n.d(o,"isEditedPostDateFloating",function(){return He}),n.d(o,"isSavingPost",function(){return Ge}),n.d(o,"didPostSaveRequestSucceed",function(){return Qe}),n.d(o,"didPostSaveRequestFail",function(){return Ye}),n.d(o,"isAutosavingPost",function(){return $e}),n.d(o,"isPreviewingPost",function(){return Xe}),n.d(o,"getEditedPostPreviewLink",function(){return Ze}),n.d(o,"getSuggestedPostFormat",function(){return Je}),n.d(o,"getBlocksForSerialization",function(){return tn}),n.d(o,"getEditedPostContent",function(){return en}),n.d(o,"__experimentalGetReusableBlock",function(){return nn}),n.d(o,"__experimentalIsSavingReusableBlock",function(){return rn}),n.d(o,"__experimentalIsFetchingReusableBlock",function(){return on}),n.d(o,"__experimentalGetReusableBlocks",function(){return sn}),n.d(o,"getStateBeforeOptimisticTransaction",function(){return an}),n.d(o,"isPublishingPost",function(){return cn}),n.d(o,"isPermalinkEditable",function(){return un}),n.d(o,"getPermalink",function(){return ln}),n.d(o,"getPermalinkParts",function(){return dn}),n.d(o,"inSomeHistory",function(){return pn}),n.d(o,"isPostLocked",function(){return hn}),n.d(o,"isPostSavingLocked",function(){return fn}),n.d(o,"isPostLockTakeover",function(){return bn}),n.d(o,"getPostLockUser",function(){return mn}),n.d(o,"getActivePostLock",function(){return vn}),n.d(o,"canUserUseUnfilteredHTML",function(){return On}),n.d(o,"isPublishSidebarEnabled",function(){return gn}),n.d(o,"getEditorBlocks",function(){return yn}),n.d(o,"__unstableIsEditorReady",function(){return jn}),n.d(o,"getEditorSettings",function(){return _n}),n.d(o,"getBlockDependantsCacheBust",function(){return En}),n.d(o,"getBlockName",function(){return Sn}),n.d(o,"isBlockValid",function(){return Pn}),n.d(o,"getBlockAttributes",function(){return wn}),n.d(o,"getBlock",function(){return Tn}),n.d(o,"getBlocks",function(){return Cn}),n.d(o,"__unstableGetBlockWithoutInnerBlocks",function(){return xn}),n.d(o,"getClientIdsOfDescendants",function(){return Bn}),n.d(o,"getClientIdsWithDescendants",function(){return An}),n.d(o,"getGlobalBlockCount",function(){return In}),n.d(o,"getBlocksByClientId",function(){return Ln}),n.d(o,"getBlockCount",function(){return Rn}),n.d(o,"getBlockSelectionStart",function(){return Nn}),n.d(o,"getBlockSelectionEnd",function(){return Un}),n.d(o,"getSelectedBlockCount",function(){return Dn}),n.d(o,"hasSelectedBlock",function(){return Fn}),n.d(o,"getSelectedBlockClientId",function(){return Mn}),n.d(o,"getSelectedBlock",function(){return Vn}),n.d(o,"getBlockRootClientId",function(){return zn}),n.d(o,"getBlockHierarchyRootClientId",function(){return Kn}),n.d(o,"getAdjacentBlockClientId",function(){return qn}),n.d(o,"getPreviousBlockClientId",function(){return Wn}),n.d(o,"getNextBlockClientId",function(){return Hn}),n.d(o,"getSelectedBlocksInitialCaretPosition",function(){return Gn}),n.d(o,"getMultiSelectedBlockClientIds",function(){return Qn}),n.d(o,"getMultiSelectedBlocks",function(){return Yn}),n.d(o,"getFirstMultiSelectedBlockClientId",function(){return $n}),n.d(o,"getLastMultiSelectedBlockClientId",function(){return Xn}),n.d(o,"isFirstMultiSelectedBlock",function(){return Zn}),n.d(o,"isBlockMultiSelected",function(){return Jn}),n.d(o,"isAncestorMultiSelected",function(){return tr}),n.d(o,"getMultiSelectedBlocksStartClientId",function(){return er}),n.d(o,"getMultiSelectedBlocksEndClientId",function(){return nr}),n.d(o,"getBlockOrder",function(){return rr}),n.d(o,"getBlockIndex",function(){return or}),n.d(o,"isBlockSelected",function(){return ir}),n.d(o,"hasSelectedInnerBlock",function(){return sr}),n.d(o,"isBlockWithinSelection",function(){return ar}),n.d(o,"hasMultiSelection",function(){return cr}),n.d(o,"isMultiSelecting",function(){return ur}),n.d(o,"isSelectionEnabled",function(){return lr}),n.d(o,"getBlockMode",function(){return dr}),n.d(o,"isTyping",function(){return pr}),n.d(o,"isCaretWithinFormattedText",function(){return hr}),n.d(o,"getBlockInsertionPoint",function(){return fr}),n.d(o,"isBlockInsertionPointVisible",function(){return br}),n.d(o,"isValidTemplate",function(){return mr}),n.d(o,"getTemplate",function(){return vr}),n.d(o,"getTemplateLock",function(){return Or}),n.d(o,"canInsertBlockType",function(){return gr}),n.d(o,"getInserterItems",function(){return yr}),n.d(o,"hasInserterItems",function(){return jr}),n.d(o,"getBlockListSettings",function(){return _r});var i=n(8),s=n(14),a=(n(72),n(133),n(60)),c=n(20),u=n(40),l=n(5),d=n(28),p=n(15),h=n(7),f=n(32),b=n(62),m=n.n(b),v=n(2),O=n(25),g={isPublishSidebarEnabled:!0},y={},j=Object(h.a)({},i.SETTINGS_DEFAULTS,{richEditingEnabled:!0,enableCustomFields:!1}),_=new Set(["meta"]),k="core/editor",E="post-update",S="SAVE_POST_NOTICE_ID",P="TRASH_POST_NOTICE_ID",w=/%(?:postname|pagename)%/,T=6e4,C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){return function(n,r){var o=e(n,r),i=void 0===n||Object(v.includes)(t.resetTypes,r.type),s=n!==o;if(!s&&!i)return n;s&&void 0!==n||(o=Object(h.a)({},o));var a=Object(v.includes)(t.ignoreTypes,r.type);return o.isDirty=a?n.isDirty:!i&&s,o}}},x=n(17),B={resetTypes:[],ignoreTypes:[],shouldOverwriteState:function(){return!1}},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){(t=Object(h.a)({},B,t)).shouldOverwriteState=Object(v.overSome)([t.shouldOverwriteState,function(e){return Object(v.includes)(t.ignoreTypes,e.type)}]);var n={past:[],present:e(void 0,{}),future:[],lastAction:null,shouldCreateUndoLevel:!1},r=t,o=r.resetTypes,i=void 0===o?[]:o,s=r.shouldOverwriteState,a=void 0===s?function(){return!1}:s;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,r=arguments.length>1?arguments[1]:void 0,o=t.past,s=t.present,c=t.future,u=t.lastAction,l=t.shouldCreateUndoLevel,d=u;switch(r.type){case"UNDO":return o.length?{past:Object(v.dropRight)(o),present:Object(v.last)(o),future:[s].concat(Object(x.a)(c)),lastAction:null,shouldCreateUndoLevel:!1}:t;case"REDO":return c.length?{past:[].concat(Object(x.a)(o),[s]),present:Object(v.first)(c),future:Object(v.drop)(c),lastAction:null,shouldCreateUndoLevel:!1}:t;case"CREATE_UNDO_LEVEL":return Object(h.a)({},t,{lastAction:null,shouldCreateUndoLevel:!0})}var p=e(s,r);if(Object(v.includes)(i,r.type))return{past:[],present:p,future:[],lastAction:null,shouldCreateUndoLevel:!1};if(s===p)return t;var f=o,b=d;return!l&&o.length&&a(r,d)||(f=[].concat(Object(x.a)(o),[s]),b=r),{past:f,present:p,future:[],shouldCreateUndoLevel:!1,lastAction:b}}}};function I(t){return t&&"object"===Object(f.a)(t)&&"raw"in t?t.raw:t}function L(t,e){return t===e?Object(h.a)({},t):e}function R(t,e){return"EDIT_POST"===t.type&&(n=t.edits,r=e.edits,Object(v.isEqual)(Object(v.keys)(n),Object(v.keys)(r)));var n,r}var N=Object(v.flow)([l.combineReducers,A({resetTypes:["SETUP_EDITOR_STATE"],ignoreTypes:["RESET_POST","UPDATE_POST"],shouldOverwriteState:function(t,e){return"RESET_EDITOR_BLOCKS"===t.type?!t.shouldCreateUndoLevel:!(!e||t.type!==e.type)&&R(t,e)}})])({blocks:C({resetTypes:["SETUP_EDITOR_STATE","REQUEST_POST_UPDATE_START"]})(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{value:[]},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RESET_EDITOR_BLOCKS":return e.blocks===t.value?t:{value:e.blocks}}return t}),edits:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"EDIT_POST":return Object(v.reduce)(e.edits,function(e,n,r){return n!==t[r]&&(e=L(t,e),_.has(r)?e[r]=Object(h.a)({},e[r],n):e[r]=n),e},t);case"UPDATE_POST":case"RESET_POST":var n="UPDATE_POST"===e.type?function(t){return e.edits[t]}:function(t){return I(e.post[t])};return Object(v.reduce)(t,function(e,r,o){return Object(v.isEqual)(r,n(o))?(delete(e=L(t,e))[o],e):e},t);case"RESET_EDITOR_BLOCKS":return"content"in t?Object(v.omit)(t,"content"):t}return t}});var U=Object(l.combineReducers)({data:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_REUSABLE_BLOCKS":return Object(v.reduce)(e.results,function(e,n){var r=n.reusableBlock,o=r.id,i=r.title,s={clientId:n.parsedBlock.clientId,title:i};return Object(v.isEqual)(e[o],s)||((e=L(t,e))[o]=s),e},t);case"UPDATE_REUSABLE_BLOCK_TITLE":var n=e.id,r=e.title;return t[n]&&t[n].title!==r?Object(h.a)({},t,Object(p.a)({},n,Object(h.a)({},t[n],{title:r}))):t;case"SAVE_REUSABLE_BLOCK_SUCCESS":var o=e.id,i=e.updatedId;if(o===i)return t;var s=t[o];return Object(h.a)({},Object(v.omit)(t,o),Object(p.a)({},i,s));case"REMOVE_REUSABLE_BLOCK":var a=e.id;return Object(v.omit)(t,a)}return t},isFetching:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"FETCH_REUSABLE_BLOCKS":var n=e.id;return n?Object(h.a)({},t,Object(p.a)({},n,!0)):t;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=e.id;return Object(v.omit)(t,r)}return t},isSaving:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SAVE_REUSABLE_BLOCK":return Object(h.a)({},t,Object(p.a)({},e.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=e.id;return Object(v.omit)(t,n)}return t}});var D=m()(Object(l.combineReducers)({editor:N,initialEdits:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SETUP_EDITOR":if(!e.edits)break;return e.edits;case"SETUP_EDITOR_STATE":return"content"in t?Object(v.omit)(t,"content"):t;case"UPDATE_POST":return Object(v.reduce)(e.edits,function(e,n,r){return e.hasOwnProperty(r)?(delete(e=L(t,e))[r],e):e},t);case"RESET_POST":return y}return t},currentPost:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":var n;if(e.post)n=e.post;else{if(!e.edits)return t;n=Object(h.a)({},t,e.edits)}return Object(v.mapValues)(n,I)}return t},preferences:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;switch((arguments.length>1?arguments[1]:void 0).type){case"ENABLE_PUBLISH_SIDEBAR":return Object(h.a)({},t,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(h.a)({},t,{isPublishSidebarEnabled:!1})}return t},saving:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REQUEST_POST_UPDATE_START":return{requesting:!0,successful:!1,error:null,options:e.options||{}};case"REQUEST_POST_UPDATE_SUCCESS":return{requesting:!1,successful:!0,error:null,options:e.options||{}};case"REQUEST_POST_UPDATE_FAILURE":return{requesting:!1,successful:!1,error:e.error,options:e.options||{}}}return t},postLock:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"UPDATE_POST_LOCK":return e.lock}return t},reusableBlocks:U,template:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_TEMPLATE_VALIDITY":return Object(h.a)({},t,{isValid:e.isValid})}return t},autosave:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RESET_AUTOSAVE":var n=e.post,r=["title","excerpt","content"].map(function(t){return I(n[t])}),o=Object(d.a)(r,3);return{title:o[0],excerpt:o[1],content:o[2]}}return t},previewLink:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REQUEST_POST_UPDATE_SUCCESS":return e.post.preview_link?e.post.preview_link:e.post.link?Object(O.addQueryArgs)(e.post.link,{preview:!0}):t;case"REQUEST_POST_UPDATE_START":if(t&&e.options.isPreview)return null}return t},postSavingLock:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"LOCK_POST_SAVING":return Object(h.a)({},t,Object(p.a)({},e.lockName,!0));case"UNLOCK_POST_SAVING":return Object(v.omit)(t,e.lockName)}return t},isReady:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"SETUP_EDITOR_STATE":return!0}return t},editorSettings:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"UPDATE_EDITOR_SETTINGS":return Object(h.a)({},t,e.settings)}return t}})),F=n(70),M=n.n(F),V=n(97),z=n.n(V),K=n(23),q=n.n(K),W=n(33),H=n.n(W);function G(t){return{type:"API_FETCH",request:t}}function Q(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o2?n-2:0),o=2;o2?n-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:{};return{type:"REQUEST_POST_UPDATE_START",optimist:{type:b.BEGIN,id:E},options:t}}function ut(t){var e=t.previousPost,n=t.post,r=t.isRevision,o=t.options,i=t.postType;return{type:"REQUEST_POST_UPDATE_SUCCESS",previousPost:e,post:n,optimist:{type:r?b.REVERT:b.COMMIT,id:E},options:o,postType:i}}function lt(t){var e=t.post,n=t.edits,r=t.error,o=t.options;return{type:"REQUEST_POST_UPDATE_FAILURE",optimist:{type:b.REVERT,id:E},post:e,edits:n,error:r,options:o}}function dt(t){return{type:"UPDATE_POST",edits:t}}function pt(t){return{type:"SETUP_EDITOR_STATE",post:t}}function ht(t){return{type:"EDIT_POST",edits:t}}function ft(t){return Object(h.a)({},dt(t),{optimist:{id:E}})}function bt(){var t,e,n,r,o,i,s,a,c,u,l,d,p,f,b,m=arguments;return q.a.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return t=m.length>0&&void 0!==m[0]?m[0]:{},O.next=3,Q(k,"isEditedPostSaveable");case 3:if(O.sent){O.next=6;break}return O.abrupt("return");case 6:return O.next=8,Q(k,"getPostEdits");case 8:return e=O.sent,(n=!!t.isAutosave)&&(e=Object(v.pick)(e,["title","content","excerpt"])),O.next=13,Q(k,"isEditedPostNew");case 13:return O.sent&&(e=Object(h.a)({status:"draft"},e)),O.next=17,Q(k,"getCurrentPost");case 17:return r=O.sent,O.next=20,Q(k,"getEditedPostContent");case 20:return o=O.sent,i=Object(h.a)({},e,{content:o,id:r.id}),O.next=24,Q(k,"getCurrentPostType");case 24:return s=O.sent,O.next=27,Y("core","getPostType",s);case 27:return a=O.sent,O.next=30,$(k,"__experimentalRequestPostUpdateStart",t);case 30:return O.next=32,$(k,"__experimentalOptimisticUpdatePost",i);case 32:if(c="/wp/v2/".concat(a.rest_base,"/").concat(r.id),u="PUT",!n){O.next=43;break}return O.next=37,Q(k,"getAutosave");case 37:l=O.sent,i=Object(h.a)({},Object(v.pick)(r,["title","content","excerpt"]),l,i),c+="/autosaves",u="POST",O.next=47;break;case 43:return O.next=45,$("core/notices","removeNotice",S);case 45:return O.next=47,$("core/notices","removeNotice","autosave-exists");case 47:return O.prev=47,O.next=50,G({path:c,method:u,data:i});case 50:return d=O.sent,p=n?"resetAutosave":"resetPost",O.next=54,$(k,p,d);case 54:return O.next=56,$(k,"__experimentalRequestPostUpdateSuccess",{previousPost:r,post:d,options:t,postType:a,isRevision:d.id!==r.id});case 56:if(!((f=J({previousPost:r,post:d,postType:a,options:t})).length>0)){O.next=60;break}return O.next=60,$.apply(void 0,["core/notices","createSuccessNotice"].concat(Object(x.a)(f)));case 60:O.next=70;break;case 62:return O.prev=62,O.t0=O.catch(47),O.next=66,$(k,"__experimentalRequestPostUpdateFailure",{post:r,edits:e,error:O.t0,options:t});case 66:if(!((b=tt({post:r,edits:e,error:O.t0})).length>0)){O.next=70;break}return O.next=70,$.apply(void 0,["core/notices","createErrorNotice"].concat(Object(x.a)(b)));case 70:case"end":return O.stop()}},et,this,[[47,62]])}function mt(){var t,e,n,r;return q.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Q(k,"getCurrentPost");case 2:return t=o.sent,o.next=5,Q(k,"getCurrentPostType");case 5:return e=o.sent,o.next=8,Y("core","getPostType",e);case 8:return n=o.sent,o.next=11,G({path:"/wp/v2/".concat(n.rest_base,"/").concat(t.id)+"?context=edit&_timestamp=".concat(Date.now())});case 11:return r=o.sent,o.next=14,$(k,"resetPost",r);case 14:case"end":return o.stop()}},nt,this)}function vt(){var t,e,n;return q.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Q(k,"getCurrentPostType");case 2:return t=r.sent,r.next=5,Y("core","getPostType",t);case 5:return e=r.sent,r.next=8,$("core/notices","removeNotice",P);case 8:return r.prev=8,r.next=11,Q(k,"getCurrentPost");case 11:return n=r.sent,r.next=14,G({path:"/wp/v2/".concat(e.rest_base,"/").concat(n.id),method:"DELETE"});case 14:return r.next=16,$(k,"resetPost",Object(h.a)({},n,{status:"trash"}));case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(8),r.next=22,$.apply(void 0,["core/notices","createErrorNotice"].concat(Object(x.a)([(o={error:r.t0}).error.message&&"unknown_error"!==o.error.code?o.error.message:Object(Z.__)("Trashing failed"),{id:P}])));case 22:case"end":return r.stop()}var o},rt,this,[[8,18]])}function Ot(t){return q.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$(k,"savePost",Object(h.a)({isAutosave:!0},t));case 2:case"end":return e.stop()}},ot,this)}function gt(){return{type:"REDO"}}function yt(){return{type:"UNDO"}}function jt(){return{type:"CREATE_UNDO_LEVEL"}}function _t(t){return{type:"UPDATE_POST_LOCK",lock:t}}function kt(t){return{type:"FETCH_REUSABLE_BLOCKS",id:t}}function Et(t){return{type:"RECEIVE_REUSABLE_BLOCKS",results:t}}function St(t){return{type:"SAVE_REUSABLE_BLOCK",id:t}}function Pt(t){return{type:"DELETE_REUSABLE_BLOCK",id:t}}function wt(t,e){return{type:"UPDATE_REUSABLE_BLOCK_TITLE",id:t,title:e}}function Tt(t){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:t}}function Ct(t){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(v.castArray)(t)}}function xt(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function Bt(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function At(t){return{type:"LOCK_POST_SAVING",lockName:t}}function It(t){return{type:"UNLOCK_POST_SAVING",lockName:t}}function Lt(t){return{type:"RESET_EDITOR_BLOCKS",blocks:t,shouldCreateUndoLevel:!1!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).__unstableShouldCreateUndoLevel}}function Rt(t){return{type:"UPDATE_EDITOR_SETTINGS",settings:t}}var Nt=function(t){return q.a.mark(function e(){var n,r,o,i=arguments;return q.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(n=i.length,r=new Array(n),o=0;o0}function ge(t){return t.editor.future.length>0}function ye(t){return"auto-draft"===Ee(t).status}function je(t){return t.editor.present.blocks.isDirty||"content"in t.editor.present.edits}function _e(t){return!!je(t)||(Object.keys(t.editor.present.edits).length>0||pn(t,_e))}function ke(t){return!_e(t)&&ye(t)}function Ee(t){return t.currentPost}function Se(t){return t.currentPost.type}function Pe(t){return Ee(t).id||null}function we(t){return Object(v.get)(Ee(t),["_links","version-history",0,"count"],0)}function Te(t){return Object(v.get)(Ee(t),["_links","predecessor-version",0,"id"],null)}var Ce=Object(fe.a)(function(t){return Object(h.a)({},t.initialEdits,t.editor.present.edits)},function(t){return[t.editor.present.edits,t.initialEdits]}),xe=Object(fe.a)(function(){return[]},function(t){return[t.editor]});function Be(t,e){var n=Ee(t);if(n.hasOwnProperty(e))return n[e]}var Ae=Object(fe.a)(function(t,e){var n=Ce(t);return n.hasOwnProperty(e)?Object(h.a)({},Be(t,e),n[e]):Be(t,e)},function(t,e){return[Object(v.get)(t.editor.present.edits,[e],ve),Object(v.get)(t.currentPost,[e],ve)]});function Ie(t,e){switch(e){case"content":return en(t)}var n=Ce(t);return n.hasOwnProperty(e)?_.has(e)?Ae(t,e):n[e]:Be(t,e)}function Le(t,e){if(!qe(t))return null;var n=Ke(t);return n.hasOwnProperty(e)?n[e]:void 0}function Re(t){return"private"===Ie(t,"status")?"private":Ie(t,"password")?"password":"public"}function Ne(t){return"pending"===Ee(t).status}function Ue(t){var e=Ee(t);return-1!==["publish","private"].indexOf(e.status)||"future"===e.status&&!Object(be.isInTheFuture)(new Date(Number(Object(be.getDate)(e.date))-T))}function De(t){return"future"===Ee(t).status&&!Ue(t)}function Fe(t){var e=Ee(t);return _e(t)||-1===["publish","private","future"].indexOf(e.status)}function Me(t){return!Ge(t)&&(!!Ie(t,"title")||!!Ie(t,"excerpt")||!Ve(t))}function Ve(t){var e=t.editor.present.blocks.value;if(e.length&&!("content"in Ce(t))){if(e.length>1)return!1;var n=e[0].name;if(n!==Object(s.getDefaultBlockName)()&&n!==Object(s.getFreeformContentHandlerName)())return!1}return!en(t)}function ze(t){if(!Me(t))return!1;if(!qe(t))return!0;if(je(t))return!0;var e=Ke(t);return["title","excerpt"].some(function(n){return e[n]!==Ie(t,n)})}function Ke(t){return t.autosave}function qe(t){return!!Ke(t)}function We(t){var e=Ie(t,"date"),n=new Date(Number(Object(be.getDate)(e))-T);return Object(be.isInTheFuture)(n)}function He(t){var e=Ie(t,"date"),n=Ie(t,"modified"),r=Ie(t,"status");return("draft"===r||"auto-draft"===r||"pending"===r)&&e===n}function Ge(t){return t.saving.requesting}function Qe(t){return t.saving.successful}function Ye(t){return!!t.saving.error}function $e(t){return Ge(t)&&!!t.saving.options.isAutosave}function Xe(t){return Ge(t)&&!!t.saving.options.isPreview}function Ze(t){var e=Ie(t,"featured_media"),n=t.previewLink;return n&&e?Object(O.addQueryArgs)(n,{_thumbnail_id:e}):n}function Je(t){var e,n=t.editor.present.blocks.value;switch(1===n.length&&(e=n[0].name),2===n.length&&"core/paragraph"===n[1].name&&(e=n[0].name),e){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":case"core-embed/youtube":case"core-embed/vimeo":return"video";case"core/audio":case"core-embed/spotify":case"core-embed/soundcloud":return"audio"}return null}function tn(t){var e=t.editor.present.blocks.value;return 1===e.length&&Object(s.isUnmodifiedDefaultBlock)(e[0])?[]:e}var en=Object(fe.a)(function(t){var e=Ce(t);if("content"in e)return e.content;var n=tn(t),r=Object(s.serialize)(n);return 1===n.length&&n[0].name===Object(s.getFreeformContentHandlerName)()?Object(me.removep)(r):r},function(t){return[t.editor.present.blocks.value,t.editor.present.edits.content,t.initialEdits.content]}),nn=Object(fe.a)(function(t,e){var n=t.reusableBlocks.data[e];if(!n)return null;var r=isNaN(parseInt(e));return Object(h.a)({},n,{id:r?e:+e,isTemporary:r})},function(t,e){return[t.reusableBlocks.data[e]]});function rn(t,e){return t.reusableBlocks.isSaving[e]||!1}function on(t,e){return!!t.reusableBlocks.isFetching[e]}var sn=Object(fe.a)(function(t){return Object(v.map)(t.reusableBlocks.data,function(e,n){return nn(t,n)})},function(t){return[t.reusableBlocks.data]});function an(t,e){var n=Object(v.find)(t.optimist,function(t){return t.beforeState&&Object(v.get)(t.action,["optimist","id"])===e});return n?n.beforeState:null}function cn(t){if(!Ge(t))return!1;if(!Ue(t))return!1;var e=an(t,E);return!!e&&!Ue(e)}function un(t){var e=Ie(t,"permalink_template");return w.test(e)}function ln(t){var e=dn(t);if(!e)return null;var n=e.prefix,r=e.postName,o=e.suffix;return un(t)?n+r+o:n}function dn(t){var e=Ie(t,"permalink_template");if(!e)return null;var n=Ie(t,"slug")||Ie(t,"generated_slug"),r=e.split(w),o=Object(d.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function pn(t,e){var n=t.optimist;return!!n&&n.some(function(t){var n=t.beforeState;return n&&e(n)})}function hn(t){return t.postLock.isLocked}function fn(t){return Object.keys(t.postSavingLock).length>0}function bn(t){return t.postLock.isTakeover}function mn(t){return t.postLock.user}function vn(t){return t.postLock.activePostLock}function On(t){return Object(v.has)(Ee(t),["_links","wp:action-unfiltered-html"])}function gn(t){return t.preferences.hasOwnProperty("isPublishSidebarEnabled")?t.preferences.isPublishSidebarEnabled:g.isPublishSidebarEnabled}function yn(t){return t.editor.present.blocks.value}function jn(t){return t.isReady}function _n(t){return t.editorSettings}function kn(t){return Object(l.createRegistrySelector)(function(e){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),s=1;s0&&void 0!==arguments[0]?arguments[0]:{},e=t.getBlockInsertionParentClientId,n=void 0===e?Br:e,r=t.getInserterItems,o=void 0===r?Ar:r,a=t.getSelectedBlockName,c=void 0===a?Ir:a;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){var t=c();return o(n()).filter(function(e){return t!==e.name})},getOptionKeywords:function(t){var e=t.title,n=t.keywords,r=void 0===n?[]:n;return[t.category].concat(Object(x.a)(r),[e])},getOptionLabel:function(t){var e=t.icon,n=t.title;return[Object(xr.createElement)(i.BlockIcon,{key:"icon",icon:e,showColors:!0}),n]},allowContext:function(t,e){return!(/\S/.test(t)||/\S/.test(e))},getOptionCompletion:function(t){var e=t.name,n=t.initialAttributes;return{action:"replace",value:Object(s.createBlock)(e,n)}},isOptionDisabled:function(t){return t.isDisabled}}}(),Rr={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(t){var e="";return t&&(e="?search="+encodeURIComponent(t)),H()({path:"/wp/v2/users"+e})},isDebounced:!0,getOptionKeywords:function(t){return[t.slug,t.name]},getOptionLabel:function(t){return[Object(xr.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:t.avatar_urls[24]}),Object(xr.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},t.name),Object(xr.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},t.slug)]},getOptionCompletion:function(t){return"@".concat(t.slug)}},Nr=n(19),Ur=n(21),Dr=n(4),Fr=function(t){var e=t.urlQueryArgs,n=void 0===e?{}:e,r=Object(Ur.a)(t,["urlQueryArgs"]),o=Object(l.select)("core/editor").getCurrentPostId;return n=Object(h.a)({post_id:o()},n),Object(xr.createElement)(Dr.ServerSideRender,Object(Nr.a)({urlQueryArgs:n},r))},Mr=n(10),Vr=n(9),zr=n(11),Kr=n(12),qr=n(13),Wr=n(6),Hr=function(t){function e(){return Object(Mr.a)(this,e),Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDirty,r=e.editsReference,o=e.isAutosaveable,i=e.isAutosaving;r!==t.editsReference&&(this.didAutosaveForEditsReference=!1),!i&&t.isAutosaving&&(this.didAutosaveForEditsReference=!0),t.isDirty===n&&t.isAutosaveable===o&&t.editsReference===r||this.toggleTimer(n&&o&&!this.didAutosaveForEditsReference)}},{key:"componentWillUnmount",value:function(){this.toggleTimer(!1)}},{key:"toggleTimer",value:function(t){var e=this;clearTimeout(this.pendingSave);var n=this.props.autosaveInterval;t&&(this.pendingSave=setTimeout(function(){return e.props.autosave()},1e3*n))}},{key:"render",value:function(){return null}}]),e}(xr.Component),Gr=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isEditedPostDirty,r=e.isEditedPostAutosaveable,o=e.getReferenceByDistinctEdits,i=e.isAutosavingPost,s=t("core/editor").getEditorSettings().autosaveInterval;return{isDirty:n(),isAutosaveable:r(),editsReference:o(),isAutosaving:i(),autosaveInterval:s}}),Object(l.withDispatch)(function(t){return{autosave:t("core/editor").autosave}})])(Hr),Qr=n(16),Yr=n.n(Qr),$r=function(t){var e=t.children,n=t.isValid,r=t.level,o=t.path,s=void 0===o?[]:o,a=t.href,c=t.onSelect;return Object(xr.createElement)("li",{className:Yr()("document-outline__item","is-".concat(r.toLowerCase()),{"is-invalid":!n})},Object(xr.createElement)("a",{href:a,className:"document-outline__button",onClick:c},Object(xr.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),s.map(function(t,e){var n=t.clientId;return Object(xr.createElement)("strong",{key:e,className:"document-outline__level"},Object(xr.createElement)(i.BlockTitle,{clientId:n}))}),Object(xr.createElement)("strong",{className:"document-outline__level"},r),Object(xr.createElement)("span",{className:"document-outline__item-content"},e)))},Xr=Object(xr.createElement)("em",null,Object(Z.__)("(Empty heading)")),Zr=[Object(xr.createElement)("br",{key:"incorrect-break"}),Object(xr.createElement)("em",{key:"incorrect-message"},Object(Z.__)("(Incorrect heading level)"))],Jr=[Object(xr.createElement)("br",{key:"incorrect-break-h1"}),Object(xr.createElement)("em",{key:"incorrect-message-h1"},Object(Z.__)("(Your theme may already use a H1 for the post title)"))],to=[Object(xr.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(xr.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(Z.__)("(Multiple H1 headings are not recommended)"))],eo=function(t){return!t.attributes.content||0===t.attributes.content.length},no=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/block-editor").getBlocks,n=t("core/editor").getEditedPostAttribute,r=(0,t("core").getPostType)(n("type"));return{title:n("title"),blocks:e(),isTitleSupported:Object(v.get)(r,["supports","title"],!1)}}))(function(t){var e=t.blocks,n=void 0===e?[]:e,r=t.title,o=t.onSelect,i=t.isTitleSupported,s=t.hasOutlineItemsDisabled,a=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(v.flatMap)(e,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===e.name?Object(h.a)({},e,{path:n,level:e.attributes.level,isEmpty:eo(e)}):t(e.innerBlocks,[].concat(Object(x.a)(n),[e]))})}(n);if(a.length<1)return null;var u=1,l=document.querySelector(".editor-post-title__input"),d=i&&r&&l,p=Object(v.countBy)(a,"level")[1]>1;return Object(xr.createElement)("div",{className:"document-outline"},Object(xr.createElement)("ul",null,d&&Object(xr.createElement)($r,{level:Object(Z.__)("Title"),isValid:!0,onSelect:o,href:"#".concat(l.id),isDisabled:s},r),a.map(function(t,e){var n=t.level>u+1,r=!(t.isEmpty||n||!t.level||1===t.level&&(p||d));return u=t.level,Object(xr.createElement)($r,{key:e,level:"H".concat(t.level),isValid:r,path:t.path,isDisabled:s,href:"#block-".concat(t.clientId),onSelect:o},t.isEmpty?Xr:Object(c.getTextContent)(Object(c.create)({html:t.attributes.content})),n&&Zr,1===t.level&&p&&to,d&&1===t.level&&!p&&Jr)})))});var ro=Object(l.withSelect)(function(t){return{blocks:t("core/block-editor").getBlocks()}})(function(t){var e=t.blocks,n=t.children;return Object(v.filter)(e,function(t){return"core/heading"===t.name}).length<1?null:n}),oo=n(3),io=n(18),so=n(49),ao=n.n(so);var co=Object(Wr.compose)([Object(l.withSelect)(function(t){return{isDirty:(0,t("core/editor").isEditedPostDirty)()}}),Object(l.withDispatch)(function(t,e,n){var r=n.select,o=t("core/editor").savePost;return{onSave:function(){(0,r("core/editor").isEditedPostDirty)()&&o()}}})])(function(t){var e=t.onSave;return Object(xr.createElement)(Dr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.a)({},io.rawShortcut.primary("s"),function(t){t.preventDefault(),e()})})}),uo=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).undoOrRedo=t.undoOrRedo.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"undoOrRedo",value:function(t){var e=this.props,n=e.onRedo,r=e.onUndo;t.shiftKey?n():r(),t.preventDefault()}},{key:"render",value:function(){var t;return Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)(i.BlockEditorKeyboardShortcuts,null),Object(xr.createElement)(Dr.KeyboardShortcuts,{shortcuts:(t={},Object(p.a)(t,io.rawShortcut.primary("z"),this.undoOrRedo),Object(p.a)(t,io.rawShortcut.primaryShift("z"),this.undoOrRedo),t)}),Object(xr.createElement)(co,null))}}]),e}(xr.Component),lo=Object(l.withDispatch)(function(t){var e=t("core/editor");return{onRedo:e.redo,onUndo:e.undo}})(uo),po=lo;function ho(){return ao()("EditorGlobalKeyboardShortcuts",{alternative:"VisualEditorGlobalKeyboardShortcuts",plugin:"Gutenberg"}),Object(xr.createElement)(lo,null)}function fo(){return Object(xr.createElement)(co,null)}var bo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{hasRedo:t("core/editor").hasEditorRedo()}}),Object(l.withDispatch)(function(t){return{redo:t("core/editor").redo}})])(function(t){var e=t.hasRedo,n=t.redo;return Object(xr.createElement)(Dr.IconButton,{icon:"redo",label:Object(Z.__)("Redo"),shortcut:io.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?n:void 0,className:"editor-history__redo"})});var mo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{hasUndo:t("core/editor").hasEditorUndo()}}),Object(l.withDispatch)(function(t){return{undo:t("core/editor").undo}})])(function(t){var e=t.hasUndo,n=t.undo;return Object(xr.createElement)(Dr.IconButton,{icon:"undo",label:Object(Z.__)("Undo"),shortcut:io.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?n:void 0,className:"editor-history__undo"})});var vo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{isValid:t("core/block-editor").isValidTemplate()}}),Object(l.withDispatch)(function(t){var e=t("core/block-editor"),n=e.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:e.synchronizeTemplate}})])(function(t){var e=t.isValid,n=Object(Ur.a)(t,["isValid"]);return e?null:Object(xr.createElement)(Dr.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(xr.createElement)("p",null,Object(Z.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(xr.createElement)("div",null,Object(xr.createElement)(Dr.Button,{isDefault:!0,onClick:n.resetTemplateValidity},Object(Z.__)("Keep it as is")),Object(xr.createElement)(Dr.Button,{onClick:function(){window.confirm(Object(Z.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(Z.__)("Reset the template"))))});var Oo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{notices:t("core/notices").getNotices()}}),Object(l.withDispatch)(function(t){return{onRemove:t("core/notices").removeNotice}})])(function(t){var e=t.dismissible,n=t.notices,r=Object(Ur.a)(t,["dismissible","notices"]);return void 0!==e&&(n=Object(v.filter)(n,{isDismissible:e})),Object(xr.createElement)(Dr.NoticeList,Object(Nr.a)({notices:n},r),!1!==e&&Object(xr.createElement)(vo,null))}),go=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).reboot=t.reboot.bind(Object(oo.a)(Object(oo.a)(t))),t.getContent=t.getContent.bind(Object(oo.a)(Object(oo.a)(t))),t.state={error:null},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidCatch",value:function(t){this.setState({error:t})}},{key:"reboot",value:function(){this.props.onError()}},{key:"getContent",value:function(){try{return Object(l.select)("core/editor").getEditedPostContent()}catch(t){}}},{key:"render",value:function(){var t=this.state.error;return t?Object(xr.createElement)(i.Warning,{className:"editor-error-boundary",actions:[Object(xr.createElement)(Dr.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(Z.__)("Attempt Recovery")),Object(xr.createElement)(Dr.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(Z.__)("Copy Post Text")),Object(xr.createElement)(Dr.ClipboardButton,{key:"copy-error",text:t.stack,isLarge:!0},Object(Z.__)("Copy Error"))]},Object(Z.__)("The editor has encountered an unexpected error.")):this.props.children}}]),e}(xr.Component);var yo=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getEditorSettings,o=t("core").getPostType,i=r().availableTemplates;return{postType:o(n("type")),availableTemplates:i}})(function(t){var e=t.availableTemplates,n=t.postType,r=t.children;return!Object(v.get)(n,["supports","page-attributes"],!1)&&Object(v.isEmpty)(e)?null:r});var jo=Object(l.withSelect)(function(t){var e=t("core/editor").getEditedPostAttribute;return{postType:(0,t("core").getPostType)(e("type"))}})(function(t){var e=t.postType,n=t.children,r=t.supportKeys,o=!0;return e&&(o=Object(v.some)(Object(v.castArray)(r),function(t){return!!e.supports[t]})),o?n:null}),_o=Object(Wr.withState)({orderInput:null})(function(t){var e=t.onUpdateOrder,n=t.order,r=void 0===n?0:n,o=t.orderInput,i=t.setState,s=null===o?r:o;return Object(xr.createElement)(Dr.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(Z.__)("Order"),value:s,onChange:function(t){i({orderInput:t});var n=Number(t);Number.isInteger(n)&&""!==Object(v.invoke)(t,["trim"])&&e(Number(t))},size:6,onBlur:function(){i({orderInput:null})}})});var ko=Object(Wr.compose)([Object(l.withSelect)(function(t){return{order:t("core/editor").getEditedPostAttribute("menu_order")}}),Object(l.withDispatch)(function(t){return{onUpdateOrder:function(e){t("core/editor").editPost({menu_order:e})}}})])(function(t){return Object(xr.createElement)(jo,{supportKeys:"page-attributes"},Object(xr.createElement)(_o,t))});function Eo(t){var e=t.map(function(t){return Object(h.a)({children:[],parent:null},t)}),n=Object(v.groupBy)(e,"parent");if(n.null&&n.null.length)return e;return function t(e){return e.map(function(e){var r=n[e.id];return Object(h.a)({},e,{children:r&&r.length?t(r):[]})})}(n[0]||[])}var So=Object(l.withSelect)(function(t){var e=t("core"),n=e.getPostType,r=e.getEntityRecords,o=t("core/editor"),i=o.getCurrentPostId,s=o.getEditedPostAttribute,a=s("type"),c=n(a),u=i(),l=Object(v.get)(c,["hierarchical"],!1),d={per_page:-1,exclude:u,parent_exclude:u,orderby:"menu_order",order:"asc"};return{parent:s("parent"),items:l?r("postType",a,d):[],postType:c}}),Po=Object(l.withDispatch)(function(t){var e=t("core/editor").editPost;return{onUpdateParent:function(t){e({parent:t||0})}}}),wo=Object(Wr.compose)([So,Po])(function(t){var e=t.parent,n=t.postType,r=t.items,o=t.onUpdateParent,i=Object(v.get)(n,["hierarchical"],!1),s=Object(v.get)(n,["labels","parent_item_colon"]),a=r||[];if(!i||!s||!a.length)return null;var c=Eo(a.map(function(t){return{id:t.id,parent:t.parent,name:t.title.raw?t.title.raw:"#".concat(t.id," (").concat(Object(Z.__)("no title"),")")}}));return Object(xr.createElement)(Dr.TreeSelect,{className:"editor-page-attributes__parent",label:s,noOptionLabel:"(".concat(Object(Z.__)("no parent"),")"),tree:c,selectedId:e,onChange:o})});var To=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=(0,e.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}}),Object(l.withDispatch)(function(t){return{onUpdate:function(e){t("core/editor").editPost({template:e||""})}}}))(function(t){var e=t.availableTemplates,n=t.selectedTemplate,r=t.onUpdate;return Object(v.isEmpty)(e)?null:Object(xr.createElement)(Dr.SelectControl,{label:Object(Z.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(v.map)(e,function(t,e){return{value:e,label:t}})})});var Co=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(v.get)(e,["_links","wp:action-assign-author"],!1),postType:t("core/editor").getCurrentPostType(),authors:t("core").getAuthors()}}),Wr.withInstanceId])(function(t){var e=t.hasAssignAuthorAction,n=t.authors,r=t.children;return!e||n.length<2?null:Object(xr.createElement)(jo,{supportKeys:"author"},r)}),xo=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).setAuthorId=t.setAuthorId.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"setAuthorId",value:function(t){var e=this.props.onUpdateAuthor,n=t.target.value;e(Number(n))}},{key:"render",value:function(){var t=this.props,e=t.postAuthor,n=t.instanceId,r=t.authors,o="post-author-selector-"+n;return Object(xr.createElement)(Co,null,Object(xr.createElement)("label",{htmlFor:o},Object(Z.__)("Author")),Object(xr.createElement)("select",{id:o,value:e,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map(function(t){return Object(xr.createElement)("option",{key:t.id,value:t.id},t.name)})))}}]),e}(xr.Component),Bo=Object(Wr.compose)([Object(l.withSelect)(function(t){return{postAuthor:t("core/editor").getEditedPostAttribute("author"),authors:t("core").getAuthors()}}),Object(l.withDispatch)(function(t){return{onUpdateAuthor:function(e){t("core/editor").editPost({author:e})}}}),Wr.withInstanceId])(xo);var Ao=Object(Wr.compose)([Object(l.withSelect)(function(t){return{commentStatus:t("core/editor").getEditedPostAttribute("comment_status")}}),Object(l.withDispatch)(function(t){return{editPost:t("core/editor").editPost}})])(function(t){var e=t.commentStatus,n=void 0===e?"open":e,r=Object(Ur.a)(t,["commentStatus"]);return Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Allow Comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})});var Io=Object(Wr.compose)([Object(l.withSelect)(function(t){return{excerpt:t("core/editor").getEditedPostAttribute("excerpt")}}),Object(l.withDispatch)(function(t){return{onUpdateExcerpt:function(e){t("core/editor").editPost({excerpt:e})}}})])(function(t){var e=t.excerpt,n=t.onUpdateExcerpt;return Object(xr.createElement)("div",{className:"editor-post-excerpt"},Object(xr.createElement)(Dr.TextareaControl,{label:Object(Z.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(t){return n(t)},value:e}),Object(xr.createElement)(Dr.ExternalLink,{href:Object(Z.__)("https://codex.wordpress.org/Excerpt")},Object(Z.__)("Learn more about manual excerpts")))});var Lo=function(t){return Object(xr.createElement)(jo,Object(Nr.a)({},t,{supportKeys:"excerpt"}))};var Ro=Object(l.withSelect)(function(t){var e=t("core").getThemeSupports;return{postType:(0,t("core/editor").getEditedPostAttribute)("type"),themeSupports:e()}})(function(t){var e=t.themeSupports,n=t.children,r=t.postType,o=t.supportKeys;return Object(v.some)(Object(v.castArray)(o),function(t){var n=Object(v.get)(e,[t],!1);return"post-thumbnails"===t&&Object(v.isArray)(n)?Object(v.includes)(n,r):n})?n:null});var No=function(t){return Object(xr.createElement)(Ro,{supportKeys:"post-thumbnails"},Object(xr.createElement)(jo,Object(Nr.a)({},t,{supportKeys:"thumbnail"})))},Uo=["image"],Do=Object(Z.__)("Featured Image"),Fo=Object(Z.__)("Set featured image"),Mo=Object(Z.__)("Remove image");var Vo=Object(l.withSelect)(function(t){var e=t("core"),n=e.getMedia,r=e.getPostType,o=t("core/editor"),i=o.getCurrentPostId,s=o.getEditedPostAttribute,a=s("featured_media");return{media:a?n(a):null,currentPostId:i(),postType:r(s("type")),featuredImageId:a}}),zo=Object(l.withDispatch)(function(t){var e=t("core/editor").editPost;return{onUpdateImage:function(t){e({featured_media:t.id})},onRemoveImage:function(){e({featured_media:0})}}}),Ko=Object(Wr.compose)(Vo,zo,Object(Dr.withFilters)("editor.PostFeaturedImage"))(function(t){var e,n,r,o=t.currentPostId,s=t.featuredImageId,a=t.onUpdateImage,c=t.onRemoveImage,u=t.media,l=t.postType,d=Object(v.get)(l,["labels"],{}),p=Object(xr.createElement)("p",null,Object(Z.__)("To edit the featured image, you need permission to upload media."));if(u){var h=Object(Cr.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",u.id,o);Object(v.has)(u,["media_details","sizes",h])?(e=u.media_details.sizes[h].width,n=u.media_details.sizes[h].height,r=u.media_details.sizes[h].source_url):(e=u.media_details.width,n=u.media_details.height,r=u.source_url)}return Object(xr.createElement)(No,null,Object(xr.createElement)("div",{className:"editor-post-featured-image"},Object(xr.createElement)(i.MediaUploadCheck,{fallback:p},Object(xr.createElement)(i.MediaUpload,{title:d.featured_image||Do,onSelect:a,allowedTypes:Uo,modalClass:"editor-post-featured-image__media-modal",render:function(t){var o=t.open;return Object(xr.createElement)(Dr.Button,{className:s?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o,"aria-label":s?Object(Z.__)("Edit or update the image"):null},!!s&&u&&Object(xr.createElement)(Dr.ResponsiveWrapper,{naturalWidth:e,naturalHeight:n},Object(xr.createElement)("img",{src:r,alt:""})),!!s&&!u&&Object(xr.createElement)(Dr.Spinner,null),!s&&(d.set_featured_image||Fo))},value:s})),!!s&&u&&!u.isLoading&&Object(xr.createElement)(i.MediaUploadCheck,null,Object(xr.createElement)(i.MediaUpload,{title:d.featured_image||Do,onSelect:a,allowedTypes:Uo,modalClass:"editor-post-featured-image__media-modal",render:function(t){var e=t.open;return Object(xr.createElement)(Dr.Button,{onClick:e,isDefault:!0,isLarge:!0},Object(Z.__)("Replace image"))}})),!!s&&Object(xr.createElement)(i.MediaUploadCheck,null,Object(xr.createElement)(Dr.Button,{onClick:c,isLink:!0,isDestructive:!0},d.remove_featured_image||Mo))))});var qo=Object(l.withSelect)(function(t){return{disablePostFormats:t("core/editor").getEditorSettings().disablePostFormats}})(function(t){var e=t.disablePostFormats,n=Object(Ur.a)(t,["disablePostFormats"]);return!e&&Object(xr.createElement)(jo,Object(Nr.a)({},n,{supportKeys:"post-formats"}))}),Wo=[{id:"aside",caption:Object(Z.__)("Aside")},{id:"gallery",caption:Object(Z.__)("Gallery")},{id:"link",caption:Object(Z.__)("Link")},{id:"image",caption:Object(Z.__)("Image")},{id:"quote",caption:Object(Z.__)("Quote")},{id:"standard",caption:Object(Z.__)("Standard")},{id:"status",caption:Object(Z.__)("Status")},{id:"video",caption:Object(Z.__)("Video")},{id:"audio",caption:Object(Z.__)("Audio")},{id:"chat",caption:Object(Z.__)("Chat")}];var Ho=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getSuggestedPostFormat,o=n("format"),i=t("core").getThemeSupports();return{postFormat:o,supportedFormats:Object(v.union)([o],Object(v.get)(i,["formats"],[])),suggestedFormat:r()}}),Object(l.withDispatch)(function(t){return{onUpdatePostFormat:function(e){t("core/editor").editPost({format:e})}}}),Wr.withInstanceId])(function(t){var e=t.onUpdatePostFormat,n=t.postFormat,r=void 0===n?"standard":n,o=t.supportedFormats,i=t.suggestedFormat,s="post-format-selector-"+t.instanceId,a=Wo.filter(function(t){return Object(v.includes)(o,t.id)}),c=Object(v.find)(a,function(t){return t.id===i});return Object(xr.createElement)(qo,null,Object(xr.createElement)("div",{className:"editor-post-format"},Object(xr.createElement)("div",{className:"editor-post-format__content"},Object(xr.createElement)("label",{htmlFor:s},Object(Z.__)("Post Format")),Object(xr.createElement)(Dr.SelectControl,{value:r,onChange:function(t){return e(t)},id:s,options:a.map(function(t){return{label:t.caption,value:t.id}})})),c&&c.id!==r&&Object(xr.createElement)("div",{className:"editor-post-format__suggestion"},Object(Z.__)("Suggestion:")," ",Object(xr.createElement)(Dr.Button,{isLink:!0,onClick:function(){return e(c.id)}},c.caption))))});var Go=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPostLastRevisionId,r=e.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}})(function(t){var e=t.lastRevisionId,n=t.revisionsCount,r=t.children;return!e||n<2?null:Object(xr.createElement)(jo,{supportKeys:"revisions"},r)});function Qo(t,e){return Object(O.addQueryArgs)(t,e)}function Yo(t){return Object(v.toLower)(Object(v.deburr)(Object(v.trim)(t.replace(/[\s\.\/_]+/g,"-"),"-")))}var $o=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPostLastRevisionId,r=e.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}})(function(t){var e=t.lastRevisionId,n=t.revisionsCount;return Object(xr.createElement)(Go,null,Object(xr.createElement)(Dr.IconButton,{href:Qo("revision.php",{revision:e,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(Z.sprintf)(Object(Z._n)("%d Revision","%d Revisions",n),n)))});var Xo=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).openPreviewWindow=t.openPreviewWindow.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidUpdate",value:function(t){var e=this.props.previewLink;e&&!t.previewLink&&this.setPreviewWindowLink(e)}},{key:"setPreviewWindowLink",value:function(t){var e=this.previewWindow;e&&!e.closed&&(e.location=t)}},{key:"getWindowTarget",value:function(){var t=this.props.postId;return"wp-preview-".concat(t)}},{key:"openPreviewWindow",value:function(t){var e,n;(t.preventDefault(),this.previewWindow&&!this.previewWindow.closed||(this.previewWindow=window.open("",this.getWindowTarget())),this.previewWindow.focus(),this.props.isAutosaveable)?(this.props.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),e=this.previewWindow.document,n=Object(xr.renderToString)(Object(xr.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(xr.createElement)(Dr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(xr.createElement)(Dr.Path,{className:"outer",d:"M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",fill:"none"}),Object(xr.createElement)(Dr.Path,{className:"inner",d:"M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",fill:"none"})),Object(xr.createElement)("p",null,Object(Z.__)("Generating preview…")))),n+='\n\t\t\n\t',n=Object(Cr.applyFilters)("editor.PostPreview.interstitialMarkup",n),e.write(n),e.title=Object(Z.__)("Generating preview…"),e.close()):this.setPreviewWindowLink(t.target.href)}},{key:"render",value:function(){var t=this.props,e=t.previewLink,n=t.currentPostLink,r=t.isSaveable,o=e||n;return Object(xr.createElement)(Dr.Button,{isLarge:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(Z._x)("Preview","imperative verb"),Object(xr.createElement)("span",{className:"screen-reader-text"},Object(Z.__)("(opens in a new tab)")),Object(xr.createElement)(a.DotTip,{tipId:"core/editor.preview"},Object(Z.__)("Click “Preview” to load a preview of this page, so you can make sure you’re happy with your blocks.")))}}]),e}(xr.Component),Zo=Object(Wr.compose)([Object(l.withSelect)(function(t,e){var n=e.forcePreviewLink,r=e.forceIsAutosaveable,o=t("core/editor"),i=o.getCurrentPostId,s=o.getCurrentPostAttribute,a=o.getEditedPostAttribute,c=o.isEditedPostSaveable,u=o.isEditedPostAutosaveable,l=o.getEditedPostPreviewLink,d=t("core").getPostType,p=l(),h=d(a("type"));return{postId:i(),currentPostLink:s("link"),previewLink:void 0!==n?n:p,isSaveable:c(),isAutosaveable:r||u(),isViewable:Object(v.get)(h,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}}),Object(l.withDispatch)(function(t){return{autosave:t("core/editor").autosave,savePost:t("core/editor").savePost}}),Object(Wr.ifCondition)(function(t){return t.isViewable})])(Xo),Jo=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).sendPostLock=t.sendPostLock.bind(Object(oo.a)(Object(oo.a)(t))),t.receivePostLock=t.receivePostLock.bind(Object(oo.a)(Object(oo.a)(t))),t.releasePostLock=t.releasePostLock.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){var t=this.getHookName();Object(Cr.addAction)("heartbeat.send",t,this.sendPostLock),Object(Cr.addAction)("heartbeat.tick",t,this.receivePostLock)}},{key:"componentWillUnmount",value:function(){var t=this.getHookName();Object(Cr.removeAction)("heartbeat.send",t),Object(Cr.removeAction)("heartbeat.tick",t)}},{key:"getHookName",value:function(){return"core/editor/post-locked-modal-"+this.props.instanceId}},{key:"sendPostLock",value:function(t){var e=this.props,n=e.isLocked,r=e.activePostLock,o=e.postId;n||(t["wp-refresh-post-lock"]={lock:r,post_id:o})}},{key:"receivePostLock",value:function(t){if(t["wp-refresh-post-lock"]){var e=this.props,n=e.autosave,r=e.updatePostLock,o=t["wp-refresh-post-lock"];o.lock_error?(n(),r({isLocked:!0,isTakeover:!0,user:{avatar:o.lock_error.avatar_src}})):o.new_lock&&r({isLocked:!1,activePostLock:o.new_lock})}}},{key:"releasePostLock",value:function(){var t=this.props,e=t.isLocked,n=t.activePostLock,r=t.postLockUtils,o=t.postId;if(!e&&n){var i=new window.FormData;i.append("action","wp-remove-post-lock"),i.append("_wpnonce",r.unlockNonce),i.append("post_ID",o),i.append("active_post_lock",n);var s=new window.XMLHttpRequest;s.open("POST",r.ajaxUrl,!1),s.send(i)}}},{key:"render",value:function(){var t=this.props,e=t.user,n=t.postId,r=t.isLocked,o=t.isTakeover,i=t.postLockUtils,s=t.postType;if(!r)return null;var a=e.name,c=e.avatar,u=Object(O.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),l=Qo("edit.php",{post_type:Object(v.get)(s,["slug"])}),d=Object(Z.__)("Exit the Editor");return Object(xr.createElement)(Dr.Modal,{title:o?Object(Z.__)("Someone else has taken over this post."):Object(Z.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissable:!1,className:"editor-post-locked-modal"},!!c&&Object(xr.createElement)("img",{src:c,alt:Object(Z.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(xr.createElement)("div",null,Object(xr.createElement)("div",null,a?Object(Z.sprintf)(Object(Z.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(Z.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(xr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(xr.createElement)(Dr.Button,{isPrimary:!0,isLarge:!0,href:l},d))),!o&&Object(xr.createElement)("div",null,Object(xr.createElement)("div",null,a?Object(Z.sprintf)(Object(Z.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(Z.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(xr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(xr.createElement)(Dr.Button,{isDefault:!0,isLarge:!0,href:l},d),Object(xr.createElement)(Zo,null),Object(xr.createElement)(Dr.Button,{isPrimary:!0,isLarge:!0,href:u},Object(Z.__)("Take Over")))))}}]),e}(xr.Component),ti=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isPostLocked,r=e.isPostLockTakeover,o=e.getPostLockUser,i=e.getCurrentPostId,s=e.getActivePostLock,a=e.getEditedPostAttribute,c=e.getEditorSettings,u=t("core").getPostType;return{isLocked:n(),isTakeover:r(),user:o(),postId:i(),postLockUtils:c().postLockUtils,activePostLock:s(),postType:u(a("type"))}}),Object(l.withDispatch)(function(t){var e=t("core/editor");return{autosave:e.autosave,updatePostLock:e.updatePostLock}}),Wr.withInstanceId,Object(Wr.withGlobalEvents)({beforeunload:"releasePostLock"}))(Jo);var ei=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isCurrentPostPublished,r=e.getCurrentPostType,o=e.getCurrentPost;return{hasPublishAction:Object(v.get)(o(),["_links","wp:action-publish"],!1),isPublished:n(),postType:r()}}))(function(t){var e=t.hasPublishAction,n=t.isPublished,r=t.children;return n||!e?null:r});var ni=Object(Wr.compose)(Object(l.withSelect)(function(t){return{status:t("core/editor").getEditedPostAttribute("status")}}),Object(l.withDispatch)(function(t){return{onUpdateStatus:function(e){t("core/editor").editPost({status:e})}}}))(function(t){var e=t.status,n=t.onUpdateStatus;return Object(xr.createElement)(ei,null,Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Pending Review"),checked:"pending"===e,onChange:function(){n("pending"===e?"draft":"pending")}}))});var ri=Object(Wr.compose)([Object(l.withSelect)(function(t){return{pingStatus:t("core/editor").getEditedPostAttribute("ping_status")}}),Object(l.withDispatch)(function(t){return{editPost:t("core/editor").editPost}})])(function(t){var e=t.pingStatus,n=void 0===e?"open":e,r=Object(Ur.a)(t,["pingStatus"]);return Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Allow Pingbacks & Trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})});var oi=Object(Wr.compose)([Object(l.withSelect)(function(t,e){var n=e.forceIsSaving,r=t("core/editor"),o=r.isCurrentPostPublished,i=r.isEditedPostBeingScheduled,s=r.isSavingPost,a=r.isPublishingPost,c=r.getCurrentPost,u=r.getCurrentPostType,l=r.isAutosavingPost;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||s(),isPublishing:a(),hasPublishAction:Object(v.get)(c(),["_links","wp:action-publish"],!1),postType:u(),isAutosaving:l()}})])(function(t){var e=t.isPublished,n=t.isBeingScheduled,r=t.isSaving,o=t.isPublishing,i=t.hasPublishAction,s=t.isAutosaving;return o?Object(Z.__)("Publishing…"):e&&r&&!s?Object(Z.__)("Updating…"):n&&r&&!s?Object(Z.__)("Scheduling…"):i?e?Object(Z.__)("Update"):n?Object(Z.__)("Schedule"):Object(Z.__)("Publish"):Object(Z.__)("Submit for Review")}),ii=function(t){function e(t){var n;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).call(this,t))).buttonNode=Object(xr.createRef)(),n}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.buttonNode.current.focus()}},{key:"render",value:function(){var t,e=this.props,n=e.forceIsDirty,r=e.forceIsSaving,o=e.hasPublishAction,i=e.isBeingScheduled,s=e.isOpen,c=e.isPostSavingLocked,u=e.isPublishable,l=e.isPublished,d=e.isSaveable,p=e.isSaving,h=e.isToggle,f=e.onSave,b=e.onStatusChange,m=e.onSubmit,O=void 0===m?v.noop:m,g=e.onToggle,y=e.visibility,j=p||r||!d||c||!u&&!n,_=l||p||r||!d||!u&&!n;t=o?i?"future":"private"===y?"private":"publish":"pending";var k={"aria-disabled":j,className:"editor-post-publish-button",isBusy:p&&l,isLarge:!0,isPrimary:!0,onClick:function(){j||(O(),b(t),f())}},E={"aria-disabled":_,"aria-expanded":s,className:"editor-post-publish-panel__toggle",isBusy:p&&l,isPrimary:!0,onClick:function(){_||g()}},S=i?Object(Z.__)("Schedule…"):Object(Z.__)("Publish…"),P=Object(xr.createElement)(oi,{forceIsSaving:r}),w=h?E:k,T=h?S:P;return Object(xr.createElement)(Dr.Button,Object(Nr.a)({ref:this.buttonNode},w),T,Object(xr.createElement)(a.DotTip,{tipId:"core/editor.publish"},Object(Z.__)("Finished writing? That’s great, let’s get this published right now. Just click “Publish” and you’re good to go.")))}}]),e}(xr.Component),si=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isSavingPost,r=e.isEditedPostBeingScheduled,o=e.getEditedPostVisibility,i=e.isCurrentPostPublished,s=e.isEditedPostSaveable,a=e.isEditedPostPublishable,c=e.isPostSavingLocked,u=e.getCurrentPost,l=e.getCurrentPostType;return{isSaving:n(),isBeingScheduled:r(),visibility:o(),isSaveable:s(),isPostSavingLocked:c(),isPublishable:a(),isPublished:i(),hasPublishAction:Object(v.get)(u(),["_links","wp:action-publish"],!1),postType:l()}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.editPost;return{onStatusChange:function(t){return n({status:t})},onSave:e.savePost}})])(ii),ai=[{value:"public",label:Object(Z.__)("Public"),info:Object(Z.__)("Visible to everyone.")},{value:"private",label:Object(Z.__)("Private"),info:Object(Z.__)("Only visible to site admins and editors.")},{value:"password",label:Object(Z.__)("Password Protected"),info:Object(Z.__)("Protected with a password you choose. Only those with the password can view this post.")}],ci=function(t){function e(t){var n;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).setPublic=n.setPublic.bind(Object(oo.a)(Object(oo.a)(n))),n.setPrivate=n.setPrivate.bind(Object(oo.a)(Object(oo.a)(n))),n.setPasswordProtected=n.setPasswordProtected.bind(Object(oo.a)(Object(oo.a)(n))),n.updatePassword=n.updatePassword.bind(Object(oo.a)(Object(oo.a)(n))),n.state={hasPassword:!!t.password},n}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"setPublic",value:function(){var t=this.props,e=t.visibility,n=t.onUpdateVisibility,r=t.status;n("private"===e?"draft":r),this.setState({hasPassword:!1})}},{key:"setPrivate",value:function(){if(window.confirm(Object(Z.__)("Would you like to privately publish this post now?"))){var t=this.props,e=t.onUpdateVisibility,n=t.onSave;e("private"),this.setState({hasPassword:!1}),n()}}},{key:"setPasswordProtected",value:function(){var t=this.props,e=t.visibility,n=t.onUpdateVisibility,r=t.status;n("private"===e?"draft":r,t.password||""),this.setState({hasPassword:!0})}},{key:"updatePassword",value:function(t){var e=this.props,n=e.status;(0,e.onUpdateVisibility)(n,t.target.value)}},{key:"render",value:function(){var t=this.props,e=t.visibility,n=t.password,r=t.instanceId,o={public:{onSelect:this.setPublic,checked:"public"===e&&!this.state.hasPassword},private:{onSelect:this.setPrivate,checked:"private"===e},password:{onSelect:this.setPasswordProtected,checked:this.state.hasPassword}};return[Object(xr.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(xr.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(Z.__)("Post Visibility")),ai.map(function(t){var e=t.value,n=t.label,i=t.info;return Object(xr.createElement)("div",{key:e,className:"editor-post-visibility__choice"},Object(xr.createElement)("input",{type:"radio",name:"editor-post-visibility__setting-".concat(r),value:e,onChange:o[e].onSelect,checked:o[e].checked,id:"editor-post-".concat(e,"-").concat(r),"aria-describedby":"editor-post-".concat(e,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-radio"}),Object(xr.createElement)("label",{htmlFor:"editor-post-".concat(e,"-").concat(r),className:"editor-post-visibility__dialog-label"},n),Object(xr.createElement)("p",{id:"editor-post-".concat(e,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-info"},i))})),this.state.hasPassword&&Object(xr.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(xr.createElement)("label",{htmlFor:"editor-post-visibility__dialog-password-input-".concat(r),className:"screen-reader-text"},Object(Z.__)("Create password")),Object(xr.createElement)("input",{className:"editor-post-visibility__dialog-password-input",id:"editor-post-visibility__dialog-password-input-".concat(r),type:"text",onChange:this.updatePassword,value:n,placeholder:Object(Z.__)("Use a secure password")}))]}}]),e}(xr.Component),ui=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.savePost,r=e.editPost;return{onSave:n,onUpdateVisibility:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r({status:t,password:e})}}}),Wr.withInstanceId])(ci);var li=Object(l.withSelect)(function(t){return{visibility:t("core/editor").getEditedPostVisibility()}})(function(t){var e=t.visibility;return Object(v.find)(ai,{value:e}).label});var di=Object(Wr.compose)([Object(l.withSelect)(function(t){return{date:t("core/editor").getEditedPostAttribute("date")}}),Object(l.withDispatch)(function(t){return{onUpdateDate:function(e){t("core/editor").editPost({date:e})}}})])(function(t){var e=t.date,n=t.onUpdateDate,r=Object(be.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(xr.createElement)(Dr.DateTimePicker,{key:"date-time-picker",currentDate:e,onChange:n,is12Hour:o})});var pi=Object(l.withSelect)(function(t){return{date:t("core/editor").getEditedPostAttribute("date"),isFloating:t("core/editor").isEditedPostDateFloating()}})(function(t){var e=t.date,n=t.isFloating,r=Object(be.__experimentalGetSettings)();return e&&!n?Object(be.dateI18n)(r.formats.datetimeAbbreviated,e):Object(Z.__)("Immediately")}),hi={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},fi=function(t,e){return t.toLowerCase()===e.toLowerCase()},bi=function(t){return Object(h.a)({},t,{name:Object(v.unescape)(t.name)})},mi=function(t){return Object(v.map)(t,bi)},vi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(oo.a)(Object(oo.a)(t))),t.searchTerms=Object(v.throttle)(t.searchTerms.bind(Object(oo.a)(Object(oo.a)(t))),500),t.findOrCreateTerm=t.findOrCreateTerm.bind(Object(oo.a)(Object(oo.a)(t))),t.state={loading:!Object(v.isEmpty)(t.props.terms),availableTerms:[],selectedTerms:[]},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){var t=this;Object(v.isEmpty)(this.props.terms)||(this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:-1}),this.initRequest.then(function(){t.setState({loading:!1})},function(e){"abort"!==e.statusText&&t.setState({loading:!1})}))}},{key:"componentWillUnmount",value:function(){Object(v.invoke)(this.initRequest,["abort"]),Object(v.invoke)(this.searchRequest,["abort"])}},{key:"componentDidUpdate",value:function(t){t.terms!==this.props.terms&&this.updateSelectedTerms(this.props.terms)}},{key:"fetchTerms",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.props.taxonomy,r=Object(h.a)({},hi,e),o=H()({path:Object(O.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(mi).then(function(e){t.setState(function(t){return{availableTerms:t.availableTerms.concat(e.filter(function(e){return!Object(v.find)(t.availableTerms,function(t){return t.id===e.id})}))}}),t.updateSelectedTerms(t.props.terms)}),o}},{key:"updateSelectedTerms",value:function(){var t=this,e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(e,n){var r=Object(v.find)(t.state.availableTerms,function(t){return t.id===n});return r&&e.push(r.name),e},[]);this.setState({selectedTerms:e})}},{key:"findOrCreateTerm",value:function(t){var e=this,n=this.props.taxonomy,r=Object(v.escape)(t);return H()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:r}}).catch(function(o){return"term_exists"===o.code?(e.addRequest=H()({path:Object(O.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(h.a)({},hi,{search:r}))}).then(mi),e.addRequest.then(function(e){return Object(v.find)(e,function(e){return fi(e.name,t)})})):Promise.reject(o)}).then(bi)}},{key:"onChange",value:function(t){var e=this,n=Object(v.uniqBy)(t,function(t){return t.toLowerCase()});this.setState({selectedTerms:n});var r=n.filter(function(t){return!Object(v.find)(e.state.availableTerms,function(e){return fi(e.name,t)})}),o=function(t,e){return t.map(function(t){return Object(v.find)(e,function(e){return fi(e.name,t)}).id})};if(0===r.length)return this.props.onUpdateTerms(o(n,this.state.availableTerms),this.props.taxonomy.rest_base);Promise.all(r.map(this.findOrCreateTerm)).then(function(t){var r=e.state.availableTerms.concat(t);return e.setState({availableTerms:r}),e.props.onUpdateTerms(o(n,r),e.props.taxonomy.rest_base)})}},{key:"searchTerms",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(v.invoke)(this.searchRequest,["abort"]),this.searchRequest=this.fetchTerms({search:t})}},{key:"render",value:function(){var t=this.props,e=t.slug,n=t.taxonomy;if(!t.hasAssignAction)return null;var r=this.state,o=r.loading,i=r.availableTerms,s=r.selectedTerms,a=i.map(function(t){return t.name}),c=Object(v.get)(n,["labels","add_new_item"],"post_tag"===e?Object(Z.__)("Add New Tag"):Object(Z.__)("Add New Term")),u=Object(v.get)(n,["labels","singular_name"],"post_tag"===e?Object(Z.__)("Tag"):Object(Z.__)("Term")),l=Object(Z.sprintf)(Object(Z._x)("%s added","term"),u),d=Object(Z.sprintf)(Object(Z._x)("%s removed","term"),u),p=Object(Z.sprintf)(Object(Z._x)("Remove %s","term"),u);return Object(xr.createElement)(Dr.FormTokenField,{value:s,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:c,messages:{added:l,removed:d,remove:p}})}}]),e}(xr.Component),Oi=Object(Wr.compose)(Object(l.withSelect)(function(t,e){var n=e.slug,r=t("core/editor").getCurrentPost,o=(0,t("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(v.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(v.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?t("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(l.withDispatch)(function(t){return{onUpdateTerms:function(e,n){t("core/editor").editPost(Object(p.a)({},n,e))}}}),Object(Dr.withFilters)("editor.PostTaxonomyType"))(vi),gi=function(){var t=[Object(Z.__)("Suggestion:"),Object(xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Z.__)("Add tags"))];return Object(xr.createElement)(Dr.PanelBody,{initialOpen:!1,title:t},Object(xr.createElement)("p",null,Object(Z.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(xr.createElement)(Oi,{slug:"post_tag"}))},yi=function(t){function e(t){var n;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).call(this,t))).state={hadTagsWhenOpeningThePanel:t.hasTags},n}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(xr.createElement)(gi,null)}}]),e}(xr.Component),ji=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor").getCurrentPostType(),n=t("core").getTaxonomy("post_tag"),r=n&&t("core/editor").getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(v.some)(n.types,function(t){return t===e}),hasTags:r&&r.length}}),Object(Wr.ifCondition)(function(t){var e=t.areTagsFetched;return t.isPostTypeSupported&&e}))(yi),_i=function(t){var e=t.suggestedPostFormat,n=t.suggestionText,r=t.onUpdatePostFormat;return Object(xr.createElement)(Dr.Button,{isLink:!0,onClick:function(){return r(e)}},n)},ki=function(t,e){var n=Wo.filter(function(e){return Object(v.includes)(t,e.id)});return Object(v.find)(n,function(t){return t.id===e})},Ei=Object(Wr.compose)(Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getSuggestedPostFormat,o=Object(v.get)(t("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:ki(o,r())}}),Object(l.withDispatch)(function(t){return{onUpdatePostFormat:function(e){t("core/editor").editPost({format:e})}}}),Object(Wr.ifCondition)(function(t){var e=t.suggestion,n=t.currentPostFormat;return e&&e.id!==n}))(function(t){var e=t.suggestion,n=t.onUpdatePostFormat,r=[Object(Z.__)("Suggestion:"),Object(xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Z.__)("Use a post format"))];return Object(xr.createElement)(Dr.PanelBody,{initialOpen:!1,title:r},Object(xr.createElement)("p",null,Object(Z.__)("Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.")),Object(xr.createElement)("p",null,Object(xr.createElement)(_i,{onUpdatePostFormat:n,suggestedPostFormat:e.id,suggestionText:Object(Z.sprintf)(Object(Z.__)('Apply the "%1$s" format.'),e.caption)})))});var Si=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPost,r=e.isEditedPostBeingScheduled;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),isBeingScheduled:r()}})(function(t){var e,n,r=t.hasPublishAction,o=t.isBeingScheduled,i=t.children;return r?o?(e=Object(Z.__)("Are you ready to schedule?"),n=Object(Z.__)("Your work will be published at the specified date and time.")):(e=Object(Z.__)("Are you ready to publish?"),n=Object(Z.__)("Double-check your settings before publishing.")):(e=Object(Z.__)("Are you ready to submit for review?"),n=Object(Z.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(xr.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(xr.createElement)("div",null,Object(xr.createElement)("strong",null,e)),Object(xr.createElement)("p",null,n),r&&Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)(Dr.PanelBody,{initialOpen:!1,title:[Object(Z.__)("Visibility:"),Object(xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(xr.createElement)(li,null))]},Object(xr.createElement)(ui,null)),Object(xr.createElement)(Dr.PanelBody,{initialOpen:!1,title:[Object(Z.__)("Publish:"),Object(xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(xr.createElement)(pi,null))]},Object(xr.createElement)(di,null)),Object(xr.createElement)(Ei,null),Object(xr.createElement)(ji,null),i))}),Pi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).state={showCopyConfirmation:!1},t.onCopy=t.onCopy.bind(Object(oo.a)(Object(oo.a)(t))),t.onSelectInput=t.onSelectInput.bind(Object(oo.a)(Object(oo.a)(t))),t.postLink=Object(xr.createRef)(),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.postLink.current.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.dismissCopyConfirmation)}},{key:"onCopy",value:function(){var t=this;this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout(function(){t.setState({showCopyConfirmation:!1})},4e3)}},{key:"onSelectInput",value:function(t){t.target.select()}},{key:"render",value:function(){var t=this.props,e=t.children,n=t.isScheduled,r=t.post,o=t.postType,i=Object(v.get)(o,["labels","singular_name"]),s=Object(v.get)(o,["labels","view_item"]),a=n?Object(xr.createElement)(xr.Fragment,null,Object(Z.__)("is now scheduled. It will go live on")," ",Object(xr.createElement)(pi,null),"."):Object(Z.__)("is now live.");return Object(xr.createElement)("div",{className:"post-publish-panel__postpublish"},Object(xr.createElement)(Dr.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(xr.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(Z.__)("(no title)"))," ",a),Object(xr.createElement)(Dr.PanelBody,null,Object(xr.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(xr.createElement)("strong",null,Object(Z.__)("What’s next?"))),Object(xr.createElement)(Dr.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(Z.sprintf)(Object(Z.__)("%s address"),i),value:Object(O.safeDecodeURIComponent)(r.link),onFocus:this.onSelectInput}),Object(xr.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(xr.createElement)(Dr.Button,{isDefault:!0,href:r.link},s),Object(xr.createElement)(Dr.ClipboardButton,{isDefault:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(Z.__)("Copied!"):Object(Z.__)("Copy Link")))),e)}}]),e}(xr.Component),wi=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.getCurrentPost,o=e.isCurrentPostScheduled,i=t("core").getPostType;return{post:r(),postType:i(n("type")),isScheduled:o()}})(Pi),Ti=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).onSubmit=t.onSubmit.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidUpdate",value:function(t){t.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}},{key:"onSubmit",value:function(){var t=this.props,e=t.onClose,n=t.hasPublishAction,r=t.isPostTypeViewable;n&&r||e()}},{key:"render",value:function(){var t=this.props,e=t.forceIsDirty,n=t.forceIsSaving,r=t.isBeingScheduled,o=t.isPublished,i=t.isPublishSidebarEnabled,s=t.isScheduled,a=t.isSaving,c=t.onClose,u=t.onTogglePublishSidebar,l=t.PostPublishExtension,d=t.PrePublishExtension,p=Object(Ur.a)(t,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),h=Object(v.omit)(p,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||s&&r,b=!f&&!a,m=f&&!a;return Object(xr.createElement)("div",Object(Nr.a)({className:"editor-post-publish-panel"},h),Object(xr.createElement)("div",{className:"editor-post-publish-panel__header"},m?Object(xr.createElement)("div",{className:"editor-post-publish-panel__header-published"},s?Object(Z.__)("Scheduled"):Object(Z.__)("Published")):Object(xr.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(xr.createElement)(si,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:e,forceIsSaving:n}),Object(xr.createElement)("span",{className:"editor-post-publish-panel__spacer"})),Object(xr.createElement)(Dr.IconButton,{"aria-expanded":!0,onClick:c,icon:"no-alt",label:Object(Z.__)("Close panel")})),Object(xr.createElement)("div",{className:"editor-post-publish-panel__content"},b&&Object(xr.createElement)(Si,null,d&&Object(xr.createElement)(d,null)),m&&Object(xr.createElement)(wi,{focusOnMount:!0},l&&Object(xr.createElement)(l,null)),a&&Object(xr.createElement)(Dr.Spinner,null)),Object(xr.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Always show pre-publish checks."),checked:i,onChange:u})))}}]),e}(xr.Component),Ci=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core").getPostType,n=t("core/editor"),r=n.getCurrentPost,o=n.getEditedPostAttribute,i=n.isCurrentPostPublished,s=n.isCurrentPostScheduled,a=n.isEditedPostBeingScheduled,c=n.isEditedPostDirty,u=n.isSavingPost,l=t("core/editor").isPublishSidebarEnabled,d=e(o("type"));return{hasPublishAction:Object(v.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(v.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:c(),isPublished:i(),isPublishSidebarEnabled:l(),isSaving:u(),isScheduled:s()}}),Object(l.withDispatch)(function(t,e){var n=e.isPublishSidebarEnabled,r=t("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}}),Dr.withFocusReturn,Dr.withConstrainedTabbing])(Ti);var xi=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isSavingPost,r=e.isCurrentPostPublished,o=e.isCurrentPostScheduled;return{isSaving:n(),isPublished:r(),isScheduled:o()}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.editPost,r=e.savePost;return{onClick:function(){n({status:"draft"}),r()}}})])(function(t){var e=t.isSaving,n=t.isPublished,r=t.isScheduled,o=t.onClick;return n||r?Object(xr.createElement)(Dr.Button,{className:"editor-post-switch-to-draft",onClick:function(){var t;n?t=Object(Z.__)("Are you sure you want to unpublish this post?"):r&&(t=Object(Z.__)("Are you sure you want to unschedule this post?")),window.confirm(t)&&o()},disabled:e,isTertiary:!0},Object(Z.__)("Switch to Draft")):null}),Bi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).state={forceSavedMessage:!1},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidUpdate",value:function(t){var e=this;t.isSaving&&!this.props.isSaving&&(this.setState({forceSavedMessage:!0}),this.props.setTimeout(function(){e.setState({forceSavedMessage:!1})},1e3))}},{key:"render",value:function(){var t=this.props,e=t.post,n=t.isNew,r=t.isScheduled,o=t.isPublished,i=t.isDirty,s=t.isSaving,a=t.isSaveable,c=t.onSave,u=t.isAutosaving,l=t.isPending,d=t.isLargeViewport,p=this.state.forceSavedMessage;if(s){var h=Yr()("editor-post-saved-state","is-saving",{"is-autosaving":u});return Object(xr.createElement)("span",{className:h},Object(xr.createElement)(Dr.Dashicon,{icon:"cloud"}),u?Object(Z.__)("Autosaving"):Object(Z.__)("Saving"))}if(o||r)return Object(xr.createElement)(xi,null);if(!a)return null;if(p||!n&&!i)return Object(xr.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(xr.createElement)(Dr.Dashicon,{icon:"saved"}),Object(Z.__)("Saved"));if(!Object(v.get)(e,["_links","wp:action-publish"],!1)&&l)return null;var f=l?Object(Z.__)("Save as Pending"):Object(Z.__)("Save Draft");return d?Object(xr.createElement)(Dr.Button,{className:"editor-post-save-draft",onClick:c,shortcut:io.displayShortcut.primary("s"),isTertiary:!0},f):Object(xr.createElement)(Dr.IconButton,{className:"editor-post-save-draft",label:f,onClick:c,shortcut:io.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),e}(xr.Component),Ai=Object(Wr.compose)([Object(l.withSelect)(function(t,e){var n=e.forceIsDirty,r=e.forceIsSaving,o=t("core/editor"),i=o.isEditedPostNew,s=o.isCurrentPostPublished,a=o.isCurrentPostScheduled,c=o.isEditedPostDirty,u=o.isSavingPost,l=o.isEditedPostSaveable,d=o.getCurrentPost,p=o.isAutosavingPost,h=o.getEditedPostAttribute;return{post:d(),isNew:i(),isPublished:s(),isScheduled:a(),isDirty:n||c(),isSaving:r||u(),isSaveable:l(),isAutosaving:p(),isPending:"pending"===h("status")}}),Object(l.withDispatch)(function(t){return{onSave:t("core/editor").savePost}}),Wr.withSafeTimeout,Object(u.withViewportMatch)({isLargeViewport:"medium"})])(Bi);var Ii=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPost,r=e.getCurrentPostType;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(t){var e=t.hasPublishAction,n=t.children;return e?n:null});var Li=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor").getCurrentPost();return{hasStickyAction:Object(v.get)(e,["_links","wp:action-sticky"],!1),postType:t("core/editor").getCurrentPostType()}})])(function(t){var e=t.hasStickyAction,n=t.postType,r=t.children;return"post"===n&&e?r:null});var Ri=Object(Wr.compose)([Object(l.withSelect)(function(t){return{postSticky:t("core/editor").getEditedPostAttribute("sticky")}}),Object(l.withDispatch)(function(t){return{onUpdateSticky:function(e){t("core/editor").editPost({sticky:e})}}})])(function(t){var e=t.onUpdateSticky,n=t.postSticky,r=void 0!==n&&n;return Object(xr.createElement)(Li,null,Object(xr.createElement)(Dr.CheckboxControl,{label:Object(Z.__)("Stick to the top of the blog"),checked:r,onChange:function(){return e(!r)}}))}),Ni={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},Ui=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).findTerm=t.findTerm.bind(Object(oo.a)(Object(oo.a)(t))),t.onChange=t.onChange.bind(Object(oo.a)(Object(oo.a)(t))),t.onChangeFormName=t.onChangeFormName.bind(Object(oo.a)(Object(oo.a)(t))),t.onChangeFormParent=t.onChangeFormParent.bind(Object(oo.a)(Object(oo.a)(t))),t.onAddTerm=t.onAddTerm.bind(Object(oo.a)(Object(oo.a)(t))),t.onToggleForm=t.onToggleForm.bind(Object(oo.a)(Object(oo.a)(t))),t.setFilterValue=t.setFilterValue.bind(Object(oo.a)(Object(oo.a)(t))),t.sortBySelected=t.sortBySelected.bind(Object(oo.a)(Object(oo.a)(t))),t.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"onChange",value:function(t){var e=this.props,n=e.onUpdateTerms,r=e.terms,o=void 0===r?[]:r,i=e.taxonomy,s=parseInt(t.target.value,10);n(-1!==o.indexOf(s)?Object(v.without)(o,s):[].concat(Object(x.a)(o),[s]),i.rest_base)}},{key:"onChangeFormName",value:function(t){var e=""===t.target.value.trim()?"":t.target.value;this.setState({formName:e})}},{key:"onChangeFormParent",value:function(t){this.setState({formParent:t})}},{key:"onToggleForm",value:function(){this.setState(function(t){return{showForm:!t.showForm}})}},{key:"findTerm",value:function(t,e,n){return Object(v.find)(t,function(t){return(!t.parent&&!e||parseInt(t.parent)===parseInt(e))&&t.name.toLowerCase()===n.toLowerCase()})}},{key:"onAddTerm",value:function(t){var e=this;t.preventDefault();var n=this.props,r=n.onUpdateTerms,o=n.taxonomy,i=n.terms,s=n.slug,a=this.state,c=a.formName,u=a.formParent,l=a.adding,d=a.availableTerms;if(""!==c&&!l){var p=this.findTerm(d,u,c);if(p)return Object(v.some)(i,function(t){return t===p.id})||r([].concat(Object(x.a)(i),[p.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=H()({path:"/wp/v2/".concat(o.rest_base),method:"POST",data:{name:c,parent:u||void 0}}),this.addRequest.catch(function(t){return"term_exists"===t.code?(e.addRequest=H()({path:Object(O.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(h.a)({},Ni,{parent:u||0,search:c}))}),e.addRequest.then(function(t){return e.findTerm(t,u,c)})):Promise.reject(t)}).then(function(t){var n=!!Object(v.find)(e.state.availableTerms,function(e){return e.id===t.id})?e.state.availableTerms:[t].concat(Object(x.a)(e.state.availableTerms)),a=Object(Z.sprintf)(Object(Z._x)("%s added","term"),Object(v.get)(e.props.taxonomy,["labels","singular_name"],"category"===s?Object(Z.__)("Category"):Object(Z.__)("Term")));e.props.speak(a,"assertive"),e.addRequest=null,e.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:e.sortBySelected(Eo(n))}),r([].concat(Object(x.a)(i),[t.id]),o.rest_base)},function(t){"abort"!==t.statusText&&(e.addRequest=null,e.setState({adding:!1}))})}}},{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){Object(v.invoke)(this.fetchRequest,["abort"]),Object(v.invoke)(this.addRequest,["abort"])}},{key:"componentDidUpdate",value:function(t){this.props.taxonomy!==t.taxonomy&&this.fetchTerms()}},{key:"fetchTerms",value:function(){var t=this,e=this.props.taxonomy;e&&(this.fetchRequest=H()({path:Object(O.addQueryArgs)("/wp/v2/".concat(e.rest_base),Ni)}),this.fetchRequest.then(function(e){var n=t.sortBySelected(Eo(e));t.fetchRequest=null,t.setState({loading:!1,availableTermsTree:n,availableTerms:e})},function(e){"abort"!==e.statusText&&(t.fetchRequest=null,t.setState({loading:!1}))}))}},{key:"sortBySelected",value:function(t){var e=this.props.terms,n=function t(n){return-1!==e.indexOf(n.id)||void 0!==n.children&&!!(n.children.map(t).filter(function(t){return t}).length>0)};return t.sort(function(t,e){var r=n(t),o=n(e);return r===o?0:r&&!o?-1:!r&&o?1:0}),t}},{key:"setFilterValue",value:function(t){var e=this.state.availableTermsTree,n=t.target.value,r=e.map(this.getFilterMatcher(n)).filter(function(t){return t});this.setState({filterValue:n,filteredTermsTree:r});var o=function t(e){for(var n=0,r=0;r0&&(r.children=r.children.map(e).filter(function(t){return t})),(-1!==r.name.toLowerCase().indexOf(t)||r.children.length>0)&&r}}},{key:"renderTerms",value:function(t){var e=this,n=this.props.terms,r=void 0===n?[]:n;return t.map(function(t){var n="editor-post-taxonomies-hierarchical-term-".concat(t.id);return Object(xr.createElement)("div",{key:t.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(xr.createElement)("input",{id:n,className:"editor-post-taxonomies__hierarchical-terms-input",type:"checkbox",checked:-1!==r.indexOf(t.id),value:t.id,onChange:e.onChange}),Object(xr.createElement)("label",{htmlFor:n},Object(v.unescape)(t.name)),!!t.children.length&&Object(xr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},e.renderTerms(t.children)))})}},{key:"render",value:function(){var t=this.props,e=t.slug,n=t.taxonomy,r=t.instanceId,o=t.hasCreateAction;if(!t.hasAssignAction)return null;var i=this.state,s=i.availableTermsTree,a=i.availableTerms,c=i.filteredTermsTree,u=i.formName,l=i.formParent,d=i.loading,p=i.showForm,h=i.filterValue,f=function(t,r,o){return Object(v.get)(n,["labels",t],"category"===e?r:o)},b=f("add_new_item",Object(Z.__)("Add new category"),Object(Z.__)("Add new term")),m=f("new_item_name",Object(Z.__)("Add new category"),Object(Z.__)("Add new term")),O=f("parent_item",Object(Z.__)("Parent Category"),Object(Z.__)("Parent Term")),g="— ".concat(O," —"),y=b,j="editor-post-taxonomies__hierarchical-terms-input-".concat(r),_="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),k=Object(v.get)(this.props.taxonomy,["labels","search_items"],Object(Z.__)("Search Terms")),E=Object(v.get)(this.props.taxonomy,["name"],Object(Z.__)("Terms")),S=a.length>=8;return[S&&Object(xr.createElement)("label",{key:"filter-label",htmlFor:_},k),S&&Object(xr.createElement)("input",{type:"search",id:_,value:h,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(xr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",key:"term-list",tabIndex:"0",role:"group","aria-label":E},this.renderTerms(""!==h?c:s)),!d&&o&&Object(xr.createElement)(Dr.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},b),p&&Object(xr.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(xr.createElement)("label",{htmlFor:j,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(xr.createElement)("input",{type:"text",id:j,className:"editor-post-taxonomies__hierarchical-terms-input",value:u,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(xr.createElement)(Dr.TreeSelect,{label:O,noOptionLabel:g,onChange:this.onChangeFormParent,selectedId:l,tree:s}),Object(xr.createElement)(Dr.Button,{isDefault:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},y))]}}]),e}(xr.Component),Di=Object(Wr.compose)([Object(l.withSelect)(function(t,e){var n=e.slug,r=t("core/editor").getCurrentPost,o=(0,t("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(v.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(v.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?t("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(l.withDispatch)(function(t){return{onUpdateTerms:function(e,n){t("core/editor").editPost(Object(p.a)({},n,e))}}}),Dr.withSpokenMessages,Wr.withInstanceId,Object(Dr.withFilters)("editor.PostTaxonomyType")])(Ui);var Fi=Object(Wr.compose)([Object(l.withSelect)(function(t){return{postType:t("core/editor").getCurrentPostType(),taxonomies:t("core").getTaxonomies({per_page:-1})}})])(function(t){var e=t.postType,n=t.taxonomies,r=t.taxonomyWrapper,o=void 0===r?v.identity:r,i=Object(v.filter)(n,function(t){return Object(v.includes)(t.types,e)});return Object(v.filter)(i,function(t){return t.visibility.show_ui}).map(function(t){var e=t.hierarchical?Di:Oi;return Object(xr.createElement)(xr.Fragment,{key:"taxonomy-".concat(t.slug)},o(Object(xr.createElement)(e,{slug:t.slug}),t))})});var Mi=Object(Wr.compose)([Object(l.withSelect)(function(t){return{postType:t("core/editor").getCurrentPostType(),taxonomies:t("core").getTaxonomies({per_page:-1})}})])(function(t){var e=t.postType,n=t.taxonomies,r=t.children;return Object(v.some)(n,function(t){return Object(v.includes)(t.types,e)})?r:null}),Vi=n(61),zi=n.n(Vi),Ki=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).edit=t.edit.bind(Object(oo.a)(Object(oo.a)(t))),t.stopEditing=t.stopEditing.bind(Object(oo.a)(Object(oo.a)(t))),t.state={},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"edit",value:function(t){var e=t.target.value;this.props.onChange(e),this.setState({value:e,isDirty:!0})}},{key:"stopEditing",value:function(){this.state.isDirty&&(this.props.onPersist(this.state.value),this.setState({isDirty:!1}))}},{key:"render",value:function(){var t=this.state.value,e=this.props.instanceId;return Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)("label",{htmlFor:"post-content-".concat(e),className:"screen-reader-text"},Object(Z.__)("Type text or HTML")),Object(xr.createElement)(zi.a,{autoComplete:"off",dir:"auto",value:t,onChange:this.edit,onBlur:this.stopEditing,className:"editor-post-text-editor",id:"post-content-".concat(e),placeholder:Object(Z.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){return e.isDirty?null:{value:t.value,isDirty:!1}}}]),e}(xr.Component),qi=Object(Wr.compose)([Object(l.withSelect)(function(t){return{value:(0,t("core/editor").getEditedPostContent)()}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.editPost,r=e.resetEditorBlocks;return{onChange:function(t){n({content:t})},onPersist:function(t){var e=Object(s.parse)(t);r(e)}}}),Wr.withInstanceId])(Ki),Wi=n(57),Hi=function(t){function e(t){var n,r=t.permalinkParts,o=t.slug;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(oo.a)(Object(oo.a)(n))),n}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"onSavePermalink",value:function(t){var e=Yo(this.state.editedPostName);t.preventDefault(),this.props.onSave(),e!==this.props.postName&&(this.props.editPost({slug:e}),this.setState({editedPostName:e}))}},{key:"render",value:function(){var t=this,e=this.props.permalinkParts,n=e.prefix,r=e.suffix,o=this.state.editedPostName;return Object(xr.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(xr.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(xr.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(xr.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(Z.__)("Edit post permalink"),value:o,onChange:function(e){return t.setState({editedPostName:e.target.value})},type:"text",autoFocus:!0}),Object(xr.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),Object(xr.createElement)(Dr.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(Z.__)("Save")))}}]),e}(xr.Component),Gi=Object(Wr.compose)([Object(l.withSelect)(function(t){return{permalinkParts:(0,t("core/editor").getPermalinkParts)()}}),Object(l.withDispatch)(function(t){return{editPost:t("core/editor").editPost}})])(Hi),Qi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).addVisibilityCheck=t.addVisibilityCheck.bind(Object(oo.a)(Object(oo.a)(t))),t.onVisibilityChange=t.onVisibilityChange.bind(Object(oo.a)(Object(oo.a)(t))),t.state={isCopied:!1,isEditingPermalink:!1},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"addVisibilityCheck",value:function(){window.addEventListener("visibilitychange",this.onVisibilityChange)}},{key:"onVisibilityChange",value:function(){var t=this.props,e=t.isEditable,n=t.refreshPost;e||"visible"!==document.visibilityState||n()}},{key:"componentDidUpdate",value:function(t,e){e.isEditingPermalink&&!this.state.isEditingPermalink&&this.linkElement.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("visibilitychange",this.addVisibilityCheck)}},{key:"render",value:function(){var t=this,e=this.props,n=e.isEditable,r=e.isNew,o=e.isPublished,i=e.isViewable,s=e.permalinkParts,a=e.postLink,c=e.postSlug,u=e.postID,l=e.postTitle;if(r||!i||!s||!a)return null;var d=this.state,p=d.isCopied,h=d.isEditingPermalink,f=p?Object(Z.__)("Permalink copied"):Object(Z.__)("Copy the permalink"),b=s.prefix,m=s.suffix,v=Object(O.safeDecodeURIComponent)(c)||Yo(l)||u,g=n?b+v+m:b;return Object(xr.createElement)("div",{className:"editor-post-permalink"},Object(xr.createElement)(Dr.ClipboardButton,{className:Yr()("editor-post-permalink__copy",{"is-copied":p}),text:g,label:f,onCopy:function(){return t.setState({isCopied:!0})},"aria-disabled":p,icon:"admin-links"}),Object(xr.createElement)("span",{className:"editor-post-permalink__label"},Object(Z.__)("Permalink:")),!h&&Object(xr.createElement)(Dr.ExternalLink,{className:"editor-post-permalink__link",href:o?g:a,target:"_blank",ref:function(e){return t.linkElement=e}},Object(O.safeDecodeURI)(g),"‎"),h&&Object(xr.createElement)(Gi,{slug:v,onSave:function(){return t.setState({isEditingPermalink:!1})}}),n&&!h&&Object(xr.createElement)(Dr.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return t.setState({isEditingPermalink:!0})}},Object(Z.__)("Edit")),!n&&Object(xr.createElement)(Dr.Button,{className:"editor-post-permalink__change",isLarge:!0,href:Qo("options-permalink.php"),onClick:this.addVisibilityCheck,target:"_blank"},Object(Z.__)("Change Permalinks")))}}]),e}(xr.Component),Yi=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isEditedPostNew,r=e.isPermalinkEditable,o=e.getCurrentPost,i=e.getPermalinkParts,s=e.getEditedPostAttribute,a=e.isCurrentPostPublished,c=t("core").getPostType,u=o(),l=u.id,d=u.link,p=c(s("type"));return{isNew:n(),postLink:d,permalinkParts:i(),postSlug:s("slug"),isEditable:r(),isPublished:a(),postTitle:s("title"),postID:l,isViewable:Object(v.get)(p,["viewable"],!1)}}),Object(l.withDispatch)(function(t){return{refreshPost:t("core/editor").refreshPost}})])(Qi),$i=/[\r\n]+/g,Xi=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(oo.a)(Object(oo.a)(t))),t.onSelect=t.onSelect.bind(Object(oo.a)(Object(oo.a)(t))),t.onUnselect=t.onUnselect.bind(Object(oo.a)(Object(oo.a)(t))),t.onKeyDown=t.onKeyDown.bind(Object(oo.a)(Object(oo.a)(t))),t.redirectHistory=t.redirectHistory.bind(Object(oo.a)(Object(oo.a)(t))),t.state={isSelected:!1},t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"handleFocusOutside",value:function(){this.onUnselect()}},{key:"onSelect",value:function(){this.setState({isSelected:!0}),this.props.clearSelectedBlock()}},{key:"onUnselect",value:function(){this.setState({isSelected:!1})}},{key:"onChange",value:function(t){var e=t.target.value.replace($i," ");this.props.onUpdate(e)}},{key:"onKeyDown",value:function(t){t.keyCode===io.ENTER&&(t.preventDefault(),this.props.onEnterPress())}},{key:"redirectHistory",value:function(t){t.shiftKey?this.props.onRedo():this.props.onUndo(),t.preventDefault()}},{key:"render",value:function(){var t=this.props,e=t.hasFixedToolbar,n=t.isCleanNewPost,r=t.isFocusMode,o=t.isPostTypeViewable,i=t.instanceId,s=t.placeholder,a=t.title,c=this.state.isSelected,u=Yr()("wp-block editor-post-title__block",{"is-selected":c,"is-focus-mode":r,"has-fixed-toolbar":e}),l=Object(Wi.decodeEntities)(s);return Object(xr.createElement)(jo,{supportKeys:"title"},Object(xr.createElement)("div",{className:"editor-post-title"},Object(xr.createElement)("div",{className:u},Object(xr.createElement)(Dr.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},Object(xr.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},l||Object(Z.__)("Add title")),Object(xr.createElement)(zi.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:a,onChange:this.onChange,placeholder:l||Object(Z.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:n})),c&&o&&Object(xr.createElement)(Yi,null))))}}]),e}(xr.Component),Zi=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getEditedPostAttribute,r=e.isCleanNewPost,o=t("core/block-editor").getSettings,i=(0,t("core").getPostType)(n("type")),s=o(),a=s.titlePlaceholder,c=s.focusMode,u=s.hasFixedToolbar;return{isCleanNewPost:r(),title:n("title"),isPostTypeViewable:Object(v.get)(i,["viewable"],!1),placeholder:a,isFocusMode:c,hasFixedToolbar:u}}),Ji=Object(l.withDispatch)(function(t){var e=t("core/block-editor"),n=e.insertDefaultBlock,r=e.clearSelectedBlock,o=t("core/editor"),i=o.editPost;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(t){i({title:t})},onUndo:o.undo,onRedo:o.redo,clearSelectedBlock:r}}),ts=Object(Wr.compose)(Zi,Ji,Wr.withInstanceId,Dr.withFocusOutside)(Xi);var es=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isEditedPostNew,r=e.getCurrentPostId,o=e.getCurrentPostType;return{isNew:n(),postId:r(),postType:o()}}),Object(l.withDispatch)(function(t){return{trashPost:t("core/editor").trashPost}})])(function(t){var e=t.isNew,n=t.postId,r=t.postType,o=Object(Ur.a)(t,["isNew","postId","postType"]);return e||!n?null:Object(xr.createElement)(Dr.Button,{className:"editor-post-trash button-link-delete",onClick:function(){return o.trashPost(n,r)},isDefault:!0,isLarge:!0},Object(Z.__)("Move to trash"))});var ns=Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.isEditedPostNew,r=e.getCurrentPostId;return{isNew:n(),postId:r()}})(function(t){var e=t.isNew,n=t.postId,r=t.children;return e||!n?null:r});var rs=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.getCurrentPost,r=e.getCurrentPostType;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(t){var e=t.hasPublishAction;return(0,t.render)({canEdit:e})}),os=n(98);var is=Object(l.withSelect)(function(t){return{content:t("core/editor").getEditedPostAttribute("content")}})(function(t){var e=t.content,n=Object(Z._x)("words","Word count type. Do not translate!");return Object(xr.createElement)("span",{className:"word-count"},Object(os.count)(e,n))});var ss=Object(l.withSelect)(function(t){var e=t("core/block-editor").getGlobalBlockCount;return{headingCount:e("core/heading"),paragraphCount:e("core/paragraph"),numberOfBlocks:e()}})(function(t){var e=t.headingCount,n=t.paragraphCount,r=t.numberOfBlocks,o=t.hasOutlineItemsDisabled,i=t.onRequestClose;return Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)("div",{className:"table-of-contents__counts",role:"note","aria-label":Object(Z.__)("Document Statistics"),tabIndex:"0"},Object(xr.createElement)("div",{className:"table-of-contents__count"},Object(Z.__)("Words"),Object(xr.createElement)(is,null)),Object(xr.createElement)("div",{className:"table-of-contents__count"},Object(Z.__)("Headings"),Object(xr.createElement)("span",{className:"table-of-contents__number"},e)),Object(xr.createElement)("div",{className:"table-of-contents__count"},Object(Z.__)("Paragraphs"),Object(xr.createElement)("span",{className:"table-of-contents__number"},n)),Object(xr.createElement)("div",{className:"table-of-contents__count"},Object(Z.__)("Blocks"),Object(xr.createElement)("span",{className:"table-of-contents__number"},r))),e>0&&Object(xr.createElement)(xr.Fragment,null,Object(xr.createElement)("hr",null),Object(xr.createElement)("span",{className:"table-of-contents__title"},Object(Z.__)("Document Outline")),Object(xr.createElement)(no,{onSelect:i,hasOutlineItemsDisabled:o})))});var as=Object(l.withSelect)(function(t){return{hasBlocks:!!t("core/block-editor").getBlockCount()}})(function(t){var e=t.hasBlocks,n=t.hasOutlineItemsDisabled;return Object(xr.createElement)(Dr.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(xr.createElement)(Dr.IconButton,{onClick:e?r:void 0,icon:"info-outline","aria-expanded":n,label:Object(Z.__)("Content structure"),labelPosition:"bottom","aria-disabled":!e})},renderContent:function(t){var e=t.onClose;return Object(xr.createElement)(ss,{onRequestClose:e,hasOutlineItemsDisabled:n})}})}),cs=function(t){function e(){var t;return Object(Mr.a)(this,e),(t=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).warnIfUnsavedChanges=t.warnIfUnsavedChanges.bind(Object(oo.a)(Object(oo.a)(t))),t}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"componentDidMount",value:function(){window.addEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"warnIfUnsavedChanges",value:function(t){if(this.props.isDirty)return t.returnValue=Object(Z.__)("You have unsaved changes. If you proceed, they will be lost."),t.returnValue}},{key:"render",value:function(){return null}}]),e}(xr.Component),us=Object(l.withSelect)(function(t){return{isDirty:t("core/editor").isEditedPostDirty()}})(cs),ls=n(41),ds=n.n(ls),ps=n(227),hs=n.n(ps),fs=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,bs=function(t,e){e=e||{};var n=1,r=1;function o(t){var e=t.match(/\n/g);e&&(n+=e.length);var o=t.lastIndexOf("\n");r=~o?t.length-o:r+t.length}function i(){var t={line:n,column:r};return function(e){return e.position=new s(t),h(),e}}function s(t){this.start=t,this.end={line:n,column:r},this.source=e.source}s.prototype.content=t;var a=[];function c(o){var i=new Error(e.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=e.source,i.line=n,i.column=r,i.source=t,!e.silent)throw i;a.push(i)}function u(){return p(/^{\s*/)}function l(){return p(/^}/)}function d(){var e,n=[];for(h(),b(n);t.length&&"}"!==t.charAt(0)&&(e=P()||w());)!1!==e&&(n.push(e),b(n));return n}function p(e){var n=e.exec(t);if(n){var r=n[0];return o(r),t=t.slice(r.length),n}}function h(){p(/^\s*/)}function b(t){var e;for(t=t||[];e=m();)!1!==e&&t.push(e);return t}function m(){var e=i();if("/"===t.charAt(0)&&"*"===t.charAt(1)){for(var n=2;""!==t.charAt(n)&&("*"!==t.charAt(n)||"/"!==t.charAt(n+1));)++n;if(n+=2,""===t.charAt(n-1))return c("End of comment missing");var s=t.slice(2,n-2);return r+=2,o(s),t=t.slice(n),r+=2,e({type:"comment",comment:s})}}function v(){var t=p(/^([^{]+)/);if(t)return ms(t[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(t){return t.replace(/,/g,"‌")}).split(/\s*(?![^(]*\)),\s*/).map(function(t){return t.replace(/\u200C/g,",")})}function O(){var t=i(),e=p(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(e){if(e=ms(e[0]),!p(/^:\s*/))return c("property missing ':'");var n=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=t({type:"declaration",property:e.replace(fs,""),value:n?ms(n[0]).replace(fs,""):""});return p(/^[;\s]*/),r}}function g(){var t,e=[];if(!u())return c("missing '{'");for(b(e);t=O();)!1!==t&&(e.push(t),b(e));return l()?e:c("missing '}'")}function y(){for(var t,e=[],n=i();t=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),p(/^,\s*/);if(e.length)return n({type:"keyframe",values:e,declarations:g()})}var j,_=S("import"),k=S("charset"),E=S("namespace");function S(t){var e=new RegExp("^@"+t+"\\s*([^;]+);");return function(){var n=i(),r=p(e);if(r){var o={type:t};return o[t]=r[1].trim(),n(o)}}}function P(){if("@"===t[0])return function(){var t=i(),e=p(/^@([-\w]+)?keyframes\s*/);if(e){var n=e[1];if(!(e=p(/^([-\w]+)\s*/)))return c("@keyframes missing name");var r,o=e[1];if(!u())return c("@keyframes missing '{'");for(var s=b();r=y();)s.push(r),s=s.concat(b());return l()?t({type:"keyframes",name:o,vendor:n,keyframes:s}):c("@keyframes missing '}'")}}()||function(){var t=i(),e=p(/^@media *([^{]+)/);if(e){var n=ms(e[1]);if(!u())return c("@media missing '{'");var r=b().concat(d());return l()?t({type:"media",media:n,rules:r}):c("@media missing '}'")}}()||function(){var t=i(),e=p(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(e)return t({type:"custom-media",name:ms(e[1]),media:ms(e[2])})}()||function(){var t=i(),e=p(/^@supports *([^{]+)/);if(e){var n=ms(e[1]);if(!u())return c("@supports missing '{'");var r=b().concat(d());return l()?t({type:"supports",supports:n,rules:r}):c("@supports missing '}'")}}()||_()||k()||E()||function(){var t=i(),e=p(/^@([-\w]+)?document *([^{]+)/);if(e){var n=ms(e[1]),r=ms(e[2]);if(!u())return c("@document missing '{'");var o=b().concat(d());return l()?t({type:"document",document:r,vendor:n,rules:o}):c("@document missing '}'")}}()||function(){var t=i();if(p(/^@page */)){var e=v()||[];if(!u())return c("@page missing '{'");for(var n,r=b();n=O();)r.push(n),r=r.concat(b());return l()?t({type:"page",selectors:e,declarations:r}):c("@page missing '}'")}}()||function(){var t=i();if(p(/^@host\s*/)){if(!u())return c("@host missing '{'");var e=b().concat(d());return l()?t({type:"host",rules:e}):c("@host missing '}'")}}()||function(){var t=i();if(p(/^@font-face\s*/)){if(!u())return c("@font-face missing '{'");for(var e,n=b();e=O();)n.push(e),n=n.concat(b());return l()?t({type:"font-face",declarations:n}):c("@font-face missing '}'")}}()}function w(){var t=i(),e=v();return e?(b(),t({type:"rule",selectors:e,declarations:g()})):c("selector missing")}return function t(e,n){var r=e&&"string"==typeof e.type;var o=r?e:n;for(var i in e){var s=e[i];Array.isArray(s)?s.forEach(function(e){t(e,o)}):s&&"object"===Object(f.a)(s)&&t(s,o)}r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return e}((j=d(),{type:"stylesheet",stylesheet:{source:e.source,rules:j,parsingErrors:a}}))};function ms(t){return t?t.replace(/^\s+|\s+$/g,""):""}var vs=n(109),Os=n.n(vs),gs=ys;function ys(t){this.options=t||{}}ys.prototype.emit=function(t){return t},ys.prototype.visit=function(t){return this[t.type](t)},ys.prototype.mapVisit=function(t,e){var n="";e=e||"";for(var r=0,o=t.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Object(h.a)({},n,{selectors:n.selectors.map(function(n){return Object(v.includes)(e,n.trim())?n:n.match(Bs)?n.replace(/^(body|html|:root)/,t):t+" "+n})}):n}},Is=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(v.map)(t,function(t){var n=t.css,r=t.baseURL,o=[];return e&&o.push(As(e)),r&&o.push(xs(r)),o.length?Ps(n,Object(Wr.compose)(o)):n})},Ls=n(35);function Rs(){return(Rs=Object(he.a)(q.a.mark(function t(e){var n,r,o,i,s,a,c,u,l,p,f,b,m,O,g,y,j,_,k,E,S,P,w,T,C,B,A,I,L;return q.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.allowedTypes,r=e.additionalData,o=void 0===r?{}:r,i=e.filesList,s=e.maxUploadFileSize,a=e.onError,c=void 0===a?v.noop:a,u=e.onFileChange,l=e.wpAllowedMimeTypes,p=void 0===l?null:l,f=Object(x.a)(i),b=[],m=function(t,e){Object(Ls.revokeBlobURL)(Object(v.get)(b,[t,"url"])),b[t]=e,u(Object(v.compact)(b))},O=function(t){return!n||Object(v.some)(n,function(e){return Object(v.includes)(e,"/")?e===t:Object(v.startsWith)(t,"".concat(e,"/"))})},g=(R=p)?Object(v.flatMap)(R,function(t,e){var n=t.split("/"),r=Object(d.a)(n,1)[0],o=e.split("|");return[t].concat(Object(x.a)(Object(v.map)(o,function(t){return"".concat(r,"/").concat(t)})))}):R,y=function(t){return Object(v.includes)(g,t)},j=function(t){t.message=[Object(xr.createElement)("strong",{key:"filename"},t.file.name),": ",t.message],c(t)},_=[],k=!0,E=!1,S=void 0,t.prev=12,P=f[Symbol.iterator]();case 14:if(k=(w=P.next()).done){t.next=34;break}if(T=w.value,!g||y(T.type)){t.next=19;break}return j({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(Z.__)("Sorry, this file type is not permitted for security reasons."),file:T}),t.abrupt("continue",31);case 19:if(O(T.type)){t.next=22;break}return j({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(Z.__)("Sorry, this file type is not supported here."),file:T}),t.abrupt("continue",31);case 22:if(!(s&&T.size>s)){t.next=25;break}return j({code:"SIZE_ABOVE_LIMIT",message:Object(Z.__)("This file exceeds the maximum upload size for this site."),file:T}),t.abrupt("continue",31);case 25:if(!(T.size<=0)){t.next=28;break}return j({code:"EMPTY_FILE",message:Object(Z.__)("This file is empty."),file:T}),t.abrupt("continue",31);case 28:_.push(T),b.push({url:Object(Ls.createBlobURL)(T)}),u(b);case 31:k=!0,t.next=14;break;case 34:t.next=40;break;case 36:t.prev=36,t.t0=t.catch(12),E=!0,S=t.t0;case 40:t.prev=40,t.prev=41,k||null==P.return||P.return();case 43:if(t.prev=43,!E){t.next=46;break}throw S;case 46:return t.finish(43);case 47:return t.finish(40);case 48:C=0;case 49:if(!(C<_.length)){t.next=68;break}return B=_[C],t.prev=51,t.next=54,Ns(B,o);case 54:A=t.sent,I=Object(h.a)({},Object(v.omit)(A,["alt_text","source_url"]),{alt:A.alt_text,caption:Object(v.get)(A,["caption","raw"],""),title:A.title.raw,url:A.source_url}),m(C,I),t.next=65;break;case 59:t.prev=59,t.t1=t.catch(51),m(C,null),L=void 0,L=Object(v.has)(t.t1,["message"])?Object(v.get)(t.t1,["message"]):Object(Z.sprintf)(Object(Z.__)("Error while uploading file %s to the media library."),B.name),c({code:"GENERAL",message:L,file:B});case 65:++C,t.next=49;break;case 68:case"end":return t.stop()}var R},t,this,[[12,36,40,48],[41,,43,47],[51,59]])}))).apply(this,arguments)}function Ns(t,e){var n=new window.FormData;return n.append("file",t,t.name||t.type.replace("/",".")),Object(v.forEach)(e,function(t,e){return n.append(e,t)}),H()({path:"/wp/v2/media",body:n,method:"POST"})}var Us=function(t){var e=t.additionalData,n=void 0===e?{}:e,r=t.allowedTypes,o=t.filesList,i=t.maxUploadFileSize,s=t.onError,a=void 0===s?v.noop:s,c=t.onFileChange,u=Object(l.select)("core/editor"),d=u.getCurrentPostId,p=u.getEditorSettings,f=p().allowedMimeTypes;i=i||p().maxUploadFileSize,function(t){Rs.apply(this,arguments)}({allowedTypes:r,filesList:o,onFileChange:c,additionalData:Object(h.a)({post:d()},n),maxUploadFileSize:i,onError:function(t){var e=t.message;return a(e)},wpAllowedMimeTypes:f})},Ds=function(t){function e(t){var n;return Object(Mr.a)(this,e),(n=Object(zr.a)(this,Object(Kr.a)(e).apply(this,arguments))).getBlockEditorSettings=ds()(n.getBlockEditorSettings,{maxSize:1}),t.recovery?Object(zr.a)(n):(t.updatePostLock(t.settings.postLock),t.setupEditor(t.post,t.initialEdits,t.settings.template),t.settings.autosave&&t.createWarningNotice(Object(Z.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(Z.__)("View the autosave"),url:t.settings.autosave.editLink}]}),n)}return Object(qr.a)(e,t),Object(Vr.a)(e,[{key:"getBlockEditorSettings",value:function(t,e,n,r){return Object(h.a)({},Object(v.pick)(t,["alignWide","allowedBlockTypes","availableLegacyWidgets","bodyPlaceholder","colors","disableCustomColors","disableCustomFontSizes","focusMode","fontSizes","hasFixedToolbar","hasPermissionsToManageWidgets","imageSizes","isRTL","maxWidth","styles","templateLock","titlePlaceholder"]),{__experimentalMetaSource:{value:e,onChange:n},__experimentalReusableBlocks:r,__experimentalMediaUpload:Us})}},{key:"componentDidMount",value:function(){if(this.props.updateEditorSettings(this.props.settings),this.props.settings.styles){var t=Is(this.props.settings.styles,".editor-styles-wrapper");Object(v.map)(t,function(t){if(t){var e=document.createElement("style");e.innerHTML=t,document.body.appendChild(e)}})}}},{key:"componentDidUpdate",value:function(t){this.props.settings!==t.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"render",value:function(){var t=this.props,e=t.children,n=t.blocks,r=t.resetEditorBlocks,o=t.isReady,s=t.settings,a=t.meta,c=t.onMetaChange,u=t.reusableBlocks,l=t.resetEditorBlocksWithoutUndoLevel;if(!o)return null;var d=this.getBlockEditorSettings(s,a,c,u);return Object(xr.createElement)(i.BlockEditorProvider,{value:n,onInput:l,onChange:r,settings:d},e)}}]),e}(xr.Component),Fs=Object(Wr.compose)([Object(l.withSelect)(function(t){var e=t("core/editor"),n=e.__unstableIsEditorReady,r=e.getEditorBlocks,o=e.getEditedPostAttribute,i=e.__experimentalGetReusableBlocks;return{isReady:n(),blocks:r(),meta:o("meta"),reusableBlocks:i()}}),Object(l.withDispatch)(function(t){var e=t("core/editor"),n=e.setupEditor,r=e.updatePostLock,o=e.resetEditorBlocks,i=e.editPost,s=e.updateEditorSettings;return{setupEditor:n,updatePostLock:r,createWarningNotice:t("core/notices").createWarningNotice,resetEditorBlocks:o,updateEditorSettings:s,resetEditorBlocksWithoutUndoLevel:function(t){o(t,{__unstableShouldCreateUndoLevel:!1})},onMetaChange:function(t){i({meta:t})}}})])(Ds),Ms=[Rr],Vs=Object(v.once)(function(){return Object(l.dispatch)("core/editor").__experimentalFetchReusableBlocks()});Object(Cr.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",function(t,e){return t||(t=Ms.map(v.clone),e===Object(s.getDefaultBlockName)()&&(t.push(Object(v.clone)(Lr)),Vs())),t}),n.d(e,"ServerSideRender",function(){return Fr}),n.d(e,"AutosaveMonitor",function(){return Gr}),n.d(e,"DocumentOutline",function(){return no}),n.d(e,"DocumentOutlineCheck",function(){return ro}),n.d(e,"VisualEditorGlobalKeyboardShortcuts",function(){return po}),n.d(e,"EditorGlobalKeyboardShortcuts",function(){return ho}),n.d(e,"TextEditorGlobalKeyboardShortcuts",function(){return fo}),n.d(e,"EditorHistoryRedo",function(){return bo}),n.d(e,"EditorHistoryUndo",function(){return mo}),n.d(e,"EditorNotices",function(){return Oo}),n.d(e,"ErrorBoundary",function(){return go}),n.d(e,"PageAttributesCheck",function(){return yo}),n.d(e,"PageAttributesOrder",function(){return ko}),n.d(e,"PageAttributesParent",function(){return wo}),n.d(e,"PageTemplate",function(){return To}),n.d(e,"PostAuthor",function(){return Bo}),n.d(e,"PostAuthorCheck",function(){return Co}),n.d(e,"PostComments",function(){return Ao}),n.d(e,"PostExcerpt",function(){return Io}),n.d(e,"PostExcerptCheck",function(){return Lo}),n.d(e,"PostFeaturedImage",function(){return Ko}),n.d(e,"PostFeaturedImageCheck",function(){return No}),n.d(e,"PostFormat",function(){return Ho}),n.d(e,"PostFormatCheck",function(){return qo}),n.d(e,"PostLastRevision",function(){return $o}),n.d(e,"PostLastRevisionCheck",function(){return Go}),n.d(e,"PostLockedModal",function(){return ti}),n.d(e,"PostPendingStatus",function(){return ni}),n.d(e,"PostPendingStatusCheck",function(){return ei}),n.d(e,"PostPingbacks",function(){return ri}),n.d(e,"PostPreviewButton",function(){return Zo}),n.d(e,"PostPublishButton",function(){return si}),n.d(e,"PostPublishButtonLabel",function(){return oi}),n.d(e,"PostPublishPanel",function(){return Ci}),n.d(e,"PostSavedState",function(){return Ai}),n.d(e,"PostSchedule",function(){return di}),n.d(e,"PostScheduleCheck",function(){return Ii}),n.d(e,"PostScheduleLabel",function(){return pi}),n.d(e,"PostSticky",function(){return Ri}),n.d(e,"PostStickyCheck",function(){return Li}),n.d(e,"PostSwitchToDraftButton",function(){return xi}),n.d(e,"PostTaxonomies",function(){return Fi}),n.d(e,"PostTaxonomiesCheck",function(){return Mi}),n.d(e,"PostTextEditor",function(){return qi}),n.d(e,"PostTitle",function(){return ts}),n.d(e,"PostTrash",function(){return es}),n.d(e,"PostTrashCheck",function(){return ns}),n.d(e,"PostTypeSupportCheck",function(){return jo}),n.d(e,"PostVisibility",function(){return ui}),n.d(e,"PostVisibilityLabel",function(){return li}),n.d(e,"PostVisibilityCheck",function(){return rs}),n.d(e,"TableOfContents",function(){return as}),n.d(e,"UnsavedChangesWarning",function(){return us}),n.d(e,"WordCount",function(){return is}),n.d(e,"EditorProvider",function(){return Fs}),n.d(e,"blockAutocompleter",function(){return Lr}),n.d(e,"userAutocompleter",function(){return Rr}),n.d(e,"Autocomplete",function(){return i.Autocomplete}),n.d(e,"AlignmentToolbar",function(){return i.AlignmentToolbar}),n.d(e,"BlockAlignmentToolbar",function(){return i.BlockAlignmentToolbar}),n.d(e,"BlockControls",function(){return i.BlockControls}),n.d(e,"BlockEdit",function(){return i.BlockEdit}),n.d(e,"BlockEditorKeyboardShortcuts",function(){return i.BlockEditorKeyboardShortcuts}),n.d(e,"BlockFormatControls",function(){return i.BlockFormatControls}),n.d(e,"BlockIcon",function(){return i.BlockIcon}),n.d(e,"BlockInspector",function(){return i.BlockInspector}),n.d(e,"BlockList",function(){return i.BlockList}),n.d(e,"BlockMover",function(){return i.BlockMover}),n.d(e,"BlockNavigationDropdown",function(){return i.BlockNavigationDropdown}),n.d(e,"BlockSelectionClearer",function(){return i.BlockSelectionClearer}),n.d(e,"BlockSettingsMenu",function(){return i.BlockSettingsMenu}),n.d(e,"BlockTitle",function(){return i.BlockTitle}),n.d(e,"BlockToolbar",function(){return i.BlockToolbar}),n.d(e,"ColorPalette",function(){return i.ColorPalette}),n.d(e,"ContrastChecker",function(){return i.ContrastChecker}),n.d(e,"CopyHandler",function(){return i.CopyHandler}),n.d(e,"createCustomColorsHOC",function(){return i.createCustomColorsHOC}),n.d(e,"DefaultBlockAppender",function(){return i.DefaultBlockAppender}),n.d(e,"FontSizePicker",function(){return i.FontSizePicker}),n.d(e,"getColorClassName",function(){return i.getColorClassName}),n.d(e,"getColorObjectByAttributeValues",function(){return i.getColorObjectByAttributeValues}),n.d(e,"getColorObjectByColorValue",function(){return i.getColorObjectByColorValue}),n.d(e,"getFontSize",function(){return i.getFontSize}),n.d(e,"getFontSizeClass",function(){return i.getFontSizeClass}),n.d(e,"Inserter",function(){return i.Inserter}),n.d(e,"InnerBlocks",function(){return i.InnerBlocks}),n.d(e,"InspectorAdvancedControls",function(){return i.InspectorAdvancedControls}),n.d(e,"InspectorControls",function(){return i.InspectorControls}),n.d(e,"PanelColorSettings",function(){return i.PanelColorSettings}),n.d(e,"PlainText",function(){return i.PlainText}),n.d(e,"RichText",function(){return i.RichText}),n.d(e,"RichTextShortcut",function(){return i.RichTextShortcut}),n.d(e,"RichTextToolbarButton",function(){return i.RichTextToolbarButton}),n.d(e,"RichTextInserterItem",function(){return i.RichTextInserterItem}),n.d(e,"UnstableRichTextInputEvent",function(){return i.UnstableRichTextInputEvent}),n.d(e,"MediaPlaceholder",function(){return i.MediaPlaceholder}),n.d(e,"MediaUpload",function(){return i.MediaUpload}),n.d(e,"MediaUploadCheck",function(){return i.MediaUploadCheck}),n.d(e,"MultiBlocksSwitcher",function(){return i.MultiBlocksSwitcher}),n.d(e,"MultiSelectScrollIntoView",function(){return i.MultiSelectScrollIntoView}),n.d(e,"NavigableToolbar",function(){return i.NavigableToolbar}),n.d(e,"ObserveTyping",function(){return i.ObserveTyping}),n.d(e,"PreserveScrollInReorder",function(){return i.PreserveScrollInReorder}),n.d(e,"SkipToSelectedBlock",function(){return i.SkipToSelectedBlock}),n.d(e,"URLInput",function(){return i.URLInput}),n.d(e,"URLInputButton",function(){return i.URLInputButton}),n.d(e,"URLPopover",function(){return i.URLPopover}),n.d(e,"Warning",function(){return i.Warning}),n.d(e,"WritingFlow",function(){return i.WritingFlow}),n.d(e,"withColorContext",function(){return i.withColorContext}),n.d(e,"withColors",function(){return i.withColors}),n.d(e,"withFontSizes",function(){return i.withFontSizes}),n.d(e,"mediaUpload",function(){return Us}),n.d(e,"cleanForSlug",function(){return Yo}),n.d(e,"transformStyles",function(){return Is})},37:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",function(){return r})},38:function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(e,"a",function(){return r})},4:function(t,e){!function(){t.exports=this.wp.components}()},40:function(t,e){!function(){t.exports=this.wp.viewport}()},41:function(t,e,n){t.exports=function(t,e){var n,r,o,i=0;function s(){var e,s,a=r,c=arguments.length;t:for(;a;){if(a.args.length===arguments.length){for(s=0;s=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(55),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",u="object"==typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{(l=e.regeneratorRuntime=u?t.exports:{}).wrap=y;var d="suspendedStart",p="suspendedYield",h="executing",f="completed",b={},m={};m[s]=function(){return this};var v=Object.getPrototypeOf,O=v&&v(v(B([])));O&&O!==r&&o.call(O,s)&&(m=O);var g=E.prototype=_.prototype=Object.create(m);k.prototype=g.constructor=E,E.constructor=k,E[c]=k.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(g),t},l.awrap=function(t){return{__await:t}},S(P.prototype),P.prototype[a]=function(){return this},l.AsyncIterator=P,l.async=function(t,e,n,r){var o=new P(y(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},S(g),g[c]="Generator",g[s]=function(){return this},g.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=B,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return a.type="throw",a.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var c=o.call(s,"catchLoc"),u=o.call(s,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:B(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),b}}}function y(t,e,n,r){var o=e&&e.prototype instanceof _?e:_,i=Object.create(o.prototype),s=new x(r||[]);return i._invoke=function(t,e,n){var r=d;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===f){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var s=n.delegate;if(s){var a=w(s,n);if(a){if(a===b)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=j(t,e,n);if("normal"===c.type){if(r=n.done?f:p,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=f,n.method="throw",n.arg=c.arg)}}}(t,n,s),i}function j(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function _(){}function k(){}function E(){}function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function P(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,s){var a=j(t[n],t,r);if("throw"!==a.type){var c=a.arg,u=c.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,i,s)},function(t){e("throw",t,i,s)}):Promise.resolve(u).then(function(t){c.value=t,i(c)},function(t){return e("throw",t,i,s)})}s(a.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,w(t,e),"throw"===e.method))return b;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=j(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,b;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,b):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,b)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function B(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),d=["%","/","?",";","#"].concat(l),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=n(120);function g(t,e,n){if(t&&o.isObject(t)&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}i.prototype.parse=function(t,e,n){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),a=-1!==i&&i127?I+="x":I+=A[L];if(!I.match(h)){var N=x.slice(0,w),U=x.slice(w+1),D=A.match(f);D&&(N.push(D[1]),U.unshift(D[2])),U.length&&(g="/"+U.join(".")+g),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),C||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",M=this.hostname||"";this.host=M+F,this.href+=this.host,C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==g[0]&&(g="/"+g))}if(!b[_])for(w=0,B=l.length;w0)&&n.host.split("@"))&&(n.auth=C.shift(),n.host=n.hostname=C.shift());return n.search=t.search,n.query=t.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 S=k.slice(-1)[0],P=(n.host||t.host||k.length>1)&&("."===S||".."===S)||""===S,w=0,T=k.length;T>=0;T--)"."===(S=k[T])?k.splice(T,1):".."===S?(k.splice(T,1),w++):w&&(k.splice(T,1),w--);if(!j&&!_)for(;w--;w)k.unshift("..");!j||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),P&&"/"!==k.join("/").substr(-1)&&k.push("");var C,x=""===k[0]||k[0]&&"/"===k[0].charAt(0);E&&(n.hostname=n.host=x?"":k.length?k.shift():"",(C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=C.shift(),n.host=n.hostname=C.shift()));return(j=j||n.host&&k.length)&&!x&&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=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},89:function(t,e,n){"use strict";var r=n(90);function o(){}t.exports=function(){function t(t,e,n,o,i,s){if(s!==r){var a=new Error("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");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=o,n.PropTypes=n,n}},9:function(t,e,n){"use strict";function r(t,e){for(var n=0;n=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",function(){return r})},23:function(t,e){!function(){t.exports=this.wp.url}()},3:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",function(){return r})},32:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}n.d(e,"a",function(){return o})},367:function(t,e,n){"use strict";n.r(e);var r=n(21),o=n(20),i=n(0),a=n(1),c=n(8),u={name:"core/bold",title:Object(a.__)("Bold"),tagName:"strong",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,u=function(){return r(Object(o.toggleFormat)(n,{type:"core/bold"}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"primary",character:"b",onUse:u}),Object(i.createElement)(c.RichTextToolbarButton,{name:"bold",icon:"editor-bold",title:Object(a.__)("Bold"),onClick:u,isActive:e,shortcutType:"primary",shortcutCharacter:"b"}),Object(i.createElement)(c.UnstableRichTextInputEvent,{inputType:"formatBold",onInput:u}))}},l={name:"core/code",title:Object(a.__)("Code"),tagName:"code",className:null,edit:function(t){var e=t.value,n=t.onChange,r=t.isActive,u=function(){return n(Object(o.toggleFormat)(e,{type:"core/code"}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"access",character:"x",onUse:u}),Object(i.createElement)(c.RichTextToolbarButton,{icon:"editor-code",title:Object(a.__)("Code"),onClick:u,isActive:r,shortcutType:"access",shortcutCharacter:"x"}))}},s=n(7),b=n(10),p=n(9),f=n(11),m=n(12),d=n(13),h=n(3),O=n(4),j=n(18),y=["image"],v=function(t){return t.stopPropagation()},g={name:"core/image",title:Object(a.__)("Image"),keywords:[Object(a.__)("photo"),Object(a.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function(t){function e(){var t;return Object(b.a)(this,e),(t=Object(f.a)(this,Object(m.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(h.a)(Object(h.a)(t))),t.onKeyDown=t.onKeyDown.bind(Object(h.a)(Object(h.a)(t))),t.openModal=t.openModal.bind(Object(h.a)(Object(h.a)(t))),t.closeModal=t.closeModal.bind(Object(h.a)(Object(h.a)(t))),t.state={modal:!1},t}return Object(d.a)(e,t),Object(p.a)(e,[{key:"onChange",value:function(t){this.setState({width:t})}},{key:"onKeyDown",value:function(t){[j.LEFT,j.DOWN,j.RIGHT,j.UP,j.BACKSPACE,j.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"openModal",value:function(){this.setState({modal:!0})}},{key:"closeModal",value:function(){this.setState({modal:!1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.value,r=e.onChange,u=e.isObjectActive,l=e.activeObjectAttributes,b=l.style,p=n.start+b;return Object(i.createElement)(c.MediaUploadCheck,null,Object(i.createElement)(c.RichTextToolbarButton,{icon:Object(i.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(O.Path,{d:"M4 16h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zM4 5h10v9H4V5zm14 9v2h4v-2h-4zM2 20h20v-2H2v2zm6.4-8.8L7 9.4 5 12h8l-2.6-3.4-2 2.6z"})),title:Object(a.__)("Inline Image"),onClick:this.openModal,isActive:u}),this.state.modal&&Object(i.createElement)(c.MediaUpload,{allowedTypes:y,onSelect:function(e){var i=e.id,a=e.url,c=e.alt,u=e.width;t.closeModal(),r(Object(o.insertObject)(n,{type:"core/image",attributes:{className:"wp-image-".concat(i),style:"width: ".concat(Math.min(u,150),"px;"),url:a,alt:c}}))},onClose:this.closeModal,render:function(t){return(0,t.open)(),null}}),u&&Object(i.createElement)(O.PositionedAtSelection,{key:p},Object(i.createElement)(O.Popover,{position:"bottom center",focusOnMount:!1},Object(i.createElement)("form",{className:"editor-format-toolbar__image-container-content block-editor-format-toolbar__image-container-content",onKeyPress:v,onKeyDown:this.onKeyDown,onSubmit:function(e){var o=n.replacements.slice();o[n.start]={type:"core/image",attributes:Object(s.a)({},l,{style:"width: ".concat(t.state.width,"px;")})},r(Object(s.a)({},n,{replacements:o})),e.preventDefault()}},Object(i.createElement)(O.TextControl,{className:"editor-format-toolbar__image-container-value block-editor-format-toolbar__image-container-value",type:"number",label:Object(a.__)("Width"),value:this.state.width,min:1,onChange:this.onChange}),Object(i.createElement)(O.IconButton,{icon:"editor-break",label:Object(a.__)("Apply"),type:"submit"})))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeObjectAttributes.style;return n===e.previousStyle?null:n?{width:n.replace(/\D/g,""),previousStyle:n}:{width:void 0,previousStyle:n}}}]),e}(i.Component)},k={name:"core/italic",title:Object(a.__)("Italic"),tagName:"em",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,u=function(){return r(Object(o.toggleFormat)(n,{type:"core/italic"}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"primary",character:"i",onUse:u}),Object(i.createElement)(c.RichTextToolbarButton,{name:"italic",icon:"editor-italic",title:Object(a.__)("Italic"),onClick:u,isActive:e,shortcutType:"primary",shortcutCharacter:"i"}),Object(i.createElement)(c.UnstableRichTextInputEvent,{inputType:"formatItalic",onInput:u}))}},_=n(23),w=n(16),E=n.n(w),S=n(2);function C(t){if(!t)return!1;var e=t.trim();if(!e)return!1;if(/^\S+:/.test(e)){var n=Object(_.getProtocol)(e);if(!Object(_.isValidProtocol)(n))return!1;if(Object(S.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(e))return!1;var r=Object(_.getAuthority)(e);if(!Object(_.isValidAuthority)(r))return!1;var o=Object(_.getPath)(e);if(o&&!Object(_.isValidPath)(o))return!1;var i=Object(_.getQueryString)(e);if(i&&!Object(_.isValidQueryString)(i))return!1;var a=Object(_.getFragment)(e);if(a&&!Object(_.isValidFragment)(a))return!1}return!(Object(S.startsWith)(e,"#")&&!Object(_.isValidFragment)(e))}function T(t){var e=t.url,n=t.opensInNewWindow,r=t.text,o={type:"core/link",attributes:{url:e}};if(n){var i=Object(a.sprintf)(Object(a.__)("%s (opens in a new tab)"),r);o.attributes.target="_blank",o.attributes.rel="noreferrer noopener",o.attributes["aria-label"]=i}return o}var x=function(t){return t.stopPropagation()};function L(t,e){return t.addingLink||e.editLink}var P=function(t){var e=t.value,n=t.onChangeInputValue,r=t.onKeyDown,o=t.submitLink,u=t.autocompleteRef;return Object(i.createElement)("form",{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:x,onKeyDown:r,onSubmit:o},Object(i.createElement)(c.URLInput,{value:e,onChange:n,autocompleteRef:u}),Object(i.createElement)(O.IconButton,{icon:"editor-break",label:Object(a.__)("Apply"),type:"submit"}))},R=function(t){var e=t.url,n=Object(_.prependHTTP)(e),r=E()("editor-format-toolbar__link-container-value block-editor-format-toolbar__link-container-value",{"has-invalid-link":!C(n)});return e?Object(i.createElement)(O.ExternalLink,{className:r,href:e},Object(_.filterURLForDisplay)(Object(_.safeDecodeURI)(e))):Object(i.createElement)("span",{className:r})},A=function(t){var e=t.url,n=t.editLink;return Object(i.createElement)("div",{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:x},Object(i.createElement)(R,{url:e}),Object(i.createElement)(O.IconButton,{icon:"edit",label:Object(a.__)("Edit"),onClick:n}))},N=function(t){function e(){var t;return Object(b.a)(this,e),(t=Object(f.a)(this,Object(m.a)(e).apply(this,arguments))).editLink=t.editLink.bind(Object(h.a)(Object(h.a)(t))),t.submitLink=t.submitLink.bind(Object(h.a)(Object(h.a)(t))),t.onKeyDown=t.onKeyDown.bind(Object(h.a)(Object(h.a)(t))),t.onChangeInputValue=t.onChangeInputValue.bind(Object(h.a)(Object(h.a)(t))),t.setLinkTarget=t.setLinkTarget.bind(Object(h.a)(Object(h.a)(t))),t.onClickOutside=t.onClickOutside.bind(Object(h.a)(Object(h.a)(t))),t.resetState=t.resetState.bind(Object(h.a)(Object(h.a)(t))),t.autocompleteRef=Object(i.createRef)(),t.state={opensInNewWindow:!1,inputValue:""},t}return Object(d.a)(e,t),Object(p.a)(e,[{key:"onKeyDown",value:function(t){[j.LEFT,j.DOWN,j.RIGHT,j.UP,j.BACKSPACE,j.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"onChangeInputValue",value:function(t){this.setState({inputValue:t})}},{key:"setLinkTarget",value:function(t){var e=this.props,n=e.activeAttributes.url,r=void 0===n?"":n,i=e.value,a=e.onChange;if(this.setState({opensInNewWindow:t}),!L(this.props,this.state)){var c=Object(o.getTextContent)(Object(o.slice)(i));a(Object(o.applyFormat)(i,T({url:r,opensInNewWindow:t,text:c})))}}},{key:"editLink",value:function(t){this.setState({editLink:!0}),t.preventDefault()}},{key:"submitLink",value:function(t){var e=this.props,n=e.isActive,r=e.value,i=e.onChange,c=e.speak,u=this.state,l=u.inputValue,s=u.opensInNewWindow,b=Object(_.prependHTTP)(l),p=T({url:b,opensInNewWindow:s,text:Object(o.getTextContent)(Object(o.slice)(r))});if(t.preventDefault(),Object(o.isCollapsed)(r)&&!n){var f=Object(o.applyFormat)(Object(o.create)({text:b}),p,0,b.length);i(Object(o.insert)(r,f))}else i(Object(o.applyFormat)(r,p));this.resetState(),C(b)?c(n?Object(a.__)("Link edited."):Object(a.__)("Link inserted."),"assertive"):c(Object(a.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")}},{key:"onClickOutside",value:function(t){var e=this.autocompleteRef.current;e&&e.contains(t.target)||this.resetState()}},{key:"resetState",value:function(){this.props.stopAddingLink(),this.setState({editLink:!1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.isActive,r=e.activeAttributes.url,o=e.addingLink,u=e.value;if(!n&&!o)return null;var l=this.state,s=l.inputValue,b=l.opensInNewWindow,p=L(this.props,this.state);return Object(i.createElement)(O.PositionedAtSelection,{key:"".concat(u.start).concat(u.end)},Object(i.createElement)(c.URLPopover,{onClickOutside:this.onClickOutside,onClose:this.resetState,focusOnMount:!!p&&"firstElement",renderSettings:function(){return Object(i.createElement)(O.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:b,onChange:t.setLinkTarget})}},p?Object(i.createElement)(P,{value:s,onChangeInputValue:this.onChangeInputValue,onKeyDown:this.onKeyDown,submitLink:this.submitLink,autocompleteRef:this.autocompleteRef}):Object(i.createElement)(A,{url:r,editLink:this.editLink})))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeAttributes,r=n.url,o="_blank"===n.target;if(!L(t,e)){if(r!==e.inputValue)return{inputValue:r};if(o!==e.opensInNewWindow)return{opensInNewWindow:o}}return null}}]),e}(i.Component),I=Object(O.withSpokenMessages)(N),F={name:"core/link",title:Object(a.__)("Link"),tagName:"a",className:null,attributes:{url:"href",target:"target"},edit:Object(O.withSpokenMessages)(function(t){function e(){var t;return Object(b.a)(this,e),(t=Object(f.a)(this,Object(m.a)(e).apply(this,arguments))).addLink=t.addLink.bind(Object(h.a)(Object(h.a)(t))),t.stopAddingLink=t.stopAddingLink.bind(Object(h.a)(Object(h.a)(t))),t.onRemoveFormat=t.onRemoveFormat.bind(Object(h.a)(Object(h.a)(t))),t.state={addingLink:!1},t}return Object(d.a)(e,t),Object(p.a)(e,[{key:"addLink",value:function(){var t=this.props,e=t.value,n=t.onChange,r=Object(o.getTextContent)(Object(o.slice)(e));r&&Object(_.isURL)(r)?n(Object(o.applyFormat)(e,{type:"core/link",attributes:{url:r}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1})}},{key:"onRemoveFormat",value:function(){var t=this.props,e=t.value,n=t.onChange,r=t.speak;n(Object(o.removeFormat)(e,"core/link")),r(Object(a.__)("Link removed."),"assertive")}},{key:"render",value:function(){var t=this.props,e=t.isActive,n=t.activeAttributes,r=t.value,o=t.onChange;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"access",character:"a",onUse:this.addLink}),Object(i.createElement)(c.RichTextShortcut,{type:"access",character:"s",onUse:this.onRemoveFormat}),Object(i.createElement)(c.RichTextShortcut,{type:"primary",character:"k",onUse:this.addLink}),Object(i.createElement)(c.RichTextShortcut,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&Object(i.createElement)(c.RichTextToolbarButton,{name:"link",icon:"editor-unlink",title:Object(a.__)("Unlink"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&Object(i.createElement)(c.RichTextToolbarButton,{name:"link",icon:"admin-links",title:Object(a.__)("Link"),onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),Object(i.createElement)(I,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:n,value:r,onChange:o}))}}]),e}(i.Component))},U={name:"core/strikethrough",title:Object(a.__)("Strikethrough"),tagName:"s",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,u=function(){return r(Object(o.toggleFormat)(n,{type:"core/strikethrough"}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"access",character:"d",onUse:u}),Object(i.createElement)(c.RichTextToolbarButton,{icon:"editor-strikethrough",title:Object(a.__)("Strikethrough"),onClick:u,isActive:e,shortcutType:"access",shortcutCharacter:"d"}))}};[u,l,g,k,F,U,{name:"core/underline",title:Object(a.__)("Underline"),tagName:"span",className:null,attributes:{style:"style"},edit:function(t){var e=t.value,n=t.onChange,r=function(){n(Object(o.toggleFormat)(e,{type:"core/underline",attributes:{style:"text-decoration: underline;"}}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"primary",character:"u",onUse:r}),Object(i.createElement)(c.UnstableRichTextInputEvent,{inputType:"formatUnderline",onInput:r}))}}].forEach(function(t){var e=t.name,n=Object(r.a)(t,["name"]);return Object(o.registerFormatType)(e,n)})},4:function(t,e){!function(){t.exports=this.wp.components}()},7:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(15);function o(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",function(){return r})},24:function(t,e){!function(){t.exports=this.wp.dom}()},25:function(t,e){!function(){t.exports=this.wp.url}()},3:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",function(){return r})},32:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}n.d(e,"a",function(){return o})},367:function(t,e,n){"use strict";n.r(e);var r=n(21),o=n(20),i=n(0),a=n(1),c=n(8),u={name:"core/bold",title:Object(a.__)("Bold"),tagName:"strong",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,u=function(){return r(Object(o.toggleFormat)(n,{type:"core/bold"}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"primary",character:"b",onUse:u}),Object(i.createElement)(c.RichTextToolbarButton,{name:"bold",icon:"editor-bold",title:Object(a.__)("Bold"),onClick:u,isActive:e,shortcutType:"primary",shortcutCharacter:"b"}),Object(i.createElement)(c.UnstableRichTextInputEvent,{inputType:"formatBold",onInput:u}))}},l={name:"core/code",title:Object(a.__)("Code"),tagName:"code",className:null,edit:function(t){var e=t.value,n=t.onChange,r=t.isActive,u=function(){return n(Object(o.toggleFormat)(e,{type:"core/code"}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"access",character:"x",onUse:u}),Object(i.createElement)(c.RichTextToolbarButton,{icon:"editor-code",title:Object(a.__)("Code"),onClick:u,isActive:r,shortcutType:"access",shortcutCharacter:"x"}))}},s=n(7),b=n(10),p=n(9),f=n(11),d=n(12),m=n(13),h=n(3),O=n(4),j=n(18),v=["image"],y=function(t){return t.stopPropagation()},g={name:"core/image",title:Object(a.__)("Image"),keywords:[Object(a.__)("photo"),Object(a.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function(t){function e(){var t;return Object(b.a)(this,e),(t=Object(f.a)(this,Object(d.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(h.a)(Object(h.a)(t))),t.onKeyDown=t.onKeyDown.bind(Object(h.a)(Object(h.a)(t))),t.openModal=t.openModal.bind(Object(h.a)(Object(h.a)(t))),t.closeModal=t.closeModal.bind(Object(h.a)(Object(h.a)(t))),t.state={modal:!1},t}return Object(m.a)(e,t),Object(p.a)(e,[{key:"onChange",value:function(t){this.setState({width:t})}},{key:"onKeyDown",value:function(t){[j.LEFT,j.DOWN,j.RIGHT,j.UP,j.BACKSPACE,j.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"openModal",value:function(){this.setState({modal:!0})}},{key:"closeModal",value:function(){this.setState({modal:!1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.value,r=e.onChange,u=e.isObjectActive,l=e.activeObjectAttributes,b=l.style,p=n.start+b;return Object(i.createElement)(c.MediaUploadCheck,null,Object(i.createElement)(c.RichTextToolbarButton,{icon:Object(i.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(O.Path,{d:"M4 16h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zM4 5h10v9H4V5zm14 9v2h4v-2h-4zM2 20h20v-2H2v2zm6.4-8.8L7 9.4 5 12h8l-2.6-3.4-2 2.6z"})),title:Object(a.__)("Inline Image"),onClick:this.openModal,isActive:u}),this.state.modal&&Object(i.createElement)(c.MediaUpload,{allowedTypes:v,onSelect:function(e){var i=e.id,a=e.url,c=e.alt,u=e.width;t.closeModal(),r(Object(o.insertObject)(n,{type:"core/image",attributes:{className:"wp-image-".concat(i),style:"width: ".concat(Math.min(u,150),"px;"),url:a,alt:c}}))},onClose:this.closeModal,render:function(t){return(0,t.open)(),null}}),u&&Object(i.createElement)(O.__unstablePositionedAtSelection,{key:p},Object(i.createElement)(O.Popover,{position:"bottom center",focusOnMount:!1},Object(i.createElement)("form",{className:"editor-format-toolbar__image-container-content block-editor-format-toolbar__image-container-content",onKeyPress:y,onKeyDown:this.onKeyDown,onSubmit:function(e){var o=n.replacements.slice();o[n.start]={type:"core/image",attributes:Object(s.a)({},l,{style:"width: ".concat(t.state.width,"px;")})},r(Object(s.a)({},n,{replacements:o})),e.preventDefault()}},Object(i.createElement)(O.TextControl,{className:"editor-format-toolbar__image-container-value block-editor-format-toolbar__image-container-value",type:"number",label:Object(a.__)("Width"),value:this.state.width,min:1,onChange:this.onChange}),Object(i.createElement)(O.IconButton,{icon:"editor-break",label:Object(a.__)("Apply"),type:"submit"})))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeObjectAttributes.style;return n===e.previousStyle?null:n?{width:n.replace(/\D/g,""),previousStyle:n}:{width:void 0,previousStyle:n}}}]),e}(i.Component)},k={name:"core/italic",title:Object(a.__)("Italic"),tagName:"em",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,u=function(){return r(Object(o.toggleFormat)(n,{type:"core/italic"}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"primary",character:"i",onUse:u}),Object(i.createElement)(c.RichTextToolbarButton,{name:"italic",icon:"editor-italic",title:Object(a.__)("Italic"),onClick:u,isActive:e,shortcutType:"primary",shortcutCharacter:"i"}),Object(i.createElement)(c.UnstableRichTextInputEvent,{inputType:"formatItalic",onInput:u}))}},_=n(25),w=n(19),E=n(16),S=n.n(E),C=n(24),T=n(2);function x(t){if(!t)return!1;var e=t.trim();if(!e)return!1;if(/^\S+:/.test(e)){var n=Object(_.getProtocol)(e);if(!Object(_.isValidProtocol)(n))return!1;if(Object(T.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(e))return!1;var r=Object(_.getAuthority)(e);if(!Object(_.isValidAuthority)(r))return!1;var o=Object(_.getPath)(e);if(o&&!Object(_.isValidPath)(o))return!1;var i=Object(_.getQueryString)(e);if(i&&!Object(_.isValidQueryString)(i))return!1;var a=Object(_.getFragment)(e);if(a&&!Object(_.isValidFragment)(a))return!1}return!(Object(T.startsWith)(e,"#")&&!Object(_.isValidFragment)(e))}function L(t){var e=t.url,n=t.opensInNewWindow,r=t.text,o={type:"core/link",attributes:{url:e}};if(n){var i=Object(a.sprintf)(Object(a.__)("%s (opens in a new tab)"),r);o.attributes.target="_blank",o.attributes.rel="noreferrer noopener",o.attributes["aria-label"]=i}return o}var R=function(t){return t.stopPropagation()};function A(t,e){return t.addingLink||e.editLink}var P=function(t){var e=t.value,n=t.onChangeInputValue,r=t.onKeyDown,o=t.submitLink,u=t.autocompleteRef;return Object(i.createElement)("form",{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:R,onKeyDown:r,onSubmit:o},Object(i.createElement)(c.URLInput,{value:e,onChange:n,autocompleteRef:u}),Object(i.createElement)(O.IconButton,{icon:"editor-break",label:Object(a.__)("Apply"),type:"submit"}))},N=function(t){var e=t.url,n=Object(_.prependHTTP)(e),r=S()("editor-format-toolbar__link-container-value block-editor-format-toolbar__link-container-value",{"has-invalid-link":!x(n)});return e?Object(i.createElement)(O.ExternalLink,{className:r,href:e},Object(_.filterURLForDisplay)(Object(_.safeDecodeURI)(e))):Object(i.createElement)("span",{className:r})},I=function(t){var e=t.isActive,n=t.addingLink,o=t.value,a=Object(r.a)(t,["isActive","addingLink","value"]),u=Object(i.useMemo)(function(){var t=window.getSelection().getRangeAt(0);if(t){if(n)return Object(C.getRectangleFromRange)(t);var e=t.startContainer;for(e=e.nextElementSibling||e;e.nodeType!==window.Node.ELEMENT_NODE;)e=e.parentNode;var r=e.closest("a");return r?r.getBoundingClientRect():void 0}},[e,n,o.start,o.end]);return u?Object(i.createElement)(c.URLPopover,Object(w.a)({anchorRect:u},a)):null},F=function(t){var e=t.url,n=t.editLink;return Object(i.createElement)("div",{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:R},Object(i.createElement)(N,{url:e}),Object(i.createElement)(O.IconButton,{icon:"edit",label:Object(a.__)("Edit"),onClick:n}))},M=function(t){function e(){var t;return Object(b.a)(this,e),(t=Object(f.a)(this,Object(d.a)(e).apply(this,arguments))).editLink=t.editLink.bind(Object(h.a)(Object(h.a)(t))),t.submitLink=t.submitLink.bind(Object(h.a)(Object(h.a)(t))),t.onKeyDown=t.onKeyDown.bind(Object(h.a)(Object(h.a)(t))),t.onChangeInputValue=t.onChangeInputValue.bind(Object(h.a)(Object(h.a)(t))),t.setLinkTarget=t.setLinkTarget.bind(Object(h.a)(Object(h.a)(t))),t.onClickOutside=t.onClickOutside.bind(Object(h.a)(Object(h.a)(t))),t.resetState=t.resetState.bind(Object(h.a)(Object(h.a)(t))),t.autocompleteRef=Object(i.createRef)(),t.state={opensInNewWindow:!1,inputValue:""},t}return Object(m.a)(e,t),Object(p.a)(e,[{key:"onKeyDown",value:function(t){[j.LEFT,j.DOWN,j.RIGHT,j.UP,j.BACKSPACE,j.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"onChangeInputValue",value:function(t){this.setState({inputValue:t})}},{key:"setLinkTarget",value:function(t){var e=this.props,n=e.activeAttributes.url,r=void 0===n?"":n,i=e.value,a=e.onChange;if(this.setState({opensInNewWindow:t}),!A(this.props,this.state)){var c=Object(o.getTextContent)(Object(o.slice)(i));a(Object(o.applyFormat)(i,L({url:r,opensInNewWindow:t,text:c})))}}},{key:"editLink",value:function(t){this.setState({editLink:!0}),t.preventDefault()}},{key:"submitLink",value:function(t){var e=this.props,n=e.isActive,r=e.value,i=e.onChange,c=e.speak,u=this.state,l=u.inputValue,s=u.opensInNewWindow,b=Object(_.prependHTTP)(l),p=L({url:b,opensInNewWindow:s,text:Object(o.getTextContent)(Object(o.slice)(r))});if(t.preventDefault(),Object(o.isCollapsed)(r)&&!n){var f=Object(o.applyFormat)(Object(o.create)({text:b}),p,0,b.length);i(Object(o.insert)(r,f))}else i(Object(o.applyFormat)(r,p));this.resetState(),x(b)?c(n?Object(a.__)("Link edited."):Object(a.__)("Link inserted."),"assertive"):c(Object(a.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")}},{key:"onClickOutside",value:function(t){var e=this.autocompleteRef.current;e&&e.contains(t.target)||this.resetState()}},{key:"resetState",value:function(){this.props.stopAddingLink(),this.setState({editLink:!1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.isActive,r=e.activeAttributes.url,o=e.addingLink,c=e.value;if(!n&&!o)return null;var u=this.state,l=u.inputValue,s=u.opensInNewWindow,b=A(this.props,this.state);return Object(i.createElement)(I,{value:c,isActive:n,addingLink:o,onClickOutside:this.onClickOutside,onClose:this.resetState,focusOnMount:!!b&&"firstElement",renderSettings:function(){return Object(i.createElement)(O.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:s,onChange:t.setLinkTarget})}},b?Object(i.createElement)(P,{value:l,onChangeInputValue:this.onChangeInputValue,onKeyDown:this.onKeyDown,submitLink:this.submitLink,autocompleteRef:this.autocompleteRef}):Object(i.createElement)(F,{url:r,editLink:this.editLink}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeAttributes,r=n.url,o="_blank"===n.target;if(!A(t,e)){if(r!==e.inputValue)return{inputValue:r};if(o!==e.opensInNewWindow)return{opensInNewWindow:o}}return null}}]),e}(i.Component),D=Object(O.withSpokenMessages)(M),U={name:"core/link",title:Object(a.__)("Link"),tagName:"a",className:null,attributes:{url:"href",target:"target"},edit:Object(O.withSpokenMessages)(function(t){function e(){var t;return Object(b.a)(this,e),(t=Object(f.a)(this,Object(d.a)(e).apply(this,arguments))).addLink=t.addLink.bind(Object(h.a)(Object(h.a)(t))),t.stopAddingLink=t.stopAddingLink.bind(Object(h.a)(Object(h.a)(t))),t.onRemoveFormat=t.onRemoveFormat.bind(Object(h.a)(Object(h.a)(t))),t.state={addingLink:!1},t}return Object(m.a)(e,t),Object(p.a)(e,[{key:"addLink",value:function(){var t=this.props,e=t.value,n=t.onChange,r=Object(o.getTextContent)(Object(o.slice)(e));r&&Object(_.isURL)(r)?n(Object(o.applyFormat)(e,{type:"core/link",attributes:{url:r}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1})}},{key:"onRemoveFormat",value:function(){var t=this.props,e=t.value,n=t.onChange,r=t.speak;n(Object(o.removeFormat)(e,"core/link")),r(Object(a.__)("Link removed."),"assertive")}},{key:"render",value:function(){var t=this.props,e=t.isActive,n=t.activeAttributes,r=t.value,o=t.onChange;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"access",character:"a",onUse:this.addLink}),Object(i.createElement)(c.RichTextShortcut,{type:"access",character:"s",onUse:this.onRemoveFormat}),Object(i.createElement)(c.RichTextShortcut,{type:"primary",character:"k",onUse:this.addLink}),Object(i.createElement)(c.RichTextShortcut,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&Object(i.createElement)(c.RichTextToolbarButton,{name:"link",icon:"editor-unlink",title:Object(a.__)("Unlink"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&Object(i.createElement)(c.RichTextToolbarButton,{name:"link",icon:"admin-links",title:Object(a.__)("Link"),onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),Object(i.createElement)(D,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:n,value:r,onChange:o}))}}]),e}(i.Component))},V={name:"core/strikethrough",title:Object(a.__)("Strikethrough"),tagName:"s",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,u=function(){return r(Object(o.toggleFormat)(n,{type:"core/strikethrough"}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"access",character:"d",onUse:u}),Object(i.createElement)(c.RichTextToolbarButton,{icon:"editor-strikethrough",title:Object(a.__)("Strikethrough"),onClick:u,isActive:e,shortcutType:"access",shortcutCharacter:"d"}))}};[u,l,g,k,U,V,{name:"core/underline",title:Object(a.__)("Underline"),tagName:"span",className:null,attributes:{style:"style"},edit:function(t){var e=t.value,n=t.onChange,r=function(){n(Object(o.toggleFormat)(e,{type:"core/underline",attributes:{style:"text-decoration: underline;"}}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.RichTextShortcut,{type:"primary",character:"u",onUse:r}),Object(i.createElement)(c.UnstableRichTextInputEvent,{inputType:"formatUnderline",onInput:r}))}}].forEach(function(t){var e=t.name,n=Object(r.a)(t,["name"]);return Object(o.registerFormatType)(e,n)})},4:function(t,e){!function(){t.exports=this.wp.components}()},7:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(15);function o(t){for(var e=1;e");var e=document.querySelector(".wp-header-end");e&&e.parentNode.insertBefore(t,e)}}),e)}})},4:function(t,e){!function(){t.exports=this.wp.components}()},44:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise(function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)})}}n.d(e,"a",function(){return o})},54:function(t,e,n){var r=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(55),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",s="object"==typeof t,l=e.regeneratorRuntime;if(l)s&&(t.exports=l);else{(l=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},b={};b[a]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(R([])));v&&v!==r&&o.call(v,a)&&(b=v);var g=x.prototype=j.prototype=Object.create(b);_.prototype=g.constructor=x,x.constructor=_,x[u]=_.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(g),t},l.awrap=function(t){return{__await:t}},S(E.prototype),E.prototype[c]=function(){return this},l.AsyncIterator=E,l.async=function(t,e,n,r){var o=new E(w(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},S(g),g[u]="Generator",g[a]=function(){return this},g.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=R,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(N),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return c.type="throw",c.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),y}}}function w(t,e,n,r){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(t,e,n){var r=f;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=k(a,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=O(t,e,n);if("normal"===u.type){if(r=n.done?d:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function O(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function j(){}function _(){}function x(){}function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function E(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,a){var c=O(t[n],t,r);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(s).then(function(t){u.value=t,i(u)},function(t){return e("throw",t,i,a)})}a(c.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function k(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,k(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=O(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function R(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r");var e=document.querySelector(".wp-header-end");e&&e.parentNode.insertBefore(t,e)}}),e)}})},4:function(t,e){!function(){t.exports=this.wp.components}()},44:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise(function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)})}}n.d(e,"a",function(){return o})},54:function(t,e,n){var r=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(55),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",s="object"==typeof t,l=e.regeneratorRuntime;if(l)s&&(t.exports=l);else{(l=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},b={};b[a]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(R([])));v&&v!==r&&o.call(v,a)&&(b=v);var g=x.prototype=j.prototype=Object.create(b);_.prototype=g.constructor=x,x.constructor=_,x[u]=_.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(g),t},l.awrap=function(t){return{__await:t}},S(E.prototype),E.prototype[c]=function(){return this},l.AsyncIterator=E,l.async=function(t,e,n,r){var o=new E(w(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},S(g),g[u]="Generator",g[a]=function(){return this},g.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=R,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(N),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return c.type="throw",c.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),y}}}function w(t,e,n,r){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(t,e,n){var r=f;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=k(a,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=O(t,e,n);if("normal"===u.type){if(r=n.done?d:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function O(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function j(){}function _(){}function x(){}function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function E(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,a){var c=O(t[n],t,r);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(s).then(function(t){u.value=t,i(u)},function(t){return e("throw",t,i,a)})}a(c.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function k(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,k(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=O(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function R(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[t];if(void 0===o)return r;var i=e(r[o],n);return i===r[o]?r:Object(f.a)({},r,Object(u.a)({},o,i))}}}("context")(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[].concat(Object(c.a)(Object(a.reject)(t,{id:e.notice.id})),[e.notice]);case"REMOVE_NOTICE":return Object(a.reject)(t,{id:e.id})}return t}),l=r(26),h=r.n(l),p="global",d="info",y=h.a.mark(v);function v(){var t,e,r,n,o,i,c,u,f,s,l,v,g,m,b=arguments;return h.a.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(t=b.length>0&&void 0!==b[0]?b[0]:d,e=b.length>1?b[1]:void 0,r=b.length>2&&void 0!==b[2]?b[2]:{},n=r.speak,o=void 0===n||n,i=r.isDismissible,c=void 0===i||i,u=r.context,f=void 0===u?p:u,s=r.id,l=void 0===s?Object(a.uniqueId)(f):s,v=r.actions,g=void 0===v?[]:v,m=r.__unstableHTML,e=String(e),!o){h.next=8;break}return h.next=8,{type:"SPEAK",message:e};case 8:return h.next=10,{type:"CREATE_NOTICE",context:f,notice:{id:l,status:t,content:e,__unstableHTML:m,isDismissible:c,actions:g}};case 10:case"end":return h.stop()}},y,this)}function g(t,e){return v("success",t,e)}function m(t,e){return v("info",t,e)}function b(t,e){return v("error",t,e)}function w(t,e){return v("warning",t,e)}function O(t){return{type:"REMOVE_NOTICE",id:t,context:arguments.length>1&&void 0!==arguments[1]?arguments[1]:p}}var x=[];function j(t){return t[arguments.length>1&&void 0!==arguments[1]?arguments[1]:p]||x}var E=r(48),L={SPEAK:function(t){Object(E.speak)(t.message,"assertive")}};Object(i.registerStore)("core/notices",{reducer:s,actions:n,selectors:o,controls:L})},48:function(t,e){!function(){t.exports=this.wp.a11y}()},5:function(t,e){!function(){t.exports=this.wp.data}()},54:function(t,e,r){var n=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",f="object"==typeof t,s=e.regeneratorRuntime;if(s)f&&(t.exports=s);else{(s=e.regeneratorRuntime=f?t.exports:{}).wrap=w;var l="suspendedStart",h="suspendedYield",p="executing",d="completed",y={},v={};v[c]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(k([])));m&&m!==n&&o.call(m,c)&&(v=m);var b=E.prototype=x.prototype=Object.create(v);j.prototype=b.constructor=E,E.constructor=j,E[u]=j.displayName="GeneratorFunction",s.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"GeneratorFunction"===(e.displayName||e.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(b),t},s.awrap=function(t){return{__await:t}},L(_.prototype),_.prototype[a]=function(){return this},s.AsyncIterator=_,s.async=function(t,e,r,n){var o=new _(w(t,e,r,n));return s.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},L(b),b[u]="Generator",b[c]=function(){return this},b.toString=function(){return"[object Generator]"},s.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},s.values=k,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return a.type="throw",a.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return n("end");if(c.tryLoc<=this.prev){var u=o.call(c,"catchLoc"),f=o.call(c,"finallyLoc");if(u&&f){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function w(t,e,r,n){var o=e&&e.prototype instanceof x?e:x,i=Object.create(o.prototype),c=new T(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return R()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=N(c,r);if(a){if(a===y)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=O(t,e,r);if("normal"===u.type){if(n=r.done?d:h,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=d,r.method="throw",r.arg=u.arg)}}}(t,r,c),i}function O(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function x(){}function j(){}function E(){}function L(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function _(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,c){var a=O(t[r],t,n);if("throw"!==a.type){var u=a.arg,f=u.value;return f&&"object"==typeof f&&o.call(f,"__await")?Promise.resolve(f.__await).then(function(t){e("next",t,i,c)},function(t){e("throw",t,i,c)}):Promise.resolve(f).then(function(t){u.value=t,i(u)},function(t){return e("throw",t,i,c)})}c(a.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function N(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,N(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=O(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[t];if(void 0===o)return r;var i=e(r[o],n);return i===r[o]?r:Object(f.a)({},r,Object(u.a)({},o,i))}}}("context")(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[].concat(Object(c.a)(Object(a.reject)(t,{id:e.notice.id})),[e.notice]);case"REMOVE_NOTICE":return Object(a.reject)(t,{id:e.id})}return t}),l=r(23),h=r.n(l),p="global",d="info",y=h.a.mark(v);function v(){var t,e,r,n,o,i,c,u,f,s,l,v,g,m,b=arguments;return h.a.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(t=b.length>0&&void 0!==b[0]?b[0]:d,e=b.length>1?b[1]:void 0,r=b.length>2&&void 0!==b[2]?b[2]:{},n=r.speak,o=void 0===n||n,i=r.isDismissible,c=void 0===i||i,u=r.context,f=void 0===u?p:u,s=r.id,l=void 0===s?Object(a.uniqueId)(f):s,v=r.actions,g=void 0===v?[]:v,m=r.__unstableHTML,e=String(e),!o){h.next=8;break}return h.next=8,{type:"SPEAK",message:e};case 8:return h.next=10,{type:"CREATE_NOTICE",context:f,notice:{id:l,status:t,content:e,__unstableHTML:m,isDismissible:c,actions:g}};case 10:case"end":return h.stop()}},y,this)}function g(t,e){return v("success",t,e)}function m(t,e){return v("info",t,e)}function b(t,e){return v("error",t,e)}function w(t,e){return v("warning",t,e)}function O(t){return{type:"REMOVE_NOTICE",id:t,context:arguments.length>1&&void 0!==arguments[1]?arguments[1]:p}}var x=[];function j(t){return t[arguments.length>1&&void 0!==arguments[1]?arguments[1]:p]||x}var E=r(48),L={SPEAK:function(t){Object(E.speak)(t.message,"assertive")}};Object(i.registerStore)("core/notices",{reducer:s,actions:n,selectors:o,controls:L})},48:function(t,e){!function(){t.exports=this.wp.a11y}()},5:function(t,e){!function(){t.exports=this.wp.data}()},54:function(t,e,r){var n=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",f="object"==typeof t,s=e.regeneratorRuntime;if(s)f&&(t.exports=s);else{(s=e.regeneratorRuntime=f?t.exports:{}).wrap=w;var l="suspendedStart",h="suspendedYield",p="executing",d="completed",y={},v={};v[c]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(k([])));m&&m!==n&&o.call(m,c)&&(v=m);var b=E.prototype=x.prototype=Object.create(v);j.prototype=b.constructor=E,E.constructor=j,E[u]=j.displayName="GeneratorFunction",s.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"GeneratorFunction"===(e.displayName||e.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(b),t},s.awrap=function(t){return{__await:t}},L(_.prototype),_.prototype[a]=function(){return this},s.AsyncIterator=_,s.async=function(t,e,r,n){var o=new _(w(t,e,r,n));return s.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},L(b),b[u]="Generator",b[c]=function(){return this},b.toString=function(){return"[object Generator]"},s.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},s.values=k,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return a.type="throw",a.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return n("end");if(c.tryLoc<=this.prev){var u=o.call(c,"catchLoc"),f=o.call(c,"finallyLoc");if(u&&f){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function w(t,e,r,n){var o=e&&e.prototype instanceof x?e:x,i=Object.create(o.prototype),c=new T(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return R()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=N(c,r);if(a){if(a===y)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=O(t,e,r);if("normal"===u.type){if(n=r.done?d:h,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=d,r.method="throw",r.arg=u.arg)}}}(t,r,c),i}function O(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function x(){}function j(){}function E(){}function L(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function _(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,c){var a=O(t[r],t,n);if("throw"!==a.type){var u=a.arg,f=u.value;return f&&"object"==typeof f&&o.call(f,"__await")?Promise.resolve(f.__await).then(function(t){e("next",t,i,c)},function(t){e("throw",t,i,c)}):Promise.resolve(f).then(function(t){u.value=t,i(u)},function(t){return e("throw",t,i,c)})}c(a.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function N(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,N(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=O(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return Object(o.a)({},e,Object(c.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(c.omit)(e,t.names)}return e}}),l=r(30),s=Object(l.a)(function(e){return Object.values(e.formatTypes)},function(e){return[e.formatTypes]});function f(e,t){return e.formatTypes[t]}function d(e,t){return Object(c.find)(s(e),function(e){var r=e.tagName;return t===r})}function p(e,t){return Object(c.find)(s(e),function(e){var r=e.className;return null!==r&&" ".concat(t," ").indexOf(" ".concat(r," "))>=0})}function m(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(c.castArray)(e)}}function v(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(c.castArray)(e)}}Object(i.registerStore)("core/rich-text",{reducer:u,selectors:n,actions:a});var g=r(17);function h(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var r=e.attributes,n=t.attributes;if(r===n)return!0;if(!r||!n)return!1;var a=Object.keys(r),i=Object.keys(n);if(a.length!==i.length)return!1;for(var o=a.length,c=0;c2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,i=e.activeFormats,u=void 0===i?[]:i,l=a.slice();if(r===n){var s=Object(c.find)(l[r],{type:t.type});if(!s)return Object(o.a)({},e,{activeFormats:[].concat(Object(g.a)(u),[t])});for(;Object(c.find)(l[r],s);)x(l,r,t),r--;for(n++;Object(c.find)(l[n],s);)x(l,n,t),n++}else for(var f=r;f0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,r=e.text,n=e.html,a=e.range,i=e.multilineTag,o=e.multilineWrapperTags,c=e.__unstableIsEditableTree;return"string"==typeof r&&r.length>0?{formats:Array(r.length),replacements:Array(r.length),text:r}:("string"==typeof n&&n.length>0&&(t=j(document,n)),"object"!==Object(O.a)(t)?{formats:[],replacements:[],text:""}:i?I({element:t,range:a,multilineTag:i,multilineWrapperTags:o,isEditableTree:c}):D({element:t,range:a,isEditableTree:c}))}function S(e,t,r,n){if(r){var a=t.parentNode,i=r.startContainer,o=r.startOffset,c=r.endContainer,u=r.endOffset,l=e.text.length;void 0!==n.start?e.start=l+n.start:t===i&&t.nodeType===F?e.start=l+o:a===i&&t===i.childNodes[o]?e.start=l:a===i&&t===i.childNodes[o-1]?e.start=l+n.text.length:t===i&&(e.start=l),void 0!==n.end?e.end=l+n.end:t===c&&t.nodeType===F?e.end=l+u:a===c&&t===c.childNodes[u-1]?e.end=l+n.text.length:a===c&&t===c.childNodes[u]?e.end=l:t===c&&(e.end=l+u)}}function P(e){return e.replace(/[\n\r\t]+/g," ")}function D(e){var t=e.element,r=e.range,n=e.multilineTag,a=e.multilineWrapperTags,c=e.currentWrapperTags,u=void 0===c?[]:c,l=e.isEditableTree,s={formats:[],replacements:[],text:""};if(!t)return s;if(!t.hasChildNodes())return S(s,t,r,{formats:[],replacements:[],text:""}),s;for(var f=t.childNodes.length,d=function(e){var c=t.childNodes[e],f=c.nodeName.toLowerCase();if(c.nodeType===F){var d=P(c.nodeValue);return r=function(e,t,r){if(t){var n=t.startContainer,a=t.endContainer,i=t.startOffset,o=t.endOffset;return e===n&&(i=r(e.nodeValue.slice(0,i)).length),e===a&&(o=r(e.nodeValue.slice(0,o)).length),{startContainer:n,startOffset:i,endContainer:a,endOffset:o}}}(c,r,P),S(s,c,r,{text:d}),s.formats.length+=d.length,s.replacements.length+=d.length,s.text+=d,"continue"}if(c.nodeType!==C)return"continue";if(c.getAttribute("data-rich-text-padding")||l&&"br"===f&&!c.getAttribute("data-rich-text-line-break"))return S(s,c,r,{formats:[],replacements:[],text:""}),"continue";if("br"===f)return S(s,c,r,{formats:[],replacements:[],text:""}),M(s,A({text:"\n"})),"continue";var p=s.formats[s.formats.length-1],m=p&&p[p.length-1],v=function(e){var t,r=e.type,n=e.attributes;if(n&&n.class&&(t=Object(i.select)("core/rich-text").getFormatTypeForClassName(n.class))&&(n.class=" ".concat(n.class," ").replace(" ".concat(t.className," ")," ").trim(),n.class||delete n.class),t||(t=Object(i.select)("core/rich-text").getFormatTypeForBareElement(r)),!t)return n?{type:r,attributes:n}:{type:r};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!n)return{type:t.name};var a={},o={};for(var c in n){var u=N(t.attributes,c);u?a[u]=n[c]:o[c]=n[c]}return{type:t.name,attributes:a,unregisteredAttributes:o}}({type:f,attributes:k({element:c})}),b=h(v,m)?m:v;if(a&&-1!==a.indexOf(f)){var y=I({element:c,range:r,multilineTag:n,multilineWrapperTags:a,currentWrapperTags:[].concat(Object(g.a)(u),[b]),isEditableTree:l});return S(s,c,r,y),M(s,y),"continue"}var x=D({element:c,range:r,multilineTag:n,multilineWrapperTags:a,isEditableTree:l});S(s,c,r,x),b?0===x.text.length?b.attributes&&M(s,{formats:[,],replacements:[b],text:w}):M(s,Object(o.a)({},x,{formats:Array.from(x.formats,function(e){return e?[b].concat(Object(g.a)(e)):[b]})})):M(s,x)},p=0;p0)&&M(u,{formats:[,],replacements:o.length>0?[o]:[,],text:E}),S(u,f,r,d),M(u,d)}}return u}function k(e){var t=e.element;if(t.hasAttributes()){for(var r,n=t.attributes.length,a=0;a1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=A({text:t})),b(e.reduce(function(e,r){var n=r.formats,a=r.replacements,i=r.text;return{formats:e.formats.concat(t.formats,n),replacements:e.replacements.concat(t.replacements,a),text:e.text+t.text+i}}))}var $=r(15),X=r(19),Z=r(0),K=r(41),J=r.n(K),Q=r(24),ee=r(6),te=[];function re(e,t){if("string"==typeof(t=Object(o.a)({name:e},t)).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if(Object(i.select)("core/rich-text").getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9-]*$/.test(t.className)){if(null===t.className){var r=Object(i.select)("core/rich-text").getFormatTypeForBareElement(t.tagName);if(r)return void window.console.error('Format "'.concat(r.name,'" is already registered to handle bare tag name "').concat(t.tagName,'".'))}else{var n=Object(i.select)("core/rich-text").getFormatTypeForClassName(t.className);if(n)return void window.console.error('Format "'.concat(n.name,'" is already registered to handle class name "').concat(t.className,'".'))}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title){Object(i.dispatch)("core/rich-text").addFormatTypes(t);var a=J()(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te,t=arguments.length>1?arguments[1]:void 0;return[].concat(Object(g.a)(e),[t])});return t.__experimentalCreatePrepareEditableTree&&Object(Q.addFilter)("experimentalRichText",e,function(r){var n=r;(t.__experimentalCreatePrepareEditableTree||t.__experimentalCreateFormatToValue||t.__experimentalCreateValueToFormat)&&(n=function(n){var i={};if(t.__experimentalCreatePrepareEditableTree&&(i.prepareEditableTree=a(n.prepareEditableTree,t.__experimentalCreatePrepareEditableTree(n["format_".concat(e)],{richTextIdentifier:n.identifier,blockClientId:n.clientId}))),t.__experimentalCreateOnChangeEditableValue){var c=Object.keys(n).reduce(function(t,r){var a=n[r],i="format_".concat(e,"_dispatch_");r.startsWith(i)&&(t[r.replace(i,"")]=a);return t},{});i.onChangeEditableValue=a(n.onChangeEditableValue,t.__experimentalCreateOnChangeEditableValue(Object(o.a)({},n["format_".concat(e)],c),{richTextIdentifier:n.identifier,blockClientId:n.clientId}))}return Object(Z.createElement)(r,Object(X.a)({},n,i))});var u=[];return t.__experimentalGetPropsForEditableTreePreparation&&u.push(Object(i.withSelect)(function(r,n){var a=n.clientId,i=n.identifier;return Object($.a)({},"format_".concat(e),t.__experimentalGetPropsForEditableTreePreparation(r,{richTextIdentifier:i,blockClientId:a}))})),t.__experimentalGetPropsForEditableTreeChangeHandler&&u.push(Object(i.withDispatch)(function(r,n){var a=n.clientId,i=n.identifier,o=t.__experimentalGetPropsForEditableTreeChangeHandler(r,{richTextIdentifier:i,blockClientId:a});return Object(c.mapKeys)(o,function(t,r){return"format_".concat(e,"_dispatch_").concat(r)})})),Object(ee.compose)(u)(n)}),t}window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,i=e.activeFormats,u=a.slice();if(r===n){var l=Object(c.find)(u[r],{type:t});if(!l)return Object(o.a)({},e,{activeFormats:Object(c.reject)(i,{type:t})});for(;Object(c.find)(u[r],l);)ae(u,r,t),r--;for(n++;Object(c.find)(u[n],l);)ae(u,n,t),n++}else for(var s=r;s2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,i=e.replacements,o=e.text;"string"==typeof t&&(t=A({text:t}));var c=r+t.text.length;return b({formats:a.slice(0,r).concat(t.formats,a.slice(n)),replacements:i.slice(0,r).concat(t.replacements,i.slice(n)),text:o.slice(0,r)+t.text+o.slice(n),start:c,end:c})}function oe(e,t,r){return ie(e,A(),t,r)}function ce(e,t,r){var n=e.formats,a=e.replacements,i=e.text,o=e.start,c=e.end;return i=i.replace(t,function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),u=1;u1&&void 0!==arguments[1]?arguments[1]:e.start,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,n=H(e).slice(0,t).lastIndexOf(E),a=e.replacements[n],i=[,];return a&&(i=[a]),ie(e,{formats:[,],replacements:i,text:E},t,r)}var se="";function fe(e,t,r,n){return ie(e,{formats:[,],replacements:[t],text:se},r,n)}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,n=e.formats,a=e.replacements,i=e.text;return void 0===t||void 0===r?Object(o.a)({},e):{formats:n.slice(t,r),replacements:a.slice(t,r),text:i.slice(t,r)}}function pe(e,t){var r=e.formats,n=e.replacements,a=e.text,i=e.start,o=e.end;if("string"!=typeof t)return function(e){var t=e.formats,r=e.replacements,n=e.text,a=e.start,i=e.end,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u={formats:t.slice(0,o),replacements:r.slice(0,o),text:n.slice(0,o)},l={formats:t.slice(c),replacements:r.slice(c),text:n.slice(c),start:0,end:0};return[ce(u,/\u2028+$/,""),ce(l,/^\u2028+/,"")]}.apply(void 0,arguments);var c=0;return a.split(t).map(function(e){var a=c,u={formats:r.slice(a,a+e.length),replacements:n.slice(a,a+e.length),text:e};return c+=t.length+e.length,void 0!==i&&void 0!==o&&(i>=a&&ia&&(u.start=0),o>=a&&oc&&(u.end=e.length)),u})}function me(e){var t=e.type,r=e.attributes,n=e.unregisteredAttributes,a=e.object,c=e.boundaryClass,u=function(e){return Object(i.select)("core/rich-text").getFormatType(e)}(t),l={};if(c&&(l["data-rich-text-format-boundary"]="true"),!u)return r&&(l=Object(o.a)({},r,l)),{type:t,attributes:l,object:a};for(var s in l=Object(o.a)({},n,l),r){var f=!!u.attributes&&u.attributes[s];f?l[f]=r[s]:l[s]=r[s]}return u.className&&(l.class?l.class="".concat(u.className," ").concat(l.class):l.class=u.className),{type:u.tagName,object:u.object,attributes:l}}var ve={type:"br",attributes:{"data-rich-text-padding":"true"},object:!0};function ge(e){var t,r,n,a=e.value,i=e.multilineTag,c=e.createEmpty,u=e.append,l=e.getLastChild,s=e.getParent,f=e.isText,d=e.getText,p=e.remove,m=e.appendText,v=e.onStartIndex,h=e.onEndIndex,b=e.isEditableTree,y=a.formats,x=a.replacements,T=a.text,O=a.start,j=a.end,_=y.length+1,F=c(),C={type:i},N=V(a),A=N[N.length-1];i?(u(u(F,{type:i}),""),r=t=[C]):u(F,"");for(var S=function(e){var a=T.charAt(e),c=b&&(!n||n===E||"\n"===n),_=y[e];i&&(_=a===E?t=(x[e]||[]).reduce(function(e,t){return e.push(t,C),e},[C]):[].concat(Object(g.a)(t),Object(g.a)(_||[])));var N=l(F);if(c&&a===E){for(var S=N;!f(S);)S=l(S);u(s(S),ve),u(s(S),"")}if(n===E){for(var P=N;!f(P);)P=l(P);v&&O===e&&v(F,P),h&&j===e&&h(F,P)}if(_&&_.forEach(function(e,t){if(!N||!r||e!==r[t]||a===E&&_.length-1===t){var n=e.type,i=e.attributes,o=e.unregisteredAttributes,c=b&&a!==E&&e===A,m=s(N),v=u(m,me({type:n,attributes:i,unregisteredAttributes:o,boundaryClass:c}));f(N)&&0===d(N).length&&p(N),N=u(v,"")}else N=l(N)}),a===E)return r=_,n=a,"continue";0===e&&(v&&0===O&&v(F,N),h&&0===j&&h(F,N)),a===w?(N=u(s(N),me(Object(o.a)({},x[e],{object:!0}))),N=u(s(N),"")):"\n"===a?(N=u(s(N),{type:"br",attributes:b?{"data-rich-text-line-break":"true"}:void 0,object:!0}),N=u(s(N),"")):f(N)?m(N,a):N=u(s(N),a),v&&O===e+1&&v(F,N),h&&j===e+1&&h(F,N),c&&e===T.length&&u(s(N),ve),r=_,n=a},P=0;P<_;P++)S(P);return F}var he=window.Node.TEXT_NODE;function be(e,t,r){for(var n=e.parentNode,a=0;e=e.previousSibling;)a++;return r=[a].concat(Object(g.a)(r)),n!==t&&(r=be(n,t,r)),r}function ye(e,t){for(t=Object(g.a)(t);e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var xe=function(){return j(document,"")};function Te(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var r=t,n=r.type,a=r.attributes;if(n)for(var i in t=e.ownerDocument.createElement(n),a)t.setAttribute(i,a[i]);return e.appendChild(t)}function Oe(e,t){e.appendData(t)}function je(e){return e.lastChild}function Ee(e){return e.parentNode}function we(e){return e.nodeType===he}function _e(e){return e.nodeValue}function Fe(e){return e.parentNode.removeChild(e)}function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.reduce(function(e,r){return r(e,t.text)},t.formats)}function Ne(e){var t=e.value,r=e.multilineTag,n=e.prepareEditableTree,a=e.isEditableTree,i=void 0===a||a,c=[],u=[];return{body:ge({value:Object(o.a)({},t,{formats:Ce(n,t)}),multilineTag:r,createEmpty:xe,append:Te,getLastChild:je,getParent:Ee,isText:we,getText:_e,remove:Fe,appendText:Oe,onStartIndex:function(e,t){c=be(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){u=be(t,e,[t.nodeValue.length])},isEditableTree:i}),selection:{startPath:c,endPath:u}}}function Ae(e){var t=e.value,r=e.current,n=e.multilineTag,a=e.prepareEditableTree,i=e.__unstableDomOnly,o=Ne({value:t,multilineTag:n,prepareEditableTree:a}),c=o.body,u=o.selection;!function e(t,r){var n=0;var a;for(;a=t.firstChild;){var i=r.childNodes[n];if(i)if(i.isEqualNode(a))t.removeChild(a);else if(i.nodeName!==a.nodeName||i.nodeType===he&&i.data!==a.data)r.replaceChild(a,i);else{var o=i.attributes,c=a.attributes;if(o)for(var u=0;u0){if(p=d,m=s.getRangeAt(0),p.startContainer===m.startContainer&&p.startOffset===m.startOffset&&p.endContainer===m.endContainer&&p.endOffset===m.endOffset)return void(f.activeElement!==t&&t.focus());s.removeAllRanges()}var p,m;s.addRange(d)}(u,r)}var Se=r(69);function Pe(e){return ze(ge({value:e.value,multilineTag:e.multilineTag,createEmpty:De,append:ke,getLastChild:Ie,getParent:Le,isText:Ve,getText:Re,remove:We,appendText:Me}).children)}function De(){return{}}function Ie(e){var t=e.children;return t&&t[t.length-1]}function ke(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Me(e,t){e.text+=t}function Le(e){return e.parent}function Ve(e){return"string"==typeof e.text}function Re(e){return e.text}function We(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function ze(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(e){return void 0===e.text?function(e){var t=e.type,r=e.attributes,n=e.object,a=e.children,i="";for(var o in r)Object(Se.isValidAttributeName)(o)&&(i+=" ".concat(o,'="').concat(Object(Se.escapeAttribute)(r[o]),'"'));return n?"<".concat(t).concat(i,">"):"<".concat(t).concat(i,">").concat(ze(a),"")}(e):Object(Se.escapeHTML)(e.text)}).join("")}function Be(e,t){return R(e,t.type)?ne(e,t.type):y(e,t)}function He(e){var t=Object(i.select)("core/rich-text").getFormatType(e);if(t)return t.__experimentalCreatePrepareEditableTree&&t.__experimentalGetPropsForEditableTreePreparation&&Object(Q.removeFilter)("experimentalRichText",e),Object(i.dispatch)("core/rich-text").removeFormatTypes(e),t;window.console.error("Format ".concat(e," is not registered."))}function Ge(e){for(var t=e.start,r=e.text,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;n--;)if(r[n]===E)return n}function Ye(e,t){var r=Ge(e);if(void 0===r)return e;var n=e.text,a=e.replacements,i=e.end,c=Ge(e,r),u=a[r]||[],l=a[c]||[];if(u.length>l.length)return e;for(var s=a.slice(),f=function(e,t){for(var r=e.text,n=e.replacements,a=n[t]||[],i=t;i-- >=0;)if(r[i]===E){var o=n[i]||[];if(o.length===a.length+1)return i;if(o.length<=a.length)return}}(e,r),d=r;d=0;){if(r[i]===E)if((n[i]||[]).length===a.length-1)return i}}function Ue(e){var t=e.text,r=e.replacements,n=e.start,a=e.end,i=Ge(e,n);if(void 0===r[i])return e;for(var c=r.slice(0),u=r[qe(e,i)]||[],l=function(e,t){for(var r=e.text,n=e.replacements,a=n[t]||[],i=t,o=t||0;o=a.length))return i;i=o}return i}(e,Ge(e,a)),s=i;s<=l;s++)if(t[s]===E){var f=c[s]||[];c[s]=u.concat(f.slice(u.length+1)),0===c[s].length&&delete c[s]}return Object(o.a)({},e,{replacements:c})}function $e(e,t){for(var r,n=e.text,a=e.replacements,i=e.start,c=e.end,u=Ge(e,i),l=a[u]||[],s=a[Ge(e,c)]||[],f=qe(e,u),d=a.slice(),p=l.length-1,m=s.length-1,v=f+1||0;vm?e:t}))}return r?Object(o.a)({},e,{replacements:d}):e}function Xe(e){var t=e.value,r=e.start,n=e.end,a=e.formats,i=t.formats[r-1]||[],o=t.formats[n]||[];for(t.activeFormats=a.map(function(e,t){if(i[t]){if(h(e,i[t]))return i[t]}else if(o[t]&&h(e,o[t]))return o[t];return e});--n>=r;)t.activeFormats.length>0?t.formats[n]=t.activeFormats:delete t.formats[n];return t}r.d(t,"applyFormat",function(){return y}),r.d(t,"charAt",function(){return T}),r.d(t,"concat",function(){return L}),r.d(t,"create",function(){return A}),r.d(t,"getActiveFormat",function(){return R}),r.d(t,"getActiveObject",function(){return W}),r.d(t,"getSelectionEnd",function(){return z}),r.d(t,"getSelectionStart",function(){return B}),r.d(t,"getTextContent",function(){return H}),r.d(t,"isCollapsed",function(){return G}),r.d(t,"isEmpty",function(){return Y}),r.d(t,"isEmptyLine",function(){return q}),r.d(t,"join",function(){return U}),r.d(t,"registerFormatType",function(){return re}),r.d(t,"removeFormat",function(){return ne}),r.d(t,"remove",function(){return oe}),r.d(t,"replace",function(){return ce}),r.d(t,"insert",function(){return ie}),r.d(t,"insertLineBreak",function(){return ue}),r.d(t,"insertLineSeparator",function(){return le}),r.d(t,"insertObject",function(){return fe}),r.d(t,"slice",function(){return de}),r.d(t,"split",function(){return pe}),r.d(t,"apply",function(){return Ae}),r.d(t,"unstableToDom",function(){return Ne}),r.d(t,"toHTMLString",function(){return Pe}),r.d(t,"toggleFormat",function(){return Be}),r.d(t,"LINE_SEPARATOR",function(){return E}),r.d(t,"unregisterFormatType",function(){return He}),r.d(t,"indentListItems",function(){return Ye}),r.d(t,"outdentListItems",function(){return Ue}),r.d(t,"changeListType",function(){return $e}),r.d(t,"__unstableUpdateFormats",function(){return Xe}),r.d(t,"__unstableGetActiveFormats",function(){return V})},41:function(e,t,r){e.exports=function(e,t){var r,n,a,i=0;function o(){var t,o,c=n,u=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return Object(o.a)({},e,Object(c.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(c.omit)(e,t.names)}return e}}),l=r(30),s=Object(l.a)(function(e){return Object.values(e.formatTypes)},function(e){return[e.formatTypes]});function f(e,t){return e.formatTypes[t]}function d(e,t){return Object(c.find)(s(e),function(e){var r=e.tagName;return t===r})}function p(e,t){return Object(c.find)(s(e),function(e){var r=e.className;return null!==r&&" ".concat(t," ").indexOf(" ".concat(r," "))>=0})}function m(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(c.castArray)(e)}}function v(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(c.castArray)(e)}}Object(i.registerStore)("core/rich-text",{reducer:u,selectors:n,actions:a});var g=r(17);function h(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var r=e.attributes,n=t.attributes;if(r===n)return!0;if(!r||!n)return!1;var a=Object.keys(r),i=Object.keys(n);if(a.length!==i.length)return!1;for(var o=a.length,c=0;c2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,i=e.activeFormats,u=void 0===i?[]:i,l=a.slice();if(r===n){var s=Object(c.find)(l[r],{type:t.type});if(!s)return Object(o.a)({},e,{activeFormats:[].concat(Object(g.a)(u),[t])});for(;Object(c.find)(l[r],s);)x(l,r,t),r--;for(n++;Object(c.find)(l[n],s);)x(l,n,t),n++}else for(var f=r;f0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,r=e.text,n=e.html,a=e.range,i=e.multilineTag,o=e.multilineWrapperTags,c=e.__unstableIsEditableTree;return"string"==typeof r&&r.length>0?{formats:Array(r.length),replacements:Array(r.length),text:r}:("string"==typeof n&&n.length>0&&(t=j(document,n)),"object"!==Object(O.a)(t)?{formats:[],replacements:[],text:""}:i?I({element:t,range:a,multilineTag:i,multilineWrapperTags:o,isEditableTree:c}):D({element:t,range:a,isEditableTree:c}))}function S(e,t,r,n){if(r){var a=t.parentNode,i=r.startContainer,o=r.startOffset,c=r.endContainer,u=r.endOffset,l=e.text.length;void 0!==n.start?e.start=l+n.start:t===i&&t.nodeType===F?e.start=l+o:a===i&&t===i.childNodes[o]?e.start=l:a===i&&t===i.childNodes[o-1]?e.start=l+n.text.length:t===i&&(e.start=l),void 0!==n.end?e.end=l+n.end:t===c&&t.nodeType===F?e.end=l+u:a===c&&t===c.childNodes[u-1]?e.end=l+n.text.length:a===c&&t===c.childNodes[u]?e.end=l:t===c&&(e.end=l+u)}}function P(e){return e.replace(/[\n\r\t]+/g," ")}function D(e){var t=e.element,r=e.range,n=e.multilineTag,a=e.multilineWrapperTags,c=e.currentWrapperTags,u=void 0===c?[]:c,l=e.isEditableTree,s={formats:[],replacements:[],text:""};if(!t)return s;if(!t.hasChildNodes())return S(s,t,r,{formats:[],replacements:[],text:""}),s;for(var f=t.childNodes.length,d=function(e){var c=t.childNodes[e],f=c.nodeName.toLowerCase();if(c.nodeType===F){var d=P(c.nodeValue);return r=function(e,t,r){if(t){var n=t.startContainer,a=t.endContainer,i=t.startOffset,o=t.endOffset;return e===n&&(i=r(e.nodeValue.slice(0,i)).length),e===a&&(o=r(e.nodeValue.slice(0,o)).length),{startContainer:n,startOffset:i,endContainer:a,endOffset:o}}}(c,r,P),S(s,c,r,{text:d}),s.formats.length+=d.length,s.replacements.length+=d.length,s.text+=d,"continue"}if(c.nodeType!==C)return"continue";if(c.getAttribute("data-rich-text-padding")||l&&"br"===f&&!c.getAttribute("data-rich-text-line-break"))return S(s,c,r,{formats:[],replacements:[],text:""}),"continue";if("br"===f)return S(s,c,r,{formats:[],replacements:[],text:""}),M(s,A({text:"\n"})),"continue";var p=s.formats[s.formats.length-1],m=p&&p[p.length-1],v=function(e){var t,r=e.type,n=e.attributes;if(n&&n.class&&(t=Object(i.select)("core/rich-text").getFormatTypeForClassName(n.class))&&(n.class=" ".concat(n.class," ").replace(" ".concat(t.className," ")," ").trim(),n.class||delete n.class),t||(t=Object(i.select)("core/rich-text").getFormatTypeForBareElement(r)),!t)return n?{type:r,attributes:n}:{type:r};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!n)return{type:t.name};var a={},o={};for(var c in n){var u=N(t.attributes,c);u?a[u]=n[c]:o[c]=n[c]}return{type:t.name,attributes:a,unregisteredAttributes:o}}({type:f,attributes:k({element:c})}),b=h(v,m)?m:v;if(a&&-1!==a.indexOf(f)){var y=I({element:c,range:r,multilineTag:n,multilineWrapperTags:a,currentWrapperTags:[].concat(Object(g.a)(u),[b]),isEditableTree:l});return S(s,c,r,y),M(s,y),"continue"}var x=D({element:c,range:r,multilineTag:n,multilineWrapperTags:a,isEditableTree:l});S(s,c,r,x),b?0===x.text.length?b.attributes&&M(s,{formats:[,],replacements:[b],text:w}):M(s,Object(o.a)({},x,{formats:Array.from(x.formats,function(e){return e?[b].concat(Object(g.a)(e)):[b]})})):M(s,x)},p=0;p0)&&M(u,{formats:[,],replacements:o.length>0?[o]:[,],text:E}),S(u,f,r,d),M(u,d)}}return u}function k(e){var t=e.element;if(t.hasAttributes()){for(var r,n=t.attributes.length,a=0;a1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=A({text:t})),b(e.reduce(function(e,r){var n=r.formats,a=r.replacements,i=r.text;return{formats:e.formats.concat(t.formats,n),replacements:e.replacements.concat(t.replacements,a),text:e.text+t.text+i}}))}var $=r(15),X=r(19),Z=r(0),K=r(41),J=r.n(K),Q=r(26),ee=r(6),te=[];function re(e,t){if("string"==typeof(t=Object(o.a)({name:e},t)).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if(Object(i.select)("core/rich-text").getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9-]*$/.test(t.className)){if(null===t.className){var r=Object(i.select)("core/rich-text").getFormatTypeForBareElement(t.tagName);if(r)return void window.console.error('Format "'.concat(r.name,'" is already registered to handle bare tag name "').concat(t.tagName,'".'))}else{var n=Object(i.select)("core/rich-text").getFormatTypeForClassName(t.className);if(n)return void window.console.error('Format "'.concat(n.name,'" is already registered to handle class name "').concat(t.className,'".'))}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title){Object(i.dispatch)("core/rich-text").addFormatTypes(t);var a=J()(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te,t=arguments.length>1?arguments[1]:void 0;return[].concat(Object(g.a)(e),[t])});return t.__experimentalCreatePrepareEditableTree&&Object(Q.addFilter)("experimentalRichText",e,function(r){var n=r;(t.__experimentalCreatePrepareEditableTree||t.__experimentalCreateFormatToValue||t.__experimentalCreateValueToFormat)&&(n=function(n){var i={};if(t.__experimentalCreatePrepareEditableTree&&(i.prepareEditableTree=a(n.prepareEditableTree,t.__experimentalCreatePrepareEditableTree(n["format_".concat(e)],{richTextIdentifier:n.identifier,blockClientId:n.clientId}))),t.__experimentalCreateOnChangeEditableValue){var c=Object.keys(n).reduce(function(t,r){var a=n[r],i="format_".concat(e,"_dispatch_");r.startsWith(i)&&(t[r.replace(i,"")]=a);return t},{});i.onChangeEditableValue=a(n.onChangeEditableValue,t.__experimentalCreateOnChangeEditableValue(Object(o.a)({},n["format_".concat(e)],c),{richTextIdentifier:n.identifier,blockClientId:n.clientId}))}return Object(Z.createElement)(r,Object(X.a)({},n,i))});var u=[];return t.__experimentalGetPropsForEditableTreePreparation&&u.push(Object(i.withSelect)(function(r,n){var a=n.clientId,i=n.identifier;return Object($.a)({},"format_".concat(e),t.__experimentalGetPropsForEditableTreePreparation(r,{richTextIdentifier:i,blockClientId:a}))})),t.__experimentalGetPropsForEditableTreeChangeHandler&&u.push(Object(i.withDispatch)(function(r,n){var a=n.clientId,i=n.identifier,o=t.__experimentalGetPropsForEditableTreeChangeHandler(r,{richTextIdentifier:i,blockClientId:a});return Object(c.mapKeys)(o,function(t,r){return"format_".concat(e,"_dispatch_").concat(r)})})),Object(ee.compose)(u)(n)}),t}window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,i=e.activeFormats,u=a.slice();if(r===n){var l=Object(c.find)(u[r],{type:t});if(!l)return Object(o.a)({},e,{activeFormats:Object(c.reject)(i,{type:t})});for(;Object(c.find)(u[r],l);)ae(u,r,t),r--;for(n++;Object(c.find)(u[n],l);)ae(u,n,t),n++}else for(var s=r;s2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,i=e.replacements,o=e.text;"string"==typeof t&&(t=A({text:t}));var c=r+t.text.length;return b({formats:a.slice(0,r).concat(t.formats,a.slice(n)),replacements:i.slice(0,r).concat(t.replacements,i.slice(n)),text:o.slice(0,r)+t.text+o.slice(n),start:c,end:c})}function oe(e,t,r){return ie(e,A(),t,r)}function ce(e,t,r){var n=e.formats,a=e.replacements,i=e.text,o=e.start,c=e.end;return i=i.replace(t,function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),u=1;u1&&void 0!==arguments[1]?arguments[1]:e.start,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,n=H(e).slice(0,t).lastIndexOf(E),a=e.replacements[n],i=[,];return a&&(i=[a]),ie(e,{formats:[,],replacements:i,text:E},t,r)}var se="";function fe(e,t,r,n){return ie(e,{formats:[,],replacements:[t],text:se},r,n)}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,n=e.formats,a=e.replacements,i=e.text;return void 0===t||void 0===r?Object(o.a)({},e):{formats:n.slice(t,r),replacements:a.slice(t,r),text:i.slice(t,r)}}function pe(e,t){var r=e.formats,n=e.replacements,a=e.text,i=e.start,o=e.end;if("string"!=typeof t)return function(e){var t=e.formats,r=e.replacements,n=e.text,a=e.start,i=e.end,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u={formats:t.slice(0,o),replacements:r.slice(0,o),text:n.slice(0,o)},l={formats:t.slice(c),replacements:r.slice(c),text:n.slice(c),start:0,end:0};return[ce(u,/\u2028+$/,""),ce(l,/^\u2028+/,"")]}.apply(void 0,arguments);var c=0;return a.split(t).map(function(e){var a=c,u={formats:r.slice(a,a+e.length),replacements:n.slice(a,a+e.length),text:e};return c+=t.length+e.length,void 0!==i&&void 0!==o&&(i>=a&&ia&&(u.start=0),o>=a&&oc&&(u.end=e.length)),u})}function me(e){var t=e.type,r=e.attributes,n=e.unregisteredAttributes,a=e.object,c=e.boundaryClass,u=function(e){return Object(i.select)("core/rich-text").getFormatType(e)}(t),l={};if(c&&(l["data-rich-text-format-boundary"]="true"),!u)return r&&(l=Object(o.a)({},r,l)),{type:t,attributes:l,object:a};for(var s in l=Object(o.a)({},n,l),r){var f=!!u.attributes&&u.attributes[s];f?l[f]=r[s]:l[s]=r[s]}return u.className&&(l.class?l.class="".concat(u.className," ").concat(l.class):l.class=u.className),{type:u.tagName,object:u.object,attributes:l}}var ve={type:"br",attributes:{"data-rich-text-padding":"true"},object:!0};function ge(e){var t,r,n,a=e.value,i=e.multilineTag,c=e.createEmpty,u=e.append,l=e.getLastChild,s=e.getParent,f=e.isText,d=e.getText,p=e.remove,m=e.appendText,v=e.onStartIndex,h=e.onEndIndex,b=e.isEditableTree,y=a.formats,x=a.replacements,T=a.text,O=a.start,j=a.end,_=y.length+1,F=c(),C={type:i},N=V(a),A=N[N.length-1];i?(u(u(F,{type:i}),""),r=t=[C]):u(F,"");for(var S=function(e){var a=T.charAt(e),c=b&&(!n||n===E||"\n"===n),_=y[e];i&&(_=a===E?t=(x[e]||[]).reduce(function(e,t){return e.push(t,C),e},[C]):[].concat(Object(g.a)(t),Object(g.a)(_||[])));var N=l(F);if(c&&a===E){for(var S=N;!f(S);)S=l(S);u(s(S),ve),u(s(S),"")}if(n===E){for(var P=N;!f(P);)P=l(P);v&&O===e&&v(F,P),h&&j===e&&h(F,P)}if(_&&_.forEach(function(e,t){if(!N||!r||e!==r[t]||a===E&&_.length-1===t){var n=e.type,i=e.attributes,o=e.unregisteredAttributes,c=b&&a!==E&&e===A,m=s(N),v=u(m,me({type:n,attributes:i,unregisteredAttributes:o,boundaryClass:c}));f(N)&&0===d(N).length&&p(N),N=u(v,"")}else N=l(N)}),a===E)return r=_,n=a,"continue";0===e&&(v&&0===O&&v(F,N),h&&0===j&&h(F,N)),a===w?(N=u(s(N),me(Object(o.a)({},x[e],{object:!0}))),N=u(s(N),"")):"\n"===a?(N=u(s(N),{type:"br",attributes:b?{"data-rich-text-line-break":"true"}:void 0,object:!0}),N=u(s(N),"")):f(N)?m(N,a):N=u(s(N),a),v&&O===e+1&&v(F,N),h&&j===e+1&&h(F,N),c&&e===T.length&&u(s(N),ve),r=_,n=a},P=0;P<_;P++)S(P);return F}var he=window.Node.TEXT_NODE;function be(e,t,r){for(var n=e.parentNode,a=0;e=e.previousSibling;)a++;return r=[a].concat(Object(g.a)(r)),n!==t&&(r=be(n,t,r)),r}function ye(e,t){for(t=Object(g.a)(t);e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var xe=function(){return j(document,"")};function Te(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var r=t,n=r.type,a=r.attributes;if(n)for(var i in t=e.ownerDocument.createElement(n),a)t.setAttribute(i,a[i]);return e.appendChild(t)}function Oe(e,t){e.appendData(t)}function je(e){return e.lastChild}function Ee(e){return e.parentNode}function we(e){return e.nodeType===he}function _e(e){return e.nodeValue}function Fe(e){return e.parentNode.removeChild(e)}function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.reduce(function(e,r){return r(e,t.text)},t.formats)}function Ne(e){var t=e.value,r=e.multilineTag,n=e.prepareEditableTree,a=e.isEditableTree,i=void 0===a||a,c=[],u=[];return{body:ge({value:Object(o.a)({},t,{formats:Ce(n,t)}),multilineTag:r,createEmpty:xe,append:Te,getLastChild:je,getParent:Ee,isText:we,getText:_e,remove:Fe,appendText:Oe,onStartIndex:function(e,t){c=be(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){u=be(t,e,[t.nodeValue.length])},isEditableTree:i}),selection:{startPath:c,endPath:u}}}function Ae(e){var t=e.value,r=e.current,n=e.multilineTag,a=e.prepareEditableTree,i=e.__unstableDomOnly,o=Ne({value:t,multilineTag:n,prepareEditableTree:a}),c=o.body,u=o.selection;!function e(t,r){var n=0;var a;for(;a=t.firstChild;){var i=r.childNodes[n];if(i)if(i.isEqualNode(a))t.removeChild(a);else if(i.nodeName!==a.nodeName||i.nodeType===he&&i.data!==a.data)r.replaceChild(a,i);else{var o=i.attributes,c=a.attributes;if(o)for(var u=0;u0){if(p=d,m=s.getRangeAt(0),p.startContainer===m.startContainer&&p.startOffset===m.startOffset&&p.endContainer===m.endContainer&&p.endOffset===m.endOffset)return void(f.activeElement!==t&&t.focus());s.removeAllRanges()}var p,m;s.addRange(d)}(u,r)}var Se=r(69);function Pe(e){return ze(ge({value:e.value,multilineTag:e.multilineTag,createEmpty:De,append:ke,getLastChild:Ie,getParent:Le,isText:Ve,getText:Re,remove:We,appendText:Me}).children)}function De(){return{}}function Ie(e){var t=e.children;return t&&t[t.length-1]}function ke(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Me(e,t){e.text+=t}function Le(e){return e.parent}function Ve(e){return"string"==typeof e.text}function Re(e){return e.text}function We(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function ze(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(e){return void 0===e.text?function(e){var t=e.type,r=e.attributes,n=e.object,a=e.children,i="";for(var o in r)Object(Se.isValidAttributeName)(o)&&(i+=" ".concat(o,'="').concat(Object(Se.escapeAttribute)(r[o]),'"'));return n?"<".concat(t).concat(i,">"):"<".concat(t).concat(i,">").concat(ze(a),"")}(e):Object(Se.escapeHTML)(e.text)}).join("")}function Be(e,t){return R(e,t.type)?ne(e,t.type):y(e,t)}function He(e){var t=Object(i.select)("core/rich-text").getFormatType(e);if(t)return t.__experimentalCreatePrepareEditableTree&&t.__experimentalGetPropsForEditableTreePreparation&&Object(Q.removeFilter)("experimentalRichText",e),Object(i.dispatch)("core/rich-text").removeFormatTypes(e),t;window.console.error("Format ".concat(e," is not registered."))}function Ge(e){for(var t=e.start,r=e.text,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;n--;)if(r[n]===E)return n}function Ye(e,t){var r=Ge(e);if(void 0===r)return e;var n=e.text,a=e.replacements,i=e.end,c=Ge(e,r),u=a[r]||[],l=a[c]||[];if(u.length>l.length)return e;for(var s=a.slice(),f=function(e,t){for(var r=e.text,n=e.replacements,a=n[t]||[],i=t;i-- >=0;)if(r[i]===E){var o=n[i]||[];if(o.length===a.length+1)return i;if(o.length<=a.length)return}}(e,r),d=r;d=0;){if(r[i]===E)if((n[i]||[]).length===a.length-1)return i}}function Ue(e){var t=e.text,r=e.replacements,n=e.start,a=e.end,i=Ge(e,n);if(void 0===r[i])return e;for(var c=r.slice(0),u=r[qe(e,i)]||[],l=function(e,t){for(var r=e.text,n=e.replacements,a=n[t]||[],i=t,o=t||0;o=a.length))return i;i=o}return i}(e,Ge(e,a)),s=i;s<=l;s++)if(t[s]===E){var f=c[s]||[];c[s]=u.concat(f.slice(u.length+1)),0===c[s].length&&delete c[s]}return Object(o.a)({},e,{replacements:c})}function $e(e,t){for(var r,n=e.text,a=e.replacements,i=e.start,c=e.end,u=Ge(e,i),l=a[u]||[],s=a[Ge(e,c)]||[],f=qe(e,u),d=a.slice(),p=l.length-1,m=s.length-1,v=f+1||0;vm?e:t}))}return r?Object(o.a)({},e,{replacements:d}):e}function Xe(e){var t=e.value,r=e.start,n=e.end,a=e.formats,i=t.formats[r-1]||[],o=t.formats[n]||[];for(t.activeFormats=a.map(function(e,t){if(i[t]){if(h(e,i[t]))return i[t]}else if(o[t]&&h(e,o[t]))return o[t];return e});--n>=r;)t.activeFormats.length>0?t.formats[n]=t.activeFormats:delete t.formats[n];return t}r.d(t,"applyFormat",function(){return y}),r.d(t,"charAt",function(){return T}),r.d(t,"concat",function(){return L}),r.d(t,"create",function(){return A}),r.d(t,"getActiveFormat",function(){return R}),r.d(t,"getActiveObject",function(){return W}),r.d(t,"getSelectionEnd",function(){return z}),r.d(t,"getSelectionStart",function(){return B}),r.d(t,"getTextContent",function(){return H}),r.d(t,"isCollapsed",function(){return G}),r.d(t,"isEmpty",function(){return Y}),r.d(t,"isEmptyLine",function(){return q}),r.d(t,"join",function(){return U}),r.d(t,"registerFormatType",function(){return re}),r.d(t,"removeFormat",function(){return ne}),r.d(t,"remove",function(){return oe}),r.d(t,"replace",function(){return ce}),r.d(t,"insert",function(){return ie}),r.d(t,"insertLineBreak",function(){return ue}),r.d(t,"insertLineSeparator",function(){return le}),r.d(t,"insertObject",function(){return fe}),r.d(t,"slice",function(){return de}),r.d(t,"split",function(){return pe}),r.d(t,"apply",function(){return Ae}),r.d(t,"unstableToDom",function(){return Ne}),r.d(t,"toHTMLString",function(){return Pe}),r.d(t,"toggleFormat",function(){return Be}),r.d(t,"LINE_SEPARATOR",function(){return E}),r.d(t,"unregisterFormatType",function(){return He}),r.d(t,"indentListItems",function(){return Ye}),r.d(t,"outdentListItems",function(){return Ue}),r.d(t,"changeListType",function(){return $e}),r.d(t,"__unstableUpdateFormats",function(){return Xe}),r.d(t,"__unstableGetActiveFormats",function(){return V})},41:function(e,t,r){e.exports=function(e,t){var r,n,a,i=0;function o(){var t,o,c=n,u=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(o=0;o '3.1.2', 'autop' => '2.0.0', 'blob' => '2.3.0', - 'block-editor' => '1.1.2', - 'block-library' => '2.4.2', + 'block-editor' => '2.0.1', + 'block-library' => '2.4.4', 'block-serialization-default-parser' => '3.1.0', - 'blocks' => '6.2.2', - 'components' => '7.2.2', + 'blocks' => '6.2.4', + 'components' => '7.3.1', 'compose' => '3.2.0', 'core-data' => '2.2.2', 'data' => '4.4.0', 'date' => '3.2.0', 'deprecated' => '2.2.0', - 'dom' => '2.2.2', + 'dom' => '2.2.4', 'dom-ready' => '2.2.0', - 'edit-post' => '3.3.2', - 'editor' => '9.2.2', + 'edit-post' => '3.3.4', + 'editor' => '9.2.4', 'element' => '2.3.0', 'escape-html' => '1.2.0', - 'format-library' => '1.4.2', + 'format-library' => '1.4.4', 'hooks' => '2.2.0', 'html-entities' => '2.2.0', 'i18n' => '3.3.0', 'is-shallow-equal' => '1.2.0', 'keycodes' => '2.2.0', - 'list-reusable-blocks' => '1.3.2', + 'list-reusable-blocks' => '1.3.4', 'notices' => '1.3.0', - 'nux' => '3.2.2', + 'nux' => '3.2.4', 'plugins' => '2.2.0', 'priority-queue' => '1.1.0', 'redux-routine' => '3.2.0', diff --git a/wp-includes/version.php b/wp-includes/version.php index 648a8d71f6..cdc828cb26 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta3-45254'; +$wp_version = '5.2-beta3-45255'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.