From 42479b23ac1040059a448626ce1c6d9f222d0a2f Mon Sep 17 00:00:00 2001 From: Nikita Date: Wed, 18 Dec 2024 23:28:13 +0300 Subject: [PATCH] Fixed rendering performance in editor (#222) * fixed slow rendering issue when first page load and when duplicate blocks without any extensions on blocks * fixed counters animation callback * Update frontend.js * revert back animation for Accordion and improved animation to properly run without blinks * fixed InputGroup component styles * build --- .../blocks/accordion/frontend.asset.php | 2 +- build/gutenberg/blocks/accordion/frontend.js | 2 +- build/gutenberg/editor-rtl.css | 2 +- build/gutenberg/editor.css | 2 +- .../extend/effects/frontend.asset.php | 2 +- build/gutenberg/extend/effects/frontend.js | 2 +- build/gutenberg/index.asset.php | 2 +- build/gutenberg/index.js | 2 +- gutenberg/blocks/accordion/frontend.js | 58 ++++++++++++++----- gutenberg/components/input-group/editor.scss | 6 +- gutenberg/extend/effects/frontend.js | 14 ++--- gutenberg/extend/styles/index.js | 9 ++- languages/ghostkit.pot | 2 +- 13 files changed, 65 insertions(+), 40 deletions(-) diff --git a/build/gutenberg/blocks/accordion/frontend.asset.php b/build/gutenberg/blocks/accordion/frontend.asset.php index 83e75347..ccf40aea 100644 --- a/build/gutenberg/blocks/accordion/frontend.asset.php +++ b/build/gutenberg/blocks/accordion/frontend.asset.php @@ -1 +1 @@ - array(), 'version' => '07f8b5d1e865ee742849'); + array(), 'version' => '61ceb041748865c11d7d'); diff --git a/build/gutenberg/blocks/accordion/frontend.js b/build/gutenberg/blocks/accordion/frontend.js index 472e65ac..26ab3124 100644 --- a/build/gutenberg/blocks/accordion/frontend.js +++ b/build/gutenberg/blocks/accordion/frontend.js @@ -1 +1 @@ -(()=>{"use strict";const t={};function o(e){if(t[e])return t[e];let i={};if(Array.isArray(e)&&(i=[]),"object"==typeof e)return Object.keys(e).forEach((t=>{i[o(t)]=o(e[t])})),i;if(i=e,"string"==typeof i)try{i=decodeURIComponent(i),i=i.replace(/_u002d__u002d_/gm,"--")}catch(t){console.warn(t)}return t[e]=i,i}const{location:e,GHOSTKIT:i,Motion:{animate:n},requestAnimationFrame:c}=window,{events:a}=i;let r=e.hash;function d(t,o=300,e=!1){const i=t.closest(".ghostkit-accordion"),r=t.closest(".ghostkit-accordion-item"),s=r.classList.contains("ghostkit-accordion-item-active"),g=!e&&i.classList.contains("ghostkit-accordion-collapse-one");r?.gktAccordion||(r.gktAccordion={animation:null}),r.gktAccordion.animation&&r.gktAccordion.animation.stop(),c((()=>{var t;s?(a.trigger(i,"hide.accordion.gkt",{relatedTarget:r}),function(t,o,e){const i=t.querySelector(".ghostkit-accordion-item-heading > button"),c=t.querySelector(".ghostkit-accordion-item-content");c.style.display="block",c.style.overflow="hidden";const a=n(c,{height:0,paddingTop:0,paddingBottom:0},{duration:o/1e3,easing:"easeOut"});a.then((()=>{c.style.display="",c.style.overflow="",c.style.height="",c.style.paddingTop="",c.style.paddingBottom="",t.gktAccordion.animation=null,e()})),t.gktAccordion.animation=a,t.classList.remove("ghostkit-accordion-item-active"),i&&i.setAttribute("aria-expanded","false")}(r,o,(()=>{a.trigger(i,"hidden.accordion.gkt",{relatedTarget:r})}))):(a.trigger(i,"show.accordion.gkt",{relatedTarget:r}),function(t,o,e){const i=t.querySelector(".ghostkit-accordion-item-heading > button"),c=t.querySelector(".ghostkit-accordion-item-content");t.classList.add("ghostkit-accordion-item-active"),i&&i.setAttribute("aria-expanded","true");const a=window.getComputedStyle(c),r=a.height,d=a.paddingTop,s=a.paddingBottom;c.style.display="block",c.style.overflow="hidden";const g=n(c,{height:r,paddingTop:d,paddingBottom:s},{duration:o/1e3,easing:"easeOut"});g.then((()=>{c.style.display="",c.style.overflow="",c.style.height="",c.style.paddingTop="",c.style.paddingBottom="",t.gktAccordion.animation=null,e()})),t.gktAccordion.animation=g}(r,o,(()=>{a.trigger(i,"shown.accordion.gkt",{relatedTarget:r})}))),g&&!s&&(t=r,[...t.parentNode.children].filter((o=>o!==t))).forEach((t=>{t.classList.contains("ghostkit-accordion-item-active")&&d(t,o,!0)}))}))}a.on(document,"init.blocks.gkt",(()=>{document.querySelectorAll(".ghostkit-accordion:not(.ghostkit-accordion-ready)").forEach((t=>{if(t.classList.add("ghostkit-accordion-ready"),a.trigger(t,"prepare.accordion.gkt"),r){const e=o(r);let i=t.querySelector(`:scope > [data-accordion="${e.replace("#","")}"]:not(.ghostkit-accordion-item-active) > .ghostkit-accordion-item-heading > button`);i||(i=t.querySelector(`:scope > :not(.ghostkit-accordion-item-active) > .ghostkit-accordion-item-heading > [href="${e}"]`)),i&&d(i,0)}a.trigger(t,"prepared.accordion.gkt")}))})),a.on(document,"click",".ghostkit-accordion-item .ghostkit-accordion-item-heading",(t=>{t.preventDefault(),d(t.delegateTarget,300)})),a.on(window,"hashchange",(()=>{if(window.location.hash===r)return;if(r=window.location.hash,!r)return;const t=o(r);document.querySelectorAll(`.ghostkit-accordion-ready > [data-accordion="${t.replace("#","")}"]:not(.ghostkit-accordion-item-active) > .ghostkit-accordion-item-heading > button,\n\t\t\t.ghostkit-accordion-ready > :not(.ghostkit-accordion-item-active) > .ghostkit-accordion-item-heading > [href="${t}"]`).forEach((t=>{d(t,300)}))}))})(); \ No newline at end of file +(()=>{"use strict";const t={};function o(i){if(t[i])return t[i];let e={};if(Array.isArray(i)&&(e=[]),"object"==typeof i)return Object.keys(i).forEach((t=>{e[o(t)]=o(i[t])})),e;if(e=i,"string"==typeof e)try{e=decodeURIComponent(e),e=e.replace(/_u002d__u002d_/gm,"--")}catch(t){console.warn(t)}return t[i]=e,e}const{location:i,GHOSTKIT:e,Motion:{animate:n},requestAnimationFrame:c}=window,{events:a}=e;let r=i.hash;function d(t){t.style.display="",t.style.overflow="",t.style.height="",t.style.paddingTop="",t.style.paddingBottom=""}function s(t,o=400,i=!1){const e=t.closest(".ghostkit-accordion"),r=t.closest(".ghostkit-accordion-item"),g=r.classList.contains("ghostkit-accordion-item-active"),l=!i&&e.classList.contains("ghostkit-accordion-collapse-one");r?.gktAccordion||(r.gktAccordion={animation:null}),r.gktAccordion.animation&&r.gktAccordion.animation.stop(),c((()=>{var t;g?(a.trigger(e,"hide.accordion.gkt",{relatedTarget:r}),function(t,o,i){const e=t.querySelector(".ghostkit-accordion-item-heading > button"),c=t.querySelector(".ghostkit-accordion-item-content");c.style.display="block",c.style.overflow="hidden";const a=n(c,{height:0,paddingTop:0,paddingBottom:0},{duration:o/1e3,ease:[.6,0,.3,1]});a.then((()=>{t.gktAccordion.animation?.animations?.[0]?.isStopped||d(c),t.gktAccordion.animation=null,i()})),t.gktAccordion.animation=a,t.classList.remove("ghostkit-accordion-item-active"),e&&e.setAttribute("aria-expanded","false")}(r,o,(()=>{a.trigger(e,"hidden.accordion.gkt",{relatedTarget:r})}))):(a.trigger(e,"show.accordion.gkt",{relatedTarget:r}),function(t,o,i){const e=t.querySelector(".ghostkit-accordion-item-heading > button"),c=t.querySelector(".ghostkit-accordion-item-content");t.classList.add("ghostkit-accordion-item-active"),e&&e.setAttribute("aria-expanded","true");const a={display:(r=c).style.display,overflow:r.style.overflow,height:r.style.height,paddingTop:r.style.paddingTop,paddingBottom:r.style.paddingBottom};var r;d(c);const s=window.getComputedStyle(c),g=s.height,l=s.paddingTop,h=s.paddingBottom;c.style.display="block",c.style.overflow="hidden",c.style.height=a.height||0,c.style.paddingTop=a.paddingTop||0,c.style.paddingBottom=a.paddingBottom||0;const p=n(c,{height:g,paddingTop:l,paddingBottom:h},{duration:o/1e3,ease:[.6,0,.3,1]});p.then((()=>{t.gktAccordion.animation?.animations?.[0]?.isStopped||d(c),t.gktAccordion.animation=null,i()})),t.gktAccordion.animation=p}(r,o,(()=>{a.trigger(e,"shown.accordion.gkt",{relatedTarget:r})}))),l&&!g&&(t=r,[...t.parentNode.children].filter((o=>o!==t))).forEach((t=>{t.classList.contains("ghostkit-accordion-item-active")&&s(t,o,!0)}))}))}a.on(document,"init.blocks.gkt",(()=>{document.querySelectorAll(".ghostkit-accordion:not(.ghostkit-accordion-ready)").forEach((t=>{if(t.classList.add("ghostkit-accordion-ready"),a.trigger(t,"prepare.accordion.gkt"),r){const i=o(r);let e=t.querySelector(`:scope > [data-accordion="${i.replace("#","")}"]:not(.ghostkit-accordion-item-active) > .ghostkit-accordion-item-heading > button`);e||(e=t.querySelector(`:scope > :not(.ghostkit-accordion-item-active) > .ghostkit-accordion-item-heading > [href="${i}"]`)),e&&s(e,0)}a.trigger(t,"prepared.accordion.gkt")}))})),a.on(document,"click",".ghostkit-accordion-item .ghostkit-accordion-item-heading",(t=>{t.preventDefault(),s(t.delegateTarget,400)})),a.on(window,"hashchange",(()=>{if(window.location.hash===r)return;if(r=window.location.hash,!r)return;const t=o(r);document.querySelectorAll(`.ghostkit-accordion-ready > [data-accordion="${t.replace("#","")}"]:not(.ghostkit-accordion-item-active) > .ghostkit-accordion-item-heading > button,\n\t\t\t.ghostkit-accordion-ready > :not(.ghostkit-accordion-item-active) > .ghostkit-accordion-item-heading > [href="${t}"]`).forEach((t=>{s(t,400)}))}))})(); \ No newline at end of file diff --git a/build/gutenberg/editor-rtl.css b/build/gutenberg/editor-rtl.css index 53236d72..a3c78b9f 100644 --- a/build/gutenberg/editor-rtl.css +++ b/build/gutenberg/editor-rtl.css @@ -1 +1 @@ -:root{--gkt-color-brand:#2e1645;--gkt-color-dark-gray:#32373c;--gkt-color-light-gray:#f3f4f5;--gkt-color-light-gray-darken:#d7dbde;--gkt-color-primary:#0366d6;--gkt-color-success:#4ab866;--gkt-color-danger:#d94f4f;--gkt-color-warning:#f0b849;--gkt-color-info:#2ebef5;--gkt-border-radius:5px;--gkt-transition-duration:0.2s;--gkt-transition-easing:ease-in-out}.ghostkit-component-active-indicator{background-color:#007cba;border-radius:7px;height:7px;width:7px}.components-panel__body-toggle .ghostkit-component-active-indicator{position:absolute;right:40px;top:50%;transform:translateY(-50%)}.ghostkit-control-tabs-icon .ghostkit-component-active-indicator{height:3px;left:50%;position:absolute;top:-7px;transform:translateX(-50%);width:3px}.ghostkit-control-responsive-toggle .ghostkit-component-active-indicator{height:5px;left:75%;outline:2px solid #fff;position:absolute;top:0;width:5px}.ghostkit-control-element-state-toggle .ghostkit-component-active-indicator{height:5px;left:12px;outline:2px solid #fff;position:absolute;top:0;width:5px}.is-active>.ghostkit-control-responsive-toggle-icon .ghostkit-component-active-indicator{background-color:#fff;outline:2px solid #000}.ghostkit-component-code-editor.ace_editor{background-color:#f8f9f9;border-radius:3px;box-shadow:0 0 0 1px #e8eaeb;line-height:1.45;width:100%}.ghostkit-component-code-editor.ace_editor .ace_gutter{background-color:#e8eaeb}.ghostkit-component-code-editor .ace_tooltip{background:none;background-color:#fff;border:1px solid #e4e4e4;border-radius:3px;box-shadow:0 2px 10px 0 rgba(0,0,0,.05);padding:6px 10px}.ghostkit-component-code-editor .ace_hidden-cursors{opacity:0}.components-panel__body-toggle>.ghostkit-color-indicator{height:15px;margin-left:8px;width:15px}.components-panel__body-toggle>.ghostkit-color-indicator+.ghostkit-color-indicator{margin-left:2px}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper){margin-bottom:0}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper) .ghostkit-component-color-toggle{border-bottom:none}.ghostkit-component-color-toggle{border:1px solid rgba(0,0,0,.1);border-radius:0;height:auto;margin-bottom:0;padding:10px 12px;position:relative;width:100%}.ghostkit-component-color-toggle.ghostkit-component-color-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-color-toggle .ghostkit-component-color-toggle-indicator{background:linear-gradient(-45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0);border:none;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);color:transparent;cursor:pointer;display:block;height:20px;margin-right:8px;padding:0;position:relative;width:20px}.ghostkit-component-color-toggle .ghostkit-component-color-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-color-picker__dropdown{display:block;width:100%}.ghostkit-component-color-picker__dropdown-content .components-popover__content{padding:16px;width:260px}.ghostkit-component-color-picker__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-components-date-time-picker .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.ghostkit-components-date-time-picker .components-base-control__field .components-base-control__label{margin-bottom:0}.ghostkit-components-date-time-picker-popover .components-datetime{padding:15px}.ghostkit-component-dropdown-picker-toggle{align-items:center;border:1px solid rgba(0,0,0,.15);border-radius:0;display:flex;height:auto;justify-content:space-between;margin-bottom:0;min-height:40px;padding:10px 12px;position:relative;width:100%}.ghostkit-component-dropdown-picker-toggle.ghostkit-component-dropdown-picker-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-dropdown-picker__dropdown{display:block;width:100%}.ghostkit-component-dropdown-picker__dropdown-content .components-popover__content{padding:16px;width:260px}.ghostkit-component-dropdown-picker__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-control-element-state-toggle{align-items:center;display:inline-flex;height:auto;justify-content:center;padding:0;position:relative}.components-base-control__label>.ghostkit-control-element-state-toggle,.components-input-control__label>.ghostkit-control-element-state-toggle{margin-left:8px;vertical-align:bottom}.ghostkit-control-element-state-toggle>svg{display:block;height:auto;width:18px}.ghostkit-control-element-state-toggle>span{font-size:12px;font-weight:500;margin-left:2px}.ghostkit-components-gap-settings-custom{display:flex}.ghostkit-components-gap-settings-custom>.components-base-control{flex:1;margin-bottom:0!important}.ghostkit-components-gap-settings-custom .components-base-control__help{margin-bottom:0!important}.ghostkit-components-gap-settings-custom>.components-base-control:first-child input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-components-gap-settings-custom>.components-base-control:first-child~.components-base-control input{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper){margin-bottom:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper) .ghostkit-component-icon-picker-toggle{border-bottom:none}.ghostkit-component-icon-picker-toggle{border:1px solid rgba(0,0,0,.1);border-radius:0;height:auto;margin-bottom:0;padding:10px 12px;position:relative;width:100%}.ghostkit-component-icon-picker-toggle.ghostkit-component-icon-picker-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator{display:flex;margin-right:8px;min-height:20px;position:relative;width:20px}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator:empty{background-color:#e4e4e4;border-radius:4px}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator svg{height:auto;width:100%;fill:none}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-icon-picker-wrapper .components-dropdown{display:block}.ghostkit-component-icon-picker-button{align-items:center;border-radius:4px;display:flex;font-size:15px;height:34px;justify-content:center;padding:0;text-align:center;width:34px}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview{border:1px solid transparent;cursor:pointer;transition:background-color .15s,border-color .15s}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.hover,.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview:hover{background-color:#f3f4f5;border-color:#f3f4f5}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.hover:hover{background-color:#e2e4e7;border-color:#e2e4e7}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.ghostkit-component-icon-picker-button-active{background-color:#fff;border-color:#007cba}.ghostkit-component-icon-picker-preview-clickable{cursor:pointer}.ghostkit-component-icon-picker .components-base-control{padding-right:2px}.ghostkit-component-icon-picker .components-base-control+.components-base-control{margin-bottom:0;margin-top:15px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-wrap{padding:15px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-wrap .ReactVirtualized__Grid__innerScrollContainer>div{padding-bottom:10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-panel-toggle{border-bottom:none}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-panel-toggle.is-opened>.components-panel__body-title{margin-bottom:-16px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list{display:flex;flex-wrap:wrap;margin-left:-10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list>*{margin-left:10px;max-width:calc(33.33% - 10px);width:calc(33.33% - 10px)}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list .ghostkit-component-icon-picker-button{font-size:20px;height:55px;width:100%}.ghostkit-component-icon-picker-content>.components-popover__content{overflow-y:hidden!important}.ghostkit-component-icon-picker-content>.components-popover__content .ghostkit-component-icon-picker-sizer{height:50vh;max-height:400px;min-width:280px}.ghostkit-component-icon-picker-content>.components-popover__content .ghostkit-component-icon-picker{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.ghostkit-component-image-picker{--ghostkit-component-image-picker-item-size:50%}.ghostkit-component-image-picker.ghostkit-component-image-picker-3{--ghostkit-component-image-picker-item-size:33.33%}.ghostkit-component-image-picker.ghostkit-component-image-picker-4{--ghostkit-component-image-picker-item-size:25%}.ghostkit-component-image-picker.ghostkit-component-image-picker-5{--ghostkit-component-image-picker-item-size:20%}.ghostkit-component-image-picker.ghostkit-component-image-picker-6{--ghostkit-component-image-picker-item-size:16.66%}.ghostkit-component-image-picker .components-base-control__field{display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-component-image-picker .components-base-control__field>.components-base-control__label{min-width:100%}.ghostkit-component-image-picker .ghostkit-component-image-picker-item{align-items:center;background:none;border:none;border-radius:4px;color:inherit;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;justify-content:flex-start;margin:4px 0;overflow:hidden;padding:4px;width:calc(var(--ghostkit-component-image-picker-item-size) - 4px)}.ghostkit-component-image-picker .ghostkit-component-image-picker-item:hover{background:#f8f9f9;color:#191e23}.ghostkit-component-image-picker .ghostkit-component-image-picker-item.ghostkit-component-image-picker-item-active{box-shadow:0 0 0 2px #555d66;color:#191e23;outline:2px solid transparent;outline-offset:-2px}.ghostkit-component-image-picker .ghostkit-component-image-picker-item:focus{box-shadow:0 0 0 2px #007cba;color:#191e23;outline:2px solid transparent;outline-offset:-2px}.ghostkit-component-image-picker .ghostkit-component-image-picker-item img,.ghostkit-component-image-picker .ghostkit-component-image-picker-item svg{border:1px solid rgba(85,93,102,.2);border-radius:4px;display:block;height:auto;outline:1px solid transparent;width:100%}.ghostkit-component-image-picker .ghostkit-component-image-picker-item span{display:block;padding:4px 2px;text-align:center}.ghostkit-control-important-toggle{align-items:center;background:#e6e6e6;display:inline-flex;height:18px;justify-content:center;padding:2px;position:relative;text-align:center}.ghostkit-control-important-toggle.is-active{background-color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));color:#fff}.ghostkit-component-input-drag-has-icon{position:relative}.ghostkit-component-input-drag-has-icon svg{color:silver;margin:10px;position:absolute}.ghostkit-component-input-drag-has-icon .ghostkit-component-input-drag .components-base-control__field .components-text-control__input{padding-left:30px}.ghostkit-component-input-group-wrapper{display:flex}.ghostkit-component-input-group-wrapper>div+div{margin-left:-1px}.ghostkit-component-input-group-wrapper>div:focus-within{z-index:1}.ghostkit-component-input-group-wrapper>div:first-of-type input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-component-input-group-wrapper>div:first-of-type~div:not(:last-of-type) input{border-radius:0}.ghostkit-component-input-group-wrapper>div:last-of-type input{border-bottom-left-radius:0;border-top-left-radius:0}.ghostkit-component-input-group-wrapper .components-base-control__help{font-size:9px;font-weight:500;margin-top:-6px;opacity:.7;text-align:center;text-transform:uppercase}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) .components-base-control__help{font-size:0}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) .components-base-control__help:first-letter{font-size:9px}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) input{color:transparent;padding-left:2px;padding-right:2px}.ghostkit-component-input-group-wrapper>div{position:relative;transition:width .2s ease;width:100%}.ghostkit-component-input-group-wrapper>div input{text-align:center;transition:padding .2s ease}.ghostkit-component-input-group-wrapper>div:has(.ghostkit-component-input-drag-expand){width:1000%}.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle{opacity:0;position:absolute;right:1px;top:6px}.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle.is-active,.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle:focus,.ghostkit-component-input-group-wrapper>div:has(input:focus) .ghostkit-control-important-toggle,.ghostkit-component-input-group-wrapper>div:hover .ghostkit-control-important-toggle{opacity:1}.ghostkit-component-modal{animation:none;position:relative}@media(min-width:600px){.ghostkit-component-modal{margin-left:-300px;max-width:600px;min-width:600px;transform:none}.ghostkit-component-modal.ghostkit-component-modal-position-top{top:112px}}@media(min-width:840px){.ghostkit-component-modal.ghostkit-component-modal-size-lg{margin-left:-400px;max-width:800px;min-width:800px;transform:none}}@media(min-width:600px){body>.components-modal__screen-overlay .ghostkit-component-modal{margin-left:auto}body>.components-modal__screen-overlay .ghostkit-component-modal.ghostkit-component-modal-position-top{margin-top:112px;top:0}}@media(min-width:840px){body>.components-modal__screen-overlay .ghostkit-component-modal.ghostkit-component-modal-size-lg{margin-left:auto}}.ghostkit-component-modal .components-modal__header .components-modal__icon-container svg{display:block;margin-right:10px}.ghostkit-component-modal .components-modal__header .components-modal__header-heading{font-weight:600}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs{margin-left:-16px;margin-right:-16px;margin-top:-16px}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs .ghostkit-control-tabs-tab{color:inherit;padding:12px 16px}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs .ghostkit-control-tabs-tab:focus{outline:none}.ghostkit-component-notice{margin:0 0 24px}.ghostkit-component-notice.is-info{background-color:rgba(81,152,217,.1);color:#2271b1}.ghostkit-component-notice.is-info p{color:inherit}.ghostkit-component-notice p:last-of-type{margin-bottom:0!important}.ghostkit-pro-component-note-inner{background-color:#edeff0;border-radius:4px;padding:20px;text-align:left}.ghostkit-pro-component-note-inner h3{font-size:14px;margin-bottom:15px;margin-top:0;text-transform:none}.ghostkit-pro-component-note-inner ul{list-style:none}.ghostkit-pro-component-note-inner ul li:before{content:"- ";display:inline;margin-bottom:5px}.ghostkit-pro-component-note-collapsed{position:relative}.ghostkit-pro-component-note-collapsed .ghostkit-pro-component-note-inner{position:relative;z-index:2}.ghostkit-pro-component-note-collapsed:after{background:linear-gradient(-45deg,#5c39a7,#528be6);border-radius:6px;bottom:0;content:"";display:block;left:0;margin:-2px;position:absolute;right:0;top:0;z-index:1}.ghostkit-pro-component-note-collapsed h3{margin-bottom:0}.ghostkit-pro-component-note-collapsed button{height:100%;justify-content:flex-end;left:0;position:absolute;top:0;width:100%}.ghostkit-pro-component-note-button{background:linear-gradient(-45deg,#5c39a7,#528be6);border-radius:3px;display:inline-block;margin-top:5px;padding:7px 15px;text-decoration:none;transition:filter .2s,transform .2s}.ghostkit-pro-component-note-button,.ghostkit-pro-component-note-button:active,.ghostkit-pro-component-note-button:focus,.ghostkit-pro-component-note-button:hover{color:#fff}.ghostkit-pro-component-note-button:focus,.ghostkit-pro-component-note-button:hover{filter:contrast(1.5) drop-shadow(0 3px 3px rgba(82,139,230,.3));transform:translateY(-1px)}.ghostkit-component-range-control>.components-base-control__field,.ghostkit-component-range-control>.components-base-control__field>.components-base-control,.ghostkit-component-range-control>.components-base-control__field>.components-base-control>.components-base-control__field{margin-bottom:0}.ghostkit-component-range-control>.components-base-control__field{align-items:center;display:flex;flex-wrap:wrap}.ghostkit-component-range-control>.components-base-control__field>.components-base-control__label{flex:100%;width:100%}.ghostkit-component-range-control>.components-base-control__field>.components-range-control{flex:1;margin-right:10px}.ghostkit-component-range-control>.components-base-control__field .components-text-control__input{width:64px}.ghostkit-component-remove-button{align-items:center;background-color:#555d66;border-radius:50%;color:#fff;height:20px;justify-content:center;margin-right:-10px;margin-top:-10px;opacity:.7;padding:0!important;position:absolute;right:0;top:0;transition:opacity .2s,background-color .2s;width:20px}.ghostkit-component-remove-button:focus,.ghostkit-component-remove-button:hover{background-color:var(--gkt-color-brand);color:#fff;opacity:1}.ghostkit-component-remove-button svg{flex:0 0 auto;height:.8em;width:auto}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep{margin-left:5px;padding:0}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:hover,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:hover{text-decoration:underline}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus{background:none;box-shadow:none}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus{color:#df5454}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus{color:#999}.ghostkit-component-remove-button-confirm.components-popover:before{border-color:transparent}.ghostkit-component-remove-button-confirm.components-popover.is-top:after{border-top-color:#191e23}.ghostkit-component-remove-button-confirm.components-popover.is-bottom:after{border-bottom-color:#191e23}.ghostkit-component-remove-button-confirm .components-popover__content{background:#191e23;border-width:0;color:#fff;padding:4px 12px;white-space:nowrap}.ghostkit-component-remove-button-confirm:not(.is-mobile) .components-popover__content{min-width:0}.ghostkit-component-remove-button-confirm .components-tooltip__shortcut{color:#7e8993;display:block;text-align:center}.ghostkit-control-tabs-icon{position:relative}.ghostkit-control-responsive-toggle{display:inline-flex;position:relative}.components-base-control__label:has(.ghostkit-control-responsive-toggle),.components-input-control__label:has(.ghostkit-control-responsive-toggle){overflow:visible!important}.components-base-control__label>.ghostkit-control-responsive-toggle,.components-input-control__label>.ghostkit-control-responsive-toggle{margin-left:8px;vertical-align:bottom}.ghostkit-control-responsive-toggle>.components-button{align-items:center;display:inline-flex;height:auto;justify-content:center;padding:0}.ghostkit-control-responsive-toggle>.components-button svg{display:block;height:auto;width:18px}.ghostkit-control-responsive-toggle-button,.ghostkit-control-responsive-toggle-icon{position:relative}.ghostkit-control-responsive-toggle-dropdown{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 4px 0 rgba(0,0,0,.05);display:none;flex-direction:column;gap:2px;left:-5px;padding:2px;position:absolute;top:-5px;width:auto;z-index:5}.ghostkit-control-responsive-toggle-dropdown.is-open{display:flex}.ghostkit-control-responsive-toggle-dropdown>.components-button{align-items:center;border-radius:2px;display:inline-flex;height:22px;justify-content:center;padding:0;width:22px}.ghostkit-control-responsive-toggle-dropdown>.components-button.is-active{background-color:#000;color:#fff}.ghostkit-control-responsive-toggle-dropdown>.components-button svg{display:block;height:auto;width:18px}.ghostkit-control-select .fast-option-selected{color:#fff}.ghostkit-control-select input[type=text]{height:20px;min-height:20px}.ghostkit-control-select input[type=text]:focus{box-shadow:none}.ghostkit-control-toggle-group>div{margin-bottom:-10px}.ghostkit-control-toggle-group [aria-checked=false]{color:#000}.ghostkit-control-toggle-group button[disabled]{background-color:#b7b7b7;opacity:.4}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle{border-color:#949494;border-radius:4px;min-height:30px;padding:3px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label{align-items:center;display:flex;gap:10px;width:100%}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label>.ghostkit-component-bezier-editor,.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label>.ghostkit-component-spring-editor{align-items:center;background-color:var(--wp-admin-theme-color);border-radius:2px;display:inline-flex;height:24px;justify-content:center;overflow:hidden;width:24px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset{background-color:#f9f5f5;border-radius:2px;color:#000;cursor:pointer;display:inline-block;height:15px;margin-left:auto;margin-right:5px;overflow:hidden;width:15px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset:focus,.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset:hover{background-color:#e5e5e5}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset svg{height:100%;width:100%}.ghostkit-component-transition-selector-content>.components-popover__content>*+*{margin-top:16px}.ghostkit-component-transition-selector-content .ghostkit-control-toggle-group{margin-bottom:20px}.ghostkit-component-bezier-editor,.ghostkit-component-spring-editor{position:relative}.ghostkit-component-bezier-editor>svg,.ghostkit-component-spring-editor>svg{border:1px solid #949494;border-radius:4px}.ghostkit-component-bezier-editor-preview>svg,.ghostkit-component-spring-editor-preview>svg{border:none;border-radius:0}.ghostkit-component-easing-controls-bezier>.components-base-control__field{display:flex;flex-wrap:wrap;width:100%}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control{width:25%}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control:not(:last-child){border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;margin-right:-1px}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control__label{width:100%}.ghostkit-component-spring-editor-duration{bottom:10px;color:#9a9a9a;font-size:10px;font-weight:500;position:absolute;right:12px}.ghostkit-component-transition-preview-wrapper>.components-base-control__field{align-items:center;display:flex;justify-content:space-between;margin-bottom:0}.ghostkit-component-transition-preview-wrapper>.components-base-control__field>.components-base-control__label{margin-bottom:0}.ghostkit-component-transition-preview{background-color:var(--wp-admin-theme-color);border-radius:4px;box-shadow:none!important;cursor:pointer;display:inline-block;height:auto;margin-left:auto;outline:none!important;overflow:hidden;padding:4px;width:65%}.ghostkit-component-transition-preview>span{background-color:#fff;border-radius:2px;display:block;height:16px;width:16px}.ghostkit-control-typography{display:flex;flex-wrap:wrap}.ghostkit-control-typography .ghostkit-typography-font-control{flex:1;max-width:100%;min-width:50%;padding-right:20px}.ghostkit-control-typography .ghostkit-typography-weight-control{flex:1 0 33.3%;max-width:33%}.ghostkit-control-typography .ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-size-control{flex:1;max-width:100%;min-width:33.3%}.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-size-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-size-control{margin-top:20px}.ghostkit-control-typography .ghostkit-typography-line-control+.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-size-control+.ghostkit-typography-line-control{padding-left:20px}.ghostkit-control-typography .ghostkit-typography-information-control.ghostkit-typography-font-control{color:#a2aab2;flex:1 0 80%;font-style:italic;padding-left:20px;padding-right:0}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle{border:1px solid #7e8993;height:32px}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle:focus,.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle:hover{border-color:#555d66;box-shadow:none!important}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle svg,.ghostkit-typography-font-category-control-menu svg{height:auto;margin:0 4px;width:19px}.ghostkit-typography-font-category-control-menu .components-popover:not(.is-mobile) .components-popover__content{min-width:200px}.ghostkit-typography-font-category-control-menu .components-menu-group{padding:0}.ghostkit-typography-font-category-control-menu .components-menu-group .components-button svg{margin-left:5px!important;margin-right:10px!important}.ghostkit-typography-font-category-control-menu .components-menu-item__button{display:flex}.ghostkit-typography-font-category-control-menu .components-menu-item__button .components-menu-items__item-icon{order:-1}.ghostkit-typography-badge-pro{background-color:#00669b;border-radius:10px;color:#fff;font-size:8px;font-weight:600;height:14px;line-height:14px;margin-left:auto;padding:0 5px;text-align:center}.ghostkit-components-url-picker-inspector .block-editor-link-control{min-width:0}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-item.is-current{padding:0 0 16px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__tools{padding:16px 0 10px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input{margin:0 0 16px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input input[type=text]{margin:0;width:100%}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-actions{right:4px;top:4px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-results{margin-top:24px;padding:0}.ghostkit-control-sr-direction{border:1px solid #e8eaec;margin-top:20px;padding-top:60%;position:relative;width:100%}.ghostkit-control-sr-direction .components-base-control,.ghostkit-control-sr-direction .components-base-control__field{margin:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap{height:calc(100% - 10px);left:5px;position:absolute;top:5px;width:calc(100% - 10px)}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap>div{align-items:center;display:flex;justify-content:center}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button{border-radius:3px;font-size:10px;height:32px;justify-content:center;padding:10px;text-align:center;transition:background-color .15s,color .15s;width:35px}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button:hover{background-color:#eaeaea}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button.ghostkit-control-sr-direction-active,.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button.ghostkit-control-sr-direction-active:focus{background-color:#000;color:#fff}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button svg{display:block;height:1.2em;width:auto}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-top{left:0;position:absolute;top:0;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-right{height:100%;position:absolute;right:0;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-bottom{bottom:0;left:0;position:absolute;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-left{height:100%;left:0;position:absolute;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center{left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center button{font-size:5px}.ghostkit-control-sr-presets-menu .components-button[aria-checked=true]{background-color:#000;color:#fff}.ghostkit-control-sr-presets-toggle-active:before{background-color:#000}.ghostkit-control-sr-presets-toggle-active svg{color:#fff}.components-dropdown-menu__menu .ghostkit-block-actions-copy-paste{border-bottom:1px solid #1e1e1e;border-top:1px solid #1e1e1e;margin-bottom:8px;margin-top:8px}.components-dropdown-menu__menu .ghostkit-block-actions-copy-paste .components-menu-group__label{margin-bottom:5px;margin-top:8px}.ghostkit-block-actions-dropdown-paste{width:100%}.ghostkit-component-effects-reveal>.components-popover__content>*+*{margin-top:16px}.ghostkit-tools-panel-effects{grid-column:1/-1}.ghostkit-tools-panel-effects .components-tools-panel-item:has(+.components-tools-panel-item) .ghostkit-component-dropdown-picker-toggle{border-bottom:none}.ghostkit-tools-panel-custom-css{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-control-pre-custom-css{background-color:#e8eaeb;padding:20px}.ghostkit-extension-customCSS-custom__dropdown{display:block;width:100%}.ghostkit-extension-customCSS-custom__dropdown-content .components-popover__content{padding:16px;width:500px}.ghostkit-extension-customCSS-custom__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-extension-customCSS-custom__dropdown-content-toggle{cursor:pointer;display:block;height:auto;padding:0;position:relative;width:100%}.ghostkit-extension-customCSS-custom__dropdown-content-toggle>span{align-items:center;background-color:var(--wp-admin-theme-color);border-radius:3px;color:#fff;display:flex;font-size:13px;font-weight:400;height:34px;justify-content:center;left:50%;margin-left:-55px;margin-top:-17px;position:absolute;top:50%;transition:background-color .2s;width:110px;z-index:1}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_editor{box-shadow:0 0 0 1px #b3b3b3;transition:box-shadow .2s}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scroller{filter:blur(0);opacity:.2;transition:filter .2s}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scrollbar,.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scroller{overflow:hidden}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ghostkit-component-code-editor{pointer-events:none}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover>span{background-color:var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover .ace_editor{box-shadow:0 0 0 1px var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover .ace_scroller{filter:blur(2px)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active>span{background-color:var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover .ace_editor{box-shadow:0 0 0 2px var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover .ace_scroller{filter:blur(2px)}.ace_editor.ace_autocomplete{z-index:1000000}.ghostkit-tools-panel-frame{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-control-border-row{align-items:center;display:flex;justify-content:space-between}.ghostkit-control-border-row .ghostkit-control-toggle-group{width:60%}.ghostkit-control-border-row .ghostkit-control-toggle-group .components-toggle-group-control{min-height:30px}.ghostkit-control-border-row .ghostkit-component-color-toggle{background:none;border:none;margin-top:4px;padding:0}.ghostkit-control-border-row .ghostkit-component-input-drag{max-width:62px}.ghostkit-control-box-shadow{align-items:flex-start;display:flex}.ghostkit-control-box-shadow>div:first-child{margin-right:auto}.ghostkit-control-box-shadow .ghostkit-component-color-toggle{background:none;border:none;margin-top:5px;padding:0}.ghostkit-control-radius{display:flex}.ghostkit-control-radius>div+div{margin-left:-1px}.ghostkit-control-radius>div:focus-within{z-index:1}.ghostkit-control-radius .ghostkit-control-radius-tl input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-control-radius .ghostkit-control-radius-br input,.ghostkit-control-radius .ghostkit-control-radius-tr input{border-radius:0}.ghostkit-control-radius .ghostkit-control-radius-bl input{border-bottom-left-radius:0;border-top-left-radius:0}.ghostkit-control-radius .components-base-control,.ghostkit-control-radius .components-base-control__field{margin-bottom:0!important}.ghostkit-tools-panel-position{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-tools-panel-display{grid-column:1/-1}.ghostkit-d-none{filter:opacity(.4) saturate(0)}.ghostkit-d-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-block{filter:none}.ghostkit-d-block:after{background-image:none}@media(max-width:1200px){.ghostkit-d-xl-none{filter:opacity(.4) saturate(0)}.ghostkit-d-xl-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-xl-block{filter:none}.ghostkit-d-xl-block:after{background-image:none}}@media(max-width:992px){.ghostkit-d-lg-none{filter:opacity(.4) saturate(0)}.ghostkit-d-lg-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-lg-block{filter:none}.ghostkit-d-lg-block:after{background-image:none}}@media(max-width:768px){.ghostkit-d-md-none{filter:opacity(.4) saturate(0)}.ghostkit-d-md-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-md-block{filter:none}.ghostkit-d-md-block:after{background-image:none}}@media(max-width:576px){.ghostkit-d-sm-none{filter:opacity(.4) saturate(0)}.ghostkit-d-sm-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-sm-block{filter:none}.ghostkit-d-sm-block:after{background-image:none}}.ghostkit-tools-panel-spacings{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-toolbar-templates{white-space:nowrap}.ghostkit-toolbar-templates .components-button{gap:6px}.ghostkit-has-transform{transform:perspective(var(--gkt-transform-perspective,none)) translateX(var(--gkt-transform-x,0)) translateY(var(--gkt-transform-y,0)) scale(var(--gkt-transform-scale,1)) rotate(var(--gkt-transform-rotate,0deg)) rotateX(var(--gkt-transform-rotate-x,0deg)) rotateY(var(--gkt-transform-rotate-y,0deg)) rotate(var(--gkt-transform-rotate-z,0deg)) skewX(var(--gkt-transform-skew-x,0deg)) skewY(var(--gkt-transform-skew-y,0deg));transform-origin:var(--gkt-transform-origin,50% 50%)}.ghostkit-tools-panel-transform{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-badge{--gkt-badge__padding-v:0.35em;--gkt-badge__padding-h:0.6em;--gkt-badge__font-size:0.75em;--gkt-badge__font-weight:600;--gkt-badge__line-height:1;--gkt-badge__border-radius:1em;--gkt-badge__text-color:#fff;--gkt-badge-default__color:var(--gkt-color-dark-gray);--gkt-badge-brand__color:var(--gkt-color-brand);--gkt-badge-primary__color:var(--gkt-color-primary);--gkt-badge-success__color:var(--gkt-color-success);--gkt-badge-danger__color:var(--gkt-color-danger);--gkt-badge-warning__color:var(--gkt-color-warning);--gkt-badge-info__color:var(--gkt-color-info);background-color:var(--gkt-badge-default__color);border:0 solid var(--gkt-badge-default__color);border-radius:var(--gkt-badge__border-radius);color:var(--gkt-badge__text-color);display:inline-block;font-size:var(--gkt-badge__font-size);font-weight:var(--gkt-badge__font-weight);line-height:var(--gkt-badge__line-height);padding:var(--gkt-badge__padding-v) var(--gkt-badge__padding-h);text-align:center;vertical-align:middle;white-space:nowrap}.ghostkit-badge-brand{background-color:var(--gkt-badge-brand__color);border-color:var(--gkt-badge-brand__color)}.ghostkit-badge-primary{background-color:var(--gkt-badge-primary__color);border-color:var(--gkt-badge-primary__color)}.ghostkit-badge-success{background-color:var(--gkt-badge-success__color);border-color:var(--gkt-badge-success__color)}.ghostkit-badge-danger{background-color:var(--gkt-badge-danger__color);border-color:var(--gkt-badge-danger__color)}.ghostkit-badge-warning{background-color:var(--gkt-badge-warning__color);border-color:var(--gkt-badge-warning__color)}.ghostkit-badge-info{background-color:var(--gkt-badge-info__color);border-color:var(--gkt-badge-info__color)}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary].ghostkit-badge:not([style]){background-color:#6a6c75}.ghostkit-format-badge-button__indicator{bottom:7px;height:4px;left:13px;position:absolute;width:20px}.ghostkit-text-uppercase{text-transform:uppercase}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-color-palette-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-color-palette-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-color-palette-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-color-palette-modal .components-modal__header{border-bottom:none;margin-bottom:-10px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-default .components-base-control__field{cursor:not-allowed}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-default .components-circular-option-picker__option-wrapper{pointer-events:none}.ghostkit-plugin-color-palette-modal h4{margin-top:24px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list{display:flex;flex-wrap:wrap}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper{margin-bottom:0;margin-right:5px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper .ghostkit-component-color-toggle{background:none;border:none;padding:0}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper>.components-base-control__field{margin:0}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-add-new .components-circular-option-picker__option{color:#fff;font-family:sans-serif;font-size:20px;line-height:20px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-add-new .components-circular-option-picker__option .components-color-palette__custom-color-gradient{color:#525252}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-custom-code-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-custom-code-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-custom-code-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-custom-code-modal .components-modal__header{border-bottom:none}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-customizer-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-customizer-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-customizer-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-customizer-modal .ghostkit-customizer-info{color:#0085ba;margin-bottom:13px;margin-right:auto;max-width:300px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-spinner{margin-bottom:13px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-spinner>span{float:left;margin:0}.ghostkit-plugin-customizer-modal .components-placeholder__fieldset{z-index:21}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list{margin-top:10px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div{margin-left:-16px;margin-right:-16px;margin-top:-1px;padding:16px;position:relative;transition:background-color .2s}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div:hover{background-color:#f9f9f9}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-field{margin-bottom:0;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info{display:flex}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info>*{max-width:60%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info>*+*{margin-left:15px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-id{opacity:.3;word-break:break-word}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-default{margin-left:auto;opacity:.3;word-break:break-word}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-default span{font-weight:700}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove{align-items:center;background:#eaeaea;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:15px;justify-content:center;opacity:0;position:absolute;right:16px;top:14px;transition:opacity .2s,visibility .2s,background-color .2s;visibility:hidden;width:15px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove:hover{background-color:#ff4340}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove span{font-size:10px;height:10px;width:10px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div:hover .ghostkit-customizer-list-remove{opacity:1;visibility:visible}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list .components-toggle-control{margin-bottom:0}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list .components-color-palette{margin-bottom:-10px}.ghostkit-toolbar-responsive~.block-editor-post-preview__dropdown,.ghostkit-toolbar-responsive~.editor-preview-dropdown{display:none}@media screen and (max-width:600px){.ghostkit-toolbar-responsive{display:none}}.ghostkit-toolbar-responsive__button-toggle svg,.ghostkit-toolbar-responsive__dropdown-content .components-menu-item__button svg{height:auto;width:22px}.ghostkit-toolbar-responsive__dropdown-content .components-menu-item__button.is-active{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.interface-pinned-items .components-button .ghostkit-plugin-icon svg{display:block}.interface-pinned-items .components-button:not(.is-toggled,.is-pressed) .ghostkit-plugin-icon svg{color:#2e1645}.plugin-ghostkit-panel .plugin-ghostkit-panel-button{background:none;border:1px solid;border-radius:4px;color:inherit;cursor:pointer;display:block;flex-shrink:0;height:auto;margin-bottom:16px;overflow:hidden;padding:15px 10px;text-align:center;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s;width:100%}.plugin-ghostkit-panel .plugin-ghostkit-panel-button,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:hover{border-color:rgba(79,89,105,.2);box-shadow:none}.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:hover{background-color:#f8f9f9;color:#191e23}.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus:enabled{border-color:#00669b;box-shadow:0 0 0 2px #007cba;color:#191e23}.plugin-ghostkit-panel .plugin-ghostkit-panel-button svg{display:block;margin:3px auto 10px;text-align:center}.ghostkit-plugin-templates-modal-notice.components-notice{margin-bottom:15px;margin-left:-15px;margin-right:-15px;padding-bottom:0;padding-top:0}.ghostkit-plugin-templates-modal-notice.components-notice h3{font-size:14px}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-hide-header .components-modal__content>.components-modal__header:first-of-type{display:none}.ghostkit-plugin-templates-modal .components-modal__header{border-bottom:none}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-control-tabs{opacity:.3;pointer-events:none}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-plugin-templates-modal-loading-spinner{position:absolute;right:50px;top:14px;z-index:10}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-plugin-templates-modal-loading-spinner .components-spinner{float:none;margin-left:0}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-categories-row{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-categories-select{margin-bottom:10px;max-width:170px}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-count{margin-bottom:20px;max-width:170px;opacity:.7}.ghostkit-plugin-templates-modal .components-tab-panel__tab-content{background-color:#f8f9f9;margin:-15px -16px;padding:15px 16px}.ghostkit-templates-missing-block-alert.ghostkit-alert{border-left-color:var(--gkt-color-danger);margin-bottom:20px}.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional{width:100%}.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional,.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional .components-button{margin-top:10px}.ghostkit-plugin-templates-spinner .components-spinner{float:none;margin-left:0}.ghostkit-plugin-templates-list{display:flex;flex-wrap:wrap;list-style:none;margin-left:-15px;margin-top:-15px;padding:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 33.33%;padding-left:15px;padding-top:15px;width:33.33%}@media screen and (max-width:840px){.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 50%;width:50%}}@media screen and (max-width:450px){.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 100%;width:100%}}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button{background:none;background-color:#fff;border:none;border-radius:4px;box-shadow:0 0 0 1px #edeff0;cursor:pointer;display:block;padding:0;transition:border-color .2s,box-shadow .2s;width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:active,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:focus,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:hover{box-shadow:0 0 0 2px #007cba}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image{display:block;position:relative}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image img{border-top-left-radius:4px;border-top-right-radius:4px;display:block;height:auto;width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer{width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer+.lazyload-wrapper img,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer+img{height:100%;left:0;position:absolute;top:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item .ghostkit-plugin-templates-list-item-title{border-top:1px solid #f8f9f9;font-size:10px;font-weight:600;padding:10px;text-transform:uppercase}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item.ghostkit-plugin-templates-list-item-no-thumb>button{background-color:#f3f4f5;border:1px solid #edeff0;padding:20px 10px;text-align:center}.ghostkit-typography-container{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.ghostkit-typography-container+.ghostkit-typography-container{border-top:1px solid #e8eaeb;margin-top:16px}.ghostkit-typography-advanced{margin-top:10px;text-align:right}.is-style-numbered{--gkt-numbered-headings__margin-right:0.4em;--gkt-numbered-headings--h2-number__width:1.6em;--gkt-numbered-headings--h2-number__height:1.6em;--gkt-numbered-headings--h2-number__line-height:1;--gkt-numbered-headings--h2-number__color:#fff;--gkt-numbered-headings--h2-number__background-color:var(--gkt-color-dark-gray);--gkt-numbered-headings--h2-number__border-radius:50%}.editor-styles-wrapper{counter-reset:h2}.editor-styles-wrapper .is-style-numbered:before{margin:0;margin-right:var(--gkt-numbered-headings__margin-right)}.editor-styles-wrapper h2.is-style-numbered:before{align-items:center;background-color:var(--gkt-numbered-headings--h2-number__background-color);border-radius:var(--gkt-numbered-headings--h2-number__border-radius);color:var(--gkt-numbered-headings--h2-number__color);display:inline-flex;height:var(--gkt-numbered-headings--h2-number__height);justify-content:center;line-height:var(--gkt-numbered-headings--h2-number__line-height);width:var(--gkt-numbered-headings--h2-number__width)}.editor-styles-wrapper h2.is-style-numbered{counter-increment:h2;counter-reset:h3}.editor-styles-wrapper h2.is-style-numbered:before{content:counter(h2)}.editor-styles-wrapper h3.is-style-numbered{counter-increment:h3;counter-reset:h4}.editor-styles-wrapper h3.is-style-numbered:before{content:counter(h3)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered:before{content:counter(h2) "." counter(h3)}.editor-styles-wrapper h4.is-style-numbered{counter-increment:h4;counter-reset:h5}.editor-styles-wrapper h4.is-style-numbered:before{content:counter(h4)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered:before{content:counter(h3) "." counter(h4)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4)}.editor-styles-wrapper h5.is-style-numbered{counter-increment:h5;counter-reset:h6}.editor-styles-wrapper h5.is-style-numbered:before{content:counter(h5)}.editor-styles-wrapper h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h4) "." counter(h5)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h3) "." counter(h4) "." counter(h5)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4) "." counter(h5)}.editor-styles-wrapper h6.is-style-numbered{counter-increment:h6}.editor-styles-wrapper h6.is-style-numbered:before{content:counter(h6)}.editor-styles-wrapper h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h5) "." counter(h6)}.editor-styles-wrapper h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h4) "." counter(h5) "." counter(h6)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h3) "." counter(h4) "." counter(h5) "." counter(h6)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6)}.editor-block-styles__item .editor-styles-wrapper .is-style-numbered:before{content:"1"}.is-style-styled{--gkt-styled-lists--items__line-height:1.5;--gkt-styled-lists--items__gap:0.5em;--gkt-styled-lists--inner-lists__padding-v:1em;--gkt-styled-lists--inner-lists__padding-h:0;--gkt-styled-lists-numbered__padding-left:2em;--gkt-styled-lists-numbered--decoration__top:0;--gkt-styled-lists-numbered--decoration__left:0;--gkt-styled-lists-numbered--decoration__width:2em;--gkt-styled-lists-numbered--decoration__height:2em;--gkt-styled-lists-numbered--decoration__font-size:0.7em;--gkt-styled-lists-numbered--decoration__font-weight:600;--gkt-styled-lists-numbered--decoration__line-height:1;--gkt-styled-lists-numbered--decoration__color:#fff;--gkt-styled-lists-numbered--decoration__background-color:var(--gkt-color-dark-gray);--gkt-styled-lists-numbered--decoration__border-radius:50%;--gkt-styled-lists-dotted__padding-left:2em;--gkt-styled-lists-dotted--decoration__top:0.65em;--gkt-styled-lists-dotted--decoration__left:0.9em;--gkt-styled-lists-dotted--decoration__width:0.2em;--gkt-styled-lists-dotted--decoration__height:0.2em;--gkt-styled-lists-dotted--decoration__background-color:var(--gkt-color-dark-gray)}.is-style-icon{--gkt-icon-lists--items__line-height:1.5;--gkt-icon-lists--items__padding-left:2em;--gkt-icon-lists--items__gap:0.5em;--gkt-icon-lists--inner-lists__padding-v:1em;--gkt-icon-lists--inner-lists__padding-h:0;--gkt-icon-lists--decoration:url('data:image/svg+xml;utf8,');--gkt-icon-lists--decoration__top:0;--gkt-icon-lists--decoration__left:0;--gkt-icon-lists--decoration__width:1.5em;--gkt-icon-lists--decoration__height:1.5em;--gkt-icon-lists--decoration__color:var(--gkt-color-brand)}.editor-styles-wrapper .is-style-icon,.editor-styles-wrapper .is-style-icon ol,.editor-styles-wrapper .is-style-icon ul,.editor-styles-wrapper .is-style-none,.editor-styles-wrapper .is-style-none ol,.editor-styles-wrapper .is-style-none ul,.editor-styles-wrapper .is-style-styled,.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper .is-style-styled ul{list-style:none;padding-left:0}.editor-styles-wrapper .is-style-icon ol,.editor-styles-wrapper .is-style-icon ul,.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper .is-style-styled ul{margin-left:0}.editor-styles-wrapper ol.is-style-styled,.editor-styles-wrapper ul.is-style-styled{line-height:var(--gkt-styled-lists__line-height)}.editor-styles-wrapper ol.is-style-styled li,.editor-styles-wrapper ul.is-style-styled li{list-style:none;margin-left:0}.editor-styles-wrapper ol.is-style-styled li>ol,.editor-styles-wrapper ol.is-style-styled li>ul,.editor-styles-wrapper ul.is-style-styled li>ol,.editor-styles-wrapper ul.is-style-styled li>ul{margin:var(--gkt-styled-lists--inner-lists__padding-v) var(--gkt-styled-lists--inner-lists__padding-h);width:100%}.editor-styles-wrapper ol.is-style-styled li+li,.editor-styles-wrapper ul.is-style-styled li+li{margin-top:var(--gkt-styled-lists--items__gap)}.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper ol.is-style-styled{counter-reset:li}.editor-styles-wrapper .is-style-styled ol>li,.editor-styles-wrapper ol.is-style-styled>li{padding-left:var(--gkt-styled-lists-numbered__padding-left);position:relative}.editor-styles-wrapper .is-style-styled ol>li:before,.editor-styles-wrapper ol.is-style-styled>li:before{align-items:center;align-self:flex-start;background-color:var(--gkt-styled-lists-numbered--decoration__background-color);border-radius:var(--gkt-styled-lists-numbered--decoration__border-radius);color:var(--gkt-styled-lists-numbered--decoration__color);content:counter(li);counter-increment:li;display:flex;flex:0 0 var(--gkt-styled-lists-numbered--decoration__width);font-size:var(--gkt-styled-lists-numbered--decoration__font-size);font-weight:var(--gkt-styled-lists-numbered--decoration__font-weight);height:var(--gkt-styled-lists-numbered--decoration__height);justify-content:center;left:var(--gkt-styled-lists-numbered--decoration__left);line-height:var(--gkt-styled-lists-numbered--decoration__line-height);position:absolute;top:var(--gkt-styled-lists-numbered--decoration__top);width:var(--gkt-styled-lists-numbered--decoration__width)}.editor-styles-wrapper .is-style-styled ol[reversed]>li:before,.editor-styles-wrapper ol.is-style-styled[reversed]>li:before{counter-increment:li -1}.editor-styles-wrapper .is-style-styled ul>li,.editor-styles-wrapper ul.is-style-styled>li{padding-left:var(--gkt-styled-lists-dotted__padding-left);position:relative}.editor-styles-wrapper .is-style-styled ul>li:before,.editor-styles-wrapper ul.is-style-styled>li:before{background-color:var(--gkt-styled-lists-dotted--decoration__background-color);content:"";height:var(--gkt-styled-lists-dotted--decoration__height);left:var(--gkt-styled-lists-dotted--decoration__left);position:absolute;top:var(--gkt-styled-lists-dotted--decoration__top);width:var(--gkt-styled-lists-dotted--decoration__width)}.editor-styles-wrapper ol.is-style-icon,.editor-styles-wrapper ul.is-style-icon{line-height:var(--gkt-icon-lists--items__line-height)}.editor-styles-wrapper ol.is-style-icon li,.editor-styles-wrapper ul.is-style-icon li{list-style:none;margin-left:0;padding-left:var(--gkt-icon-lists--items__padding-left);position:relative}.editor-styles-wrapper ol.is-style-icon li:before,.editor-styles-wrapper ul.is-style-icon li:before{background-color:var(--gkt-icon-lists--decoration__color);content:"";flex:0 0 var(--gkt-icon-lists--decoration__width);height:var(--gkt-icon-lists--decoration__height);left:var(--gkt-icon-lists--decoration__left);-webkit-mask-image:var(--gkt-icon-lists--decoration);mask-image:var(--gkt-icon-lists--decoration);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;position:absolute;top:var(--gkt-icon-lists--decoration__top);width:var(--gkt-icon-lists--decoration__width)}.editor-styles-wrapper ol.is-style-icon li>ol,.editor-styles-wrapper ol.is-style-icon li>ul,.editor-styles-wrapper ul.is-style-icon li>ol,.editor-styles-wrapper ul.is-style-icon li>ul{margin:var(--gkt-icon-lists--inner-lists__padding-v) var(--gkt-icon-lists--inner-lists__padding-h);width:100%}.editor-styles-wrapper ol.is-style-icon li+li,.editor-styles-wrapper ul.is-style-icon li+li{margin-top:var(--gkt-icon-lists--items__gap)}.editor-styles-wrapper .ghostkit-list-columns-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-6{-moz-column-count:6;column-count:6}@media(max-width:1200px){.editor-styles-wrapper .ghostkit-list-columns-xl-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-xl-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-xl-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-xl-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-xl-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-xl-6{-moz-column-count:6;column-count:6}}@media(max-width:992px){.editor-styles-wrapper .ghostkit-list-columns-lg-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-lg-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-lg-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-lg-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-lg-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-lg-6{-moz-column-count:6;column-count:6}}@media(max-width:768px){.editor-styles-wrapper .ghostkit-list-columns-md-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-md-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-md-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-md-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-md-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-md-6{-moz-column-count:6;column-count:6}}@media(max-width:576px){.editor-styles-wrapper .ghostkit-list-columns-sm-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-sm-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-sm-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-sm-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-sm-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-sm-6{-moz-column-count:6;column-count:6}}.ghostkit-paragraph-columns-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-6{-moz-column-count:6;column-count:6}@media(max-width:1200px){.ghostkit-paragraph-columns-xl-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-xl-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-xl-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-xl-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-xl-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-xl-6{-moz-column-count:6;column-count:6}}@media(max-width:992px){.ghostkit-paragraph-columns-lg-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-lg-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-lg-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-lg-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-lg-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-lg-6{-moz-column-count:6;column-count:6}}@media(max-width:768px){.ghostkit-paragraph-columns-md-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-md-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-md-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-md-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-md-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-md-6{-moz-column-count:6;column-count:6}}@media(max-width:576px){.ghostkit-paragraph-columns-sm-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-sm-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-sm-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-sm-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-sm-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-sm-6{-moz-column-count:6;column-count:6}}svg.ghostkit-svg-icon{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em;width:1em}.ghostkit-icon-spinner,.ghostkit-video-spinner{--gkt-icon-spinner__color:currentcolor;--gkt-icon-spinner__size:20px;--gkt-icon-spinner__border-size:2px;--gkt-icon-spinner__speed:0.3s;--gkt-icon-spinner--background__color:var(--gkt-icon-spinner__color);--gkt-icon-spinner--background__opacity:0.3;animation:ghostkit-icon-spinner var(--gkt-icon-spinner__speed) infinite linear;border:var(--gkt-icon-spinner__border-size) solid transparent;border-left:var(--gkt-icon-spinner__border-size) solid var(--gkt-icon-spinner__color);border-radius:50%;box-sizing:border-box;display:block;height:var(--gkt-icon-spinner__size);position:relative;text-indent:-9999em;width:var(--gkt-icon-spinner__size)}.ghostkit-icon-spinner:after,.ghostkit-video-spinner:after{border:var(--gkt-icon-spinner__border-size) solid var(--gkt-icon-spinner--background__color);border-radius:50%;bottom:calc(var(--gkt-icon-spinner__border-size)*-1);content:"";display:block;left:calc(var(--gkt-icon-spinner__border-size)*-1);opacity:var(--gkt-icon-spinner--background__opacity);position:absolute;right:calc(var(--gkt-icon-spinner__border-size)*-1);top:calc(var(--gkt-icon-spinner__border-size)*-1)}@keyframes ghostkit-icon-spinner{to{transform:rotate(1turn)}}.ghostkit-accordion{--gkt-accordion--heading__margin:0;--gkt-accordion--heading__padding-v:0.75em;--gkt-accordion--heading__padding-h:0;--gkt-accordion--heading__font-weight:500;--gkt-accordion--heading__font-size:1em;--gkt-accordion--heading__line-height:1.6;--gkt-accordion--heading__gap:1em;--gkt-accordion--heading-collapse-icon__font-size:1em;--gkt-accordion--heading-collapse-icon-active__transform:rotate(90deg);--gkt-accordion--content__padding-v:0.75em;--gkt-accordion--content__padding-h:0;--gkt-accordion__transition-duration:var(--gkt-transition-duration);--gkt-accordion__transition-easing:var(--gkt-transition-easing)}.ghostkit-accordion-item{display:block}.ghostkit-accordion-item .ghostkit-accordion-item-heading{align-items:center;display:flex;font-size:var(--gkt-accordion--heading__font-size);font-weight:var(--gkt-accordion--heading__font-weight);gap:var(--gkt-accordion--heading__gap);line-height:var(--gkt-accordion--heading__line-height);margin:var(--gkt-accordion--heading__margin);padding:var(--gkt-accordion--heading__padding-v) var(--gkt-accordion--heading__padding-h);position:relative}.ghostkit-accordion-item .ghostkit-accordion-item-heading>a,.ghostkit-accordion-item a.ghostkit-accordion-item-heading{border-bottom:none;box-shadow:none;color:inherit;text-decoration:none}.ghostkit-accordion-item-collapse{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;font-size:var(--gkt-accordion--heading-collapse-icon__font-size);justify-content:center;margin-left:auto;outline:none;padding:0;transition:var(--gkt-accordion__transition-duration) transform var(--gkt-accordion__transition-easing)}.ghostkit-accordion-item-content{display:none}.ghostkit-accordion-item-active .ghostkit-accordion-item-heading{opacity:1}.ghostkit-accordion-item-active .ghostkit-accordion-item-collapse{transform:var(--gkt-accordion--heading-collapse-icon-active__transform)}.ghostkit-accordion-item-active .ghostkit-accordion-item-content{display:block}.edit-post-visual-editor,.edit-post-visual-editor p,.editor-rich-text__tinymce.mce-content-body{line-height:inherit}.ghostkit-accordion>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{display:none}.ghostkit-accordion-add-item{padding-bottom:5px;text-align:center}.block-editor-inserter__preview .ghostkit-accordion-item-content .block-editor-block-list__layout{margin-left:0;margin-right:0}.ghostkit-alert{--gkt-alert__padding-v:1.5em;--gkt-alert__padding-h:1.5em;--gkt-alert__border-color:var(--gkt-color-warning);--gkt-alert__border-width:1px;--gkt-alert__border-left-width:3px;--gkt-alert__border-radius:var(--gkt-border-radius);--gkt-alert--icon__padding:3px;--gkt-alert--icon__padding-right:1.5em;--gkt-alert--icon__font-size:1em;--gkt-alert--icon__color:var(--gkt-color-warning);--gkt-alert--hide-button__padding-left:1.5em;--gkt-alert--hide-button__font-size:0.8em;--gkt-alert--hide-button-hover__opacity:0.6;--gkt-alert__transition-duration:var(--gkt-transition-duration);--gkt-alert__transition-easing:var(--gkt-transition-easing);border:var(--gkt-alert__border-width) solid var(--gkt-alert__border-color);border-left-width:var(--gkt-alert__border-left-width);border-radius:var(--gkt-alert__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-alert__padding-v) var(--gkt-alert__padding-h);transition:var(--gkt-alert__transition-duration) border-color var(--gkt-alert__transition-easing)}.ghostkit-alert-icon{color:var(--gkt-alert--icon__color);display:flex;font-size:var(--gkt-alert--icon__font-size);padding:var(--gkt-alert--icon__padding);padding-right:var(--gkt-alert--icon__padding-right);transition:var(--gkt-alert__transition-duration) color var(--gkt-alert__transition-easing)}.ghostkit-alert-content{flex:1}.ghostkit-alert-hide-button{cursor:pointer;display:flex;font-size:var(--gkt-alert--hide-button__font-size);opacity:1;padding-left:var(--gkt-alert--hide-button__padding-left);transition:var(--gkt-alert__transition-duration) opacity var(--gkt-alert__transition-easing)}.ghostkit-alert-hide-button:focus,.ghostkit-alert-hide-button:hover{opacity:var(--gkt-alert--hide-button__hover__opacity)}.ghostkit-button-wrapper{--gkt-button__gap:15px;--gkt-button__gap-vertical:var(--gkt-button__gap);--gkt-button__align-items:flex-start;--gkt-button__justify-content:flex-start}.ghostkit-button{--gkt-button__padding-v:0.75em;--gkt-button__padding-h:1em;--gkt-button__line-height:1em;--gkt-button__color:#fff;--gkt-button__background-color:var(--gkt-color-primary);--gkt-button__border-width:0%;--gkt-button__border-color:var(--gkt-color-primary);--gkt-button__border-radius:var(--gkt-border-radius);--gkt-button__outline:none;--gkt-button__box-shadow:none;--gkt-button-hover__color:#fff;--gkt-button-hover__background-color:var(--gkt-color-dark-gray);--gkt-button-hover__border-width:var(--gkt-button__border-width);--gkt-button-hover__border-color:var(--gkt-button__border-color);--gkt-button-hover__box-shadow:var(--gkt-button__box-shadow);--gkt-button-focus__color:var(--gkt-button-hover__color);--gkt-button-focus__background-color:var(--gkt-button-hover__background-color);--gkt-button-focus__border-width:var(--gkt-button-hover__border-width);--gkt-button-focus__border-color:var(--gkt-button-hover__border-color);--gkt-button-focus__box-shadow:var(--gkt-button-hover__box-shadow);--gkt-button-xs__font-size:0.8em;--gkt-button-sm__font-size:0.85em;--gkt-button__font-size:1em;--gkt-button-lg__font-size:1.15em;--gkt-button-xl__font-size:1.3em;--gkt-button-icon-only__padding-v:var(--gkt-button__padding-v);--gkt-button-icon-only__padding-h:var(--gkt-button__padding-v);--gkt-button--icon__offset:10px;--gkt-button__transition-duration:var(--gkt-transition-duration);--gkt-button__transition-easing:var(--gkt-transition-easing)}.ghostkit-button-wrapper-inner{align-items:var(--gkt-button__align-items);clear:both;-moz-column-gap:var(--gkt-button__gap);column-gap:var(--gkt-button__gap);display:flex;flex-wrap:wrap;justify-content:var(--gkt-button__justify-content);row-gap:var(--gkt-button__gap-vertical)}.ghostkit-button{align-items:center;background-color:var(--gkt-button__background-color);border:var(--gkt-button__border-width) solid var(--gkt-button__border-color);border-radius:var(--gkt-button__border-radius);box-shadow:var(--gkt-button__box-shadow);color:var(--gkt-button__color);cursor:pointer;display:inline-flex;font-size:var(--gkt-button__font-size);justify-content:center;line-height:var(--gkt-button__line-height);margin:0;outline:var(--gkt-button__outline);padding:var(--gkt-button__padding-v) var(--gkt-button__padding-h);text-align:center;text-decoration:none!important;transition:var(--gkt-button__transition-duration) background-color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) border-color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) opacity var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) box-shadow var(--gkt-button__transition-easing);white-space:nowrap}.ghostkit-button:hover{background-color:var(--gkt-button-hover__background-color);border:var(--gkt-button-hover__border-width) solid var(--gkt-button-hover__border-color);box-shadow:var(--gkt-button-hover__box-shadow);color:var(--gkt-button-hover__color)}.ghostkit-button:active,.ghostkit-button:focus{background-color:var(--gkt-button-focus__background-color);border:var(--gkt-button-focus__border-width) solid var(--gkt-button-focus__border-color);box-shadow:var(--gkt-button-focus__box-shadow);color:var(--gkt-button-focus__color)}.ghostkit-button-icon-left{margin-right:var(--gkt-button--icon__offset)}.ghostkit-button-icon-right{margin-left:var(--gkt-button--icon__offset);order:2}.ghostkit-button-icon-only{padding:var(--gkt-button-icon-only__padding-v) var(--gkt-button-icon-only__padding-h)}.ghostkit-button-icon-only .ghostkit-button-icon{margin:0}.ghostkit-button-xs{font-size:var(--gkt-button-xs__font-size)}.ghostkit-button-sm{font-size:var(--gkt-button-sm__font-size)}.ghostkit-button-lg{font-size:var(--gkt-button-lg__font-size)}.ghostkit-button-xl{font-size:var(--gkt-button-xl__font-size)}.ghostkit-button-wrapper-align-left{--gkt-button__justify-content:flex-start}.ghostkit-button-wrapper-align-right{--gkt-button__justify-content:flex-end}.ghostkit-button-wrapper-align-center{--gkt-button__justify-content:center}.ghostkit-button-wrapper-gap-no{--gkt-button__gap:0%}.ghostkit-button-wrapper-gap-sm{--gkt-button__gap:15px}.ghostkit-button-wrapper-gap-md{--gkt-button__gap:30px}.ghostkit-button-wrapper-gap-lg{--gkt-button__gap:45px}.ghostkit-button-wrapper .blocks-rich-text__tinymce{cursor:text}.ghostkit-button-wrapper .block-list-appender__toggle{min-width:unset}.ghostkit-button-wrapper .block-list-appender__toggle.has-icon svg{margin:0}.ghostkit-button .editor-rich-text__tinymce{line-height:1em}.ghostkit-button.ghostkit-button-is-normal-state{background-color:var(--gkt-button__background-color);border:var(--gkt-button__border-width) solid var(--gkt-button__border-color);box-shadow:var(--gkt-button__box-shadow);color:var(--gkt-button__color)}.ghostkit-button.ghostkit-button-is-hover-state{background-color:var(--gkt-button-hover__background-color);border:var(--gkt-button-hover__border-width) solid var(--gkt-button-hover__border-color);box-shadow:var(--gkt-button-hover__box-shadow);color:var(--gkt-button-hover__color)}.ghostkit-button.ghostkit-button-is-focus-state{background-color:var(--gkt-button-focus__background-color);border:var(--gkt-button-focus__border-width) solid var(--gkt-button-focus__border-color);box-shadow:var(--gkt-button-focus__box-shadow);color:var(--gkt-button-focus__color)}.ghostkit-carousel{--gkt-carousel--fade-edges__size:12%;--gkt-carousel--arrows__width:2.2em;--gkt-carousel--arrows__height:2.2em;--gkt-carousel--arrows__offset:0.5em;--gkt-carousel--arrows__font-size:0.9em;--gkt-carousel--arrows__color:var(--gkt-color-dark-gray);--gkt-carousel--arrows__background-color:#fff;--gkt-carousel--arrows__border-radius:50%;--gkt-carousel--arrows__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-carousel--arrows__opacity:0.5;--gkt-carousel--arrows-hover__box-shadow:0 2px 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-carousel--arrows-hover__opacity:1;--gkt-carousel--arrows-hover__transform:translateY(-1px);--gkt-carousel--bullets__width:0.4em;--gkt-carousel--bullets__height:0.4em;--gkt-carousel--bullets__margin-top:25px;--gkt-carousel--bullets__gap:0.8em;--gkt-carousel--bullets__background-color:var(--gkt-color-dark-gray);--gkt-carousel--bullets__border-radius:50%;--gkt-carousel--bullets__opacity:0.2;--gkt-carousel--bullets-hover__opacity:0.5;--gkt-carousel--bullets-active__opacity:1;--gkt-carousel__transition-duration:var(--gkt-transition-duration);--gkt-carousel__transition-easing:var(--gkt-transition-easing);--gkt-carousel-gap:20px;--gkt-carousel-slides-per-view:2;overflow-x:auto;overflow-y:hidden;padding-bottom:10px;position:relative}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;gap:var(--gkt-carousel-gap);margin:0}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{--gkt-carousel-slide-width:calc(100%/var(--gkt-carousel-slides-per-view) - var(--gkt-carousel-gap)*(var(--gkt-carousel-slides-per-view) - 1)/var(--gkt-carousel-slides-per-view));background-color:hsla(0,0%,49%,.05);flex:0 0 var(--gkt-carousel-slide-width);margin:0;max-width:var(--gkt-carousel-slide-width);min-width:var(--gkt-carousel-slide-width)}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block:last-of-type{margin-right:0}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{min-width:auto}.ghostkit-carousel-fade-edges{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--gkt-carousel--fade-edges__size),#000 calc(100% - var(--gkt-carousel--fade-edges__size)),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 var(--gkt-carousel--fade-edges__size),#000 calc(100% - var(--gkt-carousel--fade-edges__size)),transparent 100%)}.block-editor-inserter__preview .ghostkit-carousel-slide .block-editor-block-list__layout,.block-editor-inserter__preview .ghostkit-carousel-slide .block-editor-block-list__layout .wp-block-image{margin:0}.editor-styles-wrapper .ghostkit-changelog,.ghostkit-changelog{--gkt-changelog--version-badge__min-width:3.6em;--gkt-changelog--version-badge__padding-v:0.1em;--gkt-changelog--version-badge__padding-h:0.6em;--gkt-changelog--version-badge__font-weight:600;--gkt-changelog--version-badge__color:#fff;--gkt-changelog--version-badge__background-color:var(--gkt-color-dark-gray);--gkt-changelog--version-badge__border-radius:1em;--gkt-changelog--date__margin-left:1em;--gkt-changelog--date__font-size:1em;--gkt-changelog--line__top:2.5em;--gkt-changelog--line__left:calc(var(--gkt-changelog--version-badge__min-width)/2);--gkt-changelog--line__width:3px;--gkt-changelog--line__background-color:var(--gkt-color-dark-gray);--gkt-changelog--line__border-radius:1em;--gkt-changelog--line__opacity:0.2;--gkt-changelog--content__margin-top:1.5em;--gkt-changelog--content-lists__margin-bottom:1em;--gkt-changelog--content-badges__min-width:6.5em;--gkt-changelog--content-badges__margin-right:1em;--gkt-changelog--content-badges__font-size:0.65em;--gkt-changelog--content-badges__font-weight:600;--gkt-changelog--content-badges__text-transform:uppercase}.editor-styles-wrapper .ghostkit-changelog{align-items:center;display:flex;flex-wrap:wrap;position:relative;z-index:0}.editor-styles-wrapper .ghostkit-changelog:before{background-color:var(--gkt-changelog--line__background-color);border-radius:var(--gkt-changelog--line__border-radius);bottom:0;content:"";display:block;left:var(--gkt-changelog--line__left);opacity:var(--gkt-changelog--line__opacity);position:absolute;top:var(--gkt-changelog--line__top);width:var(--gkt-changelog--line__width);z-index:-1}.editor-styles-wrapper .ghostkit-changelog-version{background-color:var(--gkt-changelog--version-badge__background-color);border-radius:var(--gkt-changelog--version-badge__border-radius);color:var(--gkt-changelog--version-badge__color);font-weight:var(--gkt-changelog--version-badge__font-weight);min-width:var(--gkt-changelog--version-badge__min-width);padding:var(--gkt-changelog--version-badge__padding-v) var(--gkt-changelog--version-badge__padding-h);text-align:center}.editor-styles-wrapper .ghostkit-changelog .ghostkit-changelog-date{font-size:var(--gkt-changelog--date__font-size);margin:0;margin-left:var(--gkt-changelog--date__margin-left)}.editor-styles-wrapper .ghostkit-changelog-more{margin-top:var(--gkt-changelog--content__margin-top);padding-left:calc(var(--gkt-changelog--version-badge__min-width) + var(--gkt-changelog--date__margin-left));width:100%}@media screen and (max-width:768px){.editor-styles-wrapper .ghostkit-changelog-more{padding-left:0}}.editor-styles-wrapper .ghostkit-changelog .ghostkit-badge{font-size:var(--gkt-changelog--content-badges__font-size);font-weight:var(--gkt-changelog--content-badges__font-weight);margin-right:var(--gkt-changelog--content-badges__margin-right);min-width:var(--gkt-changelog--content-badges__min-width);text-transform:var(--gkt-changelog--content-badges__text-transform)}.ghostkit-changelog .ghostkit-changelog-date h2{font-size:inherit}.ghostkit-countdown{--gkt-countdown--unit__min-width:6.2em;--gkt-countdown--unit__padding-v:0.7em;--gkt-countdown--unit__padding-h:1.4em;--gkt-countdown--unit-number__font-weight:700;--gkt-countdown--unit-number__font-size:2em;--gkt-countdown--unit-number__color:var(--gkt-color-primary);--gkt-countdown--unit-label__font-size:1em;--gkt-countdown--unit-label__color:inherit;display:flex;flex-wrap:wrap}.ghostkit-countdown-units-align-left{justify-content:flex-start}.ghostkit-countdown-units-align-center{justify-content:center}.ghostkit-countdown-units-align-right{justify-content:flex-end}.ghostkit-countdown-unit{flex:0 0 auto;min-width:var(--gkt-countdown--unit__min-width);padding:var(--gkt-countdown--unit__padding-v) var(--gkt-countdown--unit__padding-h);text-align:center}.ghostkit-countdown-unit span{display:block}.ghostkit-countdown-unit-number{color:var(--gkt-countdown--unit-number__color);font-size:var(--gkt-countdown--unit-number__font-size);font-weight:var(--gkt-countdown--unit-number__font-weight)}.ghostkit-countdown-unit-label{color:var(--gkt-countdown--unit-label__color);font-size:var(--gkt-countdown--unit-label__font-size)}.ghostkit-countdown-expire-action{background-color:#f9f9f9;border:1px solid #efefef;border-radius:3px;display:none;display:block;margin-top:15px;padding:15px;width:100%}.ghostkit-countdown-expire-action-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600}.ghostkit-counter-box{--gkt-counter-box__padding-v:1.5em;--gkt-counter-box__padding-h:1.5em;--gkt-counter-box__border-width:1px;--gkt-counter-box__border-color:var(--gkt-color-light-gray-darken);--gkt-counter-box__border-radius:var(--gkt-border-radius);--gkt-counter-box--number__offset:1.5em;--gkt-counter-box--number__font-size:2.5em;--gkt-counter-box--number__color:var(--gkt-color-primary);--gkt-counter-box__transition-duration:var(--gkt-transition-duration);--gkt-counter-box__transition-easing:var(--gkt-transition-easing);border:var(--gkt-counter-box__border-width) solid var(--gkt-counter-box__border-color);border-radius:var(--gkt-counter-box__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-counter-box__padding-v) var(--gkt-counter-box__padding-h)}.ghostkit-counter-box-with-link{position:relative}.ghostkit-counter-box-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-counter-box-number{color:var(--gkt-counter-box--number__color);display:flex;font-size:var(--gkt-counter-box--number__font-size);transition:var(--gkt-counter-box__transition-duration) color var(--gkt-counter-box__transition-easing)}.ghostkit-counter-box-number~.ghostkit-counter-box-content{padding-left:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-right{order:2;padding-right:0}.ghostkit-counter-box-number-align-right~.ghostkit-counter-box-content{padding-left:0;padding-right:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-top{flex:100%;justify-content:center;padding-right:0}.ghostkit-counter-box-number-align-top~.ghostkit-counter-box-content{flex:100%;padding-left:0;padding-top:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-top-align-left{justify-content:flex-start}.ghostkit-counter-box-number-top-align-center{justify-content:center}.ghostkit-counter-box-number-top-align-right{justify-content:flex-end}.ghostkit-counter-box-content{flex:1}.ghostkit-divider{--gkt-divider__padding-v:0.75em;--gkt-divider__padding-h:0;--gkt-divider__border-width:1px;--gkt-divider__border-color:var(--gkt-color-dark-gray);--gkt-divider--icon__padding-v:0;--gkt-divider--icon__padding-h:1em;--gkt-divider--icon__font-size:1em;--gkt-divider--icon__color:var(--gkt-color-dark-gray);--gkt-divider__transition-duration:var(--gkt-transition-duration);--gkt-divider__transition-easing:var(--gkt-transition-easing);align-items:center;display:flex;flex-wrap:wrap;padding:var(--gkt-divider__padding-v) var(--gkt-divider__padding-h)}.ghostkit-divider:after,.ghostkit-divider:before{border-bottom:var(--gkt-divider__border-width) solid var(--gkt-divider__border-color);content:"";display:block;flex:1;max-width:50%;transition:var(--gkt-divider__transition-duration) border-color var(--gkt-divider__transition-easing)}.ghostkit-divider:not(.ghostkit-divider-with-icon):before{max-width:100%}.ghostkit-divider:not(.ghostkit-divider-with-icon):after{display:none}.ghostkit-divider-type-solid:after,.ghostkit-divider-type-solid:before{border-bottom-style:solid}.ghostkit-divider-type-dashed:after,.ghostkit-divider-type-dashed:before{border-bottom-style:dashed}.ghostkit-divider-type-dotted:after,.ghostkit-divider-type-dotted:before{border-bottom-style:dotted}.ghostkit-divider-type-double:after,.ghostkit-divider-type-double:before{border-bottom-style:double}.ghostkit-divider-icon{color:var(--gkt-divider--icon__color);display:flex;font-size:var(--gkt-divider--icon__font-size);padding:var(--gkt-divider--icon__padding-v) var(--gkt-divider--icon__padding-h);transition:var(--gkt-divider__transition-duration) color var(--gkt-divider__transition-easing)}.ghostkit-form{--gkt-form--field__font-family:inherit;--gkt-form--field__font-size:1em;--gkt-form--field__min-height:1.7em;--gkt-form--field-label__margin-bottom:0.5em;--gkt-form--field-label-required-mark__margin-left:0.5em;--gkt-form--field-label-required-mark__color:var(--gkt-color-danger);--gkt-form--field-description__margin-top:0.5em;--gkt-form--field-description__line-height:1;--gkt-form--field-description__opacity:0.5;--gkt-form--field-row__template-columns:repeat(auto-fit,minmax(200px,1fr));--gkt-form--field-row__gap:30px;--gkt-form--field-name-row-with-middle__template-columns:1.5fr 1fr 1.5fr;--gkt-form--field-radio-inline__margin-right:1.2em;--gkt-form--field-checkbox-inline__margin-right:1.2em;--gkt-form--field-textarea__min-height:7em;--gkt-form--errors__margin-top:0.5em;--gkt-form--errors__font-size:0.75em;--gkt-form--errors__line-height:0.75em;--gkt-form--errors__color:var(--gkt-color-danger);--gkt-form--field-success__border-color:var(--gkt-color-success);--gkt-form--field-error__border-color:var(--gkt-color-danger);--gkt-form--alert-success__color:var(--gkt-color-success);--gkt-form--alert-error__color:var(--gkt-color-danger);--gkt-form__transition-duration:var(--gkt-transition-duration);--gkt-form__transition-easing:var(--gkt-transition-easing)}.ghostkit-form-field-label{display:inline-block;margin-bottom:var(--gkt-form--field-label__margin-bottom)}.ghostkit-form-field-label .required{color:var(--gkt-form--field-label-required-mark__color);margin-left:var(--gkt-form--field-label-required-mark__margin-left)}.ghostkit-form-field-label-hidden{left:-99999px;position:absolute}.ghostkit-form-field-description{display:block;line-height:var(--gkt-form--field-description__line-height);margin-top:var(--gkt-form--field-description__margin-top);opacity:var(--gkt-form--field-description__opacity)}.ghostkit-form-field-description-hidden{left:-99999px;position:absolute}.ghostkit-form-field-row{display:grid;gap:var(--gkt-form--field-row__gap);grid-template-columns:var(--gkt-form--field-row__template-columns)}@media(max-width:768px){.ghostkit-form-field-row{grid-template-columns:1fr}}.ghostkit-form-field-name-with-middle .ghostkit-form-field-row{grid-template-columns:var(--gkt-form--field-name-row-with-middle__template-columns)}@media(max-width:768px){.ghostkit-form-field-name-with-middle .ghostkit-form-field-row{grid-template-columns:1fr}}.ghostkit-form-field input:not([type=checkbox],[type=radio]),.ghostkit-form-field select,.ghostkit-form-field textarea{font-family:var(--gkt-form--field__font-family);font-size:var(--gkt-form--field__font-size);max-width:100%;min-height:var(--gkt-form--field__min-height);width:100%}.ghostkit-form-field textarea{min-height:var(--gkt-form--field-textarea__min-height)}.ghostkit-form-field-radio .ghostkit-form-field-radio-item{display:block}.ghostkit-form-field-radio-inline .ghostkit-form-field-radio-item{display:inline-block;margin-right:var(--gkt-form--field-radio-inline__margin-right)}.ghostkit-form-field-checkbox .ghostkit-form-field-checkbox-item{display:block}.ghostkit-form-field-checkbox-inline .ghostkit-form-field-checkbox-item{display:inline-block;margin-right:var(--gkt-form--field-checkbox-inline__margin-right)}.ghostkit-form-submit-button{--gkt-button__gap:0%;--gkt-button__align-items:flex-start;--gkt-button__justify-content:flex-start;display:flex;justify-content:var(--gkt-button__align-items)}.ghostkit-form-submit-button-align-left{--gkt-button__align-items:flex-start}.ghostkit-form-submit-button-align-right{--gkt-button__align-items:flex-end}.ghostkit-form-submit-button-align-center{--gkt-button__align-items:center}.ghostkit-form .ghostkit-alert-form-success{--gkt-alert__border-color:var(--gkt-form--alert-success__color)}.ghostkit-form .ghostkit-alert-form-error{--gkt-alert__border-color:var(--gkt-form--alert-error__color)}.ghostkit-form-was-validated input:valid,.ghostkit-form-was-validated select:valid,.ghostkit-form-was-validated textarea:valid{border-color:var(--gkt-form--field-success__border-color)}.ghostkit-form-was-validated input:invalid,.ghostkit-form-was-validated select:invalid,.ghostkit-form-was-validated textarea:invalid{border-color:var(--gkt-form--field-error__border-color)}.ghostkit-form .ghostkit-form-field-error{color:var(--gkt-form--errors__color);font-family:inherit;font-size:var(--gkt-form--errors__font-size);line-height:var(--gkt-form--errors__line-height);margin:0;margin-top:var(--gkt-form--errors__margin-top);padding:0}.ghostkit-form .ghostkit-form-field-error:empty,.ghostkit-form .ghostkit-form-field-error[aria-hidden=true]{display:none}.ghostkit-form [name=ghostkit_verify_email]{height:0;left:0;opacity:0;position:absolute;top:0;width:0;z-index:-1}.ghostkit-form>.block-editor-inserter{display:block;margin-top:20px}.ghostkit-form-field-row>div>.components-base-control,.ghostkit-form-field>.components-base-control{font-family:inherit;font-size:1em}.ghostkit-form-field-description{margin-bottom:0}.ghostkit-form-field-label>.block-editor-rich-text{display:inline-block}.ghostkit-form-field .components-select-control__input,.ghostkit-form-field .components-text-control__input,.ghostkit-form-field .components-textarea-control__input,.ghostkit-form-field .ghostkit-form-field-checkbox-item,.ghostkit-form-field .ghostkit-form-field-radio-item{pointer-events:none}.ghostkit-form-field .components-select-control__input{max-width:none}.ghostkit-form-submit-button>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;justify-content:var(--gkt-button__align-items)}.ghostkit-form-submit-button>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{margin:0}.ghostkit-field-options-item{align-items:center;display:flex;margin-bottom:8px}.ghostkit-field-options-item>[type=checkbox],.ghostkit-field-options-item>[type=radio]{margin-bottom:0}.ghostkit-field-options-item>.components-base-control{flex:1}.ghostkit-field-options-item>.components-button{height:30px;margin-left:3px;padding-bottom:4px;padding-right:0;padding-top:4px}.ghostkit-field-options-item .components-base-control__field{margin-bottom:0}.ghostkit-field-options-item .components-text-control__input{pointer-events:inherit}.ghostkit-field-options>.components-button{margin-top:-4px;padding-left:16px;padding-top:0}.ghostkit-gif img{height:auto;width:100%}.ghostkit-gif-wrap .components-base-control__field{text-align:center}.ghostkit-gif-wrap .components-placeholder__label svg{margin-right:1ch}.ghostkit-gif-input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.ghostkit-gif-input-container .ghostkit-gif-input{flex:1;min-width:100px}.ghostkit-gif-input-container .ghostkit-gif-input .components-base-control__field{margin-bottom:0}.ghostkit-gif-input-container .ghostkit-gif-input .components-text-control__input{height:36px}.ghostkit-gif-thumbnails-container{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;grid-gap:10px;margin-bottom:13px;width:100%}.components-panel .ghostkit-gif-thumbnails-container{grid-template-columns:1fr 1fr}.ghostkit-gif-thumbnail-container{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:3px;cursor:pointer;padding:0 0 100%;transition:box-shadow .2s;width:100%}.ghostkit-gif-thumbnail-container:hover{box-shadow:0 0 0 2px #555d66}.ghostkit-gif-thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.ghostkit-gist .blob-wrapper{-webkit-overflow-scrolling:touch}.ghostkit-gist .blob-num{border:none}.ghostkit-gist table{table-layout:auto}.ghostkit-gist.components-placeholder{align-items:flex-start;background-color:#f8f9f9;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;min-height:0;padding:14px}.ghostkit-gist.components-placeholder .components-placeholder__label{justify-content:flex-start;margin-bottom:0;margin-right:14px;margin-top:5px}.ghostkit-gist.components-placeholder .components-placeholder__label~*{width:auto}.ghostkit-gist.components-placeholder .components-placeholder__fieldset{align-items:flex-end;flex:1;flex-direction:column;justify-content:flex-start;max-width:none}.ghostkit-gist.components-placeholder .components-placeholder__fieldset>a{margin-left:10px}.ghostkit-gist.components-placeholder .components-base-control{margin:0;width:100%}.ghostkit-gist-toolbar-url .components-base-control__field{align-items:center;display:flex;margin:7px;width:300px}.ghostkit-google-maps{--gkt-google-maps__background-color:var(--gkt-color-light-gray);--gkt-google-maps--placeholder-icon__width:36px;--gkt-google-maps--placeholder-icon__height:36px;--gkt-google-maps--placeholder-icon__background-image:url('data:image/svg+xml;utf8,');--gkt-google-maps--placeholder-icon__opacity:0.3}.ghostkit-google-maps-fullheight .ghostkit-google-maps-placeholder,.ghostkit-google-maps-fullheight .ghostkit-google-maps-wrap{height:100vh}.ghostkit-google-maps-wrap .components-resizable-box__container>div{height:100%;width:100%}.ghostkit-google-maps-search{background-color:#f9f9f9;border:1px solid #efefef;border-radius:3px;display:flex;flex-wrap:wrap;margin-top:15px;padding:15px 0}.ghostkit-google-maps-search>div{flex:1;max-width:250px;min-width:250px;padding-left:15px;padding-right:15px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;padding-top:20px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note p{line-height:1.4;margin-top:0}.ghostkit-google-maps-search .ghostkit-google-maps-search-note p+p{margin-top:-10px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note small{font-size:12px;opacity:.6}.ghostkit-google-maps-search .ghostkit-google-maps-search-note small+small{margin-left:10px}.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper,.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper>div{margin-bottom:0}.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper+.ghostkit-component-dropdown-picker-wrapper .components-button{border-top:none}.ghostkit-google-maps-marker-remove{box-shadow:none!important;color:#b9b9b9;float:right;font-size:10px;padding:0}.ghostkit-google-maps-marker-remove:focus,.ghostkit-google-maps-marker-remove:hover{color:#e73535}.ghostkit-component-google-maps-markers>.components-popover__content{display:flex;flex-direction:column;gap:10px}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-icon{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-component-google-maps-markers .ghostkit-google-maps-icon-reset{float:right}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text{border:1px solid #e8e8e8;padding:10px}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text p:last-child{margin-bottom:0}.ghostkit-google-maps-placeholder{background-color:var(--gkt-google-maps__background-color);position:relative}.ghostkit-google-maps-placeholder svg{left:50%;opacity:var(--gkt-google-maps--placeholder-icon__opacity);position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-google-maps-placeholder .ghostkit-google-maps-placeholder-key{background-color:#fff;border:1px solid #dadada;bottom:0;font-size:13px;margin:10px;padding:5px 10px;position:absolute}.pac-container{box-shadow:0 2px 17px rgba(0,0,0,.2)}.pac-container:after{background-position:calc(100% - (100% - (100% - 7px))) 1px;background-size:80px;height:20px}.pac-container .pac-item{border-top:1px solid #f3f3f3;padding:2px 6px}.ghostkit-grid{--gkt-grid__gap:15px;--gkt-grid__gap-vertical:var(--gkt-grid__gap);--gkt-grid__justify-content:flex-start;--gkt-grid--column__align-self:flex-start;--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__order:initial;--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column-sticky__offset:0}.ghostkit-grid-inner{display:flex;flex-wrap:wrap;justify-content:var(--gkt-grid__justify-content);margin-left:calc(var(--gkt-grid__gap)*-1);row-gap:var(--gkt-grid__gap-vertical)}.ghostkit-col,.ghostkit-grid{padding-top:.02px}.ghostkit-col{display:flex;flex:var(--gkt-grid--column__flex);flex-wrap:wrap;margin-left:var(--gkt-grid__gap);max-width:var(--gkt-grid--column__max-width);min-height:1px;order:var(--gkt-grid--column__order);position:relative;width:var(--gkt-grid--column__width)}.ghostkit-col-content{align-self:var(--gkt-grid--column__align-self);width:100%}.ghostkit-col{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-first{--gkt-grid--column__order:-1}.ghostkit-col-order-last{--gkt-grid--column__order:13}.ghostkit-col-order-0{--gkt-grid--column__order:0}.ghostkit-col-order-1{--gkt-grid--column__order:1}.ghostkit-col-order-2{--gkt-grid--column__order:2}.ghostkit-col-order-3{--gkt-grid--column__order:3}.ghostkit-col-order-4{--gkt-grid--column__order:4}.ghostkit-col-order-5{--gkt-grid--column__order:5}.ghostkit-col-order-6{--gkt-grid--column__order:6}.ghostkit-col-order-7{--gkt-grid--column__order:7}.ghostkit-col-order-8{--gkt-grid--column__order:8}.ghostkit-col-order-9{--gkt-grid--column__order:9}.ghostkit-col-order-10{--gkt-grid--column__order:10}.ghostkit-col-order-11{--gkt-grid--column__order:11}.ghostkit-col-order-12{--gkt-grid--column__order:12}@media(max-width:1200px){.ghostkit-col-xl{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-xl-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-xl-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-xl-first{--gkt-grid--column__order:-1}.ghostkit-col-order-xl-last{--gkt-grid--column__order:13}.ghostkit-col-order-xl-0{--gkt-grid--column__order:0}.ghostkit-col-order-xl-1{--gkt-grid--column__order:1}.ghostkit-col-order-xl-2{--gkt-grid--column__order:2}.ghostkit-col-order-xl-3{--gkt-grid--column__order:3}.ghostkit-col-order-xl-4{--gkt-grid--column__order:4}.ghostkit-col-order-xl-5{--gkt-grid--column__order:5}.ghostkit-col-order-xl-6{--gkt-grid--column__order:6}.ghostkit-col-order-xl-7{--gkt-grid--column__order:7}.ghostkit-col-order-xl-8{--gkt-grid--column__order:8}.ghostkit-col-order-xl-9{--gkt-grid--column__order:9}.ghostkit-col-order-xl-10{--gkt-grid--column__order:10}.ghostkit-col-order-xl-11{--gkt-grid--column__order:11}.ghostkit-col-order-xl-12{--gkt-grid--column__order:12}}@media(max-width:992px){.ghostkit-col-lg{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-lg-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-lg-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-lg-first{--gkt-grid--column__order:-1}.ghostkit-col-order-lg-last{--gkt-grid--column__order:13}.ghostkit-col-order-lg-0{--gkt-grid--column__order:0}.ghostkit-col-order-lg-1{--gkt-grid--column__order:1}.ghostkit-col-order-lg-2{--gkt-grid--column__order:2}.ghostkit-col-order-lg-3{--gkt-grid--column__order:3}.ghostkit-col-order-lg-4{--gkt-grid--column__order:4}.ghostkit-col-order-lg-5{--gkt-grid--column__order:5}.ghostkit-col-order-lg-6{--gkt-grid--column__order:6}.ghostkit-col-order-lg-7{--gkt-grid--column__order:7}.ghostkit-col-order-lg-8{--gkt-grid--column__order:8}.ghostkit-col-order-lg-9{--gkt-grid--column__order:9}.ghostkit-col-order-lg-10{--gkt-grid--column__order:10}.ghostkit-col-order-lg-11{--gkt-grid--column__order:11}.ghostkit-col-order-lg-12{--gkt-grid--column__order:12}}@media(max-width:768px){.ghostkit-col-md{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-md-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-md-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-md-first{--gkt-grid--column__order:-1}.ghostkit-col-order-md-last{--gkt-grid--column__order:13}.ghostkit-col-order-md-0{--gkt-grid--column__order:0}.ghostkit-col-order-md-1{--gkt-grid--column__order:1}.ghostkit-col-order-md-2{--gkt-grid--column__order:2}.ghostkit-col-order-md-3{--gkt-grid--column__order:3}.ghostkit-col-order-md-4{--gkt-grid--column__order:4}.ghostkit-col-order-md-5{--gkt-grid--column__order:5}.ghostkit-col-order-md-6{--gkt-grid--column__order:6}.ghostkit-col-order-md-7{--gkt-grid--column__order:7}.ghostkit-col-order-md-8{--gkt-grid--column__order:8}.ghostkit-col-order-md-9{--gkt-grid--column__order:9}.ghostkit-col-order-md-10{--gkt-grid--column__order:10}.ghostkit-col-order-md-11{--gkt-grid--column__order:11}.ghostkit-col-order-md-12{--gkt-grid--column__order:12}}@media(max-width:576px){.ghostkit-col-sm{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-sm-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-sm-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-sm-first{--gkt-grid--column__order:-1}.ghostkit-col-order-sm-last{--gkt-grid--column__order:13}.ghostkit-col-order-sm-0{--gkt-grid--column__order:0}.ghostkit-col-order-sm-1{--gkt-grid--column__order:1}.ghostkit-col-order-sm-2{--gkt-grid--column__order:2}.ghostkit-col-order-sm-3{--gkt-grid--column__order:3}.ghostkit-col-order-sm-4{--gkt-grid--column__order:4}.ghostkit-col-order-sm-5{--gkt-grid--column__order:5}.ghostkit-col-order-sm-6{--gkt-grid--column__order:6}.ghostkit-col-order-sm-7{--gkt-grid--column__order:7}.ghostkit-col-order-sm-8{--gkt-grid--column__order:8}.ghostkit-col-order-sm-9{--gkt-grid--column__order:9}.ghostkit-col-order-sm-10{--gkt-grid--column__order:10}.ghostkit-col-order-sm-11{--gkt-grid--column__order:11}.ghostkit-col-order-sm-12{--gkt-grid--column__order:12}}.ghostkit-grid-align-items-start{--gkt-grid--column__align-self:flex-start}.ghostkit-grid-align-items-center{--gkt-grid--column__align-self:center}.ghostkit-grid-align-items-end{--gkt-grid--column__align-self:flex-end}.ghostkit-col-align-self-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-end{--gkt-grid--column__align-self:flex-end}@media(max-width:1200px){.ghostkit-col-align-self-xl-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-xl-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-xl-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:992px){.ghostkit-col-align-self-lg-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-lg-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-lg-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:768px){.ghostkit-col-align-self-md-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-md-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-md-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:576px){.ghostkit-col-align-self-sm-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-sm-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-sm-end{--gkt-grid--column__align-self:flex-end}}.ghostkit-grid-justify-content-center{--gkt-grid__justify-content:center}.ghostkit-grid-justify-content-end{--gkt-grid__justify-content:flex-end}.ghostkit-grid-justify-content-around{--gkt-grid__justify-content:space-around}.ghostkit-grid-justify-content-between{--gkt-grid__justify-content:space-between}.ghostkit-grid-gap-no{--gkt-grid__gap:0%}.ghostkit-grid-gap-sm{--gkt-grid__gap:15px}.ghostkit-grid-gap-md{--gkt-grid__gap:30px}.ghostkit-grid-gap-lg{--gkt-grid__gap:45px}.ghostkit-col-sticky-top>.ghostkit-col-content{position:sticky;top:var(--gkt-grid--column-sticky__offset)}.ghostkit-col-sticky-bottom{display:flex;flex-direction:column}.ghostkit-col-sticky-bottom>.ghostkit-col-content{bottom:var(--gkt-grid--column-sticky__offset);margin-top:auto;position:sticky}.ghostkit-col-with-bg,.ghostkit-grid-with-bg{position:relative;z-index:0}.ghostkit-col-with-bg>.nk-awb,.ghostkit-col-with-bg>.nk-awb .nk-awb-inner,.ghostkit-col-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-col-with-bg>.nk-awb .nk-awb-wrap,.ghostkit-grid-with-bg>.nk-awb,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-grid-with-bg>.nk-awb .nk-awb-wrap{bottom:0;left:0;margin:0;position:absolute;right:0;top:0;z-index:-99}.ghostkit-col-with-bg>.nk-awb .nk-awb-wrap,.ghostkit-grid-with-bg>.nk-awb .nk-awb-wrap{overflow:hidden}.ghostkit-col-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-grid-with-bg>.nk-awb .nk-awb-overlay{z-index:0}.ghostkit-col-with-bg>.nk-awb .nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;z-index:-100}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner{background-size:contain}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=pattern]>.nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=pattern]>.nk-awb-inner{background-repeat:repeat;background-size:auto}.ghostkit-col-with-bg>.nk-awb .nk-awb-inner>.jarallax-img,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner>.jarallax-img{height:100%;left:0;-o-object-fit:cover;object-fit:cover;pointer-events:none;position:absolute;top:0;width:100%;z-index:-100}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner>.jarallax-img,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner>.jarallax-img{-o-object-fit:contain;object-fit:contain}[data-ghostkit-grid-templates-modal-only]{display:none}.ghostkit-col>.awb-gutenberg-preview-block,.ghostkit-grid>.awb-gutenberg-preview-block{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:border .15s ease-in-out}.ghostkit-col>.awb-gutenberg-preview-block:empty,.ghostkit-grid>.awb-gutenberg-preview-block:empty{border:none}.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-overlay,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-overlay{left:0;position:absolute;top:0}.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-inner>div,.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-inner>img,.ghostkit-col>.awb-gutenberg-preview-block>div,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-inner>div,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-inner>img,.ghostkit-grid>.awb-gutenberg-preview-block>div{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.block-editor-inserter__preview .ghostkit-col-content .block-editor-block-list__layout{margin-left:0;margin-right:0}.block-editor-block-list__block .ghostkit-col-content>.block-list-appender .block-editor-inserter__toggle.components-button{display:block}.ghostkit-select-layout{padding:25px}.ghostkit-select-layout .components-placeholder__fieldset>em{margin-bottom:25px}.ghostkit-select-layout .ghostkit-grid-layout-preview{box-sizing:border-box;display:flex;flex-wrap:wrap;margin-left:-7px;margin-right:-7px}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn{--gkt-grid__gap:0%;background:none;border:2px solid rgba(85,93,102,.75);border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;margin-bottom:14px;margin-left:7px;margin-right:7px;overflow:hidden;padding:0;transition:border-color .15s,background-color .15s;width:85px}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn .ghostkit-col{border-right:2px solid rgba(85,93,102,.75);box-sizing:border-box;height:40px;transition:border-color .15s}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn .ghostkit-col:last-of-type{border-right:none}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:focus,.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:hover{background-color:#fff;border-color:#555d66}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:focus .ghostkit-col,.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:hover .ghostkit-col{border-color:#555d66}.ghostkit-select-layout .components-button.is-primary{font-size:14px;height:35px;margin-top:10px;padding:0 15px}.ghostkit-background-controls>.components-panel__body>.components-panel__body{border:1px solid #e0e0e0}.ghostkit-icon{--gkt-icon__justify:center;--gkt-icon__width:auto;--gkt-icon__color:inherit;--gkt-icon__background:none;display:grid}.ghostkit-icon svg{display:block;height:100%;width:100%}.ghostkit-icon-flip-vertical svg{transform:scaleY(-1)}.ghostkit-icon-flip-horizontal svg{transform:scaleX(-1)}.ghostkit-icon-flip-vertical.ghostkit-icon-flip-horizontal svg{transform:scaleY(-1) scaleX(-1)}.ghostkit-icon-inner{background:var(--gkt-icon__background);color:var(--gkt-icon__color);justify-self:var(--gkt-icon__justify);width:var(--gkt-icon__width)}.ghostkit-icon .components-dropdown{display:block}.ghostkit-icon>span{transition:transform .15s}.ghostkit-icon-box{--gkt-icon-box__padding-v:1.5em;--gkt-icon-box__padding-h:1.5em;--gkt-icon-box__border-width:1px;--gkt-icon-box__border-color:var(--gkt-color-light-gray-darken);--gkt-icon-box__border-radius:var(--gkt-border-radius);--gkt-icon-box--icon__offset:1.5em;--gkt-icon-box--icon__font-size:1.5em;--gkt-icon-box--icon__color:var(--gkt-color-primary);--gkt-icon-box__transition-duration:var(--gkt-transition-duration);--gkt-icon-box__transition-easing:var(--gkt-transition-easing);border:var(--gkt-icon-box__border-width) solid var(--gkt-icon-box__border-color);border-radius:var(--gkt-icon-box__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-icon-box__padding-v) var(--gkt-icon-box__padding-h)}.ghostkit-icon-box-with-link{position:relative}.ghostkit-icon-box-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-icon-box-icon{color:var(--gkt-icon-box--icon__color);display:flex;font-size:var(--gkt-icon-box--icon__font-size);transition:var(--gkt-icon-box__transition-duration) color var(--gkt-icon-box__transition-easing)}.ghostkit-icon-box-icon~.ghostkit-icon-box-content{padding-left:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-right{order:2;padding-right:0}.ghostkit-icon-box-icon-align-right~.ghostkit-icon-box-content{padding-left:0;padding-right:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-top{flex:100%;justify-content:center;padding-right:0}.ghostkit-icon-box-icon-top-align-left{justify-content:flex-start}.ghostkit-icon-box-icon-top-align-center{justify-content:center}.ghostkit-icon-box-icon-top-align-right{justify-content:flex-end}.ghostkit-icon-box-icon-align-top~.ghostkit-icon-box-content{flex:100%;padding-left:0;padding-top:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-content{flex:1}.ghostkit-image-compare{--gkt-image-compare__position:50%;--gkt-image-compare--divider__width:3px;--gkt-image-compare--divider__background-color:#fff;--gkt-image-compare--divider-icons__font-size:1.3em;--gkt-image-compare--divider-icons__offset:0.3em;--gkt-image-compare--divider-icons__color:#000;--gkt-image-compare--divider-hover-icons__offset:0.35em;--gkt-image-compare--divider-button__width:50px;--gkt-image-compare--divider-button__height:50px;--gkt-image-compare--divider-button__background-color:var(--gkt-image-compare--divider__background-color);--gkt-image-compare--label__backdrop-filter:brightness(0.75) blur(10px);--gkt-image-compare--label__offset:10px;--gkt-image-compare--label__max-width:30%;--gkt-image-compare--label__padding:0.3em 1.6em;--gkt-image-compare--label__font-size:0.8em;--gkt-image-compare--label__text-align:center;--gkt-image-compare--label__color:#fff;--gkt-image-compare--label__background-color:hsla(0,0%,100%,.3);--gkt-image-compare--label__border-radius:3px;--gkt-image-compare__transition-duration:var(--gkt-transition-duration);--gkt-image-compare__transition-easing:var(--gkt-transition-easing);cursor:pointer}.ghostkit-image-compare-images{overflow:hidden;position:relative}.ghostkit-image-compare-images img{display:block;height:auto;width:100%}.ghostkit-image-compare-image-after,.ghostkit-image-compare-image-before{transition:var(--gkt-image-compare__transition-duration) clip-path var(--gkt-image-compare__transition-easing)}.ghostkit-image-compare-image-before{clip-path:polygon(var(--gkt-image-compare__position) 0,var(--gkt-image-compare__position) 100%,0 100%,0 0)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-before{clip-path:polygon(100% 0,100% var(--gkt-image-compare__position),0 var(--gkt-image-compare__position),0 0)}.ghostkit-image-compare-image-after{bottom:0;clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 0);left:0;overflow:hidden;position:absolute;right:0;top:0}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after{clip-path:polygon(100% var(--gkt-image-compare__position),100% 100%,0 100%,0 var(--gkt-image-compare__position))}.ghostkit-image-compare-image-after img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ghostkit-image-compare-images-divider{background-color:var(--gkt-image-compare--divider__background-color);height:100%;left:var(--gkt-image-compare__position);margin-left:calc(var(--gkt-image-compare--divider__width)/-2);position:absolute;top:0;transition-duration:var(--gkt-image-compare__transition-duration);transition-property:left;transition-timing-function:var(--gkt-image-compare__transition-easing);width:var(--gkt-image-compare--divider__width);will-change:left,top}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider{height:var(--gkt-image-compare--divider__width);left:0;margin-left:0;margin-top:calc(var(--gkt-image-compare--divider__width)/-2);top:var(--gkt-image-compare__position);transition-property:top;width:100%}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider:after{bottom:auto;cursor:row-resize;height:var(--gkt-image-compare--divider-button__width);left:0;right:0;top:50%;transform:translateY(-50%);width:auto}.ghostkit-image-compare-images-divider:focus,.ghostkit-image-compare-images-divider:hover{--gkt-image-compare--divider-icons__offset:var(--gkt-image-compare--divider-hover-icons__offset)}.ghostkit-image-compare-images-divider:before{background-color:var(--gkt-image-compare--divider-button__background-color);border-radius:var(--gkt-image-compare--divider-button__width);height:var(--gkt-image-compare--divider-button__height);top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-image-compare-images-divider:after,.ghostkit-image-compare-images-divider:before{content:"";display:block;left:50%;position:absolute;width:var(--gkt-image-compare--divider-button__width)}.ghostkit-image-compare-images-divider:after{bottom:0;cursor:col-resize;top:0;transform:translateX(-50%)}.ghostkit-image-compare-images-divider-button-arrow-left,.ghostkit-image-compare-images-divider-button-arrow-right{color:var(--gkt-image-compare--divider-icons__color);font-size:var(--gkt-image-compare--divider-icons__font-size);left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);transition-duration:var(--gkt-image-compare__transition-duration);transition-property:margin-left;transition-timing-function:var(--gkt-image-compare__transition-easing)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left,.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{transition-property:margin-top}.ghostkit-image-compare-images-divider-button-arrow-left svg,.ghostkit-image-compare-images-divider-button-arrow-right svg{color:inherit;display:block;height:1em;max-width:none;width:1em}.ghostkit-image-compare-images-divider-button-arrow-left{margin-left:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left{margin-left:0;margin-top:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left>svg{transform:rotate(90deg)}.ghostkit-image-compare-images-divider-button-arrow-right{margin-left:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{margin-left:0;margin-top:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right>svg{transform:rotate(90deg)}.ghostkit-image-compare-image-label{-webkit-backdrop-filter:var(--gkt-image-compare--label__backdrop-filter);backdrop-filter:var(--gkt-image-compare--label__backdrop-filter);background-color:var(--gkt-image-compare--label__background-color);border-radius:var(--gkt-image-compare--label__border-radius);color:var(--gkt-image-compare--label__color);font-size:var(--gkt-image-compare--label__font-size);max-width:var(--gkt-image-compare--label__max-width);padding:var(--gkt-image-compare--label__padding);position:absolute;text-align:var(--gkt-image-compare--label__text-align);z-index:1}.ghostkit-image-compare-image-before-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-image-after-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{top:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{bottom:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{top:50%;transform:translateY(-50%)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-before-label{bottom:auto;left:auto;top:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after-label{bottom:var(--gkt-image-compare--label__offset);right:auto;top:auto}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{left:50%;transform:translateX(-50%)}.ghostkit-image-compare-placeholder .components-placeholder__fieldset{display:flex;flex-wrap:wrap}.ghostkit-image-compare-placeholder .components-placeholder__fieldset>.components-placeholder{box-shadow:none;flex:1}.ghostkit-image-compare-image-after,.ghostkit-image-compare-image-before,.ghostkit-image-compare-images-divider{transition-duration:0s}.ghostkit-instagram{--gkt-instagram--profile__margin-bottom:2.5em;--gkt-instagram--profile-avatar__border-radius:50%;--gkt-instagram--profile-avatar__offset:1.5em;--gkt-instagram--profile-elements__gap:1.2em;--gkt-instagram--profile-name__font-size:1.4em;--gkt-instagram--profile-stats__gap:1.2em;--gkt-instagram--profile-bio-title__margin-bottom:0.5em;--gkt-instagram--photos__gap:15px;--gkt-instagram--photos__columns:1}.ghostkit-instagram:after{clear:both;content:"";display:block;height:.01px}.ghostkit-instagram-profile{display:flex;flex-wrap:wrap;margin-bottom:var(--gkt-instagram--profile__margin-bottom)}.ghostkit-instagram-profile-avatar img{border-radius:var(--gkt-instagram--profile-avatar__border-radius);display:block;height:auto;margin:0;max-width:100%}.ghostkit-instagram-profile-side{flex:1;max-width:100%}.ghostkit-instagram-profile-avatar+.ghostkit-instagram-profile-side{margin-left:var(--gkt-instagram--profile-avatar__offset)}.ghostkit-instagram-profile-name{font-size:var(--gkt-instagram--profile-name__font-size)}.ghostkit-instagram-profile-name a{border-bottom:none;text-decoration:none}.ghostkit-instagram-profile-name a:focus,.ghostkit-instagram-profile-name a:hover{text-decoration:underline}.ghostkit-instagram-profile-stats{display:flex;flex-wrap:wrap}.ghostkit-instagram-profile-stats>div{margin-right:var(--gkt-instagram--profile-stats__gap)}.ghostkit-instagram-profile-stats>div:last-child{margin-right:0}.ghostkit-instagram-profile .ghostkit-instagram-profile-bio h2{font-size:inherit;margin:0;margin-bottom:var(--gkt-instagram--profile-bio-title__margin-bottom)}div+.ghostkit-instagram-profile-bio,div+.ghostkit-instagram-profile-stats,div+.ghostkit-instagram-profile-website{margin-top:var(--gkt-instagram--profile-elements__gap)}.ghostkit-instagram-items{display:flex;flex-wrap:wrap;margin-left:calc(var(--gkt-instagram--photos__gap)*-1);margin-top:calc(var(--gkt-instagram--photos__gap)*-1)}.ghostkit-instagram-item{flex:0 0 calc(100%/var(--gkt-instagram--photos__columns) - var(--gkt-instagram--photos__gap));margin-left:var(--gkt-instagram--photos__gap);margin-top:var(--gkt-instagram--photos__gap);max-width:calc(100%/var(--gkt-instagram--photos__columns) - var(--gkt-instagram--photos__gap))}.ghostkit-instagram-item img{display:block;height:auto;margin:0;max-width:100%;width:100%}.ghostkit-instagram-columns-2{--gkt-instagram--photos__columns:2}.ghostkit-instagram-columns-3{--gkt-instagram--photos__columns:3}.ghostkit-instagram-columns-4{--gkt-instagram--photos__columns:4}.ghostkit-instagram-columns-5{--gkt-instagram--photos__columns:5}.ghostkit-instagram-columns-6{--gkt-instagram--photos__columns:6}.ghostkit-instagram-columns-7{--gkt-instagram--photos__columns:7}.ghostkit-instagram-columns-8{--gkt-instagram--photos__columns:8}.ghostkit-instagram-columns-9{--gkt-instagram--photos__columns:9}.ghostkit-instagram-columns-10{--gkt-instagram--photos__columns:10}.ghostkit-instagram-gap-no{--gkt-instagram--photos__gap:0%}.ghostkit-instagram-gap-sm{--gkt-instagram--photos__gap:15px}.ghostkit-instagram-gap-md{--gkt-instagram--photos__gap:30px}.ghostkit-instagram-gap-lg{--gkt-instagram--photos__gap:45px}.ghostkit-instagram-spinner{margin-bottom:13px;width:100%}.ghostkit-instagram-spinner>span{float:left;margin:0}.ghostkit-instagram-items{margin-bottom:calc(var(--gkt-instagram--photos__gap)*-1);margin-top:0}.ghostkit-instagram-item{margin-bottom:var(--gkt-instagram--photos__gap);margin-top:0}.ghostkit-lottie{--gkt-lottie__ar:auto;--gkt-lottie__width:100%;aspect-ratio:var(--gkt-lottie__ar);min-height:20px;width:var(--gkt-lottie__width)}.ghostkit-pricing-table{--gkt-pricing-table__gap:15px;--gkt-pricing-table__align-items:flex-start;--gkt-pricing-table__columns:1;--gkt-pricing-table--item__padding-v:2.2em;--gkt-pricing-table--item__padding-h:1.65em;--gkt-pricing-table--item__border-width:1px;--gkt-pricing-table--item__border-color:var(--gkt-color-light-gray-darken);--gkt-pricing-table--item__border-radius:var(--gkt-border-radius);--gkt-pricing-table--elements__gap:2.2em;--gkt-pricing-table--popular-badge__top:1.2em;--gkt-pricing-table--popular-badge__padding-v:0.15em;--gkt-pricing-table--popular-badge__padding-h:1.1em;--gkt-pricing-table--popular-badge__font-size:0.8em;--gkt-pricing-table--popular-badge__color:#fff;--gkt-pricing-table--popular-badge__background-color:var(--gkt-color-primary);--gkt-pricing-table--title__font-size:1em;--gkt-pricing-table--price-amount__font-size:3.5em;--gkt-pricing-table--price-amount__line-height:1.3em;--gkt-pricing-table--price-repeat__font-size:0.8em;--gkt-pricing-table--price-repeat__opacity:0.7;--gkt-pricing-table--features__font-size:0.9em;--gkt-pricing-table--features-items__gap:0.5em}.ghostkit-pricing-table-inner{align-items:var(--gkt-pricing-table__align-items);display:flex;flex-wrap:wrap;margin-left:calc(var(--gkt-pricing-table__gap)*-1);margin-top:calc(var(--gkt-pricing-table__gap)*-1)}.ghostkit-pricing-table-item-wrap{flex:0 0 calc(100%/var(--gkt-pricing-table__columns) - var(--gkt-pricing-table__gap));margin-left:var(--gkt-pricing-table__gap);margin-top:var(--gkt-pricing-table__gap);max-width:calc(100%/var(--gkt-pricing-table__columns) - var(--gkt-pricing-table__gap))}.ghostkit-pricing-table-item{border:var(--gkt-pricing-table--item__border-width) solid var(--gkt-pricing-table--item__border-color);border-radius:var(--gkt-pricing-table--item__border-radius);padding:var(--gkt-pricing-table--item__padding-v) var(--gkt-pricing-table--item__padding-h);position:relative}.ghostkit-pricing-table-item-popular-badge{background-color:var(--gkt-pricing-table--popular-badge__background-color);color:var(--gkt-pricing-table--popular-badge__color);font-size:var(--gkt-pricing-table--popular-badge__font-size);padding:var(--gkt-pricing-table--popular-badge__padding-v) var(--gkt-pricing-table--popular-badge__padding-h);position:absolute;right:calc(var(--gkt-pricing-table--item__border-width)*-1);top:var(--gkt-pricing-table--popular-badge__top)}.ghostkit-pricing-table-item .ghostkit-pricing-table-item-popular-badge{margin-top:0}.ghostkit-pricing-table-item-title{font-size:var(--gkt-pricing-table--title__font-size);margin:0}.ghostkit-pricing-table-item-price{display:flex;justify-content:center;position:relative}.ghostkit-pricing-table-item-price-amount{font-size:var(--gkt-pricing-table--price-amount__font-size);line-height:var(--gkt-pricing-table--price-amount__line-height)}.ghostkit-pricing-table-item-price-currency{align-self:flex-start}.ghostkit-pricing-table-item-price-repeat{align-self:flex-end;font-size:var(--gkt-pricing-table--price-repeat__font-size);opacity:var(--gkt-pricing-table--price-repeat__opacity)}.ghostkit-pricing-table-item-features{font-size:var(--gkt-pricing-table--features__font-size);list-style:none;margin:0;padding:0;position:relative}.ghostkit-pricing-table-item-features li{list-style:none;margin-left:0}.ghostkit-pricing-table-item-features li+li{margin-top:var(--gkt-pricing-table--features-items__gap)}.ghostkit-pricing-table-item .ghostkit-button-wrapper{margin-bottom:0}.ghostkit-pricing-table-item>*{margin-top:var(--gkt-pricing-table--elements__gap)}.ghostkit-pricing-table-item>:first-child{margin-top:0}.ghostkit-pricing-table-items-1{--gkt-pricing-table__columns:1}.ghostkit-pricing-table-items-2{--gkt-pricing-table__columns:2}@media screen and (max-width:768px){.ghostkit-pricing-table-items-2{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-3{--gkt-pricing-table__columns:3}@media screen and (max-width:768px){.ghostkit-pricing-table-items-3{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:4}@media screen and (max-width:768px){.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:5}@media screen and (max-width:768px){.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:6}@media screen and (max-width:992px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:3}}@media screen and (max-width:768px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-align-horizontal-left{text-align:left}.ghostkit-pricing-table-align-horizontal-left .ghostkit-pricing-table-item-price{justify-content:flex-start}.ghostkit-pricing-table-align-horizontal-center{text-align:center}.ghostkit-pricing-table-align-horizontal-center .ghostkit-pricing-table-item-price{justify-content:center}.ghostkit-pricing-table-align-horizontal-right{text-align:right}.ghostkit-pricing-table-align-horizontal-right .ghostkit-pricing-table-item-price{justify-content:flex-end}.ghostkit-pricing-table-align-vertical-start{--gkt-pricing-table__align-items:flex-start}.ghostkit-pricing-table-align-vertical-center{--gkt-pricing-table__align-items:center}.ghostkit-pricing-table-align-vertical-end{--gkt-pricing-table__align-items:flex-end}.ghostkit-pricing-table-gap-no{--gkt-pricing-table__gap:0%}.ghostkit-pricing-table-gap-sm{--gkt-pricing-table__gap:15px}.ghostkit-pricing-table-gap-md{--gkt-pricing-table__gap:30px}.ghostkit-pricing-table-gap-lg{--gkt-pricing-table__gap:45px}.ghostkit-pricing-table:after{margin-top:var(--gkt-pricing-table__gap)}.ghostkit-pricing-table-add-item{padding-left:var(--gkt-pricing-table__gap);padding-top:var(--gkt-pricing-table__gap);width:100%}.ghostkit-progress{--gkt-progress__height:15px;--gkt-progress__border-radius:var(--gkt-border-radius);--gkt-progress__background-color:var(--gkt-color-light-gray);--gkt-progress--caption__margin-bottom:0.3em;--gkt-progress--caption__font-size:0.85em;--gkt-progress--count__padding-v:0.1em;--gkt-progress--count__padding-h:0.7em;--gkt-progress--count__font-size:0.6em;--gkt-progress--count__border-radius:1em;--gkt-progress--count__color:#fff;--gkt-progress--count__background-color:var(--gkt-color-dark-gray);--gkt-progress--count-arrow__size:0.35em;--gkt-progress--bar__width:0;--gkt-progress--bar__background-color:var(--gkt-color-primary);--gkt-progress--bar-striped__background-image:linear-gradient(45deg,hsla(0,0%,100%,.1) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.1) 0,hsla(0,0%,100%,.1) 75%,transparent 0,transparent);--gkt-progress--bar-striped__background-size:15px 15px;--gkt-progress__transition-duration:var(--gkt-transition-duration);--gkt-progress__transition-easing:var(--gkt-transition-easing)}.ghostkit-progress-caption{display:block;font-size:var(--gkt-progress--caption__font-size);margin-bottom:var(--gkt-progress--caption__margin-bottom)}.ghostkit-progress-bar-count{position:relative}.ghostkit-progress-bar-count>div{background-color:var(--gkt-progress--count__background-color);border-radius:var(--gkt-progress--count__border-radius);bottom:100%;color:var(--gkt-progress--count__color);font-size:var(--gkt-progress--count__font-size);margin-bottom:calc(.2em + var(--gkt-progress--count-arrow__size));padding:var(--gkt-progress--count__padding-v) var(--gkt-progress--count__padding-h);position:absolute;right:0;transform:translateX(50%);white-space:nowrap}.ghostkit-progress-bar-count>div:after{border-left:var(--gkt-progress--count-arrow__size) solid transparent;border-right:var(--gkt-progress--count-arrow__size) solid transparent;border-top:var(--gkt-progress--count-arrow__size) solid var(--gkt-progress--count__background-color);content:"";display:block;height:0;left:50%;margin-left:calc(var(--gkt-progress--count-arrow__size)*-1);position:absolute;top:100%;width:0}.ghostkit-progress-wrap{background-color:var(--gkt-progress__background-color);border-radius:var(--gkt-progress__border-radius);height:var(--gkt-progress__height);overflow:hidden}.ghostkit-progress-bar,.ghostkit-progress-wrap{transition:var(--gkt-progress__transition-duration) background-color var(--gkt-progress__transition-easing)}.ghostkit-progress-bar{background-color:var(--gkt-progress--bar__background-color);height:100%;width:var(--gkt-progress--bar__width)}.ghostkit-progress-bar-striped .ghostkit-progress-bar{background-image:var(--gkt-progress--bar-striped__background-image);background-size:var(--gkt-progress--bar-striped__background-size)}.ghostkit-progress .components-resizable-box__container.is-selected>.ghostkit-progress-wrap{height:100%}.ghostkit-shape-divider{--gkt-shape-divider__color:var(--gkt-color-primary);--gkt-shape-divider__z-index:1;align-items:center;color:var(--gkt-shape-divider__color);display:flex;justify-content:center;overflow:hidden;z-index:var(--gkt-shape-divider__z-index)}.ghostkit-shape-divider svg{display:block;flex:0 0 auto;min-width:100%}.ghostkit-shape-divider-flip-vertical svg{transform:scaleY(-1)}.ghostkit-shape-divider-flip-horizontal svg{transform:scaleX(-1)}.ghostkit-shape-divider-flip-vertical.ghostkit-shape-divider-flip-horizontal svg{transform:scaleY(-1) scaleX(-1)}.ghostkit-shape-divider-control-styles .ghostkit-component-image-picker-item svg{height:40px;width:100%}.ghostkit-shape-divider-control-styles .ghostkit-shape-divider-control-styles-item-default-arrow svg,.ghostkit-shape-divider-control-styles .ghostkit-shape-divider-control-styles-item-default-arrow-curve svg{height:9px;width:300%}[data-type="ghostkit/shape-divider"].wp-block{margin-bottom:-28px;margin-top:-28px}[data-type="ghostkit/shape-divider"].wp-block+[data-type="ghostkit/shape-divider"]{margin-top:28px}.ghostkit-toc{--gkt-toc-title__margin-bottom:1.5em}.ghostkit-toc-title{margin-bottom:var(--gkt-toc-title__margin-bottom)}.ghostkit-toc{min-height:26px}.ghostkit-toc-spinner{margin-bottom:13px;position:absolute;width:100%}.ghostkit-toc-spinner:after{clear:both;content:"";display:block}.ghostkit-toc-spinner>span,.ghostkit-toc-spinner>svg{float:left;margin:0}.ghostkit-toc-spinner-relative{position:relative}.ghostkit-tabs{--gkt-tabs--buttons__offset:1em;--gkt-tabs--buttons__gap:0;--gkt-tabs--button__padding-v:0.5em;--gkt-tabs--button__padding-h:1.2em;--gkt-tabs--button__font-size:inherit;--gkt-tabs--button__font-weight:500;--gkt-tabs--button__border-width:1px;--gkt-tabs--button__border-color:var(--gkt-color-light-gray-darken);--gkt-tabs--button__border-radius:var(--gkt-border-radius);--gkt-tabs--button__cursor:pointer;--gkt-tabs--button__opacity:0.6;--gkt-tabs--button-active__background-color:#fff;--gkt-tabs--button-active__opacity:1;--gkt-tabs-pills--button__border-radius:var(--gkt-border-radius);--gkt-tabs-pills--button-active__color:#fff;--gkt-tabs-pills--button-active__background-color:var(--gkt-color-dark-gray);--gkt-tabs-radio--button__gap:0.5em;--gkt-tabs-radio--button--radio__width:0.85em;--gkt-tabs-radio--button--radio__height:0.85em;--gkt-tabs-radio--button--radio__border-width:1px;--gkt-tabs-radio--button--radio__border-color:var(--gkt-color-light-gray-darken);--gkt-tabs-radio--button-active--radio__border-color:currentcolor;--gkt-tabs-radio--button--dot__size:0.25em;--gkt-tabs-radio--button--dot__color:transparent;--gkt-tabs-radio--button-active--dot__color:currentcolor;--gkt-tabs__transition-duration:var(--gkt-transition-duration);--gkt-tabs__transition-easing:var(--gkt-transition-easing)}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons{border:none}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item{border:none;border-radius:var(--gkt-tabs-pills--button__border-radius);margin-bottom:0}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs-pills--button-active__background-color);color:var(--gkt-tabs-pills--button-active__color)}.ghostkit-tabs.is-style-radio{--gkt-tabs--buttons__gap:0.5em 2em;--gkt-tabs--button__padding-v:0;--gkt-tabs--button__padding-h:0;--gkt-tabs--button__border-width:0;--gkt-tabs--button__border-radius:0}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item{align-items:center;display:flex;gap:var(--gkt-tabs-radio--button__gap)}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item:before{border:var(--gkt-tabs-radio--button--radio__border-width) solid var(--gkt-tabs-radio--button--radio__border-color);border-radius:50%;content:"";flex:0 0 auto;height:var(--gkt-tabs-radio--button--radio__height);width:var(--gkt-tabs-radio--button--radio__width)}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item-active:before{background-image:radial-gradient(circle at 50% center,var(--gkt-tabs-radio--button-active--dot__color) 0,var(--gkt-tabs-radio--button-active--dot__color) var(--gkt-tabs-radio--button--dot__size),transparent calc(var(--gkt-tabs-radio--button--dot__size) + .5px));border-color:var(--gkt-tabs-radio--button-active--radio__border-color)}.ghostkit-tabs-buttons{border-bottom:var(--gkt-tabs--button__border-width) solid var(--gkt-tabs--button__border-color);display:flex;flex-wrap:wrap;gap:var(--gkt-tabs--buttons__gap);margin-bottom:var(--gkt-tabs--buttons__offset)}.ghostkit-tabs-buttons-align-start{justify-content:flex-start}.ghostkit-tabs-buttons-align-center{justify-content:center}.ghostkit-tabs-buttons-align-end{justify-content:flex-end}.ghostkit-tabs-buttons-align-stretch>.ghostkit-tabs-buttons-item{flex-basis:0;flex-grow:1;text-align:center}.ghostkit-tabs-buttons .edit-post-visual-editor,.ghostkit-tabs-buttons .edit-post-visual-editor p,.ghostkit-tabs-buttons .editor-rich-text__tinymce.mce-content-body{line-height:inherit}.ghostkit-tabs-buttons-item{background-color:transparent;border:var(--gkt-tabs--button__border-width) solid transparent;border-top-left-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:var(--gkt-tabs--button__border-radius);box-shadow:none;color:inherit;cursor:pointer;display:block;font-weight:var(--gkt-tabs--button__font-weight);margin-bottom:calc(var(--gkt-tabs--button__border-width)*-1);opacity:var(--gkt-tabs--button__opacity);padding:var(--gkt-tabs--button__padding-v) var(--gkt-tabs--button__padding-h);position:relative;text-decoration:none;transition:var(--gkt-tabs__transition-duration) border-color var(--gkt-tabs__transition-easing),var(--gkt-tabs__transition-duration) background-color var(--gkt-tabs__transition-easing),var(--gkt-tabs__transition-duration) opacity var(--gkt-tabs__transition-easing)}.ghostkit-tabs-buttons-item-active,.ghostkit-tabs-buttons-item:focus,.ghostkit-tabs-buttons-item:hover{opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs--button-active__background-color);border-color:var(--gkt-tabs--button__border-color);border-bottom-color:var(--gkt-tabs--button-active__background-color)}.ghostkit-tabs-buttons-item:not(:hover)>.ghostkit-component-remove-button{opacity:0}.ghostkit-tabs-buttons>.components-button{height:auto;padding:var(--gkt-tabs--button__padding-v) var(--gkt-tabs--button__padding-h)}.ghostkit-tabs-content .ghostkit-tab{display:none}.ghostkit-tabs-content .ghostkit-tab-active{display:block}@media(min-width:768px){.ghostkit-tabs-buttons-vertical{display:flex}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons{border-bottom:none;border-right:var(--gkt-tabs--button__border-width) solid var(--gkt-tabs--button__border-color);flex:0 0 30%;flex-direction:column;margin-bottom:0;max-width:30%}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item{border-bottom-left-radius:var(--gkt-tabs--button__border-radius);border-top-left-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:0;display:block;margin-bottom:0;margin-right:calc(var(--gkt-tabs--button__border-width)*-1)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item:focus,.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item:hover{opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs--button-active__background-color);border-color:var(--gkt-tabs--button__border-color);border-right-color:var(--gkt-tabs--button-active__background-color);opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-content{flex:0 0 70%;max-width:70%;padding-left:var(--gkt-tabs--buttons__offset)}}.ghostkit-testimonial{--gkt-testimonial--icon__top:0.75em;--gkt-testimonial--icon__left:0.75em;--gkt-testimonial--icon__font-size:1.5em;--gkt-testimonial--icon__opacity:0.15;--gkt-testimonial--icon-content__offset:3.5em;--gkt-testimonial--content__padding-v:1.5em;--gkt-testimonial--content__padding-h:1.5em;--gkt-testimonial--content__margin-bottom:1em;--gkt-testimonial--content__background-color:var(--gkt-color-light-gray);--gkt-testimonial--content__border-radius:var(--gkt-border-radius);--gkt-testimonial--meta__offset:1em;--gkt-testimonial--photo__width:50px;--gkt-testimonial--photo__border-radius:25px;--gkt-testimonial--name__line-height:1.6;--gkt-testimonial--name-source__margin-top:0.2em;--gkt-testimonial--source__font-size:0.85em;--gkt-testimonial--source__line-height:1;--gkt-testimonial--source__opacity:0.5;--gkt-testimonial--stars__line-height:1;--gkt-testimonial--stars__height:1em;--gkt-testimonial--stars-front__color:#fdcf27;--gkt-testimonial--stars-back__color:var(--gkt-color-light-gray);--gkt-testimonial--stars-mobile__margin-top:1em;align-items:flex-start;display:flex;flex-wrap:wrap;padding:0;position:relative}.ghostkit-testimonial-with-link{position:relative}.ghostkit-testimonial-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-testimonial-icon{font-size:var(--gkt-testimonial--icon__font-size);left:var(--gkt-testimonial--icon__left);opacity:var(--gkt-testimonial--icon__opacity);position:absolute;top:var(--gkt-testimonial--icon__top)}.ghostkit-testimonial-icon+.ghostkit-testimonial-content{padding-left:var(--gkt-testimonial--icon-content__offset)}.ghostkit-testimonial-content{background-color:var(--gkt-testimonial--content__background-color);border-radius:var(--gkt-testimonial--content__border-radius);flex:100%;margin-bottom:var(--gkt-testimonial--content__margin-bottom);padding:var(--gkt-testimonial--content__padding-v) var(--gkt-testimonial--content__padding-h)}.ghostkit-testimonial-photo{border-radius:var(--gkt-testimonial--photo__border-radius);overflow:hidden;width:var(--gkt-testimonial--photo__width)}.ghostkit-testimonial-photo img{display:block;height:auto;width:100%}.ghostkit-testimonial-photo+.ghostkit-testimonial-meta,.ghostkit-testimonial-photo+.ghostkit-testimonial-stars{margin-left:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-meta{display:flex;flex:1;flex-direction:column}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars{margin-left:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-name{line-height:var(--gkt-testimonial--name__line-height)}.ghostkit-testimonial-source{font-size:var(--gkt-testimonial--source__font-size);line-height:var(--gkt-testimonial--source__line-height);opacity:var(--gkt-testimonial--source__opacity)}.ghostkit-testimonial-name+.ghostkit-testimonial-source{margin-top:var(--gkt-testimonial--name-source__margin-top)}.ghostkit-testimonial-stars{line-height:var(--gkt-testimonial--stars__line-height)}.ghostkit-testimonial-stars-wrap{display:inline-block;position:relative}.ghostkit-testimonial-stars-back,.ghostkit-testimonial-stars-front{height:var(--gkt-testimonial--stars__height);overflow:hidden;white-space:nowrap}.ghostkit-testimonial-stars-front{color:var(--gkt-testimonial--stars-front__color);position:absolute}.ghostkit-testimonial-stars-back{color:var(--gkt-testimonial--stars-back__color)}@media(max-width:768px){.ghostkit-testimonial-stars{flex:100%;margin-top:var(--gkt-testimonial--stars-mobile__margin-top)}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars,.ghostkit-testimonial-photo+.ghostkit-testimonial-stars{margin-left:0}}.ghostkit-testimonial-photo button{align-items:center;background-color:#f3f4f5;display:flex;height:var(--gkt-testimonial--photo__width);justify-content:center;width:100%}.ghostkit-testimonial-photo button:focus,.ghostkit-testimonial-photo button:hover,.ghostkit-testimonial-photo button:not(:disabled,[aria-disabled=true]):focus{background-color:#edeff0;box-shadow:none}.ghostkit-testimonial-source .editor-rich-text__tinymce.mce-content-body{line-height:1}.block-editor-inserter__preview .ghostkit-testimonial-photo{margin-top:10px}.block-editor-inserter__preview .ghostkit-testimonial-content .block-editor-block-list__layout{margin-left:20px;margin-right:0}.editor-styles-wrapper .ghostkit-twitter,.ghostkit-twitter{--gkt-twitter--verified-badge__width:14px;--gkt-twitter--verified-badge__height:14px;--gkt-twitter--verified-badge__background-image:url('data:image/svg+xml;utf8,');--gkt-twitter--profile__margin-bottom:2.5em;--gkt-twitter--profile-avatar__border-radius:50%;--gkt-twitter--profile-avatar__offset:1.5em;--gkt-twitter--profile-name__font-size:1.4em;--gkt-twitter--profile-username__font-size:1em;--gkt-twitter--profile-username__font-weight:400;--gkt-twitter--profile-username__font-opacity:0.7;--gkt-twitter--profile-stats__gap:1.2em;--gkt-twitter--profile-elements__gap:1.2em;--gkt-twitter--tweet__margin-bottom:1.5em;--gkt-twitter--tweet-content-img__margin-top:1em;--gkt-twitter--tweet-content-img__border-width:1px;--gkt-twitter--tweet-content-img__border-color:rgba(0,0,0,.1);--gkt-twitter--tweet-content-img__border-radius:var(--gkt-border-radius);--gkt-twitter--tweet-avatar__margin-right:1.2em;--gkt-twitter--tweet-avatar__border-radius:50%;--gkt-twitter--tweet-retweeted__font-size:0.8em;--gkt-twitter--tweet-retweeted__opacity:0.7;--gkt-twitter--tweet-retweeted-icon__margin-right:0.5em;--gkt-twitter--tweet-name__text-decoration:none;--gkt-twitter--tweet-name-hover__text-decoration:underline;--gkt-twitter--tweet-username__opacity:0.7;--gkt-twitter--tweet-date-separator__content:"·";--gkt-twitter--tweet-date-separator__margin-v:0;--gkt-twitter--tweet-date-separator__margin-h:0.5em;--gkt-twitter--tweet-date-separator__font-size:0.7em;--gkt-twitter--tweet-date__opacity:0.7;--gkt-twitter--tweet-date__text-decoration:none;--gkt-twitter--tweet-date-hover__text-decoration:underline;--gkt-twitter--tweet-actions__font-size:0.9em;--gkt-twitter--tweet-actions__gap:1.2em;--gkt-twitter--tweet-actions-link__opacity:0.7;--gkt-twitter--tweet-actions-link-hover__opacity:1;--gkt-twitter--tweet-actions-label__offset:0.3em;--gkt-twitter--tweet-elements__gap:0.5em}.editor-styles-wrapper .ghostkit-twitter:after{clear:both;content:"";display:block;height:.01px}.editor-styles-wrapper .ghostkit-twitter-item-meta-name-verified,.editor-styles-wrapper .ghostkit-twitter-profile-verified{font-size:0}.editor-styles-wrapper .ghostkit-twitter-item-meta-name-verified:before,.editor-styles-wrapper .ghostkit-twitter-profile-verified:before{background-image:var(--gkt-twitter--verified-badge__background-image);content:"";display:inline-block;height:var(--gkt-twitter--verified-badge__height);width:var(--gkt-twitter--verified-badge__width)}.editor-styles-wrapper .ghostkit-twitter-profile-verified:before{height:calc(2px + var(--gkt-twitter--verified-badge__height));width:calc(2px + var(--gkt-twitter--verified-badge__width))}.editor-styles-wrapper .ghostkit-twitter-profile{display:flex;flex-wrap:wrap;margin-bottom:var(--gkt-twitter--profile__margin-bottom)}.editor-styles-wrapper .ghostkit-twitter-profile-avatar img{border-radius:var(--gkt-twitter--profile-avatar__border-radius);display:block;height:auto;margin:0;max-width:100%}.editor-styles-wrapper .ghostkit-twitter-profile-side{flex:1;max-width:100%}.editor-styles-wrapper .ghostkit-twitter-profile-avatar+.ghostkit-twitter-profile-side{margin-left:var(--gkt-twitter--profile-avatar__offset)}.editor-styles-wrapper .ghostkit-twitter-profile-name a{border-bottom:none;color:inherit;text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-profile-name a:focus,.editor-styles-wrapper .ghostkit-twitter-profile-name a:hover{text-decoration:underline}.editor-styles-wrapper .ghostkit-twitter-profile .ghostkit-twitter-profile-fullname{font-size:var(--gkt-twitter--profile-name__font-size);margin:0}.editor-styles-wrapper .ghostkit-twitter-profile .ghostkit-twitter-profile-username{font-size:var(--gkt-twitter--profile-username__font-size);font-weight:var(--gkt-twitter--profile-username__font-weight);margin:0;opacity:var(--gkt-twitter--profile-username__font-opacity)}.editor-styles-wrapper .ghostkit-twitter-profile-stats{display:flex;flex-wrap:wrap}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div{margin-right:var(--gkt-twitter--profile-stats__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div:last-child{margin-right:0}div+.editor-styles-wrapper .ghostkit-twitter-profile-description,div+.editor-styles-wrapper .ghostkit-twitter-profile-location,div+.editor-styles-wrapper .ghostkit-twitter-profile-stats,div+.editor-styles-wrapper .ghostkit-twitter-profile-website{margin-top:var(--gkt-twitter--profile-elements__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-description{white-space:pre-wrap}.editor-styles-wrapper .ghostkit-twitter-item{display:flex;margin-bottom:var(--gkt-twitter--tweet__margin-bottom)}.editor-styles-wrapper .ghostkit-twitter-item:last-child{margin-bottom:0}.editor-styles-wrapper .ghostkit-twitter-item-content{flex:1}.editor-styles-wrapper .ghostkit-twitter-item-content img{border:var(--gkt-twitter--tweet-content-img__border-width) solid var(--gkt-twitter--tweet-content-img__border-color);border-radius:var(--gkt-twitter--tweet-content-img__border-radius);margin-top:var(--gkt-twitter--tweet-content-img__margin-top);max-width:100%}.editor-styles-wrapper .ghostkit-twitter-item-avatar{margin-right:var(--gkt-twitter--tweet-avatar__margin-right)}.editor-styles-wrapper .ghostkit-twitter-item-avatar img{border-radius:var(--gkt-twitter--tweet-avatar__border-radius);height:auto}.editor-styles-wrapper .ghostkit-twitter-item-retweeted{font-size:var(--gkt-twitter--tweet-retweeted__font-size);opacity:var(--gkt-twitter--tweet-retweeted__opacity);position:relative}.editor-styles-wrapper .ghostkit-twitter-item-retweeted-icon{margin-right:var(--gkt-twitter--tweet-retweeted-icon__margin-right);position:absolute;right:100%;width:1em}.editor-styles-wrapper .ghostkit-twitter-item-retweeted a{border-bottom:none;color:inherit;text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-item-retweeted a:focus,.editor-styles-wrapper .ghostkit-twitter-item-retweeted a:hover{text-decoration:underline}.editor-styles-wrapper .ghostkit-twitter-item-meta{align-items:center;display:flex;flex-wrap:wrap}.editor-styles-wrapper .ghostkit-twitter-item-meta-name a{border-bottom:none;color:inherit;-webkit-text-decoration:var(--gkt-twitter--tweet-name__text-decoration);text-decoration:var(--gkt-twitter--tweet-name__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name a:focus strong,.editor-styles-wrapper .ghostkit-twitter-item-meta-name a:hover strong{-webkit-text-decoration:var(--gkt-twitter--tweet-name-hover__text-decoration);text-decoration:var(--gkt-twitter--tweet-name-hover__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name span:last-child{opacity:var(--gkt-twitter--tweet-username__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name+.ghostkit-twitter-item-meta-date:before{content:var(--gkt-twitter--tweet-date-separator__content);font-size:var(--gkt-twitter--tweet-date-separator__font-size);margin:var(--gkt-twitter--tweet-date-separator__margin-v) var(--gkt-twitter--tweet-date-separator__margin-h)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date{align-items:center;display:flex;opacity:var(--gkt-twitter--tweet-date__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date a{border-bottom:none;color:inherit;-webkit-text-decoration:var(--gkt-twitter--tweet-date__text-decoration);text-decoration:var(--gkt-twitter--tweet-date__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date a:focus,.editor-styles-wrapper .ghostkit-twitter-item-meta-date a:hover{-webkit-text-decoration:var(--gkt-twitter--tweet-date-hover__text-decoration);text-decoration:var(--gkt-twitter--tweet-date-hover__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-actions{align-items:center;display:flex;flex-wrap:wrap;font-size:var(--gkt-twitter--tweet-actions__font-size)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div{margin-right:var(--gkt-twitter--tweet-actions__gap)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div:last-child{margin-right:0}.editor-styles-wrapper .ghostkit-twitter-item-actions a{border-bottom:none;color:inherit;opacity:var(--gkt-twitter--tweet-actions-link__opacity);text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-item-actions a:focus,.editor-styles-wrapper .ghostkit-twitter-item-actions a:hover{opacity:var(--gkt-twitter--tweet-actions-link-hover__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-actions span{margin-left:var(--gkt-twitter--tweet-actions-label__offset)}.editor-styles-wrapper .ghostkit-twitter-item-text{white-space:pre-wrap}div+.editor-styles-wrapper .ghostkit-twitter-item-actions,div+.editor-styles-wrapper .ghostkit-twitter-item-text{margin-top:var(--gkt-twitter--tweet-elements__gap)}.ghostkit-twitter-spinner{margin-bottom:13px;width:100%}.ghostkit-twitter-spinner>span{float:left;margin:0}.ghostkit-video{--gkt-video__background-color:var(--gkt-color-light-gray);--gkt-video--play-icon__width:60px;--gkt-video--play-icon__height:60px;--gkt-video--play-icon__font-size:0.7em;--gkt-video--play-icon__color:var(--gkt-color-dark-gray);--gkt-video--play-icon__background-color:#fff;--gkt-video--play-icon__border-radius:50%;--gkt-video--play-icon__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video--play-icon-hover__box-shadow:0 2px 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video--play-icon-hover__transform:translateY(-1px);--gkt-video--loading-icon__width:60px;--gkt-video--loading-icon__height:60px;--gkt-video--loading-icon__font-size:0.7em;--gkt-video--loading-icon__color:var(--gkt-color-dark-gray);--gkt-video--loading-icon__background-color:#fff;--gkt-video--loading-icon__border-radius:50%;--gkt-video--loading-icon__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video__transition-duration:var(--gkt-transition-duration);--gkt-video__transition-easing:var(--gkt-transition-easing)}.ghostkit-video-fullscreen{--gkt-video-fullscreen__background-color:rgba(0,0,0,.9);--gkt-video-fullscreen--close-button__width:60px;--gkt-video-fullscreen--close-button__height:60px;--gkt-video-fullscreen--close-button__font-size:1.4em;--gkt-video-fullscreen--close-button__color:#fff;--gkt-video-fullscreen--close-button__opacity:0.2;--gkt-video-fullscreen--close-button-hover__opacity:1;--gkt-video-fullscreen__transition-duration:var(--gkt-transition-duration);--gkt-video-fullscreen__transition-easing:var(--gkt-transition-easing)}.ghostkit-video.is-style-icon-only{background-color:transparent;height:var(--gkt-video--play-icon__height);margin-left:auto;margin-right:auto;overflow:unset}.ghostkit-video.is-style-icon-only:before{content:none}.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-loading-icon,.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-play-icon{left:0;margin-left:0}.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-loading-icon,.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-play-icon{left:auto;margin-left:0;right:0}.ghostkit-video{background-color:var(--gkt-video__background-color);cursor:pointer;overflow:hidden;position:relative}.ghostkit-video:before{content:"";display:block;padding-top:56.25%;width:100%}.ghostkit-video-aspect-ratio-16-9:before,.ghostkit-video[data-video-aspect-ratio="16-9"]:before,.ghostkit-video[data-video-aspect-ratio="16:9"]:before{padding-top:56.25%}.ghostkit-video-aspect-ratio-21-9:before,.ghostkit-video[data-video-aspect-ratio="21-9"]:before,.ghostkit-video[data-video-aspect-ratio="21:9"]:before{padding-top:42.8571428571%}.ghostkit-video-aspect-ratio-4-3:before,.ghostkit-video[data-video-aspect-ratio="4-3"]:before,.ghostkit-video[data-video-aspect-ratio="4:3"]:before{padding-top:75%}.ghostkit-video-aspect-ratio-3-2:before,.ghostkit-video[data-video-aspect-ratio="3-2"]:before,.ghostkit-video[data-video-aspect-ratio="3:2"]:before{padding-top:66.6666666667%}.ghostkit-video-aspect-ratio-1-1:before,.ghostkit-video[data-video-aspect-ratio="1-1"]:before,.ghostkit-video[data-video-aspect-ratio="1:1"]:before{padding-top:100%}.ghostkit-video-aspect-ratio-2-3:before,.ghostkit-video[data-video-aspect-ratio="2-3"]:before,.ghostkit-video[data-video-aspect-ratio="2:3"]:before{padding-top:150%}.ghostkit-video-aspect-ratio-9-16:before,.ghostkit-video[data-video-aspect-ratio="9-16"]:before,.ghostkit-video[data-video-aspect-ratio="9:16"]:before{padding-top:177.7777777778%}.ghostkit-video-aspect-ratio-3-4:before,.ghostkit-video[data-video-aspect-ratio="3-4"]:before,.ghostkit-video[data-video-aspect-ratio="3:4"]:before{padding-top:133.3333333333%}.ghostkit-video-poster{height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ghostkit-video-poster img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ghostkit-video-play-icon{align-items:center;background-color:var(--gkt-video--play-icon__background-color);border-radius:var(--gkt-video--play-icon__border-radius);box-shadow:var(--gkt-video--play-icon__box-shadow);color:var(--gkt-video--play-icon__color);display:flex;font-size:var(--gkt-video--play-icon__font-size);height:var(--gkt-video--play-icon__height);justify-content:center;left:50%;margin-left:calc(var(--gkt-video--play-icon__height)/-2);margin-top:calc(var(--gkt-video--play-icon__width)/-2);opacity:1;position:absolute;top:50%;transition:var(--gkt-video__transition-duration) transform var(--gkt-video__transition-easing),var(--gkt-video__transition-duration) box-shadow var(--gkt-video__transition-easing),var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);width:var(--gkt-video--play-icon__width);z-index:2}.ghostkit-video:focus .ghostkit-video-play-icon,.ghostkit-video:hover .ghostkit-video-play-icon{box-shadow:var(--gkt-video--play-icon-hover__box-shadow);transform:var(--gkt-video--play-icon-hover__transform)}.ghostkit-video-loading .ghostkit-video-play-icon,.ghostkit-video-playing .ghostkit-video-play-icon{opacity:0}.ghostkit-video-loading-icon{align-items:center;background-color:var(--gkt-video--loading-icon__background-color);border-radius:var(--gkt-video--loading-icon__border-radius);box-shadow:var(--gkt-video--loading-icon__box-shadow);color:var(--gkt-video--loading-icon__color);display:flex;font-size:var(--gkt-video--loading-icon__font-size);height:var(--gkt-video--loading-icon__height);justify-content:center;left:50%;margin-left:calc(var(--gkt-video--loading-icon__height)/-2);margin-top:calc(var(--gkt-video--loading-icon__width)/-2);opacity:0;position:absolute;top:50%;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);width:var(--gkt-video--loading-icon__width);z-index:3}.ghostkit-video-loading .ghostkit-video-loading-icon{opacity:1}.ghostkit-video:not(.ghostkit-video-loading) .ghostkit-video-spinner{animation:none}.ghostkit-video-fullscreen-close-icon{display:none}.ghostkit-video-frame{height:100%;left:100%;opacity:0;position:absolute;top:0;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s var(--gkt-video__transition-duration) left;width:100%;z-index:4}.ghostkit-video-frame iframe,.ghostkit-video-frame video{height:100%;visibility:visible;width:100%}.ghostkit-video-playing .ghostkit-video-frame{left:0;opacity:1;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s left}.ghostkit-video-fullscreen{align-items:center;background-color:var(--gkt-video-fullscreen__background-color);display:none;height:calc(100% - var(--wp-admin--admin-bar--height, 0px));justify-content:center;left:0;position:fixed;top:var(--wp-admin--admin-bar--height,0);width:100%;z-index:1500}@media screen and (max-width:600px){body.admin-bar .ghostkit-video-fullscreen{height:100%;top:0}}.ghostkit-video-fullscreen-frame{height:calc(90vw*var(--gkt-fullscreen-video__aspect-ratio-height)/var(--gkt-fullscreen-video__aspect-ratio-width));max-height:90%;max-width:calc((90vh - var(--wp-admin--admin-bar--height, 0px))*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height));position:relative;width:90%;z-index:1}@media screen and (max-width:600px){body.admin-bar .ghostkit-video-fullscreen-frame{max-width:calc(100vh*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height))}}.ghostkit-video-fullscreen-frame iframe,.ghostkit-video-fullscreen-frame video{height:100%;width:100%}.ghostkit-video-fullscreen-frame video{background:var(--gkt-fullscreen-video--video__background)}.ghostkit-video-fullscreen-close{color:var(--gkt-video-fullscreen--close-button__color);cursor:pointer;font-size:var(--gkt-video-fullscreen--close-button__font-size);height:var(--gkt-video-fullscreen--close-button__height);line-height:var(--gkt-video-fullscreen--close-button__height);opacity:var(--gkt-video-fullscreen--close-button__opacity);position:absolute;right:0;text-align:center;top:0;transition:var(--gkt-video-fullscreen__transition-duration) opacity var(--gkt-video-fullscreen__transition-easing);width:var(--gkt-video-fullscreen--close-button__width);z-index:2}.ghostkit-video-fullscreen-close:focus,.ghostkit-video-fullscreen-close:hover{opacity:var(--gkt-video-fullscreen--close-button-hover__opacity)}.components-panel .ghostkit-gutenberg-media-upload>div{height:150px}.ghostkit-video-toolbar-url .components-base-control__field{align-items:center;display:flex;margin:7px;width:300px}.ghostkit-help-text{color:#a0a0a0;font-size:90%;font-style:italic}.ghostkit-code{background:#eef0f3;border-radius:3px}.ghostkit-accordion .wp-block,.ghostkit-alert .wp-block,.ghostkit-changelog .wp-block,.ghostkit-counter-box .wp-block,.ghostkit-form .wp-block,.ghostkit-grid>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block,.ghostkit-icon-box .wp-block,.ghostkit-tabs-content .wp-block{margin-left:0;margin-right:0;max-width:none}.ghostkit-grid-controls{display:flex;flex-wrap:wrap;margin:0 -10px}.ghostkit-grid-controls>*{flex:1;margin:0 10px!important;min-width:80px}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child{pointer-events:none}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child:after,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after{border:1px dashed;border-radius:2px;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter{visibility:hidden}.components-panel__body-toggle>.ghostkit-ext-icon{display:block;position:absolute;top:50%;transform:translateY(-50%)}.components-panel__body-toggle>.ghostkit-ext-icon svg{display:block}.components-panel__body-toggle>.ghostkit-ext-icon+span{margin-left:35px}.components-tools-panel-header>h2>.ghostkit-ext-icon{margin-top:-4px;position:absolute}.components-tools-panel-header>h2>.ghostkit-ext-icon+span{margin-left:35px}.ghostkit-control-tabs>.components-tab-panel__tabs{border-bottom:1px solid #e8eaeb;display:flex;flex-wrap:wrap;margin-bottom:15px}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab{background:none;border:none;border-bottom:2px solid transparent;border-radius:0;color:#555d66;cursor:pointer;margin:0 0 -1px;outline-offset:-1px;padding:9px 11px 11px}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab svg{display:block;height:1.4em;width:auto}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab.is-active{border-bottom:2px solid #007cba;position:relative;z-index:1}.ghostkit-control-tabs.ghostkit-control-tabs-wide>.components-tab-panel__tabs>.ghostkit-control-tabs-tab{flex:1;justify-content:center;text-align:center}.ghostkit-control-tabs .ghostkit-control-tabs-separator{border-top:1px solid #e8eaeb;margin-left:-15px;margin-right:-15px;padding:15px}.ghostkit-control-tabs .ghostkit-control-tabs-separator:first-child{margin-top:-16px}.ghostkit-component-input-drag input{cursor:n-resize}.components-select-control select[multiple].components-select-control__input{height:auto;padding-right:8px}.components-select-control select[multiple].components-select-control__input~.components-input-control__suffix{display:none} +:root{--gkt-color-brand:#2e1645;--gkt-color-dark-gray:#32373c;--gkt-color-light-gray:#f3f4f5;--gkt-color-light-gray-darken:#d7dbde;--gkt-color-primary:#0366d6;--gkt-color-success:#4ab866;--gkt-color-danger:#d94f4f;--gkt-color-warning:#f0b849;--gkt-color-info:#2ebef5;--gkt-border-radius:5px;--gkt-transition-duration:0.2s;--gkt-transition-easing:ease-in-out}.ghostkit-component-active-indicator{background-color:#007cba;border-radius:7px;height:7px;width:7px}.components-panel__body-toggle .ghostkit-component-active-indicator{position:absolute;right:40px;top:50%;transform:translateY(-50%)}.ghostkit-control-tabs-icon .ghostkit-component-active-indicator{height:3px;left:50%;position:absolute;top:-7px;transform:translateX(-50%);width:3px}.ghostkit-control-responsive-toggle .ghostkit-component-active-indicator{height:5px;left:75%;outline:2px solid #fff;position:absolute;top:0;width:5px}.ghostkit-control-element-state-toggle .ghostkit-component-active-indicator{height:5px;left:12px;outline:2px solid #fff;position:absolute;top:0;width:5px}.is-active>.ghostkit-control-responsive-toggle-icon .ghostkit-component-active-indicator{background-color:#fff;outline:2px solid #000}.ghostkit-component-code-editor.ace_editor{background-color:#f8f9f9;border-radius:3px;box-shadow:0 0 0 1px #e8eaeb;line-height:1.45;width:100%}.ghostkit-component-code-editor.ace_editor .ace_gutter{background-color:#e8eaeb}.ghostkit-component-code-editor .ace_tooltip{background:none;background-color:#fff;border:1px solid #e4e4e4;border-radius:3px;box-shadow:0 2px 10px 0 rgba(0,0,0,.05);padding:6px 10px}.ghostkit-component-code-editor .ace_hidden-cursors{opacity:0}.components-panel__body-toggle>.ghostkit-color-indicator{height:15px;margin-left:8px;width:15px}.components-panel__body-toggle>.ghostkit-color-indicator+.ghostkit-color-indicator{margin-left:2px}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper){margin-bottom:0}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper) .ghostkit-component-color-toggle{border-bottom:none}.ghostkit-component-color-toggle{border:1px solid rgba(0,0,0,.1);border-radius:0;height:auto;margin-bottom:0;padding:10px 12px;position:relative;width:100%}.ghostkit-component-color-toggle.ghostkit-component-color-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-color-toggle .ghostkit-component-color-toggle-indicator{background:linear-gradient(-45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0);border:none;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);color:transparent;cursor:pointer;display:block;height:20px;margin-right:8px;padding:0;position:relative;width:20px}.ghostkit-component-color-toggle .ghostkit-component-color-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-color-picker__dropdown{display:block;width:100%}.ghostkit-component-color-picker__dropdown-content .components-popover__content{padding:16px;width:260px}.ghostkit-component-color-picker__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-components-date-time-picker .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.ghostkit-components-date-time-picker .components-base-control__field .components-base-control__label{margin-bottom:0}.ghostkit-components-date-time-picker-popover .components-datetime{padding:15px}.ghostkit-component-dropdown-picker-toggle{align-items:center;border:1px solid rgba(0,0,0,.15);border-radius:0;display:flex;height:auto;justify-content:space-between;margin-bottom:0;min-height:40px;padding:10px 12px;position:relative;width:100%}.ghostkit-component-dropdown-picker-toggle.ghostkit-component-dropdown-picker-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-dropdown-picker__dropdown{display:block;width:100%}.ghostkit-component-dropdown-picker__dropdown-content .components-popover__content{padding:16px;width:260px}.ghostkit-component-dropdown-picker__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-control-element-state-toggle{align-items:center;display:inline-flex;height:auto;justify-content:center;padding:0;position:relative}.components-base-control__label>.ghostkit-control-element-state-toggle,.components-input-control__label>.ghostkit-control-element-state-toggle{margin-left:8px;vertical-align:bottom}.ghostkit-control-element-state-toggle>svg{display:block;height:auto;width:18px}.ghostkit-control-element-state-toggle>span{font-size:12px;font-weight:500;margin-left:2px}.ghostkit-components-gap-settings-custom{display:flex}.ghostkit-components-gap-settings-custom>.components-base-control{flex:1;margin-bottom:0!important}.ghostkit-components-gap-settings-custom .components-base-control__help{margin-bottom:0!important}.ghostkit-components-gap-settings-custom>.components-base-control:first-child input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-components-gap-settings-custom>.components-base-control:first-child~.components-base-control input{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper){margin-bottom:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper) .ghostkit-component-icon-picker-toggle{border-bottom:none}.ghostkit-component-icon-picker-toggle{border:1px solid rgba(0,0,0,.1);border-radius:0;height:auto;margin-bottom:0;padding:10px 12px;position:relative;width:100%}.ghostkit-component-icon-picker-toggle.ghostkit-component-icon-picker-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator{display:flex;margin-right:8px;min-height:20px;position:relative;width:20px}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator:empty{background-color:#e4e4e4;border-radius:4px}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator svg{height:auto;width:100%;fill:none}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-icon-picker-wrapper .components-dropdown{display:block}.ghostkit-component-icon-picker-button{align-items:center;border-radius:4px;display:flex;font-size:15px;height:34px;justify-content:center;padding:0;text-align:center;width:34px}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview{border:1px solid transparent;cursor:pointer;transition:background-color .15s,border-color .15s}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.hover,.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview:hover{background-color:#f3f4f5;border-color:#f3f4f5}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.hover:hover{background-color:#e2e4e7;border-color:#e2e4e7}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.ghostkit-component-icon-picker-button-active{background-color:#fff;border-color:#007cba}.ghostkit-component-icon-picker-preview-clickable{cursor:pointer}.ghostkit-component-icon-picker .components-base-control{padding-right:2px}.ghostkit-component-icon-picker .components-base-control+.components-base-control{margin-bottom:0;margin-top:15px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-wrap{padding:15px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-wrap .ReactVirtualized__Grid__innerScrollContainer>div{padding-bottom:10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-panel-toggle{border-bottom:none}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-panel-toggle.is-opened>.components-panel__body-title{margin-bottom:-16px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list{display:flex;flex-wrap:wrap;margin-left:-10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list>*{margin-left:10px;max-width:calc(33.33% - 10px);width:calc(33.33% - 10px)}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list .ghostkit-component-icon-picker-button{font-size:20px;height:55px;width:100%}.ghostkit-component-icon-picker-content>.components-popover__content{overflow-y:hidden!important}.ghostkit-component-icon-picker-content>.components-popover__content .ghostkit-component-icon-picker-sizer{height:50vh;max-height:400px;min-width:280px}.ghostkit-component-icon-picker-content>.components-popover__content .ghostkit-component-icon-picker{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.ghostkit-component-image-picker{--ghostkit-component-image-picker-item-size:50%}.ghostkit-component-image-picker.ghostkit-component-image-picker-3{--ghostkit-component-image-picker-item-size:33.33%}.ghostkit-component-image-picker.ghostkit-component-image-picker-4{--ghostkit-component-image-picker-item-size:25%}.ghostkit-component-image-picker.ghostkit-component-image-picker-5{--ghostkit-component-image-picker-item-size:20%}.ghostkit-component-image-picker.ghostkit-component-image-picker-6{--ghostkit-component-image-picker-item-size:16.66%}.ghostkit-component-image-picker .components-base-control__field{display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-component-image-picker .components-base-control__field>.components-base-control__label{min-width:100%}.ghostkit-component-image-picker .ghostkit-component-image-picker-item{align-items:center;background:none;border:none;border-radius:4px;color:inherit;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;justify-content:flex-start;margin:4px 0;overflow:hidden;padding:4px;width:calc(var(--ghostkit-component-image-picker-item-size) - 4px)}.ghostkit-component-image-picker .ghostkit-component-image-picker-item:hover{background:#f8f9f9;color:#191e23}.ghostkit-component-image-picker .ghostkit-component-image-picker-item.ghostkit-component-image-picker-item-active{box-shadow:0 0 0 2px #555d66;color:#191e23;outline:2px solid transparent;outline-offset:-2px}.ghostkit-component-image-picker .ghostkit-component-image-picker-item:focus{box-shadow:0 0 0 2px #007cba;color:#191e23;outline:2px solid transparent;outline-offset:-2px}.ghostkit-component-image-picker .ghostkit-component-image-picker-item img,.ghostkit-component-image-picker .ghostkit-component-image-picker-item svg{border:1px solid rgba(85,93,102,.2);border-radius:4px;display:block;height:auto;outline:1px solid transparent;width:100%}.ghostkit-component-image-picker .ghostkit-component-image-picker-item span{display:block;padding:4px 2px;text-align:center}.ghostkit-control-important-toggle{align-items:center;background:#e6e6e6;display:inline-flex;height:18px;justify-content:center;padding:2px;position:relative;text-align:center}.ghostkit-control-important-toggle.is-active{background-color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));color:#fff}.ghostkit-component-input-drag-has-icon{position:relative}.ghostkit-component-input-drag-has-icon svg{color:silver;margin:10px;position:absolute}.ghostkit-component-input-drag-has-icon .ghostkit-component-input-drag .components-base-control__field .components-text-control__input{padding-left:30px}.ghostkit-component-input-group-wrapper{display:flex}.ghostkit-component-input-group-wrapper>div+div{margin-left:-1px}.ghostkit-component-input-group-wrapper>div:focus-within{z-index:1}.ghostkit-component-input-group-wrapper>div:first-of-type input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-component-input-group-wrapper>div:first-of-type~div:not(:last-of-type) input{border-radius:0}.ghostkit-component-input-group-wrapper>div:last-of-type input{border-bottom-left-radius:0;border-top-left-radius:0}.ghostkit-component-input-group-wrapper .components-base-control__help{font-size:9px;font-weight:500;margin-top:0;opacity:.7;text-align:center;text-transform:uppercase}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) .components-base-control__help{font-size:0}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) .components-base-control__help:first-letter{font-size:9px}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) input{color:transparent;padding-left:2px;padding-right:2px}.ghostkit-component-input-group-wrapper>div{position:relative;transition:width .2s ease;width:100%}.ghostkit-component-input-group-wrapper>div input{text-align:center;transition:padding .2s ease}.ghostkit-component-input-group-wrapper>div:has(.ghostkit-component-input-drag-expand){width:1000%}.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle{opacity:0;position:absolute;right:2px;top:10px}.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle.is-active,.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle:focus,.ghostkit-component-input-group-wrapper>div:has(input:focus) .ghostkit-control-important-toggle,.ghostkit-component-input-group-wrapper>div:hover .ghostkit-control-important-toggle{opacity:1}.ghostkit-component-modal{animation:none;position:relative}@media(min-width:600px){.ghostkit-component-modal{margin-left:-300px;max-width:600px;min-width:600px;transform:none}.ghostkit-component-modal.ghostkit-component-modal-position-top{top:112px}}@media(min-width:840px){.ghostkit-component-modal.ghostkit-component-modal-size-lg{margin-left:-400px;max-width:800px;min-width:800px;transform:none}}@media(min-width:600px){body>.components-modal__screen-overlay .ghostkit-component-modal{margin-left:auto}body>.components-modal__screen-overlay .ghostkit-component-modal.ghostkit-component-modal-position-top{margin-top:112px;top:0}}@media(min-width:840px){body>.components-modal__screen-overlay .ghostkit-component-modal.ghostkit-component-modal-size-lg{margin-left:auto}}.ghostkit-component-modal .components-modal__header .components-modal__icon-container svg{display:block;margin-right:10px}.ghostkit-component-modal .components-modal__header .components-modal__header-heading{font-weight:600}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs{margin-left:-16px;margin-right:-16px;margin-top:-16px}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs .ghostkit-control-tabs-tab{color:inherit;padding:12px 16px}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs .ghostkit-control-tabs-tab:focus{outline:none}.ghostkit-component-notice{margin:0 0 24px}.ghostkit-component-notice.is-info{background-color:rgba(81,152,217,.1);color:#2271b1}.ghostkit-component-notice.is-info p{color:inherit}.ghostkit-component-notice p:last-of-type{margin-bottom:0!important}.ghostkit-pro-component-note-inner{background-color:#edeff0;border-radius:4px;padding:20px;text-align:left}.ghostkit-pro-component-note-inner h3{font-size:14px;margin-bottom:15px;margin-top:0;text-transform:none}.ghostkit-pro-component-note-inner ul{list-style:none}.ghostkit-pro-component-note-inner ul li:before{content:"- ";display:inline;margin-bottom:5px}.ghostkit-pro-component-note-collapsed{position:relative}.ghostkit-pro-component-note-collapsed .ghostkit-pro-component-note-inner{position:relative;z-index:2}.ghostkit-pro-component-note-collapsed:after{background:linear-gradient(-45deg,#5c39a7,#528be6);border-radius:6px;bottom:0;content:"";display:block;left:0;margin:-2px;position:absolute;right:0;top:0;z-index:1}.ghostkit-pro-component-note-collapsed h3{margin-bottom:0}.ghostkit-pro-component-note-collapsed button{height:100%;justify-content:flex-end;left:0;position:absolute;top:0;width:100%}.ghostkit-pro-component-note-button{background:linear-gradient(-45deg,#5c39a7,#528be6);border-radius:3px;display:inline-block;margin-top:5px;padding:7px 15px;text-decoration:none;transition:filter .2s,transform .2s}.ghostkit-pro-component-note-button,.ghostkit-pro-component-note-button:active,.ghostkit-pro-component-note-button:focus,.ghostkit-pro-component-note-button:hover{color:#fff}.ghostkit-pro-component-note-button:focus,.ghostkit-pro-component-note-button:hover{filter:contrast(1.5) drop-shadow(0 3px 3px rgba(82,139,230,.3));transform:translateY(-1px)}.ghostkit-component-range-control>.components-base-control__field,.ghostkit-component-range-control>.components-base-control__field>.components-base-control,.ghostkit-component-range-control>.components-base-control__field>.components-base-control>.components-base-control__field{margin-bottom:0}.ghostkit-component-range-control>.components-base-control__field{align-items:center;display:flex;flex-wrap:wrap}.ghostkit-component-range-control>.components-base-control__field>.components-base-control__label{flex:100%;width:100%}.ghostkit-component-range-control>.components-base-control__field>.components-range-control{flex:1;margin-right:10px}.ghostkit-component-range-control>.components-base-control__field .components-text-control__input{width:64px}.ghostkit-component-remove-button{align-items:center;background-color:#555d66;border-radius:50%;color:#fff;height:20px;justify-content:center;margin-right:-10px;margin-top:-10px;opacity:.7;padding:0!important;position:absolute;right:0;top:0;transition:opacity .2s,background-color .2s;width:20px}.ghostkit-component-remove-button:focus,.ghostkit-component-remove-button:hover{background-color:var(--gkt-color-brand);color:#fff;opacity:1}.ghostkit-component-remove-button svg{flex:0 0 auto;height:.8em;width:auto}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep{margin-left:5px;padding:0}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:hover,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:hover{text-decoration:underline}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus{background:none;box-shadow:none}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus{color:#df5454}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus{color:#999}.ghostkit-component-remove-button-confirm.components-popover:before{border-color:transparent}.ghostkit-component-remove-button-confirm.components-popover.is-top:after{border-top-color:#191e23}.ghostkit-component-remove-button-confirm.components-popover.is-bottom:after{border-bottom-color:#191e23}.ghostkit-component-remove-button-confirm .components-popover__content{background:#191e23;border-width:0;color:#fff;padding:4px 12px;white-space:nowrap}.ghostkit-component-remove-button-confirm:not(.is-mobile) .components-popover__content{min-width:0}.ghostkit-component-remove-button-confirm .components-tooltip__shortcut{color:#7e8993;display:block;text-align:center}.ghostkit-control-tabs-icon{position:relative}.ghostkit-control-responsive-toggle{display:inline-flex;position:relative}.components-base-control__label:has(.ghostkit-control-responsive-toggle),.components-input-control__label:has(.ghostkit-control-responsive-toggle){overflow:visible!important}.components-base-control__label>.ghostkit-control-responsive-toggle,.components-input-control__label>.ghostkit-control-responsive-toggle{margin-left:8px;vertical-align:bottom}.ghostkit-control-responsive-toggle>.components-button{align-items:center;display:inline-flex;height:auto;justify-content:center;padding:0}.ghostkit-control-responsive-toggle>.components-button svg{display:block;height:auto;width:18px}.ghostkit-control-responsive-toggle-button,.ghostkit-control-responsive-toggle-icon{position:relative}.ghostkit-control-responsive-toggle-dropdown{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 4px 0 rgba(0,0,0,.05);display:none;flex-direction:column;gap:2px;left:-5px;padding:2px;position:absolute;top:-5px;width:auto;z-index:5}.ghostkit-control-responsive-toggle-dropdown.is-open{display:flex}.ghostkit-control-responsive-toggle-dropdown>.components-button{align-items:center;border-radius:2px;display:inline-flex;height:22px;justify-content:center;padding:0;width:22px}.ghostkit-control-responsive-toggle-dropdown>.components-button.is-active{background-color:#000;color:#fff}.ghostkit-control-responsive-toggle-dropdown>.components-button svg{display:block;height:auto;width:18px}.ghostkit-control-select .fast-option-selected{color:#fff}.ghostkit-control-select input[type=text]{height:20px;min-height:20px}.ghostkit-control-select input[type=text]:focus{box-shadow:none}.ghostkit-control-toggle-group>div{margin-bottom:-10px}.ghostkit-control-toggle-group [aria-checked=false]{color:#000}.ghostkit-control-toggle-group button[disabled]{background-color:#b7b7b7;opacity:.4}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle{border-color:#949494;border-radius:4px;min-height:30px;padding:3px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label{align-items:center;display:flex;gap:10px;width:100%}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label>.ghostkit-component-bezier-editor,.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label>.ghostkit-component-spring-editor{align-items:center;background-color:var(--wp-admin-theme-color);border-radius:2px;display:inline-flex;height:24px;justify-content:center;overflow:hidden;width:24px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset{background-color:#f9f5f5;border-radius:2px;color:#000;cursor:pointer;display:inline-block;height:15px;margin-left:auto;margin-right:5px;overflow:hidden;width:15px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset:focus,.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset:hover{background-color:#e5e5e5}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset svg{height:100%;width:100%}.ghostkit-component-transition-selector-content>.components-popover__content>*+*{margin-top:16px}.ghostkit-component-transition-selector-content .ghostkit-control-toggle-group{margin-bottom:20px}.ghostkit-component-bezier-editor,.ghostkit-component-spring-editor{position:relative}.ghostkit-component-bezier-editor>svg,.ghostkit-component-spring-editor>svg{border:1px solid #949494;border-radius:4px}.ghostkit-component-bezier-editor-preview>svg,.ghostkit-component-spring-editor-preview>svg{border:none;border-radius:0}.ghostkit-component-easing-controls-bezier>.components-base-control__field{display:flex;flex-wrap:wrap;width:100%}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control{width:25%}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control:not(:last-child){border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;margin-right:-1px}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control__label{width:100%}.ghostkit-component-spring-editor-duration{bottom:10px;color:#9a9a9a;font-size:10px;font-weight:500;position:absolute;right:12px}.ghostkit-component-transition-preview-wrapper>.components-base-control__field{align-items:center;display:flex;justify-content:space-between;margin-bottom:0}.ghostkit-component-transition-preview-wrapper>.components-base-control__field>.components-base-control__label{margin-bottom:0}.ghostkit-component-transition-preview{background-color:var(--wp-admin-theme-color);border-radius:4px;box-shadow:none!important;cursor:pointer;display:inline-block;height:auto;margin-left:auto;outline:none!important;overflow:hidden;padding:4px;width:65%}.ghostkit-component-transition-preview>span{background-color:#fff;border-radius:2px;display:block;height:16px;width:16px}.ghostkit-control-typography{display:flex;flex-wrap:wrap}.ghostkit-control-typography .ghostkit-typography-font-control{flex:1;max-width:100%;min-width:50%;padding-right:20px}.ghostkit-control-typography .ghostkit-typography-weight-control{flex:1 0 33.3%;max-width:33%}.ghostkit-control-typography .ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-size-control{flex:1;max-width:100%;min-width:33.3%}.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-size-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-size-control{margin-top:20px}.ghostkit-control-typography .ghostkit-typography-line-control+.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-size-control+.ghostkit-typography-line-control{padding-left:20px}.ghostkit-control-typography .ghostkit-typography-information-control.ghostkit-typography-font-control{color:#a2aab2;flex:1 0 80%;font-style:italic;padding-left:20px;padding-right:0}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle{border:1px solid #7e8993;height:32px}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle:focus,.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle:hover{border-color:#555d66;box-shadow:none!important}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle svg,.ghostkit-typography-font-category-control-menu svg{height:auto;margin:0 4px;width:19px}.ghostkit-typography-font-category-control-menu .components-popover:not(.is-mobile) .components-popover__content{min-width:200px}.ghostkit-typography-font-category-control-menu .components-menu-group{padding:0}.ghostkit-typography-font-category-control-menu .components-menu-group .components-button svg{margin-left:5px!important;margin-right:10px!important}.ghostkit-typography-font-category-control-menu .components-menu-item__button{display:flex}.ghostkit-typography-font-category-control-menu .components-menu-item__button .components-menu-items__item-icon{order:-1}.ghostkit-typography-badge-pro{background-color:#00669b;border-radius:10px;color:#fff;font-size:8px;font-weight:600;height:14px;line-height:14px;margin-left:auto;padding:0 5px;text-align:center}.ghostkit-components-url-picker-inspector .block-editor-link-control{min-width:0}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-item.is-current{padding:0 0 16px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__tools{padding:16px 0 10px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input{margin:0 0 16px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input input[type=text]{margin:0;width:100%}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-actions{right:4px;top:4px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-results{margin-top:24px;padding:0}.ghostkit-control-sr-direction{border:1px solid #e8eaec;margin-top:20px;padding-top:60%;position:relative;width:100%}.ghostkit-control-sr-direction .components-base-control,.ghostkit-control-sr-direction .components-base-control__field{margin:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap{height:calc(100% - 10px);left:5px;position:absolute;top:5px;width:calc(100% - 10px)}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap>div{align-items:center;display:flex;justify-content:center}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button{border-radius:3px;font-size:10px;height:32px;justify-content:center;padding:10px;text-align:center;transition:background-color .15s,color .15s;width:35px}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button:hover{background-color:#eaeaea}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button.ghostkit-control-sr-direction-active,.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button.ghostkit-control-sr-direction-active:focus{background-color:#000;color:#fff}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button svg{display:block;height:1.2em;width:auto}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-top{left:0;position:absolute;top:0;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-right{height:100%;position:absolute;right:0;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-bottom{bottom:0;left:0;position:absolute;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-left{height:100%;left:0;position:absolute;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center{left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center button{font-size:5px}.ghostkit-control-sr-presets-menu .components-button[aria-checked=true]{background-color:#000;color:#fff}.ghostkit-control-sr-presets-toggle-active:before{background-color:#000}.ghostkit-control-sr-presets-toggle-active svg{color:#fff}.components-dropdown-menu__menu .ghostkit-block-actions-copy-paste{border-bottom:1px solid #1e1e1e;border-top:1px solid #1e1e1e;margin-bottom:8px;margin-top:8px}.components-dropdown-menu__menu .ghostkit-block-actions-copy-paste .components-menu-group__label{margin-bottom:5px;margin-top:8px}.ghostkit-block-actions-dropdown-paste{width:100%}.ghostkit-component-effects-reveal>.components-popover__content>*+*{margin-top:16px}.ghostkit-tools-panel-effects{grid-column:1/-1}.ghostkit-tools-panel-effects .components-tools-panel-item:has(+.components-tools-panel-item) .ghostkit-component-dropdown-picker-toggle{border-bottom:none}.ghostkit-tools-panel-custom-css{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-control-pre-custom-css{background-color:#e8eaeb;padding:20px}.ghostkit-extension-customCSS-custom__dropdown{display:block;width:100%}.ghostkit-extension-customCSS-custom__dropdown-content .components-popover__content{padding:16px;width:500px}.ghostkit-extension-customCSS-custom__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-extension-customCSS-custom__dropdown-content-toggle{cursor:pointer;display:block;height:auto;padding:0;position:relative;width:100%}.ghostkit-extension-customCSS-custom__dropdown-content-toggle>span{align-items:center;background-color:var(--wp-admin-theme-color);border-radius:3px;color:#fff;display:flex;font-size:13px;font-weight:400;height:34px;justify-content:center;left:50%;margin-left:-55px;margin-top:-17px;position:absolute;top:50%;transition:background-color .2s;width:110px;z-index:1}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_editor{box-shadow:0 0 0 1px #b3b3b3;transition:box-shadow .2s}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scroller{filter:blur(0);opacity:.2;transition:filter .2s}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scrollbar,.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scroller{overflow:hidden}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ghostkit-component-code-editor{pointer-events:none}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover>span{background-color:var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover .ace_editor{box-shadow:0 0 0 1px var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover .ace_scroller{filter:blur(2px)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active>span{background-color:var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover .ace_editor{box-shadow:0 0 0 2px var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover .ace_scroller{filter:blur(2px)}.ace_editor.ace_autocomplete{z-index:1000000}.ghostkit-tools-panel-frame{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-control-border-row{align-items:center;display:flex;justify-content:space-between}.ghostkit-control-border-row .ghostkit-control-toggle-group{width:60%}.ghostkit-control-border-row .ghostkit-control-toggle-group .components-toggle-group-control{min-height:30px}.ghostkit-control-border-row .ghostkit-component-color-toggle{background:none;border:none;margin-top:4px;padding:0}.ghostkit-control-border-row .ghostkit-component-input-drag{max-width:62px}.ghostkit-control-box-shadow{align-items:flex-start;display:flex}.ghostkit-control-box-shadow>div:first-child{margin-right:auto}.ghostkit-control-box-shadow .ghostkit-component-color-toggle{background:none;border:none;margin-top:5px;padding:0}.ghostkit-control-radius{display:flex}.ghostkit-control-radius>div+div{margin-left:-1px}.ghostkit-control-radius>div:focus-within{z-index:1}.ghostkit-control-radius .ghostkit-control-radius-tl input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-control-radius .ghostkit-control-radius-br input,.ghostkit-control-radius .ghostkit-control-radius-tr input{border-radius:0}.ghostkit-control-radius .ghostkit-control-radius-bl input{border-bottom-left-radius:0;border-top-left-radius:0}.ghostkit-control-radius .components-base-control,.ghostkit-control-radius .components-base-control__field{margin-bottom:0!important}.ghostkit-tools-panel-position{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-tools-panel-display{grid-column:1/-1}.ghostkit-d-none{filter:opacity(.4) saturate(0)}.ghostkit-d-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-block{filter:none}.ghostkit-d-block:after{background-image:none}@media(max-width:1200px){.ghostkit-d-xl-none{filter:opacity(.4) saturate(0)}.ghostkit-d-xl-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-xl-block{filter:none}.ghostkit-d-xl-block:after{background-image:none}}@media(max-width:992px){.ghostkit-d-lg-none{filter:opacity(.4) saturate(0)}.ghostkit-d-lg-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-lg-block{filter:none}.ghostkit-d-lg-block:after{background-image:none}}@media(max-width:768px){.ghostkit-d-md-none{filter:opacity(.4) saturate(0)}.ghostkit-d-md-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-md-block{filter:none}.ghostkit-d-md-block:after{background-image:none}}@media(max-width:576px){.ghostkit-d-sm-none{filter:opacity(.4) saturate(0)}.ghostkit-d-sm-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-sm-block{filter:none}.ghostkit-d-sm-block:after{background-image:none}}.ghostkit-tools-panel-spacings{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-toolbar-templates{white-space:nowrap}.ghostkit-toolbar-templates .components-button{gap:6px}.ghostkit-has-transform{transform:perspective(var(--gkt-transform-perspective,none)) translateX(var(--gkt-transform-x,0)) translateY(var(--gkt-transform-y,0)) scale(var(--gkt-transform-scale,1)) rotate(var(--gkt-transform-rotate,0deg)) rotateX(var(--gkt-transform-rotate-x,0deg)) rotateY(var(--gkt-transform-rotate-y,0deg)) rotate(var(--gkt-transform-rotate-z,0deg)) skewX(var(--gkt-transform-skew-x,0deg)) skewY(var(--gkt-transform-skew-y,0deg));transform-origin:var(--gkt-transform-origin,50% 50%)}.ghostkit-tools-panel-transform{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-badge{--gkt-badge__padding-v:0.35em;--gkt-badge__padding-h:0.6em;--gkt-badge__font-size:0.75em;--gkt-badge__font-weight:600;--gkt-badge__line-height:1;--gkt-badge__border-radius:1em;--gkt-badge__text-color:#fff;--gkt-badge-default__color:var(--gkt-color-dark-gray);--gkt-badge-brand__color:var(--gkt-color-brand);--gkt-badge-primary__color:var(--gkt-color-primary);--gkt-badge-success__color:var(--gkt-color-success);--gkt-badge-danger__color:var(--gkt-color-danger);--gkt-badge-warning__color:var(--gkt-color-warning);--gkt-badge-info__color:var(--gkt-color-info);background-color:var(--gkt-badge-default__color);border:0 solid var(--gkt-badge-default__color);border-radius:var(--gkt-badge__border-radius);color:var(--gkt-badge__text-color);display:inline-block;font-size:var(--gkt-badge__font-size);font-weight:var(--gkt-badge__font-weight);line-height:var(--gkt-badge__line-height);padding:var(--gkt-badge__padding-v) var(--gkt-badge__padding-h);text-align:center;vertical-align:middle;white-space:nowrap}.ghostkit-badge-brand{background-color:var(--gkt-badge-brand__color);border-color:var(--gkt-badge-brand__color)}.ghostkit-badge-primary{background-color:var(--gkt-badge-primary__color);border-color:var(--gkt-badge-primary__color)}.ghostkit-badge-success{background-color:var(--gkt-badge-success__color);border-color:var(--gkt-badge-success__color)}.ghostkit-badge-danger{background-color:var(--gkt-badge-danger__color);border-color:var(--gkt-badge-danger__color)}.ghostkit-badge-warning{background-color:var(--gkt-badge-warning__color);border-color:var(--gkt-badge-warning__color)}.ghostkit-badge-info{background-color:var(--gkt-badge-info__color);border-color:var(--gkt-badge-info__color)}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary].ghostkit-badge:not([style]){background-color:#6a6c75}.ghostkit-format-badge-button__indicator{bottom:7px;height:4px;left:13px;position:absolute;width:20px}.ghostkit-text-uppercase{text-transform:uppercase}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-color-palette-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-color-palette-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-color-palette-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-color-palette-modal .components-modal__header{border-bottom:none;margin-bottom:-10px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-default .components-base-control__field{cursor:not-allowed}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-default .components-circular-option-picker__option-wrapper{pointer-events:none}.ghostkit-plugin-color-palette-modal h4{margin-top:24px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list{display:flex;flex-wrap:wrap}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper{margin-bottom:0;margin-right:5px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper .ghostkit-component-color-toggle{background:none;border:none;padding:0}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper>.components-base-control__field{margin:0}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-add-new .components-circular-option-picker__option{color:#fff;font-family:sans-serif;font-size:20px;line-height:20px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-add-new .components-circular-option-picker__option .components-color-palette__custom-color-gradient{color:#525252}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-custom-code-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-custom-code-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-custom-code-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-custom-code-modal .components-modal__header{border-bottom:none}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-customizer-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-customizer-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-customizer-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-customizer-modal .ghostkit-customizer-info{color:#0085ba;margin-bottom:13px;margin-right:auto;max-width:300px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-spinner{margin-bottom:13px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-spinner>span{float:left;margin:0}.ghostkit-plugin-customizer-modal .components-placeholder__fieldset{z-index:21}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list{margin-top:10px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div{margin-left:-16px;margin-right:-16px;margin-top:-1px;padding:16px;position:relative;transition:background-color .2s}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div:hover{background-color:#f9f9f9}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-field{margin-bottom:0;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info{display:flex}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info>*{max-width:60%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info>*+*{margin-left:15px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-id{opacity:.3;word-break:break-word}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-default{margin-left:auto;opacity:.3;word-break:break-word}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-default span{font-weight:700}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove{align-items:center;background:#eaeaea;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:15px;justify-content:center;opacity:0;position:absolute;right:16px;top:14px;transition:opacity .2s,visibility .2s,background-color .2s;visibility:hidden;width:15px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove:hover{background-color:#ff4340}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove span{font-size:10px;height:10px;width:10px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div:hover .ghostkit-customizer-list-remove{opacity:1;visibility:visible}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list .components-toggle-control{margin-bottom:0}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list .components-color-palette{margin-bottom:-10px}.ghostkit-toolbar-responsive~.block-editor-post-preview__dropdown,.ghostkit-toolbar-responsive~.editor-preview-dropdown{display:none}@media screen and (max-width:600px){.ghostkit-toolbar-responsive{display:none}}.ghostkit-toolbar-responsive__button-toggle svg,.ghostkit-toolbar-responsive__dropdown-content .components-menu-item__button svg{height:auto;width:22px}.ghostkit-toolbar-responsive__dropdown-content .components-menu-item__button.is-active{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.interface-pinned-items .components-button .ghostkit-plugin-icon svg{display:block}.interface-pinned-items .components-button:not(.is-toggled,.is-pressed) .ghostkit-plugin-icon svg{color:#2e1645}.plugin-ghostkit-panel .plugin-ghostkit-panel-button{background:none;border:1px solid;border-radius:4px;color:inherit;cursor:pointer;display:block;flex-shrink:0;height:auto;margin-bottom:16px;overflow:hidden;padding:15px 10px;text-align:center;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s;width:100%}.plugin-ghostkit-panel .plugin-ghostkit-panel-button,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:hover{border-color:rgba(79,89,105,.2);box-shadow:none}.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:hover{background-color:#f8f9f9;color:#191e23}.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus:enabled{border-color:#00669b;box-shadow:0 0 0 2px #007cba;color:#191e23}.plugin-ghostkit-panel .plugin-ghostkit-panel-button svg{display:block;margin:3px auto 10px;text-align:center}.ghostkit-plugin-templates-modal-notice.components-notice{margin-bottom:15px;margin-left:-15px;margin-right:-15px;padding-bottom:0;padding-top:0}.ghostkit-plugin-templates-modal-notice.components-notice h3{font-size:14px}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-hide-header .components-modal__content>.components-modal__header:first-of-type{display:none}.ghostkit-plugin-templates-modal .components-modal__header{border-bottom:none}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-control-tabs{opacity:.3;pointer-events:none}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-plugin-templates-modal-loading-spinner{position:absolute;right:50px;top:14px;z-index:10}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-plugin-templates-modal-loading-spinner .components-spinner{float:none;margin-left:0}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-categories-row{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-categories-select{margin-bottom:10px;max-width:170px}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-count{margin-bottom:20px;max-width:170px;opacity:.7}.ghostkit-plugin-templates-modal .components-tab-panel__tab-content{background-color:#f8f9f9;margin:-15px -16px;padding:15px 16px}.ghostkit-templates-missing-block-alert.ghostkit-alert{border-left-color:var(--gkt-color-danger);margin-bottom:20px}.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional{width:100%}.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional,.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional .components-button{margin-top:10px}.ghostkit-plugin-templates-spinner .components-spinner{float:none;margin-left:0}.ghostkit-plugin-templates-list{display:flex;flex-wrap:wrap;list-style:none;margin-left:-15px;margin-top:-15px;padding:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 33.33%;padding-left:15px;padding-top:15px;width:33.33%}@media screen and (max-width:840px){.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 50%;width:50%}}@media screen and (max-width:450px){.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 100%;width:100%}}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button{background:none;background-color:#fff;border:none;border-radius:4px;box-shadow:0 0 0 1px #edeff0;cursor:pointer;display:block;padding:0;transition:border-color .2s,box-shadow .2s;width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:active,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:focus,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:hover{box-shadow:0 0 0 2px #007cba}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image{display:block;position:relative}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image img{border-top-left-radius:4px;border-top-right-radius:4px;display:block;height:auto;width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer{width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer+.lazyload-wrapper img,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer+img{height:100%;left:0;position:absolute;top:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item .ghostkit-plugin-templates-list-item-title{border-top:1px solid #f8f9f9;font-size:10px;font-weight:600;padding:10px;text-transform:uppercase}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item.ghostkit-plugin-templates-list-item-no-thumb>button{background-color:#f3f4f5;border:1px solid #edeff0;padding:20px 10px;text-align:center}.ghostkit-typography-container{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.ghostkit-typography-container+.ghostkit-typography-container{border-top:1px solid #e8eaeb;margin-top:16px}.ghostkit-typography-advanced{margin-top:10px;text-align:right}.is-style-numbered{--gkt-numbered-headings__margin-right:0.4em;--gkt-numbered-headings--h2-number__width:1.6em;--gkt-numbered-headings--h2-number__height:1.6em;--gkt-numbered-headings--h2-number__line-height:1;--gkt-numbered-headings--h2-number__color:#fff;--gkt-numbered-headings--h2-number__background-color:var(--gkt-color-dark-gray);--gkt-numbered-headings--h2-number__border-radius:50%}.editor-styles-wrapper{counter-reset:h2}.editor-styles-wrapper .is-style-numbered:before{margin:0;margin-right:var(--gkt-numbered-headings__margin-right)}.editor-styles-wrapper h2.is-style-numbered:before{align-items:center;background-color:var(--gkt-numbered-headings--h2-number__background-color);border-radius:var(--gkt-numbered-headings--h2-number__border-radius);color:var(--gkt-numbered-headings--h2-number__color);display:inline-flex;height:var(--gkt-numbered-headings--h2-number__height);justify-content:center;line-height:var(--gkt-numbered-headings--h2-number__line-height);width:var(--gkt-numbered-headings--h2-number__width)}.editor-styles-wrapper h2.is-style-numbered{counter-increment:h2;counter-reset:h3}.editor-styles-wrapper h2.is-style-numbered:before{content:counter(h2)}.editor-styles-wrapper h3.is-style-numbered{counter-increment:h3;counter-reset:h4}.editor-styles-wrapper h3.is-style-numbered:before{content:counter(h3)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered:before{content:counter(h2) "." counter(h3)}.editor-styles-wrapper h4.is-style-numbered{counter-increment:h4;counter-reset:h5}.editor-styles-wrapper h4.is-style-numbered:before{content:counter(h4)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered:before{content:counter(h3) "." counter(h4)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4)}.editor-styles-wrapper h5.is-style-numbered{counter-increment:h5;counter-reset:h6}.editor-styles-wrapper h5.is-style-numbered:before{content:counter(h5)}.editor-styles-wrapper h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h4) "." counter(h5)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h3) "." counter(h4) "." counter(h5)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4) "." counter(h5)}.editor-styles-wrapper h6.is-style-numbered{counter-increment:h6}.editor-styles-wrapper h6.is-style-numbered:before{content:counter(h6)}.editor-styles-wrapper h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h5) "." counter(h6)}.editor-styles-wrapper h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h4) "." counter(h5) "." counter(h6)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h3) "." counter(h4) "." counter(h5) "." counter(h6)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6)}.editor-block-styles__item .editor-styles-wrapper .is-style-numbered:before{content:"1"}.is-style-styled{--gkt-styled-lists--items__line-height:1.5;--gkt-styled-lists--items__gap:0.5em;--gkt-styled-lists--inner-lists__padding-v:1em;--gkt-styled-lists--inner-lists__padding-h:0;--gkt-styled-lists-numbered__padding-left:2em;--gkt-styled-lists-numbered--decoration__top:0;--gkt-styled-lists-numbered--decoration__left:0;--gkt-styled-lists-numbered--decoration__width:2em;--gkt-styled-lists-numbered--decoration__height:2em;--gkt-styled-lists-numbered--decoration__font-size:0.7em;--gkt-styled-lists-numbered--decoration__font-weight:600;--gkt-styled-lists-numbered--decoration__line-height:1;--gkt-styled-lists-numbered--decoration__color:#fff;--gkt-styled-lists-numbered--decoration__background-color:var(--gkt-color-dark-gray);--gkt-styled-lists-numbered--decoration__border-radius:50%;--gkt-styled-lists-dotted__padding-left:2em;--gkt-styled-lists-dotted--decoration__top:0.65em;--gkt-styled-lists-dotted--decoration__left:0.9em;--gkt-styled-lists-dotted--decoration__width:0.2em;--gkt-styled-lists-dotted--decoration__height:0.2em;--gkt-styled-lists-dotted--decoration__background-color:var(--gkt-color-dark-gray)}.is-style-icon{--gkt-icon-lists--items__line-height:1.5;--gkt-icon-lists--items__padding-left:2em;--gkt-icon-lists--items__gap:0.5em;--gkt-icon-lists--inner-lists__padding-v:1em;--gkt-icon-lists--inner-lists__padding-h:0;--gkt-icon-lists--decoration:url('data:image/svg+xml;utf8,');--gkt-icon-lists--decoration__top:0;--gkt-icon-lists--decoration__left:0;--gkt-icon-lists--decoration__width:1.5em;--gkt-icon-lists--decoration__height:1.5em;--gkt-icon-lists--decoration__color:var(--gkt-color-brand)}.editor-styles-wrapper .is-style-icon,.editor-styles-wrapper .is-style-icon ol,.editor-styles-wrapper .is-style-icon ul,.editor-styles-wrapper .is-style-none,.editor-styles-wrapper .is-style-none ol,.editor-styles-wrapper .is-style-none ul,.editor-styles-wrapper .is-style-styled,.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper .is-style-styled ul{list-style:none;padding-left:0}.editor-styles-wrapper .is-style-icon ol,.editor-styles-wrapper .is-style-icon ul,.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper .is-style-styled ul{margin-left:0}.editor-styles-wrapper ol.is-style-styled,.editor-styles-wrapper ul.is-style-styled{line-height:var(--gkt-styled-lists__line-height)}.editor-styles-wrapper ol.is-style-styled li,.editor-styles-wrapper ul.is-style-styled li{list-style:none;margin-left:0}.editor-styles-wrapper ol.is-style-styled li>ol,.editor-styles-wrapper ol.is-style-styled li>ul,.editor-styles-wrapper ul.is-style-styled li>ol,.editor-styles-wrapper ul.is-style-styled li>ul{margin:var(--gkt-styled-lists--inner-lists__padding-v) var(--gkt-styled-lists--inner-lists__padding-h);width:100%}.editor-styles-wrapper ol.is-style-styled li+li,.editor-styles-wrapper ul.is-style-styled li+li{margin-top:var(--gkt-styled-lists--items__gap)}.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper ol.is-style-styled{counter-reset:li}.editor-styles-wrapper .is-style-styled ol>li,.editor-styles-wrapper ol.is-style-styled>li{padding-left:var(--gkt-styled-lists-numbered__padding-left);position:relative}.editor-styles-wrapper .is-style-styled ol>li:before,.editor-styles-wrapper ol.is-style-styled>li:before{align-items:center;align-self:flex-start;background-color:var(--gkt-styled-lists-numbered--decoration__background-color);border-radius:var(--gkt-styled-lists-numbered--decoration__border-radius);color:var(--gkt-styled-lists-numbered--decoration__color);content:counter(li);counter-increment:li;display:flex;flex:0 0 var(--gkt-styled-lists-numbered--decoration__width);font-size:var(--gkt-styled-lists-numbered--decoration__font-size);font-weight:var(--gkt-styled-lists-numbered--decoration__font-weight);height:var(--gkt-styled-lists-numbered--decoration__height);justify-content:center;left:var(--gkt-styled-lists-numbered--decoration__left);line-height:var(--gkt-styled-lists-numbered--decoration__line-height);position:absolute;top:var(--gkt-styled-lists-numbered--decoration__top);width:var(--gkt-styled-lists-numbered--decoration__width)}.editor-styles-wrapper .is-style-styled ol[reversed]>li:before,.editor-styles-wrapper ol.is-style-styled[reversed]>li:before{counter-increment:li -1}.editor-styles-wrapper .is-style-styled ul>li,.editor-styles-wrapper ul.is-style-styled>li{padding-left:var(--gkt-styled-lists-dotted__padding-left);position:relative}.editor-styles-wrapper .is-style-styled ul>li:before,.editor-styles-wrapper ul.is-style-styled>li:before{background-color:var(--gkt-styled-lists-dotted--decoration__background-color);content:"";height:var(--gkt-styled-lists-dotted--decoration__height);left:var(--gkt-styled-lists-dotted--decoration__left);position:absolute;top:var(--gkt-styled-lists-dotted--decoration__top);width:var(--gkt-styled-lists-dotted--decoration__width)}.editor-styles-wrapper ol.is-style-icon,.editor-styles-wrapper ul.is-style-icon{line-height:var(--gkt-icon-lists--items__line-height)}.editor-styles-wrapper ol.is-style-icon li,.editor-styles-wrapper ul.is-style-icon li{list-style:none;margin-left:0;padding-left:var(--gkt-icon-lists--items__padding-left);position:relative}.editor-styles-wrapper ol.is-style-icon li:before,.editor-styles-wrapper ul.is-style-icon li:before{background-color:var(--gkt-icon-lists--decoration__color);content:"";flex:0 0 var(--gkt-icon-lists--decoration__width);height:var(--gkt-icon-lists--decoration__height);left:var(--gkt-icon-lists--decoration__left);-webkit-mask-image:var(--gkt-icon-lists--decoration);mask-image:var(--gkt-icon-lists--decoration);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;position:absolute;top:var(--gkt-icon-lists--decoration__top);width:var(--gkt-icon-lists--decoration__width)}.editor-styles-wrapper ol.is-style-icon li>ol,.editor-styles-wrapper ol.is-style-icon li>ul,.editor-styles-wrapper ul.is-style-icon li>ol,.editor-styles-wrapper ul.is-style-icon li>ul{margin:var(--gkt-icon-lists--inner-lists__padding-v) var(--gkt-icon-lists--inner-lists__padding-h);width:100%}.editor-styles-wrapper ol.is-style-icon li+li,.editor-styles-wrapper ul.is-style-icon li+li{margin-top:var(--gkt-icon-lists--items__gap)}.editor-styles-wrapper .ghostkit-list-columns-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-6{-moz-column-count:6;column-count:6}@media(max-width:1200px){.editor-styles-wrapper .ghostkit-list-columns-xl-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-xl-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-xl-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-xl-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-xl-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-xl-6{-moz-column-count:6;column-count:6}}@media(max-width:992px){.editor-styles-wrapper .ghostkit-list-columns-lg-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-lg-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-lg-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-lg-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-lg-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-lg-6{-moz-column-count:6;column-count:6}}@media(max-width:768px){.editor-styles-wrapper .ghostkit-list-columns-md-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-md-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-md-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-md-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-md-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-md-6{-moz-column-count:6;column-count:6}}@media(max-width:576px){.editor-styles-wrapper .ghostkit-list-columns-sm-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-sm-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-sm-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-sm-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-sm-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-sm-6{-moz-column-count:6;column-count:6}}.ghostkit-paragraph-columns-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-6{-moz-column-count:6;column-count:6}@media(max-width:1200px){.ghostkit-paragraph-columns-xl-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-xl-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-xl-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-xl-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-xl-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-xl-6{-moz-column-count:6;column-count:6}}@media(max-width:992px){.ghostkit-paragraph-columns-lg-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-lg-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-lg-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-lg-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-lg-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-lg-6{-moz-column-count:6;column-count:6}}@media(max-width:768px){.ghostkit-paragraph-columns-md-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-md-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-md-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-md-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-md-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-md-6{-moz-column-count:6;column-count:6}}@media(max-width:576px){.ghostkit-paragraph-columns-sm-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-sm-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-sm-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-sm-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-sm-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-sm-6{-moz-column-count:6;column-count:6}}svg.ghostkit-svg-icon{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em;width:1em}.ghostkit-icon-spinner,.ghostkit-video-spinner{--gkt-icon-spinner__color:currentcolor;--gkt-icon-spinner__size:20px;--gkt-icon-spinner__border-size:2px;--gkt-icon-spinner__speed:0.3s;--gkt-icon-spinner--background__color:var(--gkt-icon-spinner__color);--gkt-icon-spinner--background__opacity:0.3;animation:ghostkit-icon-spinner var(--gkt-icon-spinner__speed) infinite linear;border:var(--gkt-icon-spinner__border-size) solid transparent;border-left:var(--gkt-icon-spinner__border-size) solid var(--gkt-icon-spinner__color);border-radius:50%;box-sizing:border-box;display:block;height:var(--gkt-icon-spinner__size);position:relative;text-indent:-9999em;width:var(--gkt-icon-spinner__size)}.ghostkit-icon-spinner:after,.ghostkit-video-spinner:after{border:var(--gkt-icon-spinner__border-size) solid var(--gkt-icon-spinner--background__color);border-radius:50%;bottom:calc(var(--gkt-icon-spinner__border-size)*-1);content:"";display:block;left:calc(var(--gkt-icon-spinner__border-size)*-1);opacity:var(--gkt-icon-spinner--background__opacity);position:absolute;right:calc(var(--gkt-icon-spinner__border-size)*-1);top:calc(var(--gkt-icon-spinner__border-size)*-1)}@keyframes ghostkit-icon-spinner{to{transform:rotate(1turn)}}.ghostkit-accordion{--gkt-accordion--heading__margin:0;--gkt-accordion--heading__padding-v:0.75em;--gkt-accordion--heading__padding-h:0;--gkt-accordion--heading__font-weight:500;--gkt-accordion--heading__font-size:1em;--gkt-accordion--heading__line-height:1.6;--gkt-accordion--heading__gap:1em;--gkt-accordion--heading-collapse-icon__font-size:1em;--gkt-accordion--heading-collapse-icon-active__transform:rotate(90deg);--gkt-accordion--content__padding-v:0.75em;--gkt-accordion--content__padding-h:0;--gkt-accordion__transition-duration:var(--gkt-transition-duration);--gkt-accordion__transition-easing:var(--gkt-transition-easing)}.ghostkit-accordion-item{display:block}.ghostkit-accordion-item .ghostkit-accordion-item-heading{align-items:center;display:flex;font-size:var(--gkt-accordion--heading__font-size);font-weight:var(--gkt-accordion--heading__font-weight);gap:var(--gkt-accordion--heading__gap);line-height:var(--gkt-accordion--heading__line-height);margin:var(--gkt-accordion--heading__margin);padding:var(--gkt-accordion--heading__padding-v) var(--gkt-accordion--heading__padding-h);position:relative}.ghostkit-accordion-item .ghostkit-accordion-item-heading>a,.ghostkit-accordion-item a.ghostkit-accordion-item-heading{border-bottom:none;box-shadow:none;color:inherit;text-decoration:none}.ghostkit-accordion-item-collapse{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;font-size:var(--gkt-accordion--heading-collapse-icon__font-size);justify-content:center;margin-left:auto;outline:none;padding:0;transition:var(--gkt-accordion__transition-duration) transform var(--gkt-accordion__transition-easing)}.ghostkit-accordion-item-content{display:none}.ghostkit-accordion-item-active .ghostkit-accordion-item-heading{opacity:1}.ghostkit-accordion-item-active .ghostkit-accordion-item-collapse{transform:var(--gkt-accordion--heading-collapse-icon-active__transform)}.ghostkit-accordion-item-active .ghostkit-accordion-item-content{display:block}.edit-post-visual-editor,.edit-post-visual-editor p,.editor-rich-text__tinymce.mce-content-body{line-height:inherit}.ghostkit-accordion>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{display:none}.ghostkit-accordion-add-item{padding-bottom:5px;text-align:center}.block-editor-inserter__preview .ghostkit-accordion-item-content .block-editor-block-list__layout{margin-left:0;margin-right:0}.ghostkit-alert{--gkt-alert__padding-v:1.5em;--gkt-alert__padding-h:1.5em;--gkt-alert__border-color:var(--gkt-color-warning);--gkt-alert__border-width:1px;--gkt-alert__border-left-width:3px;--gkt-alert__border-radius:var(--gkt-border-radius);--gkt-alert--icon__padding:3px;--gkt-alert--icon__padding-right:1.5em;--gkt-alert--icon__font-size:1em;--gkt-alert--icon__color:var(--gkt-color-warning);--gkt-alert--hide-button__padding-left:1.5em;--gkt-alert--hide-button__font-size:0.8em;--gkt-alert--hide-button-hover__opacity:0.6;--gkt-alert__transition-duration:var(--gkt-transition-duration);--gkt-alert__transition-easing:var(--gkt-transition-easing);border:var(--gkt-alert__border-width) solid var(--gkt-alert__border-color);border-left-width:var(--gkt-alert__border-left-width);border-radius:var(--gkt-alert__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-alert__padding-v) var(--gkt-alert__padding-h);transition:var(--gkt-alert__transition-duration) border-color var(--gkt-alert__transition-easing)}.ghostkit-alert-icon{color:var(--gkt-alert--icon__color);display:flex;font-size:var(--gkt-alert--icon__font-size);padding:var(--gkt-alert--icon__padding);padding-right:var(--gkt-alert--icon__padding-right);transition:var(--gkt-alert__transition-duration) color var(--gkt-alert__transition-easing)}.ghostkit-alert-content{flex:1}.ghostkit-alert-hide-button{cursor:pointer;display:flex;font-size:var(--gkt-alert--hide-button__font-size);opacity:1;padding-left:var(--gkt-alert--hide-button__padding-left);transition:var(--gkt-alert__transition-duration) opacity var(--gkt-alert__transition-easing)}.ghostkit-alert-hide-button:focus,.ghostkit-alert-hide-button:hover{opacity:var(--gkt-alert--hide-button__hover__opacity)}.ghostkit-button-wrapper{--gkt-button__gap:15px;--gkt-button__gap-vertical:var(--gkt-button__gap);--gkt-button__align-items:flex-start;--gkt-button__justify-content:flex-start}.ghostkit-button{--gkt-button__padding-v:0.75em;--gkt-button__padding-h:1em;--gkt-button__line-height:1em;--gkt-button__color:#fff;--gkt-button__background-color:var(--gkt-color-primary);--gkt-button__border-width:0%;--gkt-button__border-color:var(--gkt-color-primary);--gkt-button__border-radius:var(--gkt-border-radius);--gkt-button__outline:none;--gkt-button__box-shadow:none;--gkt-button-hover__color:#fff;--gkt-button-hover__background-color:var(--gkt-color-dark-gray);--gkt-button-hover__border-width:var(--gkt-button__border-width);--gkt-button-hover__border-color:var(--gkt-button__border-color);--gkt-button-hover__box-shadow:var(--gkt-button__box-shadow);--gkt-button-focus__color:var(--gkt-button-hover__color);--gkt-button-focus__background-color:var(--gkt-button-hover__background-color);--gkt-button-focus__border-width:var(--gkt-button-hover__border-width);--gkt-button-focus__border-color:var(--gkt-button-hover__border-color);--gkt-button-focus__box-shadow:var(--gkt-button-hover__box-shadow);--gkt-button-xs__font-size:0.8em;--gkt-button-sm__font-size:0.85em;--gkt-button__font-size:1em;--gkt-button-lg__font-size:1.15em;--gkt-button-xl__font-size:1.3em;--gkt-button-icon-only__padding-v:var(--gkt-button__padding-v);--gkt-button-icon-only__padding-h:var(--gkt-button__padding-v);--gkt-button--icon__offset:10px;--gkt-button__transition-duration:var(--gkt-transition-duration);--gkt-button__transition-easing:var(--gkt-transition-easing)}.ghostkit-button-wrapper-inner{align-items:var(--gkt-button__align-items);clear:both;-moz-column-gap:var(--gkt-button__gap);column-gap:var(--gkt-button__gap);display:flex;flex-wrap:wrap;justify-content:var(--gkt-button__justify-content);row-gap:var(--gkt-button__gap-vertical)}.ghostkit-button{align-items:center;background-color:var(--gkt-button__background-color);border:var(--gkt-button__border-width) solid var(--gkt-button__border-color);border-radius:var(--gkt-button__border-radius);box-shadow:var(--gkt-button__box-shadow);color:var(--gkt-button__color);cursor:pointer;display:inline-flex;font-size:var(--gkt-button__font-size);justify-content:center;line-height:var(--gkt-button__line-height);margin:0;outline:var(--gkt-button__outline);padding:var(--gkt-button__padding-v) var(--gkt-button__padding-h);text-align:center;text-decoration:none!important;transition:var(--gkt-button__transition-duration) background-color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) border-color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) opacity var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) box-shadow var(--gkt-button__transition-easing);white-space:nowrap}.ghostkit-button:hover{background-color:var(--gkt-button-hover__background-color);border:var(--gkt-button-hover__border-width) solid var(--gkt-button-hover__border-color);box-shadow:var(--gkt-button-hover__box-shadow);color:var(--gkt-button-hover__color)}.ghostkit-button:active,.ghostkit-button:focus{background-color:var(--gkt-button-focus__background-color);border:var(--gkt-button-focus__border-width) solid var(--gkt-button-focus__border-color);box-shadow:var(--gkt-button-focus__box-shadow);color:var(--gkt-button-focus__color)}.ghostkit-button-icon-left{margin-right:var(--gkt-button--icon__offset)}.ghostkit-button-icon-right{margin-left:var(--gkt-button--icon__offset);order:2}.ghostkit-button-icon-only{padding:var(--gkt-button-icon-only__padding-v) var(--gkt-button-icon-only__padding-h)}.ghostkit-button-icon-only .ghostkit-button-icon{margin:0}.ghostkit-button-xs{font-size:var(--gkt-button-xs__font-size)}.ghostkit-button-sm{font-size:var(--gkt-button-sm__font-size)}.ghostkit-button-lg{font-size:var(--gkt-button-lg__font-size)}.ghostkit-button-xl{font-size:var(--gkt-button-xl__font-size)}.ghostkit-button-wrapper-align-left{--gkt-button__justify-content:flex-start}.ghostkit-button-wrapper-align-right{--gkt-button__justify-content:flex-end}.ghostkit-button-wrapper-align-center{--gkt-button__justify-content:center}.ghostkit-button-wrapper-gap-no{--gkt-button__gap:0%}.ghostkit-button-wrapper-gap-sm{--gkt-button__gap:15px}.ghostkit-button-wrapper-gap-md{--gkt-button__gap:30px}.ghostkit-button-wrapper-gap-lg{--gkt-button__gap:45px}.ghostkit-button-wrapper .blocks-rich-text__tinymce{cursor:text}.ghostkit-button-wrapper .block-list-appender__toggle{min-width:unset}.ghostkit-button-wrapper .block-list-appender__toggle.has-icon svg{margin:0}.ghostkit-button .editor-rich-text__tinymce{line-height:1em}.ghostkit-button.ghostkit-button-is-normal-state{background-color:var(--gkt-button__background-color);border:var(--gkt-button__border-width) solid var(--gkt-button__border-color);box-shadow:var(--gkt-button__box-shadow);color:var(--gkt-button__color)}.ghostkit-button.ghostkit-button-is-hover-state{background-color:var(--gkt-button-hover__background-color);border:var(--gkt-button-hover__border-width) solid var(--gkt-button-hover__border-color);box-shadow:var(--gkt-button-hover__box-shadow);color:var(--gkt-button-hover__color)}.ghostkit-button.ghostkit-button-is-focus-state{background-color:var(--gkt-button-focus__background-color);border:var(--gkt-button-focus__border-width) solid var(--gkt-button-focus__border-color);box-shadow:var(--gkt-button-focus__box-shadow);color:var(--gkt-button-focus__color)}.ghostkit-carousel{--gkt-carousel--fade-edges__size:12%;--gkt-carousel--arrows__width:2.2em;--gkt-carousel--arrows__height:2.2em;--gkt-carousel--arrows__offset:0.5em;--gkt-carousel--arrows__font-size:0.9em;--gkt-carousel--arrows__color:var(--gkt-color-dark-gray);--gkt-carousel--arrows__background-color:#fff;--gkt-carousel--arrows__border-radius:50%;--gkt-carousel--arrows__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-carousel--arrows__opacity:0.5;--gkt-carousel--arrows-hover__box-shadow:0 2px 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-carousel--arrows-hover__opacity:1;--gkt-carousel--arrows-hover__transform:translateY(-1px);--gkt-carousel--bullets__width:0.4em;--gkt-carousel--bullets__height:0.4em;--gkt-carousel--bullets__margin-top:25px;--gkt-carousel--bullets__gap:0.8em;--gkt-carousel--bullets__background-color:var(--gkt-color-dark-gray);--gkt-carousel--bullets__border-radius:50%;--gkt-carousel--bullets__opacity:0.2;--gkt-carousel--bullets-hover__opacity:0.5;--gkt-carousel--bullets-active__opacity:1;--gkt-carousel__transition-duration:var(--gkt-transition-duration);--gkt-carousel__transition-easing:var(--gkt-transition-easing);--gkt-carousel-gap:20px;--gkt-carousel-slides-per-view:2;overflow-x:auto;overflow-y:hidden;padding-bottom:10px;position:relative}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;gap:var(--gkt-carousel-gap);margin:0}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{--gkt-carousel-slide-width:calc(100%/var(--gkt-carousel-slides-per-view) - var(--gkt-carousel-gap)*(var(--gkt-carousel-slides-per-view) - 1)/var(--gkt-carousel-slides-per-view));background-color:hsla(0,0%,49%,.05);flex:0 0 var(--gkt-carousel-slide-width);margin:0;max-width:var(--gkt-carousel-slide-width);min-width:var(--gkt-carousel-slide-width)}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block:last-of-type{margin-right:0}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{min-width:auto}.ghostkit-carousel-fade-edges{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--gkt-carousel--fade-edges__size),#000 calc(100% - var(--gkt-carousel--fade-edges__size)),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 var(--gkt-carousel--fade-edges__size),#000 calc(100% - var(--gkt-carousel--fade-edges__size)),transparent 100%)}.block-editor-inserter__preview .ghostkit-carousel-slide .block-editor-block-list__layout,.block-editor-inserter__preview .ghostkit-carousel-slide .block-editor-block-list__layout .wp-block-image{margin:0}.editor-styles-wrapper .ghostkit-changelog,.ghostkit-changelog{--gkt-changelog--version-badge__min-width:3.6em;--gkt-changelog--version-badge__padding-v:0.1em;--gkt-changelog--version-badge__padding-h:0.6em;--gkt-changelog--version-badge__font-weight:600;--gkt-changelog--version-badge__color:#fff;--gkt-changelog--version-badge__background-color:var(--gkt-color-dark-gray);--gkt-changelog--version-badge__border-radius:1em;--gkt-changelog--date__margin-left:1em;--gkt-changelog--date__font-size:1em;--gkt-changelog--line__top:2.5em;--gkt-changelog--line__left:calc(var(--gkt-changelog--version-badge__min-width)/2);--gkt-changelog--line__width:3px;--gkt-changelog--line__background-color:var(--gkt-color-dark-gray);--gkt-changelog--line__border-radius:1em;--gkt-changelog--line__opacity:0.2;--gkt-changelog--content__margin-top:1.5em;--gkt-changelog--content-lists__margin-bottom:1em;--gkt-changelog--content-badges__min-width:6.5em;--gkt-changelog--content-badges__margin-right:1em;--gkt-changelog--content-badges__font-size:0.65em;--gkt-changelog--content-badges__font-weight:600;--gkt-changelog--content-badges__text-transform:uppercase}.editor-styles-wrapper .ghostkit-changelog{align-items:center;display:flex;flex-wrap:wrap;position:relative;z-index:0}.editor-styles-wrapper .ghostkit-changelog:before{background-color:var(--gkt-changelog--line__background-color);border-radius:var(--gkt-changelog--line__border-radius);bottom:0;content:"";display:block;left:var(--gkt-changelog--line__left);opacity:var(--gkt-changelog--line__opacity);position:absolute;top:var(--gkt-changelog--line__top);width:var(--gkt-changelog--line__width);z-index:-1}.editor-styles-wrapper .ghostkit-changelog-version{background-color:var(--gkt-changelog--version-badge__background-color);border-radius:var(--gkt-changelog--version-badge__border-radius);color:var(--gkt-changelog--version-badge__color);font-weight:var(--gkt-changelog--version-badge__font-weight);min-width:var(--gkt-changelog--version-badge__min-width);padding:var(--gkt-changelog--version-badge__padding-v) var(--gkt-changelog--version-badge__padding-h);text-align:center}.editor-styles-wrapper .ghostkit-changelog .ghostkit-changelog-date{font-size:var(--gkt-changelog--date__font-size);margin:0;margin-left:var(--gkt-changelog--date__margin-left)}.editor-styles-wrapper .ghostkit-changelog-more{margin-top:var(--gkt-changelog--content__margin-top);padding-left:calc(var(--gkt-changelog--version-badge__min-width) + var(--gkt-changelog--date__margin-left));width:100%}@media screen and (max-width:768px){.editor-styles-wrapper .ghostkit-changelog-more{padding-left:0}}.editor-styles-wrapper .ghostkit-changelog .ghostkit-badge{font-size:var(--gkt-changelog--content-badges__font-size);font-weight:var(--gkt-changelog--content-badges__font-weight);margin-right:var(--gkt-changelog--content-badges__margin-right);min-width:var(--gkt-changelog--content-badges__min-width);text-transform:var(--gkt-changelog--content-badges__text-transform)}.ghostkit-changelog .ghostkit-changelog-date h2{font-size:inherit}.ghostkit-countdown{--gkt-countdown--unit__min-width:6.2em;--gkt-countdown--unit__padding-v:0.7em;--gkt-countdown--unit__padding-h:1.4em;--gkt-countdown--unit-number__font-weight:700;--gkt-countdown--unit-number__font-size:2em;--gkt-countdown--unit-number__color:var(--gkt-color-primary);--gkt-countdown--unit-label__font-size:1em;--gkt-countdown--unit-label__color:inherit;display:flex;flex-wrap:wrap}.ghostkit-countdown-units-align-left{justify-content:flex-start}.ghostkit-countdown-units-align-center{justify-content:center}.ghostkit-countdown-units-align-right{justify-content:flex-end}.ghostkit-countdown-unit{flex:0 0 auto;min-width:var(--gkt-countdown--unit__min-width);padding:var(--gkt-countdown--unit__padding-v) var(--gkt-countdown--unit__padding-h);text-align:center}.ghostkit-countdown-unit span{display:block}.ghostkit-countdown-unit-number{color:var(--gkt-countdown--unit-number__color);font-size:var(--gkt-countdown--unit-number__font-size);font-weight:var(--gkt-countdown--unit-number__font-weight)}.ghostkit-countdown-unit-label{color:var(--gkt-countdown--unit-label__color);font-size:var(--gkt-countdown--unit-label__font-size)}.ghostkit-countdown-expire-action{background-color:#f9f9f9;border:1px solid #efefef;border-radius:3px;display:none;display:block;margin-top:15px;padding:15px;width:100%}.ghostkit-countdown-expire-action-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600}.ghostkit-counter-box{--gkt-counter-box__padding-v:1.5em;--gkt-counter-box__padding-h:1.5em;--gkt-counter-box__border-width:1px;--gkt-counter-box__border-color:var(--gkt-color-light-gray-darken);--gkt-counter-box__border-radius:var(--gkt-border-radius);--gkt-counter-box--number__offset:1.5em;--gkt-counter-box--number__font-size:2.5em;--gkt-counter-box--number__color:var(--gkt-color-primary);--gkt-counter-box__transition-duration:var(--gkt-transition-duration);--gkt-counter-box__transition-easing:var(--gkt-transition-easing);border:var(--gkt-counter-box__border-width) solid var(--gkt-counter-box__border-color);border-radius:var(--gkt-counter-box__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-counter-box__padding-v) var(--gkt-counter-box__padding-h)}.ghostkit-counter-box-with-link{position:relative}.ghostkit-counter-box-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-counter-box-number{color:var(--gkt-counter-box--number__color);display:flex;font-size:var(--gkt-counter-box--number__font-size);transition:var(--gkt-counter-box__transition-duration) color var(--gkt-counter-box__transition-easing)}.ghostkit-counter-box-number~.ghostkit-counter-box-content{padding-left:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-right{order:2;padding-right:0}.ghostkit-counter-box-number-align-right~.ghostkit-counter-box-content{padding-left:0;padding-right:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-top{flex:100%;justify-content:center;padding-right:0}.ghostkit-counter-box-number-align-top~.ghostkit-counter-box-content{flex:100%;padding-left:0;padding-top:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-top-align-left{justify-content:flex-start}.ghostkit-counter-box-number-top-align-center{justify-content:center}.ghostkit-counter-box-number-top-align-right{justify-content:flex-end}.ghostkit-counter-box-content{flex:1}.ghostkit-divider{--gkt-divider__padding-v:0.75em;--gkt-divider__padding-h:0;--gkt-divider__border-width:1px;--gkt-divider__border-color:var(--gkt-color-dark-gray);--gkt-divider--icon__padding-v:0;--gkt-divider--icon__padding-h:1em;--gkt-divider--icon__font-size:1em;--gkt-divider--icon__color:var(--gkt-color-dark-gray);--gkt-divider__transition-duration:var(--gkt-transition-duration);--gkt-divider__transition-easing:var(--gkt-transition-easing);align-items:center;display:flex;flex-wrap:wrap;padding:var(--gkt-divider__padding-v) var(--gkt-divider__padding-h)}.ghostkit-divider:after,.ghostkit-divider:before{border-bottom:var(--gkt-divider__border-width) solid var(--gkt-divider__border-color);content:"";display:block;flex:1;max-width:50%;transition:var(--gkt-divider__transition-duration) border-color var(--gkt-divider__transition-easing)}.ghostkit-divider:not(.ghostkit-divider-with-icon):before{max-width:100%}.ghostkit-divider:not(.ghostkit-divider-with-icon):after{display:none}.ghostkit-divider-type-solid:after,.ghostkit-divider-type-solid:before{border-bottom-style:solid}.ghostkit-divider-type-dashed:after,.ghostkit-divider-type-dashed:before{border-bottom-style:dashed}.ghostkit-divider-type-dotted:after,.ghostkit-divider-type-dotted:before{border-bottom-style:dotted}.ghostkit-divider-type-double:after,.ghostkit-divider-type-double:before{border-bottom-style:double}.ghostkit-divider-icon{color:var(--gkt-divider--icon__color);display:flex;font-size:var(--gkt-divider--icon__font-size);padding:var(--gkt-divider--icon__padding-v) var(--gkt-divider--icon__padding-h);transition:var(--gkt-divider__transition-duration) color var(--gkt-divider__transition-easing)}.ghostkit-form{--gkt-form--field__font-family:inherit;--gkt-form--field__font-size:1em;--gkt-form--field__min-height:1.7em;--gkt-form--field-label__margin-bottom:0.5em;--gkt-form--field-label-required-mark__margin-left:0.5em;--gkt-form--field-label-required-mark__color:var(--gkt-color-danger);--gkt-form--field-description__margin-top:0.5em;--gkt-form--field-description__line-height:1;--gkt-form--field-description__opacity:0.5;--gkt-form--field-row__template-columns:repeat(auto-fit,minmax(200px,1fr));--gkt-form--field-row__gap:30px;--gkt-form--field-name-row-with-middle__template-columns:1.5fr 1fr 1.5fr;--gkt-form--field-radio-inline__margin-right:1.2em;--gkt-form--field-checkbox-inline__margin-right:1.2em;--gkt-form--field-textarea__min-height:7em;--gkt-form--errors__margin-top:0.5em;--gkt-form--errors__font-size:0.75em;--gkt-form--errors__line-height:0.75em;--gkt-form--errors__color:var(--gkt-color-danger);--gkt-form--field-success__border-color:var(--gkt-color-success);--gkt-form--field-error__border-color:var(--gkt-color-danger);--gkt-form--alert-success__color:var(--gkt-color-success);--gkt-form--alert-error__color:var(--gkt-color-danger);--gkt-form__transition-duration:var(--gkt-transition-duration);--gkt-form__transition-easing:var(--gkt-transition-easing)}.ghostkit-form-field-label{display:inline-block;margin-bottom:var(--gkt-form--field-label__margin-bottom)}.ghostkit-form-field-label .required{color:var(--gkt-form--field-label-required-mark__color);margin-left:var(--gkt-form--field-label-required-mark__margin-left)}.ghostkit-form-field-label-hidden{left:-99999px;position:absolute}.ghostkit-form-field-description{display:block;line-height:var(--gkt-form--field-description__line-height);margin-top:var(--gkt-form--field-description__margin-top);opacity:var(--gkt-form--field-description__opacity)}.ghostkit-form-field-description-hidden{left:-99999px;position:absolute}.ghostkit-form-field-row{display:grid;gap:var(--gkt-form--field-row__gap);grid-template-columns:var(--gkt-form--field-row__template-columns)}@media(max-width:768px){.ghostkit-form-field-row{grid-template-columns:1fr}}.ghostkit-form-field-name-with-middle .ghostkit-form-field-row{grid-template-columns:var(--gkt-form--field-name-row-with-middle__template-columns)}@media(max-width:768px){.ghostkit-form-field-name-with-middle .ghostkit-form-field-row{grid-template-columns:1fr}}.ghostkit-form-field input:not([type=checkbox],[type=radio]),.ghostkit-form-field select,.ghostkit-form-field textarea{font-family:var(--gkt-form--field__font-family);font-size:var(--gkt-form--field__font-size);max-width:100%;min-height:var(--gkt-form--field__min-height);width:100%}.ghostkit-form-field textarea{min-height:var(--gkt-form--field-textarea__min-height)}.ghostkit-form-field-radio .ghostkit-form-field-radio-item{display:block}.ghostkit-form-field-radio-inline .ghostkit-form-field-radio-item{display:inline-block;margin-right:var(--gkt-form--field-radio-inline__margin-right)}.ghostkit-form-field-checkbox .ghostkit-form-field-checkbox-item{display:block}.ghostkit-form-field-checkbox-inline .ghostkit-form-field-checkbox-item{display:inline-block;margin-right:var(--gkt-form--field-checkbox-inline__margin-right)}.ghostkit-form-submit-button{--gkt-button__gap:0%;--gkt-button__align-items:flex-start;--gkt-button__justify-content:flex-start;display:flex;justify-content:var(--gkt-button__align-items)}.ghostkit-form-submit-button-align-left{--gkt-button__align-items:flex-start}.ghostkit-form-submit-button-align-right{--gkt-button__align-items:flex-end}.ghostkit-form-submit-button-align-center{--gkt-button__align-items:center}.ghostkit-form .ghostkit-alert-form-success{--gkt-alert__border-color:var(--gkt-form--alert-success__color)}.ghostkit-form .ghostkit-alert-form-error{--gkt-alert__border-color:var(--gkt-form--alert-error__color)}.ghostkit-form-was-validated input:valid,.ghostkit-form-was-validated select:valid,.ghostkit-form-was-validated textarea:valid{border-color:var(--gkt-form--field-success__border-color)}.ghostkit-form-was-validated input:invalid,.ghostkit-form-was-validated select:invalid,.ghostkit-form-was-validated textarea:invalid{border-color:var(--gkt-form--field-error__border-color)}.ghostkit-form .ghostkit-form-field-error{color:var(--gkt-form--errors__color);font-family:inherit;font-size:var(--gkt-form--errors__font-size);line-height:var(--gkt-form--errors__line-height);margin:0;margin-top:var(--gkt-form--errors__margin-top);padding:0}.ghostkit-form .ghostkit-form-field-error:empty,.ghostkit-form .ghostkit-form-field-error[aria-hidden=true]{display:none}.ghostkit-form [name=ghostkit_verify_email]{height:0;left:0;opacity:0;position:absolute;top:0;width:0;z-index:-1}.ghostkit-form>.block-editor-inserter{display:block;margin-top:20px}.ghostkit-form-field-row>div>.components-base-control,.ghostkit-form-field>.components-base-control{font-family:inherit;font-size:1em}.ghostkit-form-field-description{margin-bottom:0}.ghostkit-form-field-label>.block-editor-rich-text{display:inline-block}.ghostkit-form-field .components-select-control__input,.ghostkit-form-field .components-text-control__input,.ghostkit-form-field .components-textarea-control__input,.ghostkit-form-field .ghostkit-form-field-checkbox-item,.ghostkit-form-field .ghostkit-form-field-radio-item{pointer-events:none}.ghostkit-form-field .components-select-control__input{max-width:none}.ghostkit-form-submit-button>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;justify-content:var(--gkt-button__align-items)}.ghostkit-form-submit-button>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{margin:0}.ghostkit-field-options-item{align-items:center;display:flex;margin-bottom:8px}.ghostkit-field-options-item>[type=checkbox],.ghostkit-field-options-item>[type=radio]{margin-bottom:0}.ghostkit-field-options-item>.components-base-control{flex:1}.ghostkit-field-options-item>.components-button{height:30px;margin-left:3px;padding-bottom:4px;padding-right:0;padding-top:4px}.ghostkit-field-options-item .components-base-control__field{margin-bottom:0}.ghostkit-field-options-item .components-text-control__input{pointer-events:inherit}.ghostkit-field-options>.components-button{margin-top:-4px;padding-left:16px;padding-top:0}.ghostkit-gif img{height:auto;width:100%}.ghostkit-gif-wrap .components-base-control__field{text-align:center}.ghostkit-gif-wrap .components-placeholder__label svg{margin-right:1ch}.ghostkit-gif-input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.ghostkit-gif-input-container .ghostkit-gif-input{flex:1;min-width:100px}.ghostkit-gif-input-container .ghostkit-gif-input .components-base-control__field{margin-bottom:0}.ghostkit-gif-input-container .ghostkit-gif-input .components-text-control__input{height:36px}.ghostkit-gif-thumbnails-container{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;grid-gap:10px;margin-bottom:13px;width:100%}.components-panel .ghostkit-gif-thumbnails-container{grid-template-columns:1fr 1fr}.ghostkit-gif-thumbnail-container{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:3px;cursor:pointer;padding:0 0 100%;transition:box-shadow .2s;width:100%}.ghostkit-gif-thumbnail-container:hover{box-shadow:0 0 0 2px #555d66}.ghostkit-gif-thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.ghostkit-gist .blob-wrapper{-webkit-overflow-scrolling:touch}.ghostkit-gist .blob-num{border:none}.ghostkit-gist table{table-layout:auto}.ghostkit-gist.components-placeholder{align-items:flex-start;background-color:#f8f9f9;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;min-height:0;padding:14px}.ghostkit-gist.components-placeholder .components-placeholder__label{justify-content:flex-start;margin-bottom:0;margin-right:14px;margin-top:5px}.ghostkit-gist.components-placeholder .components-placeholder__label~*{width:auto}.ghostkit-gist.components-placeholder .components-placeholder__fieldset{align-items:flex-end;flex:1;flex-direction:column;justify-content:flex-start;max-width:none}.ghostkit-gist.components-placeholder .components-placeholder__fieldset>a{margin-left:10px}.ghostkit-gist.components-placeholder .components-base-control{margin:0;width:100%}.ghostkit-gist-toolbar-url .components-base-control__field{align-items:center;display:flex;margin:7px;width:300px}.ghostkit-google-maps{--gkt-google-maps__background-color:var(--gkt-color-light-gray);--gkt-google-maps--placeholder-icon__width:36px;--gkt-google-maps--placeholder-icon__height:36px;--gkt-google-maps--placeholder-icon__background-image:url('data:image/svg+xml;utf8,');--gkt-google-maps--placeholder-icon__opacity:0.3}.ghostkit-google-maps-fullheight .ghostkit-google-maps-placeholder,.ghostkit-google-maps-fullheight .ghostkit-google-maps-wrap{height:100vh}.ghostkit-google-maps-wrap .components-resizable-box__container>div{height:100%;width:100%}.ghostkit-google-maps-search{background-color:#f9f9f9;border:1px solid #efefef;border-radius:3px;display:flex;flex-wrap:wrap;margin-top:15px;padding:15px 0}.ghostkit-google-maps-search>div{flex:1;max-width:250px;min-width:250px;padding-left:15px;padding-right:15px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;padding-top:20px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note p{line-height:1.4;margin-top:0}.ghostkit-google-maps-search .ghostkit-google-maps-search-note p+p{margin-top:-10px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note small{font-size:12px;opacity:.6}.ghostkit-google-maps-search .ghostkit-google-maps-search-note small+small{margin-left:10px}.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper,.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper>div{margin-bottom:0}.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper+.ghostkit-component-dropdown-picker-wrapper .components-button{border-top:none}.ghostkit-google-maps-marker-remove{box-shadow:none!important;color:#b9b9b9;float:right;font-size:10px;padding:0}.ghostkit-google-maps-marker-remove:focus,.ghostkit-google-maps-marker-remove:hover{color:#e73535}.ghostkit-component-google-maps-markers>.components-popover__content{display:flex;flex-direction:column;gap:10px}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-icon{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-component-google-maps-markers .ghostkit-google-maps-icon-reset{float:right}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text{border:1px solid #e8e8e8;padding:10px}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text p:last-child{margin-bottom:0}.ghostkit-google-maps-placeholder{background-color:var(--gkt-google-maps__background-color);position:relative}.ghostkit-google-maps-placeholder svg{left:50%;opacity:var(--gkt-google-maps--placeholder-icon__opacity);position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-google-maps-placeholder .ghostkit-google-maps-placeholder-key{background-color:#fff;border:1px solid #dadada;bottom:0;font-size:13px;margin:10px;padding:5px 10px;position:absolute}.pac-container{box-shadow:0 2px 17px rgba(0,0,0,.2)}.pac-container:after{background-position:calc(100% - (100% - (100% - 7px))) 1px;background-size:80px;height:20px}.pac-container .pac-item{border-top:1px solid #f3f3f3;padding:2px 6px}.ghostkit-grid{--gkt-grid__gap:15px;--gkt-grid__gap-vertical:var(--gkt-grid__gap);--gkt-grid__justify-content:flex-start;--gkt-grid--column__align-self:flex-start;--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__order:initial;--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column-sticky__offset:0}.ghostkit-grid-inner{display:flex;flex-wrap:wrap;justify-content:var(--gkt-grid__justify-content);margin-left:calc(var(--gkt-grid__gap)*-1);row-gap:var(--gkt-grid__gap-vertical)}.ghostkit-col,.ghostkit-grid{padding-top:.02px}.ghostkit-col{display:flex;flex:var(--gkt-grid--column__flex);flex-wrap:wrap;margin-left:var(--gkt-grid__gap);max-width:var(--gkt-grid--column__max-width);min-height:1px;order:var(--gkt-grid--column__order);position:relative;width:var(--gkt-grid--column__width)}.ghostkit-col-content{align-self:var(--gkt-grid--column__align-self);width:100%}.ghostkit-col{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-first{--gkt-grid--column__order:-1}.ghostkit-col-order-last{--gkt-grid--column__order:13}.ghostkit-col-order-0{--gkt-grid--column__order:0}.ghostkit-col-order-1{--gkt-grid--column__order:1}.ghostkit-col-order-2{--gkt-grid--column__order:2}.ghostkit-col-order-3{--gkt-grid--column__order:3}.ghostkit-col-order-4{--gkt-grid--column__order:4}.ghostkit-col-order-5{--gkt-grid--column__order:5}.ghostkit-col-order-6{--gkt-grid--column__order:6}.ghostkit-col-order-7{--gkt-grid--column__order:7}.ghostkit-col-order-8{--gkt-grid--column__order:8}.ghostkit-col-order-9{--gkt-grid--column__order:9}.ghostkit-col-order-10{--gkt-grid--column__order:10}.ghostkit-col-order-11{--gkt-grid--column__order:11}.ghostkit-col-order-12{--gkt-grid--column__order:12}@media(max-width:1200px){.ghostkit-col-xl{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-xl-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-xl-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-xl-first{--gkt-grid--column__order:-1}.ghostkit-col-order-xl-last{--gkt-grid--column__order:13}.ghostkit-col-order-xl-0{--gkt-grid--column__order:0}.ghostkit-col-order-xl-1{--gkt-grid--column__order:1}.ghostkit-col-order-xl-2{--gkt-grid--column__order:2}.ghostkit-col-order-xl-3{--gkt-grid--column__order:3}.ghostkit-col-order-xl-4{--gkt-grid--column__order:4}.ghostkit-col-order-xl-5{--gkt-grid--column__order:5}.ghostkit-col-order-xl-6{--gkt-grid--column__order:6}.ghostkit-col-order-xl-7{--gkt-grid--column__order:7}.ghostkit-col-order-xl-8{--gkt-grid--column__order:8}.ghostkit-col-order-xl-9{--gkt-grid--column__order:9}.ghostkit-col-order-xl-10{--gkt-grid--column__order:10}.ghostkit-col-order-xl-11{--gkt-grid--column__order:11}.ghostkit-col-order-xl-12{--gkt-grid--column__order:12}}@media(max-width:992px){.ghostkit-col-lg{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-lg-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-lg-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-lg-first{--gkt-grid--column__order:-1}.ghostkit-col-order-lg-last{--gkt-grid--column__order:13}.ghostkit-col-order-lg-0{--gkt-grid--column__order:0}.ghostkit-col-order-lg-1{--gkt-grid--column__order:1}.ghostkit-col-order-lg-2{--gkt-grid--column__order:2}.ghostkit-col-order-lg-3{--gkt-grid--column__order:3}.ghostkit-col-order-lg-4{--gkt-grid--column__order:4}.ghostkit-col-order-lg-5{--gkt-grid--column__order:5}.ghostkit-col-order-lg-6{--gkt-grid--column__order:6}.ghostkit-col-order-lg-7{--gkt-grid--column__order:7}.ghostkit-col-order-lg-8{--gkt-grid--column__order:8}.ghostkit-col-order-lg-9{--gkt-grid--column__order:9}.ghostkit-col-order-lg-10{--gkt-grid--column__order:10}.ghostkit-col-order-lg-11{--gkt-grid--column__order:11}.ghostkit-col-order-lg-12{--gkt-grid--column__order:12}}@media(max-width:768px){.ghostkit-col-md{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-md-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-md-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-md-first{--gkt-grid--column__order:-1}.ghostkit-col-order-md-last{--gkt-grid--column__order:13}.ghostkit-col-order-md-0{--gkt-grid--column__order:0}.ghostkit-col-order-md-1{--gkt-grid--column__order:1}.ghostkit-col-order-md-2{--gkt-grid--column__order:2}.ghostkit-col-order-md-3{--gkt-grid--column__order:3}.ghostkit-col-order-md-4{--gkt-grid--column__order:4}.ghostkit-col-order-md-5{--gkt-grid--column__order:5}.ghostkit-col-order-md-6{--gkt-grid--column__order:6}.ghostkit-col-order-md-7{--gkt-grid--column__order:7}.ghostkit-col-order-md-8{--gkt-grid--column__order:8}.ghostkit-col-order-md-9{--gkt-grid--column__order:9}.ghostkit-col-order-md-10{--gkt-grid--column__order:10}.ghostkit-col-order-md-11{--gkt-grid--column__order:11}.ghostkit-col-order-md-12{--gkt-grid--column__order:12}}@media(max-width:576px){.ghostkit-col-sm{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-sm-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-sm-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-sm-first{--gkt-grid--column__order:-1}.ghostkit-col-order-sm-last{--gkt-grid--column__order:13}.ghostkit-col-order-sm-0{--gkt-grid--column__order:0}.ghostkit-col-order-sm-1{--gkt-grid--column__order:1}.ghostkit-col-order-sm-2{--gkt-grid--column__order:2}.ghostkit-col-order-sm-3{--gkt-grid--column__order:3}.ghostkit-col-order-sm-4{--gkt-grid--column__order:4}.ghostkit-col-order-sm-5{--gkt-grid--column__order:5}.ghostkit-col-order-sm-6{--gkt-grid--column__order:6}.ghostkit-col-order-sm-7{--gkt-grid--column__order:7}.ghostkit-col-order-sm-8{--gkt-grid--column__order:8}.ghostkit-col-order-sm-9{--gkt-grid--column__order:9}.ghostkit-col-order-sm-10{--gkt-grid--column__order:10}.ghostkit-col-order-sm-11{--gkt-grid--column__order:11}.ghostkit-col-order-sm-12{--gkt-grid--column__order:12}}.ghostkit-grid-align-items-start{--gkt-grid--column__align-self:flex-start}.ghostkit-grid-align-items-center{--gkt-grid--column__align-self:center}.ghostkit-grid-align-items-end{--gkt-grid--column__align-self:flex-end}.ghostkit-col-align-self-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-end{--gkt-grid--column__align-self:flex-end}@media(max-width:1200px){.ghostkit-col-align-self-xl-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-xl-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-xl-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:992px){.ghostkit-col-align-self-lg-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-lg-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-lg-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:768px){.ghostkit-col-align-self-md-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-md-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-md-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:576px){.ghostkit-col-align-self-sm-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-sm-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-sm-end{--gkt-grid--column__align-self:flex-end}}.ghostkit-grid-justify-content-center{--gkt-grid__justify-content:center}.ghostkit-grid-justify-content-end{--gkt-grid__justify-content:flex-end}.ghostkit-grid-justify-content-around{--gkt-grid__justify-content:space-around}.ghostkit-grid-justify-content-between{--gkt-grid__justify-content:space-between}.ghostkit-grid-gap-no{--gkt-grid__gap:0%}.ghostkit-grid-gap-sm{--gkt-grid__gap:15px}.ghostkit-grid-gap-md{--gkt-grid__gap:30px}.ghostkit-grid-gap-lg{--gkt-grid__gap:45px}.ghostkit-col-sticky-top>.ghostkit-col-content{position:sticky;top:var(--gkt-grid--column-sticky__offset)}.ghostkit-col-sticky-bottom{display:flex;flex-direction:column}.ghostkit-col-sticky-bottom>.ghostkit-col-content{bottom:var(--gkt-grid--column-sticky__offset);margin-top:auto;position:sticky}.ghostkit-col-with-bg,.ghostkit-grid-with-bg{position:relative;z-index:0}.ghostkit-col-with-bg>.nk-awb,.ghostkit-col-with-bg>.nk-awb .nk-awb-inner,.ghostkit-col-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-col-with-bg>.nk-awb .nk-awb-wrap,.ghostkit-grid-with-bg>.nk-awb,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-grid-with-bg>.nk-awb .nk-awb-wrap{bottom:0;left:0;margin:0;position:absolute;right:0;top:0;z-index:-99}.ghostkit-col-with-bg>.nk-awb .nk-awb-wrap,.ghostkit-grid-with-bg>.nk-awb .nk-awb-wrap{overflow:hidden}.ghostkit-col-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-grid-with-bg>.nk-awb .nk-awb-overlay{z-index:0}.ghostkit-col-with-bg>.nk-awb .nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;z-index:-100}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner{background-size:contain}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=pattern]>.nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=pattern]>.nk-awb-inner{background-repeat:repeat;background-size:auto}.ghostkit-col-with-bg>.nk-awb .nk-awb-inner>.jarallax-img,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner>.jarallax-img{height:100%;left:0;-o-object-fit:cover;object-fit:cover;pointer-events:none;position:absolute;top:0;width:100%;z-index:-100}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner>.jarallax-img,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner>.jarallax-img{-o-object-fit:contain;object-fit:contain}[data-ghostkit-grid-templates-modal-only]{display:none}.ghostkit-col>.awb-gutenberg-preview-block,.ghostkit-grid>.awb-gutenberg-preview-block{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:border .15s ease-in-out}.ghostkit-col>.awb-gutenberg-preview-block:empty,.ghostkit-grid>.awb-gutenberg-preview-block:empty{border:none}.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-overlay,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-overlay{left:0;position:absolute;top:0}.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-inner>div,.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-inner>img,.ghostkit-col>.awb-gutenberg-preview-block>div,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-inner>div,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-inner>img,.ghostkit-grid>.awb-gutenberg-preview-block>div{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.block-editor-inserter__preview .ghostkit-col-content .block-editor-block-list__layout{margin-left:0;margin-right:0}.block-editor-block-list__block .ghostkit-col-content>.block-list-appender .block-editor-inserter__toggle.components-button{display:block}.ghostkit-select-layout{padding:25px}.ghostkit-select-layout .components-placeholder__fieldset>em{margin-bottom:25px}.ghostkit-select-layout .ghostkit-grid-layout-preview{box-sizing:border-box;display:flex;flex-wrap:wrap;margin-left:-7px;margin-right:-7px}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn{--gkt-grid__gap:0%;background:none;border:2px solid rgba(85,93,102,.75);border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;margin-bottom:14px;margin-left:7px;margin-right:7px;overflow:hidden;padding:0;transition:border-color .15s,background-color .15s;width:85px}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn .ghostkit-col{border-right:2px solid rgba(85,93,102,.75);box-sizing:border-box;height:40px;transition:border-color .15s}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn .ghostkit-col:last-of-type{border-right:none}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:focus,.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:hover{background-color:#fff;border-color:#555d66}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:focus .ghostkit-col,.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:hover .ghostkit-col{border-color:#555d66}.ghostkit-select-layout .components-button.is-primary{font-size:14px;height:35px;margin-top:10px;padding:0 15px}.ghostkit-background-controls>.components-panel__body>.components-panel__body{border:1px solid #e0e0e0}.ghostkit-icon{--gkt-icon__justify:center;--gkt-icon__width:auto;--gkt-icon__color:inherit;--gkt-icon__background:none;display:grid}.ghostkit-icon svg{display:block;height:100%;width:100%}.ghostkit-icon-flip-vertical svg{transform:scaleY(-1)}.ghostkit-icon-flip-horizontal svg{transform:scaleX(-1)}.ghostkit-icon-flip-vertical.ghostkit-icon-flip-horizontal svg{transform:scaleY(-1) scaleX(-1)}.ghostkit-icon-inner{background:var(--gkt-icon__background);color:var(--gkt-icon__color);justify-self:var(--gkt-icon__justify);width:var(--gkt-icon__width)}.ghostkit-icon .components-dropdown{display:block}.ghostkit-icon>span{transition:transform .15s}.ghostkit-icon-box{--gkt-icon-box__padding-v:1.5em;--gkt-icon-box__padding-h:1.5em;--gkt-icon-box__border-width:1px;--gkt-icon-box__border-color:var(--gkt-color-light-gray-darken);--gkt-icon-box__border-radius:var(--gkt-border-radius);--gkt-icon-box--icon__offset:1.5em;--gkt-icon-box--icon__font-size:1.5em;--gkt-icon-box--icon__color:var(--gkt-color-primary);--gkt-icon-box__transition-duration:var(--gkt-transition-duration);--gkt-icon-box__transition-easing:var(--gkt-transition-easing);border:var(--gkt-icon-box__border-width) solid var(--gkt-icon-box__border-color);border-radius:var(--gkt-icon-box__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-icon-box__padding-v) var(--gkt-icon-box__padding-h)}.ghostkit-icon-box-with-link{position:relative}.ghostkit-icon-box-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-icon-box-icon{color:var(--gkt-icon-box--icon__color);display:flex;font-size:var(--gkt-icon-box--icon__font-size);transition:var(--gkt-icon-box__transition-duration) color var(--gkt-icon-box__transition-easing)}.ghostkit-icon-box-icon~.ghostkit-icon-box-content{padding-left:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-right{order:2;padding-right:0}.ghostkit-icon-box-icon-align-right~.ghostkit-icon-box-content{padding-left:0;padding-right:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-top{flex:100%;justify-content:center;padding-right:0}.ghostkit-icon-box-icon-top-align-left{justify-content:flex-start}.ghostkit-icon-box-icon-top-align-center{justify-content:center}.ghostkit-icon-box-icon-top-align-right{justify-content:flex-end}.ghostkit-icon-box-icon-align-top~.ghostkit-icon-box-content{flex:100%;padding-left:0;padding-top:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-content{flex:1}.ghostkit-image-compare{--gkt-image-compare__position:50%;--gkt-image-compare--divider__width:3px;--gkt-image-compare--divider__background-color:#fff;--gkt-image-compare--divider-icons__font-size:1.3em;--gkt-image-compare--divider-icons__offset:0.3em;--gkt-image-compare--divider-icons__color:#000;--gkt-image-compare--divider-hover-icons__offset:0.35em;--gkt-image-compare--divider-button__width:50px;--gkt-image-compare--divider-button__height:50px;--gkt-image-compare--divider-button__background-color:var(--gkt-image-compare--divider__background-color);--gkt-image-compare--label__backdrop-filter:brightness(0.75) blur(10px);--gkt-image-compare--label__offset:10px;--gkt-image-compare--label__max-width:30%;--gkt-image-compare--label__padding:0.3em 1.6em;--gkt-image-compare--label__font-size:0.8em;--gkt-image-compare--label__text-align:center;--gkt-image-compare--label__color:#fff;--gkt-image-compare--label__background-color:hsla(0,0%,100%,.3);--gkt-image-compare--label__border-radius:3px;--gkt-image-compare__transition-duration:var(--gkt-transition-duration);--gkt-image-compare__transition-easing:var(--gkt-transition-easing);cursor:pointer}.ghostkit-image-compare-images{overflow:hidden;position:relative}.ghostkit-image-compare-images img{display:block;height:auto;width:100%}.ghostkit-image-compare-image-after,.ghostkit-image-compare-image-before{transition:var(--gkt-image-compare__transition-duration) clip-path var(--gkt-image-compare__transition-easing)}.ghostkit-image-compare-image-before{clip-path:polygon(var(--gkt-image-compare__position) 0,var(--gkt-image-compare__position) 100%,0 100%,0 0)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-before{clip-path:polygon(100% 0,100% var(--gkt-image-compare__position),0 var(--gkt-image-compare__position),0 0)}.ghostkit-image-compare-image-after{bottom:0;clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 0);left:0;overflow:hidden;position:absolute;right:0;top:0}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after{clip-path:polygon(100% var(--gkt-image-compare__position),100% 100%,0 100%,0 var(--gkt-image-compare__position))}.ghostkit-image-compare-image-after img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ghostkit-image-compare-images-divider{background-color:var(--gkt-image-compare--divider__background-color);height:100%;left:var(--gkt-image-compare__position);margin-left:calc(var(--gkt-image-compare--divider__width)/-2);position:absolute;top:0;transition-duration:var(--gkt-image-compare__transition-duration);transition-property:left;transition-timing-function:var(--gkt-image-compare__transition-easing);width:var(--gkt-image-compare--divider__width);will-change:left,top}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider{height:var(--gkt-image-compare--divider__width);left:0;margin-left:0;margin-top:calc(var(--gkt-image-compare--divider__width)/-2);top:var(--gkt-image-compare__position);transition-property:top;width:100%}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider:after{bottom:auto;cursor:row-resize;height:var(--gkt-image-compare--divider-button__width);left:0;right:0;top:50%;transform:translateY(-50%);width:auto}.ghostkit-image-compare-images-divider:focus,.ghostkit-image-compare-images-divider:hover{--gkt-image-compare--divider-icons__offset:var(--gkt-image-compare--divider-hover-icons__offset)}.ghostkit-image-compare-images-divider:before{background-color:var(--gkt-image-compare--divider-button__background-color);border-radius:var(--gkt-image-compare--divider-button__width);height:var(--gkt-image-compare--divider-button__height);top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-image-compare-images-divider:after,.ghostkit-image-compare-images-divider:before{content:"";display:block;left:50%;position:absolute;width:var(--gkt-image-compare--divider-button__width)}.ghostkit-image-compare-images-divider:after{bottom:0;cursor:col-resize;top:0;transform:translateX(-50%)}.ghostkit-image-compare-images-divider-button-arrow-left,.ghostkit-image-compare-images-divider-button-arrow-right{color:var(--gkt-image-compare--divider-icons__color);font-size:var(--gkt-image-compare--divider-icons__font-size);left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);transition-duration:var(--gkt-image-compare__transition-duration);transition-property:margin-left;transition-timing-function:var(--gkt-image-compare__transition-easing)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left,.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{transition-property:margin-top}.ghostkit-image-compare-images-divider-button-arrow-left svg,.ghostkit-image-compare-images-divider-button-arrow-right svg{color:inherit;display:block;height:1em;max-width:none;width:1em}.ghostkit-image-compare-images-divider-button-arrow-left{margin-left:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left{margin-left:0;margin-top:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left>svg{transform:rotate(90deg)}.ghostkit-image-compare-images-divider-button-arrow-right{margin-left:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{margin-left:0;margin-top:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right>svg{transform:rotate(90deg)}.ghostkit-image-compare-image-label{-webkit-backdrop-filter:var(--gkt-image-compare--label__backdrop-filter);backdrop-filter:var(--gkt-image-compare--label__backdrop-filter);background-color:var(--gkt-image-compare--label__background-color);border-radius:var(--gkt-image-compare--label__border-radius);color:var(--gkt-image-compare--label__color);font-size:var(--gkt-image-compare--label__font-size);max-width:var(--gkt-image-compare--label__max-width);padding:var(--gkt-image-compare--label__padding);position:absolute;text-align:var(--gkt-image-compare--label__text-align);z-index:1}.ghostkit-image-compare-image-before-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-image-after-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{top:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{bottom:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{top:50%;transform:translateY(-50%)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-before-label{bottom:auto;left:auto;top:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after-label{bottom:var(--gkt-image-compare--label__offset);right:auto;top:auto}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{left:50%;transform:translateX(-50%)}.ghostkit-image-compare-placeholder .components-placeholder__fieldset{display:flex;flex-wrap:wrap}.ghostkit-image-compare-placeholder .components-placeholder__fieldset>.components-placeholder{box-shadow:none;flex:1}.ghostkit-image-compare-image-after,.ghostkit-image-compare-image-before,.ghostkit-image-compare-images-divider{transition-duration:0s}.ghostkit-instagram{--gkt-instagram--profile__margin-bottom:2.5em;--gkt-instagram--profile-avatar__border-radius:50%;--gkt-instagram--profile-avatar__offset:1.5em;--gkt-instagram--profile-elements__gap:1.2em;--gkt-instagram--profile-name__font-size:1.4em;--gkt-instagram--profile-stats__gap:1.2em;--gkt-instagram--profile-bio-title__margin-bottom:0.5em;--gkt-instagram--photos__gap:15px;--gkt-instagram--photos__columns:1}.ghostkit-instagram:after{clear:both;content:"";display:block;height:.01px}.ghostkit-instagram-profile{display:flex;flex-wrap:wrap;margin-bottom:var(--gkt-instagram--profile__margin-bottom)}.ghostkit-instagram-profile-avatar img{border-radius:var(--gkt-instagram--profile-avatar__border-radius);display:block;height:auto;margin:0;max-width:100%}.ghostkit-instagram-profile-side{flex:1;max-width:100%}.ghostkit-instagram-profile-avatar+.ghostkit-instagram-profile-side{margin-left:var(--gkt-instagram--profile-avatar__offset)}.ghostkit-instagram-profile-name{font-size:var(--gkt-instagram--profile-name__font-size)}.ghostkit-instagram-profile-name a{border-bottom:none;text-decoration:none}.ghostkit-instagram-profile-name a:focus,.ghostkit-instagram-profile-name a:hover{text-decoration:underline}.ghostkit-instagram-profile-stats{display:flex;flex-wrap:wrap}.ghostkit-instagram-profile-stats>div{margin-right:var(--gkt-instagram--profile-stats__gap)}.ghostkit-instagram-profile-stats>div:last-child{margin-right:0}.ghostkit-instagram-profile .ghostkit-instagram-profile-bio h2{font-size:inherit;margin:0;margin-bottom:var(--gkt-instagram--profile-bio-title__margin-bottom)}div+.ghostkit-instagram-profile-bio,div+.ghostkit-instagram-profile-stats,div+.ghostkit-instagram-profile-website{margin-top:var(--gkt-instagram--profile-elements__gap)}.ghostkit-instagram-items{display:flex;flex-wrap:wrap;margin-left:calc(var(--gkt-instagram--photos__gap)*-1);margin-top:calc(var(--gkt-instagram--photos__gap)*-1)}.ghostkit-instagram-item{flex:0 0 calc(100%/var(--gkt-instagram--photos__columns) - var(--gkt-instagram--photos__gap));margin-left:var(--gkt-instagram--photos__gap);margin-top:var(--gkt-instagram--photos__gap);max-width:calc(100%/var(--gkt-instagram--photos__columns) - var(--gkt-instagram--photos__gap))}.ghostkit-instagram-item img{display:block;height:auto;margin:0;max-width:100%;width:100%}.ghostkit-instagram-columns-2{--gkt-instagram--photos__columns:2}.ghostkit-instagram-columns-3{--gkt-instagram--photos__columns:3}.ghostkit-instagram-columns-4{--gkt-instagram--photos__columns:4}.ghostkit-instagram-columns-5{--gkt-instagram--photos__columns:5}.ghostkit-instagram-columns-6{--gkt-instagram--photos__columns:6}.ghostkit-instagram-columns-7{--gkt-instagram--photos__columns:7}.ghostkit-instagram-columns-8{--gkt-instagram--photos__columns:8}.ghostkit-instagram-columns-9{--gkt-instagram--photos__columns:9}.ghostkit-instagram-columns-10{--gkt-instagram--photos__columns:10}.ghostkit-instagram-gap-no{--gkt-instagram--photos__gap:0%}.ghostkit-instagram-gap-sm{--gkt-instagram--photos__gap:15px}.ghostkit-instagram-gap-md{--gkt-instagram--photos__gap:30px}.ghostkit-instagram-gap-lg{--gkt-instagram--photos__gap:45px}.ghostkit-instagram-spinner{margin-bottom:13px;width:100%}.ghostkit-instagram-spinner>span{float:left;margin:0}.ghostkit-instagram-items{margin-bottom:calc(var(--gkt-instagram--photos__gap)*-1);margin-top:0}.ghostkit-instagram-item{margin-bottom:var(--gkt-instagram--photos__gap);margin-top:0}.ghostkit-lottie{--gkt-lottie__ar:auto;--gkt-lottie__width:100%;aspect-ratio:var(--gkt-lottie__ar);min-height:20px;width:var(--gkt-lottie__width)}.ghostkit-pricing-table{--gkt-pricing-table__gap:15px;--gkt-pricing-table__align-items:flex-start;--gkt-pricing-table__columns:1;--gkt-pricing-table--item__padding-v:2.2em;--gkt-pricing-table--item__padding-h:1.65em;--gkt-pricing-table--item__border-width:1px;--gkt-pricing-table--item__border-color:var(--gkt-color-light-gray-darken);--gkt-pricing-table--item__border-radius:var(--gkt-border-radius);--gkt-pricing-table--elements__gap:2.2em;--gkt-pricing-table--popular-badge__top:1.2em;--gkt-pricing-table--popular-badge__padding-v:0.15em;--gkt-pricing-table--popular-badge__padding-h:1.1em;--gkt-pricing-table--popular-badge__font-size:0.8em;--gkt-pricing-table--popular-badge__color:#fff;--gkt-pricing-table--popular-badge__background-color:var(--gkt-color-primary);--gkt-pricing-table--title__font-size:1em;--gkt-pricing-table--price-amount__font-size:3.5em;--gkt-pricing-table--price-amount__line-height:1.3em;--gkt-pricing-table--price-repeat__font-size:0.8em;--gkt-pricing-table--price-repeat__opacity:0.7;--gkt-pricing-table--features__font-size:0.9em;--gkt-pricing-table--features-items__gap:0.5em}.ghostkit-pricing-table-inner{align-items:var(--gkt-pricing-table__align-items);display:flex;flex-wrap:wrap;margin-left:calc(var(--gkt-pricing-table__gap)*-1);margin-top:calc(var(--gkt-pricing-table__gap)*-1)}.ghostkit-pricing-table-item-wrap{flex:0 0 calc(100%/var(--gkt-pricing-table__columns) - var(--gkt-pricing-table__gap));margin-left:var(--gkt-pricing-table__gap);margin-top:var(--gkt-pricing-table__gap);max-width:calc(100%/var(--gkt-pricing-table__columns) - var(--gkt-pricing-table__gap))}.ghostkit-pricing-table-item{border:var(--gkt-pricing-table--item__border-width) solid var(--gkt-pricing-table--item__border-color);border-radius:var(--gkt-pricing-table--item__border-radius);padding:var(--gkt-pricing-table--item__padding-v) var(--gkt-pricing-table--item__padding-h);position:relative}.ghostkit-pricing-table-item-popular-badge{background-color:var(--gkt-pricing-table--popular-badge__background-color);color:var(--gkt-pricing-table--popular-badge__color);font-size:var(--gkt-pricing-table--popular-badge__font-size);padding:var(--gkt-pricing-table--popular-badge__padding-v) var(--gkt-pricing-table--popular-badge__padding-h);position:absolute;right:calc(var(--gkt-pricing-table--item__border-width)*-1);top:var(--gkt-pricing-table--popular-badge__top)}.ghostkit-pricing-table-item .ghostkit-pricing-table-item-popular-badge{margin-top:0}.ghostkit-pricing-table-item-title{font-size:var(--gkt-pricing-table--title__font-size);margin:0}.ghostkit-pricing-table-item-price{display:flex;justify-content:center;position:relative}.ghostkit-pricing-table-item-price-amount{font-size:var(--gkt-pricing-table--price-amount__font-size);line-height:var(--gkt-pricing-table--price-amount__line-height)}.ghostkit-pricing-table-item-price-currency{align-self:flex-start}.ghostkit-pricing-table-item-price-repeat{align-self:flex-end;font-size:var(--gkt-pricing-table--price-repeat__font-size);opacity:var(--gkt-pricing-table--price-repeat__opacity)}.ghostkit-pricing-table-item-features{font-size:var(--gkt-pricing-table--features__font-size);list-style:none;margin:0;padding:0;position:relative}.ghostkit-pricing-table-item-features li{list-style:none;margin-left:0}.ghostkit-pricing-table-item-features li+li{margin-top:var(--gkt-pricing-table--features-items__gap)}.ghostkit-pricing-table-item .ghostkit-button-wrapper{margin-bottom:0}.ghostkit-pricing-table-item>*{margin-top:var(--gkt-pricing-table--elements__gap)}.ghostkit-pricing-table-item>:first-child{margin-top:0}.ghostkit-pricing-table-items-1{--gkt-pricing-table__columns:1}.ghostkit-pricing-table-items-2{--gkt-pricing-table__columns:2}@media screen and (max-width:768px){.ghostkit-pricing-table-items-2{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-3{--gkt-pricing-table__columns:3}@media screen and (max-width:768px){.ghostkit-pricing-table-items-3{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:4}@media screen and (max-width:768px){.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:5}@media screen and (max-width:768px){.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:6}@media screen and (max-width:992px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:3}}@media screen and (max-width:768px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-align-horizontal-left{text-align:left}.ghostkit-pricing-table-align-horizontal-left .ghostkit-pricing-table-item-price{justify-content:flex-start}.ghostkit-pricing-table-align-horizontal-center{text-align:center}.ghostkit-pricing-table-align-horizontal-center .ghostkit-pricing-table-item-price{justify-content:center}.ghostkit-pricing-table-align-horizontal-right{text-align:right}.ghostkit-pricing-table-align-horizontal-right .ghostkit-pricing-table-item-price{justify-content:flex-end}.ghostkit-pricing-table-align-vertical-start{--gkt-pricing-table__align-items:flex-start}.ghostkit-pricing-table-align-vertical-center{--gkt-pricing-table__align-items:center}.ghostkit-pricing-table-align-vertical-end{--gkt-pricing-table__align-items:flex-end}.ghostkit-pricing-table-gap-no{--gkt-pricing-table__gap:0%}.ghostkit-pricing-table-gap-sm{--gkt-pricing-table__gap:15px}.ghostkit-pricing-table-gap-md{--gkt-pricing-table__gap:30px}.ghostkit-pricing-table-gap-lg{--gkt-pricing-table__gap:45px}.ghostkit-pricing-table:after{margin-top:var(--gkt-pricing-table__gap)}.ghostkit-pricing-table-add-item{padding-left:var(--gkt-pricing-table__gap);padding-top:var(--gkt-pricing-table__gap);width:100%}.ghostkit-progress{--gkt-progress__height:15px;--gkt-progress__border-radius:var(--gkt-border-radius);--gkt-progress__background-color:var(--gkt-color-light-gray);--gkt-progress--caption__margin-bottom:0.3em;--gkt-progress--caption__font-size:0.85em;--gkt-progress--count__padding-v:0.1em;--gkt-progress--count__padding-h:0.7em;--gkt-progress--count__font-size:0.6em;--gkt-progress--count__border-radius:1em;--gkt-progress--count__color:#fff;--gkt-progress--count__background-color:var(--gkt-color-dark-gray);--gkt-progress--count-arrow__size:0.35em;--gkt-progress--bar__width:0;--gkt-progress--bar__background-color:var(--gkt-color-primary);--gkt-progress--bar-striped__background-image:linear-gradient(45deg,hsla(0,0%,100%,.1) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.1) 0,hsla(0,0%,100%,.1) 75%,transparent 0,transparent);--gkt-progress--bar-striped__background-size:15px 15px;--gkt-progress__transition-duration:var(--gkt-transition-duration);--gkt-progress__transition-easing:var(--gkt-transition-easing)}.ghostkit-progress-caption{display:block;font-size:var(--gkt-progress--caption__font-size);margin-bottom:var(--gkt-progress--caption__margin-bottom)}.ghostkit-progress-bar-count{position:relative}.ghostkit-progress-bar-count>div{background-color:var(--gkt-progress--count__background-color);border-radius:var(--gkt-progress--count__border-radius);bottom:100%;color:var(--gkt-progress--count__color);font-size:var(--gkt-progress--count__font-size);margin-bottom:calc(.2em + var(--gkt-progress--count-arrow__size));padding:var(--gkt-progress--count__padding-v) var(--gkt-progress--count__padding-h);position:absolute;right:0;transform:translateX(50%);white-space:nowrap}.ghostkit-progress-bar-count>div:after{border-left:var(--gkt-progress--count-arrow__size) solid transparent;border-right:var(--gkt-progress--count-arrow__size) solid transparent;border-top:var(--gkt-progress--count-arrow__size) solid var(--gkt-progress--count__background-color);content:"";display:block;height:0;left:50%;margin-left:calc(var(--gkt-progress--count-arrow__size)*-1);position:absolute;top:100%;width:0}.ghostkit-progress-wrap{background-color:var(--gkt-progress__background-color);border-radius:var(--gkt-progress__border-radius);height:var(--gkt-progress__height);overflow:hidden}.ghostkit-progress-bar,.ghostkit-progress-wrap{transition:var(--gkt-progress__transition-duration) background-color var(--gkt-progress__transition-easing)}.ghostkit-progress-bar{background-color:var(--gkt-progress--bar__background-color);height:100%;width:var(--gkt-progress--bar__width)}.ghostkit-progress-bar-striped .ghostkit-progress-bar{background-image:var(--gkt-progress--bar-striped__background-image);background-size:var(--gkt-progress--bar-striped__background-size)}.ghostkit-progress .components-resizable-box__container.is-selected>.ghostkit-progress-wrap{height:100%}.ghostkit-shape-divider{--gkt-shape-divider__color:var(--gkt-color-primary);--gkt-shape-divider__z-index:1;align-items:center;color:var(--gkt-shape-divider__color);display:flex;justify-content:center;overflow:hidden;z-index:var(--gkt-shape-divider__z-index)}.ghostkit-shape-divider svg{display:block;flex:0 0 auto;min-width:100%}.ghostkit-shape-divider-flip-vertical svg{transform:scaleY(-1)}.ghostkit-shape-divider-flip-horizontal svg{transform:scaleX(-1)}.ghostkit-shape-divider-flip-vertical.ghostkit-shape-divider-flip-horizontal svg{transform:scaleY(-1) scaleX(-1)}.ghostkit-shape-divider-control-styles .ghostkit-component-image-picker-item svg{height:40px;width:100%}.ghostkit-shape-divider-control-styles .ghostkit-shape-divider-control-styles-item-default-arrow svg,.ghostkit-shape-divider-control-styles .ghostkit-shape-divider-control-styles-item-default-arrow-curve svg{height:9px;width:300%}[data-type="ghostkit/shape-divider"].wp-block{margin-bottom:-28px;margin-top:-28px}[data-type="ghostkit/shape-divider"].wp-block+[data-type="ghostkit/shape-divider"]{margin-top:28px}.ghostkit-toc{--gkt-toc-title__margin-bottom:1.5em}.ghostkit-toc-title{margin-bottom:var(--gkt-toc-title__margin-bottom)}.ghostkit-toc{min-height:26px}.ghostkit-toc-spinner{margin-bottom:13px;position:absolute;width:100%}.ghostkit-toc-spinner:after{clear:both;content:"";display:block}.ghostkit-toc-spinner>span,.ghostkit-toc-spinner>svg{float:left;margin:0}.ghostkit-toc-spinner-relative{position:relative}.ghostkit-tabs{--gkt-tabs--buttons__offset:1em;--gkt-tabs--buttons__gap:0;--gkt-tabs--button__padding-v:0.5em;--gkt-tabs--button__padding-h:1.2em;--gkt-tabs--button__font-size:inherit;--gkt-tabs--button__font-weight:500;--gkt-tabs--button__border-width:1px;--gkt-tabs--button__border-color:var(--gkt-color-light-gray-darken);--gkt-tabs--button__border-radius:var(--gkt-border-radius);--gkt-tabs--button__cursor:pointer;--gkt-tabs--button__opacity:0.6;--gkt-tabs--button-active__background-color:#fff;--gkt-tabs--button-active__opacity:1;--gkt-tabs-pills--button__border-radius:var(--gkt-border-radius);--gkt-tabs-pills--button-active__color:#fff;--gkt-tabs-pills--button-active__background-color:var(--gkt-color-dark-gray);--gkt-tabs-radio--button__gap:0.5em;--gkt-tabs-radio--button--radio__width:0.85em;--gkt-tabs-radio--button--radio__height:0.85em;--gkt-tabs-radio--button--radio__border-width:1px;--gkt-tabs-radio--button--radio__border-color:var(--gkt-color-light-gray-darken);--gkt-tabs-radio--button-active--radio__border-color:currentcolor;--gkt-tabs-radio--button--dot__size:0.25em;--gkt-tabs-radio--button--dot__color:transparent;--gkt-tabs-radio--button-active--dot__color:currentcolor;--gkt-tabs__transition-duration:var(--gkt-transition-duration);--gkt-tabs__transition-easing:var(--gkt-transition-easing)}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons{border:none}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item{border:none;border-radius:var(--gkt-tabs-pills--button__border-radius);margin-bottom:0}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs-pills--button-active__background-color);color:var(--gkt-tabs-pills--button-active__color)}.ghostkit-tabs.is-style-radio{--gkt-tabs--buttons__gap:0.5em 2em;--gkt-tabs--button__padding-v:0;--gkt-tabs--button__padding-h:0;--gkt-tabs--button__border-width:0;--gkt-tabs--button__border-radius:0}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item{align-items:center;display:flex;gap:var(--gkt-tabs-radio--button__gap)}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item:before{border:var(--gkt-tabs-radio--button--radio__border-width) solid var(--gkt-tabs-radio--button--radio__border-color);border-radius:50%;content:"";flex:0 0 auto;height:var(--gkt-tabs-radio--button--radio__height);width:var(--gkt-tabs-radio--button--radio__width)}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item-active:before{background-image:radial-gradient(circle at 50% center,var(--gkt-tabs-radio--button-active--dot__color) 0,var(--gkt-tabs-radio--button-active--dot__color) var(--gkt-tabs-radio--button--dot__size),transparent calc(var(--gkt-tabs-radio--button--dot__size) + .5px));border-color:var(--gkt-tabs-radio--button-active--radio__border-color)}.ghostkit-tabs-buttons{border-bottom:var(--gkt-tabs--button__border-width) solid var(--gkt-tabs--button__border-color);display:flex;flex-wrap:wrap;gap:var(--gkt-tabs--buttons__gap);margin-bottom:var(--gkt-tabs--buttons__offset)}.ghostkit-tabs-buttons-align-start{justify-content:flex-start}.ghostkit-tabs-buttons-align-center{justify-content:center}.ghostkit-tabs-buttons-align-end{justify-content:flex-end}.ghostkit-tabs-buttons-align-stretch>.ghostkit-tabs-buttons-item{flex-basis:0;flex-grow:1;text-align:center}.ghostkit-tabs-buttons .edit-post-visual-editor,.ghostkit-tabs-buttons .edit-post-visual-editor p,.ghostkit-tabs-buttons .editor-rich-text__tinymce.mce-content-body{line-height:inherit}.ghostkit-tabs-buttons-item{background-color:transparent;border:var(--gkt-tabs--button__border-width) solid transparent;border-top-left-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:var(--gkt-tabs--button__border-radius);box-shadow:none;color:inherit;cursor:pointer;display:block;font-weight:var(--gkt-tabs--button__font-weight);margin-bottom:calc(var(--gkt-tabs--button__border-width)*-1);opacity:var(--gkt-tabs--button__opacity);padding:var(--gkt-tabs--button__padding-v) var(--gkt-tabs--button__padding-h);position:relative;text-decoration:none;transition:var(--gkt-tabs__transition-duration) border-color var(--gkt-tabs__transition-easing),var(--gkt-tabs__transition-duration) background-color var(--gkt-tabs__transition-easing),var(--gkt-tabs__transition-duration) opacity var(--gkt-tabs__transition-easing)}.ghostkit-tabs-buttons-item-active,.ghostkit-tabs-buttons-item:focus,.ghostkit-tabs-buttons-item:hover{opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs--button-active__background-color);border-color:var(--gkt-tabs--button__border-color);border-bottom-color:var(--gkt-tabs--button-active__background-color)}.ghostkit-tabs-buttons-item:not(:hover)>.ghostkit-component-remove-button{opacity:0}.ghostkit-tabs-buttons>.components-button{height:auto;padding:var(--gkt-tabs--button__padding-v) var(--gkt-tabs--button__padding-h)}.ghostkit-tabs-content .ghostkit-tab{display:none}.ghostkit-tabs-content .ghostkit-tab-active{display:block}@media(min-width:768px){.ghostkit-tabs-buttons-vertical{display:flex}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons{border-bottom:none;border-right:var(--gkt-tabs--button__border-width) solid var(--gkt-tabs--button__border-color);flex:0 0 30%;flex-direction:column;margin-bottom:0;max-width:30%}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item{border-bottom-left-radius:var(--gkt-tabs--button__border-radius);border-top-left-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:0;display:block;margin-bottom:0;margin-right:calc(var(--gkt-tabs--button__border-width)*-1)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item:focus,.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item:hover{opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs--button-active__background-color);border-color:var(--gkt-tabs--button__border-color);border-right-color:var(--gkt-tabs--button-active__background-color);opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-content{flex:0 0 70%;max-width:70%;padding-left:var(--gkt-tabs--buttons__offset)}}.ghostkit-testimonial{--gkt-testimonial--icon__top:0.75em;--gkt-testimonial--icon__left:0.75em;--gkt-testimonial--icon__font-size:1.5em;--gkt-testimonial--icon__opacity:0.15;--gkt-testimonial--icon-content__offset:3.5em;--gkt-testimonial--content__padding-v:1.5em;--gkt-testimonial--content__padding-h:1.5em;--gkt-testimonial--content__margin-bottom:1em;--gkt-testimonial--content__background-color:var(--gkt-color-light-gray);--gkt-testimonial--content__border-radius:var(--gkt-border-radius);--gkt-testimonial--meta__offset:1em;--gkt-testimonial--photo__width:50px;--gkt-testimonial--photo__border-radius:25px;--gkt-testimonial--name__line-height:1.6;--gkt-testimonial--name-source__margin-top:0.2em;--gkt-testimonial--source__font-size:0.85em;--gkt-testimonial--source__line-height:1;--gkt-testimonial--source__opacity:0.5;--gkt-testimonial--stars__line-height:1;--gkt-testimonial--stars__height:1em;--gkt-testimonial--stars-front__color:#fdcf27;--gkt-testimonial--stars-back__color:var(--gkt-color-light-gray);--gkt-testimonial--stars-mobile__margin-top:1em;align-items:flex-start;display:flex;flex-wrap:wrap;padding:0;position:relative}.ghostkit-testimonial-with-link{position:relative}.ghostkit-testimonial-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-testimonial-icon{font-size:var(--gkt-testimonial--icon__font-size);left:var(--gkt-testimonial--icon__left);opacity:var(--gkt-testimonial--icon__opacity);position:absolute;top:var(--gkt-testimonial--icon__top)}.ghostkit-testimonial-icon+.ghostkit-testimonial-content{padding-left:var(--gkt-testimonial--icon-content__offset)}.ghostkit-testimonial-content{background-color:var(--gkt-testimonial--content__background-color);border-radius:var(--gkt-testimonial--content__border-radius);flex:100%;margin-bottom:var(--gkt-testimonial--content__margin-bottom);padding:var(--gkt-testimonial--content__padding-v) var(--gkt-testimonial--content__padding-h)}.ghostkit-testimonial-photo{border-radius:var(--gkt-testimonial--photo__border-radius);overflow:hidden;width:var(--gkt-testimonial--photo__width)}.ghostkit-testimonial-photo img{display:block;height:auto;width:100%}.ghostkit-testimonial-photo+.ghostkit-testimonial-meta,.ghostkit-testimonial-photo+.ghostkit-testimonial-stars{margin-left:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-meta{display:flex;flex:1;flex-direction:column}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars{margin-left:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-name{line-height:var(--gkt-testimonial--name__line-height)}.ghostkit-testimonial-source{font-size:var(--gkt-testimonial--source__font-size);line-height:var(--gkt-testimonial--source__line-height);opacity:var(--gkt-testimonial--source__opacity)}.ghostkit-testimonial-name+.ghostkit-testimonial-source{margin-top:var(--gkt-testimonial--name-source__margin-top)}.ghostkit-testimonial-stars{line-height:var(--gkt-testimonial--stars__line-height)}.ghostkit-testimonial-stars-wrap{display:inline-block;position:relative}.ghostkit-testimonial-stars-back,.ghostkit-testimonial-stars-front{height:var(--gkt-testimonial--stars__height);overflow:hidden;white-space:nowrap}.ghostkit-testimonial-stars-front{color:var(--gkt-testimonial--stars-front__color);position:absolute}.ghostkit-testimonial-stars-back{color:var(--gkt-testimonial--stars-back__color)}@media(max-width:768px){.ghostkit-testimonial-stars{flex:100%;margin-top:var(--gkt-testimonial--stars-mobile__margin-top)}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars,.ghostkit-testimonial-photo+.ghostkit-testimonial-stars{margin-left:0}}.ghostkit-testimonial-photo button{align-items:center;background-color:#f3f4f5;display:flex;height:var(--gkt-testimonial--photo__width);justify-content:center;width:100%}.ghostkit-testimonial-photo button:focus,.ghostkit-testimonial-photo button:hover,.ghostkit-testimonial-photo button:not(:disabled,[aria-disabled=true]):focus{background-color:#edeff0;box-shadow:none}.ghostkit-testimonial-source .editor-rich-text__tinymce.mce-content-body{line-height:1}.block-editor-inserter__preview .ghostkit-testimonial-photo{margin-top:10px}.block-editor-inserter__preview .ghostkit-testimonial-content .block-editor-block-list__layout{margin-left:20px;margin-right:0}.editor-styles-wrapper .ghostkit-twitter,.ghostkit-twitter{--gkt-twitter--verified-badge__width:14px;--gkt-twitter--verified-badge__height:14px;--gkt-twitter--verified-badge__background-image:url('data:image/svg+xml;utf8,');--gkt-twitter--profile__margin-bottom:2.5em;--gkt-twitter--profile-avatar__border-radius:50%;--gkt-twitter--profile-avatar__offset:1.5em;--gkt-twitter--profile-name__font-size:1.4em;--gkt-twitter--profile-username__font-size:1em;--gkt-twitter--profile-username__font-weight:400;--gkt-twitter--profile-username__font-opacity:0.7;--gkt-twitter--profile-stats__gap:1.2em;--gkt-twitter--profile-elements__gap:1.2em;--gkt-twitter--tweet__margin-bottom:1.5em;--gkt-twitter--tweet-content-img__margin-top:1em;--gkt-twitter--tweet-content-img__border-width:1px;--gkt-twitter--tweet-content-img__border-color:rgba(0,0,0,.1);--gkt-twitter--tweet-content-img__border-radius:var(--gkt-border-radius);--gkt-twitter--tweet-avatar__margin-right:1.2em;--gkt-twitter--tweet-avatar__border-radius:50%;--gkt-twitter--tweet-retweeted__font-size:0.8em;--gkt-twitter--tweet-retweeted__opacity:0.7;--gkt-twitter--tweet-retweeted-icon__margin-right:0.5em;--gkt-twitter--tweet-name__text-decoration:none;--gkt-twitter--tweet-name-hover__text-decoration:underline;--gkt-twitter--tweet-username__opacity:0.7;--gkt-twitter--tweet-date-separator__content:"·";--gkt-twitter--tweet-date-separator__margin-v:0;--gkt-twitter--tweet-date-separator__margin-h:0.5em;--gkt-twitter--tweet-date-separator__font-size:0.7em;--gkt-twitter--tweet-date__opacity:0.7;--gkt-twitter--tweet-date__text-decoration:none;--gkt-twitter--tweet-date-hover__text-decoration:underline;--gkt-twitter--tweet-actions__font-size:0.9em;--gkt-twitter--tweet-actions__gap:1.2em;--gkt-twitter--tweet-actions-link__opacity:0.7;--gkt-twitter--tweet-actions-link-hover__opacity:1;--gkt-twitter--tweet-actions-label__offset:0.3em;--gkt-twitter--tweet-elements__gap:0.5em}.editor-styles-wrapper .ghostkit-twitter:after{clear:both;content:"";display:block;height:.01px}.editor-styles-wrapper .ghostkit-twitter-item-meta-name-verified,.editor-styles-wrapper .ghostkit-twitter-profile-verified{font-size:0}.editor-styles-wrapper .ghostkit-twitter-item-meta-name-verified:before,.editor-styles-wrapper .ghostkit-twitter-profile-verified:before{background-image:var(--gkt-twitter--verified-badge__background-image);content:"";display:inline-block;height:var(--gkt-twitter--verified-badge__height);width:var(--gkt-twitter--verified-badge__width)}.editor-styles-wrapper .ghostkit-twitter-profile-verified:before{height:calc(2px + var(--gkt-twitter--verified-badge__height));width:calc(2px + var(--gkt-twitter--verified-badge__width))}.editor-styles-wrapper .ghostkit-twitter-profile{display:flex;flex-wrap:wrap;margin-bottom:var(--gkt-twitter--profile__margin-bottom)}.editor-styles-wrapper .ghostkit-twitter-profile-avatar img{border-radius:var(--gkt-twitter--profile-avatar__border-radius);display:block;height:auto;margin:0;max-width:100%}.editor-styles-wrapper .ghostkit-twitter-profile-side{flex:1;max-width:100%}.editor-styles-wrapper .ghostkit-twitter-profile-avatar+.ghostkit-twitter-profile-side{margin-left:var(--gkt-twitter--profile-avatar__offset)}.editor-styles-wrapper .ghostkit-twitter-profile-name a{border-bottom:none;color:inherit;text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-profile-name a:focus,.editor-styles-wrapper .ghostkit-twitter-profile-name a:hover{text-decoration:underline}.editor-styles-wrapper .ghostkit-twitter-profile .ghostkit-twitter-profile-fullname{font-size:var(--gkt-twitter--profile-name__font-size);margin:0}.editor-styles-wrapper .ghostkit-twitter-profile .ghostkit-twitter-profile-username{font-size:var(--gkt-twitter--profile-username__font-size);font-weight:var(--gkt-twitter--profile-username__font-weight);margin:0;opacity:var(--gkt-twitter--profile-username__font-opacity)}.editor-styles-wrapper .ghostkit-twitter-profile-stats{display:flex;flex-wrap:wrap}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div{margin-right:var(--gkt-twitter--profile-stats__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div:last-child{margin-right:0}div+.editor-styles-wrapper .ghostkit-twitter-profile-description,div+.editor-styles-wrapper .ghostkit-twitter-profile-location,div+.editor-styles-wrapper .ghostkit-twitter-profile-stats,div+.editor-styles-wrapper .ghostkit-twitter-profile-website{margin-top:var(--gkt-twitter--profile-elements__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-description{white-space:pre-wrap}.editor-styles-wrapper .ghostkit-twitter-item{display:flex;margin-bottom:var(--gkt-twitter--tweet__margin-bottom)}.editor-styles-wrapper .ghostkit-twitter-item:last-child{margin-bottom:0}.editor-styles-wrapper .ghostkit-twitter-item-content{flex:1}.editor-styles-wrapper .ghostkit-twitter-item-content img{border:var(--gkt-twitter--tweet-content-img__border-width) solid var(--gkt-twitter--tweet-content-img__border-color);border-radius:var(--gkt-twitter--tweet-content-img__border-radius);margin-top:var(--gkt-twitter--tweet-content-img__margin-top);max-width:100%}.editor-styles-wrapper .ghostkit-twitter-item-avatar{margin-right:var(--gkt-twitter--tweet-avatar__margin-right)}.editor-styles-wrapper .ghostkit-twitter-item-avatar img{border-radius:var(--gkt-twitter--tweet-avatar__border-radius);height:auto}.editor-styles-wrapper .ghostkit-twitter-item-retweeted{font-size:var(--gkt-twitter--tweet-retweeted__font-size);opacity:var(--gkt-twitter--tweet-retweeted__opacity);position:relative}.editor-styles-wrapper .ghostkit-twitter-item-retweeted-icon{margin-right:var(--gkt-twitter--tweet-retweeted-icon__margin-right);position:absolute;right:100%;width:1em}.editor-styles-wrapper .ghostkit-twitter-item-retweeted a{border-bottom:none;color:inherit;text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-item-retweeted a:focus,.editor-styles-wrapper .ghostkit-twitter-item-retweeted a:hover{text-decoration:underline}.editor-styles-wrapper .ghostkit-twitter-item-meta{align-items:center;display:flex;flex-wrap:wrap}.editor-styles-wrapper .ghostkit-twitter-item-meta-name a{border-bottom:none;color:inherit;-webkit-text-decoration:var(--gkt-twitter--tweet-name__text-decoration);text-decoration:var(--gkt-twitter--tweet-name__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name a:focus strong,.editor-styles-wrapper .ghostkit-twitter-item-meta-name a:hover strong{-webkit-text-decoration:var(--gkt-twitter--tweet-name-hover__text-decoration);text-decoration:var(--gkt-twitter--tweet-name-hover__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name span:last-child{opacity:var(--gkt-twitter--tweet-username__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name+.ghostkit-twitter-item-meta-date:before{content:var(--gkt-twitter--tweet-date-separator__content);font-size:var(--gkt-twitter--tweet-date-separator__font-size);margin:var(--gkt-twitter--tweet-date-separator__margin-v) var(--gkt-twitter--tweet-date-separator__margin-h)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date{align-items:center;display:flex;opacity:var(--gkt-twitter--tweet-date__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date a{border-bottom:none;color:inherit;-webkit-text-decoration:var(--gkt-twitter--tweet-date__text-decoration);text-decoration:var(--gkt-twitter--tweet-date__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date a:focus,.editor-styles-wrapper .ghostkit-twitter-item-meta-date a:hover{-webkit-text-decoration:var(--gkt-twitter--tweet-date-hover__text-decoration);text-decoration:var(--gkt-twitter--tweet-date-hover__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-actions{align-items:center;display:flex;flex-wrap:wrap;font-size:var(--gkt-twitter--tweet-actions__font-size)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div{margin-right:var(--gkt-twitter--tweet-actions__gap)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div:last-child{margin-right:0}.editor-styles-wrapper .ghostkit-twitter-item-actions a{border-bottom:none;color:inherit;opacity:var(--gkt-twitter--tweet-actions-link__opacity);text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-item-actions a:focus,.editor-styles-wrapper .ghostkit-twitter-item-actions a:hover{opacity:var(--gkt-twitter--tweet-actions-link-hover__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-actions span{margin-left:var(--gkt-twitter--tweet-actions-label__offset)}.editor-styles-wrapper .ghostkit-twitter-item-text{white-space:pre-wrap}div+.editor-styles-wrapper .ghostkit-twitter-item-actions,div+.editor-styles-wrapper .ghostkit-twitter-item-text{margin-top:var(--gkt-twitter--tweet-elements__gap)}.ghostkit-twitter-spinner{margin-bottom:13px;width:100%}.ghostkit-twitter-spinner>span{float:left;margin:0}.ghostkit-video{--gkt-video__background-color:var(--gkt-color-light-gray);--gkt-video--play-icon__width:60px;--gkt-video--play-icon__height:60px;--gkt-video--play-icon__font-size:0.7em;--gkt-video--play-icon__color:var(--gkt-color-dark-gray);--gkt-video--play-icon__background-color:#fff;--gkt-video--play-icon__border-radius:50%;--gkt-video--play-icon__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video--play-icon-hover__box-shadow:0 2px 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video--play-icon-hover__transform:translateY(-1px);--gkt-video--loading-icon__width:60px;--gkt-video--loading-icon__height:60px;--gkt-video--loading-icon__font-size:0.7em;--gkt-video--loading-icon__color:var(--gkt-color-dark-gray);--gkt-video--loading-icon__background-color:#fff;--gkt-video--loading-icon__border-radius:50%;--gkt-video--loading-icon__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video__transition-duration:var(--gkt-transition-duration);--gkt-video__transition-easing:var(--gkt-transition-easing)}.ghostkit-video-fullscreen{--gkt-video-fullscreen__background-color:rgba(0,0,0,.9);--gkt-video-fullscreen--close-button__width:60px;--gkt-video-fullscreen--close-button__height:60px;--gkt-video-fullscreen--close-button__font-size:1.4em;--gkt-video-fullscreen--close-button__color:#fff;--gkt-video-fullscreen--close-button__opacity:0.2;--gkt-video-fullscreen--close-button-hover__opacity:1;--gkt-video-fullscreen__transition-duration:var(--gkt-transition-duration);--gkt-video-fullscreen__transition-easing:var(--gkt-transition-easing)}.ghostkit-video.is-style-icon-only{background-color:transparent;height:var(--gkt-video--play-icon__height);margin-left:auto;margin-right:auto;overflow:unset}.ghostkit-video.is-style-icon-only:before{content:none}.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-loading-icon,.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-play-icon{left:0;margin-left:0}.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-loading-icon,.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-play-icon{left:auto;margin-left:0;right:0}.ghostkit-video{background-color:var(--gkt-video__background-color);cursor:pointer;overflow:hidden;position:relative}.ghostkit-video:before{content:"";display:block;padding-top:56.25%;width:100%}.ghostkit-video-aspect-ratio-16-9:before,.ghostkit-video[data-video-aspect-ratio="16-9"]:before,.ghostkit-video[data-video-aspect-ratio="16:9"]:before{padding-top:56.25%}.ghostkit-video-aspect-ratio-21-9:before,.ghostkit-video[data-video-aspect-ratio="21-9"]:before,.ghostkit-video[data-video-aspect-ratio="21:9"]:before{padding-top:42.8571428571%}.ghostkit-video-aspect-ratio-4-3:before,.ghostkit-video[data-video-aspect-ratio="4-3"]:before,.ghostkit-video[data-video-aspect-ratio="4:3"]:before{padding-top:75%}.ghostkit-video-aspect-ratio-3-2:before,.ghostkit-video[data-video-aspect-ratio="3-2"]:before,.ghostkit-video[data-video-aspect-ratio="3:2"]:before{padding-top:66.6666666667%}.ghostkit-video-aspect-ratio-1-1:before,.ghostkit-video[data-video-aspect-ratio="1-1"]:before,.ghostkit-video[data-video-aspect-ratio="1:1"]:before{padding-top:100%}.ghostkit-video-aspect-ratio-2-3:before,.ghostkit-video[data-video-aspect-ratio="2-3"]:before,.ghostkit-video[data-video-aspect-ratio="2:3"]:before{padding-top:150%}.ghostkit-video-aspect-ratio-9-16:before,.ghostkit-video[data-video-aspect-ratio="9-16"]:before,.ghostkit-video[data-video-aspect-ratio="9:16"]:before{padding-top:177.7777777778%}.ghostkit-video-aspect-ratio-3-4:before,.ghostkit-video[data-video-aspect-ratio="3-4"]:before,.ghostkit-video[data-video-aspect-ratio="3:4"]:before{padding-top:133.3333333333%}.ghostkit-video-poster{height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ghostkit-video-poster img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ghostkit-video-play-icon{align-items:center;background-color:var(--gkt-video--play-icon__background-color);border-radius:var(--gkt-video--play-icon__border-radius);box-shadow:var(--gkt-video--play-icon__box-shadow);color:var(--gkt-video--play-icon__color);display:flex;font-size:var(--gkt-video--play-icon__font-size);height:var(--gkt-video--play-icon__height);justify-content:center;left:50%;margin-left:calc(var(--gkt-video--play-icon__height)/-2);margin-top:calc(var(--gkt-video--play-icon__width)/-2);opacity:1;position:absolute;top:50%;transition:var(--gkt-video__transition-duration) transform var(--gkt-video__transition-easing),var(--gkt-video__transition-duration) box-shadow var(--gkt-video__transition-easing),var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);width:var(--gkt-video--play-icon__width);z-index:2}.ghostkit-video:focus .ghostkit-video-play-icon,.ghostkit-video:hover .ghostkit-video-play-icon{box-shadow:var(--gkt-video--play-icon-hover__box-shadow);transform:var(--gkt-video--play-icon-hover__transform)}.ghostkit-video-loading .ghostkit-video-play-icon,.ghostkit-video-playing .ghostkit-video-play-icon{opacity:0}.ghostkit-video-loading-icon{align-items:center;background-color:var(--gkt-video--loading-icon__background-color);border-radius:var(--gkt-video--loading-icon__border-radius);box-shadow:var(--gkt-video--loading-icon__box-shadow);color:var(--gkt-video--loading-icon__color);display:flex;font-size:var(--gkt-video--loading-icon__font-size);height:var(--gkt-video--loading-icon__height);justify-content:center;left:50%;margin-left:calc(var(--gkt-video--loading-icon__height)/-2);margin-top:calc(var(--gkt-video--loading-icon__width)/-2);opacity:0;position:absolute;top:50%;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);width:var(--gkt-video--loading-icon__width);z-index:3}.ghostkit-video-loading .ghostkit-video-loading-icon{opacity:1}.ghostkit-video:not(.ghostkit-video-loading) .ghostkit-video-spinner{animation:none}.ghostkit-video-fullscreen-close-icon{display:none}.ghostkit-video-frame{height:100%;left:100%;opacity:0;position:absolute;top:0;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s var(--gkt-video__transition-duration) left;width:100%;z-index:4}.ghostkit-video-frame iframe,.ghostkit-video-frame video{height:100%;visibility:visible;width:100%}.ghostkit-video-playing .ghostkit-video-frame{left:0;opacity:1;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s left}.ghostkit-video-fullscreen{align-items:center;background-color:var(--gkt-video-fullscreen__background-color);display:none;height:calc(100% - var(--wp-admin--admin-bar--height, 0px));justify-content:center;left:0;position:fixed;top:var(--wp-admin--admin-bar--height,0);width:100%;z-index:1500}@media screen and (max-width:600px){body.admin-bar .ghostkit-video-fullscreen{height:100%;top:0}}.ghostkit-video-fullscreen-frame{height:calc(90vw*var(--gkt-fullscreen-video__aspect-ratio-height)/var(--gkt-fullscreen-video__aspect-ratio-width));max-height:90%;max-width:calc((90vh - var(--wp-admin--admin-bar--height, 0px))*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height));position:relative;width:90%;z-index:1}@media screen and (max-width:600px){body.admin-bar .ghostkit-video-fullscreen-frame{max-width:calc(100vh*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height))}}.ghostkit-video-fullscreen-frame iframe,.ghostkit-video-fullscreen-frame video{height:100%;width:100%}.ghostkit-video-fullscreen-frame video{background:var(--gkt-fullscreen-video--video__background)}.ghostkit-video-fullscreen-close{color:var(--gkt-video-fullscreen--close-button__color);cursor:pointer;font-size:var(--gkt-video-fullscreen--close-button__font-size);height:var(--gkt-video-fullscreen--close-button__height);line-height:var(--gkt-video-fullscreen--close-button__height);opacity:var(--gkt-video-fullscreen--close-button__opacity);position:absolute;right:0;text-align:center;top:0;transition:var(--gkt-video-fullscreen__transition-duration) opacity var(--gkt-video-fullscreen__transition-easing);width:var(--gkt-video-fullscreen--close-button__width);z-index:2}.ghostkit-video-fullscreen-close:focus,.ghostkit-video-fullscreen-close:hover{opacity:var(--gkt-video-fullscreen--close-button-hover__opacity)}.components-panel .ghostkit-gutenberg-media-upload>div{height:150px}.ghostkit-video-toolbar-url .components-base-control__field{align-items:center;display:flex;margin:7px;width:300px}.ghostkit-help-text{color:#a0a0a0;font-size:90%;font-style:italic}.ghostkit-code{background:#eef0f3;border-radius:3px}.ghostkit-accordion .wp-block,.ghostkit-alert .wp-block,.ghostkit-changelog .wp-block,.ghostkit-counter-box .wp-block,.ghostkit-form .wp-block,.ghostkit-grid>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block,.ghostkit-icon-box .wp-block,.ghostkit-tabs-content .wp-block{margin-left:0;margin-right:0;max-width:none}.ghostkit-grid-controls{display:flex;flex-wrap:wrap;margin:0 -10px}.ghostkit-grid-controls>*{flex:1;margin:0 10px!important;min-width:80px}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child{pointer-events:none}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child:after,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after{border:1px dashed;border-radius:2px;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter{visibility:hidden}.components-panel__body-toggle>.ghostkit-ext-icon{display:block;position:absolute;top:50%;transform:translateY(-50%)}.components-panel__body-toggle>.ghostkit-ext-icon svg{display:block}.components-panel__body-toggle>.ghostkit-ext-icon+span{margin-left:35px}.components-tools-panel-header>h2>.ghostkit-ext-icon{margin-top:-4px;position:absolute}.components-tools-panel-header>h2>.ghostkit-ext-icon+span{margin-left:35px}.ghostkit-control-tabs>.components-tab-panel__tabs{border-bottom:1px solid #e8eaeb;display:flex;flex-wrap:wrap;margin-bottom:15px}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab{background:none;border:none;border-bottom:2px solid transparent;border-radius:0;color:#555d66;cursor:pointer;margin:0 0 -1px;outline-offset:-1px;padding:9px 11px 11px}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab svg{display:block;height:1.4em;width:auto}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab.is-active{border-bottom:2px solid #007cba;position:relative;z-index:1}.ghostkit-control-tabs.ghostkit-control-tabs-wide>.components-tab-panel__tabs>.ghostkit-control-tabs-tab{flex:1;justify-content:center;text-align:center}.ghostkit-control-tabs .ghostkit-control-tabs-separator{border-top:1px solid #e8eaeb;margin-left:-15px;margin-right:-15px;padding:15px}.ghostkit-control-tabs .ghostkit-control-tabs-separator:first-child{margin-top:-16px}.ghostkit-component-input-drag input{cursor:n-resize}.components-select-control select[multiple].components-select-control__input{height:auto;padding-right:8px}.components-select-control select[multiple].components-select-control__input~.components-input-control__suffix{display:none} diff --git a/build/gutenberg/editor.css b/build/gutenberg/editor.css index 8f4d217d..b624d7de 100644 --- a/build/gutenberg/editor.css +++ b/build/gutenberg/editor.css @@ -1 +1 @@ -:root{--gkt-color-brand:#2e1645;--gkt-color-dark-gray:#32373c;--gkt-color-light-gray:#f3f4f5;--gkt-color-light-gray-darken:#d7dbde;--gkt-color-primary:#0366d6;--gkt-color-success:#4ab866;--gkt-color-danger:#d94f4f;--gkt-color-warning:#f0b849;--gkt-color-info:#2ebef5;--gkt-border-radius:5px;--gkt-transition-duration:0.2s;--gkt-transition-easing:ease-in-out}.ghostkit-component-active-indicator{background-color:#007cba;border-radius:7px;height:7px;width:7px}.components-panel__body-toggle .ghostkit-component-active-indicator{position:absolute;right:40px;top:50%;transform:translateY(-50%)}.ghostkit-control-tabs-icon .ghostkit-component-active-indicator{height:3px;left:50%;position:absolute;top:-7px;transform:translateX(-50%);width:3px}.ghostkit-control-responsive-toggle .ghostkit-component-active-indicator{height:5px;left:75%;outline:2px solid #fff;position:absolute;top:0;width:5px}.ghostkit-control-element-state-toggle .ghostkit-component-active-indicator{height:5px;left:12px;outline:2px solid #fff;position:absolute;top:0;width:5px}.is-active>.ghostkit-control-responsive-toggle-icon .ghostkit-component-active-indicator{background-color:#fff;outline:2px solid #000}.ghostkit-component-code-editor.ace_editor{background-color:#f8f9f9;border-radius:3px;box-shadow:0 0 0 1px #e8eaeb;line-height:1.45;width:100%}.ghostkit-component-code-editor.ace_editor .ace_gutter{background-color:#e8eaeb}.ghostkit-component-code-editor .ace_tooltip{background:none;background-color:#fff;border:1px solid #e4e4e4;border-radius:3px;box-shadow:0 2px 10px 0 rgba(0,0,0,.05);padding:6px 10px}.ghostkit-component-code-editor .ace_hidden-cursors{opacity:0}.components-panel__body-toggle>.ghostkit-color-indicator{height:15px;margin-left:8px;width:15px}.components-panel__body-toggle>.ghostkit-color-indicator+.ghostkit-color-indicator{margin-left:2px}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper){margin-bottom:0}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper) .ghostkit-component-color-toggle{border-bottom:none}.ghostkit-component-color-toggle{border:1px solid rgba(0,0,0,.1);border-radius:0;height:auto;margin-bottom:0;padding:10px 12px;position:relative;width:100%}.ghostkit-component-color-toggle.ghostkit-component-color-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-color-toggle .ghostkit-component-color-toggle-indicator{background:linear-gradient(-45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0);border:none;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);color:transparent;cursor:pointer;display:block;height:20px;margin-right:8px;padding:0;position:relative;width:20px}.ghostkit-component-color-toggle .ghostkit-component-color-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-color-picker__dropdown{display:block;width:100%}.ghostkit-component-color-picker__dropdown-content .components-popover__content{padding:16px;width:260px}.ghostkit-component-color-picker__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-components-date-time-picker .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.ghostkit-components-date-time-picker .components-base-control__field .components-base-control__label{margin-bottom:0}.ghostkit-components-date-time-picker-popover .components-datetime{padding:15px}.ghostkit-component-dropdown-picker-toggle{align-items:center;border:1px solid rgba(0,0,0,.15);border-radius:0;display:flex;height:auto;justify-content:space-between;margin-bottom:0;min-height:40px;padding:10px 12px;position:relative;width:100%}.ghostkit-component-dropdown-picker-toggle.ghostkit-component-dropdown-picker-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-dropdown-picker__dropdown{display:block;width:100%}.ghostkit-component-dropdown-picker__dropdown-content .components-popover__content{padding:16px;width:260px}.ghostkit-component-dropdown-picker__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-control-element-state-toggle{align-items:center;display:inline-flex;height:auto;justify-content:center;padding:0;position:relative}.components-base-control__label>.ghostkit-control-element-state-toggle,.components-input-control__label>.ghostkit-control-element-state-toggle{margin-left:8px;vertical-align:bottom}.ghostkit-control-element-state-toggle>svg{display:block;height:auto;width:18px}.ghostkit-control-element-state-toggle>span{font-size:12px;font-weight:500;margin-left:2px}.ghostkit-components-gap-settings-custom{display:flex}.ghostkit-components-gap-settings-custom>.components-base-control{flex:1;margin-bottom:0!important}.ghostkit-components-gap-settings-custom .components-base-control__help{margin-bottom:0!important}.ghostkit-components-gap-settings-custom>.components-base-control:first-child input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-components-gap-settings-custom>.components-base-control:first-child~.components-base-control input{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper){margin-bottom:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper) .ghostkit-component-icon-picker-toggle{border-bottom:none}.ghostkit-component-icon-picker-toggle{border:1px solid rgba(0,0,0,.1);border-radius:0;height:auto;margin-bottom:0;padding:10px 12px;position:relative;width:100%}.ghostkit-component-icon-picker-toggle.ghostkit-component-icon-picker-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator{display:flex;margin-right:8px;min-height:20px;position:relative;width:20px}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator:empty{background-color:#e4e4e4;border-radius:4px}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator svg{height:auto;width:100%;fill:none}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-icon-picker-wrapper .components-dropdown{display:block}.ghostkit-component-icon-picker-button{align-items:center;border-radius:4px;display:flex;font-size:15px;height:34px;justify-content:center;padding:0;text-align:center;width:34px}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview{border:1px solid transparent;cursor:pointer;transition:background-color .15s,border-color .15s}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.hover,.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview:hover{background-color:#f3f4f5;border-color:#f3f4f5}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.hover:hover{background-color:#e2e4e7;border-color:#e2e4e7}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.ghostkit-component-icon-picker-button-active{background-color:#fff;border-color:#007cba}.ghostkit-component-icon-picker-preview-clickable{cursor:pointer}.ghostkit-component-icon-picker .components-base-control{padding-right:2px}.ghostkit-component-icon-picker .components-base-control+.components-base-control{margin-bottom:0;margin-top:15px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-wrap{padding:15px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-wrap .ReactVirtualized__Grid__innerScrollContainer>div{padding-bottom:10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-panel-toggle{border-bottom:none}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-panel-toggle.is-opened>.components-panel__body-title{margin-bottom:-16px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list{display:flex;flex-wrap:wrap;margin-left:-10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list>*{margin-left:10px;max-width:calc(33.33% - 10px);width:calc(33.33% - 10px)}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list .ghostkit-component-icon-picker-button{font-size:20px;height:55px;width:100%}.ghostkit-component-icon-picker-content>.components-popover__content{overflow-y:hidden!important}.ghostkit-component-icon-picker-content>.components-popover__content .ghostkit-component-icon-picker-sizer{height:50vh;max-height:400px;min-width:280px}.ghostkit-component-icon-picker-content>.components-popover__content .ghostkit-component-icon-picker{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.ghostkit-component-image-picker{--ghostkit-component-image-picker-item-size:50%}.ghostkit-component-image-picker.ghostkit-component-image-picker-3{--ghostkit-component-image-picker-item-size:33.33%}.ghostkit-component-image-picker.ghostkit-component-image-picker-4{--ghostkit-component-image-picker-item-size:25%}.ghostkit-component-image-picker.ghostkit-component-image-picker-5{--ghostkit-component-image-picker-item-size:20%}.ghostkit-component-image-picker.ghostkit-component-image-picker-6{--ghostkit-component-image-picker-item-size:16.66%}.ghostkit-component-image-picker .components-base-control__field{display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-component-image-picker .components-base-control__field>.components-base-control__label{min-width:100%}.ghostkit-component-image-picker .ghostkit-component-image-picker-item{align-items:center;background:none;border:none;border-radius:4px;color:inherit;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;justify-content:flex-start;margin:4px 0;overflow:hidden;padding:4px;width:calc(var(--ghostkit-component-image-picker-item-size) - 4px)}.ghostkit-component-image-picker .ghostkit-component-image-picker-item:hover{background:#f8f9f9;color:#191e23}.ghostkit-component-image-picker .ghostkit-component-image-picker-item.ghostkit-component-image-picker-item-active{box-shadow:0 0 0 2px #555d66;color:#191e23;outline:2px solid transparent;outline-offset:-2px}.ghostkit-component-image-picker .ghostkit-component-image-picker-item:focus{box-shadow:0 0 0 2px #007cba;color:#191e23;outline:2px solid transparent;outline-offset:-2px}.ghostkit-component-image-picker .ghostkit-component-image-picker-item img,.ghostkit-component-image-picker .ghostkit-component-image-picker-item svg{border:1px solid rgba(85,93,102,.2);border-radius:4px;display:block;height:auto;outline:1px solid transparent;width:100%}.ghostkit-component-image-picker .ghostkit-component-image-picker-item span{display:block;padding:4px 2px;text-align:center}.ghostkit-control-important-toggle{align-items:center;background:#e6e6e6;display:inline-flex;height:18px;justify-content:center;padding:2px;position:relative;text-align:center}.ghostkit-control-important-toggle.is-active{background-color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));color:#fff}.ghostkit-component-input-drag-has-icon{position:relative}.ghostkit-component-input-drag-has-icon svg{color:silver;margin:10px;position:absolute}.ghostkit-component-input-drag-has-icon .ghostkit-component-input-drag .components-base-control__field .components-text-control__input{padding-left:30px}.ghostkit-component-input-group-wrapper{display:flex}.ghostkit-component-input-group-wrapper>div+div{margin-left:-1px}.ghostkit-component-input-group-wrapper>div:focus-within{z-index:1}.ghostkit-component-input-group-wrapper>div:first-of-type input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-component-input-group-wrapper>div:first-of-type~div:not(:last-of-type) input{border-radius:0}.ghostkit-component-input-group-wrapper>div:last-of-type input{border-bottom-left-radius:0;border-top-left-radius:0}.ghostkit-component-input-group-wrapper .components-base-control__help{font-size:9px;font-weight:500;margin-top:-6px;opacity:.7;text-align:center;text-transform:uppercase}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) .components-base-control__help{font-size:0}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) .components-base-control__help:first-letter{font-size:9px}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) input{color:transparent;padding-left:2px;padding-right:2px}.ghostkit-component-input-group-wrapper>div{position:relative;transition:width .2s ease;width:100%}.ghostkit-component-input-group-wrapper>div input{text-align:center;transition:padding .2s ease}.ghostkit-component-input-group-wrapper>div:has(.ghostkit-component-input-drag-expand){width:1000%}.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle{opacity:0;position:absolute;right:1px;top:6px}.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle.is-active,.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle:focus,.ghostkit-component-input-group-wrapper>div:has(input:focus) .ghostkit-control-important-toggle,.ghostkit-component-input-group-wrapper>div:hover .ghostkit-control-important-toggle{opacity:1}.ghostkit-component-modal{animation:none;position:relative}@media(min-width:600px){.ghostkit-component-modal{margin-left:-300px;max-width:600px;min-width:600px;transform:none}.ghostkit-component-modal.ghostkit-component-modal-position-top{top:112px}}@media(min-width:840px){.ghostkit-component-modal.ghostkit-component-modal-size-lg{margin-left:-400px;max-width:800px;min-width:800px;transform:none}}@media(min-width:600px){body>.components-modal__screen-overlay .ghostkit-component-modal{margin-left:auto}body>.components-modal__screen-overlay .ghostkit-component-modal.ghostkit-component-modal-position-top{margin-top:112px;top:0}}@media(min-width:840px){body>.components-modal__screen-overlay .ghostkit-component-modal.ghostkit-component-modal-size-lg{margin-left:auto}}.ghostkit-component-modal .components-modal__header .components-modal__icon-container svg{display:block;margin-right:10px}.ghostkit-component-modal .components-modal__header .components-modal__header-heading{font-weight:600}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs{margin-left:-16px;margin-right:-16px;margin-top:-16px}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs .ghostkit-control-tabs-tab{color:inherit;padding:12px 16px}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs .ghostkit-control-tabs-tab:focus{outline:none}.ghostkit-component-notice{margin:0 0 24px}.ghostkit-component-notice.is-info{background-color:rgba(81,152,217,.1);color:#2271b1}.ghostkit-component-notice.is-info p{color:inherit}.ghostkit-component-notice p:last-of-type{margin-bottom:0!important}.ghostkit-pro-component-note-inner{background-color:#edeff0;border-radius:4px;padding:20px;text-align:left}.ghostkit-pro-component-note-inner h3{font-size:14px;margin-bottom:15px;margin-top:0;text-transform:none}.ghostkit-pro-component-note-inner ul{list-style:none}.ghostkit-pro-component-note-inner ul li:before{content:"- ";display:inline;margin-bottom:5px}.ghostkit-pro-component-note-collapsed{position:relative}.ghostkit-pro-component-note-collapsed .ghostkit-pro-component-note-inner{position:relative;z-index:2}.ghostkit-pro-component-note-collapsed:after{background:linear-gradient(-45deg,#5c39a7,#528be6);border-radius:6px;bottom:0;content:"";display:block;left:0;margin:-2px;position:absolute;right:0;top:0;z-index:1}.ghostkit-pro-component-note-collapsed h3{margin-bottom:0}.ghostkit-pro-component-note-collapsed button{height:100%;justify-content:flex-end;left:0;position:absolute;top:0;width:100%}.ghostkit-pro-component-note-button{background:linear-gradient(-45deg,#5c39a7,#528be6);border-radius:3px;display:inline-block;margin-top:5px;padding:7px 15px;text-decoration:none;transition:filter .2s,transform .2s}.ghostkit-pro-component-note-button,.ghostkit-pro-component-note-button:active,.ghostkit-pro-component-note-button:focus,.ghostkit-pro-component-note-button:hover{color:#fff}.ghostkit-pro-component-note-button:focus,.ghostkit-pro-component-note-button:hover{filter:contrast(1.5) drop-shadow(0 3px 3px rgba(82,139,230,.3));transform:translateY(-1px)}.ghostkit-component-range-control>.components-base-control__field,.ghostkit-component-range-control>.components-base-control__field>.components-base-control,.ghostkit-component-range-control>.components-base-control__field>.components-base-control>.components-base-control__field{margin-bottom:0}.ghostkit-component-range-control>.components-base-control__field{align-items:center;display:flex;flex-wrap:wrap}.ghostkit-component-range-control>.components-base-control__field>.components-base-control__label{flex:100%;width:100%}.ghostkit-component-range-control>.components-base-control__field>.components-range-control{flex:1;margin-right:10px}.ghostkit-component-range-control>.components-base-control__field .components-text-control__input{width:64px}.ghostkit-component-remove-button{align-items:center;background-color:#555d66;border-radius:50%;color:#fff;height:20px;justify-content:center;margin-right:-10px;margin-top:-10px;opacity:.7;padding:0!important;position:absolute;right:0;top:0;transition:opacity .2s,background-color .2s;width:20px}.ghostkit-component-remove-button:focus,.ghostkit-component-remove-button:hover{background-color:var(--gkt-color-brand);color:#fff;opacity:1}.ghostkit-component-remove-button svg{flex:0 0 auto;height:.8em;width:auto}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep{margin-left:5px;padding:0}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:hover,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:hover{text-decoration:underline}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus{background:none;box-shadow:none}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus{color:#df5454}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus{color:#999}.ghostkit-component-remove-button-confirm.components-popover:before{border-color:transparent}.ghostkit-component-remove-button-confirm.components-popover.is-top:after{border-top-color:#191e23}.ghostkit-component-remove-button-confirm.components-popover.is-bottom:after{border-bottom-color:#191e23}.ghostkit-component-remove-button-confirm .components-popover__content{background:#191e23;border-width:0;color:#fff;padding:4px 12px;white-space:nowrap}.ghostkit-component-remove-button-confirm:not(.is-mobile) .components-popover__content{min-width:0}.ghostkit-component-remove-button-confirm .components-tooltip__shortcut{color:#7e8993;display:block;text-align:center}.ghostkit-control-tabs-icon{position:relative}.ghostkit-control-responsive-toggle{display:inline-flex;position:relative}.components-base-control__label:has(.ghostkit-control-responsive-toggle),.components-input-control__label:has(.ghostkit-control-responsive-toggle){overflow:visible!important}.components-base-control__label>.ghostkit-control-responsive-toggle,.components-input-control__label>.ghostkit-control-responsive-toggle{margin-left:8px;vertical-align:bottom}.ghostkit-control-responsive-toggle>.components-button{align-items:center;display:inline-flex;height:auto;justify-content:center;padding:0}.ghostkit-control-responsive-toggle>.components-button svg{display:block;height:auto;width:18px}.ghostkit-control-responsive-toggle-button,.ghostkit-control-responsive-toggle-icon{position:relative}.ghostkit-control-responsive-toggle-dropdown{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 4px 0 rgba(0,0,0,.05);display:none;flex-direction:column;gap:2px;left:-5px;padding:2px;position:absolute;top:-5px;width:auto;z-index:5}.ghostkit-control-responsive-toggle-dropdown.is-open{display:flex}.ghostkit-control-responsive-toggle-dropdown>.components-button{align-items:center;border-radius:2px;display:inline-flex;height:22px;justify-content:center;padding:0;width:22px}.ghostkit-control-responsive-toggle-dropdown>.components-button.is-active{background-color:#000;color:#fff}.ghostkit-control-responsive-toggle-dropdown>.components-button svg{display:block;height:auto;width:18px}.ghostkit-control-select .fast-option-selected{color:#fff}.ghostkit-control-select input[type=text]{height:20px;min-height:20px}.ghostkit-control-select input[type=text]:focus{box-shadow:none}.ghostkit-control-toggle-group>div{margin-bottom:-10px}.ghostkit-control-toggle-group [aria-checked=false]{color:#000}.ghostkit-control-toggle-group button[disabled]{background-color:#b7b7b7;opacity:.4}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle{border-color:#949494;border-radius:4px;min-height:30px;padding:3px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label{align-items:center;display:flex;gap:10px;width:100%}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label>.ghostkit-component-bezier-editor,.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label>.ghostkit-component-spring-editor{align-items:center;background-color:var(--wp-admin-theme-color);border-radius:2px;display:inline-flex;height:24px;justify-content:center;overflow:hidden;width:24px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset{background-color:#f9f5f5;border-radius:2px;color:#000;cursor:pointer;display:inline-block;height:15px;margin-left:auto;margin-right:5px;overflow:hidden;width:15px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset:focus,.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset:hover{background-color:#e5e5e5}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset svg{height:100%;width:100%}.ghostkit-component-transition-selector-content>.components-popover__content>*+*{margin-top:16px}.ghostkit-component-transition-selector-content .ghostkit-control-toggle-group{margin-bottom:20px}.ghostkit-component-bezier-editor,.ghostkit-component-spring-editor{position:relative}.ghostkit-component-bezier-editor>svg,.ghostkit-component-spring-editor>svg{border:1px solid #949494;border-radius:4px}.ghostkit-component-bezier-editor-preview>svg,.ghostkit-component-spring-editor-preview>svg{border:none;border-radius:0}.ghostkit-component-easing-controls-bezier>.components-base-control__field{display:flex;flex-wrap:wrap;width:100%}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control{width:25%}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control:not(:last-child){border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;margin-right:-1px}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control__label{width:100%}.ghostkit-component-spring-editor-duration{bottom:10px;color:#9a9a9a;font-size:10px;font-weight:500;position:absolute;right:12px}.ghostkit-component-transition-preview-wrapper>.components-base-control__field{align-items:center;display:flex;justify-content:space-between;margin-bottom:0}.ghostkit-component-transition-preview-wrapper>.components-base-control__field>.components-base-control__label{margin-bottom:0}.ghostkit-component-transition-preview{background-color:var(--wp-admin-theme-color);border-radius:4px;box-shadow:none!important;cursor:pointer;display:inline-block;height:auto;margin-left:auto;outline:none!important;overflow:hidden;padding:4px;width:65%}.ghostkit-component-transition-preview>span{background-color:#fff;border-radius:2px;display:block;height:16px;width:16px}.ghostkit-control-typography{display:flex;flex-wrap:wrap}.ghostkit-control-typography .ghostkit-typography-font-control{flex:1;max-width:100%;min-width:50%;padding-right:20px}.ghostkit-control-typography .ghostkit-typography-weight-control{flex:1 0 33.3%;max-width:33%}.ghostkit-control-typography .ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-size-control{flex:1;max-width:100%;min-width:33.3%}.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-size-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-size-control{margin-top:20px}.ghostkit-control-typography .ghostkit-typography-line-control+.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-size-control+.ghostkit-typography-line-control{padding-left:20px}.ghostkit-control-typography .ghostkit-typography-information-control.ghostkit-typography-font-control{color:#a2aab2;flex:1 0 80%;font-style:italic;padding-left:20px;padding-right:0}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle{border:1px solid #7e8993;height:32px}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle:focus,.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle:hover{border-color:#555d66;box-shadow:none!important}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle svg,.ghostkit-typography-font-category-control-menu svg{height:auto;margin:0 4px;width:19px}.ghostkit-typography-font-category-control-menu .components-popover:not(.is-mobile) .components-popover__content{min-width:200px}.ghostkit-typography-font-category-control-menu .components-menu-group{padding:0}.ghostkit-typography-font-category-control-menu .components-menu-group .components-button svg{margin-left:5px!important;margin-right:10px!important}.ghostkit-typography-font-category-control-menu .components-menu-item__button{display:flex}.ghostkit-typography-font-category-control-menu .components-menu-item__button .components-menu-items__item-icon{order:-1}.ghostkit-typography-badge-pro{background-color:#00669b;border-radius:10px;color:#fff;font-size:8px;font-weight:600;height:14px;line-height:14px;margin-left:auto;padding:0 5px;text-align:center}.ghostkit-components-url-picker-inspector .block-editor-link-control{min-width:0}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-item.is-current{padding:0 0 16px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__tools{padding:16px 0 10px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input{margin:0 0 16px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input input[type=text]{margin:0;width:100%}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-actions{right:4px;top:4px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-results{margin-top:24px;padding:0}.ghostkit-control-sr-direction{border:1px solid #e8eaec;margin-top:20px;padding-top:60%;position:relative;width:100%}.ghostkit-control-sr-direction .components-base-control,.ghostkit-control-sr-direction .components-base-control__field{margin:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap{height:calc(100% - 10px);left:5px;position:absolute;top:5px;width:calc(100% - 10px)}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap>div{align-items:center;display:flex;justify-content:center}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button{border-radius:3px;font-size:10px;height:32px;justify-content:center;padding:10px;text-align:center;transition:background-color .15s,color .15s;width:35px}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button:hover{background-color:#eaeaea}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button.ghostkit-control-sr-direction-active,.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button.ghostkit-control-sr-direction-active:focus{background-color:#000;color:#fff}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button svg{display:block;height:1.2em;width:auto}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-top{left:0;position:absolute;top:0;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-right{height:100%;position:absolute;right:0;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-bottom{bottom:0;left:0;position:absolute;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-left{height:100%;left:0;position:absolute;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center{left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center button{font-size:5px}.ghostkit-control-sr-presets-menu .components-button[aria-checked=true]{background-color:#000;color:#fff}.ghostkit-control-sr-presets-toggle-active:before{background-color:#000}.ghostkit-control-sr-presets-toggle-active svg{color:#fff}.components-dropdown-menu__menu .ghostkit-block-actions-copy-paste{border-bottom:1px solid #1e1e1e;border-top:1px solid #1e1e1e;margin-bottom:8px;margin-top:8px}.components-dropdown-menu__menu .ghostkit-block-actions-copy-paste .components-menu-group__label{margin-bottom:5px;margin-top:8px}.ghostkit-block-actions-dropdown-paste{width:100%}.ghostkit-component-effects-reveal>.components-popover__content>*+*{margin-top:16px}.ghostkit-tools-panel-effects{grid-column:1/-1}.ghostkit-tools-panel-effects .components-tools-panel-item:has(+.components-tools-panel-item) .ghostkit-component-dropdown-picker-toggle{border-bottom:none}.ghostkit-tools-panel-custom-css{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-control-pre-custom-css{background-color:#e8eaeb;padding:20px}.ghostkit-extension-customCSS-custom__dropdown{display:block;width:100%}.ghostkit-extension-customCSS-custom__dropdown-content .components-popover__content{padding:16px;width:500px}.ghostkit-extension-customCSS-custom__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-extension-customCSS-custom__dropdown-content-toggle{cursor:pointer;display:block;height:auto;padding:0;position:relative;width:100%}.ghostkit-extension-customCSS-custom__dropdown-content-toggle>span{align-items:center;background-color:var(--wp-admin-theme-color);border-radius:3px;color:#fff;display:flex;font-size:13px;font-weight:400;height:34px;justify-content:center;left:50%;margin-left:-55px;margin-top:-17px;position:absolute;top:50%;transition:background-color .2s;width:110px;z-index:1}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_editor{box-shadow:0 0 0 1px #b3b3b3;transition:box-shadow .2s}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scroller{filter:blur(0);opacity:.2;transition:filter .2s}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scrollbar,.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scroller{overflow:hidden}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ghostkit-component-code-editor{pointer-events:none}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover>span{background-color:var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover .ace_editor{box-shadow:0 0 0 1px var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover .ace_scroller{filter:blur(2px)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active>span{background-color:var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover .ace_editor{box-shadow:0 0 0 2px var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover .ace_scroller{filter:blur(2px)}.ace_editor.ace_autocomplete{z-index:1000000}.ghostkit-tools-panel-frame{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-control-border-row{align-items:center;display:flex;justify-content:space-between}.ghostkit-control-border-row .ghostkit-control-toggle-group{width:60%}.ghostkit-control-border-row .ghostkit-control-toggle-group .components-toggle-group-control{min-height:30px}.ghostkit-control-border-row .ghostkit-component-color-toggle{background:none;border:none;margin-top:4px;padding:0}.ghostkit-control-border-row .ghostkit-component-input-drag{max-width:62px}.ghostkit-control-box-shadow{align-items:flex-start;display:flex}.ghostkit-control-box-shadow>div:first-child{margin-right:auto}.ghostkit-control-box-shadow .ghostkit-component-color-toggle{background:none;border:none;margin-top:5px;padding:0}.ghostkit-control-radius{display:flex}.ghostkit-control-radius>div+div{margin-left:-1px}.ghostkit-control-radius>div:focus-within{z-index:1}.ghostkit-control-radius .ghostkit-control-radius-tl input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-control-radius .ghostkit-control-radius-br input,.ghostkit-control-radius .ghostkit-control-radius-tr input{border-radius:0}.ghostkit-control-radius .ghostkit-control-radius-bl input{border-bottom-left-radius:0;border-top-left-radius:0}.ghostkit-control-radius .components-base-control,.ghostkit-control-radius .components-base-control__field{margin-bottom:0!important}.ghostkit-tools-panel-position{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-tools-panel-display{grid-column:1/-1}.ghostkit-d-none{filter:opacity(.4) saturate(0)}.ghostkit-d-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-block{filter:none}.ghostkit-d-block:after{background-image:none}@media(max-width:1200px){.ghostkit-d-xl-none{filter:opacity(.4) saturate(0)}.ghostkit-d-xl-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-xl-block{filter:none}.ghostkit-d-xl-block:after{background-image:none}}@media(max-width:992px){.ghostkit-d-lg-none{filter:opacity(.4) saturate(0)}.ghostkit-d-lg-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-lg-block{filter:none}.ghostkit-d-lg-block:after{background-image:none}}@media(max-width:768px){.ghostkit-d-md-none{filter:opacity(.4) saturate(0)}.ghostkit-d-md-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-md-block{filter:none}.ghostkit-d-md-block:after{background-image:none}}@media(max-width:576px){.ghostkit-d-sm-none{filter:opacity(.4) saturate(0)}.ghostkit-d-sm-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-sm-block{filter:none}.ghostkit-d-sm-block:after{background-image:none}}.ghostkit-tools-panel-spacings{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-toolbar-templates{white-space:nowrap}.ghostkit-toolbar-templates .components-button{gap:6px}.ghostkit-has-transform{transform:perspective(var(--gkt-transform-perspective,none)) translateX(var(--gkt-transform-x,0)) translateY(var(--gkt-transform-y,0)) scale(var(--gkt-transform-scale,1)) rotate(var(--gkt-transform-rotate,0deg)) rotateX(var(--gkt-transform-rotate-x,0deg)) rotateY(var(--gkt-transform-rotate-y,0deg)) rotate(var(--gkt-transform-rotate-z,0deg)) skewX(var(--gkt-transform-skew-x,0deg)) skewY(var(--gkt-transform-skew-y,0deg));transform-origin:var(--gkt-transform-origin,50% 50%)}.ghostkit-tools-panel-transform{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-badge{--gkt-badge__padding-v:0.35em;--gkt-badge__padding-h:0.6em;--gkt-badge__font-size:0.75em;--gkt-badge__font-weight:600;--gkt-badge__line-height:1;--gkt-badge__border-radius:1em;--gkt-badge__text-color:#fff;--gkt-badge-default__color:var(--gkt-color-dark-gray);--gkt-badge-brand__color:var(--gkt-color-brand);--gkt-badge-primary__color:var(--gkt-color-primary);--gkt-badge-success__color:var(--gkt-color-success);--gkt-badge-danger__color:var(--gkt-color-danger);--gkt-badge-warning__color:var(--gkt-color-warning);--gkt-badge-info__color:var(--gkt-color-info);background-color:var(--gkt-badge-default__color);border:0 solid var(--gkt-badge-default__color);border-radius:var(--gkt-badge__border-radius);color:var(--gkt-badge__text-color);display:inline-block;font-size:var(--gkt-badge__font-size);font-weight:var(--gkt-badge__font-weight);line-height:var(--gkt-badge__line-height);padding:var(--gkt-badge__padding-v) var(--gkt-badge__padding-h);text-align:center;vertical-align:middle;white-space:nowrap}.ghostkit-badge-brand{background-color:var(--gkt-badge-brand__color);border-color:var(--gkt-badge-brand__color)}.ghostkit-badge-primary{background-color:var(--gkt-badge-primary__color);border-color:var(--gkt-badge-primary__color)}.ghostkit-badge-success{background-color:var(--gkt-badge-success__color);border-color:var(--gkt-badge-success__color)}.ghostkit-badge-danger{background-color:var(--gkt-badge-danger__color);border-color:var(--gkt-badge-danger__color)}.ghostkit-badge-warning{background-color:var(--gkt-badge-warning__color);border-color:var(--gkt-badge-warning__color)}.ghostkit-badge-info{background-color:var(--gkt-badge-info__color);border-color:var(--gkt-badge-info__color)}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary].ghostkit-badge:not([style]){background-color:#6a6c75}.ghostkit-format-badge-button__indicator{bottom:7px;height:4px;left:13px;position:absolute;width:20px}.ghostkit-text-uppercase{text-transform:uppercase}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-color-palette-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-color-palette-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-color-palette-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-color-palette-modal .components-modal__header{border-bottom:none;margin-bottom:-10px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-default .components-base-control__field{cursor:not-allowed}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-default .components-circular-option-picker__option-wrapper{pointer-events:none}.ghostkit-plugin-color-palette-modal h4{margin-top:24px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list{display:flex;flex-wrap:wrap}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper{margin-bottom:0;margin-right:5px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper .ghostkit-component-color-toggle{background:none;border:none;padding:0}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper>.components-base-control__field{margin:0}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-add-new .components-circular-option-picker__option{color:#fff;font-family:sans-serif;font-size:20px;line-height:20px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-add-new .components-circular-option-picker__option .components-color-palette__custom-color-gradient{color:#525252}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-custom-code-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-custom-code-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-custom-code-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-custom-code-modal .components-modal__header{border-bottom:none}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-customizer-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-customizer-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-customizer-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-customizer-modal .ghostkit-customizer-info{color:#0085ba;margin-bottom:13px;margin-right:auto;max-width:300px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-spinner{margin-bottom:13px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-spinner>span{float:left;margin:0}.ghostkit-plugin-customizer-modal .components-placeholder__fieldset{z-index:21}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list{margin-top:10px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div{margin-left:-16px;margin-right:-16px;margin-top:-1px;padding:16px;position:relative;transition:background-color .2s}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div:hover{background-color:#f9f9f9}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-field{margin-bottom:0;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info{display:flex}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info>*{max-width:60%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info>*+*{margin-left:15px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-id{opacity:.3;word-break:break-word}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-default{margin-left:auto;opacity:.3;word-break:break-word}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-default span{font-weight:700}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove{align-items:center;background:#eaeaea;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:15px;justify-content:center;opacity:0;position:absolute;right:16px;top:14px;transition:opacity .2s,visibility .2s,background-color .2s;visibility:hidden;width:15px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove:hover{background-color:#ff4340}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove span{font-size:10px;height:10px;width:10px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div:hover .ghostkit-customizer-list-remove{opacity:1;visibility:visible}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list .components-toggle-control{margin-bottom:0}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list .components-color-palette{margin-bottom:-10px}.ghostkit-toolbar-responsive~.block-editor-post-preview__dropdown,.ghostkit-toolbar-responsive~.editor-preview-dropdown{display:none}@media screen and (max-width:600px){.ghostkit-toolbar-responsive{display:none}}.ghostkit-toolbar-responsive__button-toggle svg,.ghostkit-toolbar-responsive__dropdown-content .components-menu-item__button svg{height:auto;width:22px}.ghostkit-toolbar-responsive__dropdown-content .components-menu-item__button.is-active{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.interface-pinned-items .components-button .ghostkit-plugin-icon svg{display:block}.interface-pinned-items .components-button:not(.is-toggled,.is-pressed) .ghostkit-plugin-icon svg{color:#2e1645}.plugin-ghostkit-panel .plugin-ghostkit-panel-button{background:none;border:1px solid;border-radius:4px;color:inherit;cursor:pointer;display:block;flex-shrink:0;height:auto;margin-bottom:16px;overflow:hidden;padding:15px 10px;text-align:center;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s;width:100%}.plugin-ghostkit-panel .plugin-ghostkit-panel-button,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:hover{border-color:rgba(79,89,105,.2);box-shadow:none}.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:hover{background-color:#f8f9f9;color:#191e23}.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus:enabled{border-color:#00669b;box-shadow:0 0 0 2px #007cba;color:#191e23}.plugin-ghostkit-panel .plugin-ghostkit-panel-button svg{display:block;margin:3px auto 10px;text-align:center}.ghostkit-plugin-templates-modal-notice.components-notice{margin-bottom:15px;margin-left:-15px;margin-right:-15px;padding-bottom:0;padding-top:0}.ghostkit-plugin-templates-modal-notice.components-notice h3{font-size:14px}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-hide-header .components-modal__content>.components-modal__header:first-of-type{display:none}.ghostkit-plugin-templates-modal .components-modal__header{border-bottom:none}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-control-tabs{opacity:.3;pointer-events:none}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-plugin-templates-modal-loading-spinner{position:absolute;right:50px;top:14px;z-index:10}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-plugin-templates-modal-loading-spinner .components-spinner{float:none;margin-left:0}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-categories-row{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-categories-select{margin-bottom:10px;max-width:170px}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-count{margin-bottom:20px;max-width:170px;opacity:.7}.ghostkit-plugin-templates-modal .components-tab-panel__tab-content{background-color:#f8f9f9;margin:-15px -16px;padding:15px 16px}.ghostkit-templates-missing-block-alert.ghostkit-alert{border-left-color:var(--gkt-color-danger);margin-bottom:20px}.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional{width:100%}.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional,.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional .components-button{margin-top:10px}.ghostkit-plugin-templates-spinner .components-spinner{float:none;margin-left:0}.ghostkit-plugin-templates-list{display:flex;flex-wrap:wrap;list-style:none;margin-left:-15px;margin-top:-15px;padding:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 33.33%;padding-left:15px;padding-top:15px;width:33.33%}@media screen and (max-width:840px){.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 50%;width:50%}}@media screen and (max-width:450px){.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 100%;width:100%}}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button{background:none;background-color:#fff;border:none;border-radius:4px;box-shadow:0 0 0 1px #edeff0;cursor:pointer;display:block;padding:0;transition:border-color .2s,box-shadow .2s;width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:active,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:focus,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:hover{box-shadow:0 0 0 2px #007cba}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image{display:block;position:relative}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image img{border-top-left-radius:4px;border-top-right-radius:4px;display:block;height:auto;width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer{width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer+.lazyload-wrapper img,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer+img{height:100%;left:0;position:absolute;top:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item .ghostkit-plugin-templates-list-item-title{border-top:1px solid #f8f9f9;font-size:10px;font-weight:600;padding:10px;text-transform:uppercase}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item.ghostkit-plugin-templates-list-item-no-thumb>button{background-color:#f3f4f5;border:1px solid #edeff0;padding:20px 10px;text-align:center}.ghostkit-typography-container{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.ghostkit-typography-container+.ghostkit-typography-container{border-top:1px solid #e8eaeb;margin-top:16px}.ghostkit-typography-advanced{margin-top:10px;text-align:right}.is-style-numbered{--gkt-numbered-headings__margin-right:0.4em;--gkt-numbered-headings--h2-number__width:1.6em;--gkt-numbered-headings--h2-number__height:1.6em;--gkt-numbered-headings--h2-number__line-height:1;--gkt-numbered-headings--h2-number__color:#fff;--gkt-numbered-headings--h2-number__background-color:var(--gkt-color-dark-gray);--gkt-numbered-headings--h2-number__border-radius:50%}.editor-styles-wrapper{counter-reset:h2}.editor-styles-wrapper .is-style-numbered:before{margin:0;margin-right:var(--gkt-numbered-headings__margin-right)}.editor-styles-wrapper h2.is-style-numbered:before{align-items:center;background-color:var(--gkt-numbered-headings--h2-number__background-color);border-radius:var(--gkt-numbered-headings--h2-number__border-radius);color:var(--gkt-numbered-headings--h2-number__color);display:inline-flex;height:var(--gkt-numbered-headings--h2-number__height);justify-content:center;line-height:var(--gkt-numbered-headings--h2-number__line-height);width:var(--gkt-numbered-headings--h2-number__width)}.editor-styles-wrapper h2.is-style-numbered{counter-increment:h2;counter-reset:h3}.editor-styles-wrapper h2.is-style-numbered:before{content:counter(h2)}.editor-styles-wrapper h3.is-style-numbered{counter-increment:h3;counter-reset:h4}.editor-styles-wrapper h3.is-style-numbered:before{content:counter(h3)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered:before{content:counter(h2) "." counter(h3)}.editor-styles-wrapper h4.is-style-numbered{counter-increment:h4;counter-reset:h5}.editor-styles-wrapper h4.is-style-numbered:before{content:counter(h4)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered:before{content:counter(h3) "." counter(h4)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4)}.editor-styles-wrapper h5.is-style-numbered{counter-increment:h5;counter-reset:h6}.editor-styles-wrapper h5.is-style-numbered:before{content:counter(h5)}.editor-styles-wrapper h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h4) "." counter(h5)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h3) "." counter(h4) "." counter(h5)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4) "." counter(h5)}.editor-styles-wrapper h6.is-style-numbered{counter-increment:h6}.editor-styles-wrapper h6.is-style-numbered:before{content:counter(h6)}.editor-styles-wrapper h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h5) "." counter(h6)}.editor-styles-wrapper h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h4) "." counter(h5) "." counter(h6)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h3) "." counter(h4) "." counter(h5) "." counter(h6)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6)}.editor-block-styles__item .editor-styles-wrapper .is-style-numbered:before{content:"1"}.is-style-styled{--gkt-styled-lists--items__line-height:1.5;--gkt-styled-lists--items__gap:0.5em;--gkt-styled-lists--inner-lists__padding-v:1em;--gkt-styled-lists--inner-lists__padding-h:0;--gkt-styled-lists-numbered__padding-left:2em;--gkt-styled-lists-numbered--decoration__top:0;--gkt-styled-lists-numbered--decoration__left:0;--gkt-styled-lists-numbered--decoration__width:2em;--gkt-styled-lists-numbered--decoration__height:2em;--gkt-styled-lists-numbered--decoration__font-size:0.7em;--gkt-styled-lists-numbered--decoration__font-weight:600;--gkt-styled-lists-numbered--decoration__line-height:1;--gkt-styled-lists-numbered--decoration__color:#fff;--gkt-styled-lists-numbered--decoration__background-color:var(--gkt-color-dark-gray);--gkt-styled-lists-numbered--decoration__border-radius:50%;--gkt-styled-lists-dotted__padding-left:2em;--gkt-styled-lists-dotted--decoration__top:0.65em;--gkt-styled-lists-dotted--decoration__left:0.9em;--gkt-styled-lists-dotted--decoration__width:0.2em;--gkt-styled-lists-dotted--decoration__height:0.2em;--gkt-styled-lists-dotted--decoration__background-color:var(--gkt-color-dark-gray)}.is-style-icon{--gkt-icon-lists--items__line-height:1.5;--gkt-icon-lists--items__padding-left:2em;--gkt-icon-lists--items__gap:0.5em;--gkt-icon-lists--inner-lists__padding-v:1em;--gkt-icon-lists--inner-lists__padding-h:0;--gkt-icon-lists--decoration:url('data:image/svg+xml;utf8,');--gkt-icon-lists--decoration__top:0;--gkt-icon-lists--decoration__left:0;--gkt-icon-lists--decoration__width:1.5em;--gkt-icon-lists--decoration__height:1.5em;--gkt-icon-lists--decoration__color:var(--gkt-color-brand)}.editor-styles-wrapper .is-style-icon,.editor-styles-wrapper .is-style-icon ol,.editor-styles-wrapper .is-style-icon ul,.editor-styles-wrapper .is-style-none,.editor-styles-wrapper .is-style-none ol,.editor-styles-wrapper .is-style-none ul,.editor-styles-wrapper .is-style-styled,.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper .is-style-styled ul{list-style:none;padding-left:0}.editor-styles-wrapper .is-style-icon ol,.editor-styles-wrapper .is-style-icon ul,.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper .is-style-styled ul{margin-left:0}.editor-styles-wrapper ol.is-style-styled,.editor-styles-wrapper ul.is-style-styled{line-height:var(--gkt-styled-lists__line-height)}.editor-styles-wrapper ol.is-style-styled li,.editor-styles-wrapper ul.is-style-styled li{list-style:none;margin-left:0}.editor-styles-wrapper ol.is-style-styled li>ol,.editor-styles-wrapper ol.is-style-styled li>ul,.editor-styles-wrapper ul.is-style-styled li>ol,.editor-styles-wrapper ul.is-style-styled li>ul{margin:var(--gkt-styled-lists--inner-lists__padding-v) var(--gkt-styled-lists--inner-lists__padding-h);width:100%}.editor-styles-wrapper ol.is-style-styled li+li,.editor-styles-wrapper ul.is-style-styled li+li{margin-top:var(--gkt-styled-lists--items__gap)}.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper ol.is-style-styled{counter-reset:li}.editor-styles-wrapper .is-style-styled ol>li,.editor-styles-wrapper ol.is-style-styled>li{padding-left:var(--gkt-styled-lists-numbered__padding-left);position:relative}.editor-styles-wrapper .is-style-styled ol>li:before,.editor-styles-wrapper ol.is-style-styled>li:before{align-items:center;align-self:flex-start;background-color:var(--gkt-styled-lists-numbered--decoration__background-color);border-radius:var(--gkt-styled-lists-numbered--decoration__border-radius);color:var(--gkt-styled-lists-numbered--decoration__color);content:counter(li);counter-increment:li;display:flex;flex:0 0 var(--gkt-styled-lists-numbered--decoration__width);font-size:var(--gkt-styled-lists-numbered--decoration__font-size);font-weight:var(--gkt-styled-lists-numbered--decoration__font-weight);height:var(--gkt-styled-lists-numbered--decoration__height);justify-content:center;left:var(--gkt-styled-lists-numbered--decoration__left);line-height:var(--gkt-styled-lists-numbered--decoration__line-height);position:absolute;top:var(--gkt-styled-lists-numbered--decoration__top);width:var(--gkt-styled-lists-numbered--decoration__width)}.editor-styles-wrapper .is-style-styled ol[reversed]>li:before,.editor-styles-wrapper ol.is-style-styled[reversed]>li:before{counter-increment:li -1}.editor-styles-wrapper .is-style-styled ul>li,.editor-styles-wrapper ul.is-style-styled>li{padding-left:var(--gkt-styled-lists-dotted__padding-left);position:relative}.editor-styles-wrapper .is-style-styled ul>li:before,.editor-styles-wrapper ul.is-style-styled>li:before{background-color:var(--gkt-styled-lists-dotted--decoration__background-color);content:"";height:var(--gkt-styled-lists-dotted--decoration__height);left:var(--gkt-styled-lists-dotted--decoration__left);position:absolute;top:var(--gkt-styled-lists-dotted--decoration__top);width:var(--gkt-styled-lists-dotted--decoration__width)}.editor-styles-wrapper ol.is-style-icon,.editor-styles-wrapper ul.is-style-icon{line-height:var(--gkt-icon-lists--items__line-height)}.editor-styles-wrapper ol.is-style-icon li,.editor-styles-wrapper ul.is-style-icon li{list-style:none;margin-left:0;padding-left:var(--gkt-icon-lists--items__padding-left);position:relative}.editor-styles-wrapper ol.is-style-icon li:before,.editor-styles-wrapper ul.is-style-icon li:before{background-color:var(--gkt-icon-lists--decoration__color);content:"";flex:0 0 var(--gkt-icon-lists--decoration__width);height:var(--gkt-icon-lists--decoration__height);left:var(--gkt-icon-lists--decoration__left);-webkit-mask-image:var(--gkt-icon-lists--decoration);mask-image:var(--gkt-icon-lists--decoration);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;position:absolute;top:var(--gkt-icon-lists--decoration__top);width:var(--gkt-icon-lists--decoration__width)}.editor-styles-wrapper ol.is-style-icon li>ol,.editor-styles-wrapper ol.is-style-icon li>ul,.editor-styles-wrapper ul.is-style-icon li>ol,.editor-styles-wrapper ul.is-style-icon li>ul{margin:var(--gkt-icon-lists--inner-lists__padding-v) var(--gkt-icon-lists--inner-lists__padding-h);width:100%}.editor-styles-wrapper ol.is-style-icon li+li,.editor-styles-wrapper ul.is-style-icon li+li{margin-top:var(--gkt-icon-lists--items__gap)}.editor-styles-wrapper .ghostkit-list-columns-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-6{-moz-column-count:6;column-count:6}@media(max-width:1200px){.editor-styles-wrapper .ghostkit-list-columns-xl-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-xl-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-xl-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-xl-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-xl-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-xl-6{-moz-column-count:6;column-count:6}}@media(max-width:992px){.editor-styles-wrapper .ghostkit-list-columns-lg-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-lg-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-lg-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-lg-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-lg-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-lg-6{-moz-column-count:6;column-count:6}}@media(max-width:768px){.editor-styles-wrapper .ghostkit-list-columns-md-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-md-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-md-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-md-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-md-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-md-6{-moz-column-count:6;column-count:6}}@media(max-width:576px){.editor-styles-wrapper .ghostkit-list-columns-sm-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-sm-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-sm-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-sm-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-sm-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-sm-6{-moz-column-count:6;column-count:6}}.ghostkit-paragraph-columns-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-6{-moz-column-count:6;column-count:6}@media(max-width:1200px){.ghostkit-paragraph-columns-xl-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-xl-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-xl-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-xl-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-xl-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-xl-6{-moz-column-count:6;column-count:6}}@media(max-width:992px){.ghostkit-paragraph-columns-lg-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-lg-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-lg-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-lg-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-lg-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-lg-6{-moz-column-count:6;column-count:6}}@media(max-width:768px){.ghostkit-paragraph-columns-md-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-md-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-md-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-md-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-md-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-md-6{-moz-column-count:6;column-count:6}}@media(max-width:576px){.ghostkit-paragraph-columns-sm-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-sm-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-sm-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-sm-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-sm-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-sm-6{-moz-column-count:6;column-count:6}}svg.ghostkit-svg-icon{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em;width:1em}.ghostkit-icon-spinner,.ghostkit-video-spinner{--gkt-icon-spinner__color:currentcolor;--gkt-icon-spinner__size:20px;--gkt-icon-spinner__border-size:2px;--gkt-icon-spinner__speed:0.3s;--gkt-icon-spinner--background__color:var(--gkt-icon-spinner__color);--gkt-icon-spinner--background__opacity:0.3;animation:ghostkit-icon-spinner var(--gkt-icon-spinner__speed) infinite linear;border:var(--gkt-icon-spinner__border-size) solid transparent;border-left:var(--gkt-icon-spinner__border-size) solid var(--gkt-icon-spinner__color);border-radius:50%;box-sizing:border-box;display:block;height:var(--gkt-icon-spinner__size);position:relative;text-indent:-9999em;width:var(--gkt-icon-spinner__size)}.ghostkit-icon-spinner:after,.ghostkit-video-spinner:after{border:var(--gkt-icon-spinner__border-size) solid var(--gkt-icon-spinner--background__color);border-radius:50%;bottom:calc(var(--gkt-icon-spinner__border-size)*-1);content:"";display:block;left:calc(var(--gkt-icon-spinner__border-size)*-1);opacity:var(--gkt-icon-spinner--background__opacity);position:absolute;right:calc(var(--gkt-icon-spinner__border-size)*-1);top:calc(var(--gkt-icon-spinner__border-size)*-1)}@keyframes ghostkit-icon-spinner{to{transform:rotate(1turn)}}.ghostkit-accordion{--gkt-accordion--heading__margin:0;--gkt-accordion--heading__padding-v:0.75em;--gkt-accordion--heading__padding-h:0;--gkt-accordion--heading__font-weight:500;--gkt-accordion--heading__font-size:1em;--gkt-accordion--heading__line-height:1.6;--gkt-accordion--heading__gap:1em;--gkt-accordion--heading-collapse-icon__font-size:1em;--gkt-accordion--heading-collapse-icon-active__transform:rotate(90deg);--gkt-accordion--content__padding-v:0.75em;--gkt-accordion--content__padding-h:0;--gkt-accordion__transition-duration:var(--gkt-transition-duration);--gkt-accordion__transition-easing:var(--gkt-transition-easing)}.ghostkit-accordion-item{display:block}.ghostkit-accordion-item .ghostkit-accordion-item-heading{align-items:center;display:flex;font-size:var(--gkt-accordion--heading__font-size);font-weight:var(--gkt-accordion--heading__font-weight);gap:var(--gkt-accordion--heading__gap);line-height:var(--gkt-accordion--heading__line-height);margin:var(--gkt-accordion--heading__margin);padding:var(--gkt-accordion--heading__padding-v) var(--gkt-accordion--heading__padding-h);position:relative}.ghostkit-accordion-item .ghostkit-accordion-item-heading>a,.ghostkit-accordion-item a.ghostkit-accordion-item-heading{border-bottom:none;box-shadow:none;color:inherit;text-decoration:none}.ghostkit-accordion-item-collapse{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;font-size:var(--gkt-accordion--heading-collapse-icon__font-size);justify-content:center;margin-left:auto;outline:none;padding:0;transition:var(--gkt-accordion__transition-duration) transform var(--gkt-accordion__transition-easing)}.ghostkit-accordion-item-content{display:none}.ghostkit-accordion-item-active .ghostkit-accordion-item-heading{opacity:1}.ghostkit-accordion-item-active .ghostkit-accordion-item-collapse{transform:var(--gkt-accordion--heading-collapse-icon-active__transform)}.ghostkit-accordion-item-active .ghostkit-accordion-item-content{display:block}.edit-post-visual-editor,.edit-post-visual-editor p,.editor-rich-text__tinymce.mce-content-body{line-height:inherit}.ghostkit-accordion>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{display:none}.ghostkit-accordion-add-item{padding-bottom:5px;text-align:center}.block-editor-inserter__preview .ghostkit-accordion-item-content .block-editor-block-list__layout{margin-left:0;margin-right:0}.ghostkit-alert{--gkt-alert__padding-v:1.5em;--gkt-alert__padding-h:1.5em;--gkt-alert__border-color:var(--gkt-color-warning);--gkt-alert__border-width:1px;--gkt-alert__border-left-width:3px;--gkt-alert__border-radius:var(--gkt-border-radius);--gkt-alert--icon__padding:3px;--gkt-alert--icon__padding-right:1.5em;--gkt-alert--icon__font-size:1em;--gkt-alert--icon__color:var(--gkt-color-warning);--gkt-alert--hide-button__padding-left:1.5em;--gkt-alert--hide-button__font-size:0.8em;--gkt-alert--hide-button-hover__opacity:0.6;--gkt-alert__transition-duration:var(--gkt-transition-duration);--gkt-alert__transition-easing:var(--gkt-transition-easing);border:var(--gkt-alert__border-width) solid var(--gkt-alert__border-color);border-left-width:var(--gkt-alert__border-left-width);border-radius:var(--gkt-alert__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-alert__padding-v) var(--gkt-alert__padding-h);transition:var(--gkt-alert__transition-duration) border-color var(--gkt-alert__transition-easing)}.ghostkit-alert-icon{color:var(--gkt-alert--icon__color);display:flex;font-size:var(--gkt-alert--icon__font-size);padding:var(--gkt-alert--icon__padding);padding-right:var(--gkt-alert--icon__padding-right);transition:var(--gkt-alert__transition-duration) color var(--gkt-alert__transition-easing)}.ghostkit-alert-content{flex:1}.ghostkit-alert-hide-button{cursor:pointer;display:flex;font-size:var(--gkt-alert--hide-button__font-size);opacity:1;padding-left:var(--gkt-alert--hide-button__padding-left);transition:var(--gkt-alert__transition-duration) opacity var(--gkt-alert__transition-easing)}.ghostkit-alert-hide-button:focus,.ghostkit-alert-hide-button:hover{opacity:var(--gkt-alert--hide-button__hover__opacity)}.ghostkit-button-wrapper{--gkt-button__gap:15px;--gkt-button__gap-vertical:var(--gkt-button__gap);--gkt-button__align-items:flex-start;--gkt-button__justify-content:flex-start}.ghostkit-button{--gkt-button__padding-v:0.75em;--gkt-button__padding-h:1em;--gkt-button__line-height:1em;--gkt-button__color:#fff;--gkt-button__background-color:var(--gkt-color-primary);--gkt-button__border-width:0%;--gkt-button__border-color:var(--gkt-color-primary);--gkt-button__border-radius:var(--gkt-border-radius);--gkt-button__outline:none;--gkt-button__box-shadow:none;--gkt-button-hover__color:#fff;--gkt-button-hover__background-color:var(--gkt-color-dark-gray);--gkt-button-hover__border-width:var(--gkt-button__border-width);--gkt-button-hover__border-color:var(--gkt-button__border-color);--gkt-button-hover__box-shadow:var(--gkt-button__box-shadow);--gkt-button-focus__color:var(--gkt-button-hover__color);--gkt-button-focus__background-color:var(--gkt-button-hover__background-color);--gkt-button-focus__border-width:var(--gkt-button-hover__border-width);--gkt-button-focus__border-color:var(--gkt-button-hover__border-color);--gkt-button-focus__box-shadow:var(--gkt-button-hover__box-shadow);--gkt-button-xs__font-size:0.8em;--gkt-button-sm__font-size:0.85em;--gkt-button__font-size:1em;--gkt-button-lg__font-size:1.15em;--gkt-button-xl__font-size:1.3em;--gkt-button-icon-only__padding-v:var(--gkt-button__padding-v);--gkt-button-icon-only__padding-h:var(--gkt-button__padding-v);--gkt-button--icon__offset:10px;--gkt-button__transition-duration:var(--gkt-transition-duration);--gkt-button__transition-easing:var(--gkt-transition-easing)}.ghostkit-button-wrapper-inner{align-items:var(--gkt-button__align-items);clear:both;-moz-column-gap:var(--gkt-button__gap);column-gap:var(--gkt-button__gap);display:flex;flex-wrap:wrap;justify-content:var(--gkt-button__justify-content);row-gap:var(--gkt-button__gap-vertical)}.ghostkit-button{align-items:center;background-color:var(--gkt-button__background-color);border:var(--gkt-button__border-width) solid var(--gkt-button__border-color);border-radius:var(--gkt-button__border-radius);box-shadow:var(--gkt-button__box-shadow);color:var(--gkt-button__color);cursor:pointer;display:inline-flex;font-size:var(--gkt-button__font-size);justify-content:center;line-height:var(--gkt-button__line-height);margin:0;outline:var(--gkt-button__outline);padding:var(--gkt-button__padding-v) var(--gkt-button__padding-h);text-align:center;text-decoration:none!important;transition:var(--gkt-button__transition-duration) background-color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) border-color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) opacity var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) box-shadow var(--gkt-button__transition-easing);white-space:nowrap}.ghostkit-button:hover{background-color:var(--gkt-button-hover__background-color);border:var(--gkt-button-hover__border-width) solid var(--gkt-button-hover__border-color);box-shadow:var(--gkt-button-hover__box-shadow);color:var(--gkt-button-hover__color)}.ghostkit-button:active,.ghostkit-button:focus{background-color:var(--gkt-button-focus__background-color);border:var(--gkt-button-focus__border-width) solid var(--gkt-button-focus__border-color);box-shadow:var(--gkt-button-focus__box-shadow);color:var(--gkt-button-focus__color)}.ghostkit-button-icon-left{margin-right:var(--gkt-button--icon__offset)}.ghostkit-button-icon-right{margin-left:var(--gkt-button--icon__offset);order:2}.ghostkit-button-icon-only{padding:var(--gkt-button-icon-only__padding-v) var(--gkt-button-icon-only__padding-h)}.ghostkit-button-icon-only .ghostkit-button-icon{margin:0}.ghostkit-button-xs{font-size:var(--gkt-button-xs__font-size)}.ghostkit-button-sm{font-size:var(--gkt-button-sm__font-size)}.ghostkit-button-lg{font-size:var(--gkt-button-lg__font-size)}.ghostkit-button-xl{font-size:var(--gkt-button-xl__font-size)}.ghostkit-button-wrapper-align-left{--gkt-button__justify-content:flex-start}.ghostkit-button-wrapper-align-right{--gkt-button__justify-content:flex-end}.ghostkit-button-wrapper-align-center{--gkt-button__justify-content:center}.ghostkit-button-wrapper-gap-no{--gkt-button__gap:0%}.ghostkit-button-wrapper-gap-sm{--gkt-button__gap:15px}.ghostkit-button-wrapper-gap-md{--gkt-button__gap:30px}.ghostkit-button-wrapper-gap-lg{--gkt-button__gap:45px}.ghostkit-button-wrapper .blocks-rich-text__tinymce{cursor:text}.ghostkit-button-wrapper .block-list-appender__toggle{min-width:unset}.ghostkit-button-wrapper .block-list-appender__toggle.has-icon svg{margin:0}.ghostkit-button .editor-rich-text__tinymce{line-height:1em}.ghostkit-button.ghostkit-button-is-normal-state{background-color:var(--gkt-button__background-color);border:var(--gkt-button__border-width) solid var(--gkt-button__border-color);box-shadow:var(--gkt-button__box-shadow);color:var(--gkt-button__color)}.ghostkit-button.ghostkit-button-is-hover-state{background-color:var(--gkt-button-hover__background-color);border:var(--gkt-button-hover__border-width) solid var(--gkt-button-hover__border-color);box-shadow:var(--gkt-button-hover__box-shadow);color:var(--gkt-button-hover__color)}.ghostkit-button.ghostkit-button-is-focus-state{background-color:var(--gkt-button-focus__background-color);border:var(--gkt-button-focus__border-width) solid var(--gkt-button-focus__border-color);box-shadow:var(--gkt-button-focus__box-shadow);color:var(--gkt-button-focus__color)}.ghostkit-carousel{--gkt-carousel--fade-edges__size:12%;--gkt-carousel--arrows__width:2.2em;--gkt-carousel--arrows__height:2.2em;--gkt-carousel--arrows__offset:0.5em;--gkt-carousel--arrows__font-size:0.9em;--gkt-carousel--arrows__color:var(--gkt-color-dark-gray);--gkt-carousel--arrows__background-color:#fff;--gkt-carousel--arrows__border-radius:50%;--gkt-carousel--arrows__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-carousel--arrows__opacity:0.5;--gkt-carousel--arrows-hover__box-shadow:0 2px 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-carousel--arrows-hover__opacity:1;--gkt-carousel--arrows-hover__transform:translateY(-1px);--gkt-carousel--bullets__width:0.4em;--gkt-carousel--bullets__height:0.4em;--gkt-carousel--bullets__margin-top:25px;--gkt-carousel--bullets__gap:0.8em;--gkt-carousel--bullets__background-color:var(--gkt-color-dark-gray);--gkt-carousel--bullets__border-radius:50%;--gkt-carousel--bullets__opacity:0.2;--gkt-carousel--bullets-hover__opacity:0.5;--gkt-carousel--bullets-active__opacity:1;--gkt-carousel__transition-duration:var(--gkt-transition-duration);--gkt-carousel__transition-easing:var(--gkt-transition-easing);--gkt-carousel-gap:20px;--gkt-carousel-slides-per-view:2;overflow-x:auto;overflow-y:hidden;padding-bottom:10px;position:relative}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;gap:var(--gkt-carousel-gap);margin:0}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{--gkt-carousel-slide-width:calc(100%/var(--gkt-carousel-slides-per-view) - var(--gkt-carousel-gap)*(var(--gkt-carousel-slides-per-view) - 1)/var(--gkt-carousel-slides-per-view));background-color:hsla(0,0%,49%,.05);flex:0 0 var(--gkt-carousel-slide-width);margin:0;max-width:var(--gkt-carousel-slide-width);min-width:var(--gkt-carousel-slide-width)}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block:last-of-type{margin-right:0}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{min-width:auto}.ghostkit-carousel-fade-edges{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--gkt-carousel--fade-edges__size),#000 calc(100% - var(--gkt-carousel--fade-edges__size)),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 var(--gkt-carousel--fade-edges__size),#000 calc(100% - var(--gkt-carousel--fade-edges__size)),transparent 100%)}.block-editor-inserter__preview .ghostkit-carousel-slide .block-editor-block-list__layout,.block-editor-inserter__preview .ghostkit-carousel-slide .block-editor-block-list__layout .wp-block-image{margin:0}.editor-styles-wrapper .ghostkit-changelog,.ghostkit-changelog{--gkt-changelog--version-badge__min-width:3.6em;--gkt-changelog--version-badge__padding-v:0.1em;--gkt-changelog--version-badge__padding-h:0.6em;--gkt-changelog--version-badge__font-weight:600;--gkt-changelog--version-badge__color:#fff;--gkt-changelog--version-badge__background-color:var(--gkt-color-dark-gray);--gkt-changelog--version-badge__border-radius:1em;--gkt-changelog--date__margin-left:1em;--gkt-changelog--date__font-size:1em;--gkt-changelog--line__top:2.5em;--gkt-changelog--line__left:calc(var(--gkt-changelog--version-badge__min-width)/2);--gkt-changelog--line__width:3px;--gkt-changelog--line__background-color:var(--gkt-color-dark-gray);--gkt-changelog--line__border-radius:1em;--gkt-changelog--line__opacity:0.2;--gkt-changelog--content__margin-top:1.5em;--gkt-changelog--content-lists__margin-bottom:1em;--gkt-changelog--content-badges__min-width:6.5em;--gkt-changelog--content-badges__margin-right:1em;--gkt-changelog--content-badges__font-size:0.65em;--gkt-changelog--content-badges__font-weight:600;--gkt-changelog--content-badges__text-transform:uppercase}.editor-styles-wrapper .ghostkit-changelog{align-items:center;display:flex;flex-wrap:wrap;position:relative;z-index:0}.editor-styles-wrapper .ghostkit-changelog:before{background-color:var(--gkt-changelog--line__background-color);border-radius:var(--gkt-changelog--line__border-radius);bottom:0;content:"";display:block;left:var(--gkt-changelog--line__left);opacity:var(--gkt-changelog--line__opacity);position:absolute;top:var(--gkt-changelog--line__top);width:var(--gkt-changelog--line__width);z-index:-1}.editor-styles-wrapper .ghostkit-changelog-version{background-color:var(--gkt-changelog--version-badge__background-color);border-radius:var(--gkt-changelog--version-badge__border-radius);color:var(--gkt-changelog--version-badge__color);font-weight:var(--gkt-changelog--version-badge__font-weight);min-width:var(--gkt-changelog--version-badge__min-width);padding:var(--gkt-changelog--version-badge__padding-v) var(--gkt-changelog--version-badge__padding-h);text-align:center}.editor-styles-wrapper .ghostkit-changelog .ghostkit-changelog-date{font-size:var(--gkt-changelog--date__font-size);margin:0;margin-left:var(--gkt-changelog--date__margin-left)}.editor-styles-wrapper .ghostkit-changelog-more{margin-top:var(--gkt-changelog--content__margin-top);padding-left:calc(var(--gkt-changelog--version-badge__min-width) + var(--gkt-changelog--date__margin-left));width:100%}@media screen and (max-width:768px){.editor-styles-wrapper .ghostkit-changelog-more{padding-left:0}}.editor-styles-wrapper .ghostkit-changelog .ghostkit-badge{font-size:var(--gkt-changelog--content-badges__font-size);font-weight:var(--gkt-changelog--content-badges__font-weight);margin-right:var(--gkt-changelog--content-badges__margin-right);min-width:var(--gkt-changelog--content-badges__min-width);text-transform:var(--gkt-changelog--content-badges__text-transform)}.ghostkit-changelog .ghostkit-changelog-date h2{font-size:inherit}.ghostkit-countdown{--gkt-countdown--unit__min-width:6.2em;--gkt-countdown--unit__padding-v:0.7em;--gkt-countdown--unit__padding-h:1.4em;--gkt-countdown--unit-number__font-weight:700;--gkt-countdown--unit-number__font-size:2em;--gkt-countdown--unit-number__color:var(--gkt-color-primary);--gkt-countdown--unit-label__font-size:1em;--gkt-countdown--unit-label__color:inherit;display:flex;flex-wrap:wrap}.ghostkit-countdown-units-align-left{justify-content:flex-start}.ghostkit-countdown-units-align-center{justify-content:center}.ghostkit-countdown-units-align-right{justify-content:flex-end}.ghostkit-countdown-unit{flex:0 0 auto;min-width:var(--gkt-countdown--unit__min-width);padding:var(--gkt-countdown--unit__padding-v) var(--gkt-countdown--unit__padding-h);text-align:center}.ghostkit-countdown-unit span{display:block}.ghostkit-countdown-unit-number{color:var(--gkt-countdown--unit-number__color);font-size:var(--gkt-countdown--unit-number__font-size);font-weight:var(--gkt-countdown--unit-number__font-weight)}.ghostkit-countdown-unit-label{color:var(--gkt-countdown--unit-label__color);font-size:var(--gkt-countdown--unit-label__font-size)}.ghostkit-countdown-expire-action{background-color:#f9f9f9;border:1px solid #efefef;border-radius:3px;display:none;display:block;margin-top:15px;padding:15px;width:100%}.ghostkit-countdown-expire-action-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600}.ghostkit-counter-box{--gkt-counter-box__padding-v:1.5em;--gkt-counter-box__padding-h:1.5em;--gkt-counter-box__border-width:1px;--gkt-counter-box__border-color:var(--gkt-color-light-gray-darken);--gkt-counter-box__border-radius:var(--gkt-border-radius);--gkt-counter-box--number__offset:1.5em;--gkt-counter-box--number__font-size:2.5em;--gkt-counter-box--number__color:var(--gkt-color-primary);--gkt-counter-box__transition-duration:var(--gkt-transition-duration);--gkt-counter-box__transition-easing:var(--gkt-transition-easing);border:var(--gkt-counter-box__border-width) solid var(--gkt-counter-box__border-color);border-radius:var(--gkt-counter-box__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-counter-box__padding-v) var(--gkt-counter-box__padding-h)}.ghostkit-counter-box-with-link{position:relative}.ghostkit-counter-box-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-counter-box-number{color:var(--gkt-counter-box--number__color);display:flex;font-size:var(--gkt-counter-box--number__font-size);transition:var(--gkt-counter-box__transition-duration) color var(--gkt-counter-box__transition-easing)}.ghostkit-counter-box-number~.ghostkit-counter-box-content{padding-left:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-right{order:2;padding-right:0}.ghostkit-counter-box-number-align-right~.ghostkit-counter-box-content{padding-left:0;padding-right:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-top{flex:100%;justify-content:center;padding-right:0}.ghostkit-counter-box-number-align-top~.ghostkit-counter-box-content{flex:100%;padding-left:0;padding-top:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-top-align-left{justify-content:flex-start}.ghostkit-counter-box-number-top-align-center{justify-content:center}.ghostkit-counter-box-number-top-align-right{justify-content:flex-end}.ghostkit-counter-box-content{flex:1}.ghostkit-divider{--gkt-divider__padding-v:0.75em;--gkt-divider__padding-h:0;--gkt-divider__border-width:1px;--gkt-divider__border-color:var(--gkt-color-dark-gray);--gkt-divider--icon__padding-v:0;--gkt-divider--icon__padding-h:1em;--gkt-divider--icon__font-size:1em;--gkt-divider--icon__color:var(--gkt-color-dark-gray);--gkt-divider__transition-duration:var(--gkt-transition-duration);--gkt-divider__transition-easing:var(--gkt-transition-easing);align-items:center;display:flex;flex-wrap:wrap;padding:var(--gkt-divider__padding-v) var(--gkt-divider__padding-h)}.ghostkit-divider:after,.ghostkit-divider:before{border-bottom:var(--gkt-divider__border-width) solid var(--gkt-divider__border-color);content:"";display:block;flex:1;max-width:50%;transition:var(--gkt-divider__transition-duration) border-color var(--gkt-divider__transition-easing)}.ghostkit-divider:not(.ghostkit-divider-with-icon):before{max-width:100%}.ghostkit-divider:not(.ghostkit-divider-with-icon):after{display:none}.ghostkit-divider-type-solid:after,.ghostkit-divider-type-solid:before{border-bottom-style:solid}.ghostkit-divider-type-dashed:after,.ghostkit-divider-type-dashed:before{border-bottom-style:dashed}.ghostkit-divider-type-dotted:after,.ghostkit-divider-type-dotted:before{border-bottom-style:dotted}.ghostkit-divider-type-double:after,.ghostkit-divider-type-double:before{border-bottom-style:double}.ghostkit-divider-icon{color:var(--gkt-divider--icon__color);display:flex;font-size:var(--gkt-divider--icon__font-size);padding:var(--gkt-divider--icon__padding-v) var(--gkt-divider--icon__padding-h);transition:var(--gkt-divider__transition-duration) color var(--gkt-divider__transition-easing)}.ghostkit-form{--gkt-form--field__font-family:inherit;--gkt-form--field__font-size:1em;--gkt-form--field__min-height:1.7em;--gkt-form--field-label__margin-bottom:0.5em;--gkt-form--field-label-required-mark__margin-left:0.5em;--gkt-form--field-label-required-mark__color:var(--gkt-color-danger);--gkt-form--field-description__margin-top:0.5em;--gkt-form--field-description__line-height:1;--gkt-form--field-description__opacity:0.5;--gkt-form--field-row__template-columns:repeat(auto-fit,minmax(200px,1fr));--gkt-form--field-row__gap:30px;--gkt-form--field-name-row-with-middle__template-columns:1.5fr 1fr 1.5fr;--gkt-form--field-radio-inline__margin-right:1.2em;--gkt-form--field-checkbox-inline__margin-right:1.2em;--gkt-form--field-textarea__min-height:7em;--gkt-form--errors__margin-top:0.5em;--gkt-form--errors__font-size:0.75em;--gkt-form--errors__line-height:0.75em;--gkt-form--errors__color:var(--gkt-color-danger);--gkt-form--field-success__border-color:var(--gkt-color-success);--gkt-form--field-error__border-color:var(--gkt-color-danger);--gkt-form--alert-success__color:var(--gkt-color-success);--gkt-form--alert-error__color:var(--gkt-color-danger);--gkt-form__transition-duration:var(--gkt-transition-duration);--gkt-form__transition-easing:var(--gkt-transition-easing)}.ghostkit-form-field-label{display:inline-block;margin-bottom:var(--gkt-form--field-label__margin-bottom)}.ghostkit-form-field-label .required{color:var(--gkt-form--field-label-required-mark__color);margin-left:var(--gkt-form--field-label-required-mark__margin-left)}.ghostkit-form-field-label-hidden{left:-99999px;position:absolute}.ghostkit-form-field-description{display:block;line-height:var(--gkt-form--field-description__line-height);margin-top:var(--gkt-form--field-description__margin-top);opacity:var(--gkt-form--field-description__opacity)}.ghostkit-form-field-description-hidden{left:-99999px;position:absolute}.ghostkit-form-field-row{display:grid;gap:var(--gkt-form--field-row__gap);grid-template-columns:var(--gkt-form--field-row__template-columns)}@media(max-width:768px){.ghostkit-form-field-row{grid-template-columns:1fr}}.ghostkit-form-field-name-with-middle .ghostkit-form-field-row{grid-template-columns:var(--gkt-form--field-name-row-with-middle__template-columns)}@media(max-width:768px){.ghostkit-form-field-name-with-middle .ghostkit-form-field-row{grid-template-columns:1fr}}.ghostkit-form-field input:not([type=checkbox],[type=radio]),.ghostkit-form-field select,.ghostkit-form-field textarea{font-family:var(--gkt-form--field__font-family);font-size:var(--gkt-form--field__font-size);max-width:100%;min-height:var(--gkt-form--field__min-height);width:100%}.ghostkit-form-field textarea{min-height:var(--gkt-form--field-textarea__min-height)}.ghostkit-form-field-radio .ghostkit-form-field-radio-item{display:block}.ghostkit-form-field-radio-inline .ghostkit-form-field-radio-item{display:inline-block;margin-right:var(--gkt-form--field-radio-inline__margin-right)}.ghostkit-form-field-checkbox .ghostkit-form-field-checkbox-item{display:block}.ghostkit-form-field-checkbox-inline .ghostkit-form-field-checkbox-item{display:inline-block;margin-right:var(--gkt-form--field-checkbox-inline__margin-right)}.ghostkit-form-submit-button{--gkt-button__gap:0%;--gkt-button__align-items:flex-start;--gkt-button__justify-content:flex-start;display:flex;justify-content:var(--gkt-button__align-items)}.ghostkit-form-submit-button-align-left{--gkt-button__align-items:flex-start}.ghostkit-form-submit-button-align-right{--gkt-button__align-items:flex-end}.ghostkit-form-submit-button-align-center{--gkt-button__align-items:center}.ghostkit-form .ghostkit-alert-form-success{--gkt-alert__border-color:var(--gkt-form--alert-success__color)}.ghostkit-form .ghostkit-alert-form-error{--gkt-alert__border-color:var(--gkt-form--alert-error__color)}.ghostkit-form-was-validated input:valid,.ghostkit-form-was-validated select:valid,.ghostkit-form-was-validated textarea:valid{border-color:var(--gkt-form--field-success__border-color)}.ghostkit-form-was-validated input:invalid,.ghostkit-form-was-validated select:invalid,.ghostkit-form-was-validated textarea:invalid{border-color:var(--gkt-form--field-error__border-color)}.ghostkit-form .ghostkit-form-field-error{color:var(--gkt-form--errors__color);font-family:inherit;font-size:var(--gkt-form--errors__font-size);line-height:var(--gkt-form--errors__line-height);margin:0;margin-top:var(--gkt-form--errors__margin-top);padding:0}.ghostkit-form .ghostkit-form-field-error:empty,.ghostkit-form .ghostkit-form-field-error[aria-hidden=true]{display:none}.ghostkit-form [name=ghostkit_verify_email]{height:0;left:0;opacity:0;position:absolute;top:0;width:0;z-index:-1}.ghostkit-form>.block-editor-inserter{display:block;margin-top:20px}.ghostkit-form-field-row>div>.components-base-control,.ghostkit-form-field>.components-base-control{font-family:inherit;font-size:1em}.ghostkit-form-field-description{margin-bottom:0}.ghostkit-form-field-label>.block-editor-rich-text{display:inline-block}.ghostkit-form-field .components-select-control__input,.ghostkit-form-field .components-text-control__input,.ghostkit-form-field .components-textarea-control__input,.ghostkit-form-field .ghostkit-form-field-checkbox-item,.ghostkit-form-field .ghostkit-form-field-radio-item{pointer-events:none}.ghostkit-form-field .components-select-control__input{max-width:none}.ghostkit-form-submit-button>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;justify-content:var(--gkt-button__align-items)}.ghostkit-form-submit-button>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{margin:0}.ghostkit-field-options-item{align-items:center;display:flex;margin-bottom:8px}.ghostkit-field-options-item>[type=checkbox],.ghostkit-field-options-item>[type=radio]{margin-bottom:0}.ghostkit-field-options-item>.components-base-control{flex:1}.ghostkit-field-options-item>.components-button{height:30px;margin-left:3px;padding-bottom:4px;padding-right:0;padding-top:4px}.ghostkit-field-options-item .components-base-control__field{margin-bottom:0}.ghostkit-field-options-item .components-text-control__input{pointer-events:inherit}.ghostkit-field-options>.components-button{margin-top:-4px;padding-left:16px;padding-top:0}.ghostkit-gif img{height:auto;width:100%}.ghostkit-gif-wrap .components-base-control__field{text-align:center}.ghostkit-gif-wrap .components-placeholder__label svg{margin-right:1ch}.ghostkit-gif-input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.ghostkit-gif-input-container .ghostkit-gif-input{flex:1;min-width:100px}.ghostkit-gif-input-container .ghostkit-gif-input .components-base-control__field{margin-bottom:0}.ghostkit-gif-input-container .ghostkit-gif-input .components-text-control__input{height:36px}.ghostkit-gif-thumbnails-container{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;grid-gap:10px;margin-bottom:13px;width:100%}.components-panel .ghostkit-gif-thumbnails-container{grid-template-columns:1fr 1fr}.ghostkit-gif-thumbnail-container{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:3px;cursor:pointer;padding:0 0 100%;transition:box-shadow .2s;width:100%}.ghostkit-gif-thumbnail-container:hover{box-shadow:0 0 0 2px #555d66}.ghostkit-gif-thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.ghostkit-gist .blob-wrapper{-webkit-overflow-scrolling:touch}.ghostkit-gist .blob-num{border:none}.ghostkit-gist table{table-layout:auto}.ghostkit-gist.components-placeholder{align-items:flex-start;background-color:#f8f9f9;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;min-height:0;padding:14px}.ghostkit-gist.components-placeholder .components-placeholder__label{justify-content:flex-start;margin-bottom:0;margin-right:14px;margin-top:5px}.ghostkit-gist.components-placeholder .components-placeholder__label~*{width:auto}.ghostkit-gist.components-placeholder .components-placeholder__fieldset{align-items:flex-end;flex:1;flex-direction:column;justify-content:flex-start;max-width:none}.ghostkit-gist.components-placeholder .components-placeholder__fieldset>a{margin-left:10px}.ghostkit-gist.components-placeholder .components-base-control{margin:0;width:100%}.ghostkit-gist-toolbar-url .components-base-control__field{align-items:center;display:flex;margin:7px;width:300px}.ghostkit-google-maps{--gkt-google-maps__background-color:var(--gkt-color-light-gray);--gkt-google-maps--placeholder-icon__width:36px;--gkt-google-maps--placeholder-icon__height:36px;--gkt-google-maps--placeholder-icon__background-image:url('data:image/svg+xml;utf8,');--gkt-google-maps--placeholder-icon__opacity:0.3}.ghostkit-google-maps-fullheight .ghostkit-google-maps-placeholder,.ghostkit-google-maps-fullheight .ghostkit-google-maps-wrap{height:100vh}.ghostkit-google-maps-wrap .components-resizable-box__container>div{height:100%;width:100%}.ghostkit-google-maps-search{background-color:#f9f9f9;border:1px solid #efefef;border-radius:3px;display:flex;flex-wrap:wrap;margin-top:15px;padding:15px 0}.ghostkit-google-maps-search>div{flex:1;max-width:250px;min-width:250px;padding-left:15px;padding-right:15px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;padding-top:20px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note p{line-height:1.4;margin-top:0}.ghostkit-google-maps-search .ghostkit-google-maps-search-note p+p{margin-top:-10px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note small{font-size:12px;opacity:.6}.ghostkit-google-maps-search .ghostkit-google-maps-search-note small+small{margin-left:10px}.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper,.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper>div{margin-bottom:0}.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper+.ghostkit-component-dropdown-picker-wrapper .components-button{border-top:none}.ghostkit-google-maps-marker-remove{box-shadow:none!important;color:#b9b9b9;float:right;font-size:10px;padding:0}.ghostkit-google-maps-marker-remove:focus,.ghostkit-google-maps-marker-remove:hover{color:#e73535}.ghostkit-component-google-maps-markers>.components-popover__content{display:flex;flex-direction:column;gap:10px}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-icon{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-component-google-maps-markers .ghostkit-google-maps-icon-reset{float:right}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text{border:1px solid #e8e8e8;padding:10px}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text p:last-child{margin-bottom:0}.ghostkit-google-maps-placeholder{background-color:var(--gkt-google-maps__background-color);position:relative}.ghostkit-google-maps-placeholder svg{left:50%;opacity:var(--gkt-google-maps--placeholder-icon__opacity);position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-google-maps-placeholder .ghostkit-google-maps-placeholder-key{background-color:#fff;border:1px solid #dadada;bottom:0;font-size:13px;margin:10px;padding:5px 10px;position:absolute}.pac-container{box-shadow:0 2px 17px rgba(0,0,0,.2)}.pac-container:after{background-position:calc(100% - 7px) 1px;background-size:80px;height:20px}.pac-container .pac-item{border-top:1px solid #f3f3f3;padding:2px 6px}.ghostkit-grid{--gkt-grid__gap:15px;--gkt-grid__gap-vertical:var(--gkt-grid__gap);--gkt-grid__justify-content:flex-start;--gkt-grid--column__align-self:flex-start;--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__order:initial;--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column-sticky__offset:0}.ghostkit-grid-inner{display:flex;flex-wrap:wrap;justify-content:var(--gkt-grid__justify-content);margin-left:calc(var(--gkt-grid__gap)*-1);row-gap:var(--gkt-grid__gap-vertical)}.ghostkit-col,.ghostkit-grid{padding-top:.02px}.ghostkit-col{display:flex;flex:var(--gkt-grid--column__flex);flex-wrap:wrap;margin-left:var(--gkt-grid__gap);max-width:var(--gkt-grid--column__max-width);min-height:1px;order:var(--gkt-grid--column__order);position:relative;width:var(--gkt-grid--column__width)}.ghostkit-col-content{align-self:var(--gkt-grid--column__align-self);width:100%}.ghostkit-col{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-first{--gkt-grid--column__order:-1}.ghostkit-col-order-last{--gkt-grid--column__order:13}.ghostkit-col-order-0{--gkt-grid--column__order:0}.ghostkit-col-order-1{--gkt-grid--column__order:1}.ghostkit-col-order-2{--gkt-grid--column__order:2}.ghostkit-col-order-3{--gkt-grid--column__order:3}.ghostkit-col-order-4{--gkt-grid--column__order:4}.ghostkit-col-order-5{--gkt-grid--column__order:5}.ghostkit-col-order-6{--gkt-grid--column__order:6}.ghostkit-col-order-7{--gkt-grid--column__order:7}.ghostkit-col-order-8{--gkt-grid--column__order:8}.ghostkit-col-order-9{--gkt-grid--column__order:9}.ghostkit-col-order-10{--gkt-grid--column__order:10}.ghostkit-col-order-11{--gkt-grid--column__order:11}.ghostkit-col-order-12{--gkt-grid--column__order:12}@media(max-width:1200px){.ghostkit-col-xl{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-xl-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-xl-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-xl-first{--gkt-grid--column__order:-1}.ghostkit-col-order-xl-last{--gkt-grid--column__order:13}.ghostkit-col-order-xl-0{--gkt-grid--column__order:0}.ghostkit-col-order-xl-1{--gkt-grid--column__order:1}.ghostkit-col-order-xl-2{--gkt-grid--column__order:2}.ghostkit-col-order-xl-3{--gkt-grid--column__order:3}.ghostkit-col-order-xl-4{--gkt-grid--column__order:4}.ghostkit-col-order-xl-5{--gkt-grid--column__order:5}.ghostkit-col-order-xl-6{--gkt-grid--column__order:6}.ghostkit-col-order-xl-7{--gkt-grid--column__order:7}.ghostkit-col-order-xl-8{--gkt-grid--column__order:8}.ghostkit-col-order-xl-9{--gkt-grid--column__order:9}.ghostkit-col-order-xl-10{--gkt-grid--column__order:10}.ghostkit-col-order-xl-11{--gkt-grid--column__order:11}.ghostkit-col-order-xl-12{--gkt-grid--column__order:12}}@media(max-width:992px){.ghostkit-col-lg{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-lg-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-lg-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-lg-first{--gkt-grid--column__order:-1}.ghostkit-col-order-lg-last{--gkt-grid--column__order:13}.ghostkit-col-order-lg-0{--gkt-grid--column__order:0}.ghostkit-col-order-lg-1{--gkt-grid--column__order:1}.ghostkit-col-order-lg-2{--gkt-grid--column__order:2}.ghostkit-col-order-lg-3{--gkt-grid--column__order:3}.ghostkit-col-order-lg-4{--gkt-grid--column__order:4}.ghostkit-col-order-lg-5{--gkt-grid--column__order:5}.ghostkit-col-order-lg-6{--gkt-grid--column__order:6}.ghostkit-col-order-lg-7{--gkt-grid--column__order:7}.ghostkit-col-order-lg-8{--gkt-grid--column__order:8}.ghostkit-col-order-lg-9{--gkt-grid--column__order:9}.ghostkit-col-order-lg-10{--gkt-grid--column__order:10}.ghostkit-col-order-lg-11{--gkt-grid--column__order:11}.ghostkit-col-order-lg-12{--gkt-grid--column__order:12}}@media(max-width:768px){.ghostkit-col-md{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-md-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-md-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-md-first{--gkt-grid--column__order:-1}.ghostkit-col-order-md-last{--gkt-grid--column__order:13}.ghostkit-col-order-md-0{--gkt-grid--column__order:0}.ghostkit-col-order-md-1{--gkt-grid--column__order:1}.ghostkit-col-order-md-2{--gkt-grid--column__order:2}.ghostkit-col-order-md-3{--gkt-grid--column__order:3}.ghostkit-col-order-md-4{--gkt-grid--column__order:4}.ghostkit-col-order-md-5{--gkt-grid--column__order:5}.ghostkit-col-order-md-6{--gkt-grid--column__order:6}.ghostkit-col-order-md-7{--gkt-grid--column__order:7}.ghostkit-col-order-md-8{--gkt-grid--column__order:8}.ghostkit-col-order-md-9{--gkt-grid--column__order:9}.ghostkit-col-order-md-10{--gkt-grid--column__order:10}.ghostkit-col-order-md-11{--gkt-grid--column__order:11}.ghostkit-col-order-md-12{--gkt-grid--column__order:12}}@media(max-width:576px){.ghostkit-col-sm{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-sm-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-sm-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-sm-first{--gkt-grid--column__order:-1}.ghostkit-col-order-sm-last{--gkt-grid--column__order:13}.ghostkit-col-order-sm-0{--gkt-grid--column__order:0}.ghostkit-col-order-sm-1{--gkt-grid--column__order:1}.ghostkit-col-order-sm-2{--gkt-grid--column__order:2}.ghostkit-col-order-sm-3{--gkt-grid--column__order:3}.ghostkit-col-order-sm-4{--gkt-grid--column__order:4}.ghostkit-col-order-sm-5{--gkt-grid--column__order:5}.ghostkit-col-order-sm-6{--gkt-grid--column__order:6}.ghostkit-col-order-sm-7{--gkt-grid--column__order:7}.ghostkit-col-order-sm-8{--gkt-grid--column__order:8}.ghostkit-col-order-sm-9{--gkt-grid--column__order:9}.ghostkit-col-order-sm-10{--gkt-grid--column__order:10}.ghostkit-col-order-sm-11{--gkt-grid--column__order:11}.ghostkit-col-order-sm-12{--gkt-grid--column__order:12}}.ghostkit-grid-align-items-start{--gkt-grid--column__align-self:flex-start}.ghostkit-grid-align-items-center{--gkt-grid--column__align-self:center}.ghostkit-grid-align-items-end{--gkt-grid--column__align-self:flex-end}.ghostkit-col-align-self-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-end{--gkt-grid--column__align-self:flex-end}@media(max-width:1200px){.ghostkit-col-align-self-xl-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-xl-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-xl-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:992px){.ghostkit-col-align-self-lg-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-lg-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-lg-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:768px){.ghostkit-col-align-self-md-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-md-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-md-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:576px){.ghostkit-col-align-self-sm-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-sm-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-sm-end{--gkt-grid--column__align-self:flex-end}}.ghostkit-grid-justify-content-center{--gkt-grid__justify-content:center}.ghostkit-grid-justify-content-end{--gkt-grid__justify-content:flex-end}.ghostkit-grid-justify-content-around{--gkt-grid__justify-content:space-around}.ghostkit-grid-justify-content-between{--gkt-grid__justify-content:space-between}.ghostkit-grid-gap-no{--gkt-grid__gap:0%}.ghostkit-grid-gap-sm{--gkt-grid__gap:15px}.ghostkit-grid-gap-md{--gkt-grid__gap:30px}.ghostkit-grid-gap-lg{--gkt-grid__gap:45px}.ghostkit-col-sticky-top>.ghostkit-col-content{position:sticky;top:var(--gkt-grid--column-sticky__offset)}.ghostkit-col-sticky-bottom{display:flex;flex-direction:column}.ghostkit-col-sticky-bottom>.ghostkit-col-content{bottom:var(--gkt-grid--column-sticky__offset);margin-top:auto;position:sticky}.ghostkit-col-with-bg,.ghostkit-grid-with-bg{position:relative;z-index:0}.ghostkit-col-with-bg>.nk-awb,.ghostkit-col-with-bg>.nk-awb .nk-awb-inner,.ghostkit-col-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-col-with-bg>.nk-awb .nk-awb-wrap,.ghostkit-grid-with-bg>.nk-awb,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-grid-with-bg>.nk-awb .nk-awb-wrap{bottom:0;left:0;margin:0;position:absolute;right:0;top:0;z-index:-99}.ghostkit-col-with-bg>.nk-awb .nk-awb-wrap,.ghostkit-grid-with-bg>.nk-awb .nk-awb-wrap{overflow:hidden}.ghostkit-col-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-grid-with-bg>.nk-awb .nk-awb-overlay{z-index:0}.ghostkit-col-with-bg>.nk-awb .nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;z-index:-100}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner{background-size:contain}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=pattern]>.nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=pattern]>.nk-awb-inner{background-repeat:repeat;background-size:auto}.ghostkit-col-with-bg>.nk-awb .nk-awb-inner>.jarallax-img,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner>.jarallax-img{height:100%;left:0;-o-object-fit:cover;object-fit:cover;pointer-events:none;position:absolute;top:0;width:100%;z-index:-100}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner>.jarallax-img,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner>.jarallax-img{-o-object-fit:contain;object-fit:contain}[data-ghostkit-grid-templates-modal-only]{display:none}.ghostkit-col>.awb-gutenberg-preview-block,.ghostkit-grid>.awb-gutenberg-preview-block{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:border .15s ease-in-out}.ghostkit-col>.awb-gutenberg-preview-block:empty,.ghostkit-grid>.awb-gutenberg-preview-block:empty{border:none}.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-overlay,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-overlay{left:0;position:absolute;top:0}.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-inner>div,.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-inner>img,.ghostkit-col>.awb-gutenberg-preview-block>div,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-inner>div,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-inner>img,.ghostkit-grid>.awb-gutenberg-preview-block>div{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.block-editor-inserter__preview .ghostkit-col-content .block-editor-block-list__layout{margin-left:0;margin-right:0}.block-editor-block-list__block .ghostkit-col-content>.block-list-appender .block-editor-inserter__toggle.components-button{display:block}.ghostkit-select-layout{padding:25px}.ghostkit-select-layout .components-placeholder__fieldset>em{margin-bottom:25px}.ghostkit-select-layout .ghostkit-grid-layout-preview{box-sizing:border-box;display:flex;flex-wrap:wrap;margin-left:-7px;margin-right:-7px}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn{--gkt-grid__gap:0%;background:none;border:2px solid rgba(85,93,102,.75);border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;margin-bottom:14px;margin-left:7px;margin-right:7px;overflow:hidden;padding:0;transition:border-color .15s,background-color .15s;width:85px}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn .ghostkit-col{border-right:2px solid rgba(85,93,102,.75);box-sizing:border-box;height:40px;transition:border-color .15s}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn .ghostkit-col:last-of-type{border-right:none}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:focus,.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:hover{background-color:#fff;border-color:#555d66}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:focus .ghostkit-col,.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:hover .ghostkit-col{border-color:#555d66}.ghostkit-select-layout .components-button.is-primary{font-size:14px;height:35px;margin-top:10px;padding:0 15px}.ghostkit-background-controls>.components-panel__body>.components-panel__body{border:1px solid #e0e0e0}.ghostkit-icon{--gkt-icon__justify:center;--gkt-icon__width:auto;--gkt-icon__color:inherit;--gkt-icon__background:none;display:grid}.ghostkit-icon svg{display:block;height:100%;width:100%}.ghostkit-icon-flip-vertical svg{transform:scaleY(-1)}.ghostkit-icon-flip-horizontal svg{transform:scaleX(-1)}.ghostkit-icon-flip-vertical.ghostkit-icon-flip-horizontal svg{transform:scaleY(-1) scaleX(-1)}.ghostkit-icon-inner{background:var(--gkt-icon__background);color:var(--gkt-icon__color);justify-self:var(--gkt-icon__justify);width:var(--gkt-icon__width)}.ghostkit-icon .components-dropdown{display:block}.ghostkit-icon>span{transition:transform .15s}.ghostkit-icon-box{--gkt-icon-box__padding-v:1.5em;--gkt-icon-box__padding-h:1.5em;--gkt-icon-box__border-width:1px;--gkt-icon-box__border-color:var(--gkt-color-light-gray-darken);--gkt-icon-box__border-radius:var(--gkt-border-radius);--gkt-icon-box--icon__offset:1.5em;--gkt-icon-box--icon__font-size:1.5em;--gkt-icon-box--icon__color:var(--gkt-color-primary);--gkt-icon-box__transition-duration:var(--gkt-transition-duration);--gkt-icon-box__transition-easing:var(--gkt-transition-easing);border:var(--gkt-icon-box__border-width) solid var(--gkt-icon-box__border-color);border-radius:var(--gkt-icon-box__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-icon-box__padding-v) var(--gkt-icon-box__padding-h)}.ghostkit-icon-box-with-link{position:relative}.ghostkit-icon-box-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-icon-box-icon{color:var(--gkt-icon-box--icon__color);display:flex;font-size:var(--gkt-icon-box--icon__font-size);transition:var(--gkt-icon-box__transition-duration) color var(--gkt-icon-box__transition-easing)}.ghostkit-icon-box-icon~.ghostkit-icon-box-content{padding-left:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-right{order:2;padding-right:0}.ghostkit-icon-box-icon-align-right~.ghostkit-icon-box-content{padding-left:0;padding-right:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-top{flex:100%;justify-content:center;padding-right:0}.ghostkit-icon-box-icon-top-align-left{justify-content:flex-start}.ghostkit-icon-box-icon-top-align-center{justify-content:center}.ghostkit-icon-box-icon-top-align-right{justify-content:flex-end}.ghostkit-icon-box-icon-align-top~.ghostkit-icon-box-content{flex:100%;padding-left:0;padding-top:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-content{flex:1}.ghostkit-image-compare{--gkt-image-compare__position:50%;--gkt-image-compare--divider__width:3px;--gkt-image-compare--divider__background-color:#fff;--gkt-image-compare--divider-icons__font-size:1.3em;--gkt-image-compare--divider-icons__offset:0.3em;--gkt-image-compare--divider-icons__color:#000;--gkt-image-compare--divider-hover-icons__offset:0.35em;--gkt-image-compare--divider-button__width:50px;--gkt-image-compare--divider-button__height:50px;--gkt-image-compare--divider-button__background-color:var(--gkt-image-compare--divider__background-color);--gkt-image-compare--label__backdrop-filter:brightness(0.75) blur(10px);--gkt-image-compare--label__offset:10px;--gkt-image-compare--label__max-width:30%;--gkt-image-compare--label__padding:0.3em 1.6em;--gkt-image-compare--label__font-size:0.8em;--gkt-image-compare--label__text-align:center;--gkt-image-compare--label__color:#fff;--gkt-image-compare--label__background-color:hsla(0,0%,100%,.3);--gkt-image-compare--label__border-radius:3px;--gkt-image-compare__transition-duration:var(--gkt-transition-duration);--gkt-image-compare__transition-easing:var(--gkt-transition-easing);cursor:pointer}.ghostkit-image-compare-images{overflow:hidden;position:relative}.ghostkit-image-compare-images img{display:block;height:auto;width:100%}.ghostkit-image-compare-image-after,.ghostkit-image-compare-image-before{transition:var(--gkt-image-compare__transition-duration) clip-path var(--gkt-image-compare__transition-easing)}.ghostkit-image-compare-image-before{clip-path:polygon(var(--gkt-image-compare__position) 0,var(--gkt-image-compare__position) 100%,0 100%,0 0)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-before{clip-path:polygon(100% 0,100% var(--gkt-image-compare__position),0 var(--gkt-image-compare__position),0 0)}.ghostkit-image-compare-image-after{bottom:0;clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 0);left:0;overflow:hidden;position:absolute;right:0;top:0}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after{clip-path:polygon(100% var(--gkt-image-compare__position),100% 100%,0 100%,0 var(--gkt-image-compare__position))}.ghostkit-image-compare-image-after img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ghostkit-image-compare-images-divider{background-color:var(--gkt-image-compare--divider__background-color);height:100%;left:var(--gkt-image-compare__position);margin-left:calc(var(--gkt-image-compare--divider__width)/-2);position:absolute;top:0;transition-duration:var(--gkt-image-compare__transition-duration);transition-property:left;transition-timing-function:var(--gkt-image-compare__transition-easing);width:var(--gkt-image-compare--divider__width);will-change:left,top}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider{height:var(--gkt-image-compare--divider__width);left:0;margin-left:0;margin-top:calc(var(--gkt-image-compare--divider__width)/-2);top:var(--gkt-image-compare__position);transition-property:top;width:100%}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider:after{bottom:auto;cursor:row-resize;height:var(--gkt-image-compare--divider-button__width);left:0;right:0;top:50%;transform:translateY(-50%);width:auto}.ghostkit-image-compare-images-divider:focus,.ghostkit-image-compare-images-divider:hover{--gkt-image-compare--divider-icons__offset:var(--gkt-image-compare--divider-hover-icons__offset)}.ghostkit-image-compare-images-divider:before{background-color:var(--gkt-image-compare--divider-button__background-color);border-radius:var(--gkt-image-compare--divider-button__width);height:var(--gkt-image-compare--divider-button__height);top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-image-compare-images-divider:after,.ghostkit-image-compare-images-divider:before{content:"";display:block;left:50%;position:absolute;width:var(--gkt-image-compare--divider-button__width)}.ghostkit-image-compare-images-divider:after{bottom:0;cursor:col-resize;top:0;transform:translateX(-50%)}.ghostkit-image-compare-images-divider-button-arrow-left,.ghostkit-image-compare-images-divider-button-arrow-right{color:var(--gkt-image-compare--divider-icons__color);font-size:var(--gkt-image-compare--divider-icons__font-size);left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);transition-duration:var(--gkt-image-compare__transition-duration);transition-property:margin-left;transition-timing-function:var(--gkt-image-compare__transition-easing)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left,.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{transition-property:margin-top}.ghostkit-image-compare-images-divider-button-arrow-left svg,.ghostkit-image-compare-images-divider-button-arrow-right svg{color:inherit;display:block;height:1em;max-width:none;width:1em}.ghostkit-image-compare-images-divider-button-arrow-left{margin-left:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left{margin-left:0;margin-top:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left>svg{transform:rotate(90deg)}.ghostkit-image-compare-images-divider-button-arrow-right{margin-left:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{margin-left:0;margin-top:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right>svg{transform:rotate(90deg)}.ghostkit-image-compare-image-label{-webkit-backdrop-filter:var(--gkt-image-compare--label__backdrop-filter);backdrop-filter:var(--gkt-image-compare--label__backdrop-filter);background-color:var(--gkt-image-compare--label__background-color);border-radius:var(--gkt-image-compare--label__border-radius);color:var(--gkt-image-compare--label__color);font-size:var(--gkt-image-compare--label__font-size);max-width:var(--gkt-image-compare--label__max-width);padding:var(--gkt-image-compare--label__padding);position:absolute;text-align:var(--gkt-image-compare--label__text-align);z-index:1}.ghostkit-image-compare-image-before-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-image-after-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{top:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{bottom:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{top:50%;transform:translateY(-50%)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-before-label{bottom:auto;left:auto;top:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after-label{bottom:var(--gkt-image-compare--label__offset);right:auto;top:auto}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{left:50%;transform:translateX(-50%)}.ghostkit-image-compare-placeholder .components-placeholder__fieldset{display:flex;flex-wrap:wrap}.ghostkit-image-compare-placeholder .components-placeholder__fieldset>.components-placeholder{box-shadow:none;flex:1}.ghostkit-image-compare-image-after,.ghostkit-image-compare-image-before,.ghostkit-image-compare-images-divider{transition-duration:0s}.ghostkit-instagram{--gkt-instagram--profile__margin-bottom:2.5em;--gkt-instagram--profile-avatar__border-radius:50%;--gkt-instagram--profile-avatar__offset:1.5em;--gkt-instagram--profile-elements__gap:1.2em;--gkt-instagram--profile-name__font-size:1.4em;--gkt-instagram--profile-stats__gap:1.2em;--gkt-instagram--profile-bio-title__margin-bottom:0.5em;--gkt-instagram--photos__gap:15px;--gkt-instagram--photos__columns:1}.ghostkit-instagram:after{clear:both;content:"";display:block;height:.01px}.ghostkit-instagram-profile{display:flex;flex-wrap:wrap;margin-bottom:var(--gkt-instagram--profile__margin-bottom)}.ghostkit-instagram-profile-avatar img{border-radius:var(--gkt-instagram--profile-avatar__border-radius);display:block;height:auto;margin:0;max-width:100%}.ghostkit-instagram-profile-side{flex:1;max-width:100%}.ghostkit-instagram-profile-avatar+.ghostkit-instagram-profile-side{margin-left:var(--gkt-instagram--profile-avatar__offset)}.ghostkit-instagram-profile-name{font-size:var(--gkt-instagram--profile-name__font-size)}.ghostkit-instagram-profile-name a{border-bottom:none;text-decoration:none}.ghostkit-instagram-profile-name a:focus,.ghostkit-instagram-profile-name a:hover{text-decoration:underline}.ghostkit-instagram-profile-stats{display:flex;flex-wrap:wrap}.ghostkit-instagram-profile-stats>div{margin-right:var(--gkt-instagram--profile-stats__gap)}.ghostkit-instagram-profile-stats>div:last-child{margin-right:0}.ghostkit-instagram-profile .ghostkit-instagram-profile-bio h2{font-size:inherit;margin:0;margin-bottom:var(--gkt-instagram--profile-bio-title__margin-bottom)}div+.ghostkit-instagram-profile-bio,div+.ghostkit-instagram-profile-stats,div+.ghostkit-instagram-profile-website{margin-top:var(--gkt-instagram--profile-elements__gap)}.ghostkit-instagram-items{display:flex;flex-wrap:wrap;margin-left:calc(var(--gkt-instagram--photos__gap)*-1);margin-top:calc(var(--gkt-instagram--photos__gap)*-1)}.ghostkit-instagram-item{flex:0 0 calc(100%/var(--gkt-instagram--photos__columns) - var(--gkt-instagram--photos__gap));margin-left:var(--gkt-instagram--photos__gap);margin-top:var(--gkt-instagram--photos__gap);max-width:calc(100%/var(--gkt-instagram--photos__columns) - var(--gkt-instagram--photos__gap))}.ghostkit-instagram-item img{display:block;height:auto;margin:0;max-width:100%;width:100%}.ghostkit-instagram-columns-2{--gkt-instagram--photos__columns:2}.ghostkit-instagram-columns-3{--gkt-instagram--photos__columns:3}.ghostkit-instagram-columns-4{--gkt-instagram--photos__columns:4}.ghostkit-instagram-columns-5{--gkt-instagram--photos__columns:5}.ghostkit-instagram-columns-6{--gkt-instagram--photos__columns:6}.ghostkit-instagram-columns-7{--gkt-instagram--photos__columns:7}.ghostkit-instagram-columns-8{--gkt-instagram--photos__columns:8}.ghostkit-instagram-columns-9{--gkt-instagram--photos__columns:9}.ghostkit-instagram-columns-10{--gkt-instagram--photos__columns:10}.ghostkit-instagram-gap-no{--gkt-instagram--photos__gap:0%}.ghostkit-instagram-gap-sm{--gkt-instagram--photos__gap:15px}.ghostkit-instagram-gap-md{--gkt-instagram--photos__gap:30px}.ghostkit-instagram-gap-lg{--gkt-instagram--photos__gap:45px}.ghostkit-instagram-spinner{margin-bottom:13px;width:100%}.ghostkit-instagram-spinner>span{float:left;margin:0}.ghostkit-instagram-items{margin-bottom:calc(var(--gkt-instagram--photos__gap)*-1);margin-top:0}.ghostkit-instagram-item{margin-bottom:var(--gkt-instagram--photos__gap);margin-top:0}.ghostkit-lottie{--gkt-lottie__ar:auto;--gkt-lottie__width:100%;aspect-ratio:var(--gkt-lottie__ar);min-height:20px;width:var(--gkt-lottie__width)}.ghostkit-pricing-table{--gkt-pricing-table__gap:15px;--gkt-pricing-table__align-items:flex-start;--gkt-pricing-table__columns:1;--gkt-pricing-table--item__padding-v:2.2em;--gkt-pricing-table--item__padding-h:1.65em;--gkt-pricing-table--item__border-width:1px;--gkt-pricing-table--item__border-color:var(--gkt-color-light-gray-darken);--gkt-pricing-table--item__border-radius:var(--gkt-border-radius);--gkt-pricing-table--elements__gap:2.2em;--gkt-pricing-table--popular-badge__top:1.2em;--gkt-pricing-table--popular-badge__padding-v:0.15em;--gkt-pricing-table--popular-badge__padding-h:1.1em;--gkt-pricing-table--popular-badge__font-size:0.8em;--gkt-pricing-table--popular-badge__color:#fff;--gkt-pricing-table--popular-badge__background-color:var(--gkt-color-primary);--gkt-pricing-table--title__font-size:1em;--gkt-pricing-table--price-amount__font-size:3.5em;--gkt-pricing-table--price-amount__line-height:1.3em;--gkt-pricing-table--price-repeat__font-size:0.8em;--gkt-pricing-table--price-repeat__opacity:0.7;--gkt-pricing-table--features__font-size:0.9em;--gkt-pricing-table--features-items__gap:0.5em}.ghostkit-pricing-table-inner{align-items:var(--gkt-pricing-table__align-items);display:flex;flex-wrap:wrap;margin-left:calc(var(--gkt-pricing-table__gap)*-1);margin-top:calc(var(--gkt-pricing-table__gap)*-1)}.ghostkit-pricing-table-item-wrap{flex:0 0 calc(100%/var(--gkt-pricing-table__columns) - var(--gkt-pricing-table__gap));margin-left:var(--gkt-pricing-table__gap);margin-top:var(--gkt-pricing-table__gap);max-width:calc(100%/var(--gkt-pricing-table__columns) - var(--gkt-pricing-table__gap))}.ghostkit-pricing-table-item{border:var(--gkt-pricing-table--item__border-width) solid var(--gkt-pricing-table--item__border-color);border-radius:var(--gkt-pricing-table--item__border-radius);padding:var(--gkt-pricing-table--item__padding-v) var(--gkt-pricing-table--item__padding-h);position:relative}.ghostkit-pricing-table-item-popular-badge{background-color:var(--gkt-pricing-table--popular-badge__background-color);color:var(--gkt-pricing-table--popular-badge__color);font-size:var(--gkt-pricing-table--popular-badge__font-size);padding:var(--gkt-pricing-table--popular-badge__padding-v) var(--gkt-pricing-table--popular-badge__padding-h);position:absolute;right:calc(var(--gkt-pricing-table--item__border-width)*-1);top:var(--gkt-pricing-table--popular-badge__top)}.ghostkit-pricing-table-item .ghostkit-pricing-table-item-popular-badge{margin-top:0}.ghostkit-pricing-table-item-title{font-size:var(--gkt-pricing-table--title__font-size);margin:0}.ghostkit-pricing-table-item-price{display:flex;justify-content:center;position:relative}.ghostkit-pricing-table-item-price-amount{font-size:var(--gkt-pricing-table--price-amount__font-size);line-height:var(--gkt-pricing-table--price-amount__line-height)}.ghostkit-pricing-table-item-price-currency{align-self:flex-start}.ghostkit-pricing-table-item-price-repeat{align-self:flex-end;font-size:var(--gkt-pricing-table--price-repeat__font-size);opacity:var(--gkt-pricing-table--price-repeat__opacity)}.ghostkit-pricing-table-item-features{font-size:var(--gkt-pricing-table--features__font-size);list-style:none;margin:0;padding:0;position:relative}.ghostkit-pricing-table-item-features li{list-style:none;margin-left:0}.ghostkit-pricing-table-item-features li+li{margin-top:var(--gkt-pricing-table--features-items__gap)}.ghostkit-pricing-table-item .ghostkit-button-wrapper{margin-bottom:0}.ghostkit-pricing-table-item>*{margin-top:var(--gkt-pricing-table--elements__gap)}.ghostkit-pricing-table-item>:first-child{margin-top:0}.ghostkit-pricing-table-items-1{--gkt-pricing-table__columns:1}.ghostkit-pricing-table-items-2{--gkt-pricing-table__columns:2}@media screen and (max-width:768px){.ghostkit-pricing-table-items-2{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-3{--gkt-pricing-table__columns:3}@media screen and (max-width:768px){.ghostkit-pricing-table-items-3{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:4}@media screen and (max-width:768px){.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:5}@media screen and (max-width:768px){.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:6}@media screen and (max-width:992px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:3}}@media screen and (max-width:768px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-align-horizontal-left{text-align:left}.ghostkit-pricing-table-align-horizontal-left .ghostkit-pricing-table-item-price{justify-content:flex-start}.ghostkit-pricing-table-align-horizontal-center{text-align:center}.ghostkit-pricing-table-align-horizontal-center .ghostkit-pricing-table-item-price{justify-content:center}.ghostkit-pricing-table-align-horizontal-right{text-align:right}.ghostkit-pricing-table-align-horizontal-right .ghostkit-pricing-table-item-price{justify-content:flex-end}.ghostkit-pricing-table-align-vertical-start{--gkt-pricing-table__align-items:flex-start}.ghostkit-pricing-table-align-vertical-center{--gkt-pricing-table__align-items:center}.ghostkit-pricing-table-align-vertical-end{--gkt-pricing-table__align-items:flex-end}.ghostkit-pricing-table-gap-no{--gkt-pricing-table__gap:0%}.ghostkit-pricing-table-gap-sm{--gkt-pricing-table__gap:15px}.ghostkit-pricing-table-gap-md{--gkt-pricing-table__gap:30px}.ghostkit-pricing-table-gap-lg{--gkt-pricing-table__gap:45px}.ghostkit-pricing-table:after{margin-top:var(--gkt-pricing-table__gap)}.ghostkit-pricing-table-add-item{padding-left:var(--gkt-pricing-table__gap);padding-top:var(--gkt-pricing-table__gap);width:100%}.ghostkit-progress{--gkt-progress__height:15px;--gkt-progress__border-radius:var(--gkt-border-radius);--gkt-progress__background-color:var(--gkt-color-light-gray);--gkt-progress--caption__margin-bottom:0.3em;--gkt-progress--caption__font-size:0.85em;--gkt-progress--count__padding-v:0.1em;--gkt-progress--count__padding-h:0.7em;--gkt-progress--count__font-size:0.6em;--gkt-progress--count__border-radius:1em;--gkt-progress--count__color:#fff;--gkt-progress--count__background-color:var(--gkt-color-dark-gray);--gkt-progress--count-arrow__size:0.35em;--gkt-progress--bar__width:0;--gkt-progress--bar__background-color:var(--gkt-color-primary);--gkt-progress--bar-striped__background-image:linear-gradient(45deg,hsla(0,0%,100%,.1) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.1) 0,hsla(0,0%,100%,.1) 75%,transparent 0,transparent);--gkt-progress--bar-striped__background-size:15px 15px;--gkt-progress__transition-duration:var(--gkt-transition-duration);--gkt-progress__transition-easing:var(--gkt-transition-easing)}.ghostkit-progress-caption{display:block;font-size:var(--gkt-progress--caption__font-size);margin-bottom:var(--gkt-progress--caption__margin-bottom)}.ghostkit-progress-bar-count{position:relative}.ghostkit-progress-bar-count>div{background-color:var(--gkt-progress--count__background-color);border-radius:var(--gkt-progress--count__border-radius);bottom:100%;color:var(--gkt-progress--count__color);font-size:var(--gkt-progress--count__font-size);margin-bottom:calc(.2em + var(--gkt-progress--count-arrow__size));padding:var(--gkt-progress--count__padding-v) var(--gkt-progress--count__padding-h);position:absolute;right:0;transform:translateX(50%);white-space:nowrap}.ghostkit-progress-bar-count>div:after{border-left:var(--gkt-progress--count-arrow__size) solid transparent;border-right:var(--gkt-progress--count-arrow__size) solid transparent;border-top:var(--gkt-progress--count-arrow__size) solid var(--gkt-progress--count__background-color);content:"";display:block;height:0;left:50%;margin-left:calc(var(--gkt-progress--count-arrow__size)*-1);position:absolute;top:100%;width:0}.ghostkit-progress-wrap{background-color:var(--gkt-progress__background-color);border-radius:var(--gkt-progress__border-radius);height:var(--gkt-progress__height);overflow:hidden}.ghostkit-progress-bar,.ghostkit-progress-wrap{transition:var(--gkt-progress__transition-duration) background-color var(--gkt-progress__transition-easing)}.ghostkit-progress-bar{background-color:var(--gkt-progress--bar__background-color);height:100%;width:var(--gkt-progress--bar__width)}.ghostkit-progress-bar-striped .ghostkit-progress-bar{background-image:var(--gkt-progress--bar-striped__background-image);background-size:var(--gkt-progress--bar-striped__background-size)}.ghostkit-progress .components-resizable-box__container.is-selected>.ghostkit-progress-wrap{height:100%}.ghostkit-shape-divider{--gkt-shape-divider__color:var(--gkt-color-primary);--gkt-shape-divider__z-index:1;align-items:center;color:var(--gkt-shape-divider__color);display:flex;justify-content:center;overflow:hidden;z-index:var(--gkt-shape-divider__z-index)}.ghostkit-shape-divider svg{display:block;flex:0 0 auto;min-width:100%}.ghostkit-shape-divider-flip-vertical svg{transform:scaleY(-1)}.ghostkit-shape-divider-flip-horizontal svg{transform:scaleX(-1)}.ghostkit-shape-divider-flip-vertical.ghostkit-shape-divider-flip-horizontal svg{transform:scaleY(-1) scaleX(-1)}.ghostkit-shape-divider-control-styles .ghostkit-component-image-picker-item svg{height:40px;width:100%}.ghostkit-shape-divider-control-styles .ghostkit-shape-divider-control-styles-item-default-arrow svg,.ghostkit-shape-divider-control-styles .ghostkit-shape-divider-control-styles-item-default-arrow-curve svg{height:9px;width:300%}[data-type="ghostkit/shape-divider"].wp-block{margin-bottom:-28px;margin-top:-28px}[data-type="ghostkit/shape-divider"].wp-block+[data-type="ghostkit/shape-divider"]{margin-top:28px}.ghostkit-toc{--gkt-toc-title__margin-bottom:1.5em}.ghostkit-toc-title{margin-bottom:var(--gkt-toc-title__margin-bottom)}.ghostkit-toc{min-height:26px}.ghostkit-toc-spinner{margin-bottom:13px;position:absolute;width:100%}.ghostkit-toc-spinner:after{clear:both;content:"";display:block}.ghostkit-toc-spinner>span,.ghostkit-toc-spinner>svg{float:left;margin:0}.ghostkit-toc-spinner-relative{position:relative}.ghostkit-tabs{--gkt-tabs--buttons__offset:1em;--gkt-tabs--buttons__gap:0;--gkt-tabs--button__padding-v:0.5em;--gkt-tabs--button__padding-h:1.2em;--gkt-tabs--button__font-size:inherit;--gkt-tabs--button__font-weight:500;--gkt-tabs--button__border-width:1px;--gkt-tabs--button__border-color:var(--gkt-color-light-gray-darken);--gkt-tabs--button__border-radius:var(--gkt-border-radius);--gkt-tabs--button__cursor:pointer;--gkt-tabs--button__opacity:0.6;--gkt-tabs--button-active__background-color:#fff;--gkt-tabs--button-active__opacity:1;--gkt-tabs-pills--button__border-radius:var(--gkt-border-radius);--gkt-tabs-pills--button-active__color:#fff;--gkt-tabs-pills--button-active__background-color:var(--gkt-color-dark-gray);--gkt-tabs-radio--button__gap:0.5em;--gkt-tabs-radio--button--radio__width:0.85em;--gkt-tabs-radio--button--radio__height:0.85em;--gkt-tabs-radio--button--radio__border-width:1px;--gkt-tabs-radio--button--radio__border-color:var(--gkt-color-light-gray-darken);--gkt-tabs-radio--button-active--radio__border-color:currentcolor;--gkt-tabs-radio--button--dot__size:0.25em;--gkt-tabs-radio--button--dot__color:transparent;--gkt-tabs-radio--button-active--dot__color:currentcolor;--gkt-tabs__transition-duration:var(--gkt-transition-duration);--gkt-tabs__transition-easing:var(--gkt-transition-easing)}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons{border:none}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item{border:none;border-radius:var(--gkt-tabs-pills--button__border-radius);margin-bottom:0}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs-pills--button-active__background-color);color:var(--gkt-tabs-pills--button-active__color)}.ghostkit-tabs.is-style-radio{--gkt-tabs--buttons__gap:0.5em 2em;--gkt-tabs--button__padding-v:0;--gkt-tabs--button__padding-h:0;--gkt-tabs--button__border-width:0;--gkt-tabs--button__border-radius:0}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item{align-items:center;display:flex;gap:var(--gkt-tabs-radio--button__gap)}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item:before{border:var(--gkt-tabs-radio--button--radio__border-width) solid var(--gkt-tabs-radio--button--radio__border-color);border-radius:50%;content:"";flex:0 0 auto;height:var(--gkt-tabs-radio--button--radio__height);width:var(--gkt-tabs-radio--button--radio__width)}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item-active:before{background-image:radial-gradient(circle at 50% center,var(--gkt-tabs-radio--button-active--dot__color) 0,var(--gkt-tabs-radio--button-active--dot__color) var(--gkt-tabs-radio--button--dot__size),transparent calc(var(--gkt-tabs-radio--button--dot__size) + .5px));border-color:var(--gkt-tabs-radio--button-active--radio__border-color)}.ghostkit-tabs-buttons{border-bottom:var(--gkt-tabs--button__border-width) solid var(--gkt-tabs--button__border-color);display:flex;flex-wrap:wrap;gap:var(--gkt-tabs--buttons__gap);margin-bottom:var(--gkt-tabs--buttons__offset)}.ghostkit-tabs-buttons-align-start{justify-content:flex-start}.ghostkit-tabs-buttons-align-center{justify-content:center}.ghostkit-tabs-buttons-align-end{justify-content:flex-end}.ghostkit-tabs-buttons-align-stretch>.ghostkit-tabs-buttons-item{flex-basis:0;flex-grow:1;text-align:center}.ghostkit-tabs-buttons .edit-post-visual-editor,.ghostkit-tabs-buttons .edit-post-visual-editor p,.ghostkit-tabs-buttons .editor-rich-text__tinymce.mce-content-body{line-height:inherit}.ghostkit-tabs-buttons-item{background-color:transparent;border:var(--gkt-tabs--button__border-width) solid transparent;border-top-left-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:var(--gkt-tabs--button__border-radius);box-shadow:none;color:inherit;cursor:pointer;display:block;font-weight:var(--gkt-tabs--button__font-weight);margin-bottom:calc(var(--gkt-tabs--button__border-width)*-1);opacity:var(--gkt-tabs--button__opacity);padding:var(--gkt-tabs--button__padding-v) var(--gkt-tabs--button__padding-h);position:relative;text-decoration:none;transition:var(--gkt-tabs__transition-duration) border-color var(--gkt-tabs__transition-easing),var(--gkt-tabs__transition-duration) background-color var(--gkt-tabs__transition-easing),var(--gkt-tabs__transition-duration) opacity var(--gkt-tabs__transition-easing)}.ghostkit-tabs-buttons-item-active,.ghostkit-tabs-buttons-item:focus,.ghostkit-tabs-buttons-item:hover{opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs--button-active__background-color);border-color:var(--gkt-tabs--button__border-color);border-bottom-color:var(--gkt-tabs--button-active__background-color)}.ghostkit-tabs-buttons-item:not(:hover)>.ghostkit-component-remove-button{opacity:0}.ghostkit-tabs-buttons>.components-button{height:auto;padding:var(--gkt-tabs--button__padding-v) var(--gkt-tabs--button__padding-h)}.ghostkit-tabs-content .ghostkit-tab{display:none}.ghostkit-tabs-content .ghostkit-tab-active{display:block}@media(min-width:768px){.ghostkit-tabs-buttons-vertical{display:flex}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons{border-bottom:none;border-right:var(--gkt-tabs--button__border-width) solid var(--gkt-tabs--button__border-color);flex:0 0 30%;flex-direction:column;margin-bottom:0;max-width:30%}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item{border-bottom-left-radius:var(--gkt-tabs--button__border-radius);border-top-left-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:0;display:block;margin-bottom:0;margin-right:calc(var(--gkt-tabs--button__border-width)*-1)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item:focus,.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item:hover{opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs--button-active__background-color);border-color:var(--gkt-tabs--button__border-color);border-right-color:var(--gkt-tabs--button-active__background-color);opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-content{flex:0 0 70%;max-width:70%;padding-left:var(--gkt-tabs--buttons__offset)}}.ghostkit-testimonial{--gkt-testimonial--icon__top:0.75em;--gkt-testimonial--icon__left:0.75em;--gkt-testimonial--icon__font-size:1.5em;--gkt-testimonial--icon__opacity:0.15;--gkt-testimonial--icon-content__offset:3.5em;--gkt-testimonial--content__padding-v:1.5em;--gkt-testimonial--content__padding-h:1.5em;--gkt-testimonial--content__margin-bottom:1em;--gkt-testimonial--content__background-color:var(--gkt-color-light-gray);--gkt-testimonial--content__border-radius:var(--gkt-border-radius);--gkt-testimonial--meta__offset:1em;--gkt-testimonial--photo__width:50px;--gkt-testimonial--photo__border-radius:25px;--gkt-testimonial--name__line-height:1.6;--gkt-testimonial--name-source__margin-top:0.2em;--gkt-testimonial--source__font-size:0.85em;--gkt-testimonial--source__line-height:1;--gkt-testimonial--source__opacity:0.5;--gkt-testimonial--stars__line-height:1;--gkt-testimonial--stars__height:1em;--gkt-testimonial--stars-front__color:#fdcf27;--gkt-testimonial--stars-back__color:var(--gkt-color-light-gray);--gkt-testimonial--stars-mobile__margin-top:1em;align-items:flex-start;display:flex;flex-wrap:wrap;padding:0;position:relative}.ghostkit-testimonial-with-link{position:relative}.ghostkit-testimonial-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-testimonial-icon{font-size:var(--gkt-testimonial--icon__font-size);left:var(--gkt-testimonial--icon__left);opacity:var(--gkt-testimonial--icon__opacity);position:absolute;top:var(--gkt-testimonial--icon__top)}.ghostkit-testimonial-icon+.ghostkit-testimonial-content{padding-left:var(--gkt-testimonial--icon-content__offset)}.ghostkit-testimonial-content{background-color:var(--gkt-testimonial--content__background-color);border-radius:var(--gkt-testimonial--content__border-radius);flex:100%;margin-bottom:var(--gkt-testimonial--content__margin-bottom);padding:var(--gkt-testimonial--content__padding-v) var(--gkt-testimonial--content__padding-h)}.ghostkit-testimonial-photo{border-radius:var(--gkt-testimonial--photo__border-radius);overflow:hidden;width:var(--gkt-testimonial--photo__width)}.ghostkit-testimonial-photo img{display:block;height:auto;width:100%}.ghostkit-testimonial-photo+.ghostkit-testimonial-meta,.ghostkit-testimonial-photo+.ghostkit-testimonial-stars{margin-left:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-meta{display:flex;flex:1;flex-direction:column}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars{margin-left:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-name{line-height:var(--gkt-testimonial--name__line-height)}.ghostkit-testimonial-source{font-size:var(--gkt-testimonial--source__font-size);line-height:var(--gkt-testimonial--source__line-height);opacity:var(--gkt-testimonial--source__opacity)}.ghostkit-testimonial-name+.ghostkit-testimonial-source{margin-top:var(--gkt-testimonial--name-source__margin-top)}.ghostkit-testimonial-stars{line-height:var(--gkt-testimonial--stars__line-height)}.ghostkit-testimonial-stars-wrap{display:inline-block;position:relative}.ghostkit-testimonial-stars-back,.ghostkit-testimonial-stars-front{height:var(--gkt-testimonial--stars__height);overflow:hidden;white-space:nowrap}.ghostkit-testimonial-stars-front{color:var(--gkt-testimonial--stars-front__color);position:absolute}.ghostkit-testimonial-stars-back{color:var(--gkt-testimonial--stars-back__color)}@media(max-width:768px){.ghostkit-testimonial-stars{flex:100%;margin-top:var(--gkt-testimonial--stars-mobile__margin-top)}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars,.ghostkit-testimonial-photo+.ghostkit-testimonial-stars{margin-left:0}}.ghostkit-testimonial-photo button{align-items:center;background-color:#f3f4f5;display:flex;height:var(--gkt-testimonial--photo__width);justify-content:center;width:100%}.ghostkit-testimonial-photo button:focus,.ghostkit-testimonial-photo button:hover,.ghostkit-testimonial-photo button:not(:disabled,[aria-disabled=true]):focus{background-color:#edeff0;box-shadow:none}.ghostkit-testimonial-source .editor-rich-text__tinymce.mce-content-body{line-height:1}.block-editor-inserter__preview .ghostkit-testimonial-photo{margin-top:10px}.block-editor-inserter__preview .ghostkit-testimonial-content .block-editor-block-list__layout{margin-left:20px;margin-right:0}.editor-styles-wrapper .ghostkit-twitter,.ghostkit-twitter{--gkt-twitter--verified-badge__width:14px;--gkt-twitter--verified-badge__height:14px;--gkt-twitter--verified-badge__background-image:url('data:image/svg+xml;utf8,');--gkt-twitter--profile__margin-bottom:2.5em;--gkt-twitter--profile-avatar__border-radius:50%;--gkt-twitter--profile-avatar__offset:1.5em;--gkt-twitter--profile-name__font-size:1.4em;--gkt-twitter--profile-username__font-size:1em;--gkt-twitter--profile-username__font-weight:400;--gkt-twitter--profile-username__font-opacity:0.7;--gkt-twitter--profile-stats__gap:1.2em;--gkt-twitter--profile-elements__gap:1.2em;--gkt-twitter--tweet__margin-bottom:1.5em;--gkt-twitter--tweet-content-img__margin-top:1em;--gkt-twitter--tweet-content-img__border-width:1px;--gkt-twitter--tweet-content-img__border-color:rgba(0,0,0,.1);--gkt-twitter--tweet-content-img__border-radius:var(--gkt-border-radius);--gkt-twitter--tweet-avatar__margin-right:1.2em;--gkt-twitter--tweet-avatar__border-radius:50%;--gkt-twitter--tweet-retweeted__font-size:0.8em;--gkt-twitter--tweet-retweeted__opacity:0.7;--gkt-twitter--tweet-retweeted-icon__margin-right:0.5em;--gkt-twitter--tweet-name__text-decoration:none;--gkt-twitter--tweet-name-hover__text-decoration:underline;--gkt-twitter--tweet-username__opacity:0.7;--gkt-twitter--tweet-date-separator__content:"·";--gkt-twitter--tweet-date-separator__margin-v:0;--gkt-twitter--tweet-date-separator__margin-h:0.5em;--gkt-twitter--tweet-date-separator__font-size:0.7em;--gkt-twitter--tweet-date__opacity:0.7;--gkt-twitter--tweet-date__text-decoration:none;--gkt-twitter--tweet-date-hover__text-decoration:underline;--gkt-twitter--tweet-actions__font-size:0.9em;--gkt-twitter--tweet-actions__gap:1.2em;--gkt-twitter--tweet-actions-link__opacity:0.7;--gkt-twitter--tweet-actions-link-hover__opacity:1;--gkt-twitter--tweet-actions-label__offset:0.3em;--gkt-twitter--tweet-elements__gap:0.5em}.editor-styles-wrapper .ghostkit-twitter:after{clear:both;content:"";display:block;height:.01px}.editor-styles-wrapper .ghostkit-twitter-item-meta-name-verified,.editor-styles-wrapper .ghostkit-twitter-profile-verified{font-size:0}.editor-styles-wrapper .ghostkit-twitter-item-meta-name-verified:before,.editor-styles-wrapper .ghostkit-twitter-profile-verified:before{background-image:var(--gkt-twitter--verified-badge__background-image);content:"";display:inline-block;height:var(--gkt-twitter--verified-badge__height);width:var(--gkt-twitter--verified-badge__width)}.editor-styles-wrapper .ghostkit-twitter-profile-verified:before{height:calc(2px + var(--gkt-twitter--verified-badge__height));width:calc(2px + var(--gkt-twitter--verified-badge__width))}.editor-styles-wrapper .ghostkit-twitter-profile{display:flex;flex-wrap:wrap;margin-bottom:var(--gkt-twitter--profile__margin-bottom)}.editor-styles-wrapper .ghostkit-twitter-profile-avatar img{border-radius:var(--gkt-twitter--profile-avatar__border-radius);display:block;height:auto;margin:0;max-width:100%}.editor-styles-wrapper .ghostkit-twitter-profile-side{flex:1;max-width:100%}.editor-styles-wrapper .ghostkit-twitter-profile-avatar+.ghostkit-twitter-profile-side{margin-left:var(--gkt-twitter--profile-avatar__offset)}.editor-styles-wrapper .ghostkit-twitter-profile-name a{border-bottom:none;color:inherit;text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-profile-name a:focus,.editor-styles-wrapper .ghostkit-twitter-profile-name a:hover{text-decoration:underline}.editor-styles-wrapper .ghostkit-twitter-profile .ghostkit-twitter-profile-fullname{font-size:var(--gkt-twitter--profile-name__font-size);margin:0}.editor-styles-wrapper .ghostkit-twitter-profile .ghostkit-twitter-profile-username{font-size:var(--gkt-twitter--profile-username__font-size);font-weight:var(--gkt-twitter--profile-username__font-weight);margin:0;opacity:var(--gkt-twitter--profile-username__font-opacity)}.editor-styles-wrapper .ghostkit-twitter-profile-stats{display:flex;flex-wrap:wrap}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div{margin-right:var(--gkt-twitter--profile-stats__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div:last-child{margin-right:0}div+.editor-styles-wrapper .ghostkit-twitter-profile-description,div+.editor-styles-wrapper .ghostkit-twitter-profile-location,div+.editor-styles-wrapper .ghostkit-twitter-profile-stats,div+.editor-styles-wrapper .ghostkit-twitter-profile-website{margin-top:var(--gkt-twitter--profile-elements__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-description{white-space:pre-wrap}.editor-styles-wrapper .ghostkit-twitter-item{display:flex;margin-bottom:var(--gkt-twitter--tweet__margin-bottom)}.editor-styles-wrapper .ghostkit-twitter-item:last-child{margin-bottom:0}.editor-styles-wrapper .ghostkit-twitter-item-content{flex:1}.editor-styles-wrapper .ghostkit-twitter-item-content img{border:var(--gkt-twitter--tweet-content-img__border-width) solid var(--gkt-twitter--tweet-content-img__border-color);border-radius:var(--gkt-twitter--tweet-content-img__border-radius);margin-top:var(--gkt-twitter--tweet-content-img__margin-top);max-width:100%}.editor-styles-wrapper .ghostkit-twitter-item-avatar{margin-right:var(--gkt-twitter--tweet-avatar__margin-right)}.editor-styles-wrapper .ghostkit-twitter-item-avatar img{border-radius:var(--gkt-twitter--tweet-avatar__border-radius);height:auto}.editor-styles-wrapper .ghostkit-twitter-item-retweeted{font-size:var(--gkt-twitter--tweet-retweeted__font-size);opacity:var(--gkt-twitter--tweet-retweeted__opacity);position:relative}.editor-styles-wrapper .ghostkit-twitter-item-retweeted-icon{margin-right:var(--gkt-twitter--tweet-retweeted-icon__margin-right);position:absolute;right:100%;width:1em}.editor-styles-wrapper .ghostkit-twitter-item-retweeted a{border-bottom:none;color:inherit;text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-item-retweeted a:focus,.editor-styles-wrapper .ghostkit-twitter-item-retweeted a:hover{text-decoration:underline}.editor-styles-wrapper .ghostkit-twitter-item-meta{align-items:center;display:flex;flex-wrap:wrap}.editor-styles-wrapper .ghostkit-twitter-item-meta-name a{border-bottom:none;color:inherit;-webkit-text-decoration:var(--gkt-twitter--tweet-name__text-decoration);text-decoration:var(--gkt-twitter--tweet-name__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name a:focus strong,.editor-styles-wrapper .ghostkit-twitter-item-meta-name a:hover strong{-webkit-text-decoration:var(--gkt-twitter--tweet-name-hover__text-decoration);text-decoration:var(--gkt-twitter--tweet-name-hover__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name span:last-child{opacity:var(--gkt-twitter--tweet-username__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name+.ghostkit-twitter-item-meta-date:before{content:var(--gkt-twitter--tweet-date-separator__content);font-size:var(--gkt-twitter--tweet-date-separator__font-size);margin:var(--gkt-twitter--tweet-date-separator__margin-v) var(--gkt-twitter--tweet-date-separator__margin-h)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date{align-items:center;display:flex;opacity:var(--gkt-twitter--tweet-date__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date a{border-bottom:none;color:inherit;-webkit-text-decoration:var(--gkt-twitter--tweet-date__text-decoration);text-decoration:var(--gkt-twitter--tweet-date__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date a:focus,.editor-styles-wrapper .ghostkit-twitter-item-meta-date a:hover{-webkit-text-decoration:var(--gkt-twitter--tweet-date-hover__text-decoration);text-decoration:var(--gkt-twitter--tweet-date-hover__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-actions{align-items:center;display:flex;flex-wrap:wrap;font-size:var(--gkt-twitter--tweet-actions__font-size)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div{margin-right:var(--gkt-twitter--tweet-actions__gap)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div:last-child{margin-right:0}.editor-styles-wrapper .ghostkit-twitter-item-actions a{border-bottom:none;color:inherit;opacity:var(--gkt-twitter--tweet-actions-link__opacity);text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-item-actions a:focus,.editor-styles-wrapper .ghostkit-twitter-item-actions a:hover{opacity:var(--gkt-twitter--tweet-actions-link-hover__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-actions span{margin-left:var(--gkt-twitter--tweet-actions-label__offset)}.editor-styles-wrapper .ghostkit-twitter-item-text{white-space:pre-wrap}div+.editor-styles-wrapper .ghostkit-twitter-item-actions,div+.editor-styles-wrapper .ghostkit-twitter-item-text{margin-top:var(--gkt-twitter--tweet-elements__gap)}.ghostkit-twitter-spinner{margin-bottom:13px;width:100%}.ghostkit-twitter-spinner>span{float:left;margin:0}.ghostkit-video{--gkt-video__background-color:var(--gkt-color-light-gray);--gkt-video--play-icon__width:60px;--gkt-video--play-icon__height:60px;--gkt-video--play-icon__font-size:0.7em;--gkt-video--play-icon__color:var(--gkt-color-dark-gray);--gkt-video--play-icon__background-color:#fff;--gkt-video--play-icon__border-radius:50%;--gkt-video--play-icon__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video--play-icon-hover__box-shadow:0 2px 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video--play-icon-hover__transform:translateY(-1px);--gkt-video--loading-icon__width:60px;--gkt-video--loading-icon__height:60px;--gkt-video--loading-icon__font-size:0.7em;--gkt-video--loading-icon__color:var(--gkt-color-dark-gray);--gkt-video--loading-icon__background-color:#fff;--gkt-video--loading-icon__border-radius:50%;--gkt-video--loading-icon__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video__transition-duration:var(--gkt-transition-duration);--gkt-video__transition-easing:var(--gkt-transition-easing)}.ghostkit-video-fullscreen{--gkt-video-fullscreen__background-color:rgba(0,0,0,.9);--gkt-video-fullscreen--close-button__width:60px;--gkt-video-fullscreen--close-button__height:60px;--gkt-video-fullscreen--close-button__font-size:1.4em;--gkt-video-fullscreen--close-button__color:#fff;--gkt-video-fullscreen--close-button__opacity:0.2;--gkt-video-fullscreen--close-button-hover__opacity:1;--gkt-video-fullscreen__transition-duration:var(--gkt-transition-duration);--gkt-video-fullscreen__transition-easing:var(--gkt-transition-easing)}.ghostkit-video.is-style-icon-only{background-color:transparent;height:var(--gkt-video--play-icon__height);margin-left:auto;margin-right:auto;overflow:unset}.ghostkit-video.is-style-icon-only:before{content:none}.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-loading-icon,.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-play-icon{left:0;margin-left:0}.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-loading-icon,.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-play-icon{left:auto;margin-left:0;right:0}.ghostkit-video{background-color:var(--gkt-video__background-color);cursor:pointer;overflow:hidden;position:relative}.ghostkit-video:before{content:"";display:block;padding-top:56.25%;width:100%}.ghostkit-video-aspect-ratio-16-9:before,.ghostkit-video[data-video-aspect-ratio="16-9"]:before,.ghostkit-video[data-video-aspect-ratio="16:9"]:before{padding-top:56.25%}.ghostkit-video-aspect-ratio-21-9:before,.ghostkit-video[data-video-aspect-ratio="21-9"]:before,.ghostkit-video[data-video-aspect-ratio="21:9"]:before{padding-top:42.8571428571%}.ghostkit-video-aspect-ratio-4-3:before,.ghostkit-video[data-video-aspect-ratio="4-3"]:before,.ghostkit-video[data-video-aspect-ratio="4:3"]:before{padding-top:75%}.ghostkit-video-aspect-ratio-3-2:before,.ghostkit-video[data-video-aspect-ratio="3-2"]:before,.ghostkit-video[data-video-aspect-ratio="3:2"]:before{padding-top:66.6666666667%}.ghostkit-video-aspect-ratio-1-1:before,.ghostkit-video[data-video-aspect-ratio="1-1"]:before,.ghostkit-video[data-video-aspect-ratio="1:1"]:before{padding-top:100%}.ghostkit-video-aspect-ratio-2-3:before,.ghostkit-video[data-video-aspect-ratio="2-3"]:before,.ghostkit-video[data-video-aspect-ratio="2:3"]:before{padding-top:150%}.ghostkit-video-aspect-ratio-9-16:before,.ghostkit-video[data-video-aspect-ratio="9-16"]:before,.ghostkit-video[data-video-aspect-ratio="9:16"]:before{padding-top:177.7777777778%}.ghostkit-video-aspect-ratio-3-4:before,.ghostkit-video[data-video-aspect-ratio="3-4"]:before,.ghostkit-video[data-video-aspect-ratio="3:4"]:before{padding-top:133.3333333333%}.ghostkit-video-poster{height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ghostkit-video-poster img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ghostkit-video-play-icon{align-items:center;background-color:var(--gkt-video--play-icon__background-color);border-radius:var(--gkt-video--play-icon__border-radius);box-shadow:var(--gkt-video--play-icon__box-shadow);color:var(--gkt-video--play-icon__color);display:flex;font-size:var(--gkt-video--play-icon__font-size);height:var(--gkt-video--play-icon__height);justify-content:center;left:50%;margin-left:calc(var(--gkt-video--play-icon__height)/-2);margin-top:calc(var(--gkt-video--play-icon__width)/-2);opacity:1;position:absolute;top:50%;transition:var(--gkt-video__transition-duration) transform var(--gkt-video__transition-easing),var(--gkt-video__transition-duration) box-shadow var(--gkt-video__transition-easing),var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);width:var(--gkt-video--play-icon__width);z-index:2}.ghostkit-video:focus .ghostkit-video-play-icon,.ghostkit-video:hover .ghostkit-video-play-icon{box-shadow:var(--gkt-video--play-icon-hover__box-shadow);transform:var(--gkt-video--play-icon-hover__transform)}.ghostkit-video-loading .ghostkit-video-play-icon,.ghostkit-video-playing .ghostkit-video-play-icon{opacity:0}.ghostkit-video-loading-icon{align-items:center;background-color:var(--gkt-video--loading-icon__background-color);border-radius:var(--gkt-video--loading-icon__border-radius);box-shadow:var(--gkt-video--loading-icon__box-shadow);color:var(--gkt-video--loading-icon__color);display:flex;font-size:var(--gkt-video--loading-icon__font-size);height:var(--gkt-video--loading-icon__height);justify-content:center;left:50%;margin-left:calc(var(--gkt-video--loading-icon__height)/-2);margin-top:calc(var(--gkt-video--loading-icon__width)/-2);opacity:0;position:absolute;top:50%;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);width:var(--gkt-video--loading-icon__width);z-index:3}.ghostkit-video-loading .ghostkit-video-loading-icon{opacity:1}.ghostkit-video:not(.ghostkit-video-loading) .ghostkit-video-spinner{animation:none}.ghostkit-video-fullscreen-close-icon{display:none}.ghostkit-video-frame{height:100%;left:100%;opacity:0;position:absolute;top:0;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s var(--gkt-video__transition-duration) left;width:100%;z-index:4}.ghostkit-video-frame iframe,.ghostkit-video-frame video{height:100%;visibility:visible;width:100%}.ghostkit-video-playing .ghostkit-video-frame{left:0;opacity:1;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s left}.ghostkit-video-fullscreen{align-items:center;background-color:var(--gkt-video-fullscreen__background-color);display:none;height:calc(100% - var(--wp-admin--admin-bar--height, 0px));justify-content:center;left:0;position:fixed;top:var(--wp-admin--admin-bar--height,0);width:100%;z-index:1500}@media screen and (max-width:600px){body.admin-bar .ghostkit-video-fullscreen{height:100%;top:0}}.ghostkit-video-fullscreen-frame{height:calc(90vw*var(--gkt-fullscreen-video__aspect-ratio-height)/var(--gkt-fullscreen-video__aspect-ratio-width));max-height:90%;max-width:calc((90vh - var(--wp-admin--admin-bar--height, 0px))*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height));position:relative;width:90%;z-index:1}@media screen and (max-width:600px){body.admin-bar .ghostkit-video-fullscreen-frame{max-width:calc(100vh*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height))}}.ghostkit-video-fullscreen-frame iframe,.ghostkit-video-fullscreen-frame video{height:100%;width:100%}.ghostkit-video-fullscreen-frame video{background:var(--gkt-fullscreen-video--video__background)}.ghostkit-video-fullscreen-close{color:var(--gkt-video-fullscreen--close-button__color);cursor:pointer;font-size:var(--gkt-video-fullscreen--close-button__font-size);height:var(--gkt-video-fullscreen--close-button__height);line-height:var(--gkt-video-fullscreen--close-button__height);opacity:var(--gkt-video-fullscreen--close-button__opacity);position:absolute;right:0;text-align:center;top:0;transition:var(--gkt-video-fullscreen__transition-duration) opacity var(--gkt-video-fullscreen__transition-easing);width:var(--gkt-video-fullscreen--close-button__width);z-index:2}.ghostkit-video-fullscreen-close:focus,.ghostkit-video-fullscreen-close:hover{opacity:var(--gkt-video-fullscreen--close-button-hover__opacity)}.components-panel .ghostkit-gutenberg-media-upload>div{height:150px}.ghostkit-video-toolbar-url .components-base-control__field{align-items:center;display:flex;margin:7px;width:300px}.ghostkit-help-text{color:#a0a0a0;font-size:90%;font-style:italic}.ghostkit-code{background:#eef0f3;border-radius:3px}.ghostkit-accordion .wp-block,.ghostkit-alert .wp-block,.ghostkit-changelog .wp-block,.ghostkit-counter-box .wp-block,.ghostkit-form .wp-block,.ghostkit-grid>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block,.ghostkit-icon-box .wp-block,.ghostkit-tabs-content .wp-block{margin-left:0;margin-right:0;max-width:none}.ghostkit-grid-controls{display:flex;flex-wrap:wrap;margin:0 -10px}.ghostkit-grid-controls>*{flex:1;margin:0 10px!important;min-width:80px}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child{pointer-events:none}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child:after,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after{border:1px dashed;border-radius:2px;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter{visibility:hidden}.components-panel__body-toggle>.ghostkit-ext-icon{display:block;position:absolute;top:50%;transform:translateY(-50%)}.components-panel__body-toggle>.ghostkit-ext-icon svg{display:block}.components-panel__body-toggle>.ghostkit-ext-icon+span{margin-left:35px}.components-tools-panel-header>h2>.ghostkit-ext-icon{margin-top:-4px;position:absolute}.components-tools-panel-header>h2>.ghostkit-ext-icon+span{margin-left:35px}.ghostkit-control-tabs>.components-tab-panel__tabs{border-bottom:1px solid #e8eaeb;display:flex;flex-wrap:wrap;margin-bottom:15px}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab{background:none;border:none;border-bottom:2px solid transparent;border-radius:0;color:#555d66;cursor:pointer;margin:0 0 -1px;outline-offset:-1px;padding:9px 11px 11px}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab svg{display:block;height:1.4em;width:auto}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab.is-active{border-bottom:2px solid #007cba;position:relative;z-index:1}.ghostkit-control-tabs.ghostkit-control-tabs-wide>.components-tab-panel__tabs>.ghostkit-control-tabs-tab{flex:1;justify-content:center;text-align:center}.ghostkit-control-tabs .ghostkit-control-tabs-separator{border-top:1px solid #e8eaeb;margin-left:-15px;margin-right:-15px;padding:15px}.ghostkit-control-tabs .ghostkit-control-tabs-separator:first-child{margin-top:-16px}.ghostkit-component-input-drag input{cursor:n-resize}.components-select-control select[multiple].components-select-control__input{height:auto;padding-right:8px}.components-select-control select[multiple].components-select-control__input~.components-input-control__suffix{display:none} +:root{--gkt-color-brand:#2e1645;--gkt-color-dark-gray:#32373c;--gkt-color-light-gray:#f3f4f5;--gkt-color-light-gray-darken:#d7dbde;--gkt-color-primary:#0366d6;--gkt-color-success:#4ab866;--gkt-color-danger:#d94f4f;--gkt-color-warning:#f0b849;--gkt-color-info:#2ebef5;--gkt-border-radius:5px;--gkt-transition-duration:0.2s;--gkt-transition-easing:ease-in-out}.ghostkit-component-active-indicator{background-color:#007cba;border-radius:7px;height:7px;width:7px}.components-panel__body-toggle .ghostkit-component-active-indicator{position:absolute;right:40px;top:50%;transform:translateY(-50%)}.ghostkit-control-tabs-icon .ghostkit-component-active-indicator{height:3px;left:50%;position:absolute;top:-7px;transform:translateX(-50%);width:3px}.ghostkit-control-responsive-toggle .ghostkit-component-active-indicator{height:5px;left:75%;outline:2px solid #fff;position:absolute;top:0;width:5px}.ghostkit-control-element-state-toggle .ghostkit-component-active-indicator{height:5px;left:12px;outline:2px solid #fff;position:absolute;top:0;width:5px}.is-active>.ghostkit-control-responsive-toggle-icon .ghostkit-component-active-indicator{background-color:#fff;outline:2px solid #000}.ghostkit-component-code-editor.ace_editor{background-color:#f8f9f9;border-radius:3px;box-shadow:0 0 0 1px #e8eaeb;line-height:1.45;width:100%}.ghostkit-component-code-editor.ace_editor .ace_gutter{background-color:#e8eaeb}.ghostkit-component-code-editor .ace_tooltip{background:none;background-color:#fff;border:1px solid #e4e4e4;border-radius:3px;box-shadow:0 2px 10px 0 rgba(0,0,0,.05);padding:6px 10px}.ghostkit-component-code-editor .ace_hidden-cursors{opacity:0}.components-panel__body-toggle>.ghostkit-color-indicator{height:15px;margin-left:8px;width:15px}.components-panel__body-toggle>.ghostkit-color-indicator+.ghostkit-color-indicator{margin-left:2px}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper){margin-bottom:0}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper) .ghostkit-component-color-toggle{border-bottom:none}.ghostkit-component-color-toggle{border:1px solid rgba(0,0,0,.1);border-radius:0;height:auto;margin-bottom:0;padding:10px 12px;position:relative;width:100%}.ghostkit-component-color-toggle.ghostkit-component-color-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-color-toggle .ghostkit-component-color-toggle-indicator{background:linear-gradient(-45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0);border:none;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);color:transparent;cursor:pointer;display:block;height:20px;margin-right:8px;padding:0;position:relative;width:20px}.ghostkit-component-color-toggle .ghostkit-component-color-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-color-picker__dropdown{display:block;width:100%}.ghostkit-component-color-picker__dropdown-content .components-popover__content{padding:16px;width:260px}.ghostkit-component-color-picker__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-components-date-time-picker .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.ghostkit-components-date-time-picker .components-base-control__field .components-base-control__label{margin-bottom:0}.ghostkit-components-date-time-picker-popover .components-datetime{padding:15px}.ghostkit-component-dropdown-picker-toggle{align-items:center;border:1px solid rgba(0,0,0,.15);border-radius:0;display:flex;height:auto;justify-content:space-between;margin-bottom:0;min-height:40px;padding:10px 12px;position:relative;width:100%}.ghostkit-component-dropdown-picker-toggle.ghostkit-component-dropdown-picker-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-dropdown-picker__dropdown{display:block;width:100%}.ghostkit-component-dropdown-picker__dropdown-content .components-popover__content{padding:16px;width:260px}.ghostkit-component-dropdown-picker__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-control-element-state-toggle{align-items:center;display:inline-flex;height:auto;justify-content:center;padding:0;position:relative}.components-base-control__label>.ghostkit-control-element-state-toggle,.components-input-control__label>.ghostkit-control-element-state-toggle{margin-left:8px;vertical-align:bottom}.ghostkit-control-element-state-toggle>svg{display:block;height:auto;width:18px}.ghostkit-control-element-state-toggle>span{font-size:12px;font-weight:500;margin-left:2px}.ghostkit-components-gap-settings-custom{display:flex}.ghostkit-components-gap-settings-custom>.components-base-control{flex:1;margin-bottom:0!important}.ghostkit-components-gap-settings-custom .components-base-control__help{margin-bottom:0!important}.ghostkit-components-gap-settings-custom>.components-base-control:first-child input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-components-gap-settings-custom>.components-base-control:first-child~.components-base-control input{border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper){margin-bottom:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper) .ghostkit-component-icon-picker-toggle{border-bottom:none}.ghostkit-component-icon-picker-toggle{border:1px solid rgba(0,0,0,.1);border-radius:0;height:auto;margin-bottom:0;padding:10px 12px;position:relative;width:100%}.ghostkit-component-icon-picker-toggle.ghostkit-component-icon-picker-toggle-active{background-color:#f0f0f0;color:var(--wp-admin-theme-color)}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator{display:flex;margin-right:8px;min-height:20px;position:relative;width:20px}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator:empty{background-color:#e4e4e4;border-radius:4px}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-indicator svg{height:auto;width:100%;fill:none}.ghostkit-component-icon-picker-toggle .ghostkit-component-icon-picker-toggle-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghostkit-component-icon-picker-wrapper .components-dropdown{display:block}.ghostkit-component-icon-picker-button{align-items:center;border-radius:4px;display:flex;font-size:15px;height:34px;justify-content:center;padding:0;text-align:center;width:34px}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview{border:1px solid transparent;cursor:pointer;transition:background-color .15s,border-color .15s}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.hover,.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview:hover{background-color:#f3f4f5;border-color:#f3f4f5}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.hover:hover{background-color:#e2e4e7;border-color:#e2e4e7}.ghostkit-component-icon-picker-button.ghostkit-component-icon-picker-preview.ghostkit-component-icon-picker-button-active{background-color:#fff;border-color:#007cba}.ghostkit-component-icon-picker-preview-clickable{cursor:pointer}.ghostkit-component-icon-picker .components-base-control{padding-right:2px}.ghostkit-component-icon-picker .components-base-control+.components-base-control{margin-bottom:0;margin-top:15px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-wrap{padding:15px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-wrap .ReactVirtualized__Grid__innerScrollContainer>div{padding-bottom:10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-panel-toggle{border-bottom:none}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list-panel-toggle.is-opened>.components-panel__body-title{margin-bottom:-16px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list{display:flex;flex-wrap:wrap;margin-left:-10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list>*{margin-left:10px;max-width:calc(33.33% - 10px);width:calc(33.33% - 10px)}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list .ghostkit-component-icon-picker-button{font-size:20px;height:55px;width:100%}.ghostkit-component-icon-picker-content>.components-popover__content{overflow-y:hidden!important}.ghostkit-component-icon-picker-content>.components-popover__content .ghostkit-component-icon-picker-sizer{height:50vh;max-height:400px;min-width:280px}.ghostkit-component-icon-picker-content>.components-popover__content .ghostkit-component-icon-picker{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.ghostkit-component-image-picker{--ghostkit-component-image-picker-item-size:50%}.ghostkit-component-image-picker.ghostkit-component-image-picker-3{--ghostkit-component-image-picker-item-size:33.33%}.ghostkit-component-image-picker.ghostkit-component-image-picker-4{--ghostkit-component-image-picker-item-size:25%}.ghostkit-component-image-picker.ghostkit-component-image-picker-5{--ghostkit-component-image-picker-item-size:20%}.ghostkit-component-image-picker.ghostkit-component-image-picker-6{--ghostkit-component-image-picker-item-size:16.66%}.ghostkit-component-image-picker .components-base-control__field{display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-component-image-picker .components-base-control__field>.components-base-control__label{min-width:100%}.ghostkit-component-image-picker .ghostkit-component-image-picker-item{align-items:center;background:none;border:none;border-radius:4px;color:inherit;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;justify-content:flex-start;margin:4px 0;overflow:hidden;padding:4px;width:calc(var(--ghostkit-component-image-picker-item-size) - 4px)}.ghostkit-component-image-picker .ghostkit-component-image-picker-item:hover{background:#f8f9f9;color:#191e23}.ghostkit-component-image-picker .ghostkit-component-image-picker-item.ghostkit-component-image-picker-item-active{box-shadow:0 0 0 2px #555d66;color:#191e23;outline:2px solid transparent;outline-offset:-2px}.ghostkit-component-image-picker .ghostkit-component-image-picker-item:focus{box-shadow:0 0 0 2px #007cba;color:#191e23;outline:2px solid transparent;outline-offset:-2px}.ghostkit-component-image-picker .ghostkit-component-image-picker-item img,.ghostkit-component-image-picker .ghostkit-component-image-picker-item svg{border:1px solid rgba(85,93,102,.2);border-radius:4px;display:block;height:auto;outline:1px solid transparent;width:100%}.ghostkit-component-image-picker .ghostkit-component-image-picker-item span{display:block;padding:4px 2px;text-align:center}.ghostkit-control-important-toggle{align-items:center;background:#e6e6e6;display:inline-flex;height:18px;justify-content:center;padding:2px;position:relative;text-align:center}.ghostkit-control-important-toggle.is-active{background-color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));color:#fff}.ghostkit-component-input-drag-has-icon{position:relative}.ghostkit-component-input-drag-has-icon svg{color:silver;margin:10px;position:absolute}.ghostkit-component-input-drag-has-icon .ghostkit-component-input-drag .components-base-control__field .components-text-control__input{padding-left:30px}.ghostkit-component-input-group-wrapper{display:flex}.ghostkit-component-input-group-wrapper>div+div{margin-left:-1px}.ghostkit-component-input-group-wrapper>div:focus-within{z-index:1}.ghostkit-component-input-group-wrapper>div:first-of-type input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-component-input-group-wrapper>div:first-of-type~div:not(:last-of-type) input{border-radius:0}.ghostkit-component-input-group-wrapper>div:last-of-type input{border-bottom-left-radius:0;border-top-left-radius:0}.ghostkit-component-input-group-wrapper .components-base-control__help{font-size:9px;font-weight:500;margin-top:0;opacity:.7;text-align:center;text-transform:uppercase}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) .components-base-control__help{font-size:0}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) .components-base-control__help:first-letter{font-size:9px}.ghostkit-component-input-group-wrapper:has(.ghostkit-component-input-drag-expand)>div:not(:has(.ghostkit-component-input-drag-expand)) input{color:transparent;padding-left:2px;padding-right:2px}.ghostkit-component-input-group-wrapper>div{position:relative;transition:width .2s ease;width:100%}.ghostkit-component-input-group-wrapper>div input{text-align:center;transition:padding .2s ease}.ghostkit-component-input-group-wrapper>div:has(.ghostkit-component-input-drag-expand){width:1000%}.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle{opacity:0;position:absolute;right:2px;top:10px}.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle.is-active,.ghostkit-component-input-group-wrapper>div .ghostkit-control-important-toggle:focus,.ghostkit-component-input-group-wrapper>div:has(input:focus) .ghostkit-control-important-toggle,.ghostkit-component-input-group-wrapper>div:hover .ghostkit-control-important-toggle{opacity:1}.ghostkit-component-modal{animation:none;position:relative}@media(min-width:600px){.ghostkit-component-modal{margin-left:-300px;max-width:600px;min-width:600px;transform:none}.ghostkit-component-modal.ghostkit-component-modal-position-top{top:112px}}@media(min-width:840px){.ghostkit-component-modal.ghostkit-component-modal-size-lg{margin-left:-400px;max-width:800px;min-width:800px;transform:none}}@media(min-width:600px){body>.components-modal__screen-overlay .ghostkit-component-modal{margin-left:auto}body>.components-modal__screen-overlay .ghostkit-component-modal.ghostkit-component-modal-position-top{margin-top:112px;top:0}}@media(min-width:840px){body>.components-modal__screen-overlay .ghostkit-component-modal.ghostkit-component-modal-size-lg{margin-left:auto}}.ghostkit-component-modal .components-modal__header .components-modal__icon-container svg{display:block;margin-right:10px}.ghostkit-component-modal .components-modal__header .components-modal__header-heading{font-weight:600}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs{margin-left:-16px;margin-right:-16px;margin-top:-16px}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs .ghostkit-control-tabs-tab{color:inherit;padding:12px 16px}.ghostkit-component-modal .ghostkit-component-modal-tab-panel .components-tab-panel__tabs .ghostkit-control-tabs-tab:focus{outline:none}.ghostkit-component-notice{margin:0 0 24px}.ghostkit-component-notice.is-info{background-color:rgba(81,152,217,.1);color:#2271b1}.ghostkit-component-notice.is-info p{color:inherit}.ghostkit-component-notice p:last-of-type{margin-bottom:0!important}.ghostkit-pro-component-note-inner{background-color:#edeff0;border-radius:4px;padding:20px;text-align:left}.ghostkit-pro-component-note-inner h3{font-size:14px;margin-bottom:15px;margin-top:0;text-transform:none}.ghostkit-pro-component-note-inner ul{list-style:none}.ghostkit-pro-component-note-inner ul li:before{content:"- ";display:inline;margin-bottom:5px}.ghostkit-pro-component-note-collapsed{position:relative}.ghostkit-pro-component-note-collapsed .ghostkit-pro-component-note-inner{position:relative;z-index:2}.ghostkit-pro-component-note-collapsed:after{background:linear-gradient(-45deg,#5c39a7,#528be6);border-radius:6px;bottom:0;content:"";display:block;left:0;margin:-2px;position:absolute;right:0;top:0;z-index:1}.ghostkit-pro-component-note-collapsed h3{margin-bottom:0}.ghostkit-pro-component-note-collapsed button{height:100%;justify-content:flex-end;left:0;position:absolute;top:0;width:100%}.ghostkit-pro-component-note-button{background:linear-gradient(-45deg,#5c39a7,#528be6);border-radius:3px;display:inline-block;margin-top:5px;padding:7px 15px;text-decoration:none;transition:filter .2s,transform .2s}.ghostkit-pro-component-note-button,.ghostkit-pro-component-note-button:active,.ghostkit-pro-component-note-button:focus,.ghostkit-pro-component-note-button:hover{color:#fff}.ghostkit-pro-component-note-button:focus,.ghostkit-pro-component-note-button:hover{filter:contrast(1.5) drop-shadow(0 3px 3px rgba(82,139,230,.3));transform:translateY(-1px)}.ghostkit-component-range-control>.components-base-control__field,.ghostkit-component-range-control>.components-base-control__field>.components-base-control,.ghostkit-component-range-control>.components-base-control__field>.components-base-control>.components-base-control__field{margin-bottom:0}.ghostkit-component-range-control>.components-base-control__field{align-items:center;display:flex;flex-wrap:wrap}.ghostkit-component-range-control>.components-base-control__field>.components-base-control__label{flex:100%;width:100%}.ghostkit-component-range-control>.components-base-control__field>.components-range-control{flex:1;margin-right:10px}.ghostkit-component-range-control>.components-base-control__field .components-text-control__input{width:64px}.ghostkit-component-remove-button{align-items:center;background-color:#555d66;border-radius:50%;color:#fff;height:20px;justify-content:center;margin-right:-10px;margin-top:-10px;opacity:.7;padding:0!important;position:absolute;right:0;top:0;transition:opacity .2s,background-color .2s;width:20px}.ghostkit-component-remove-button:focus,.ghostkit-component-remove-button:hover{background-color:var(--gkt-color-brand);color:#fff;opacity:1}.ghostkit-component-remove-button svg{flex:0 0 auto;height:.8em;width:auto}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep{margin-left:5px;padding:0}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:hover,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:hover{text-decoration:underline}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus{background:none;box-shadow:none}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-yep:focus{color:#df5454}.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope,.ghostkit-component-remove-button-confirm .ghostkit-component-remove-button-confirm-nope:focus{color:#999}.ghostkit-component-remove-button-confirm.components-popover:before{border-color:transparent}.ghostkit-component-remove-button-confirm.components-popover.is-top:after{border-top-color:#191e23}.ghostkit-component-remove-button-confirm.components-popover.is-bottom:after{border-bottom-color:#191e23}.ghostkit-component-remove-button-confirm .components-popover__content{background:#191e23;border-width:0;color:#fff;padding:4px 12px;white-space:nowrap}.ghostkit-component-remove-button-confirm:not(.is-mobile) .components-popover__content{min-width:0}.ghostkit-component-remove-button-confirm .components-tooltip__shortcut{color:#7e8993;display:block;text-align:center}.ghostkit-control-tabs-icon{position:relative}.ghostkit-control-responsive-toggle{display:inline-flex;position:relative}.components-base-control__label:has(.ghostkit-control-responsive-toggle),.components-input-control__label:has(.ghostkit-control-responsive-toggle){overflow:visible!important}.components-base-control__label>.ghostkit-control-responsive-toggle,.components-input-control__label>.ghostkit-control-responsive-toggle{margin-left:8px;vertical-align:bottom}.ghostkit-control-responsive-toggle>.components-button{align-items:center;display:inline-flex;height:auto;justify-content:center;padding:0}.ghostkit-control-responsive-toggle>.components-button svg{display:block;height:auto;width:18px}.ghostkit-control-responsive-toggle-button,.ghostkit-control-responsive-toggle-icon{position:relative}.ghostkit-control-responsive-toggle-dropdown{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 4px 0 rgba(0,0,0,.05);display:none;flex-direction:column;gap:2px;left:-5px;padding:2px;position:absolute;top:-5px;width:auto;z-index:5}.ghostkit-control-responsive-toggle-dropdown.is-open{display:flex}.ghostkit-control-responsive-toggle-dropdown>.components-button{align-items:center;border-radius:2px;display:inline-flex;height:22px;justify-content:center;padding:0;width:22px}.ghostkit-control-responsive-toggle-dropdown>.components-button.is-active{background-color:#000;color:#fff}.ghostkit-control-responsive-toggle-dropdown>.components-button svg{display:block;height:auto;width:18px}.ghostkit-control-select .fast-option-selected{color:#fff}.ghostkit-control-select input[type=text]{height:20px;min-height:20px}.ghostkit-control-select input[type=text]:focus{box-shadow:none}.ghostkit-control-toggle-group>div{margin-bottom:-10px}.ghostkit-control-toggle-group [aria-checked=false]{color:#000}.ghostkit-control-toggle-group button[disabled]{background-color:#b7b7b7;opacity:.4}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle{border-color:#949494;border-radius:4px;min-height:30px;padding:3px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label{align-items:center;display:flex;gap:10px;width:100%}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label>.ghostkit-component-bezier-editor,.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-dropdown-picker-toggle-label>.ghostkit-component-spring-editor{align-items:center;background-color:var(--wp-admin-theme-color);border-radius:2px;display:inline-flex;height:24px;justify-content:center;overflow:hidden;width:24px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset{background-color:#f9f5f5;border-radius:2px;color:#000;cursor:pointer;display:inline-block;height:15px;margin-left:auto;margin-right:5px;overflow:hidden;width:15px}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset:focus,.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset:hover{background-color:#e5e5e5}.ghostkit-component-transition-selector .ghostkit-component-dropdown-picker-toggle .ghostkit-component-transition-selector-reset svg{height:100%;width:100%}.ghostkit-component-transition-selector-content>.components-popover__content>*+*{margin-top:16px}.ghostkit-component-transition-selector-content .ghostkit-control-toggle-group{margin-bottom:20px}.ghostkit-component-bezier-editor,.ghostkit-component-spring-editor{position:relative}.ghostkit-component-bezier-editor>svg,.ghostkit-component-spring-editor>svg{border:1px solid #949494;border-radius:4px}.ghostkit-component-bezier-editor-preview>svg,.ghostkit-component-spring-editor-preview>svg{border:none;border-radius:0}.ghostkit-component-easing-controls-bezier>.components-base-control__field{display:flex;flex-wrap:wrap;width:100%}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control{width:25%}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control:not(:last-child){border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;margin-right:-1px}.ghostkit-component-easing-controls-bezier>.components-base-control__field>.components-base-control__label{width:100%}.ghostkit-component-spring-editor-duration{bottom:10px;color:#9a9a9a;font-size:10px;font-weight:500;position:absolute;right:12px}.ghostkit-component-transition-preview-wrapper>.components-base-control__field{align-items:center;display:flex;justify-content:space-between;margin-bottom:0}.ghostkit-component-transition-preview-wrapper>.components-base-control__field>.components-base-control__label{margin-bottom:0}.ghostkit-component-transition-preview{background-color:var(--wp-admin-theme-color);border-radius:4px;box-shadow:none!important;cursor:pointer;display:inline-block;height:auto;margin-left:auto;outline:none!important;overflow:hidden;padding:4px;width:65%}.ghostkit-component-transition-preview>span{background-color:#fff;border-radius:2px;display:block;height:16px;width:16px}.ghostkit-control-typography{display:flex;flex-wrap:wrap}.ghostkit-control-typography .ghostkit-typography-font-control{flex:1;max-width:100%;min-width:50%;padding-right:20px}.ghostkit-control-typography .ghostkit-typography-weight-control{flex:1 0 33.3%;max-width:33%}.ghostkit-control-typography .ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-size-control{flex:1;max-width:100%;min-width:33.3%}.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-font-control~.ghostkit-typography-size-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-line-control,.ghostkit-control-typography .ghostkit-typography-weight-control~.ghostkit-typography-size-control{margin-top:20px}.ghostkit-control-typography .ghostkit-typography-line-control+.ghostkit-typography-letter-control,.ghostkit-control-typography .ghostkit-typography-size-control+.ghostkit-typography-line-control{padding-left:20px}.ghostkit-control-typography .ghostkit-typography-information-control.ghostkit-typography-font-control{color:#a2aab2;flex:1 0 80%;font-style:italic;padding-left:20px;padding-right:0}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle{border:1px solid #7e8993;height:32px}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle:focus,.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle:hover{border-color:#555d66;box-shadow:none!important}.ghostkit-control-typography .ghostkit-typography-font-category-control-toggle svg,.ghostkit-typography-font-category-control-menu svg{height:auto;margin:0 4px;width:19px}.ghostkit-typography-font-category-control-menu .components-popover:not(.is-mobile) .components-popover__content{min-width:200px}.ghostkit-typography-font-category-control-menu .components-menu-group{padding:0}.ghostkit-typography-font-category-control-menu .components-menu-group .components-button svg{margin-left:5px!important;margin-right:10px!important}.ghostkit-typography-font-category-control-menu .components-menu-item__button{display:flex}.ghostkit-typography-font-category-control-menu .components-menu-item__button .components-menu-items__item-icon{order:-1}.ghostkit-typography-badge-pro{background-color:#00669b;border-radius:10px;color:#fff;font-size:8px;font-weight:600;height:14px;line-height:14px;margin-left:auto;padding:0 5px;text-align:center}.ghostkit-components-url-picker-inspector .block-editor-link-control{min-width:0}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-item.is-current{padding:0 0 16px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__tools{padding:16px 0 10px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input{margin:0 0 16px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-input input[type=text]{margin:0;width:100%}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-actions{right:4px;top:4px}.ghostkit-components-url-picker-inspector .block-editor-link-control .block-editor-link-control__search-results{margin-top:24px;padding:0}.ghostkit-control-sr-direction{border:1px solid #e8eaec;margin-top:20px;padding-top:60%;position:relative;width:100%}.ghostkit-control-sr-direction .components-base-control,.ghostkit-control-sr-direction .components-base-control__field{margin:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap{height:calc(100% - 10px);left:5px;position:absolute;top:5px;width:calc(100% - 10px)}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap>div{align-items:center;display:flex;justify-content:center}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button{border-radius:3px;font-size:10px;height:32px;justify-content:center;padding:10px;text-align:center;transition:background-color .15s,color .15s;width:35px}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button:hover{background-color:#eaeaea}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button.ghostkit-control-sr-direction-active,.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button.ghostkit-control-sr-direction-active:focus{background-color:#000;color:#fff}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap button svg{display:block;height:1.2em;width:auto}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-top{left:0;position:absolute;top:0;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-right{height:100%;position:absolute;right:0;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-bottom{bottom:0;left:0;position:absolute;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-left{height:100%;left:0;position:absolute;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center{left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center button{font-size:5px}.ghostkit-control-sr-presets-menu .components-button[aria-checked=true]{background-color:#000;color:#fff}.ghostkit-control-sr-presets-toggle-active:before{background-color:#000}.ghostkit-control-sr-presets-toggle-active svg{color:#fff}.components-dropdown-menu__menu .ghostkit-block-actions-copy-paste{border-bottom:1px solid #1e1e1e;border-top:1px solid #1e1e1e;margin-bottom:8px;margin-top:8px}.components-dropdown-menu__menu .ghostkit-block-actions-copy-paste .components-menu-group__label{margin-bottom:5px;margin-top:8px}.ghostkit-block-actions-dropdown-paste{width:100%}.ghostkit-component-effects-reveal>.components-popover__content>*+*{margin-top:16px}.ghostkit-tools-panel-effects{grid-column:1/-1}.ghostkit-tools-panel-effects .components-tools-panel-item:has(+.components-tools-panel-item) .ghostkit-component-dropdown-picker-toggle{border-bottom:none}.ghostkit-tools-panel-custom-css{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-control-pre-custom-css{background-color:#e8eaeb;padding:20px}.ghostkit-extension-customCSS-custom__dropdown{display:block;width:100%}.ghostkit-extension-customCSS-custom__dropdown-content .components-popover__content{padding:16px;width:500px}.ghostkit-extension-customCSS-custom__dropdown-content .components-tab-panel__tabs{margin:-16px -16px 16px}.ghostkit-extension-customCSS-custom__dropdown-content-toggle{cursor:pointer;display:block;height:auto;padding:0;position:relative;width:100%}.ghostkit-extension-customCSS-custom__dropdown-content-toggle>span{align-items:center;background-color:var(--wp-admin-theme-color);border-radius:3px;color:#fff;display:flex;font-size:13px;font-weight:400;height:34px;justify-content:center;left:50%;margin-left:-55px;margin-top:-17px;position:absolute;top:50%;transition:background-color .2s;width:110px;z-index:1}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_editor{box-shadow:0 0 0 1px #b3b3b3;transition:box-shadow .2s}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scroller{filter:blur(0);opacity:.2;transition:filter .2s}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scrollbar,.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ace_scroller{overflow:hidden}.ghostkit-extension-customCSS-custom__dropdown-content-toggle .ghostkit-component-code-editor{pointer-events:none}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover>span{background-color:var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover .ace_editor{box-shadow:0 0 0 1px var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle:focus .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle:hover .ace_scroller{filter:blur(2px)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover>span,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active>span{background-color:var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus .ace_editor,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover .ace_editor{box-shadow:0 0 0 2px var(--wp-admin-theme-color-darker-10)}.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:focus .ace_scroller,.ghostkit-extension-customCSS-custom__dropdown-content-toggle-active:hover .ace_scroller{filter:blur(2px)}.ace_editor.ace_autocomplete{z-index:1000000}.ghostkit-tools-panel-frame{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-control-border-row{align-items:center;display:flex;justify-content:space-between}.ghostkit-control-border-row .ghostkit-control-toggle-group{width:60%}.ghostkit-control-border-row .ghostkit-control-toggle-group .components-toggle-group-control{min-height:30px}.ghostkit-control-border-row .ghostkit-component-color-toggle{background:none;border:none;margin-top:4px;padding:0}.ghostkit-control-border-row .ghostkit-component-input-drag{max-width:62px}.ghostkit-control-box-shadow{align-items:flex-start;display:flex}.ghostkit-control-box-shadow>div:first-child{margin-right:auto}.ghostkit-control-box-shadow .ghostkit-component-color-toggle{background:none;border:none;margin-top:5px;padding:0}.ghostkit-control-radius{display:flex}.ghostkit-control-radius>div+div{margin-left:-1px}.ghostkit-control-radius>div:focus-within{z-index:1}.ghostkit-control-radius .ghostkit-control-radius-tl input{border-bottom-right-radius:0;border-top-right-radius:0}.ghostkit-control-radius .ghostkit-control-radius-br input,.ghostkit-control-radius .ghostkit-control-radius-tr input{border-radius:0}.ghostkit-control-radius .ghostkit-control-radius-bl input{border-bottom-left-radius:0;border-top-left-radius:0}.ghostkit-control-radius .components-base-control,.ghostkit-control-radius .components-base-control__field{margin-bottom:0!important}.ghostkit-tools-panel-position{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-tools-panel-display{grid-column:1/-1}.ghostkit-d-none{filter:opacity(.4) saturate(0)}.ghostkit-d-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-block{filter:none}.ghostkit-d-block:after{background-image:none}@media(max-width:1200px){.ghostkit-d-xl-none{filter:opacity(.4) saturate(0)}.ghostkit-d-xl-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-xl-block{filter:none}.ghostkit-d-xl-block:after{background-image:none}}@media(max-width:992px){.ghostkit-d-lg-none{filter:opacity(.4) saturate(0)}.ghostkit-d-lg-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-lg-block{filter:none}.ghostkit-d-lg-block:after{background-image:none}}@media(max-width:768px){.ghostkit-d-md-none{filter:opacity(.4) saturate(0)}.ghostkit-d-md-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-md-block{filter:none}.ghostkit-d-md-block:after{background-image:none}}@media(max-width:576px){.ghostkit-d-sm-none{filter:opacity(.4) saturate(0)}.ghostkit-d-sm-none:after{background-image:linear-gradient(45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:6px 6px}.ghostkit-d-sm-block{filter:none}.ghostkit-d-sm-block:after{background-image:none}}.ghostkit-tools-panel-spacings{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-toolbar-templates{white-space:nowrap}.ghostkit-toolbar-templates .components-button{gap:6px}.ghostkit-has-transform{transform:perspective(var(--gkt-transform-perspective,none)) translateX(var(--gkt-transform-x,0)) translateY(var(--gkt-transform-y,0)) scale(var(--gkt-transform-scale,1)) rotate(var(--gkt-transform-rotate,0deg)) rotateX(var(--gkt-transform-rotate-x,0deg)) rotateY(var(--gkt-transform-rotate-y,0deg)) rotate(var(--gkt-transform-rotate-z,0deg)) skewX(var(--gkt-transform-skew-x,0deg)) skewY(var(--gkt-transform-skew-y,0deg));transform-origin:var(--gkt-transform-origin,50% 50%)}.ghostkit-tools-panel-transform{display:flex;flex-direction:column;gap:15px;grid-column:1/-1}.ghostkit-badge{--gkt-badge__padding-v:0.35em;--gkt-badge__padding-h:0.6em;--gkt-badge__font-size:0.75em;--gkt-badge__font-weight:600;--gkt-badge__line-height:1;--gkt-badge__border-radius:1em;--gkt-badge__text-color:#fff;--gkt-badge-default__color:var(--gkt-color-dark-gray);--gkt-badge-brand__color:var(--gkt-color-brand);--gkt-badge-primary__color:var(--gkt-color-primary);--gkt-badge-success__color:var(--gkt-color-success);--gkt-badge-danger__color:var(--gkt-color-danger);--gkt-badge-warning__color:var(--gkt-color-warning);--gkt-badge-info__color:var(--gkt-color-info);background-color:var(--gkt-badge-default__color);border:0 solid var(--gkt-badge-default__color);border-radius:var(--gkt-badge__border-radius);color:var(--gkt-badge__text-color);display:inline-block;font-size:var(--gkt-badge__font-size);font-weight:var(--gkt-badge__font-weight);line-height:var(--gkt-badge__line-height);padding:var(--gkt-badge__padding-v) var(--gkt-badge__padding-h);text-align:center;vertical-align:middle;white-space:nowrap}.ghostkit-badge-brand{background-color:var(--gkt-badge-brand__color);border-color:var(--gkt-badge-brand__color)}.ghostkit-badge-primary{background-color:var(--gkt-badge-primary__color);border-color:var(--gkt-badge-primary__color)}.ghostkit-badge-success{background-color:var(--gkt-badge-success__color);border-color:var(--gkt-badge-success__color)}.ghostkit-badge-danger{background-color:var(--gkt-badge-danger__color);border-color:var(--gkt-badge-danger__color)}.ghostkit-badge-warning{background-color:var(--gkt-badge-warning__color);border-color:var(--gkt-badge-warning__color)}.ghostkit-badge-info{background-color:var(--gkt-badge-info__color);border-color:var(--gkt-badge-info__color)}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary].ghostkit-badge:not([style]){background-color:#6a6c75}.ghostkit-format-badge-button__indicator{bottom:7px;height:4px;left:13px;position:absolute;width:20px}.ghostkit-text-uppercase{text-transform:uppercase}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-color-palette-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-color-palette-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-color-palette-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-color-palette-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-color-palette-modal .components-modal__header{border-bottom:none;margin-bottom:-10px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-default .components-base-control__field{cursor:not-allowed}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-default .components-circular-option-picker__option-wrapper{pointer-events:none}.ghostkit-plugin-color-palette-modal h4{margin-top:24px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list{display:flex;flex-wrap:wrap}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper{margin-bottom:0;margin-right:5px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper .ghostkit-component-color-toggle{background:none;border:none;padding:0}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list>.ghostkit-component-color-picker-wrapper>.components-base-control__field{margin:0}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-add-new .components-circular-option-picker__option{color:#fff;font-family:sans-serif;font-size:20px;line-height:20px}.ghostkit-plugin-color-palette-modal .ghostkit-plugin-color-palette-list-add-new .components-circular-option-picker__option .components-color-palette__custom-color-gradient{color:#525252}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-custom-code-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-custom-code-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-custom-code-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-custom-code-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-custom-code-modal .components-modal__header{border-bottom:none}.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button.is-toggled .ghostkit-customizer-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:hover .ghostkit-customizer-plugin-icon svg *,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-customizer-plugin-icon svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .ghostkit-customizer-plugin-icon svg *{stroke:initial!important}.ghostkit-plugin-customizer-modal .ghostkit-customizer-info{color:#0085ba;margin-bottom:13px;margin-right:auto;max-width:300px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-spinner{margin-bottom:13px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-spinner>span{float:left;margin:0}.ghostkit-plugin-customizer-modal .components-placeholder__fieldset{z-index:21}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list{margin-top:10px;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div{margin-left:-16px;margin-right:-16px;margin-top:-1px;padding:16px;position:relative;transition:background-color .2s}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div:hover{background-color:#f9f9f9}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-field{margin-bottom:0;width:100%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info{display:flex}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info>*{max-width:60%}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info>*+*{margin-left:15px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-id{opacity:.3;word-break:break-word}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-default{margin-left:auto;opacity:.3;word-break:break-word}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-info-default span{font-weight:700}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove{align-items:center;background:#eaeaea;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:15px;justify-content:center;opacity:0;position:absolute;right:16px;top:14px;transition:opacity .2s,visibility .2s,background-color .2s;visibility:hidden;width:15px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove:hover{background-color:#ff4340}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div .ghostkit-customizer-list-remove span{font-size:10px;height:10px;width:10px}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list>div:hover .ghostkit-customizer-list-remove{opacity:1;visibility:visible}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list .components-toggle-control{margin-bottom:0}.ghostkit-plugin-customizer-modal .ghostkit-customizer-list .components-color-palette{margin-bottom:-10px}.ghostkit-toolbar-responsive~.block-editor-post-preview__dropdown,.ghostkit-toolbar-responsive~.editor-preview-dropdown{display:none}@media screen and (max-width:600px){.ghostkit-toolbar-responsive{display:none}}.ghostkit-toolbar-responsive__button-toggle svg,.ghostkit-toolbar-responsive__dropdown-content .components-menu-item__button svg{height:auto;width:22px}.ghostkit-toolbar-responsive__dropdown-content .components-menu-item__button.is-active{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.interface-pinned-items .components-button .ghostkit-plugin-icon svg{display:block}.interface-pinned-items .components-button:not(.is-toggled,.is-pressed) .ghostkit-plugin-icon svg{color:#2e1645}.plugin-ghostkit-panel .plugin-ghostkit-panel-button{background:none;border:1px solid;border-radius:4px;color:inherit;cursor:pointer;display:block;flex-shrink:0;height:auto;margin-bottom:16px;overflow:hidden;padding:15px 10px;text-align:center;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s;width:100%}.plugin-ghostkit-panel .plugin-ghostkit-panel-button,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:hover{border-color:rgba(79,89,105,.2);box-shadow:none}.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:active:enabled,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:hover{background-color:#f8f9f9;color:#191e23}.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus,.plugin-ghostkit-panel .plugin-ghostkit-panel-button:focus:enabled{border-color:#00669b;box-shadow:0 0 0 2px #007cba;color:#191e23}.plugin-ghostkit-panel .plugin-ghostkit-panel-button svg{display:block;margin:3px auto 10px;text-align:center}.ghostkit-plugin-templates-modal-notice.components-notice{margin-bottom:15px;margin-left:-15px;margin-right:-15px;padding-bottom:0;padding-top:0}.ghostkit-plugin-templates-modal-notice.components-notice h3{font-size:14px}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-hide-header .components-modal__content>.components-modal__header:first-of-type{display:none}.ghostkit-plugin-templates-modal .components-modal__header{border-bottom:none}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-control-tabs{opacity:.3;pointer-events:none}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-plugin-templates-modal-loading-spinner{position:absolute;right:50px;top:14px;z-index:10}.ghostkit-plugin-templates-modal.ghostkit-plugin-templates-modal-loading .ghostkit-plugin-templates-modal-loading-spinner .components-spinner{float:none;margin-left:0}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-categories-row{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-categories-select{margin-bottom:10px;max-width:170px}.ghostkit-plugin-templates-modal .ghostkit-plugin-templates-count{margin-bottom:20px;max-width:170px;opacity:.7}.ghostkit-plugin-templates-modal .components-tab-panel__tab-content{background-color:#f8f9f9;margin:-15px -16px;padding:15px 16px}.ghostkit-templates-missing-block-alert.ghostkit-alert{border-left-color:var(--gkt-color-danger);margin-bottom:20px}.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional{width:100%}.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional,.ghostkit-templates-missing-block-alert.ghostkit-alert .ghostkit-templates-missing-block-additional .components-button{margin-top:10px}.ghostkit-plugin-templates-spinner .components-spinner{float:none;margin-left:0}.ghostkit-plugin-templates-list{display:flex;flex-wrap:wrap;list-style:none;margin-left:-15px;margin-top:-15px;padding:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 33.33%;padding-left:15px;padding-top:15px;width:33.33%}@media screen and (max-width:840px){.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 50%;width:50%}}@media screen and (max-width:450px){.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 100%;width:100%}}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button{background:none;background-color:#fff;border:none;border-radius:4px;box-shadow:0 0 0 1px #edeff0;cursor:pointer;display:block;padding:0;transition:border-color .2s,box-shadow .2s;width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:active,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:focus,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button:hover{box-shadow:0 0 0 2px #007cba}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image{display:block;position:relative}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image img{border-top-left-radius:4px;border-top-right-radius:4px;display:block;height:auto;width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer{width:100%}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer+.lazyload-wrapper img,.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item>button .ghostkit-plugin-templates-list-item-image .ghostkit-plugin-templates-list-item-image-sizer+img{height:100%;left:0;position:absolute;top:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item .ghostkit-plugin-templates-list-item-title{border-top:1px solid #f8f9f9;font-size:10px;font-weight:600;padding:10px;text-transform:uppercase}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item.ghostkit-plugin-templates-list-item-no-thumb>button{background-color:#f3f4f5;border:1px solid #edeff0;padding:20px 10px;text-align:center}.ghostkit-typography-container{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.ghostkit-typography-container+.ghostkit-typography-container{border-top:1px solid #e8eaeb;margin-top:16px}.ghostkit-typography-advanced{margin-top:10px;text-align:right}.is-style-numbered{--gkt-numbered-headings__margin-right:0.4em;--gkt-numbered-headings--h2-number__width:1.6em;--gkt-numbered-headings--h2-number__height:1.6em;--gkt-numbered-headings--h2-number__line-height:1;--gkt-numbered-headings--h2-number__color:#fff;--gkt-numbered-headings--h2-number__background-color:var(--gkt-color-dark-gray);--gkt-numbered-headings--h2-number__border-radius:50%}.editor-styles-wrapper{counter-reset:h2}.editor-styles-wrapper .is-style-numbered:before{margin:0;margin-right:var(--gkt-numbered-headings__margin-right)}.editor-styles-wrapper h2.is-style-numbered:before{align-items:center;background-color:var(--gkt-numbered-headings--h2-number__background-color);border-radius:var(--gkt-numbered-headings--h2-number__border-radius);color:var(--gkt-numbered-headings--h2-number__color);display:inline-flex;height:var(--gkt-numbered-headings--h2-number__height);justify-content:center;line-height:var(--gkt-numbered-headings--h2-number__line-height);width:var(--gkt-numbered-headings--h2-number__width)}.editor-styles-wrapper h2.is-style-numbered{counter-increment:h2;counter-reset:h3}.editor-styles-wrapper h2.is-style-numbered:before{content:counter(h2)}.editor-styles-wrapper h3.is-style-numbered{counter-increment:h3;counter-reset:h4}.editor-styles-wrapper h3.is-style-numbered:before{content:counter(h3)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered:before{content:counter(h2) "." counter(h3)}.editor-styles-wrapper h4.is-style-numbered{counter-increment:h4;counter-reset:h5}.editor-styles-wrapper h4.is-style-numbered:before{content:counter(h4)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered:before{content:counter(h3) "." counter(h4)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4)}.editor-styles-wrapper h5.is-style-numbered{counter-increment:h5;counter-reset:h6}.editor-styles-wrapper h5.is-style-numbered:before{content:counter(h5)}.editor-styles-wrapper h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h4) "." counter(h5)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h3) "." counter(h4) "." counter(h5)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4) "." counter(h5)}.editor-styles-wrapper h6.is-style-numbered{counter-increment:h6}.editor-styles-wrapper h6.is-style-numbered:before{content:counter(h6)}.editor-styles-wrapper h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h5) "." counter(h6)}.editor-styles-wrapper h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h4) "." counter(h5) "." counter(h6)}.editor-styles-wrapper h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h3) "." counter(h4) "." counter(h5) "." counter(h6)}.editor-styles-wrapper h2.is-style-numbered~h3.is-style-numbered~h4.is-style-numbered~h5.is-style-numbered~h6.is-style-numbered:before{content:counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6)}.editor-block-styles__item .editor-styles-wrapper .is-style-numbered:before{content:"1"}.is-style-styled{--gkt-styled-lists--items__line-height:1.5;--gkt-styled-lists--items__gap:0.5em;--gkt-styled-lists--inner-lists__padding-v:1em;--gkt-styled-lists--inner-lists__padding-h:0;--gkt-styled-lists-numbered__padding-left:2em;--gkt-styled-lists-numbered--decoration__top:0;--gkt-styled-lists-numbered--decoration__left:0;--gkt-styled-lists-numbered--decoration__width:2em;--gkt-styled-lists-numbered--decoration__height:2em;--gkt-styled-lists-numbered--decoration__font-size:0.7em;--gkt-styled-lists-numbered--decoration__font-weight:600;--gkt-styled-lists-numbered--decoration__line-height:1;--gkt-styled-lists-numbered--decoration__color:#fff;--gkt-styled-lists-numbered--decoration__background-color:var(--gkt-color-dark-gray);--gkt-styled-lists-numbered--decoration__border-radius:50%;--gkt-styled-lists-dotted__padding-left:2em;--gkt-styled-lists-dotted--decoration__top:0.65em;--gkt-styled-lists-dotted--decoration__left:0.9em;--gkt-styled-lists-dotted--decoration__width:0.2em;--gkt-styled-lists-dotted--decoration__height:0.2em;--gkt-styled-lists-dotted--decoration__background-color:var(--gkt-color-dark-gray)}.is-style-icon{--gkt-icon-lists--items__line-height:1.5;--gkt-icon-lists--items__padding-left:2em;--gkt-icon-lists--items__gap:0.5em;--gkt-icon-lists--inner-lists__padding-v:1em;--gkt-icon-lists--inner-lists__padding-h:0;--gkt-icon-lists--decoration:url('data:image/svg+xml;utf8,');--gkt-icon-lists--decoration__top:0;--gkt-icon-lists--decoration__left:0;--gkt-icon-lists--decoration__width:1.5em;--gkt-icon-lists--decoration__height:1.5em;--gkt-icon-lists--decoration__color:var(--gkt-color-brand)}.editor-styles-wrapper .is-style-icon,.editor-styles-wrapper .is-style-icon ol,.editor-styles-wrapper .is-style-icon ul,.editor-styles-wrapper .is-style-none,.editor-styles-wrapper .is-style-none ol,.editor-styles-wrapper .is-style-none ul,.editor-styles-wrapper .is-style-styled,.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper .is-style-styled ul{list-style:none;padding-left:0}.editor-styles-wrapper .is-style-icon ol,.editor-styles-wrapper .is-style-icon ul,.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper .is-style-styled ul{margin-left:0}.editor-styles-wrapper ol.is-style-styled,.editor-styles-wrapper ul.is-style-styled{line-height:var(--gkt-styled-lists__line-height)}.editor-styles-wrapper ol.is-style-styled li,.editor-styles-wrapper ul.is-style-styled li{list-style:none;margin-left:0}.editor-styles-wrapper ol.is-style-styled li>ol,.editor-styles-wrapper ol.is-style-styled li>ul,.editor-styles-wrapper ul.is-style-styled li>ol,.editor-styles-wrapper ul.is-style-styled li>ul{margin:var(--gkt-styled-lists--inner-lists__padding-v) var(--gkt-styled-lists--inner-lists__padding-h);width:100%}.editor-styles-wrapper ol.is-style-styled li+li,.editor-styles-wrapper ul.is-style-styled li+li{margin-top:var(--gkt-styled-lists--items__gap)}.editor-styles-wrapper .is-style-styled ol,.editor-styles-wrapper ol.is-style-styled{counter-reset:li}.editor-styles-wrapper .is-style-styled ol>li,.editor-styles-wrapper ol.is-style-styled>li{padding-left:var(--gkt-styled-lists-numbered__padding-left);position:relative}.editor-styles-wrapper .is-style-styled ol>li:before,.editor-styles-wrapper ol.is-style-styled>li:before{align-items:center;align-self:flex-start;background-color:var(--gkt-styled-lists-numbered--decoration__background-color);border-radius:var(--gkt-styled-lists-numbered--decoration__border-radius);color:var(--gkt-styled-lists-numbered--decoration__color);content:counter(li);counter-increment:li;display:flex;flex:0 0 var(--gkt-styled-lists-numbered--decoration__width);font-size:var(--gkt-styled-lists-numbered--decoration__font-size);font-weight:var(--gkt-styled-lists-numbered--decoration__font-weight);height:var(--gkt-styled-lists-numbered--decoration__height);justify-content:center;left:var(--gkt-styled-lists-numbered--decoration__left);line-height:var(--gkt-styled-lists-numbered--decoration__line-height);position:absolute;top:var(--gkt-styled-lists-numbered--decoration__top);width:var(--gkt-styled-lists-numbered--decoration__width)}.editor-styles-wrapper .is-style-styled ol[reversed]>li:before,.editor-styles-wrapper ol.is-style-styled[reversed]>li:before{counter-increment:li -1}.editor-styles-wrapper .is-style-styled ul>li,.editor-styles-wrapper ul.is-style-styled>li{padding-left:var(--gkt-styled-lists-dotted__padding-left);position:relative}.editor-styles-wrapper .is-style-styled ul>li:before,.editor-styles-wrapper ul.is-style-styled>li:before{background-color:var(--gkt-styled-lists-dotted--decoration__background-color);content:"";height:var(--gkt-styled-lists-dotted--decoration__height);left:var(--gkt-styled-lists-dotted--decoration__left);position:absolute;top:var(--gkt-styled-lists-dotted--decoration__top);width:var(--gkt-styled-lists-dotted--decoration__width)}.editor-styles-wrapper ol.is-style-icon,.editor-styles-wrapper ul.is-style-icon{line-height:var(--gkt-icon-lists--items__line-height)}.editor-styles-wrapper ol.is-style-icon li,.editor-styles-wrapper ul.is-style-icon li{list-style:none;margin-left:0;padding-left:var(--gkt-icon-lists--items__padding-left);position:relative}.editor-styles-wrapper ol.is-style-icon li:before,.editor-styles-wrapper ul.is-style-icon li:before{background-color:var(--gkt-icon-lists--decoration__color);content:"";flex:0 0 var(--gkt-icon-lists--decoration__width);height:var(--gkt-icon-lists--decoration__height);left:var(--gkt-icon-lists--decoration__left);-webkit-mask-image:var(--gkt-icon-lists--decoration);mask-image:var(--gkt-icon-lists--decoration);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;position:absolute;top:var(--gkt-icon-lists--decoration__top);width:var(--gkt-icon-lists--decoration__width)}.editor-styles-wrapper ol.is-style-icon li>ol,.editor-styles-wrapper ol.is-style-icon li>ul,.editor-styles-wrapper ul.is-style-icon li>ol,.editor-styles-wrapper ul.is-style-icon li>ul{margin:var(--gkt-icon-lists--inner-lists__padding-v) var(--gkt-icon-lists--inner-lists__padding-h);width:100%}.editor-styles-wrapper ol.is-style-icon li+li,.editor-styles-wrapper ul.is-style-icon li+li{margin-top:var(--gkt-icon-lists--items__gap)}.editor-styles-wrapper .ghostkit-list-columns-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-6{-moz-column-count:6;column-count:6}@media(max-width:1200px){.editor-styles-wrapper .ghostkit-list-columns-xl-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-xl-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-xl-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-xl-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-xl-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-xl-6{-moz-column-count:6;column-count:6}}@media(max-width:992px){.editor-styles-wrapper .ghostkit-list-columns-lg-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-lg-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-lg-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-lg-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-lg-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-lg-6{-moz-column-count:6;column-count:6}}@media(max-width:768px){.editor-styles-wrapper .ghostkit-list-columns-md-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-md-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-md-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-md-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-md-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-md-6{-moz-column-count:6;column-count:6}}@media(max-width:576px){.editor-styles-wrapper .ghostkit-list-columns-sm-1{-moz-column-count:1;column-count:1}.editor-styles-wrapper .ghostkit-list-columns-sm-2{-moz-column-count:2;column-count:2}.editor-styles-wrapper .ghostkit-list-columns-sm-3{-moz-column-count:3;column-count:3}.editor-styles-wrapper .ghostkit-list-columns-sm-4{-moz-column-count:4;column-count:4}.editor-styles-wrapper .ghostkit-list-columns-sm-5{-moz-column-count:5;column-count:5}.editor-styles-wrapper .ghostkit-list-columns-sm-6{-moz-column-count:6;column-count:6}}.ghostkit-paragraph-columns-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-6{-moz-column-count:6;column-count:6}@media(max-width:1200px){.ghostkit-paragraph-columns-xl-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-xl-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-xl-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-xl-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-xl-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-xl-6{-moz-column-count:6;column-count:6}}@media(max-width:992px){.ghostkit-paragraph-columns-lg-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-lg-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-lg-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-lg-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-lg-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-lg-6{-moz-column-count:6;column-count:6}}@media(max-width:768px){.ghostkit-paragraph-columns-md-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-md-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-md-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-md-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-md-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-md-6{-moz-column-count:6;column-count:6}}@media(max-width:576px){.ghostkit-paragraph-columns-sm-1{-moz-column-count:1;column-count:1}.ghostkit-paragraph-columns-sm-2{-moz-column-count:2;column-count:2}.ghostkit-paragraph-columns-sm-3{-moz-column-count:3;column-count:3}.ghostkit-paragraph-columns-sm-4{-moz-column-count:4;column-count:4}.ghostkit-paragraph-columns-sm-5{-moz-column-count:5;column-count:5}.ghostkit-paragraph-columns-sm-6{-moz-column-count:6;column-count:6}}svg.ghostkit-svg-icon{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em;width:1em}.ghostkit-icon-spinner,.ghostkit-video-spinner{--gkt-icon-spinner__color:currentcolor;--gkt-icon-spinner__size:20px;--gkt-icon-spinner__border-size:2px;--gkt-icon-spinner__speed:0.3s;--gkt-icon-spinner--background__color:var(--gkt-icon-spinner__color);--gkt-icon-spinner--background__opacity:0.3;animation:ghostkit-icon-spinner var(--gkt-icon-spinner__speed) infinite linear;border:var(--gkt-icon-spinner__border-size) solid transparent;border-left:var(--gkt-icon-spinner__border-size) solid var(--gkt-icon-spinner__color);border-radius:50%;box-sizing:border-box;display:block;height:var(--gkt-icon-spinner__size);position:relative;text-indent:-9999em;width:var(--gkt-icon-spinner__size)}.ghostkit-icon-spinner:after,.ghostkit-video-spinner:after{border:var(--gkt-icon-spinner__border-size) solid var(--gkt-icon-spinner--background__color);border-radius:50%;bottom:calc(var(--gkt-icon-spinner__border-size)*-1);content:"";display:block;left:calc(var(--gkt-icon-spinner__border-size)*-1);opacity:var(--gkt-icon-spinner--background__opacity);position:absolute;right:calc(var(--gkt-icon-spinner__border-size)*-1);top:calc(var(--gkt-icon-spinner__border-size)*-1)}@keyframes ghostkit-icon-spinner{to{transform:rotate(1turn)}}.ghostkit-accordion{--gkt-accordion--heading__margin:0;--gkt-accordion--heading__padding-v:0.75em;--gkt-accordion--heading__padding-h:0;--gkt-accordion--heading__font-weight:500;--gkt-accordion--heading__font-size:1em;--gkt-accordion--heading__line-height:1.6;--gkt-accordion--heading__gap:1em;--gkt-accordion--heading-collapse-icon__font-size:1em;--gkt-accordion--heading-collapse-icon-active__transform:rotate(90deg);--gkt-accordion--content__padding-v:0.75em;--gkt-accordion--content__padding-h:0;--gkt-accordion__transition-duration:var(--gkt-transition-duration);--gkt-accordion__transition-easing:var(--gkt-transition-easing)}.ghostkit-accordion-item{display:block}.ghostkit-accordion-item .ghostkit-accordion-item-heading{align-items:center;display:flex;font-size:var(--gkt-accordion--heading__font-size);font-weight:var(--gkt-accordion--heading__font-weight);gap:var(--gkt-accordion--heading__gap);line-height:var(--gkt-accordion--heading__line-height);margin:var(--gkt-accordion--heading__margin);padding:var(--gkt-accordion--heading__padding-v) var(--gkt-accordion--heading__padding-h);position:relative}.ghostkit-accordion-item .ghostkit-accordion-item-heading>a,.ghostkit-accordion-item a.ghostkit-accordion-item-heading{border-bottom:none;box-shadow:none;color:inherit;text-decoration:none}.ghostkit-accordion-item-collapse{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;font-size:var(--gkt-accordion--heading-collapse-icon__font-size);justify-content:center;margin-left:auto;outline:none;padding:0;transition:var(--gkt-accordion__transition-duration) transform var(--gkt-accordion__transition-easing)}.ghostkit-accordion-item-content{display:none}.ghostkit-accordion-item-active .ghostkit-accordion-item-heading{opacity:1}.ghostkit-accordion-item-active .ghostkit-accordion-item-collapse{transform:var(--gkt-accordion--heading-collapse-icon-active__transform)}.ghostkit-accordion-item-active .ghostkit-accordion-item-content{display:block}.edit-post-visual-editor,.edit-post-visual-editor p,.editor-rich-text__tinymce.mce-content-body{line-height:inherit}.ghostkit-accordion>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{display:none}.ghostkit-accordion-add-item{padding-bottom:5px;text-align:center}.block-editor-inserter__preview .ghostkit-accordion-item-content .block-editor-block-list__layout{margin-left:0;margin-right:0}.ghostkit-alert{--gkt-alert__padding-v:1.5em;--gkt-alert__padding-h:1.5em;--gkt-alert__border-color:var(--gkt-color-warning);--gkt-alert__border-width:1px;--gkt-alert__border-left-width:3px;--gkt-alert__border-radius:var(--gkt-border-radius);--gkt-alert--icon__padding:3px;--gkt-alert--icon__padding-right:1.5em;--gkt-alert--icon__font-size:1em;--gkt-alert--icon__color:var(--gkt-color-warning);--gkt-alert--hide-button__padding-left:1.5em;--gkt-alert--hide-button__font-size:0.8em;--gkt-alert--hide-button-hover__opacity:0.6;--gkt-alert__transition-duration:var(--gkt-transition-duration);--gkt-alert__transition-easing:var(--gkt-transition-easing);border:var(--gkt-alert__border-width) solid var(--gkt-alert__border-color);border-left-width:var(--gkt-alert__border-left-width);border-radius:var(--gkt-alert__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-alert__padding-v) var(--gkt-alert__padding-h);transition:var(--gkt-alert__transition-duration) border-color var(--gkt-alert__transition-easing)}.ghostkit-alert-icon{color:var(--gkt-alert--icon__color);display:flex;font-size:var(--gkt-alert--icon__font-size);padding:var(--gkt-alert--icon__padding);padding-right:var(--gkt-alert--icon__padding-right);transition:var(--gkt-alert__transition-duration) color var(--gkt-alert__transition-easing)}.ghostkit-alert-content{flex:1}.ghostkit-alert-hide-button{cursor:pointer;display:flex;font-size:var(--gkt-alert--hide-button__font-size);opacity:1;padding-left:var(--gkt-alert--hide-button__padding-left);transition:var(--gkt-alert__transition-duration) opacity var(--gkt-alert__transition-easing)}.ghostkit-alert-hide-button:focus,.ghostkit-alert-hide-button:hover{opacity:var(--gkt-alert--hide-button__hover__opacity)}.ghostkit-button-wrapper{--gkt-button__gap:15px;--gkt-button__gap-vertical:var(--gkt-button__gap);--gkt-button__align-items:flex-start;--gkt-button__justify-content:flex-start}.ghostkit-button{--gkt-button__padding-v:0.75em;--gkt-button__padding-h:1em;--gkt-button__line-height:1em;--gkt-button__color:#fff;--gkt-button__background-color:var(--gkt-color-primary);--gkt-button__border-width:0%;--gkt-button__border-color:var(--gkt-color-primary);--gkt-button__border-radius:var(--gkt-border-radius);--gkt-button__outline:none;--gkt-button__box-shadow:none;--gkt-button-hover__color:#fff;--gkt-button-hover__background-color:var(--gkt-color-dark-gray);--gkt-button-hover__border-width:var(--gkt-button__border-width);--gkt-button-hover__border-color:var(--gkt-button__border-color);--gkt-button-hover__box-shadow:var(--gkt-button__box-shadow);--gkt-button-focus__color:var(--gkt-button-hover__color);--gkt-button-focus__background-color:var(--gkt-button-hover__background-color);--gkt-button-focus__border-width:var(--gkt-button-hover__border-width);--gkt-button-focus__border-color:var(--gkt-button-hover__border-color);--gkt-button-focus__box-shadow:var(--gkt-button-hover__box-shadow);--gkt-button-xs__font-size:0.8em;--gkt-button-sm__font-size:0.85em;--gkt-button__font-size:1em;--gkt-button-lg__font-size:1.15em;--gkt-button-xl__font-size:1.3em;--gkt-button-icon-only__padding-v:var(--gkt-button__padding-v);--gkt-button-icon-only__padding-h:var(--gkt-button__padding-v);--gkt-button--icon__offset:10px;--gkt-button__transition-duration:var(--gkt-transition-duration);--gkt-button__transition-easing:var(--gkt-transition-easing)}.ghostkit-button-wrapper-inner{align-items:var(--gkt-button__align-items);clear:both;-moz-column-gap:var(--gkt-button__gap);column-gap:var(--gkt-button__gap);display:flex;flex-wrap:wrap;justify-content:var(--gkt-button__justify-content);row-gap:var(--gkt-button__gap-vertical)}.ghostkit-button{align-items:center;background-color:var(--gkt-button__background-color);border:var(--gkt-button__border-width) solid var(--gkt-button__border-color);border-radius:var(--gkt-button__border-radius);box-shadow:var(--gkt-button__box-shadow);color:var(--gkt-button__color);cursor:pointer;display:inline-flex;font-size:var(--gkt-button__font-size);justify-content:center;line-height:var(--gkt-button__line-height);margin:0;outline:var(--gkt-button__outline);padding:var(--gkt-button__padding-v) var(--gkt-button__padding-h);text-align:center;text-decoration:none!important;transition:var(--gkt-button__transition-duration) background-color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) border-color var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) opacity var(--gkt-button__transition-easing),var(--gkt-button__transition-duration) box-shadow var(--gkt-button__transition-easing);white-space:nowrap}.ghostkit-button:hover{background-color:var(--gkt-button-hover__background-color);border:var(--gkt-button-hover__border-width) solid var(--gkt-button-hover__border-color);box-shadow:var(--gkt-button-hover__box-shadow);color:var(--gkt-button-hover__color)}.ghostkit-button:active,.ghostkit-button:focus{background-color:var(--gkt-button-focus__background-color);border:var(--gkt-button-focus__border-width) solid var(--gkt-button-focus__border-color);box-shadow:var(--gkt-button-focus__box-shadow);color:var(--gkt-button-focus__color)}.ghostkit-button-icon-left{margin-right:var(--gkt-button--icon__offset)}.ghostkit-button-icon-right{margin-left:var(--gkt-button--icon__offset);order:2}.ghostkit-button-icon-only{padding:var(--gkt-button-icon-only__padding-v) var(--gkt-button-icon-only__padding-h)}.ghostkit-button-icon-only .ghostkit-button-icon{margin:0}.ghostkit-button-xs{font-size:var(--gkt-button-xs__font-size)}.ghostkit-button-sm{font-size:var(--gkt-button-sm__font-size)}.ghostkit-button-lg{font-size:var(--gkt-button-lg__font-size)}.ghostkit-button-xl{font-size:var(--gkt-button-xl__font-size)}.ghostkit-button-wrapper-align-left{--gkt-button__justify-content:flex-start}.ghostkit-button-wrapper-align-right{--gkt-button__justify-content:flex-end}.ghostkit-button-wrapper-align-center{--gkt-button__justify-content:center}.ghostkit-button-wrapper-gap-no{--gkt-button__gap:0%}.ghostkit-button-wrapper-gap-sm{--gkt-button__gap:15px}.ghostkit-button-wrapper-gap-md{--gkt-button__gap:30px}.ghostkit-button-wrapper-gap-lg{--gkt-button__gap:45px}.ghostkit-button-wrapper .blocks-rich-text__tinymce{cursor:text}.ghostkit-button-wrapper .block-list-appender__toggle{min-width:unset}.ghostkit-button-wrapper .block-list-appender__toggle.has-icon svg{margin:0}.ghostkit-button .editor-rich-text__tinymce{line-height:1em}.ghostkit-button.ghostkit-button-is-normal-state{background-color:var(--gkt-button__background-color);border:var(--gkt-button__border-width) solid var(--gkt-button__border-color);box-shadow:var(--gkt-button__box-shadow);color:var(--gkt-button__color)}.ghostkit-button.ghostkit-button-is-hover-state{background-color:var(--gkt-button-hover__background-color);border:var(--gkt-button-hover__border-width) solid var(--gkt-button-hover__border-color);box-shadow:var(--gkt-button-hover__box-shadow);color:var(--gkt-button-hover__color)}.ghostkit-button.ghostkit-button-is-focus-state{background-color:var(--gkt-button-focus__background-color);border:var(--gkt-button-focus__border-width) solid var(--gkt-button-focus__border-color);box-shadow:var(--gkt-button-focus__box-shadow);color:var(--gkt-button-focus__color)}.ghostkit-carousel{--gkt-carousel--fade-edges__size:12%;--gkt-carousel--arrows__width:2.2em;--gkt-carousel--arrows__height:2.2em;--gkt-carousel--arrows__offset:0.5em;--gkt-carousel--arrows__font-size:0.9em;--gkt-carousel--arrows__color:var(--gkt-color-dark-gray);--gkt-carousel--arrows__background-color:#fff;--gkt-carousel--arrows__border-radius:50%;--gkt-carousel--arrows__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-carousel--arrows__opacity:0.5;--gkt-carousel--arrows-hover__box-shadow:0 2px 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-carousel--arrows-hover__opacity:1;--gkt-carousel--arrows-hover__transform:translateY(-1px);--gkt-carousel--bullets__width:0.4em;--gkt-carousel--bullets__height:0.4em;--gkt-carousel--bullets__margin-top:25px;--gkt-carousel--bullets__gap:0.8em;--gkt-carousel--bullets__background-color:var(--gkt-color-dark-gray);--gkt-carousel--bullets__border-radius:50%;--gkt-carousel--bullets__opacity:0.2;--gkt-carousel--bullets-hover__opacity:0.5;--gkt-carousel--bullets-active__opacity:1;--gkt-carousel__transition-duration:var(--gkt-transition-duration);--gkt-carousel__transition-easing:var(--gkt-transition-easing);--gkt-carousel-gap:20px;--gkt-carousel-slides-per-view:2;overflow-x:auto;overflow-y:hidden;padding-bottom:10px;position:relative}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;gap:var(--gkt-carousel-gap);margin:0}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{--gkt-carousel-slide-width:calc(100%/var(--gkt-carousel-slides-per-view) - var(--gkt-carousel-gap)*(var(--gkt-carousel-slides-per-view) - 1)/var(--gkt-carousel-slides-per-view));background-color:hsla(0,0%,49%,.05);flex:0 0 var(--gkt-carousel-slide-width);margin:0;max-width:var(--gkt-carousel-slide-width);min-width:var(--gkt-carousel-slide-width)}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block:last-of-type{margin-right:0}.ghostkit-carousel>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender{min-width:auto}.ghostkit-carousel-fade-edges{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--gkt-carousel--fade-edges__size),#000 calc(100% - var(--gkt-carousel--fade-edges__size)),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 var(--gkt-carousel--fade-edges__size),#000 calc(100% - var(--gkt-carousel--fade-edges__size)),transparent 100%)}.block-editor-inserter__preview .ghostkit-carousel-slide .block-editor-block-list__layout,.block-editor-inserter__preview .ghostkit-carousel-slide .block-editor-block-list__layout .wp-block-image{margin:0}.editor-styles-wrapper .ghostkit-changelog,.ghostkit-changelog{--gkt-changelog--version-badge__min-width:3.6em;--gkt-changelog--version-badge__padding-v:0.1em;--gkt-changelog--version-badge__padding-h:0.6em;--gkt-changelog--version-badge__font-weight:600;--gkt-changelog--version-badge__color:#fff;--gkt-changelog--version-badge__background-color:var(--gkt-color-dark-gray);--gkt-changelog--version-badge__border-radius:1em;--gkt-changelog--date__margin-left:1em;--gkt-changelog--date__font-size:1em;--gkt-changelog--line__top:2.5em;--gkt-changelog--line__left:calc(var(--gkt-changelog--version-badge__min-width)/2);--gkt-changelog--line__width:3px;--gkt-changelog--line__background-color:var(--gkt-color-dark-gray);--gkt-changelog--line__border-radius:1em;--gkt-changelog--line__opacity:0.2;--gkt-changelog--content__margin-top:1.5em;--gkt-changelog--content-lists__margin-bottom:1em;--gkt-changelog--content-badges__min-width:6.5em;--gkt-changelog--content-badges__margin-right:1em;--gkt-changelog--content-badges__font-size:0.65em;--gkt-changelog--content-badges__font-weight:600;--gkt-changelog--content-badges__text-transform:uppercase}.editor-styles-wrapper .ghostkit-changelog{align-items:center;display:flex;flex-wrap:wrap;position:relative;z-index:0}.editor-styles-wrapper .ghostkit-changelog:before{background-color:var(--gkt-changelog--line__background-color);border-radius:var(--gkt-changelog--line__border-radius);bottom:0;content:"";display:block;left:var(--gkt-changelog--line__left);opacity:var(--gkt-changelog--line__opacity);position:absolute;top:var(--gkt-changelog--line__top);width:var(--gkt-changelog--line__width);z-index:-1}.editor-styles-wrapper .ghostkit-changelog-version{background-color:var(--gkt-changelog--version-badge__background-color);border-radius:var(--gkt-changelog--version-badge__border-radius);color:var(--gkt-changelog--version-badge__color);font-weight:var(--gkt-changelog--version-badge__font-weight);min-width:var(--gkt-changelog--version-badge__min-width);padding:var(--gkt-changelog--version-badge__padding-v) var(--gkt-changelog--version-badge__padding-h);text-align:center}.editor-styles-wrapper .ghostkit-changelog .ghostkit-changelog-date{font-size:var(--gkt-changelog--date__font-size);margin:0;margin-left:var(--gkt-changelog--date__margin-left)}.editor-styles-wrapper .ghostkit-changelog-more{margin-top:var(--gkt-changelog--content__margin-top);padding-left:calc(var(--gkt-changelog--version-badge__min-width) + var(--gkt-changelog--date__margin-left));width:100%}@media screen and (max-width:768px){.editor-styles-wrapper .ghostkit-changelog-more{padding-left:0}}.editor-styles-wrapper .ghostkit-changelog .ghostkit-badge{font-size:var(--gkt-changelog--content-badges__font-size);font-weight:var(--gkt-changelog--content-badges__font-weight);margin-right:var(--gkt-changelog--content-badges__margin-right);min-width:var(--gkt-changelog--content-badges__min-width);text-transform:var(--gkt-changelog--content-badges__text-transform)}.ghostkit-changelog .ghostkit-changelog-date h2{font-size:inherit}.ghostkit-countdown{--gkt-countdown--unit__min-width:6.2em;--gkt-countdown--unit__padding-v:0.7em;--gkt-countdown--unit__padding-h:1.4em;--gkt-countdown--unit-number__font-weight:700;--gkt-countdown--unit-number__font-size:2em;--gkt-countdown--unit-number__color:var(--gkt-color-primary);--gkt-countdown--unit-label__font-size:1em;--gkt-countdown--unit-label__color:inherit;display:flex;flex-wrap:wrap}.ghostkit-countdown-units-align-left{justify-content:flex-start}.ghostkit-countdown-units-align-center{justify-content:center}.ghostkit-countdown-units-align-right{justify-content:flex-end}.ghostkit-countdown-unit{flex:0 0 auto;min-width:var(--gkt-countdown--unit__min-width);padding:var(--gkt-countdown--unit__padding-v) var(--gkt-countdown--unit__padding-h);text-align:center}.ghostkit-countdown-unit span{display:block}.ghostkit-countdown-unit-number{color:var(--gkt-countdown--unit-number__color);font-size:var(--gkt-countdown--unit-number__font-size);font-weight:var(--gkt-countdown--unit-number__font-weight)}.ghostkit-countdown-unit-label{color:var(--gkt-countdown--unit-label__color);font-size:var(--gkt-countdown--unit-label__font-size)}.ghostkit-countdown-expire-action{background-color:#f9f9f9;border:1px solid #efefef;border-radius:3px;display:none;display:block;margin-top:15px;padding:15px;width:100%}.ghostkit-countdown-expire-action-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600}.ghostkit-counter-box{--gkt-counter-box__padding-v:1.5em;--gkt-counter-box__padding-h:1.5em;--gkt-counter-box__border-width:1px;--gkt-counter-box__border-color:var(--gkt-color-light-gray-darken);--gkt-counter-box__border-radius:var(--gkt-border-radius);--gkt-counter-box--number__offset:1.5em;--gkt-counter-box--number__font-size:2.5em;--gkt-counter-box--number__color:var(--gkt-color-primary);--gkt-counter-box__transition-duration:var(--gkt-transition-duration);--gkt-counter-box__transition-easing:var(--gkt-transition-easing);border:var(--gkt-counter-box__border-width) solid var(--gkt-counter-box__border-color);border-radius:var(--gkt-counter-box__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-counter-box__padding-v) var(--gkt-counter-box__padding-h)}.ghostkit-counter-box-with-link{position:relative}.ghostkit-counter-box-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-counter-box-number{color:var(--gkt-counter-box--number__color);display:flex;font-size:var(--gkt-counter-box--number__font-size);transition:var(--gkt-counter-box__transition-duration) color var(--gkt-counter-box__transition-easing)}.ghostkit-counter-box-number~.ghostkit-counter-box-content{padding-left:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-right{order:2;padding-right:0}.ghostkit-counter-box-number-align-right~.ghostkit-counter-box-content{padding-left:0;padding-right:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-top{flex:100%;justify-content:center;padding-right:0}.ghostkit-counter-box-number-align-top~.ghostkit-counter-box-content{flex:100%;padding-left:0;padding-top:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-top-align-left{justify-content:flex-start}.ghostkit-counter-box-number-top-align-center{justify-content:center}.ghostkit-counter-box-number-top-align-right{justify-content:flex-end}.ghostkit-counter-box-content{flex:1}.ghostkit-divider{--gkt-divider__padding-v:0.75em;--gkt-divider__padding-h:0;--gkt-divider__border-width:1px;--gkt-divider__border-color:var(--gkt-color-dark-gray);--gkt-divider--icon__padding-v:0;--gkt-divider--icon__padding-h:1em;--gkt-divider--icon__font-size:1em;--gkt-divider--icon__color:var(--gkt-color-dark-gray);--gkt-divider__transition-duration:var(--gkt-transition-duration);--gkt-divider__transition-easing:var(--gkt-transition-easing);align-items:center;display:flex;flex-wrap:wrap;padding:var(--gkt-divider__padding-v) var(--gkt-divider__padding-h)}.ghostkit-divider:after,.ghostkit-divider:before{border-bottom:var(--gkt-divider__border-width) solid var(--gkt-divider__border-color);content:"";display:block;flex:1;max-width:50%;transition:var(--gkt-divider__transition-duration) border-color var(--gkt-divider__transition-easing)}.ghostkit-divider:not(.ghostkit-divider-with-icon):before{max-width:100%}.ghostkit-divider:not(.ghostkit-divider-with-icon):after{display:none}.ghostkit-divider-type-solid:after,.ghostkit-divider-type-solid:before{border-bottom-style:solid}.ghostkit-divider-type-dashed:after,.ghostkit-divider-type-dashed:before{border-bottom-style:dashed}.ghostkit-divider-type-dotted:after,.ghostkit-divider-type-dotted:before{border-bottom-style:dotted}.ghostkit-divider-type-double:after,.ghostkit-divider-type-double:before{border-bottom-style:double}.ghostkit-divider-icon{color:var(--gkt-divider--icon__color);display:flex;font-size:var(--gkt-divider--icon__font-size);padding:var(--gkt-divider--icon__padding-v) var(--gkt-divider--icon__padding-h);transition:var(--gkt-divider__transition-duration) color var(--gkt-divider__transition-easing)}.ghostkit-form{--gkt-form--field__font-family:inherit;--gkt-form--field__font-size:1em;--gkt-form--field__min-height:1.7em;--gkt-form--field-label__margin-bottom:0.5em;--gkt-form--field-label-required-mark__margin-left:0.5em;--gkt-form--field-label-required-mark__color:var(--gkt-color-danger);--gkt-form--field-description__margin-top:0.5em;--gkt-form--field-description__line-height:1;--gkt-form--field-description__opacity:0.5;--gkt-form--field-row__template-columns:repeat(auto-fit,minmax(200px,1fr));--gkt-form--field-row__gap:30px;--gkt-form--field-name-row-with-middle__template-columns:1.5fr 1fr 1.5fr;--gkt-form--field-radio-inline__margin-right:1.2em;--gkt-form--field-checkbox-inline__margin-right:1.2em;--gkt-form--field-textarea__min-height:7em;--gkt-form--errors__margin-top:0.5em;--gkt-form--errors__font-size:0.75em;--gkt-form--errors__line-height:0.75em;--gkt-form--errors__color:var(--gkt-color-danger);--gkt-form--field-success__border-color:var(--gkt-color-success);--gkt-form--field-error__border-color:var(--gkt-color-danger);--gkt-form--alert-success__color:var(--gkt-color-success);--gkt-form--alert-error__color:var(--gkt-color-danger);--gkt-form__transition-duration:var(--gkt-transition-duration);--gkt-form__transition-easing:var(--gkt-transition-easing)}.ghostkit-form-field-label{display:inline-block;margin-bottom:var(--gkt-form--field-label__margin-bottom)}.ghostkit-form-field-label .required{color:var(--gkt-form--field-label-required-mark__color);margin-left:var(--gkt-form--field-label-required-mark__margin-left)}.ghostkit-form-field-label-hidden{left:-99999px;position:absolute}.ghostkit-form-field-description{display:block;line-height:var(--gkt-form--field-description__line-height);margin-top:var(--gkt-form--field-description__margin-top);opacity:var(--gkt-form--field-description__opacity)}.ghostkit-form-field-description-hidden{left:-99999px;position:absolute}.ghostkit-form-field-row{display:grid;gap:var(--gkt-form--field-row__gap);grid-template-columns:var(--gkt-form--field-row__template-columns)}@media(max-width:768px){.ghostkit-form-field-row{grid-template-columns:1fr}}.ghostkit-form-field-name-with-middle .ghostkit-form-field-row{grid-template-columns:var(--gkt-form--field-name-row-with-middle__template-columns)}@media(max-width:768px){.ghostkit-form-field-name-with-middle .ghostkit-form-field-row{grid-template-columns:1fr}}.ghostkit-form-field input:not([type=checkbox],[type=radio]),.ghostkit-form-field select,.ghostkit-form-field textarea{font-family:var(--gkt-form--field__font-family);font-size:var(--gkt-form--field__font-size);max-width:100%;min-height:var(--gkt-form--field__min-height);width:100%}.ghostkit-form-field textarea{min-height:var(--gkt-form--field-textarea__min-height)}.ghostkit-form-field-radio .ghostkit-form-field-radio-item{display:block}.ghostkit-form-field-radio-inline .ghostkit-form-field-radio-item{display:inline-block;margin-right:var(--gkt-form--field-radio-inline__margin-right)}.ghostkit-form-field-checkbox .ghostkit-form-field-checkbox-item{display:block}.ghostkit-form-field-checkbox-inline .ghostkit-form-field-checkbox-item{display:inline-block;margin-right:var(--gkt-form--field-checkbox-inline__margin-right)}.ghostkit-form-submit-button{--gkt-button__gap:0%;--gkt-button__align-items:flex-start;--gkt-button__justify-content:flex-start;display:flex;justify-content:var(--gkt-button__align-items)}.ghostkit-form-submit-button-align-left{--gkt-button__align-items:flex-start}.ghostkit-form-submit-button-align-right{--gkt-button__align-items:flex-end}.ghostkit-form-submit-button-align-center{--gkt-button__align-items:center}.ghostkit-form .ghostkit-alert-form-success{--gkt-alert__border-color:var(--gkt-form--alert-success__color)}.ghostkit-form .ghostkit-alert-form-error{--gkt-alert__border-color:var(--gkt-form--alert-error__color)}.ghostkit-form-was-validated input:valid,.ghostkit-form-was-validated select:valid,.ghostkit-form-was-validated textarea:valid{border-color:var(--gkt-form--field-success__border-color)}.ghostkit-form-was-validated input:invalid,.ghostkit-form-was-validated select:invalid,.ghostkit-form-was-validated textarea:invalid{border-color:var(--gkt-form--field-error__border-color)}.ghostkit-form .ghostkit-form-field-error{color:var(--gkt-form--errors__color);font-family:inherit;font-size:var(--gkt-form--errors__font-size);line-height:var(--gkt-form--errors__line-height);margin:0;margin-top:var(--gkt-form--errors__margin-top);padding:0}.ghostkit-form .ghostkit-form-field-error:empty,.ghostkit-form .ghostkit-form-field-error[aria-hidden=true]{display:none}.ghostkit-form [name=ghostkit_verify_email]{height:0;left:0;opacity:0;position:absolute;top:0;width:0;z-index:-1}.ghostkit-form>.block-editor-inserter{display:block;margin-top:20px}.ghostkit-form-field-row>div>.components-base-control,.ghostkit-form-field>.components-base-control{font-family:inherit;font-size:1em}.ghostkit-form-field-description{margin-bottom:0}.ghostkit-form-field-label>.block-editor-rich-text{display:inline-block}.ghostkit-form-field .components-select-control__input,.ghostkit-form-field .components-text-control__input,.ghostkit-form-field .components-textarea-control__input,.ghostkit-form-field .ghostkit-form-field-checkbox-item,.ghostkit-form-field .ghostkit-form-field-radio-item{pointer-events:none}.ghostkit-form-field .components-select-control__input{max-width:none}.ghostkit-form-submit-button>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;justify-content:var(--gkt-button__align-items)}.ghostkit-form-submit-button>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{margin:0}.ghostkit-field-options-item{align-items:center;display:flex;margin-bottom:8px}.ghostkit-field-options-item>[type=checkbox],.ghostkit-field-options-item>[type=radio]{margin-bottom:0}.ghostkit-field-options-item>.components-base-control{flex:1}.ghostkit-field-options-item>.components-button{height:30px;margin-left:3px;padding-bottom:4px;padding-right:0;padding-top:4px}.ghostkit-field-options-item .components-base-control__field{margin-bottom:0}.ghostkit-field-options-item .components-text-control__input{pointer-events:inherit}.ghostkit-field-options>.components-button{margin-top:-4px;padding-left:16px;padding-top:0}.ghostkit-gif img{height:auto;width:100%}.ghostkit-gif-wrap .components-base-control__field{text-align:center}.ghostkit-gif-wrap .components-placeholder__label svg{margin-right:1ch}.ghostkit-gif-input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-bottom:10px;max-width:400px;width:100%;z-index:1}.ghostkit-gif-input-container .ghostkit-gif-input{flex:1;min-width:100px}.ghostkit-gif-input-container .ghostkit-gif-input .components-base-control__field{margin-bottom:0}.ghostkit-gif-input-container .ghostkit-gif-input .components-text-control__input{height:36px}.ghostkit-gif-thumbnails-container{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;grid-gap:10px;margin-bottom:13px;width:100%}.components-panel .ghostkit-gif-thumbnails-container{grid-template-columns:1fr 1fr}.ghostkit-gif-thumbnail-container{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:3px;cursor:pointer;padding:0 0 100%;transition:box-shadow .2s;width:100%}.ghostkit-gif-thumbnail-container:hover{box-shadow:0 0 0 2px #555d66}.ghostkit-gif-thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.ghostkit-gist .blob-wrapper{-webkit-overflow-scrolling:touch}.ghostkit-gist .blob-num{border:none}.ghostkit-gist table{table-layout:auto}.ghostkit-gist.components-placeholder{align-items:flex-start;background-color:#f8f9f9;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;min-height:0;padding:14px}.ghostkit-gist.components-placeholder .components-placeholder__label{justify-content:flex-start;margin-bottom:0;margin-right:14px;margin-top:5px}.ghostkit-gist.components-placeholder .components-placeholder__label~*{width:auto}.ghostkit-gist.components-placeholder .components-placeholder__fieldset{align-items:flex-end;flex:1;flex-direction:column;justify-content:flex-start;max-width:none}.ghostkit-gist.components-placeholder .components-placeholder__fieldset>a{margin-left:10px}.ghostkit-gist.components-placeholder .components-base-control{margin:0;width:100%}.ghostkit-gist-toolbar-url .components-base-control__field{align-items:center;display:flex;margin:7px;width:300px}.ghostkit-google-maps{--gkt-google-maps__background-color:var(--gkt-color-light-gray);--gkt-google-maps--placeholder-icon__width:36px;--gkt-google-maps--placeholder-icon__height:36px;--gkt-google-maps--placeholder-icon__background-image:url('data:image/svg+xml;utf8,');--gkt-google-maps--placeholder-icon__opacity:0.3}.ghostkit-google-maps-fullheight .ghostkit-google-maps-placeholder,.ghostkit-google-maps-fullheight .ghostkit-google-maps-wrap{height:100vh}.ghostkit-google-maps-wrap .components-resizable-box__container>div{height:100%;width:100%}.ghostkit-google-maps-search{background-color:#f9f9f9;border:1px solid #efefef;border-radius:3px;display:flex;flex-wrap:wrap;margin-top:15px;padding:15px 0}.ghostkit-google-maps-search>div{flex:1;max-width:250px;min-width:250px;padding-left:15px;padding-right:15px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;padding-top:20px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note p{line-height:1.4;margin-top:0}.ghostkit-google-maps-search .ghostkit-google-maps-search-note p+p{margin-top:-10px}.ghostkit-google-maps-search .ghostkit-google-maps-search-note small{font-size:12px;opacity:.6}.ghostkit-google-maps-search .ghostkit-google-maps-search-note small+small{margin-left:10px}.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper,.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper>div{margin-bottom:0}.ghostkit-google-maps-markers .ghostkit-component-dropdown-picker-wrapper+.ghostkit-component-dropdown-picker-wrapper .components-button{border-top:none}.ghostkit-google-maps-marker-remove{box-shadow:none!important;color:#b9b9b9;float:right;font-size:10px;padding:0}.ghostkit-google-maps-marker-remove:focus,.ghostkit-google-maps-marker-remove:hover{color:#e73535}.ghostkit-component-google-maps-markers>.components-popover__content{display:flex;flex-direction:column;gap:10px}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-icon{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.ghostkit-component-google-maps-markers .ghostkit-google-maps-icon-reset{float:right}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text{border:1px solid #e8e8e8;padding:10px}.ghostkit-component-google-maps-markers .ghostkit-google-maps-marker-options-content-info-window-text .editor-rich-text p:last-child{margin-bottom:0}.ghostkit-google-maps-placeholder{background-color:var(--gkt-google-maps__background-color);position:relative}.ghostkit-google-maps-placeholder svg{left:50%;opacity:var(--gkt-google-maps--placeholder-icon__opacity);position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-google-maps-placeholder .ghostkit-google-maps-placeholder-key{background-color:#fff;border:1px solid #dadada;bottom:0;font-size:13px;margin:10px;padding:5px 10px;position:absolute}.pac-container{box-shadow:0 2px 17px rgba(0,0,0,.2)}.pac-container:after{background-position:calc(100% - 7px) 1px;background-size:80px;height:20px}.pac-container .pac-item{border-top:1px solid #f3f3f3;padding:2px 6px}.ghostkit-grid{--gkt-grid__gap:15px;--gkt-grid__gap-vertical:var(--gkt-grid__gap);--gkt-grid__justify-content:flex-start;--gkt-grid--column__align-self:flex-start;--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__order:initial;--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column-sticky__offset:0}.ghostkit-grid-inner{display:flex;flex-wrap:wrap;justify-content:var(--gkt-grid__justify-content);margin-left:calc(var(--gkt-grid__gap)*-1);row-gap:var(--gkt-grid__gap-vertical)}.ghostkit-col,.ghostkit-grid{padding-top:.02px}.ghostkit-col{display:flex;flex:var(--gkt-grid--column__flex);flex-wrap:wrap;margin-left:var(--gkt-grid__gap);max-width:var(--gkt-grid--column__max-width);min-height:1px;order:var(--gkt-grid--column__order);position:relative;width:var(--gkt-grid--column__width)}.ghostkit-col-content{align-self:var(--gkt-grid--column__align-self);width:100%}.ghostkit-col{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-first{--gkt-grid--column__order:-1}.ghostkit-col-order-last{--gkt-grid--column__order:13}.ghostkit-col-order-0{--gkt-grid--column__order:0}.ghostkit-col-order-1{--gkt-grid--column__order:1}.ghostkit-col-order-2{--gkt-grid--column__order:2}.ghostkit-col-order-3{--gkt-grid--column__order:3}.ghostkit-col-order-4{--gkt-grid--column__order:4}.ghostkit-col-order-5{--gkt-grid--column__order:5}.ghostkit-col-order-6{--gkt-grid--column__order:6}.ghostkit-col-order-7{--gkt-grid--column__order:7}.ghostkit-col-order-8{--gkt-grid--column__order:8}.ghostkit-col-order-9{--gkt-grid--column__order:9}.ghostkit-col-order-10{--gkt-grid--column__order:10}.ghostkit-col-order-11{--gkt-grid--column__order:11}.ghostkit-col-order-12{--gkt-grid--column__order:12}@media(max-width:1200px){.ghostkit-col-xl{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-xl-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-xl-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-xl-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-xl-first{--gkt-grid--column__order:-1}.ghostkit-col-order-xl-last{--gkt-grid--column__order:13}.ghostkit-col-order-xl-0{--gkt-grid--column__order:0}.ghostkit-col-order-xl-1{--gkt-grid--column__order:1}.ghostkit-col-order-xl-2{--gkt-grid--column__order:2}.ghostkit-col-order-xl-3{--gkt-grid--column__order:3}.ghostkit-col-order-xl-4{--gkt-grid--column__order:4}.ghostkit-col-order-xl-5{--gkt-grid--column__order:5}.ghostkit-col-order-xl-6{--gkt-grid--column__order:6}.ghostkit-col-order-xl-7{--gkt-grid--column__order:7}.ghostkit-col-order-xl-8{--gkt-grid--column__order:8}.ghostkit-col-order-xl-9{--gkt-grid--column__order:9}.ghostkit-col-order-xl-10{--gkt-grid--column__order:10}.ghostkit-col-order-xl-11{--gkt-grid--column__order:11}.ghostkit-col-order-xl-12{--gkt-grid--column__order:12}}@media(max-width:992px){.ghostkit-col-lg{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-lg-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-lg-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-lg-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-lg-first{--gkt-grid--column__order:-1}.ghostkit-col-order-lg-last{--gkt-grid--column__order:13}.ghostkit-col-order-lg-0{--gkt-grid--column__order:0}.ghostkit-col-order-lg-1{--gkt-grid--column__order:1}.ghostkit-col-order-lg-2{--gkt-grid--column__order:2}.ghostkit-col-order-lg-3{--gkt-grid--column__order:3}.ghostkit-col-order-lg-4{--gkt-grid--column__order:4}.ghostkit-col-order-lg-5{--gkt-grid--column__order:5}.ghostkit-col-order-lg-6{--gkt-grid--column__order:6}.ghostkit-col-order-lg-7{--gkt-grid--column__order:7}.ghostkit-col-order-lg-8{--gkt-grid--column__order:8}.ghostkit-col-order-lg-9{--gkt-grid--column__order:9}.ghostkit-col-order-lg-10{--gkt-grid--column__order:10}.ghostkit-col-order-lg-11{--gkt-grid--column__order:11}.ghostkit-col-order-lg-12{--gkt-grid--column__order:12}}@media(max-width:768px){.ghostkit-col-md{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-md-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-md-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-md-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-md-first{--gkt-grid--column__order:-1}.ghostkit-col-order-md-last{--gkt-grid--column__order:13}.ghostkit-col-order-md-0{--gkt-grid--column__order:0}.ghostkit-col-order-md-1{--gkt-grid--column__order:1}.ghostkit-col-order-md-2{--gkt-grid--column__order:2}.ghostkit-col-order-md-3{--gkt-grid--column__order:3}.ghostkit-col-order-md-4{--gkt-grid--column__order:4}.ghostkit-col-order-md-5{--gkt-grid--column__order:5}.ghostkit-col-order-md-6{--gkt-grid--column__order:6}.ghostkit-col-order-md-7{--gkt-grid--column__order:7}.ghostkit-col-order-md-8{--gkt-grid--column__order:8}.ghostkit-col-order-md-9{--gkt-grid--column__order:9}.ghostkit-col-order-md-10{--gkt-grid--column__order:10}.ghostkit-col-order-md-11{--gkt-grid--column__order:11}.ghostkit-col-order-md-12{--gkt-grid--column__order:12}}@media(max-width:576px){.ghostkit-col-sm{--gkt-grid--column__flex:0 0 auto;--gkt-grid--column__width:auto;--gkt-grid--column__max-width:100%}.ghostkit-col-sm-grow{--gkt-grid--column__flex:1 0 0;--gkt-grid--column__width:100%;--gkt-grid--column__max-width:none}.ghostkit-col-sm-1{--gkt-grid--column__size:8.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-2{--gkt-grid--column__size:16.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-3{--gkt-grid--column__size:25%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-4{--gkt-grid--column__size:33.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-5{--gkt-grid--column__size:41.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-6{--gkt-grid--column__size:50%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-7{--gkt-grid--column__size:58.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-8{--gkt-grid--column__size:66.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-9{--gkt-grid--column__size:75%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-10{--gkt-grid--column__size:83.33333%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-11{--gkt-grid--column__size:91.66667%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-sm-12{--gkt-grid--column__size:100%;--gkt-grid--column__size-with-gap:calc(var(--gkt-grid--column__size) - var(--gkt-grid__gap));--gkt-grid--column__flex:0 0 var(--gkt-grid--column__size-with-gap);--gkt-grid--column__width:var(--gkt-grid--column__size-with-gap);--gkt-grid--column__max-width:var(--gkt-grid--column__size-with-gap)}.ghostkit-col-order-sm-first{--gkt-grid--column__order:-1}.ghostkit-col-order-sm-last{--gkt-grid--column__order:13}.ghostkit-col-order-sm-0{--gkt-grid--column__order:0}.ghostkit-col-order-sm-1{--gkt-grid--column__order:1}.ghostkit-col-order-sm-2{--gkt-grid--column__order:2}.ghostkit-col-order-sm-3{--gkt-grid--column__order:3}.ghostkit-col-order-sm-4{--gkt-grid--column__order:4}.ghostkit-col-order-sm-5{--gkt-grid--column__order:5}.ghostkit-col-order-sm-6{--gkt-grid--column__order:6}.ghostkit-col-order-sm-7{--gkt-grid--column__order:7}.ghostkit-col-order-sm-8{--gkt-grid--column__order:8}.ghostkit-col-order-sm-9{--gkt-grid--column__order:9}.ghostkit-col-order-sm-10{--gkt-grid--column__order:10}.ghostkit-col-order-sm-11{--gkt-grid--column__order:11}.ghostkit-col-order-sm-12{--gkt-grid--column__order:12}}.ghostkit-grid-align-items-start{--gkt-grid--column__align-self:flex-start}.ghostkit-grid-align-items-center{--gkt-grid--column__align-self:center}.ghostkit-grid-align-items-end{--gkt-grid--column__align-self:flex-end}.ghostkit-col-align-self-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-end{--gkt-grid--column__align-self:flex-end}@media(max-width:1200px){.ghostkit-col-align-self-xl-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-xl-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-xl-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:992px){.ghostkit-col-align-self-lg-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-lg-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-lg-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:768px){.ghostkit-col-align-self-md-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-md-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-md-end{--gkt-grid--column__align-self:flex-end}}@media(max-width:576px){.ghostkit-col-align-self-sm-start{--gkt-grid--column__align-self:flex-start}.ghostkit-col-align-self-sm-center{--gkt-grid--column__align-self:center}.ghostkit-col-align-self-sm-end{--gkt-grid--column__align-self:flex-end}}.ghostkit-grid-justify-content-center{--gkt-grid__justify-content:center}.ghostkit-grid-justify-content-end{--gkt-grid__justify-content:flex-end}.ghostkit-grid-justify-content-around{--gkt-grid__justify-content:space-around}.ghostkit-grid-justify-content-between{--gkt-grid__justify-content:space-between}.ghostkit-grid-gap-no{--gkt-grid__gap:0%}.ghostkit-grid-gap-sm{--gkt-grid__gap:15px}.ghostkit-grid-gap-md{--gkt-grid__gap:30px}.ghostkit-grid-gap-lg{--gkt-grid__gap:45px}.ghostkit-col-sticky-top>.ghostkit-col-content{position:sticky;top:var(--gkt-grid--column-sticky__offset)}.ghostkit-col-sticky-bottom{display:flex;flex-direction:column}.ghostkit-col-sticky-bottom>.ghostkit-col-content{bottom:var(--gkt-grid--column-sticky__offset);margin-top:auto;position:sticky}.ghostkit-col-with-bg,.ghostkit-grid-with-bg{position:relative;z-index:0}.ghostkit-col-with-bg>.nk-awb,.ghostkit-col-with-bg>.nk-awb .nk-awb-inner,.ghostkit-col-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-col-with-bg>.nk-awb .nk-awb-wrap,.ghostkit-grid-with-bg>.nk-awb,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-grid-with-bg>.nk-awb .nk-awb-wrap{bottom:0;left:0;margin:0;position:absolute;right:0;top:0;z-index:-99}.ghostkit-col-with-bg>.nk-awb .nk-awb-wrap,.ghostkit-grid-with-bg>.nk-awb .nk-awb-wrap{overflow:hidden}.ghostkit-col-with-bg>.nk-awb .nk-awb-overlay,.ghostkit-grid-with-bg>.nk-awb .nk-awb-overlay{z-index:0}.ghostkit-col-with-bg>.nk-awb .nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;z-index:-100}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner{background-size:contain}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=pattern]>.nk-awb-inner,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=pattern]>.nk-awb-inner{background-repeat:repeat;background-size:auto}.ghostkit-col-with-bg>.nk-awb .nk-awb-inner>.jarallax-img,.ghostkit-grid-with-bg>.nk-awb .nk-awb-inner>.jarallax-img{height:100%;left:0;-o-object-fit:cover;object-fit:cover;pointer-events:none;position:absolute;top:0;width:100%;z-index:-100}.ghostkit-col-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner>.jarallax-img,.ghostkit-grid-with-bg>.nk-awb [data-awb-image-background-size=contain]>.nk-awb-inner>.jarallax-img{-o-object-fit:contain;object-fit:contain}[data-ghostkit-grid-templates-modal-only]{display:none}.ghostkit-col>.awb-gutenberg-preview-block,.ghostkit-grid>.awb-gutenberg-preview-block{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:border .15s ease-in-out}.ghostkit-col>.awb-gutenberg-preview-block:empty,.ghostkit-grid>.awb-gutenberg-preview-block:empty{border:none}.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-overlay,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-overlay{left:0;position:absolute;top:0}.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-inner>div,.ghostkit-col>.awb-gutenberg-preview-block>.nk-awb-inner>img,.ghostkit-col>.awb-gutenberg-preview-block>div,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-inner>div,.ghostkit-grid>.awb-gutenberg-preview-block>.nk-awb-inner>img,.ghostkit-grid>.awb-gutenberg-preview-block>div{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.block-editor-inserter__preview .ghostkit-col-content .block-editor-block-list__layout{margin-left:0;margin-right:0}.block-editor-block-list__block .ghostkit-col-content>.block-list-appender .block-editor-inserter__toggle.components-button{display:block}.ghostkit-select-layout{padding:25px}.ghostkit-select-layout .components-placeholder__fieldset>em{margin-bottom:25px}.ghostkit-select-layout .ghostkit-grid-layout-preview{box-sizing:border-box;display:flex;flex-wrap:wrap;margin-left:-7px;margin-right:-7px}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn{--gkt-grid__gap:0%;background:none;border:2px solid rgba(85,93,102,.75);border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;margin-bottom:14px;margin-left:7px;margin-right:7px;overflow:hidden;padding:0;transition:border-color .15s,background-color .15s;width:85px}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn .ghostkit-col{border-right:2px solid rgba(85,93,102,.75);box-sizing:border-box;height:40px;transition:border-color .15s}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn .ghostkit-col:last-of-type{border-right:none}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:focus,.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:hover{background-color:#fff;border-color:#555d66}.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:focus .ghostkit-col,.ghostkit-select-layout .ghostkit-grid-layout-preview .ghostkit-grid-layout-preview-btn:hover .ghostkit-col{border-color:#555d66}.ghostkit-select-layout .components-button.is-primary{font-size:14px;height:35px;margin-top:10px;padding:0 15px}.ghostkit-background-controls>.components-panel__body>.components-panel__body{border:1px solid #e0e0e0}.ghostkit-icon{--gkt-icon__justify:center;--gkt-icon__width:auto;--gkt-icon__color:inherit;--gkt-icon__background:none;display:grid}.ghostkit-icon svg{display:block;height:100%;width:100%}.ghostkit-icon-flip-vertical svg{transform:scaleY(-1)}.ghostkit-icon-flip-horizontal svg{transform:scaleX(-1)}.ghostkit-icon-flip-vertical.ghostkit-icon-flip-horizontal svg{transform:scaleY(-1) scaleX(-1)}.ghostkit-icon-inner{background:var(--gkt-icon__background);color:var(--gkt-icon__color);justify-self:var(--gkt-icon__justify);width:var(--gkt-icon__width)}.ghostkit-icon .components-dropdown{display:block}.ghostkit-icon>span{transition:transform .15s}.ghostkit-icon-box{--gkt-icon-box__padding-v:1.5em;--gkt-icon-box__padding-h:1.5em;--gkt-icon-box__border-width:1px;--gkt-icon-box__border-color:var(--gkt-color-light-gray-darken);--gkt-icon-box__border-radius:var(--gkt-border-radius);--gkt-icon-box--icon__offset:1.5em;--gkt-icon-box--icon__font-size:1.5em;--gkt-icon-box--icon__color:var(--gkt-color-primary);--gkt-icon-box__transition-duration:var(--gkt-transition-duration);--gkt-icon-box__transition-easing:var(--gkt-transition-easing);border:var(--gkt-icon-box__border-width) solid var(--gkt-icon-box__border-color);border-radius:var(--gkt-icon-box__border-radius);display:flex;flex-wrap:wrap;padding:var(--gkt-icon-box__padding-v) var(--gkt-icon-box__padding-h)}.ghostkit-icon-box-with-link{position:relative}.ghostkit-icon-box-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-icon-box-icon{color:var(--gkt-icon-box--icon__color);display:flex;font-size:var(--gkt-icon-box--icon__font-size);transition:var(--gkt-icon-box__transition-duration) color var(--gkt-icon-box__transition-easing)}.ghostkit-icon-box-icon~.ghostkit-icon-box-content{padding-left:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-right{order:2;padding-right:0}.ghostkit-icon-box-icon-align-right~.ghostkit-icon-box-content{padding-left:0;padding-right:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-top{flex:100%;justify-content:center;padding-right:0}.ghostkit-icon-box-icon-top-align-left{justify-content:flex-start}.ghostkit-icon-box-icon-top-align-center{justify-content:center}.ghostkit-icon-box-icon-top-align-right{justify-content:flex-end}.ghostkit-icon-box-icon-align-top~.ghostkit-icon-box-content{flex:100%;padding-left:0;padding-top:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-content{flex:1}.ghostkit-image-compare{--gkt-image-compare__position:50%;--gkt-image-compare--divider__width:3px;--gkt-image-compare--divider__background-color:#fff;--gkt-image-compare--divider-icons__font-size:1.3em;--gkt-image-compare--divider-icons__offset:0.3em;--gkt-image-compare--divider-icons__color:#000;--gkt-image-compare--divider-hover-icons__offset:0.35em;--gkt-image-compare--divider-button__width:50px;--gkt-image-compare--divider-button__height:50px;--gkt-image-compare--divider-button__background-color:var(--gkt-image-compare--divider__background-color);--gkt-image-compare--label__backdrop-filter:brightness(0.75) blur(10px);--gkt-image-compare--label__offset:10px;--gkt-image-compare--label__max-width:30%;--gkt-image-compare--label__padding:0.3em 1.6em;--gkt-image-compare--label__font-size:0.8em;--gkt-image-compare--label__text-align:center;--gkt-image-compare--label__color:#fff;--gkt-image-compare--label__background-color:hsla(0,0%,100%,.3);--gkt-image-compare--label__border-radius:3px;--gkt-image-compare__transition-duration:var(--gkt-transition-duration);--gkt-image-compare__transition-easing:var(--gkt-transition-easing);cursor:pointer}.ghostkit-image-compare-images{overflow:hidden;position:relative}.ghostkit-image-compare-images img{display:block;height:auto;width:100%}.ghostkit-image-compare-image-after,.ghostkit-image-compare-image-before{transition:var(--gkt-image-compare__transition-duration) clip-path var(--gkt-image-compare__transition-easing)}.ghostkit-image-compare-image-before{clip-path:polygon(var(--gkt-image-compare__position) 0,var(--gkt-image-compare__position) 100%,0 100%,0 0)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-before{clip-path:polygon(100% 0,100% var(--gkt-image-compare__position),0 var(--gkt-image-compare__position),0 0)}.ghostkit-image-compare-image-after{bottom:0;clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 0);left:0;overflow:hidden;position:absolute;right:0;top:0}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after{clip-path:polygon(100% var(--gkt-image-compare__position),100% 100%,0 100%,0 var(--gkt-image-compare__position))}.ghostkit-image-compare-image-after img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ghostkit-image-compare-images-divider{background-color:var(--gkt-image-compare--divider__background-color);height:100%;left:var(--gkt-image-compare__position);margin-left:calc(var(--gkt-image-compare--divider__width)/-2);position:absolute;top:0;transition-duration:var(--gkt-image-compare__transition-duration);transition-property:left;transition-timing-function:var(--gkt-image-compare__transition-easing);width:var(--gkt-image-compare--divider__width);will-change:left,top}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider{height:var(--gkt-image-compare--divider__width);left:0;margin-left:0;margin-top:calc(var(--gkt-image-compare--divider__width)/-2);top:var(--gkt-image-compare__position);transition-property:top;width:100%}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider:after{bottom:auto;cursor:row-resize;height:var(--gkt-image-compare--divider-button__width);left:0;right:0;top:50%;transform:translateY(-50%);width:auto}.ghostkit-image-compare-images-divider:focus,.ghostkit-image-compare-images-divider:hover{--gkt-image-compare--divider-icons__offset:var(--gkt-image-compare--divider-hover-icons__offset)}.ghostkit-image-compare-images-divider:before{background-color:var(--gkt-image-compare--divider-button__background-color);border-radius:var(--gkt-image-compare--divider-button__width);height:var(--gkt-image-compare--divider-button__height);top:50%;transform:translateX(-50%) translateY(-50%)}.ghostkit-image-compare-images-divider:after,.ghostkit-image-compare-images-divider:before{content:"";display:block;left:50%;position:absolute;width:var(--gkt-image-compare--divider-button__width)}.ghostkit-image-compare-images-divider:after{bottom:0;cursor:col-resize;top:0;transform:translateX(-50%)}.ghostkit-image-compare-images-divider-button-arrow-left,.ghostkit-image-compare-images-divider-button-arrow-right{color:var(--gkt-image-compare--divider-icons__color);font-size:var(--gkt-image-compare--divider-icons__font-size);left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);transition-duration:var(--gkt-image-compare__transition-duration);transition-property:margin-left;transition-timing-function:var(--gkt-image-compare__transition-easing)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left,.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{transition-property:margin-top}.ghostkit-image-compare-images-divider-button-arrow-left svg,.ghostkit-image-compare-images-divider-button-arrow-right svg{color:inherit;display:block;height:1em;max-width:none;width:1em}.ghostkit-image-compare-images-divider-button-arrow-left{margin-left:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left{margin-left:0;margin-top:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left>svg{transform:rotate(90deg)}.ghostkit-image-compare-images-divider-button-arrow-right{margin-left:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{margin-left:0;margin-top:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right>svg{transform:rotate(90deg)}.ghostkit-image-compare-image-label{-webkit-backdrop-filter:var(--gkt-image-compare--label__backdrop-filter);backdrop-filter:var(--gkt-image-compare--label__backdrop-filter);background-color:var(--gkt-image-compare--label__background-color);border-radius:var(--gkt-image-compare--label__border-radius);color:var(--gkt-image-compare--label__color);font-size:var(--gkt-image-compare--label__font-size);max-width:var(--gkt-image-compare--label__max-width);padding:var(--gkt-image-compare--label__padding);position:absolute;text-align:var(--gkt-image-compare--label__text-align);z-index:1}.ghostkit-image-compare-image-before-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-image-after-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{top:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{bottom:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{top:50%;transform:translateY(-50%)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-before-label{bottom:auto;left:auto;top:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after-label{bottom:var(--gkt-image-compare--label__offset);right:auto;top:auto}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{left:50%;transform:translateX(-50%)}.ghostkit-image-compare-placeholder .components-placeholder__fieldset{display:flex;flex-wrap:wrap}.ghostkit-image-compare-placeholder .components-placeholder__fieldset>.components-placeholder{box-shadow:none;flex:1}.ghostkit-image-compare-image-after,.ghostkit-image-compare-image-before,.ghostkit-image-compare-images-divider{transition-duration:0s}.ghostkit-instagram{--gkt-instagram--profile__margin-bottom:2.5em;--gkt-instagram--profile-avatar__border-radius:50%;--gkt-instagram--profile-avatar__offset:1.5em;--gkt-instagram--profile-elements__gap:1.2em;--gkt-instagram--profile-name__font-size:1.4em;--gkt-instagram--profile-stats__gap:1.2em;--gkt-instagram--profile-bio-title__margin-bottom:0.5em;--gkt-instagram--photos__gap:15px;--gkt-instagram--photos__columns:1}.ghostkit-instagram:after{clear:both;content:"";display:block;height:.01px}.ghostkit-instagram-profile{display:flex;flex-wrap:wrap;margin-bottom:var(--gkt-instagram--profile__margin-bottom)}.ghostkit-instagram-profile-avatar img{border-radius:var(--gkt-instagram--profile-avatar__border-radius);display:block;height:auto;margin:0;max-width:100%}.ghostkit-instagram-profile-side{flex:1;max-width:100%}.ghostkit-instagram-profile-avatar+.ghostkit-instagram-profile-side{margin-left:var(--gkt-instagram--profile-avatar__offset)}.ghostkit-instagram-profile-name{font-size:var(--gkt-instagram--profile-name__font-size)}.ghostkit-instagram-profile-name a{border-bottom:none;text-decoration:none}.ghostkit-instagram-profile-name a:focus,.ghostkit-instagram-profile-name a:hover{text-decoration:underline}.ghostkit-instagram-profile-stats{display:flex;flex-wrap:wrap}.ghostkit-instagram-profile-stats>div{margin-right:var(--gkt-instagram--profile-stats__gap)}.ghostkit-instagram-profile-stats>div:last-child{margin-right:0}.ghostkit-instagram-profile .ghostkit-instagram-profile-bio h2{font-size:inherit;margin:0;margin-bottom:var(--gkt-instagram--profile-bio-title__margin-bottom)}div+.ghostkit-instagram-profile-bio,div+.ghostkit-instagram-profile-stats,div+.ghostkit-instagram-profile-website{margin-top:var(--gkt-instagram--profile-elements__gap)}.ghostkit-instagram-items{display:flex;flex-wrap:wrap;margin-left:calc(var(--gkt-instagram--photos__gap)*-1);margin-top:calc(var(--gkt-instagram--photos__gap)*-1)}.ghostkit-instagram-item{flex:0 0 calc(100%/var(--gkt-instagram--photos__columns) - var(--gkt-instagram--photos__gap));margin-left:var(--gkt-instagram--photos__gap);margin-top:var(--gkt-instagram--photos__gap);max-width:calc(100%/var(--gkt-instagram--photos__columns) - var(--gkt-instagram--photos__gap))}.ghostkit-instagram-item img{display:block;height:auto;margin:0;max-width:100%;width:100%}.ghostkit-instagram-columns-2{--gkt-instagram--photos__columns:2}.ghostkit-instagram-columns-3{--gkt-instagram--photos__columns:3}.ghostkit-instagram-columns-4{--gkt-instagram--photos__columns:4}.ghostkit-instagram-columns-5{--gkt-instagram--photos__columns:5}.ghostkit-instagram-columns-6{--gkt-instagram--photos__columns:6}.ghostkit-instagram-columns-7{--gkt-instagram--photos__columns:7}.ghostkit-instagram-columns-8{--gkt-instagram--photos__columns:8}.ghostkit-instagram-columns-9{--gkt-instagram--photos__columns:9}.ghostkit-instagram-columns-10{--gkt-instagram--photos__columns:10}.ghostkit-instagram-gap-no{--gkt-instagram--photos__gap:0%}.ghostkit-instagram-gap-sm{--gkt-instagram--photos__gap:15px}.ghostkit-instagram-gap-md{--gkt-instagram--photos__gap:30px}.ghostkit-instagram-gap-lg{--gkt-instagram--photos__gap:45px}.ghostkit-instagram-spinner{margin-bottom:13px;width:100%}.ghostkit-instagram-spinner>span{float:left;margin:0}.ghostkit-instagram-items{margin-bottom:calc(var(--gkt-instagram--photos__gap)*-1);margin-top:0}.ghostkit-instagram-item{margin-bottom:var(--gkt-instagram--photos__gap);margin-top:0}.ghostkit-lottie{--gkt-lottie__ar:auto;--gkt-lottie__width:100%;aspect-ratio:var(--gkt-lottie__ar);min-height:20px;width:var(--gkt-lottie__width)}.ghostkit-pricing-table{--gkt-pricing-table__gap:15px;--gkt-pricing-table__align-items:flex-start;--gkt-pricing-table__columns:1;--gkt-pricing-table--item__padding-v:2.2em;--gkt-pricing-table--item__padding-h:1.65em;--gkt-pricing-table--item__border-width:1px;--gkt-pricing-table--item__border-color:var(--gkt-color-light-gray-darken);--gkt-pricing-table--item__border-radius:var(--gkt-border-radius);--gkt-pricing-table--elements__gap:2.2em;--gkt-pricing-table--popular-badge__top:1.2em;--gkt-pricing-table--popular-badge__padding-v:0.15em;--gkt-pricing-table--popular-badge__padding-h:1.1em;--gkt-pricing-table--popular-badge__font-size:0.8em;--gkt-pricing-table--popular-badge__color:#fff;--gkt-pricing-table--popular-badge__background-color:var(--gkt-color-primary);--gkt-pricing-table--title__font-size:1em;--gkt-pricing-table--price-amount__font-size:3.5em;--gkt-pricing-table--price-amount__line-height:1.3em;--gkt-pricing-table--price-repeat__font-size:0.8em;--gkt-pricing-table--price-repeat__opacity:0.7;--gkt-pricing-table--features__font-size:0.9em;--gkt-pricing-table--features-items__gap:0.5em}.ghostkit-pricing-table-inner{align-items:var(--gkt-pricing-table__align-items);display:flex;flex-wrap:wrap;margin-left:calc(var(--gkt-pricing-table__gap)*-1);margin-top:calc(var(--gkt-pricing-table__gap)*-1)}.ghostkit-pricing-table-item-wrap{flex:0 0 calc(100%/var(--gkt-pricing-table__columns) - var(--gkt-pricing-table__gap));margin-left:var(--gkt-pricing-table__gap);margin-top:var(--gkt-pricing-table__gap);max-width:calc(100%/var(--gkt-pricing-table__columns) - var(--gkt-pricing-table__gap))}.ghostkit-pricing-table-item{border:var(--gkt-pricing-table--item__border-width) solid var(--gkt-pricing-table--item__border-color);border-radius:var(--gkt-pricing-table--item__border-radius);padding:var(--gkt-pricing-table--item__padding-v) var(--gkt-pricing-table--item__padding-h);position:relative}.ghostkit-pricing-table-item-popular-badge{background-color:var(--gkt-pricing-table--popular-badge__background-color);color:var(--gkt-pricing-table--popular-badge__color);font-size:var(--gkt-pricing-table--popular-badge__font-size);padding:var(--gkt-pricing-table--popular-badge__padding-v) var(--gkt-pricing-table--popular-badge__padding-h);position:absolute;right:calc(var(--gkt-pricing-table--item__border-width)*-1);top:var(--gkt-pricing-table--popular-badge__top)}.ghostkit-pricing-table-item .ghostkit-pricing-table-item-popular-badge{margin-top:0}.ghostkit-pricing-table-item-title{font-size:var(--gkt-pricing-table--title__font-size);margin:0}.ghostkit-pricing-table-item-price{display:flex;justify-content:center;position:relative}.ghostkit-pricing-table-item-price-amount{font-size:var(--gkt-pricing-table--price-amount__font-size);line-height:var(--gkt-pricing-table--price-amount__line-height)}.ghostkit-pricing-table-item-price-currency{align-self:flex-start}.ghostkit-pricing-table-item-price-repeat{align-self:flex-end;font-size:var(--gkt-pricing-table--price-repeat__font-size);opacity:var(--gkt-pricing-table--price-repeat__opacity)}.ghostkit-pricing-table-item-features{font-size:var(--gkt-pricing-table--features__font-size);list-style:none;margin:0;padding:0;position:relative}.ghostkit-pricing-table-item-features li{list-style:none;margin-left:0}.ghostkit-pricing-table-item-features li+li{margin-top:var(--gkt-pricing-table--features-items__gap)}.ghostkit-pricing-table-item .ghostkit-button-wrapper{margin-bottom:0}.ghostkit-pricing-table-item>*{margin-top:var(--gkt-pricing-table--elements__gap)}.ghostkit-pricing-table-item>:first-child{margin-top:0}.ghostkit-pricing-table-items-1{--gkt-pricing-table__columns:1}.ghostkit-pricing-table-items-2{--gkt-pricing-table__columns:2}@media screen and (max-width:768px){.ghostkit-pricing-table-items-2{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-3{--gkt-pricing-table__columns:3}@media screen and (max-width:768px){.ghostkit-pricing-table-items-3{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:4}@media screen and (max-width:768px){.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-4{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:5}@media screen and (max-width:768px){.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-5{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:6}@media screen and (max-width:992px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:3}}@media screen and (max-width:768px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:2}}@media screen and (max-width:576px){.ghostkit-pricing-table-items-6{--gkt-pricing-table__columns:1}}.ghostkit-pricing-table-align-horizontal-left{text-align:left}.ghostkit-pricing-table-align-horizontal-left .ghostkit-pricing-table-item-price{justify-content:flex-start}.ghostkit-pricing-table-align-horizontal-center{text-align:center}.ghostkit-pricing-table-align-horizontal-center .ghostkit-pricing-table-item-price{justify-content:center}.ghostkit-pricing-table-align-horizontal-right{text-align:right}.ghostkit-pricing-table-align-horizontal-right .ghostkit-pricing-table-item-price{justify-content:flex-end}.ghostkit-pricing-table-align-vertical-start{--gkt-pricing-table__align-items:flex-start}.ghostkit-pricing-table-align-vertical-center{--gkt-pricing-table__align-items:center}.ghostkit-pricing-table-align-vertical-end{--gkt-pricing-table__align-items:flex-end}.ghostkit-pricing-table-gap-no{--gkt-pricing-table__gap:0%}.ghostkit-pricing-table-gap-sm{--gkt-pricing-table__gap:15px}.ghostkit-pricing-table-gap-md{--gkt-pricing-table__gap:30px}.ghostkit-pricing-table-gap-lg{--gkt-pricing-table__gap:45px}.ghostkit-pricing-table:after{margin-top:var(--gkt-pricing-table__gap)}.ghostkit-pricing-table-add-item{padding-left:var(--gkt-pricing-table__gap);padding-top:var(--gkt-pricing-table__gap);width:100%}.ghostkit-progress{--gkt-progress__height:15px;--gkt-progress__border-radius:var(--gkt-border-radius);--gkt-progress__background-color:var(--gkt-color-light-gray);--gkt-progress--caption__margin-bottom:0.3em;--gkt-progress--caption__font-size:0.85em;--gkt-progress--count__padding-v:0.1em;--gkt-progress--count__padding-h:0.7em;--gkt-progress--count__font-size:0.6em;--gkt-progress--count__border-radius:1em;--gkt-progress--count__color:#fff;--gkt-progress--count__background-color:var(--gkt-color-dark-gray);--gkt-progress--count-arrow__size:0.35em;--gkt-progress--bar__width:0;--gkt-progress--bar__background-color:var(--gkt-color-primary);--gkt-progress--bar-striped__background-image:linear-gradient(45deg,hsla(0,0%,100%,.1) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.1) 0,hsla(0,0%,100%,.1) 75%,transparent 0,transparent);--gkt-progress--bar-striped__background-size:15px 15px;--gkt-progress__transition-duration:var(--gkt-transition-duration);--gkt-progress__transition-easing:var(--gkt-transition-easing)}.ghostkit-progress-caption{display:block;font-size:var(--gkt-progress--caption__font-size);margin-bottom:var(--gkt-progress--caption__margin-bottom)}.ghostkit-progress-bar-count{position:relative}.ghostkit-progress-bar-count>div{background-color:var(--gkt-progress--count__background-color);border-radius:var(--gkt-progress--count__border-radius);bottom:100%;color:var(--gkt-progress--count__color);font-size:var(--gkt-progress--count__font-size);margin-bottom:calc(.2em + var(--gkt-progress--count-arrow__size));padding:var(--gkt-progress--count__padding-v) var(--gkt-progress--count__padding-h);position:absolute;right:0;transform:translateX(50%);white-space:nowrap}.ghostkit-progress-bar-count>div:after{border-left:var(--gkt-progress--count-arrow__size) solid transparent;border-right:var(--gkt-progress--count-arrow__size) solid transparent;border-top:var(--gkt-progress--count-arrow__size) solid var(--gkt-progress--count__background-color);content:"";display:block;height:0;left:50%;margin-left:calc(var(--gkt-progress--count-arrow__size)*-1);position:absolute;top:100%;width:0}.ghostkit-progress-wrap{background-color:var(--gkt-progress__background-color);border-radius:var(--gkt-progress__border-radius);height:var(--gkt-progress__height);overflow:hidden}.ghostkit-progress-bar,.ghostkit-progress-wrap{transition:var(--gkt-progress__transition-duration) background-color var(--gkt-progress__transition-easing)}.ghostkit-progress-bar{background-color:var(--gkt-progress--bar__background-color);height:100%;width:var(--gkt-progress--bar__width)}.ghostkit-progress-bar-striped .ghostkit-progress-bar{background-image:var(--gkt-progress--bar-striped__background-image);background-size:var(--gkt-progress--bar-striped__background-size)}.ghostkit-progress .components-resizable-box__container.is-selected>.ghostkit-progress-wrap{height:100%}.ghostkit-shape-divider{--gkt-shape-divider__color:var(--gkt-color-primary);--gkt-shape-divider__z-index:1;align-items:center;color:var(--gkt-shape-divider__color);display:flex;justify-content:center;overflow:hidden;z-index:var(--gkt-shape-divider__z-index)}.ghostkit-shape-divider svg{display:block;flex:0 0 auto;min-width:100%}.ghostkit-shape-divider-flip-vertical svg{transform:scaleY(-1)}.ghostkit-shape-divider-flip-horizontal svg{transform:scaleX(-1)}.ghostkit-shape-divider-flip-vertical.ghostkit-shape-divider-flip-horizontal svg{transform:scaleY(-1) scaleX(-1)}.ghostkit-shape-divider-control-styles .ghostkit-component-image-picker-item svg{height:40px;width:100%}.ghostkit-shape-divider-control-styles .ghostkit-shape-divider-control-styles-item-default-arrow svg,.ghostkit-shape-divider-control-styles .ghostkit-shape-divider-control-styles-item-default-arrow-curve svg{height:9px;width:300%}[data-type="ghostkit/shape-divider"].wp-block{margin-bottom:-28px;margin-top:-28px}[data-type="ghostkit/shape-divider"].wp-block+[data-type="ghostkit/shape-divider"]{margin-top:28px}.ghostkit-toc{--gkt-toc-title__margin-bottom:1.5em}.ghostkit-toc-title{margin-bottom:var(--gkt-toc-title__margin-bottom)}.ghostkit-toc{min-height:26px}.ghostkit-toc-spinner{margin-bottom:13px;position:absolute;width:100%}.ghostkit-toc-spinner:after{clear:both;content:"";display:block}.ghostkit-toc-spinner>span,.ghostkit-toc-spinner>svg{float:left;margin:0}.ghostkit-toc-spinner-relative{position:relative}.ghostkit-tabs{--gkt-tabs--buttons__offset:1em;--gkt-tabs--buttons__gap:0;--gkt-tabs--button__padding-v:0.5em;--gkt-tabs--button__padding-h:1.2em;--gkt-tabs--button__font-size:inherit;--gkt-tabs--button__font-weight:500;--gkt-tabs--button__border-width:1px;--gkt-tabs--button__border-color:var(--gkt-color-light-gray-darken);--gkt-tabs--button__border-radius:var(--gkt-border-radius);--gkt-tabs--button__cursor:pointer;--gkt-tabs--button__opacity:0.6;--gkt-tabs--button-active__background-color:#fff;--gkt-tabs--button-active__opacity:1;--gkt-tabs-pills--button__border-radius:var(--gkt-border-radius);--gkt-tabs-pills--button-active__color:#fff;--gkt-tabs-pills--button-active__background-color:var(--gkt-color-dark-gray);--gkt-tabs-radio--button__gap:0.5em;--gkt-tabs-radio--button--radio__width:0.85em;--gkt-tabs-radio--button--radio__height:0.85em;--gkt-tabs-radio--button--radio__border-width:1px;--gkt-tabs-radio--button--radio__border-color:var(--gkt-color-light-gray-darken);--gkt-tabs-radio--button-active--radio__border-color:currentcolor;--gkt-tabs-radio--button--dot__size:0.25em;--gkt-tabs-radio--button--dot__color:transparent;--gkt-tabs-radio--button-active--dot__color:currentcolor;--gkt-tabs__transition-duration:var(--gkt-transition-duration);--gkt-tabs__transition-easing:var(--gkt-transition-easing)}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons{border:none}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item{border:none;border-radius:var(--gkt-tabs-pills--button__border-radius);margin-bottom:0}.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs-pills--button-active__background-color);color:var(--gkt-tabs-pills--button-active__color)}.ghostkit-tabs.is-style-radio{--gkt-tabs--buttons__gap:0.5em 2em;--gkt-tabs--button__padding-v:0;--gkt-tabs--button__padding-h:0;--gkt-tabs--button__border-width:0;--gkt-tabs--button__border-radius:0}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item{align-items:center;display:flex;gap:var(--gkt-tabs-radio--button__gap)}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item:before{border:var(--gkt-tabs-radio--button--radio__border-width) solid var(--gkt-tabs-radio--button--radio__border-color);border-radius:50%;content:"";flex:0 0 auto;height:var(--gkt-tabs-radio--button--radio__height);width:var(--gkt-tabs-radio--button--radio__width)}.ghostkit-tabs.is-style-radio .ghostkit-tabs-buttons-item-active:before{background-image:radial-gradient(circle at 50% center,var(--gkt-tabs-radio--button-active--dot__color) 0,var(--gkt-tabs-radio--button-active--dot__color) var(--gkt-tabs-radio--button--dot__size),transparent calc(var(--gkt-tabs-radio--button--dot__size) + .5px));border-color:var(--gkt-tabs-radio--button-active--radio__border-color)}.ghostkit-tabs-buttons{border-bottom:var(--gkt-tabs--button__border-width) solid var(--gkt-tabs--button__border-color);display:flex;flex-wrap:wrap;gap:var(--gkt-tabs--buttons__gap);margin-bottom:var(--gkt-tabs--buttons__offset)}.ghostkit-tabs-buttons-align-start{justify-content:flex-start}.ghostkit-tabs-buttons-align-center{justify-content:center}.ghostkit-tabs-buttons-align-end{justify-content:flex-end}.ghostkit-tabs-buttons-align-stretch>.ghostkit-tabs-buttons-item{flex-basis:0;flex-grow:1;text-align:center}.ghostkit-tabs-buttons .edit-post-visual-editor,.ghostkit-tabs-buttons .edit-post-visual-editor p,.ghostkit-tabs-buttons .editor-rich-text__tinymce.mce-content-body{line-height:inherit}.ghostkit-tabs-buttons-item{background-color:transparent;border:var(--gkt-tabs--button__border-width) solid transparent;border-top-left-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:var(--gkt-tabs--button__border-radius);box-shadow:none;color:inherit;cursor:pointer;display:block;font-weight:var(--gkt-tabs--button__font-weight);margin-bottom:calc(var(--gkt-tabs--button__border-width)*-1);opacity:var(--gkt-tabs--button__opacity);padding:var(--gkt-tabs--button__padding-v) var(--gkt-tabs--button__padding-h);position:relative;text-decoration:none;transition:var(--gkt-tabs__transition-duration) border-color var(--gkt-tabs__transition-easing),var(--gkt-tabs__transition-duration) background-color var(--gkt-tabs__transition-easing),var(--gkt-tabs__transition-duration) opacity var(--gkt-tabs__transition-easing)}.ghostkit-tabs-buttons-item-active,.ghostkit-tabs-buttons-item:focus,.ghostkit-tabs-buttons-item:hover{opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs--button-active__background-color);border-color:var(--gkt-tabs--button__border-color);border-bottom-color:var(--gkt-tabs--button-active__background-color)}.ghostkit-tabs-buttons-item:not(:hover)>.ghostkit-component-remove-button{opacity:0}.ghostkit-tabs-buttons>.components-button{height:auto;padding:var(--gkt-tabs--button__padding-v) var(--gkt-tabs--button__padding-h)}.ghostkit-tabs-content .ghostkit-tab{display:none}.ghostkit-tabs-content .ghostkit-tab-active{display:block}@media(min-width:768px){.ghostkit-tabs-buttons-vertical{display:flex}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons{border-bottom:none;border-right:var(--gkt-tabs--button__border-width) solid var(--gkt-tabs--button__border-color);flex:0 0 30%;flex-direction:column;margin-bottom:0;max-width:30%}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item{border-bottom-left-radius:var(--gkt-tabs--button__border-radius);border-top-left-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:0;display:block;margin-bottom:0;margin-right:calc(var(--gkt-tabs--button__border-width)*-1)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item:focus,.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item:hover{opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-buttons-item-active{background-color:var(--gkt-tabs--button-active__background-color);border-color:var(--gkt-tabs--button__border-color);border-right-color:var(--gkt-tabs--button-active__background-color);opacity:var(--gkt-tabs--button-active__opacity)}.ghostkit-tabs-buttons-vertical .ghostkit-tabs-content{flex:0 0 70%;max-width:70%;padding-left:var(--gkt-tabs--buttons__offset)}}.ghostkit-testimonial{--gkt-testimonial--icon__top:0.75em;--gkt-testimonial--icon__left:0.75em;--gkt-testimonial--icon__font-size:1.5em;--gkt-testimonial--icon__opacity:0.15;--gkt-testimonial--icon-content__offset:3.5em;--gkt-testimonial--content__padding-v:1.5em;--gkt-testimonial--content__padding-h:1.5em;--gkt-testimonial--content__margin-bottom:1em;--gkt-testimonial--content__background-color:var(--gkt-color-light-gray);--gkt-testimonial--content__border-radius:var(--gkt-border-radius);--gkt-testimonial--meta__offset:1em;--gkt-testimonial--photo__width:50px;--gkt-testimonial--photo__border-radius:25px;--gkt-testimonial--name__line-height:1.6;--gkt-testimonial--name-source__margin-top:0.2em;--gkt-testimonial--source__font-size:0.85em;--gkt-testimonial--source__line-height:1;--gkt-testimonial--source__opacity:0.5;--gkt-testimonial--stars__line-height:1;--gkt-testimonial--stars__height:1em;--gkt-testimonial--stars-front__color:#fdcf27;--gkt-testimonial--stars-back__color:var(--gkt-color-light-gray);--gkt-testimonial--stars-mobile__margin-top:1em;align-items:flex-start;display:flex;flex-wrap:wrap;padding:0;position:relative}.ghostkit-testimonial-with-link{position:relative}.ghostkit-testimonial-link span{height:100%;left:0;position:absolute;top:0;width:100%}.ghostkit-testimonial-icon{font-size:var(--gkt-testimonial--icon__font-size);left:var(--gkt-testimonial--icon__left);opacity:var(--gkt-testimonial--icon__opacity);position:absolute;top:var(--gkt-testimonial--icon__top)}.ghostkit-testimonial-icon+.ghostkit-testimonial-content{padding-left:var(--gkt-testimonial--icon-content__offset)}.ghostkit-testimonial-content{background-color:var(--gkt-testimonial--content__background-color);border-radius:var(--gkt-testimonial--content__border-radius);flex:100%;margin-bottom:var(--gkt-testimonial--content__margin-bottom);padding:var(--gkt-testimonial--content__padding-v) var(--gkt-testimonial--content__padding-h)}.ghostkit-testimonial-photo{border-radius:var(--gkt-testimonial--photo__border-radius);overflow:hidden;width:var(--gkt-testimonial--photo__width)}.ghostkit-testimonial-photo img{display:block;height:auto;width:100%}.ghostkit-testimonial-photo+.ghostkit-testimonial-meta,.ghostkit-testimonial-photo+.ghostkit-testimonial-stars{margin-left:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-meta{display:flex;flex:1;flex-direction:column}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars{margin-left:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-name{line-height:var(--gkt-testimonial--name__line-height)}.ghostkit-testimonial-source{font-size:var(--gkt-testimonial--source__font-size);line-height:var(--gkt-testimonial--source__line-height);opacity:var(--gkt-testimonial--source__opacity)}.ghostkit-testimonial-name+.ghostkit-testimonial-source{margin-top:var(--gkt-testimonial--name-source__margin-top)}.ghostkit-testimonial-stars{line-height:var(--gkt-testimonial--stars__line-height)}.ghostkit-testimonial-stars-wrap{display:inline-block;position:relative}.ghostkit-testimonial-stars-back,.ghostkit-testimonial-stars-front{height:var(--gkt-testimonial--stars__height);overflow:hidden;white-space:nowrap}.ghostkit-testimonial-stars-front{color:var(--gkt-testimonial--stars-front__color);position:absolute}.ghostkit-testimonial-stars-back{color:var(--gkt-testimonial--stars-back__color)}@media(max-width:768px){.ghostkit-testimonial-stars{flex:100%;margin-top:var(--gkt-testimonial--stars-mobile__margin-top)}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars,.ghostkit-testimonial-photo+.ghostkit-testimonial-stars{margin-left:0}}.ghostkit-testimonial-photo button{align-items:center;background-color:#f3f4f5;display:flex;height:var(--gkt-testimonial--photo__width);justify-content:center;width:100%}.ghostkit-testimonial-photo button:focus,.ghostkit-testimonial-photo button:hover,.ghostkit-testimonial-photo button:not(:disabled,[aria-disabled=true]):focus{background-color:#edeff0;box-shadow:none}.ghostkit-testimonial-source .editor-rich-text__tinymce.mce-content-body{line-height:1}.block-editor-inserter__preview .ghostkit-testimonial-photo{margin-top:10px}.block-editor-inserter__preview .ghostkit-testimonial-content .block-editor-block-list__layout{margin-left:20px;margin-right:0}.editor-styles-wrapper .ghostkit-twitter,.ghostkit-twitter{--gkt-twitter--verified-badge__width:14px;--gkt-twitter--verified-badge__height:14px;--gkt-twitter--verified-badge__background-image:url('data:image/svg+xml;utf8,');--gkt-twitter--profile__margin-bottom:2.5em;--gkt-twitter--profile-avatar__border-radius:50%;--gkt-twitter--profile-avatar__offset:1.5em;--gkt-twitter--profile-name__font-size:1.4em;--gkt-twitter--profile-username__font-size:1em;--gkt-twitter--profile-username__font-weight:400;--gkt-twitter--profile-username__font-opacity:0.7;--gkt-twitter--profile-stats__gap:1.2em;--gkt-twitter--profile-elements__gap:1.2em;--gkt-twitter--tweet__margin-bottom:1.5em;--gkt-twitter--tweet-content-img__margin-top:1em;--gkt-twitter--tweet-content-img__border-width:1px;--gkt-twitter--tweet-content-img__border-color:rgba(0,0,0,.1);--gkt-twitter--tweet-content-img__border-radius:var(--gkt-border-radius);--gkt-twitter--tweet-avatar__margin-right:1.2em;--gkt-twitter--tweet-avatar__border-radius:50%;--gkt-twitter--tweet-retweeted__font-size:0.8em;--gkt-twitter--tweet-retweeted__opacity:0.7;--gkt-twitter--tweet-retweeted-icon__margin-right:0.5em;--gkt-twitter--tweet-name__text-decoration:none;--gkt-twitter--tweet-name-hover__text-decoration:underline;--gkt-twitter--tweet-username__opacity:0.7;--gkt-twitter--tweet-date-separator__content:"·";--gkt-twitter--tweet-date-separator__margin-v:0;--gkt-twitter--tweet-date-separator__margin-h:0.5em;--gkt-twitter--tweet-date-separator__font-size:0.7em;--gkt-twitter--tweet-date__opacity:0.7;--gkt-twitter--tweet-date__text-decoration:none;--gkt-twitter--tweet-date-hover__text-decoration:underline;--gkt-twitter--tweet-actions__font-size:0.9em;--gkt-twitter--tweet-actions__gap:1.2em;--gkt-twitter--tweet-actions-link__opacity:0.7;--gkt-twitter--tweet-actions-link-hover__opacity:1;--gkt-twitter--tweet-actions-label__offset:0.3em;--gkt-twitter--tweet-elements__gap:0.5em}.editor-styles-wrapper .ghostkit-twitter:after{clear:both;content:"";display:block;height:.01px}.editor-styles-wrapper .ghostkit-twitter-item-meta-name-verified,.editor-styles-wrapper .ghostkit-twitter-profile-verified{font-size:0}.editor-styles-wrapper .ghostkit-twitter-item-meta-name-verified:before,.editor-styles-wrapper .ghostkit-twitter-profile-verified:before{background-image:var(--gkt-twitter--verified-badge__background-image);content:"";display:inline-block;height:var(--gkt-twitter--verified-badge__height);width:var(--gkt-twitter--verified-badge__width)}.editor-styles-wrapper .ghostkit-twitter-profile-verified:before{height:calc(2px + var(--gkt-twitter--verified-badge__height));width:calc(2px + var(--gkt-twitter--verified-badge__width))}.editor-styles-wrapper .ghostkit-twitter-profile{display:flex;flex-wrap:wrap;margin-bottom:var(--gkt-twitter--profile__margin-bottom)}.editor-styles-wrapper .ghostkit-twitter-profile-avatar img{border-radius:var(--gkt-twitter--profile-avatar__border-radius);display:block;height:auto;margin:0;max-width:100%}.editor-styles-wrapper .ghostkit-twitter-profile-side{flex:1;max-width:100%}.editor-styles-wrapper .ghostkit-twitter-profile-avatar+.ghostkit-twitter-profile-side{margin-left:var(--gkt-twitter--profile-avatar__offset)}.editor-styles-wrapper .ghostkit-twitter-profile-name a{border-bottom:none;color:inherit;text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-profile-name a:focus,.editor-styles-wrapper .ghostkit-twitter-profile-name a:hover{text-decoration:underline}.editor-styles-wrapper .ghostkit-twitter-profile .ghostkit-twitter-profile-fullname{font-size:var(--gkt-twitter--profile-name__font-size);margin:0}.editor-styles-wrapper .ghostkit-twitter-profile .ghostkit-twitter-profile-username{font-size:var(--gkt-twitter--profile-username__font-size);font-weight:var(--gkt-twitter--profile-username__font-weight);margin:0;opacity:var(--gkt-twitter--profile-username__font-opacity)}.editor-styles-wrapper .ghostkit-twitter-profile-stats{display:flex;flex-wrap:wrap}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div{margin-right:var(--gkt-twitter--profile-stats__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div:last-child{margin-right:0}div+.editor-styles-wrapper .ghostkit-twitter-profile-description,div+.editor-styles-wrapper .ghostkit-twitter-profile-location,div+.editor-styles-wrapper .ghostkit-twitter-profile-stats,div+.editor-styles-wrapper .ghostkit-twitter-profile-website{margin-top:var(--gkt-twitter--profile-elements__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-description{white-space:pre-wrap}.editor-styles-wrapper .ghostkit-twitter-item{display:flex;margin-bottom:var(--gkt-twitter--tweet__margin-bottom)}.editor-styles-wrapper .ghostkit-twitter-item:last-child{margin-bottom:0}.editor-styles-wrapper .ghostkit-twitter-item-content{flex:1}.editor-styles-wrapper .ghostkit-twitter-item-content img{border:var(--gkt-twitter--tweet-content-img__border-width) solid var(--gkt-twitter--tweet-content-img__border-color);border-radius:var(--gkt-twitter--tweet-content-img__border-radius);margin-top:var(--gkt-twitter--tweet-content-img__margin-top);max-width:100%}.editor-styles-wrapper .ghostkit-twitter-item-avatar{margin-right:var(--gkt-twitter--tweet-avatar__margin-right)}.editor-styles-wrapper .ghostkit-twitter-item-avatar img{border-radius:var(--gkt-twitter--tweet-avatar__border-radius);height:auto}.editor-styles-wrapper .ghostkit-twitter-item-retweeted{font-size:var(--gkt-twitter--tweet-retweeted__font-size);opacity:var(--gkt-twitter--tweet-retweeted__opacity);position:relative}.editor-styles-wrapper .ghostkit-twitter-item-retweeted-icon{margin-right:var(--gkt-twitter--tweet-retweeted-icon__margin-right);position:absolute;right:100%;width:1em}.editor-styles-wrapper .ghostkit-twitter-item-retweeted a{border-bottom:none;color:inherit;text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-item-retweeted a:focus,.editor-styles-wrapper .ghostkit-twitter-item-retweeted a:hover{text-decoration:underline}.editor-styles-wrapper .ghostkit-twitter-item-meta{align-items:center;display:flex;flex-wrap:wrap}.editor-styles-wrapper .ghostkit-twitter-item-meta-name a{border-bottom:none;color:inherit;-webkit-text-decoration:var(--gkt-twitter--tweet-name__text-decoration);text-decoration:var(--gkt-twitter--tweet-name__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name a:focus strong,.editor-styles-wrapper .ghostkit-twitter-item-meta-name a:hover strong{-webkit-text-decoration:var(--gkt-twitter--tweet-name-hover__text-decoration);text-decoration:var(--gkt-twitter--tweet-name-hover__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name span:last-child{opacity:var(--gkt-twitter--tweet-username__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-meta-name+.ghostkit-twitter-item-meta-date:before{content:var(--gkt-twitter--tweet-date-separator__content);font-size:var(--gkt-twitter--tweet-date-separator__font-size);margin:var(--gkt-twitter--tweet-date-separator__margin-v) var(--gkt-twitter--tweet-date-separator__margin-h)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date{align-items:center;display:flex;opacity:var(--gkt-twitter--tweet-date__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date a{border-bottom:none;color:inherit;-webkit-text-decoration:var(--gkt-twitter--tweet-date__text-decoration);text-decoration:var(--gkt-twitter--tweet-date__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-meta-date a:focus,.editor-styles-wrapper .ghostkit-twitter-item-meta-date a:hover{-webkit-text-decoration:var(--gkt-twitter--tweet-date-hover__text-decoration);text-decoration:var(--gkt-twitter--tweet-date-hover__text-decoration)}.editor-styles-wrapper .ghostkit-twitter-item-actions{align-items:center;display:flex;flex-wrap:wrap;font-size:var(--gkt-twitter--tweet-actions__font-size)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div{margin-right:var(--gkt-twitter--tweet-actions__gap)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div:last-child{margin-right:0}.editor-styles-wrapper .ghostkit-twitter-item-actions a{border-bottom:none;color:inherit;opacity:var(--gkt-twitter--tweet-actions-link__opacity);text-decoration:none}.editor-styles-wrapper .ghostkit-twitter-item-actions a:focus,.editor-styles-wrapper .ghostkit-twitter-item-actions a:hover{opacity:var(--gkt-twitter--tweet-actions-link-hover__opacity)}.editor-styles-wrapper .ghostkit-twitter-item-actions span{margin-left:var(--gkt-twitter--tweet-actions-label__offset)}.editor-styles-wrapper .ghostkit-twitter-item-text{white-space:pre-wrap}div+.editor-styles-wrapper .ghostkit-twitter-item-actions,div+.editor-styles-wrapper .ghostkit-twitter-item-text{margin-top:var(--gkt-twitter--tweet-elements__gap)}.ghostkit-twitter-spinner{margin-bottom:13px;width:100%}.ghostkit-twitter-spinner>span{float:left;margin:0}.ghostkit-video{--gkt-video__background-color:var(--gkt-color-light-gray);--gkt-video--play-icon__width:60px;--gkt-video--play-icon__height:60px;--gkt-video--play-icon__font-size:0.7em;--gkt-video--play-icon__color:var(--gkt-color-dark-gray);--gkt-video--play-icon__background-color:#fff;--gkt-video--play-icon__border-radius:50%;--gkt-video--play-icon__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video--play-icon-hover__box-shadow:0 2px 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video--play-icon-hover__transform:translateY(-1px);--gkt-video--loading-icon__width:60px;--gkt-video--loading-icon__height:60px;--gkt-video--loading-icon__font-size:0.7em;--gkt-video--loading-icon__color:var(--gkt-color-dark-gray);--gkt-video--loading-icon__background-color:#fff;--gkt-video--loading-icon__border-radius:50%;--gkt-video--loading-icon__box-shadow:0 0 10px 4px rgba(0,0,0,.04),0 0 1px 1px rgba(0,0,0,.02);--gkt-video__transition-duration:var(--gkt-transition-duration);--gkt-video__transition-easing:var(--gkt-transition-easing)}.ghostkit-video-fullscreen{--gkt-video-fullscreen__background-color:rgba(0,0,0,.9);--gkt-video-fullscreen--close-button__width:60px;--gkt-video-fullscreen--close-button__height:60px;--gkt-video-fullscreen--close-button__font-size:1.4em;--gkt-video-fullscreen--close-button__color:#fff;--gkt-video-fullscreen--close-button__opacity:0.2;--gkt-video-fullscreen--close-button-hover__opacity:1;--gkt-video-fullscreen__transition-duration:var(--gkt-transition-duration);--gkt-video-fullscreen__transition-easing:var(--gkt-transition-easing)}.ghostkit-video.is-style-icon-only{background-color:transparent;height:var(--gkt-video--play-icon__height);margin-left:auto;margin-right:auto;overflow:unset}.ghostkit-video.is-style-icon-only:before{content:none}.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-loading-icon,.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-play-icon{left:0;margin-left:0}.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-loading-icon,.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-play-icon{left:auto;margin-left:0;right:0}.ghostkit-video{background-color:var(--gkt-video__background-color);cursor:pointer;overflow:hidden;position:relative}.ghostkit-video:before{content:"";display:block;padding-top:56.25%;width:100%}.ghostkit-video-aspect-ratio-16-9:before,.ghostkit-video[data-video-aspect-ratio="16-9"]:before,.ghostkit-video[data-video-aspect-ratio="16:9"]:before{padding-top:56.25%}.ghostkit-video-aspect-ratio-21-9:before,.ghostkit-video[data-video-aspect-ratio="21-9"]:before,.ghostkit-video[data-video-aspect-ratio="21:9"]:before{padding-top:42.8571428571%}.ghostkit-video-aspect-ratio-4-3:before,.ghostkit-video[data-video-aspect-ratio="4-3"]:before,.ghostkit-video[data-video-aspect-ratio="4:3"]:before{padding-top:75%}.ghostkit-video-aspect-ratio-3-2:before,.ghostkit-video[data-video-aspect-ratio="3-2"]:before,.ghostkit-video[data-video-aspect-ratio="3:2"]:before{padding-top:66.6666666667%}.ghostkit-video-aspect-ratio-1-1:before,.ghostkit-video[data-video-aspect-ratio="1-1"]:before,.ghostkit-video[data-video-aspect-ratio="1:1"]:before{padding-top:100%}.ghostkit-video-aspect-ratio-2-3:before,.ghostkit-video[data-video-aspect-ratio="2-3"]:before,.ghostkit-video[data-video-aspect-ratio="2:3"]:before{padding-top:150%}.ghostkit-video-aspect-ratio-9-16:before,.ghostkit-video[data-video-aspect-ratio="9-16"]:before,.ghostkit-video[data-video-aspect-ratio="9:16"]:before{padding-top:177.7777777778%}.ghostkit-video-aspect-ratio-3-4:before,.ghostkit-video[data-video-aspect-ratio="3-4"]:before,.ghostkit-video[data-video-aspect-ratio="3:4"]:before{padding-top:133.3333333333%}.ghostkit-video-poster{height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ghostkit-video-poster img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ghostkit-video-play-icon{align-items:center;background-color:var(--gkt-video--play-icon__background-color);border-radius:var(--gkt-video--play-icon__border-radius);box-shadow:var(--gkt-video--play-icon__box-shadow);color:var(--gkt-video--play-icon__color);display:flex;font-size:var(--gkt-video--play-icon__font-size);height:var(--gkt-video--play-icon__height);justify-content:center;left:50%;margin-left:calc(var(--gkt-video--play-icon__height)/-2);margin-top:calc(var(--gkt-video--play-icon__width)/-2);opacity:1;position:absolute;top:50%;transition:var(--gkt-video__transition-duration) transform var(--gkt-video__transition-easing),var(--gkt-video__transition-duration) box-shadow var(--gkt-video__transition-easing),var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);width:var(--gkt-video--play-icon__width);z-index:2}.ghostkit-video:focus .ghostkit-video-play-icon,.ghostkit-video:hover .ghostkit-video-play-icon{box-shadow:var(--gkt-video--play-icon-hover__box-shadow);transform:var(--gkt-video--play-icon-hover__transform)}.ghostkit-video-loading .ghostkit-video-play-icon,.ghostkit-video-playing .ghostkit-video-play-icon{opacity:0}.ghostkit-video-loading-icon{align-items:center;background-color:var(--gkt-video--loading-icon__background-color);border-radius:var(--gkt-video--loading-icon__border-radius);box-shadow:var(--gkt-video--loading-icon__box-shadow);color:var(--gkt-video--loading-icon__color);display:flex;font-size:var(--gkt-video--loading-icon__font-size);height:var(--gkt-video--loading-icon__height);justify-content:center;left:50%;margin-left:calc(var(--gkt-video--loading-icon__height)/-2);margin-top:calc(var(--gkt-video--loading-icon__width)/-2);opacity:0;position:absolute;top:50%;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);width:var(--gkt-video--loading-icon__width);z-index:3}.ghostkit-video-loading .ghostkit-video-loading-icon{opacity:1}.ghostkit-video:not(.ghostkit-video-loading) .ghostkit-video-spinner{animation:none}.ghostkit-video-fullscreen-close-icon{display:none}.ghostkit-video-frame{height:100%;left:100%;opacity:0;position:absolute;top:0;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s var(--gkt-video__transition-duration) left;width:100%;z-index:4}.ghostkit-video-frame iframe,.ghostkit-video-frame video{height:100%;visibility:visible;width:100%}.ghostkit-video-playing .ghostkit-video-frame{left:0;opacity:1;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s left}.ghostkit-video-fullscreen{align-items:center;background-color:var(--gkt-video-fullscreen__background-color);display:none;height:calc(100% - var(--wp-admin--admin-bar--height, 0px));justify-content:center;left:0;position:fixed;top:var(--wp-admin--admin-bar--height,0);width:100%;z-index:1500}@media screen and (max-width:600px){body.admin-bar .ghostkit-video-fullscreen{height:100%;top:0}}.ghostkit-video-fullscreen-frame{height:calc(90vw*var(--gkt-fullscreen-video__aspect-ratio-height)/var(--gkt-fullscreen-video__aspect-ratio-width));max-height:90%;max-width:calc((90vh - var(--wp-admin--admin-bar--height, 0px))*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height));position:relative;width:90%;z-index:1}@media screen and (max-width:600px){body.admin-bar .ghostkit-video-fullscreen-frame{max-width:calc(100vh*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height))}}.ghostkit-video-fullscreen-frame iframe,.ghostkit-video-fullscreen-frame video{height:100%;width:100%}.ghostkit-video-fullscreen-frame video{background:var(--gkt-fullscreen-video--video__background)}.ghostkit-video-fullscreen-close{color:var(--gkt-video-fullscreen--close-button__color);cursor:pointer;font-size:var(--gkt-video-fullscreen--close-button__font-size);height:var(--gkt-video-fullscreen--close-button__height);line-height:var(--gkt-video-fullscreen--close-button__height);opacity:var(--gkt-video-fullscreen--close-button__opacity);position:absolute;right:0;text-align:center;top:0;transition:var(--gkt-video-fullscreen__transition-duration) opacity var(--gkt-video-fullscreen__transition-easing);width:var(--gkt-video-fullscreen--close-button__width);z-index:2}.ghostkit-video-fullscreen-close:focus,.ghostkit-video-fullscreen-close:hover{opacity:var(--gkt-video-fullscreen--close-button-hover__opacity)}.components-panel .ghostkit-gutenberg-media-upload>div{height:150px}.ghostkit-video-toolbar-url .components-base-control__field{align-items:center;display:flex;margin:7px;width:300px}.ghostkit-help-text{color:#a0a0a0;font-size:90%;font-style:italic}.ghostkit-code{background:#eef0f3;border-radius:3px}.ghostkit-accordion .wp-block,.ghostkit-alert .wp-block,.ghostkit-changelog .wp-block,.ghostkit-counter-box .wp-block,.ghostkit-form .wp-block,.ghostkit-grid>.block-editor-inner-blocks>.block-editor-block-list__layout .wp-block,.ghostkit-icon-box .wp-block,.ghostkit-tabs-content .wp-block{margin-left:0;margin-right:0;max-width:none}.ghostkit-grid-controls{display:flex;flex-wrap:wrap;margin:0 -10px}.ghostkit-grid-controls>*{flex:1;margin:0 10px!important;min-width:80px}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child{pointer-events:none}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child:after,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child:after{border:1px dashed;border-radius:2px;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ghostkit-grid-inner>.block-editor-block-list__block:not(.is-selected)>.ghostkit-col-content>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/accordion-item"]:not(.is-selected)>.ghostkit-accordion-item>.ghostkit-accordion-item-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/alert"]:not(.is-selected)>.ghostkit-alert>.ghostkit-alert-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/carousel-slide"]:not(.is-selected)>.ghostkit-carousel-slide>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/counter-box"]:not(.is-selected)>.ghostkit-counter-box>.ghostkit-counter-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/icon-box"]:not(.is-selected)>.ghostkit-icon-box>.ghostkit-icon-box-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/tabs-tab-v2"]:not(.is-selected)>.ghostkit-tab>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter,[data-type="ghostkit/testimonial"]:not(.is-selected)>.ghostkit-testimonial>.ghostkit-testimonial-content>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:only-child .block-editor-inserter{visibility:hidden}.components-panel__body-toggle>.ghostkit-ext-icon{display:block;position:absolute;top:50%;transform:translateY(-50%)}.components-panel__body-toggle>.ghostkit-ext-icon svg{display:block}.components-panel__body-toggle>.ghostkit-ext-icon+span{margin-left:35px}.components-tools-panel-header>h2>.ghostkit-ext-icon{margin-top:-4px;position:absolute}.components-tools-panel-header>h2>.ghostkit-ext-icon+span{margin-left:35px}.ghostkit-control-tabs>.components-tab-panel__tabs{border-bottom:1px solid #e8eaeb;display:flex;flex-wrap:wrap;margin-bottom:15px}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab{background:none;border:none;border-bottom:2px solid transparent;border-radius:0;color:#555d66;cursor:pointer;margin:0 0 -1px;outline-offset:-1px;padding:9px 11px 11px}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab svg{display:block;height:1.4em;width:auto}.ghostkit-control-tabs>.components-tab-panel__tabs>.ghostkit-control-tabs-tab.is-active{border-bottom:2px solid #007cba;position:relative;z-index:1}.ghostkit-control-tabs.ghostkit-control-tabs-wide>.components-tab-panel__tabs>.ghostkit-control-tabs-tab{flex:1;justify-content:center;text-align:center}.ghostkit-control-tabs .ghostkit-control-tabs-separator{border-top:1px solid #e8eaeb;margin-left:-15px;margin-right:-15px;padding:15px}.ghostkit-control-tabs .ghostkit-control-tabs-separator:first-child{margin-top:-16px}.ghostkit-component-input-drag input{cursor:n-resize}.components-select-control select[multiple].components-select-control__input{height:auto;padding-right:8px}.components-select-control select[multiple].components-select-control__input~.components-input-control__suffix{display:none} diff --git a/build/gutenberg/extend/effects/frontend.asset.php b/build/gutenberg/extend/effects/frontend.asset.php index a0163e4f..786ce180 100644 --- a/build/gutenberg/extend/effects/frontend.asset.php +++ b/build/gutenberg/extend/effects/frontend.asset.php @@ -1 +1 @@ - array(), 'version' => 'b6f99e2d5bf8a8e6cf12'); + array(), 'version' => '42f5f2cc501efadd2b31'); diff --git a/build/gutenberg/extend/effects/frontend.js b/build/gutenberg/extend/effects/frontend.js index 32b52aaa..752e948e 100644 --- a/build/gutenberg/extend/effects/frontend.js +++ b/build/gutenberg/extend/effects/frontend.js @@ -1 +1 @@ -(()=>{"use strict";const t={x:0,y:0,opacity:1,scale:1,rotate:0,transition:{type:"spring",stiffness:300,damping:35,mass:2,delay:0}},{GHOSTKIT:{events:e,instance:n},Motion:{animate:a,spring:r,inView:o}}=window,s=window.matchMedia("(prefers-reduced-motion: reduce)").matches;e.on(document,"init.blocks.gkt",(()=>{document.querySelectorAll("[data-gkt-effects]").forEach((function(i){if(s)return void i.removeAttribute("data-gkt-effects");const c=i.getAttribute("data-gkt-effects");let g;try{g=JSON.parse(c)}catch(t){g=!1}if(i.removeAttribute("data-gkt-effects"),!g)return;if(e.trigger(i,"prepare.effects.gkt",{data:g}),n.set(i,"effects",g),!g?.reveal)return;const l={...t,...g.reveal};e.trigger(i,"prepare.effects.reveal.gkt",{config:l});const f=o(i,(()=>{i.classList.remove("ghostkit-effects-reveal");const t={};"easing"===l?.transition?.type?(t.type="tween",t.duration=l.transition.duration,t.delay=l.transition.delay,t.ease=l.transition.easing):"spring"===l?.transition?.type&&(t.type=r,t.delay=l.transition.delay,t.stiffness=l.transition.stiffness,t.damping=l.transition.damping,t.mass=l.transition.mass);const n={};1!==l.opacity&&(n.opacity=[l.opacity,1]),0!==l.x&&(n.x=[l.x,0]),0!==l.y&&(n.y=[l.y,0]),1!==l.scale&&(n.scale=[l.scale,1]),0!==l.rotate&&(n.rotate=[l.rotate,0]);const o={config:l,keyframes:n,options:t,stopInView:f,leaveCallback:()=>{}};return e.trigger(i,"show.effects.reveal.gkt",o),o.stopInView(),a(i,n,t).then((()=>{e.trigger(i,"showed.effects.reveal.gkt",o)})),o.leaveCallback}));e.trigger(i,"prepared.effects.reveal.gkt",{config:l})}))})),e.on(document,"init.blocks.gkt",(()=>{document.querySelectorAll(".ghostkit-count-up:not(.ghostkit-count-up-ready)").forEach((t=>{if(t.classList.add("ghostkit-count-up-ready"),s)return;const n=t.classList.contains("ghostkit-progress-bar"),r=parseFloat(t.getAttribute("data-count-from"))||0,i=parseFloat(n?t.getAttribute("aria-valuenow"):t.textContent)||0;let c,g,l=0,f="";n||(f=t.textContent.replace(i,"${val}")),/\${val}/.test(f)||(f="${val}"),n?(c=t.closest(".ghostkit-progress").querySelector(".ghostkit-progress-bar-count"),c&&(g=c.querySelector(":scope > div > span:nth-child(2)"),c.style.width="0%",g.textContent="0"),t.style.width="0%"):(t.textContent=f.replace("${val}",r),l=Math.max((`${r}`.split(".")?.[1]||"").length,(`${i}`.split(".")?.[1]||"").length));const u={from:r,to:i,duration:.8,easing:[.6,0,.3,1],cb(e){const a=(i-r)*e+r;n?g&&(g.textContent=Math.ceil(a)):t.textContent=f.replace("${val}",function(t,e=1){const n=10**e;return Math.round(t*n)/n}(a,l))}};e.trigger(t,"prepare.counter.gkt",{config:u});const d=o(t,(()=>{d(),e.trigger(t,"count.counter.gkt",{config:u}),n&&[t,c].forEach((t=>{t&&a(t,{width:`${i}%`},{duration:u.duration,ease:u.easing})})),a((t=>{u.cb(t)}),{duration:u.duration,ease:u.easing}).then((()=>{e.trigger(t,"counted.counter.gkt",{config:u})}))}),{margin:"-50px"})}))}))})(); \ No newline at end of file +(()=>{"use strict";const t={x:0,y:0,opacity:1,scale:1,rotate:0,transition:{type:"spring",stiffness:300,damping:35,mass:2,delay:0}},{GHOSTKIT:{events:e,instance:n},Motion:{animate:a,spring:r,inView:o}}=window,s=window.matchMedia("(prefers-reduced-motion: reduce)").matches;e.on(document,"init.blocks.gkt",(()=>{document.querySelectorAll("[data-gkt-effects]").forEach((function(i){if(s)return void i.removeAttribute("data-gkt-effects");const c=i.getAttribute("data-gkt-effects");let g;try{g=JSON.parse(c)}catch(t){g=!1}if(i.removeAttribute("data-gkt-effects"),!g)return;if(e.trigger(i,"prepare.effects.gkt",{data:g}),n.set(i,"effects",g),!g?.reveal)return;const l={...t,...g.reveal};e.trigger(i,"prepare.effects.reveal.gkt",{config:l});const f=o(i,(()=>{i.classList.remove("ghostkit-effects-reveal");const t={};"easing"===l?.transition?.type?(t.type="tween",t.duration=l.transition.duration,t.delay=l.transition.delay,t.ease=l.transition.easing):"spring"===l?.transition?.type&&(t.type=r,t.delay=l.transition.delay,t.stiffness=l.transition.stiffness,t.damping=l.transition.damping,t.mass=l.transition.mass);const n={};1!==l.opacity&&(n.opacity=[l.opacity,1]),0!==l.x&&(n.x=[l.x,0]),0!==l.y&&(n.y=[l.y,0]),1!==l.scale&&(n.scale=[l.scale,1]),0!==l.rotate&&(n.rotate=[l.rotate,0]);const o={config:l,keyframes:n,options:t,stopInView:f,leaveCallback:()=>{}};return e.trigger(i,"show.effects.reveal.gkt",o),o.stopInView(),a(i,n,t).then((()=>{e.trigger(i,"showed.effects.reveal.gkt",o)})),o.leaveCallback}));e.trigger(i,"prepared.effects.reveal.gkt",{config:l})}))})),e.on(document,"init.blocks.gkt",(()=>{document.querySelectorAll(".ghostkit-count-up:not(.ghostkit-count-up-ready)").forEach((t=>{if(t.classList.add("ghostkit-count-up-ready"),s)return;const n=t.classList.contains("ghostkit-progress-bar"),r=parseFloat(t.getAttribute("data-count-from"))||0,i=parseFloat(n?t.getAttribute("aria-valuenow"):t.textContent)||0;let c,g,l=0,f="";n||(f=t.textContent.replace(i,"${val}")),/\${val}/.test(f)||(f="${val}"),n?(c=t.closest(".ghostkit-progress").querySelector(".ghostkit-progress-bar-count"),c&&(g=c.querySelector(":scope > div > span:nth-child(2)"),c.style.width="0%",g.textContent="0"),t.style.width="0%"):(t.textContent=f.replace("${val}",r),l=Math.max((`${r}`.split(".")?.[1]||"").length,(`${i}`.split(".")?.[1]||"").length));const d={from:r,to:i,duration:1,easing:[.6,0,.3,1],cb(e){const a=(i-r)*e+r;n?g&&(g.textContent=Math.ceil(a)):t.textContent=f.replace("${val}",function(t,e=1){const n=10**e;return Math.round(t*n)/n}(a,l))}};e.trigger(t,"prepare.counter.gkt",{config:d});const u=o(t,(()=>{u(),e.trigger(t,"count.counter.gkt",{config:d}),n&&[t,c].forEach((t=>{t&&a(t,{width:`${i}%`},{duration:d.duration,ease:d.easing})})),a(0,1,{duration:d.duration,ease:d.easing,onUpdate:t=>{d.cb(t)}}).then((()=>{e.trigger(t,"counted.counter.gkt",{config:d})}))}),{margin:"-50px"})}))}))})(); \ No newline at end of file diff --git a/build/gutenberg/index.asset.php b/build/gutenberg/index.asset.php index d8f018f5..273cf4f6 100644 --- a/build/gutenberg/index.asset.php +++ b/build/gutenberg/index.asset.php @@ -1 +1 @@ - array('jquery', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-rich-text', 'wp-token-list'), 'version' => '513bbfd525041dd2bd20'); + array('jquery', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-rich-text', 'wp-token-list'), 'version' => '15c30a586b736b5631ce'); diff --git a/build/gutenberg/index.js b/build/gutenberg/index.js index 10e1d49a..3b449dcf 100644 --- a/build/gutenberg/index.js +++ b/build/gutenberg/index.js @@ -1,4 +1,4 @@ -(()=>{var e={952:(e,t,n)=>{e=n.nmd(e),function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function(e,n,o){"string"==typeof e?(2==arguments.length&&(o=n),t.modules[e]||(t.payloads[e]=o,t.modules[e]=null)):t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,o,i=function(e,t,n){if("string"==typeof t){var o=a(e,t);if(null!=o)return n&&n(),o}else if("[object Array]"===Object.prototype.toString.call(t)){for(var i=[],s=0,l=t.length;sn.length)&&(t=n.length),t-=e.length;var o=n.indexOf(e,t);return-1!==o&&o===t})),String.prototype.repeat||o(String.prototype,"repeat",(function(e){for(var t="",n=this;e>0;)1&e&&(t+=n),(e>>=1)&&(n+=n);return t})),String.prototype.includes||o(String.prototype,"includes",(function(e,t){return-1!=this.indexOf(e,t)})),Object.assign||(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n>>0,o=arguments[1]>>0,i=o<0?Math.max(n+o,0):Math.min(o,n),r=arguments[2],s=void 0===r?n:r>>0,a=s<0?Math.max(n+s,0):Math.min(s,n);i0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var o=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(o,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,o=e.length;n65535?2:1}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,n){"use strict";t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS};var o="object"==typeof navigator?navigator:{},i=(/mac|win|linux/i.exec(o.platform)||["other"])[0].toLowerCase(),r=o.userAgent||"",s=o.appName||"";t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=r.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,t.isSafari=parseFloat(r.split(" Safari/")[1])&&!t.isChrome||void 0,t.isEdge=parseFloat(r.split(" Edge/")[1])||void 0,t.isAIR=r.indexOf("AdobeAIR")>=0,t.isAndroid=r.indexOf("Android")>=0,t.isChromeOS=r.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(r)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var o,i=e("./useragent");t.buildDom=function e(t,n,o){if("string"==typeof t&&t){var i=document.createTextNode(t);return n&&n.appendChild(i),i}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var r=[],s=0;s=1.5,i.isChromeOS&&(t.HI_DPI=!1),"undefined"!=typeof document){var l=document.createElement("div");t.HI_DPI&&void 0!==l.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),i.isEdge||void 0===l.style.animationName||(t.HAS_CSS_ANIMATION=!0),l=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,n){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(n)+"px)"}:t.translate=function(e,t,n){e.style.top=Math.round(n)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=o.getDocumentHead(),i=document.createElement("script");i.src=e,n.appendChild(i),i.onload=i.onreadystatechange=function(e,n){!n&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,n){"use strict";var o={},i=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};o._emit=o._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(n.length||o){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=r),n=n.slice();for(var s=0;s1&&(i=n[n.length-2]);var s=l[t+"Path"];return null==s?s=l.basePath:"/"==o&&(t=o=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+t+o+i+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.setLoader=function(e){a=e},t.dynamicModules=Object.create(null),t.$loading={},t.$loaded={},t.loadModule=function(n,o){var r;if(Array.isArray(n))var s=n[0],l=n[1];else"string"==typeof n&&(l=n);var u=function(n){if(n&&!t.$loading[l])return o&&o(n);if(t.$loading[l]||(t.$loading[l]=[]),t.$loading[l].push(o),!(t.$loading[l].length>1)){var r=function(){!function(t,n){"ace/theme/textmate"===t||"./theme/textmate"===t?n(0,e("./theme/textmate")):a?a(t,n):console.error("loader is not configured")}(l,(function(e,n){n&&(t.$loaded[l]=n),t._emit("load.module",{name:l,module:n});var o=t.$loading[l];t.$loading[l]=null,o.forEach((function(e){e&&e(n)}))}))};if(!t.get("packaged"))return r();i.loadScript(t.moduleUrl(l,s),r),c()}};if(t.dynamicModules[l])t.dynamicModules[l]().then((function(e){e.default?u(e.default):u(e)}));else{try{r=this.$require(l)}catch(e){}u(r||t.$loaded[l])}},t.$require=function(e){if("function"==typeof n.require)return n.require(e)},t.setModuleLoader=function(e,n){t.dynamicModules[e]=n};var c=function(){l.basePath||l.workerPath||l.modePath||l.themePath||Object.keys(l.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),c=function(){})};t.version="1.32.6"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(e,t,o){"use strict";e("./lib/fixoldbrowsers");var i=e("./config");i.setLoader((function(t,n){e([t],(function(e){n(null,e)}))}));var r=function(){return this||"undefined"!=typeof window&&window}();function s(t){if(r&&r.document){i.set("packaged",t||e.packaged||o.packaged||r.define&&n.amdD.packaged);var s={},a="",l=document.currentScript||document._currentScript,c=l&&l.ownerDocument||document;l&&l.src&&(a=l.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var u,h=c.getElementsByTagName("script"),d=0;d ["+this.end.row+"/"+this.end.column+"]"},e.prototype.contains=function(e,t){return 0==this.compare(e,t)},e.prototype.compareRange=function(e){var t,n=e.end,o=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(o.row,o.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(o.row,o.column))?-1:1==t?42:0},e.prototype.comparePoint=function(e){return this.compare(e.row,e.column)},e.prototype.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},e.prototype.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},e.prototype.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},e.prototype.isStart=function(e,t){return this.start.row==e&&this.start.column==t},e.prototype.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},e.prototype.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},e.prototype.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},e.prototype.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},e.prototype.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},e.prototype.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},e.prototype.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},e.prototype.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.clipRows=function(t,n){if(this.end.row>n)var o={row:n+1,column:0};else this.end.rown)var i={row:n+1,column:0};else this.start.row1?++h>4&&(h=1):h=1,r.isIE){var s=Math.abs(e.clientX-a)>5||Math.abs(e.clientY-l)>5;c&&!s||(h=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),n[h-1]||600),1==h&&(a=e.clientX,l=e.clientY)}if(e._clicks=h,o[i]("mousedown",e),h>4)h=0;else if(h>1)return o[i](d[h],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",p,s)}))},t.getModifierString=function(e){return i.KEY_MODS[d(e)]},t.addCommandKeyListener=function(e,n,o){var l=null;u(e,"keydown",(function(e){s[e.keyCode]=(s[e.keyCode]||0)+1;var t=function(e,t,n){var o=d(t);if(!r.isMac&&s){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(o|=8),s.altGr){if(3==(3&o))return;s.altGr=0}if(18===n||17===n){var l=t.location;17===n&&1===l?1==s[n]&&(a=t.timeStamp):18===n&&3===o&&2===l&&t.timeStamp-a<50&&(s.altGr=!0)}}if(n in i.MODIFIER_KEYS&&(n=-1),o||13!==n||3!==t.location||(e(t,o,-n),!t.defaultPrevented)){if(r.isChromeOS&&8&o){if(e(t,o,n),t.defaultPrevented)return;o&=-9}return!!(o||n in i.FUNCTION_KEYS||n in i.PRINTABLE_KEYS)&&e(t,o,n)}}(n,e,e.keyCode);return l=e.defaultPrevented,t}),o),u(e,"keypress",(function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),o),u(e,"keyup",(function(e){s[e.keyCode]=null}),o),s||(p(),u(window,"focus",p))},"object"==typeof window&&window.postMessage&&!r.isOldIE){var g=1;t.nextTick=function(e,n){n=n||window;var o="zero-timeout-message-"+g++,i=function(r){r.data==o&&(t.stopPropagation(r),h(n,"message",i),e())};u(n,"message",i),n.postMessage(o,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,n){return setTimeout((function n(){t.$idleBlocked?setTimeout(n,100):e()}),n)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/clipboard",["require","exports","module"],(function(e,t,n){"use strict";var o;n.exports={lineMode:!1,pasteCancelled:function(){return!!(o&&o>Date.now()-50)||(o=!1)},cancel:function(){o=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,n){"use strict";var o,i=e("../lib/event"),r=e("../config").nls,s=e("../lib/useragent"),a=e("../lib/dom"),l=e("../lib/lang"),c=e("../clipboard"),u=s.isChrome<18,h=s.isIE,d=s.isChrome>63,p=400,g=e("../lib/keys"),f=g.KEY_MODS,m=s.isIOS,v=m?/\s/:/\n/,b=s.isMobile;o=function(e,t){var n=a.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck","false"),n.style.opacity="0",e.insertBefore(n,e.firstChild);var o=!1,y=!1,w=!1,k=!1,_="";b||(n.style.fontSize="1px");var x=!1,C=!1,S="",E=0,A=0,T=0,$=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,R=0;try{var j=document.activeElement===n}catch(e){}this.setNumberOfExtraLines=function(e){$=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,R=e<0?0:e},this.setAriaOptions=function(e){if(e.activeDescendant?(n.setAttribute("aria-haspopup","true"),n.setAttribute("aria-autocomplete",e.inline?"both":"list"),n.setAttribute("aria-activedescendant",e.activeDescendant)):(n.setAttribute("aria-haspopup","false"),n.setAttribute("aria-autocomplete","both"),n.removeAttribute("aria-activedescendant")),e.role&&n.setAttribute("role",e.role),e.setLabel&&(n.setAttribute("aria-roledescription",r("editor")),t.session)){var o=t.session.selection.cursor.row;n.setAttribute("aria-label",r("Cursor at row $0",[o+1]))}},this.setAriaOptions({role:"textbox"}),i.addListener(n,"blur",(function(e){C||(t.onBlur(e),j=!1)}),t),i.addListener(n,"focus",(function(e){if(!C){if(j=!0,s.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),s.isEdge?setTimeout(L):L()}}),t),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:t.renderer.enableKeyboardAccessibility}),_||d||"browser"==this.$focusScroll)return n.focus({preventScroll:!0});var e=n.style.top;n.style.position="fixed",n.style.top="0px";try{var o=0!=n.getBoundingClientRect().top}catch(e){return}var i=[];if(o)for(var r=n.parentElement;r&&1==r.nodeType;)i.push(r),r.setAttribute("ace_nocontext","true"),r=!r.parentElement&&r.getRootNode?r.getRootNode().host:r.parentElement;n.focus({preventScroll:!0}),o&&i.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)}),0)},this.blur=function(){n.blur()},this.isFocused=function(){return j},t.on("beforeEndOperation",(function(){var e=t.curOp,o=e&&e.command&&e.command.name;if("insertstring"!=o){var i=o&&(e.docChanged||e.selectionChanged);w&&i&&(S=n.value="",U()),L()}}));var O=function(e,n){for(var o=n,i=1;i<=e-$&&i<2*R+1;i++)o+=t.session.getLine(e-i).length+1;return o},L=m?function(e){if(j&&(!o||e)&&!k){e||(e="");var i="\n ab"+e+"cde fg\n";i!=n.value&&(n.value=S=i);var r=4+(e.length||(t.selection.isEmpty()?0:1));4==E&&A==r||n.setSelectionRange(4,r),E=4,A=r}}:function(){if(!w&&!k&&(j||N)){w=!0;var e=0,o=0,i="";if(t.session){var r=t.selection,s=r.getRange(),a=r.cursor.row;a===M+1?M=($=M+1)+2*R:a===$-1?$=(M=$-1)-2*R:(a<$-1||a>M+1)&&($=a>R?a-R:0,M=a>R?a+R:2*R);for(var l=[],c=$;c<=M;c++)l.push(t.session.getLine(c));if(i=l.join("\n"),e=O(s.start.row,s.start.column),o=O(s.end.row,s.end.column),s.start.row<$){var u=t.session.getLine($-1);e=s.start.row<$-1?0:e,o+=u.length+1,i=u+"\n"+i}else if(s.end.row>M){var h=t.session.getLine(M+1);o=s.end.row>M+1?h.length:s.end.column,o+=i.length+1,i=i+"\n"+h}else b&&a>0&&(i="\n"+i,o+=1,e+=1);i.length>p&&(e0&&S[d]==e[d];)d++,a--;for(c=c.slice(d),d=1;l>0&&S.length-d>E-1&&S[S.length-d]==e[e.length-d];)d++,l--;u-=d-1,h-=d-1;var p=c.length-d+1;if(p<0&&(a=-p,p=0),c=c.slice(0,p),!(o||c||u||a||l||h))return"";k=!0;var g=!1;return s.isAndroid&&". "==c&&(c=" ",g=!0),c&&!a&&!l&&!u&&!h||x?t.onTextInput(c):t.onTextInput(c,{extendLeft:a,extendRight:l,restoreStart:u,restoreEnd:h}),k=!1,S=e,E=i,A=r,T=h,g?"\n":c},D=function(e){if(w)return V();if(e&&e.inputType){if("historyUndo"==e.inputType)return t.execCommand("undo");if("historyRedo"==e.inputType)return t.execCommand("redo")}var o=n.value,i=P(o,!0);(o.length>500||v.test(i)||b&&E<1&&E==A)&&L()},B=function(e,t,n){var o=e.clipboardData||window.clipboardData;if(o&&!u){var i=h||n?"Text":"text/plain";try{return t?!1!==o.setData(i,t):o.getData(i)}catch(e){if(!n)return B(e,t,!0)}}},z=function(e,r){var s=t.getCopyText();if(!s)return i.preventDefault(e);B(e,s)?(m&&(L(s),o=s,setTimeout((function(){o=!1}),10)),r?t.onCut():t.onCopy(),i.preventDefault(e)):(o=!0,n.value=s,n.select(),setTimeout((function(){o=!1,L(),r?t.onCut():t.onCopy()})))},F=function(e){z(e,!0)},H=function(e){z(e,!1)},W=function(e){var o=B(e);c.pasteCancelled()||("string"==typeof o?(o&&t.onPaste(o,e),s.isIE&&setTimeout(L),i.preventDefault(e)):(n.value="",y=!0))};i.addCommandKeyListener(n,(function(e,n,o){if(!w)return t.onCommandKey(e,n,o)}),t),i.addListener(n,"select",(function(e){w||(o?o=!1:function(e){return 0===e.selectionStart&&e.selectionEnd>=S.length&&e.value===S&&S&&e.selectionEnd!==A}(n)?(t.selectAll(),L()):b&&n.selectionStart!=E&&L())}),t),i.addListener(n,"input",D,t),i.addListener(n,"cut",F,t),i.addListener(n,"copy",H,t),i.addListener(n,"paste",W,t),"oncut"in n&&"oncopy"in n&&"onpaste"in n||i.addListener(e,"keydown",(function(e){if((!s.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:H(e);break;case 86:W(e);break;case 88:F(e)}}),t);var V=function(){if(w&&t.onCompositionUpdate&&!t.$readOnly){if(x)return G();if(w.useTextareaForIME)t.onCompositionUpdate(n.value);else{var e=n.value;P(e),w.markerRange&&(w.context&&(w.markerRange.start.column=w.selectionStart=w.context.compositionStartOffset),w.markerRange.end.column=w.markerRange.start.column+A-w.selectionStart+T)}}},U=function(e){t.onCompositionEnd&&!t.$readOnly&&(w=!1,t.onCompositionEnd(),t.off("mousedown",G),e&&D())};function G(){C=!0,n.blur(),n.focus(),C=!1}var q,K=l.delayedCall(V,50).schedule.bind(null,null);function Y(){clearTimeout(q),q=setTimeout((function(){_&&(n.style.cssText=_,_=""),t.renderer.$isMousePressed=!1,t.renderer.$keepTextAreaAtCursor&&t.renderer.$moveTextAreaToCursor()}),0)}i.addListener(n,"compositionstart",(function(e){if(!w&&t.onCompositionStart&&!t.$readOnly&&(w={},!x)){e.data&&(w.useTextareaForIME=!1),setTimeout(V,0),t._signal("compositionStart"),t.on("mousedown",G);var o=t.getSelectionRange();o.end.row=o.start.row,o.end.column=o.start.column,w.markerRange=o,w.selectionStart=E,t.onCompositionStart(w),w.useTextareaForIME?(S=n.value="",E=0,A=0):(n.msGetInputContext&&(w.context=n.msGetInputContext()),n.getInputContext&&(w.context=n.getInputContext()))}}),t),i.addListener(n,"compositionupdate",V,t),i.addListener(n,"keyup",(function(e){27==e.keyCode&&n.value.lengthA&&"\n"==S[s]?a=g.end:iA&&S.slice(0,s).split("\n").length>2?a=g.down:s>A&&" "==S[s-1]?(a=g.right,l=f.option):(s>A||s==A&&A!=E&&i==s)&&(a=g.right),i!==s&&(l|=f.shift),a){if(!t.onCommandKey({},l,a)&&t.commands){a=g.keyCodeToString(a);var c=t.commands.findKeyCommand(l,a);c&&t.execCommand(c)}E=i,A=s,L("")}}};document.addEventListener("selectionchange",s),t.on("destroy",(function(){document.removeEventListener("selectionchange",s)}))}(0,t,n),this.destroy=function(){n.parentElement&&n.parentElement.removeChild(n)}},t.TextInput=o,t.$setUserAgentForTests=function(e,t){b=e,m=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("../lib/useragent"),i=function(){function e(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}return e.prototype.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var i=this.editor,r=e.getButton();return 0!==r?((i.getSelectionRange().isEmpty()||1==r)&&i.selection.moveToPosition(n),void(2==r&&(i.textInput.onContextMenu(e.domEvent),o.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||i.isFocused()||(i.focus(),!this.$focusTimeout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},e.prototype.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.setStyle("ace_selecting"),this.setState("select"))},e.prototype.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(n);if(-1==o)e=this.$clickSelection.end;else if(1==o)e=this.$clickSelection.start;else{var i=r(this.$clickSelection,n);n=i.cursor,e=i.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.renderer.scrollCursorIntoView()},e.prototype.extendSelectionBy=function(e){var t,n=this.editor,o=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[e](o.row,o.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),a=this.$clickSelection.comparePoint(i.end);if(-1==s&&a<=0)t=this.$clickSelection.end,i.end.row==o.row&&i.end.column==o.column||(o=i.start);else if(1==a&&s>=0)t=this.$clickSelection.start,i.start.row==o.row&&i.start.column==o.column||(o=i.end);else if(-1==s&&1==a)o=i.end,t=i.start;else{var l=r(this.$clickSelection,o);o=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(o),n.renderer.scrollCursorIntoView()},e.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},e.prototype.focusWait=function(){var e,t,n,o,i=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,o=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(o-t,2))),r=Date.now();(i>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},e.prototype.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,o=n.session.getBracketRange(t);o?(o.isEmpty()&&(o.start.column--,o.end.column++),this.setState("select")):(o=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=o,this.select()},e.prototype.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var o=n.getSelectionRange();o.isMultiLine()&&o.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(o.start.row),this.$clickSelection.end=n.selection.getLineRange(o.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},e.prototype.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},e.prototype.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,o=e.domEvent.timeStamp,i=o-n.t,r=i?e.wheelX/i:n.vx,s=i?e.wheelY/i:n.vy;i<550&&(r=(r+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(r/s),l=!1;return a>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),a<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l?n.allowed=o:o-n.allowed<550&&(Math.abs(r)<=1.5*Math.abs(n.vx)&&Math.abs(s)<=1.5*Math.abs(n.vy)?(l=!0,n.allowed=o):n.allowed=0),n.t=o,n.vx=r,n.vy=s,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function r(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}i.prototype.selectEnd=i.prototype.selectByLinesEnd,i.prototype.selectAllEnd=i.prototype.selectByLinesEnd,i.prototype.selectByWordsEnd=i.prototype.selectByLinesEnd,t.DefaultHandlers=i})),ace.define("ace/lib/scroll",["require","exports","module"],(function(e,t,n){t.preventParentScroll=function(e){e.stopPropagation();var t=e.currentTarget;t.scrollHeight>t.clientHeight||e.preventDefault()}})),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=e("./lib/dom"),a=(e("./lib/event"),e("./range").Range),l=e("./lib/scroll").preventParentScroll,c="ace_tooltip",u=function(){function e(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}return e.prototype.$init=function(){return this.$element=s.createElement("div"),this.$element.className=c,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},e.prototype.getElement=function(){return this.$element||this.$init()},e.prototype.setText=function(e){this.getElement().textContent=e},e.prototype.setHtml=function(e){this.getElement().innerHTML=e},e.prototype.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},e.prototype.setClassName=function(e){s.addCssClass(this.getElement(),e)},e.prototype.setTheme=function(e){this.$element.className=c+" "+(e.isDark?"ace_dark ":"")+(e.cssClass||"")},e.prototype.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},e.prototype.hide=function(e){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=c,this.isOpen=!1)},e.prototype.getHeight=function(){return this.getElement().offsetHeight},e.prototype.getWidth=function(){return this.getElement().offsetWidth},e.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},e}(),h=new(function(){function e(){this.popups=[]}return e.prototype.addPopup=function(e){this.popups.push(e),this.updatePopups()},e.prototype.removePopup=function(e){var t=this.popups.indexOf(e);-1!==t&&(this.popups.splice(t,1),this.updatePopups())},e.prototype.updatePopups=function(){var e,t,n,o;this.popups.sort((function(e,t){return t.priority-e.priority}));var i=[];try{for(var s=r(this.popups),a=s.next();!a.done;a=s.next()){var l=a.value,c=!0;try{for(var u=(n=void 0,r(i)),h=u.next();!h.done;h=u.next()){var d=h.value;if(this.doPopupsOverlap(d,l)){c=!1;break}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}c?i.push(l):l.hide()}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}},e.prototype.doPopupsOverlap=function(e,t){var n=e.getElement().getBoundingClientRect(),o=t.getElement().getBoundingClientRect();return n.lefto.left&&n.topo.top},e}());t.popupManager=h,t.Tooltip=u;var d=function(e){function t(t){void 0===t&&(t=document.body);var n=e.call(this,t)||this;n.timeout=void 0,n.lastT=0,n.idleTime=350,n.lastEvent=void 0,n.onMouseOut=n.onMouseOut.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.waitForHover=n.waitForHover.bind(n),n.hide=n.hide.bind(n);var o=n.getElement();return o.style.whiteSpace="pre-wrap",o.style.pointerEvents="auto",o.addEventListener("mouseout",n.onMouseOut),o.tabIndex=-1,o.addEventListener("blur",function(){o.contains(document.activeElement)||this.hide()}.bind(n)),o.addEventListener("wheel",l),n}return i(t,e),t.prototype.addToEditor=function(e){e.on("mousemove",this.onMouseMove),e.on("mousedown",this.hide),e.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},t.prototype.removeFromEditor=function(e){e.off("mousemove",this.onMouseMove),e.off("mousedown",this.hide),e.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},t.prototype.onMouseMove=function(e,t){this.lastEvent=e,this.lastT=Date.now();var n=t.$mouseHandler.isMousePressed;if(this.isOpen){var o=this.lastEvent&&this.lastEvent.getDocumentPosition();this.range&&this.range.contains(o.row,o.column)&&!n&&!this.isOutsideOfText(this.lastEvent)||this.hide()}this.timeout||n||(this.lastEvent=e,this.timeout=setTimeout(this.waitForHover,this.idleTime))},t.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var e=Date.now()-this.lastT;this.idleTime-e>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-e):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},t.prototype.isOutsideOfText=function(e){var t=e.editor,n=e.getDocumentPosition(),o=t.session.getLine(n.row);if(n.column==o.length){var i=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),r=t.session.documentToScreenPosition(n.row,n.column);if(r.column!=i.column||r.row!=i.row)return!0}return!1},t.prototype.setDataProvider=function(e){this.$gatherData=e},t.prototype.showForRange=function(e,t,n,o){if(!(o&&o!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var i=e.renderer;this.isOpen||(h.addPopup(this),this.$registerCloseEvents(),this.setTheme(i.theme)),this.isOpen=!0,this.addMarker(t,e.session),this.range=a.fromPoints(t.start,t.end);var r=i.textToScreenCoordinates(t.start.row,t.start.column),s=i.scroller.getBoundingClientRect();r.pageX=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=e("../lib/dom"),a=e("../lib/event"),l=e("../tooltip").Tooltip,c=e("../config").nls;t.GutterHandler=function(e){var t,n,o=e.editor,i=o.renderer.$gutterLayer,r=new u(o);function l(){t&&(t=clearTimeout(t)),r.isOpen&&(r.hideTooltip(),o.off("mousewheel",l))}function c(e){r.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(o.isFocused()&&0==t.getButton()&&"foldWidgets"!=i.getRegion(t)){var n=t.getDocumentPosition().row,r=o.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return o.selectAll(),t.preventDefault();e.$clickSelection=o.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(a){var u=a.domEvent.target||a.domEvent.srcElement;if(s.hasCssClass(u,"ace_fold-widget"))return l();r.isOpen&&e.$tooltipFollowsMouse&&c(a),n=a,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row;if(t==o.session.getLength()){var s=o.renderer.pixelToScreenCoordinates(0,n.y).row,a=n.$pos;if(s>o.session.documentToScreenRow(a.row,a.column))return l()}if(r.showTooltip(t),r.isOpen)if(o.on("mousewheel",l),e.$tooltipFollowsMouse)c(n);else{var u=n.getGutterRow(),h=i.$lines.get(u);if(h){var d=h.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),p=r.getElement().style;p.left=d.right+"px",p.top=d.bottom+"px"}else c(n)}}():l()}),50))})),a.addListener(o.renderer.$gutter,"mouseout",(function(e){n=null,r.isOpen&&!t&&(t=setTimeout((function(){t=null,l()}),50))}),o),o.on("changeSession",l),o.on("input",l)};var u=function(e){function t(t){var n=e.call(this,t.container)||this;return n.editor=t,n}return i(t,e),t.prototype.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,o=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),r=this.getHeight();(e+=15)+i>n&&(e-=e+i-n),(t+=15)+r>o&&(t-=20+r),l.prototype.setPosition.call(this,e,t)},Object.defineProperty(t,"annotationLabels",{get:function(){return{error:{singular:c("error"),plural:c("errors")},warning:{singular:c("warning"),plural:c("warnings")},info:{singular:c("information message"),plural:c("information messages")}}},enumerable:!1,configurable:!0}),t.prototype.showTooltip=function(e){var n,o=this.editor.renderer.$gutterLayer,i=o.$annotations[e];n=i?{text:Array.from(i.text),type:Array.from(i.type)}:{text:[],type:[]};var r=o.session.getFoldLine(e);if(r&&o.$showFoldedAnnotations){for(var s,a={error:[],warning:[],info:[]},l=e+1;l<=r.end.row;l++)if(o.$annotations[l])for(var c=0;c ").concat(n.text[l]);d[n.type[l].replace("_fold","")].push(g)}var f=[].concat(d.error,d.warning,d.info).join("
");this.setHtml(f),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},t.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},t.annotationsToSummaryString=function(e){var n,o,i=[];try{for(var s=r(["error","warning","info"]),a=s.next();!a.done;a=s.next()){var l=a.value;if(e[l].length){var c=1===e[l].length?t.annotationLabels[l].singular:t.annotationLabels[l].plural;i.push("".concat(e[l].length," ").concat(c))}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return i.join(", ")},t}(l);t.GutterTooltip=u})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("../lib/event"),i=e("../lib/useragent"),r=function(){function e(e,t){this.speed,this.wheelX,this.wheelY,this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return e.prototype.stopPropagation=function(){o.stopPropagation(this.domEvent),this.propagationStopped=!0},e.prototype.preventDefault=function(){o.preventDefault(this.domEvent),this.defaultPrevented=!0},e.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},e.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},e.prototype.getGutterRow=function(){var e=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(e,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},e.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},e.prototype.getButton=function(){return o.getButton(this.domEvent)},e.prototype.getShiftKey=function(){return this.domEvent.shiftKey},e.prototype.getAccelKey=function(){return i.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},e}();t.MouseEvent=r})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("../lib/dom"),i=e("../lib/event"),r=e("../lib/useragent");function s(e){var t=e.editor,n=o.createElement("div");n.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",n.textContent=" ",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.on("mousedown",this.onMouseDown.bind(e));var s,l,c,u,h,d,p,g,f,m,v,b=t.container,y=0;function w(){var e=d;(function(e,n){var o=Date.now(),i=!n||e.row!=n.row,r=!n||e.column!=n.column;!m||i||r?(t.moveCursorToPosition(e),m=o,v={x:l,y:c}):a(v.x,v.y,l,c)>5?m=null:o-m>=200&&(t.renderer.scrollCursorIntoView(),m=null)})(d=t.renderer.screenToTextCoordinates(l,c),e),function(e,n){var o=Date.now(),i=t.renderer.layerConfig.lineHeight,r=t.renderer.layerConfig.characterWidth,s=t.renderer.scroller.getBoundingClientRect(),a={x:{left:l-s.left,right:s.right-l},y:{top:c-s.top,bottom:s.bottom-c}},u=Math.min(a.x.left,a.x.right),h=Math.min(a.y.top,a.y.bottom),d={row:e.row,column:e.column};u/r<=2&&(d.column+=a.x.left=200&&t.renderer.scrollCursorIntoView(d):f=o:f=null}(d,e)}function k(){h=t.selection.toOrientedRange(),s=t.session.addMarker(h,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),w(),u=setInterval(w,20),y=0,i.addListener(document,"mousemove",C)}function _(){clearInterval(u),t.session.removeMarker(s),s=null,t.selection.fromOrientedRange(h),t.isFocused()&&!g&&t.$resetCursorStyle(),h=null,d=null,y=0,f=null,m=null,i.removeListener(document,"mousemove",C)}this.onDragStart=function(e){if(this.cancelDrag||!b.draggable){var o=this;return setTimeout((function(){o.startSelect(),o.captureMouse(e)}),0),e.preventDefault()}h=t.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),i.setDragImage&&i.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),i.clearData(),i.setData("Text",t.session.getTextRange()),g=!0,this.setState("drag")},this.onDragEnd=function(e){if(b.draggable=!1,g=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;p||"move"!=n||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&S(e.dataTransfer))return l=e.clientX,c=e.clientY,s||k(),y++,e.dataTransfer.dropEffect=p=E(e),i.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&S(e.dataTransfer))return l=e.clientX,c=e.clientY,s||(k(),y++),null!==x&&(x=null),e.dataTransfer.dropEffect=p=E(e),i.preventDefault(e)},this.onDragLeave=function(e){if(--y<=0&&s)return _(),p=null,i.preventDefault(e)},this.onDrop=function(e){if(d){var n=e.dataTransfer;if(g)switch(p){case"move":h=h.contains(d.row,d.column)?{start:d,end:d}:t.moveText(h,d);break;case"copy":h=t.moveText(h,d,!0)}else{var o=n.getData("Text");h={start:d,end:t.session.insert(d,o)},t.focus(),p=null}return _(),i.preventDefault(e)}},i.addListener(b,"dragstart",this.onDragStart.bind(e),t),i.addListener(b,"dragend",this.onDragEnd.bind(e),t),i.addListener(b,"dragenter",this.onDragEnter.bind(e),t),i.addListener(b,"dragover",this.onDragOver.bind(e),t),i.addListener(b,"dragleave",this.onDragLeave.bind(e),t),i.addListener(b,"drop",this.onDrop.bind(e),t);var x=null;function C(){null==x&&(x=setTimeout((function(){null!=x&&s&&_()}),20))}function S(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function E(e){var t=["copy","copymove","all","uninitialized"],n=r.isMac?e.altKey:e.ctrlKey,o="uninitialized";try{o=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var i="none";return n&&t.indexOf(o)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(o)>=0?i="move":t.indexOf(o)>=0&&(i="copy"),i}}function a(e,t,n,o){return Math.sqrt(Math.pow(n-e,2)+Math.pow(o-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=r.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;r.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),o=e.getButton();if(1===(e.domEvent.detail||1)&&0===o&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=e.domEvent.target||e.domEvent.srcElement;"unselectable"in i&&(i.unselectable="on"),t.getDragDelay()?(r.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(s.prototype),t.DragdropHandler=s})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("./mouse_event").MouseEvent,i=e("../lib/event"),r=e("../lib/dom");t.addTouchListeners=function(e,t){var n,s,a,l,c,u,h,d,p,g="scroll",f=0,m=0,v=0,b=0;function y(){var e,n,o;p||(e=window.navigator&&window.navigator.clipboard,n=!1,o=function(o){var i,s,a=o.target.getAttribute("action");if("more"==a||!n)return n=!n,i=t.getCopyText(),s=t.session.getUndoManager().hasUndo(),void p.replaceChild(r.buildDom(n?["span",!i&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],i&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],i&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],s&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),p.firstChild);"paste"==a?e.readText().then((function(e){t.execCommand(a,e)})):a&&("cut"!=a&&"copy"!=a||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(a)),p.firstChild.style.display="none",n=!1,"openCommandPalette"!=a&&t.focus()},p=r.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(e){g="menu",e.stopPropagation(),e.preventDefault(),t.textInput.focus()},ontouchend:function(e){e.stopPropagation(),e.preventDefault(),o(e)},onclick:o},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container));var i=t.selection.cursor,s=t.renderer.textToScreenCoordinates(i.row,i.column),a=t.renderer.textToScreenCoordinates(0,0).pageX,l=t.renderer.scrollLeft,c=t.container.getBoundingClientRect();p.style.top=s.pageY-c.top-3+"px",s.pageX-c.left1)return clearTimeout(c),c=null,a=-1,void(g="zoom");d=t.$mouseHandler.isMousePressed=!0;var r=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,p=e.timeStamp;l=p;var y=i[0],w=y.clientX,_=y.clientY;Math.abs(n-w)+Math.abs(s-_)>r&&(a=-1),n=e.clientX=w,s=e.clientY=_,v=b=0;var x=new o(e,t);if(h=x.getDocumentPosition(),p-a<500&&1==i.length&&!f)m++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(h);var e=m>=2?t.selection.getLineRange(h.row):t.session.getBracketRange(h);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),g="wait"}();else{m=0;var C=t.selection.cursor,S=t.selection.isEmpty()?C:t.selection.anchor,E=t.renderer.$cursorLayer.getPixelPosition(C,!0),A=t.renderer.$cursorLayer.getPixelPosition(S,!0),T=t.renderer.scroller.getBoundingClientRect(),$=t.renderer.layerConfig.offset,M=t.renderer.scrollLeft,R=function(e,t){return(e/=u)*e+(t=t/r-.75)*t};if(e.clientXO?"cursor":"anchor"),g=O<3.5?"anchor":j<3.5?"cursor":"scroll",c=setTimeout(k,450)}a=p}),t),i.addListener(e,"touchend",(function(e){d=t.$mouseHandler.isMousePressed=!1,u&&clearInterval(u),"zoom"==g?(g="",f=0):c?(t.selection.moveToPosition(h),f=0,y()):"scroll"==g?(f+=60,u=setInterval((function(){f--<=0&&(clearInterval(u),u=null),Math.abs(v)<.01&&(v=0),Math.abs(b)<.01&&(b=0),f<20&&(v*=.9),f<20&&(b*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*v,10*b),e==t.session.getScrollTop()&&(f=0)}),10),w()):y(),clearTimeout(c),c=null}),t),i.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var i=e.touches;if(!(i.length>1||"zoom"==g)){var r=i[0],a=n-r.clientX,u=s-r.clientY;if("wait"==g){if(!(a*a+u*u>4))return e.preventDefault();g="cursor"}n=r.clientX,s=r.clientY,e.clientX=r.clientX,e.clientY=r.clientY;var h=e.timeStamp,d=h-l;if(l=h,"scroll"==g){var p=new o(e,t);p.speed=1,p.wheelX=a,p.wheelY=u,10*Math.abs(a)=e){for(r=h+1;r=e;)r++;for(a=h,l=r-1;a=t.length||2!=(l=n[i-1])&&3!=l||2!=(c=t[i+1])&&3!=c?4:(r&&(c=3),c==l?c:4);case 10:return 2==(l=i>0?n[i-1]:5)&&i+10&&2==n[i-1])return 2;if(r)return 4;for(p=i+1,d=t.length;p=1425&&f<=2303||64286==f;if(l=t[p],m&&(1==l||7==l))return 1}return i<1||5==(l=t[i-1])?4:n[i-1];case 5:return r=!1,s=!0,o;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:r=!1;case h:return 4}}function m(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?0:d[t]:5==n?/[\u0591-\u05f4]/.test(e)?1:0:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?u:/[\u06f0-\u06f9]/.test(e)?2:7:32==n&&t<=8287?p[255&t]:254==n&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="·",t.doBidiReorder=function(e,n,u){if(e.length<2)return{};var d=e.split(""),p=new Array(d.length),v=new Array(d.length),b=[];o=u?1:0,function(e,t,n,u){var h=o?c:l,d=null,p=null,g=null,v=0,b=null,y=-1,w=null,k=null,_=[];if(!u)for(w=0,u=[];w0)if(16==b){for(w=y;w-1){for(w=y;w=0&&8==u[x];x--)t[x]=o}}(d,b,d.length,n);for(var y=0;y7&&n[y]<13||4===n[y]||n[y]===h)?b[y]=t.ON_R:y>0&&"ل"===d[y-1]&&/\u0622|\u0623|\u0625|\u0627/.test(d[y])&&(b[y-1]=b[y]=t.R_H,y++);for(d[d.length-1]===t.DOT&&(b[d.length-1]=t.B),"‫"===d[0]&&(b[0]=t.RLE),y=0;y=0&&(e=this.session.$docRowCache[n])}return e},e.prototype.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,o=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===o;)o=n,e++;else e=this.currentRow;return e},e.prototype.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var n=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var r=this.session.$wrapData[e];r&&(void 0===t&&(t=this.getSplitIndex()),t>0&&r.length?(this.wrapIndent=r.indent,this.wrapOffset=this.wrapIndent*this.charWidths[o.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,i=o.getVisualFromLogicalIdx(n,this.bidiMap),r=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&e<=t&&r[i]%2!=0&&i++;for(var a=0;at&&r[i]%2==0&&(s+=this.charWidths[r[i]]),this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(s+=this.rtlLineOffset),s},e.prototype.getSelections=function(e,t){var n,o=this.bidiMap,i=o.bidiLevels,r=[],s=0,a=Math.min(e,t)-this.wrapIndent,l=Math.max(e,t)-this.wrapIndent,c=!1,u=!1,h=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var d,p=0;p=a&&dn+r/2;){if(n+=r,o===i.length-1){r=0;break}r=this.charWidths[i[++o]]}return o>0&&i[o-1]%2!=0&&i[o]%2==0?(e0&&i[o-1]%2==0&&i[o]%2!=0?t=1+(e>n?this.bidiMap.logicalFromVisual[o]:this.bidiMap.logicalFromVisual[o-1]):this.isRtlDir&&o===i.length-1&&0===r&&i[o-1]%2==0||!this.isRtlDir&&0===o&&i[o]%2!=0?t=1+this.bidiMap.logicalFromVisual[o]:(o>0&&i[o-1]%2!=0&&0!==r&&o--,t=this.bidiMap.logicalFromVisual[o]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent},e}();t.BidiHandler=s})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,n){"use strict";var o=e("./lib/oop"),i=e("./lib/lang"),r=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=function(){function e(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var t=this;this.cursor.on("change",(function(e){t.$cursorChanged=!0,t.$silent||t._emit("changeCursor"),t.$isEmpty||t.$silent||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.anchor.on("change",(function(){t.$anchorChanged=!0,t.$isEmpty||t.$silent||t._emit("changeSelection")}))}return e.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},e.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},e.prototype.getCursor=function(){return this.lead.getPosition()},e.prototype.setAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},e.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},e.prototype.getSelectionLead=function(){return this.lead.getPosition()},e.prototype.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},e.prototype.getRange=function(){var e=this.anchor,t=this.lead;return this.$isEmpty?s.fromPoints(t,t):this.isBackwards()?s.fromPoints(t,e):s.fromPoints(e,t)},e.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},e.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},e.prototype.setRange=function(e,t){var n=t?e.end:e.start,o=t?e.start:e.end;this.$setSelection(n.row,n.column,o.row,o.column)},e.prototype.$setSelection=function(e,t,n,o){if(!this.$silent){var i=this.$isEmpty,r=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(n,o),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||i!=this.$isEmpty||r)&&this._emit("changeSelection")}},e.prototype.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},e.prototype.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},e.prototype.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},e.prototype.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},e.prototype.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},e.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},e.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},e.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},e.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},e.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},e.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},e.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},e.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},e.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},e.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},e.prototype.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},e.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},e.prototype.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},e.prototype.getLineRange=function(e,t){var n,o="number"==typeof e?e:this.lead.row,i=this.session.getFoldLine(o);return i?(o=i.start.row,n=i.end.row):n=o,!0===t?new s(o,0,n,this.session.getLine(n).length):new s(o,0,n+1,0)},e.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},e.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},e.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},e.prototype.wouldMoveIntoSoftTab=function(e,t,n){var o=e.column,i=e.column+t;return n<0&&(o=e.column-t,i=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(o,i).split(" ").length-1==t},e.prototype.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},e.prototype.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=o)}}this.moveCursorTo(t.row,t.column)},e.prototype.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},e.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},e.prototype.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),o=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(e,t,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(o)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,o=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(r)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},e.prototype.$shortWordEndIndex=function(e){var t,n=0,o=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&o.test(t);)n++;if(n<1)for(i.lastIndex=0;(t=e[n])&&!i.test(t);)if(i.lastIndex=0,n++,o.test(t)){if(n>2){n--;break}for(;(t=e[n])&&o.test(t);)n++;if(n>2)break}}return i.lastIndex=0,n},e.prototype.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),o=n.substring(t),i=this.session.getFoldAt(e,t,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(t==n.length){var r=this.doc.getLength();do{e++,o=this.doc.getLine(e)}while(e0&&/^\s*$/.test(o));n=o.length,/\s+$/.test(o)||(o="")}var r=i.stringReverse(o),s=this.$shortWordEndIndex(r);return this.moveCursorTo(t,n-s)},e.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},e.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},e.prototype.moveCursorBy=function(e,t){var n,o=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(o.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(o.column),o.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=o.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?o.column=this.$desiredColumn:this.$desiredColumn=o.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var i=this.session.lineWidgets[this.lead.row];e<0?e-=i.rowsAbove||0:e>0&&(e+=i.rowCount-(i.rowsAbove||0))}var r=this.session.screenToDocumentPosition(o.row+e,o.column,n);0!==e&&0===t&&r.row===this.lead.row&&(r.column,this.lead.column),this.moveCursorTo(r.row,r.column+t,0===t)},e.prototype.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},e.prototype.moveCursorTo=function(e,t,n){var o=this.session.getFoldAt(e,t,1);o&&(e=o.start.row,t=o.start.column),this.$keepDesiredColumnOnChange=!0;var i=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(i.charAt(t))&&i.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},e.prototype.moveCursorToScreen=function(e,t,n){var o=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(o.row,o.column,n)},e.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},e.prototype.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},e.prototype.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},e.prototype.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return s.fromPoints(t,n)}catch(e){return s.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},e.prototype.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},e.prototype.fromJSON=function(e){if(null==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=s.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},e.prototype.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0},e}();a.prototype.setSelectionAnchor=a.prototype.setAnchor,a.prototype.getSelectionAnchor=a.prototype.getAnchor,a.prototype.setSelectionRange=a.prototype.setRange,o.implement(a.prototype,r),t.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],(function(e,t,n){"use strict";var o=e("./lib/report_error").reportError,i=2e3,r=function(){function e(e){for(var t in this.splitRegex,this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],o=[],i=0,r=this.matchMappings[t]={defaultToken:"text"},s="g",a=[],l=0;l1?this.$applyToken:c.token),h>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+i+1)})):(h=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),r[i]=l,i+=h,o.push(u),c.onMatch||(c.onMatch=null)}}o.length||(r[0]=0,o.push("$")),a.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,s)}),this),this.regExps[t]=new RegExp("("+o.join(")|(")+")|($)",s)}}return e.prototype.$setMaxTokenCount=function(e){i=0|e},e.prototype.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var o=[],i=0,r=n.length;iu){var v=e.substring(u,m-f.length);d.type==p?d.value+=v:(d.type&&c.push(d),d={type:p,value:v})}for(var b=0;bi){for(h>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&n[0]!==o&&n.unshift("#tmp",o),{tokens:c,state:n.length?n:o}},e}();r.prototype.reportError=o,t.Tokenizer=r})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,n){"use strict";var o,i=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var o=e[n],i=0;i=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentTokenRow=function(){return this.$row},e.prototype.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},e.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},e.prototype.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new o(this.$row,t,this.$row,t+e.value.length)},e}();t.TokenIterator=i})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,n){"use strict";var o,i,r=e("../../lib/oop"),s=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,l=e("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],u=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],h={},d={'"':'"',"'":"'"},p=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,h.rangeCount!=e.multiSelect.rangeCount&&(h={rangeCount:e.multiSelect.rangeCount})),h[t])return o=h[t];o=h[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},g=function(e,t,n,o){var i=e.end.row-e.start.row;return{text:n+t+o,selection:[0,e.start.column+1,i,e.end.column+(i?0:1)]}};(i=function(e){e=e||{},this.add("braces","insertion",(function(t,n,r,s,a){var c=r.getCursorPosition(),u=s.doc.getLine(c.row);if("{"==a){p(r);var h=r.getSelectionRange(),d=s.doc.getTextRange(h);if(""!==d&&"{"!==d&&r.getWrapBehavioursEnabled())return g(h,d,"{","}");if(i.isSaneInsertion(r,s))return/[\]\}\)]/.test(u[c.column])||r.inMultiSelectMode||e.braces?(i.recordAutoInsert(r,s,"}"),{text:"{}",selection:[1,1]}):(i.recordMaybeInsert(r,s,"{"),{text:"{",selection:[1,1]})}else if("}"==a){if(p(r),"}"==u.substring(c.column,c.column+1)&&null!==s.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&i.isAutoInsertedClosing(c,u,a))return i.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==a||"\r\n"==a){p(r);var f="";if(i.isMaybeInsertedClosing(c,u)&&(f=l.stringRepeat("}",o.maybeInsertedBrackets),i.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var m=s.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!m)return null;var v=this.$getIndent(s.getLine(m.row))}else{if(!f)return void i.clearMaybeInsertedClosing();v=this.$getIndent(u)}var b=v+s.getTabString();return{text:"\n"+b+"\n"+v+f,selection:[1,b.length,1,b.length]}}i.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,i,r){var s=i.doc.getTextRange(r);if(!r.isMultiLine()&&"{"==s){if(p(n),"}"==i.doc.getLine(r.start.row).substring(r.end.column,r.end.column+1))return r.end.column++,r;o.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,n,o,r){if("("==r){p(n);var s=n.getSelectionRange(),a=o.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return g(s,a,"(",")");if(i.isSaneInsertion(n,o))return i.recordAutoInsert(n,o,")"),{text:"()",selection:[1,1]}}else if(")"==r){p(n);var l=n.getCursorPosition(),c=o.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1)&&null!==o.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&i.isAutoInsertedClosing(l,c,r))return i.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,o,i){var r=o.doc.getTextRange(i);if(!i.isMultiLine()&&"("==r&&(p(n),")"==o.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("brackets","insertion",(function(e,t,n,o,r){if("["==r){p(n);var s=n.getSelectionRange(),a=o.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return g(s,a,"[","]");if(i.isSaneInsertion(n,o))return i.recordAutoInsert(n,o,"]"),{text:"[]",selection:[1,1]}}else if("]"==r){p(n);var l=n.getCursorPosition(),c=o.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1)&&null!==o.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&i.isAutoInsertedClosing(l,c,r))return i.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,o,i){var r=o.doc.getTextRange(i);if(!i.isMultiLine()&&"["==r&&(p(n),"]"==o.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("string_dquotes","insertion",(function(e,t,n,o,i){var r=o.$mode.$quotes||d;if(1==i.length&&r[i]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(i))return;p(n);var s=i,a=n.getSelectionRange(),l=o.doc.getTextRange(a);if(!(""===l||1==l.length&&r[l])&&n.getWrapBehavioursEnabled())return g(a,l,s,s);if(!l){var c=n.getCursorPosition(),u=o.doc.getLine(c.row),h=u.substring(c.column-1,c.column),f=u.substring(c.column,c.column+1),m=o.getTokenAt(c.row,c.column),v=o.getTokenAt(c.row,c.column+1);if("\\"==h&&m&&/escape/.test(m.type))return null;var b,y=m&&/string|escape/.test(m.type),w=!v||/string|escape/.test(v.type);if(f==s)(b=y!==w)&&/string\.end/.test(v.type)&&(b=!1);else{if(y&&!w)return null;if(y&&w)return null;var k=o.$mode.tokenRe;k.lastIndex=0;var _=k.test(h);k.lastIndex=0;var x=k.test(f),C=o.$mode.$pairQuotesAfter;if(!(C&&C[s]&&C[s].test(h))&&_||x)return null;if(f&&!/[\s;,.})\]\\]/.test(f))return null;var S=u[c.column-2];if(h==s&&(S==s||k.test(S)))return null;b=!0}return{text:b?s+s:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,o,i){var r=o.$mode.$quotes||d,s=o.doc.getTextRange(i);if(!i.isMultiLine()&&r.hasOwnProperty(s)&&(p(n),o.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)==s))return i.end.column++,i})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,n,o,i){if("doc-start"===e&&("\n"===i||"\r\n"===i)&&n.selection.isEmpty()){var r=n.getCursorPosition(),s=o.doc.getLine(r.row),a=o.doc.getLine(r.row+1),l=this.$getIndent(s);if(/\s*\*/.test(a))return/^\s*\*/.test(s)?{text:i+l+"* ",selection:[1,3+l.length,1,3+l.length]}:{text:i+l+" * ",selection:[1,3+l.length,1,3+l.length]};if(/\/\*\*/.test(s.substring(0,r.column)))return{text:i+l+" * "+i+" "+l+"*/",selection:[1,4+l.length,1,4+l.length]}}}))}).isSaneInsertion=function(e,t){var n=e.getCursorPosition(),o=new a(t,n.row,n.column);if(!this.$matchTokenType(o.getCurrentToken()||"text",c)){if(/[)}\]]/.test(e.session.getLine(n.row)[n.column]))return!0;var i=new a(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",c))return!1}return o.stepForward(),o.getCurrentTokenRow()!==n.row||this.$matchTokenType(o.getCurrentToken()||"text",u)},i.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},i.recordAutoInsert=function(e,t,n){var i=e.getCursorPosition(),r=t.doc.getLine(i.row);this.isAutoInsertedClosing(i,r,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=i.row,o.autoInsertedLineEnd=n+r.substr(i.column),o.autoInsertedBrackets++},i.recordMaybeInsert=function(e,t,n){var i=e.getCursorPosition(),r=t.doc.getLine(i.row);this.isMaybeInsertedClosing(i,r)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=i.row,o.maybeInsertedLineStart=r.substr(0,i.column)+n,o.maybeInsertedLineEnd=r.substr(i.column),o.maybeInsertedBrackets++},i.isAutoInsertedClosing=function(e,t,n){return o.autoInsertedBrackets>0&&e.row===o.autoInsertedRow&&n===o.autoInsertedLineEnd[0]&&t.substr(e.column)===o.autoInsertedLineEnd},i.isMaybeInsertedClosing=function(e,t){return o.maybeInsertedBrackets>0&&e.row===o.maybeInsertedRow&&t.substr(e.column)===o.maybeInsertedLineEnd&&t.substr(0,e.column)==o.maybeInsertedLineStart},i.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},i.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},r.inherits(i,s),t.CstyleBehaviour=i})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){"use strict";for(var o=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],i=0,r=[],s=0;s2?o%l!=l-1:o%l==0})}else{if(!this.blockComment)return!1;var p=this.blockComment.start,g=this.blockComment.end,f=new RegExp("^(\\s*)(?:"+c.escapeRegExp(p)+")"),m=new RegExp("(?:"+c.escapeRegExp(g)+")\\s*$"),v=function(e,t){y(e,t)||r&&!/\S/.test(e)||(i.insertInLine({row:t,column:e.length},g),i.insertInLine({row:t,column:a},p))},b=function(e,t){var n;(n=e.match(m))&&i.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(f))&&i.removeInLine(t,n[1].length,n[0].length)},y=function(e,n){if(f.test(e))return!0;for(var o=t.getTokens(n),i=0;ie.length&&(k=e.length)})),a==1/0&&(a=k,r=!1,s=!1),u&&a%l!=0&&(a=Math.floor(a/l)*l),w(s?b:v)},this.toggleBlockComment=function(e,t,n,o){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var r,s,a=(f=new u(t,o.row,o.column)).getCurrentToken(),l=(t.selection,t.selection.toOrientedRange());if(a&&/comment/.test(a.type)){for(var c,d;a&&/comment/.test(a.type);){if(-1!=(m=a.value.indexOf(i.start))){var p=f.getCurrentTokenRow(),g=f.getCurrentTokenColumn()+m;c=new h(p,g,p,g+i.start.length);break}a=f.stepBackward()}var f;for(a=(f=new u(t,o.row,o.column)).getCurrentToken();a&&/comment/.test(a.type);){var m;if(-1!=(m=a.value.indexOf(i.end))){p=f.getCurrentTokenRow(),g=f.getCurrentTokenColumn()+m,d=new h(p,g,p,g+i.end.length);break}a=f.stepForward()}d&&t.remove(d),c&&(t.remove(c),r=c.start.row,s=-i.start.length)}else s=i.start.length,r=n.start.row,t.insert(n.end,i.end),t.insert(n.start,i.start);l.start.row==r&&(l.start.column+=s),l.end.row==r&&(l.end.column+=s),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var n=e[t],o=n.prototype.$id,r=i.$modes[o];r||(i.$modes[o]=r=new n),i.$modes[t]||(i.$modes[t]=r),this.$embeds.push(t),this.$modes[t]=r}var s=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],a=function(e){var t,n,o;o=(t=l)[n=s[e]],t[s[e]]=function(){return this.$delegator(n,arguments,o)}},l=this;for(t=0;tthis.row)){var t=function(e,t,n){var o="insert"==e.action,i=(o?1:-1)*(e.end.row-e.start.row),r=(o?1:-1)*(e.end.column-e.start.column),a=e.start,l=o?a:e.end;return s(t,a,n)?{row:t.row,column:t.column}:s(l,t,!n)?{row:t.row+i,column:t.column+(t.row==l.row?r:0)}:{row:a.row,column:a.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},e.prototype.setPosition=function(e,t,n){var o;if(o=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=o.row||this.column!=o.column){var i={row:this.row,column:this.column};this.row=o.row,this.column=o.column,this._signal("change",{old:i,value:o})}},e.prototype.detach=function(){this.document.off("change",this.$onChange)},e.prototype.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},e.prototype.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n},e}();function s(e,t,n){var o=n?e.column<=t.column:e.column=n&&(e=n-1,t=void 0);var o=this.getLine(e);return null==t&&(t=o.length),{row:e,column:t=Math.min(Math.max(t,0),o.length)}},e.prototype.clonePos=function(e){return{row:e.row,column:e.column}},e.prototype.pos=function(e,t){return{row:e,column:t}},e.prototype.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},e.prototype.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,o=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},e.prototype.replace=function(e,t){return e instanceof s||(e=s.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},e.prototype.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},e.prototype.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!s.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(i(this.$lines,e,t),this._signal("change",e)))},e.prototype.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==o&&(o=t),r<=o&&n.fireUpdateEvent(r,o)}}}return e.prototype.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},e.prototype.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},e.prototype.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},e.prototype.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},e.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},e.prototype.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var o=Array(n+1);o.unshift(t,1),this.lines.splice.apply(this.lines,o),this.states.splice.apply(this.states,o)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},e.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},e.prototype.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},e.prototype.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},e.prototype.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],o=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=o.state+""?(this.states[e]=o.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=o.tokens},e.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},e}();o.implement(r.prototype,i),t.BackgroundTokenizer=r})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,n){"use strict";var o=e("./lib/lang"),i=e("./range").Range,r=function(){function e(e,t,n){void 0===n&&(n="text"),this.setRegexp(e),this.clazz=t,this.type=n}return e.prototype.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},e.prototype.update=function(e,t,n,r){if(this.regExp)for(var s=r.firstRow,a=r.lastRow,l={},c=s;c<=a;c++){var u=this.cache[c];null==u&&((u=o.getMatchOffsets(n.getLine(c),this.regExp)).length>this.MAX_RANGES&&(u=u.slice(0,this.MAX_RANGES)),u=u.map((function(e){return new i(c,e.offset,c,e.offset+e.length)})),this.cache[c]=u.length?u:"");for(var h=u.length;h--;){var d=u[h].toScreenRange(n),p=d.toString();l[p]||(l[p]=!0,t.drawSingleLineMarker(e,d,this.clazz,r))}}},e}();r.prototype.MAX_RANGES=500,t.SearchHighlight=r})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=function(){function e(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return e.prototype.addSession=function(e){this.$session=e},e.prototype.add=function(e,t,n){if(!this.$fromUndo&&e!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===t||!this.lastDeltas){this.lastDeltas=[];var o=this.$undoStack.length;o>this.$undoDepth-1&&this.$undoStack.splice(0,o-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev}"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e)}},e.prototype.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},e.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},e.prototype.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var n=this.$undoStack,o=n.length;o--;){var i=n[o][0];if(i.id<=e)break;i.id0},e.prototype.canRedo=function(){return this.$redoStack.length>0},e.prototype.bookmark=function(e){null==e&&(e=this.$rev),this.mark=e},e.prototype.isAtBookmark=function(){return this.$rev===this.mark},e.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},e.prototype.fromJSON=function(e){this.reset(),this.$undoStack=e.$undoStack,this.$redoStack=e.$redoStack},e.prototype.$prettyPrint=function(e){return e?a(e):a(this.$undoStack)+"\n---\n"+a(this.$redoStack)},e}();o.prototype.hasUndo=o.prototype.canUndo,o.prototype.hasRedo=o.prototype.canRedo,o.prototype.isClean=o.prototype.isAtBookmark,o.prototype.markClean=o.prototype.bookmark;var i=e("./range").Range,r=i.comparePoints;function s(e){return{row:e.row,column:e.column}}function a(e){if(e=e||this,Array.isArray(e))return e.map(a).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(l).join("\n"):l(e.value)),e.start&&(t+=l(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function l(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var n="insert"==e.action,o="insert"==t.action;if(n&&o)if(r(t.start,e.end)>=0)d(t,e,-1);else{if(!(r(t.start,e.start)<=0))return null;d(e,t,1)}else if(n&&!o)if(r(t.start,e.end)>=0)d(t,e,-1);else{if(!(r(t.end,e.start)<=0))return null;d(e,t,-1)}else if(!n&&o)if(r(t.start,e.start)>=0)d(t,e,1);else{if(!(r(t.start,e.start)<=0))return null;d(e,t,1)}else if(!n&&!o)if(r(t.start,e.start)>=0)d(t,e,1);else{if(!(r(t.end,e.start)<=0))return null;d(e,t,-1)}return[t,e]}function u(e,t){for(var n=e.length;n--;)for(var o=0;o=0?d(e,t,-1):(r(e.start,t.start)<=0||d(e,i.fromPoints(t.start,e.start),-1),d(t,e,1));else if(!n&&o)r(t.start,e.end)>=0?d(t,e,-1):(r(t.start,e.start)<=0||d(t,i.fromPoints(e.start,t.start),-1),d(e,t,1));else if(!n&&!o)if(r(t.start,e.end)>=0)d(t,e,-1);else{var s,a;if(!(r(t.end,e.start)<=0))return r(e.start,t.start)<0&&(s=e,e=g(e,t.start)),r(e.end,t.end)>0&&(a=g(e,t.end)),p(t.end,e.start,e.end,-1),a&&!s&&(e.lines=a.lines,e.start=a.start,e.end=a.end,a=e),[t,s,a].filter(Boolean);d(e,t,-1)}return[t,e]}function d(e,t,n){p(e.start,t.start,t.end,n),p(e.end,t.start,t.end,n)}function p(e,t,n,o){e.row==(1==o?t:n).row&&(e.column+=o*(n.column-t.column)),e.row+=o*(n.row-t.row)}function g(e,t){var n=e.lines,o=e.end;e.end=s(t);var i=e.end.row-e.start.row,r=n.splice(i,n.length),a=i?t.column:t.column-e.start.column;return n.push(r[0].substring(0,a)),r[0]=r[0].substr(a),{start:s(t),end:o,lines:r,action:e.action}}function f(e,t){t=function(e){return{start:s(e.start),end:s(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var n=e.length;n--;){for(var o=e[n],i=0;ithis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},e.prototype.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},e.prototype.walk=function(e,t,n){var o,i,r=0,s=this.folds,a=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var l=o(e,s.start);return 0===a?t&&0!==l?-r-2:r:l>0||0===l&&!t?r:-r-1}}return-r-1},e.prototype.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var o=this.pointIndex(e.end,t,n);return o<0?o=-o-1:o++,this.ranges.splice(n,o-n,e)},e.prototype.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},e.prototype.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},e.prototype.merge=function(){for(var e,t=[],n=this.ranges,i=(n=n.sort((function(e,t){return o(e.start,t.start)})))[0],r=1;r=0},e.prototype.containsPoint=function(e){return this.pointIndex(e)>=0},e.prototype.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},e.prototype.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row=o);s++);if("insert"==e.action){for(var l=i-o,c=-t.column+n.column;so);s++)if(u.start.row==o&&u.start.column>=t.column&&(u.start.column==t.column&&this.$bias<=0||(u.start.column+=c,u.start.row+=l)),u.end.row==o&&u.end.column>=t.column){if(u.end.column==t.column&&this.$bias<0)continue;u.end.column==t.column&&c>0&&su.start.column&&u.end.column==r[s+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=l}}else for(l=o-i,c=t.column-n.column;si);s++)u.end.rowt.column)&&(u.end.column=t.column,u.end.row=t.row):(u.end.column+=c,u.end.row+=l):u.end.row>i&&(u.end.row+=l),u.start.rowt.column)&&(u.start.column=t.column,u.start.row=t.row):(u.start.column+=c,u.start.row+=l):u.start.row>i&&(u.start.row+=l);if(0!=l&&s=e)return i;if(i.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,o=0;for(t&&(o=n.indexOf(t)),-1==o&&(o=0);o=e)return i}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,o=t-e+1,i=0;i=t){a=e?o-=t-a:o=0);break}s>=e&&(o-=a>=e?s-a:s-e+1)}return o},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,o=this.$foldData,s=!1;e instanceof r?n=e:(n=new r(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column,h=this.getFoldAt(a,l,1),d=this.getFoldAt(c,u,-1);if(h&&d==h)return h.addSubFold(n);h&&!h.range.isStart(a,l)&&this.removeFold(h),d&&!d.range.isEnd(c,u)&&this.removeFold(d);var p=this.getFoldsInRange(n.range);p.length>0&&(this.removeFolds(p),n.collapseChildren||p.forEach((function(e){n.addSubFold(e)})));for(var g=0;g0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,i;if(null==e)n=new o(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)n=new o(e,0,e,this.getLine(e).length);else if("row"in e)n=o.fromPoints(e,e);else{if(Array.isArray(e))return i=[],e.forEach((function(e){i=i.concat(this.unfold(e))}),this),i;n=e}for(var r=i=this.getFoldsInRangeList(n);1==i.length&&o.comparePoints(i[0].start,n.start)<0&&o.comparePoints(i[0].end,n.end)>0;)this.expandFolds(i),i=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(i):this.expandFolds(i),r.length)return r},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,o,i){null==o&&(o=e.start.row),null==i&&(i=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var r=this.doc,s="";return e.walk((function(e,t,n,a){if(!(tu)break}while(r&&l.test(r.type)&&!/^comment.start/.test(r.type));r=i.stepBackward()}else r=i.getCurrentToken();return c.end.row=i.getCurrentTokenRow(),c.end.column=i.getCurrentTokenColumn(),/^comment.end/.test(r.type)||(c.end.column+=r.value.length-2),c}},this.foldAll=function(e,t,n,o){null==n&&(n=1e5);var i=this.foldWidgets;if(i){t=t||this.getLength();for(var r=e=e||0;r=e&&(r=s.end.row,s.collapseChildren=n,this.addFold("...",s))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var n=e.getTokens(t),o=0;o=0;){var r=n[i];if(null==r&&(r=n[i]=this.getFoldWidget(i)),"start"==r){var s=this.getFoldWidgetRange(i);if(o||(o=s),s&&s.end.row>=e)break}i--}return{range:-1!==i&&s,firstRange:o}},this.onFoldWidgetClick=function(e,t){t instanceof a&&(t=t.domEvent);var n={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var o=t.target||t.srcElement;o&&/ace_fold-widget/.test(o.className)&&(o.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),o=this.getLine(e),i="end"===n?-1:1,r=this.getFoldAt(e,-1===i?0:o.length,i);if(r)return t.children||t.all?this.removeFold(r):this.expandFold(r),r;var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(r=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(r.range))return this.removeFold(r),r;if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,c=a.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=s?s.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):s&&(t.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var o=this.getParentFoldRangeData(t,!0);if(n=o.range||o.firstRange){t=n.start.row;var i=this.getFoldAt(t,this.getLine(t).length,1);i?this.removeFold(i):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var o=Array(n+1);o.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,o)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var o=e("../token_iterator").TokenIterator,i=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var o=n.match(/([\(\[\{])|([\)\]\}])/);return o?o[1]?this.$findClosingBracket(o[1],e):this.$findOpeningBracket(o[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),o=!0,r=n.charAt(e.column-1),s=r&&r.match(/([\(\[\{])|([\)\]\}])/);if(s||(r=n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(/([\(\[\{])|([\)\]\}])/),o=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=i.fromPoints(e,a),o||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],e)))return null;t=i.fromPoints(a,e),o||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e,t){var n=this.getLine(e.row),o=/([\(\[\{])|([\)\]\}])/,r=!t&&n.charAt(e.column-1),s=r&&r.match(o);if(s||(r=(void 0===t||t)&&n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(o)),!s)return null;var a=new i(e.row,e.column-1,e.row,e.column),l=s[1]?this.$findClosingBracket(s[1],e):this.$findOpeningBracket(s[2],e);return l?[a,new i(l.row,l.column,l.row,l.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var i=this.$brackets[e],r=1,s=new o(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var l=t.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;l>=0;){var u=c.charAt(l);if(u==i){if(0==(r-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else u==e&&(r+=1);l-=1}do{a=s.stepBackward()}while(a&&!n.test(a.type));if(null==a)break;l=(c=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var i=this.$brackets[e],r=1,s=new o(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var l=t.column-s.getCurrentTokenColumn();;){for(var c=a.value,u=c.length;l"===t.value?o=!0:-1!==t.type.indexOf("tag-name")&&(n=!0))}while(t&&!n);return t},this.$findClosingTag=function(e,t){var n,o=t.value,r=t.value,s=0,a=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var l=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length),c=!1;do{if(n=t,t=e.stepForward()){if(">"===t.value&&!c){var u=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(-1!==t.type.indexOf("tag-name")){if(r===(o=t.value))if("<"===n.value)s++;else if(""!==t.value)return;var p=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else r===o&&"/>"===t.value&&--s<0&&(p=d=h=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),u=new i(l.end.row,l.end.column,l.end.row,l.end.column+1))}}while(t&&s>=0);if(a&&u&&h&&p&&l&&d)return{openTag:new i(a.start.row,a.start.column,u.end.row,u.end.column),closeTag:new i(h.start.row,h.start.column,p.end.row,p.end.column),openTagName:l,closeTagName:d}},this.$findOpeningTag=function(e,t){var n=e.getCurrentToken(),o=t.value,r=0,s=e.getCurrentTokenRow(),a=e.getCurrentTokenColumn(),l=a+2,c=new i(s,a,s,l);e.stepForward();var u=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length);if((t=e.stepForward())&&">"===t.value){var h=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);e.stepBackward(),e.stepBackward();do{if(t=n,s=e.getCurrentTokenRow(),l=(a=e.getCurrentTokenColumn())+t.value.length,n=e.stepBackward(),t)if(-1!==t.type.indexOf("tag-name")){if(o===t.value)if("<"===n.value){if(++r>0){var d=new i(s,a,s,l),p=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var g=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else""===t.value){for(var f=0,m=n;m;){if(-1!==m.type.indexOf("tag-name")&&m.value===o){r--;break}if("<"===m.value)break;m=e.stepBackward(),f++}for(var v=0;vn&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},e.prototype.$getRowCacheIndex=function(e,t){for(var n=0,o=e.length-1;n<=o;){var i=n+o>>1,r=e[i];if(t>r)n=i+1;else{if(!(t=t);r++);return(n=o[r])?(n.index=r,n.start=i-n.value.length,n):null},e.prototype.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=i.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},e.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},e.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},e.prototype.getTabString=function(){return this.getUseSoftTabs()?i.stringRepeat(" ",this.getTabSize()):"\t"},e.prototype.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},e.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},e.prototype.setTabSize=function(e){this.setOption("tabSize",e)},e.prototype.getTabSize=function(){return this.$tabSize},e.prototype.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},e.prototype.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},e.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},e.prototype.setOverwrite=function(e){this.setOption("overwrite",e)},e.prototype.getOverwrite=function(){return this.$overwrite},e.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},e.prototype.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},e.prototype.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},e.prototype.getBreakpoints=function(){return this.$breakpoints},e.prototype.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(o=!!n.charAt(t-1).match(this.tokenRe)),o||(o=!!n.charAt(t).match(this.tokenRe)),o)var i=this.tokenRe;else i=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var r=t;if(r>0){do{r--}while(r>=0&&n.charAt(r).match(i));r++}for(var s=t;se&&(e=t.screenWidth)})),this.lineWidgetWidth=e},e.prototype.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,o=0,i=0,r=this.$foldData[i],s=r?r.start.row:1/0,a=t.length,l=0;ls){if((l=r.end.row+1)>=a)break;s=(r=this.$foldData[i++])?r.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>o&&(o=n[l])}this.screenWidth=o}},e.prototype.getLine=function(e){return this.doc.getLine(e)},e.prototype.getLines=function(e,t){return this.doc.getLines(e,t)},e.prototype.getLength=function(){return this.doc.getLength()},e.prototype.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},e.prototype.insert=function(e,t){return this.doc.insert(e,t)},e.prototype.remove=function(e){return this.doc.remove(e)},e.prototype.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},e.prototype.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=e.length-1;-1!=n;n--){var o=e[n];"insert"==o.action||"remove"==o.action?this.doc.revertDelta(o):o.folds&&this.addFolds(o.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},e.prototype.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=0;ne.end.column&&(r.start.column+=c),r.end.row==e.end.row&&r.end.column>e.end.column&&(r.end.column+=c)),s&&r.start.row>=e.end.row&&(r.start.row+=s,r.end.row+=s)}if(r.end=this.insert(r.start,o),i.length){var a=e.start,l=r.start,c=(s=l.row-a.row,l.column-a.column);this.addFolds(i.map((function(e){return(e=e.clone()).start.row==a.row&&(e.start.column+=c),e.end.row==a.row&&(e.end.column+=c),e.start.row+=s,e.end.row+=s,e})))}return r},e.prototype.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var o=e;o<=t;o++)this.doc.insertInLine({row:o,column:0},n)},e.prototype.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),o=this.getTabSize(),i=t.start.row;i<=t.end.row;++i){var r=this.getLine(i);n.start.row=i,n.end.row=i;for(var s=0;s0){var i;if((i=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;o=i-t}else e=this.$clipRowToDocument(e),o=(t=this.$clipRowToDocument(t))-e+1;var r=new u(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(r).map((function(e){return(e=e.clone()).start.row+=o,e.end.row+=o,e})),a=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+o,a),s.length&&this.addFolds(s),o},e.prototype.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},e.prototype.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},e.prototype.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},e.prototype.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},e.prototype.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},e.prototype.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},e.prototype.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},e.prototype.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},e.prototype.getUseWrapMode=function(){return this.$useWrapMode},e.prototype.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},e.prototype.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var o=this.$constrainWrapLimit(e,n.min,n.max);return o!=this.$wrapLimit&&o>1&&(this.$wrapLimit=o,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},e.prototype.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},e.prototype.getWrapLimit=function(){return this.$wrapLimit},e.prototype.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},e.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},e.prototype.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,o=e.start,i=e.end,r=o.row,s=i.row,a=s-r,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(r,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(f=this.getFoldLine(i.row)){f.addRemoveChars(i.row,i.column,o.column-i.column),f.shiftRow(-a);var h=this.getFoldLine(r);h&&h!==f&&(h.merge(f),f=h),u=c.indexOf(f)+1}for(;u=i.row&&f.shiftRow(-a);s=r}else{var d=Array(a);d.unshift(r,0);var p=t?this.$wrapData:this.$rowLengthCache;if(p.splice.apply(p,d),c=this.$foldData,u=0,f=this.getFoldLine(r)){var g=f.range.compareInside(o.row,o.column);0==g?(f=f.split(o.row,o.column))&&(f.shiftRow(a),f.addRemoveChars(s,0,i.column-o.column)):-1==g&&(f.addRemoveChars(r,0,i.column-o.column),f.shiftRow(a)),u=c.indexOf(f)+1}for(;u=r&&f.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a),(f=this.getFoldLine(r))&&f.addRemoveChars(r,o.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(r,s):this.$updateRowLengthCache(r,s),l},e.prototype.$updateRowLengthCache=function(e,t){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},e.prototype.$updateWrapData=function(e,t){var n,o,i=this.doc.getAllLines(),r=this.getTabSize(),s=this.$wrapData,a=this.$wrapLimit,l=e;for(t=Math.min(t,i.length-1);l<=t;)(o=this.getFoldLine(l,o))?(n=[],o.walk(function(e,t,o,r){var s;if(null!=e){(s=this.$getDisplayTokens(e,n.length))[0]=b;for(var a=1;at-h;){var d=r+t-h;if(e[d-1]>=k&&e[d]>=k)u(d);else if(e[d]!=b&&e[d]!=y){for(var p=Math.max(d-(t-(t>>2)),r-1);d>p&&e[d]p&&e[d]p&&e[d]==w;)d--}else for(;d>p&&e[d]p?u(++d):(e[d=r+t]==v&&d--,u(d-h))}else{for(;d!=r-1&&e[d]!=b;d--);if(d>r){u(d);continue}for(d=r+t;d39&&r<48||r>57&&r<64?o.push(w):r>=4352&&C(r)?o.push(m,v):o.push(m)}return o},e.prototype.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var o,i;for(null==t&&(t=1/0),n=n||0,i=0;i=4352&&C(o)?n+=2:n+=1,!(n>t));i++);return[n,i]},e.prototype.getRowLength=function(e){var t=1;return this.lineWidgets&&(t+=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0),this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+t:t},e.prototype.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},e.prototype.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0){a=c[u],r=this.$docRowCache[u];var d=e>c[h-1]}else d=!h;for(var p=this.getLength()-1,g=this.getNextFoldLine(r),f=g?g.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(r))>e||r>=p);)a+=l,++r>f&&(r=g.end.row+1,f=(g=this.getNextFoldLine(r,g))?g.start.row:1/0),d&&(this.$docRowCache.push(r),this.$screenRowCache.push(a));if(g&&g.start.row<=r)o=this.getFoldDisplayLine(g),r=g.start.row;else{if(a+l<=e||r>p)return{row:p,column:this.getLine(p).length};o=this.getLine(r),g=null}var m=0,v=Math.floor(e-a);if(this.$useWrapMode){var b=this.$wrapData[r];b&&(i=b[v],v>0&&b.length&&(m=b.indent,s=b[v-1]||b[b.length-1],o=o.substring(s)))}return void 0!==n&&this.$bidiHandler.isBidiRow(a+v,r,v)&&(t=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(o,t-m)[1],this.$useWrapMode&&s>=i&&(s=i-1),g?g.idxToPosition(s):{row:r,column:s}},e.prototype.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var o,i=0,r=null;(o=this.getFoldAt(e,t,1))&&(e=o.start.row,t=o.start.column);var s,a=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){a=l[c],i=this.$screenRowCache[c];var h=e>l[u-1]}else h=!u;for(var d=this.getNextFoldLine(a),p=d?d.start.row:1/0;a=p){if((s=d.end.row+1)>e)break;p=(d=this.getNextFoldLine(s,d))?d.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var g="";d&&a>=p?(g=this.getFoldDisplayLine(d,e,t),r=d.start.row):(g=this.getLine(e).substring(0,t),r=e);var f=0;if(this.$useWrapMode){var m=this.$wrapData[r];if(m){for(var v=0;g.length>=m[v];)i++,v++;g=g.substring(m[v-1]||0,g.length),f=v>0?m.indent:0}}return this.lineWidgets&&this.lineWidgets[a]&&this.lineWidgets[a].rowsAbove&&(i+=this.lineWidgets[a].rowsAbove),{row:i,column:f+this.$getStringScreenWidth(g)[0]}},e.prototype.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},e.prototype.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},e.prototype.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,o=0,i=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);oi&&(o=t.end.row+1,i=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;an);r++);return[o,r]})},e.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},e}();f.$uid=0,f.prototype.$modes=s.$modes,f.prototype.getValue=f.prototype.toString,f.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},f.prototype.$overwrite=!1,f.prototype.$mode=null,f.prototype.$modeId=null,f.prototype.$scrollTop=0,f.prototype.$scrollLeft=0,f.prototype.$wrapLimit=80,f.prototype.$useWrapMode=!1,f.prototype.$wrapLimitRange={min:null,max:null},f.prototype.lineWidgets=null,f.prototype.isFullWidth=C,o.implement(f.prototype,a);var m=1,v=2,b=3,y=4,w=9,k=10,_=11,x=12;function C(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),s.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){(e=parseInt(e))>0&&this.$tabSize!==e&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(e){this.setFoldStyle(e)},handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId},handlesSet:!0}}),t.EditSession=f})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var o=e("./lib/lang"),i=e("./lib/oop"),r=e("./range").Range,s=function(){function e(){this.$options={}}return e.prototype.set=function(e){return i.mixin(this.$options,e),this},e.prototype.getOptions=function(){return o.copyObject(this.$options)},e.prototype.setOptions=function(e){this.$options=e},e.prototype.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var o=null;return n.forEach((function(e,n,i,s){return o=new r(e,n,i,s),!(n==s&&t.start&&t.start.start&&0!=t.skipCurrent&&o.isEqual(t.start)&&(o=null,1))})),o},e.prototype.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),s=[],a=t.re;if(t.$isMultiLine){var l,c=a.length,u=i.length-c;e:for(var h=a.offset||0;h<=u;h++){for(var d=0;df||(s.push(l=new r(h,f,h+c-1,m)),c>2&&(h=h+c-2))}}else for(var v=0;vk&&s[d].end.row==_;)d--;for(s=s.slice(v,d+1),v=0,d=s.length;v=c;n--)if(p(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=u,c=l.row;n>=c;n--)if(p(n,Number.MAX_VALUE,e))return}};else h=function(e){var n=l.row;if(!p(n,l.column,e)){for(n+=1;n<=u;n++)if(p(n,0,e))return;if(0!=t.wrap)for(n=c,u=l.row;n<=u;n++)if(p(n,0,e))return}};if(t.$isMultiLine)var d=n.length,p=function(t,o,r){var s=i?t-d+1:t;if(!(s<0||s+d>e.getLength())){var a=e.getLine(s),l=a.search(n[0]);if(!(!i&&lo))return!!r(s,l,s+d-1,u)||void 0}}};else p=i?function(t,i,r){var a,l=e.getLine(t),c=[],u=0;for(n.lastIndex=0;a=n.exec(l);){var h=a[0].length;if(u=a.index,!h){if(u>=l.length)break;n.lastIndex=u+=o.skipEmptyMatch(l,u,s)}if(a.index+h>i)break;c.push(a.index,h)}for(var d=c.length-1;d>=0;d-=2){var p=c[d-1];if(r(t,p,t,p+(h=c[d])))return!0}}:function(t,i,r){var a,l,c=e.getLine(t);for(n.lastIndex=i;l=n.exec(c);){var u=l[0].length;if(r(t,a=l.index,t,a+u))return!0;if(!u&&(n.lastIndex=a+=o.skipEmptyMatch(c,a,s),a>=c.length))return!1}};return{forEach:h}},e}();t.Search=s})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=e("../lib/keys"),s=e("../lib/useragent"),a=r.KEY_MODS,l=function(){function e(e,t){this.$init(e,t,!1)}return e.prototype.$init=function(e,t,n){this.platform=t||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=n},e.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},e.prototype.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var o=this.commandKeyBinding;for(var i in o){var r=o[i];if(r==e)delete o[i];else if(Array.isArray(r)){var s=r.indexOf(e);-1!=s&&(r.splice(s,1),1==r.length&&(o[i]=r[0]))}}},e.prototype.bindKey=function(e,t,n){if("object"==typeof e&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var o="";if(-1!=e.indexOf(" ")){var i=e.split(/\s+/);e=i.pop(),i.forEach((function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;o+=(o?" ":"")+n,this._addCommandToBinding(o,"chainKeys")}),this),o+=" "}var r=this.parseKeys(e),s=a[r.hashId]+r.key;this._addCommandToBinding(o+s,t,n)}),this)},e.prototype._addCommandToBinding=function(e,t,n){var o,i=this.commandKeyBinding;if(t)if(!i[e]||this.$singleCommand)i[e]=t;else{Array.isArray(i[e])?-1!=(o=i[e].indexOf(t))&&i[e].splice(o,1):i[e]=[i[e]],"number"!=typeof n&&(n=c(t));var r=i[e];for(o=0;on);o++);r.splice(o,0,t)}else delete i[e]},e.prototype.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"==typeof n&&(n.name||(n.name=t),this.addCommand(n))}}),this)},e.prototype.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},e.prototype.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},e.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},e.prototype.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),o=r[n];if(r.FUNCTION_KEYS[o])n=r.FUNCTION_KEYS[o].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var i=0,s=t.length;s--;){var a=r.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;i|=a}return{key:n,hashId:i}},e.prototype.findKeyCommand=function(e,t){var n=a[e]+t;return this.commandKeyBinding[n]},e.prototype.handleKeyboard=function(e,t,n,o){if(!(o<0)){var i=a[t]+n,r=this.commandKeyBinding[i];return e.$keyChain&&(e.$keyChain+=" "+i,r=this.commandKeyBinding[e.$keyChain]||r),!r||"chainKeys"!=r&&"chainKeys"!=r[r.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||o>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-i.length-1)),{command:r}):(e.$keyChain=e.$keyChain||i,{command:"null"})}},e.prototype.getStatusText=function(e,t){return t.$keyChain||""},e}();function c(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}var u=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.$singleCommand=!0,o}return i(t,e),t}(l);u.call=function(e,t,n){l.prototype.$init.call(e,t,n,!0)},l.call=function(e,t,n){l.prototype.$init.call(e,t,n,!1)},t.HashHandler=u,t.MultiHashHandler=l})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=e("../lib/oop"),s=e("../keyboard/hash_handler").MultiHashHandler,a=e("../lib/event_emitter").EventEmitter,l=function(e){function t(t,n){var o=e.call(this,n,t)||this;return o.byName=o.commands,o.setDefaultHandler("exec",(function(e){return e.args?e.command.exec(e.editor,e.args,e.event,!1):e.command.exec(e.editor,{},e.event,!0)})),o}return i(t,e),t.prototype.exec=function(e,t,n){if(Array.isArray(e)){for(var o=e.length;o--;)if(this.exec(e[o],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t))return!1;var i={editor:t,command:e,args:n};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},t.prototype.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},t.prototype.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},t.prototype.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))},t}(s);r.implement(l.prototype,a),t.CommandManager=l})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,n){"use strict";var o=e("../lib/lang"),i=e("../config"),r=e("../range").Range;function s(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(e){i.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(e,t){"number"!=typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(o.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(e){e.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(e){e.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),i=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),s=e.session.doc.getLine(n.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=i.row+1;c++){var u=o.stringTrimLeft(o.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}i.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+a)):(s=e.session.doc.getLine(n.row).length>s?s+1:s,e.selection.moveCursorTo(n.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,o=e.selection.rangeList.ranges,i=[];o.length<1&&(o=[e.selection.getRange()]);for(var s=0;st[n].column&&n++,r.unshift(n,0),t.splice.apply(t,r),this.$updateRows()}}},e.prototype.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},e.prototype.$registerLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];return t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e},e.prototype.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=o.createElement("div"),e.el.innerHTML=e.html),e.text&&!e.el&&(e.el=o.createElement("div"),e.el.textContent=e.text),e.el&&(o.addCssClass(e.el,"ace_lineWidgetContainer"),e.className&&o.addCssClass(e.el,e.className),e.el.style.position="absolute",e.el.style.zIndex="5",t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex="3"),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var n=this.session.getFoldAt(e.row,0);if(e.$fold=n,n){var i=this.session.lineWidgets;e.row!=n.end.row||i[n.start.row]?e.hidden=!0:i[n.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},e.prototype.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(e){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},e.prototype.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],o=[];n;)o.push(n),n=n.$oldWidget;return o},e.prototype.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},e.prototype.measureWidgets=function(e,t){var n=this.session._changedWidgets,o=t.layerConfig;if(n&&n.length){for(var i=1/0,r=0;r0&&!o[i];)i--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=i;s<=r;s++){var a=o[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var c=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(c-=t.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.fixedWidth?a.el.style.right=t.scrollBar.getWidth()+"px":a.el.style.right=""}}}},e}();t.LineWidgets=i})),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],(function(e,t,n){"use strict";var o=e("../lib/keys"),i=e("../mouse/default_gutter_handler").GutterTooltip,r=function(){function e(e){this.editor=e,this.gutterLayer=e.renderer.$gutterLayer,this.element=e.renderer.$gutter,this.lines=e.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new i(this.editor)}return e.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},e.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},e.prototype.$onGutterKeyDown=function(e){if(this.annotationTooltip.isOpen)return e.preventDefault(),void(e.keyCode===o.escape&&this.annotationTooltip.hideTooltip());if(e.target===this.element){if(e.keyCode!=o.enter)return;e.preventDefault();var t=this.editor.getCursorPosition().row;return this.editor.isRowVisible(t)||this.editor.scrollToLine(t,!0,!0),void setTimeout(function(){var e=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),t=this.$findNearestFoldWidget(e),n=this.$findNearestAnnotation(e);if(null!==t||null!==n)return null===t&&null!==n?(this.activeRowIndex=n,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==t&&null===n?(this.activeRowIndex=t,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(n-e)0||e+t=0&&this.$isFoldWidgetVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(e+t))return e+t}return null},e.prototype.$findNearestAnnotation=function(e){if(this.$isAnnotationVisible(e))return e;for(var t=0;e-t>0||e+t=0&&this.$isAnnotationVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isAnnotationVisible(e+t))return e+t}return null},e.prototype.$focusFoldWidget=function(e){if(null!=e){var t=this.$getFoldWidget(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$focusAnnotation=function(e){if(null!=e){var t=this.$getAnnotation(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$blurFoldWidget=function(e){var t=this.$getFoldWidget(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$blurAnnotation=function(e){var t=this.$getAnnotation(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$moveFoldWidgetUp=function(){for(var e=this.activeRowIndex;e>0;)if(e--,this.$isFoldWidgetVisible(e))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=e,void this.$focusFoldWidget(this.activeRowIndex)},e.prototype.$moveFoldWidgetDown=function(){for(var e=this.activeRowIndex;e0;)if(e--,this.$isAnnotationVisible(e))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=e,void this.$focusAnnotation(this.activeRowIndex)},e.prototype.$moveAnnotationDown=function(){for(var e=this.activeRowIndex;e=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=e("./lib/oop"),r=e("./lib/dom"),s=e("./lib/lang"),a=e("./lib/useragent"),l=e("./keyboard/textinput").TextInput,c=e("./mouse/mouse_handler").MouseHandler,u=e("./mouse/fold_handler").FoldHandler,h=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,p=e("./search").Search,g=e("./range").Range,f=e("./lib/event_emitter").EventEmitter,m=e("./commands/command_manager").CommandManager,v=e("./commands/default_commands").commands,b=e("./config"),y=e("./token_iterator").TokenIterator,w=e("./line_widgets").LineWidgets,k=e("./keyboard/gutter_handler").GutterKeyboardHandler,_=e("./config").nls,x=e("./clipboard"),C=e("./lib/keys"),S=function(){function e(t,n,o){this.session,this.$toDestroy=[];var i=t.getContainerElement();this.container=i,this.renderer=t,this.id="editor"+ ++e.$uid,this.commands=new m(a.isMac?"mac":"win",v),"object"==typeof document&&(this.textInput=new l(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new u(this)),this.keyBinding=new h(this),this.$search=(new p).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(e,t){t._$emitInputEvent.schedule(31)})),this.setSession(n||o&&o.session||new d("")),b.resetOptions(this),o&&this.setOptions(o),b._signal("editor",this)}return e.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},e.prototype.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},e.prototype.endOperation=function(e){if(this.curOp&&this.session){if(e&&!1===e.returnValue||!this.session)return this.curOp=null;if(1==e&&this.curOp.command&&"mouse"==this.curOp.command.name)return;if(this._signal("beforeEndOperation"),!this.curOp)return;var t=this.curOp.command,n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var o=this.selection.getRange(),i=this.renderer.layerConfig;(o.start.row>=i.lastRow||o.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}var r=this.selection.toJSON();this.curOp.selectionAfter=r,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(r),this.prevOp=this.curOp,this.curOp=null}},e.prototype.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,o=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var i=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),o=o&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(t.args)),this.mergeNextCommand=!0}else o=o&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(o=!1),o?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},e.prototype.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e&&"ace"!=e){this.$keybindingId=e;var n=this;b.loadModule(["keybinding",e],(function(o){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(o&&o.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},e.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},e.prototype.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&!e.destroyed&&e.bgTokenizer.scheduleStart()}},e.prototype.getSession=function(){return this.session},e.prototype.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},e.prototype.getValue=function(){return this.session.getValue()},e.prototype.getSelection=function(){return this.selection},e.prototype.resize=function(e){this.renderer.onResize(e)},e.prototype.setTheme=function(e,t){this.renderer.setTheme(e,t)},e.prototype.getTheme=function(){return this.renderer.getTheme()},e.prototype.setStyle=function(e){this.renderer.setStyle(e)},e.prototype.unsetStyle=function(e){this.renderer.unsetStyle(e)},e.prototype.getFontSize=function(){return this.getOption("fontSize")||r.computedStyle(this.container).fontSize},e.prototype.setFontSize=function(e){this.setOption("fontSize",e)},e.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&!t.destroyed){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var n=e.getCursorPosition(),o=e.getKeyboardHandler(),i=o&&o.$getDirectionForHighlight&&o.$getDirectionForHighlight(e),r=t.getMatchingBracketRanges(n,i);if(!r){var s=new y(t,n.row,n.column).getCurrentToken();if(s&&/\b(?:tag-open|tag-name)/.test(s.type)){var a=t.getMatchingTags(n);a&&(r=[a.openTagName,a.closeTagName])}}if(!r&&t.$mode.getMatching&&(r=t.$mode.getMatching(e.session)),r){var l="ace_bracket";Array.isArray(r)?1==r.length&&(l="ace_error_bracket"):r=[r],2==r.length&&(0==g.comparePoints(r[0].end,r[1].start)?r=[g.fromPoints(r[0].start,r[1].end)]:0==g.comparePoints(r[0].start,r[1].end)&&(r=[g.fromPoints(r[1].start,r[0].end)])),t.$bracketHighlight={ranges:r,markerIds:r.map((function(e){return t.addMarker(e,l,"text")}))},e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}else e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}}),50)}},e.prototype.focus=function(){this.textInput.focus()},e.prototype.isFocused=function(){return this.textInput.isFocused()},e.prototype.blur=function(){this.textInput.blur()},e.prototype.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},e.prototype.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},e.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},e.prototype.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,t),this._signal("change",e),this.$cursorChange()},e.prototype.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},e.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},e.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},e.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},e.prototype.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(e=!1),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new g(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},e.prototype.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),o=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",o)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},e.prototype.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column,o=t.end.column,i=e.getLine(t.start.row),r=i.substring(n,o);if(!(r.length>5e3)&&/[\w\d]/.test(r)){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:r}),a=i.substring(n-1,o+1);if(s.test(a))return s}}},e.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},e.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},e.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},e.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},e.prototype.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},e.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},e.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},e.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},e.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},e.prototype.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),n=!1;if(!e&&this.$copyWithEmptySelection){n=!0;for(var o=this.selection.getAllRanges(),i=0;ia.search(/\S|$/)){var l=a.substr(i.column).search(/\S|$/);n.doc.removeInLine(i.row,i.column,i.column+l)}}this.clearSelection();var c=i.column,u=n.getState(i.row),h=(a=n.getLine(i.row),o.checkOutdent(u,a,e));if(n.insert(i,e),r&&r.selection&&(2==r.selection.length?this.selection.setSelectionRange(new g(i.row,c+r.selection[0],i.row,c+r.selection[1])):this.selection.setSelectionRange(new g(i.row+r.selection[0],r.selection[1],i.row+r.selection[2],r.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var d=o.getNextLineIndent(u,a.slice(0,i.column),n.getTabString());n.insert({row:i.row+1,column:0},d)}h&&o.autoOutdent(u,n,i.row)}},e.prototype.autoIndent=function(){for(var e=this.session,t=e.getMode(),n=this.selection.isEmpty()?[new g(0,0,e.doc.getLength()-1,0)]:this.selection.getAllRanges(),o="",i="",r="",s=e.getTabString(),a=0;a0&&(o=e.getState(u-1),i=e.getLine(u-1),r=t.getNextLineIndent(o,i,s));var h=e.getLine(u),d=t.$getIndent(h);if(r!==d){if(d.length>0){var p=new g(u,0,u,d.length);e.remove(p)}r.length>0&&e.insert({row:u,column:0},r)}t.autoOutdent(o,e,u)}},e.prototype.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var n=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(n):n(),this.endOperation()},e.prototype.applyComposition=function(e,t){var n;(t.extendLeft||t.extendRight)&&((n=this.selection.getRange()).start.column-=t.extendLeft,n.end.column+=t.extendRight,n.start.column<0&&(n.start.row--,n.start.column+=this.session.getLine(n.start.row).length+1),this.selection.setRange(n),e||n.isEmpty()||this.remove()),!e&&this.selection.isEmpty()||this.insert(e,!0),(t.restoreStart||t.restoreEnd)&&((n=this.selection.getRange()).start.column-=t.restoreStart,n.end.column-=t.restoreEnd,this.selection.setRange(n))},e.prototype.onCommandKey=function(e,t,n){return this.keyBinding.onCommandKey(e,t,n)},e.prototype.setOverwrite=function(e){this.session.setOverwrite(e)},e.prototype.getOverwrite=function(){return this.session.getOverwrite()},e.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},e.prototype.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},e.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},e.prototype.setDragDelay=function(e){this.setOption("dragDelay",e)},e.prototype.getDragDelay=function(){return this.getOption("dragDelay")},e.prototype.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},e.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},e.prototype.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},e.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},e.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},e.prototype.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},e.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},e.prototype.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},e.prototype.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},e.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},e.prototype.setHighlightIndentGuides=function(e){this.renderer.setHighlightIndentGuides(e)},e.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},e.prototype.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},e.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},e.prototype.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},e.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},e.prototype.setReadOnly=function(e){this.setOption("readOnly",e)},e.prototype.getReadOnly=function(){return this.getOption("readOnly")},e.prototype.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},e.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},e.prototype.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},e.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},e.prototype.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},e.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,o=n.getState(t.start.row),i=n.getMode().transformAction(o,"deletion",this,n,t);if(0===t.end.column){var r=n.getTextRange(t);if("\n"==r[r.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}i&&(t=i)}this.session.remove(t),this.clearSelection()},e.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},e.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},e.prototype.setGhostText=function(e,t){this.session.widgetManager||(this.session.widgetManager=new w(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(e,t)},e.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},e.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,o,i=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var i=new g(0,0,0,0);for(o=e.first;o<=e.last;o++){var r=t.getLine(o);i.start.row=o,i.end.row=o,i.end.column=r.length,t.replace(i,n[o-e.first])}},e.prototype.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},e.prototype.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},e.prototype.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var o=this.session.getLine(e);n.lastIndex=t)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},e.prototype.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,o=new g(t,n-1,t,n),i=this.session.getTextRange(o);if(!isNaN(parseFloat(i))&&isFinite(i)){var r=this.getNumberAt(t,n);if(r){var s=r.value.indexOf(".")>=0?r.start+r.value.indexOf(".")+1:r.end,a=r.start+r.value.length-s,l=parseFloat(r.value);l*=Math.pow(10,a),s!==r.end&&n=a&&r<=l&&(n=t,c.selection.clearSelection(),c.moveCursorTo(e,a+o),c.selection.selectTo(e,l+o)),a=l}));for(var u,h=this.$toggleWordPairs,d=0;d=l&&s<=c&&d.match(/((?:https?|ftp):\/\/[\S]+)/)){a=d.replace(/[\s:.,'";}\]]+$/,"");break}l=c}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return a},e.prototype.openLink=function(){var e=this.selection.getCursor(),t=this.findLinkAt(e.row,e.column);return t&&window.open(t,"_blank"),null!=t},e.prototype.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},e.prototype.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),o=e.isBackwards();if(n.isEmpty()){var i=n.start.row;t.duplicateLines(i,i)}else{var r=o?n.start:n.end,s=t.insert(r,t.getTextRange(n));n.start=r,n.end=s,e.setSelectionRange(n,o)}},e.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},e.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},e.prototype.moveText=function(e,t,n){return this.session.moveText(e,t,n)},e.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},e.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},e.prototype.$moveLines=function(e,t){var n,o,i=this.selection;if(!i.inMultiSelectMode||this.inVirtualSelectionMode){var r=i.toOrientedRange();n=this.$getSelectedRows(r),o=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(o=0),r.moveBy(o,0),i.fromOrientedRange(r)}else{var s=i.rangeList.ranges;i.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,l=0,c=s.length,u=0;up+1)break;p=g.last}for(u--,a=this.session.$moveLines(d,p,t?0:e),t&&-1==e&&(h=u+1);h<=u;)s[h].moveBy(a,0),h++;t||(a=0),l+=a}i.fromOrientedRange(i.ranges[0]),i.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},e.prototype.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},e.prototype.onCompositionStart=function(e){this.renderer.showComposition(e)},e.prototype.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},e.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},e.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},e.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},e.prototype.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},e.prototype.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},e.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},e.prototype.$moveByPage=function(e,t){var n=this.renderer,o=this.renderer.layerConfig,i=e*Math.floor(o.height/o.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(i,0)})):!1===t&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection());var r=n.scrollTop;n.scrollBy(0,i*o.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(r)},e.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},e.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},e.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},e.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},e.prototype.scrollPageDown=function(){this.$moveByPage(1)},e.prototype.scrollPageUp=function(){this.$moveByPage(-1)},e.prototype.scrollToRow=function(e){this.renderer.scrollToRow(e)},e.prototype.scrollToLine=function(e,t,n,o){this.renderer.scrollToLine(e,t,n,o)},e.prototype.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},e.prototype.getCursorPosition=function(){return this.selection.getCursor()},e.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},e.prototype.getSelectionRange=function(){return this.selection.getRange()},e.prototype.selectAll=function(){this.selection.selectAll()},e.prototype.clearSelection=function(){this.selection.clearSelection()},e.prototype.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},e.prototype.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},e.prototype.jumpToMatching=function(e,t){var n=this.getCursorPosition(),o=new y(this.session,n.row,n.column),i=o.getCurrentToken(),r=0;i&&-1!==i.type.indexOf("tag-name")&&(i=o.stepBackward());var s=i||o.stepForward();if(s){var a,l,c=!1,u={},h=n.column-s.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(s.value.match(/[{}()\[\]]/g)){for(;h1?u[s.value]++:"=0;--r)this.$tryReplace(n[r],e)&&o++;return this.selection.setSelectionRange(i),o},e.prototype.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},e.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},e.prototype.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&i.mixin(t,e);var o=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(o)||this.$search.$options.needle)||(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var r=this.$search.find(this.session);return t.preventScroll?r:r?(this.revealRange(r,n),r):(t.backwards?o.start=o.end:o.end=o.start,void this.selection.setRange(o))},e.prototype.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},e.prototype.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},e.prototype.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},e.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},e.prototype.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,o=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var r=this.on("changeSelection",(function(){o=!0})),s=this.renderer.on("beforeRender",(function(){o&&(t=n.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(o&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,r=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=r.top-s.offset;null!=(o=r.top>=0&&a+t.top<0||!(r.topwindow.innerHeight)&&null)&&(i.style.top=a+"px",i.style.left=r.left+"px",i.style.height=s.lineHeight+"px",i.scrollIntoView(o)),o=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",r),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},e.prototype.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,r.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},e.prototype.prompt=function(e,t,n){var o=this;b.loadModule("ace/ext/prompt",(function(i){i.prompt(o,e,t,n)}))},e}();S.$uid=0,S.prototype.curOp=null,S.prototype.prevOp={},S.prototype.$mergeableCommands=["backspace","del","insertstring"],S.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],i.implement(S.prototype,f),b.defineOptions(S.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.textInput.setReadOnly(e),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(e){this.textInput.setCopyWithEmptySelection(e)},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(e){this.session.setValue(e)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(e){this.setSession(e)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(e){this.renderer.$gutterLayer.setShowLineNumbers(e),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),e&&this.$relativeLineNumbers?E.attach(this):E.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?E.attach(this):E.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),r.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(e||this.renderer.placeholderNode)!e&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),r.addCssClass(this.container,"ace_hasPlaceholder");var t=r.createElement("div");t.className="ace_placeholder",t.textContent=this.$placeholder||"",this.renderer.placeholderNode=t,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(e){var t,n={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(e){e.blur(),e.renderer.scroller.focus()},readOnly:!0},o=function(e){if(e.target==this.renderer.scroller&&e.keyCode===C.enter){e.preventDefault();var t=this.getCursorPosition().row;this.isRowVisible(t)||this.scrollToLine(t,!0,!0),this.focus()}};e?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(a.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",_("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",_("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",o.bind(this)),this.commands.addCommand(n),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",_("editor")),this.renderer.$gutter.setAttribute("aria-label",_("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),t||(t=new k(this)),t.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",o.bind(this)),this.commands.removeCommand(n),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),t&&t.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var E={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"·":""))+""},getWidth:function(e,t,n){return Math.max(t.toString().length,(n.lastRow+1).toString().length,2)*n.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=S})),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("../lib/dom"),i=function(){function e(e,t){this.element=e,this.canvasHeight=t||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return e.prototype.moveContainer=function(e){o.translate(this.element,0,-e.firstRowScreen*e.lineHeight%this.canvasHeight-e.offset*this.$offsetCoefficient)},e.prototype.pageChanged=function(e,t){return Math.floor(e.firstRowScreen*e.lineHeight/this.canvasHeight)!==Math.floor(t.firstRowScreen*t.lineHeight/this.canvasHeight)},e.prototype.computeLineTop=function(e,t,n){var o=t.firstRowScreen*t.lineHeight,i=Math.floor(o/this.canvasHeight);return n.documentToScreenRow(e,0)*t.lineHeight-i*this.canvasHeight},e.prototype.computeLineHeight=function(e,t,n){return t.lineHeight*n.getRowLineCount(e)},e.prototype.getLength=function(){return this.cells.length},e.prototype.get=function(e){return this.cells[e]},e.prototype.shift=function(){this.$cacheCell(this.cells.shift())},e.prototype.pop=function(){this.$cacheCell(this.cells.pop())},e.prototype.push=function(e){if(Array.isArray(e)){this.cells.push.apply(this.cells,e);for(var t=o.createFragment(this.element),n=0;nr&&(l=i.end.row+1,r=(i=t.getNextFoldLine(l,i))?i.start.row:1/0),l>o){for(;this.$lines.getLength()>a+1;)this.$lines.pop();break}(s=this.$lines.get(++a))?s.row=l:(s=this.$lines.createCell(l,e,this.session,u),this.$lines.push(s)),this.$renderCell(s,e,i,l),l++}this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$updateGutterWidth=function(e){var t=this.session,n=t.gutterRenderer||this.$renderer,o=t.$firstLineNumber,i=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(i=t.getLength()+o-1);var r=n?n.getWidth(t,i,e):i.toString().length*e.characterWidth,s=this.$padding||this.$computePadding();(r+=s.left+s.right)===this.gutterWidth||isNaN(r)||(this.gutterWidth=r,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",r))},e.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},e.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var n=0;n=this.$cursorRow){if(o.row>this.$cursorRow){var i=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&i&&i.start.row==t[n-1].row))break;o=t[n-1]}o.element.className="ace_gutter-active-line "+o.element.className,this.$cursorCell=o;break}}}}},e.prototype.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var n=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),o=this.oldLastRow;if(this.oldLastRow=n,!t||o0;i--)this.$lines.shift();if(o>n)for(i=this.session.getFoldedRowCount(n+1,o);i>0;i--)this.$lines.pop();e.firstRowo&&this.$lines.push(this.$renderLines(e,o+1,n)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$renderLines=function(e,t,n){for(var o=[],i=t,r=this.session.getNextFoldLine(i),s=r?r.start.row:1/0;i>s&&(i=r.end.row+1,s=(r=this.session.getNextFoldLine(i,r))?r.start.row:1/0),!(i>n);){var a=this.$lines.createCell(i,e,this.session,u);this.$renderCell(a,e,r,i),o.push(a),i++}return o},e.prototype.$renderCell=function(e,t,n,i){var r=e.element,s=this.session,a=r.childNodes[0],c=r.childNodes[1],u=r.childNodes[2],h=u.firstChild,d=s.$firstLineNumber,p=s.$breakpoints,g=s.$decorations,f=s.gutterRenderer||this.$renderer,m=this.$showFoldWidgets&&s.foldWidgets,v=n?n.start.row:Number.MAX_VALUE,b=t.lineHeight+"px",y=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",w=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",k=(f?f.getText(s,i):i+d).toString();if(this.$highlightGutterLine&&(i==this.$cursorRow||n&&i=v&&this.$cursorRow<=n.end.row)&&(y+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),p[i]&&(y+=p[i]),g[i]&&(y+=g[i]),this.$annotations[i]&&i!==v&&(y+=this.$annotations[i].className),m){var _=m[i];null==_&&(_=m[i]=s.getFoldWidget(i))}if(_){var x="ace_fold-widget ace_"+_,C="start"==_&&i==v&&in.right-t.right?"foldWidgets":void 0},e}();function u(e){var t=document.createTextNode("");e.appendChild(t);var n=o.createElement("span");e.appendChild(n);var i=o.createElement("span");e.appendChild(i);var r=o.createElement("span");return i.appendChild(r),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer="",c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,i.implement(c.prototype,s),t.Gutter=c})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("../range").Range,i=e("../lib/dom"),r=function(){function e(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)}return e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setMarkers=function(e){this.markers=e},e.prototype.elt=function(e,t){var n=-1!=this.i&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=t,n.className=e},e.prototype.update=function(e){if(e){var t;for(var n in this.config=e,this.i=0,this.markers){var o=this.markers[n];if(o.range){var i=o.range.clipRows(e.firstRow,e.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),o.renderer){var r=this.$getTop(i.start.row,e),s=this.$padding+i.start.column*e.characterWidth;o.renderer(t,i,s,r,e)}else"fullLine"==o.type?this.drawFullLineMarker(t,i,o.clazz,e):"screenLine"==o.type?this.drawScreenLineMarker(t,i,o.clazz,e):i.isMultiLine()?"text"==o.type?this.drawTextMarker(t,i,o.clazz,e):this.drawMultiLineMarker(t,i,o.clazz,e):this.drawSingleLineMarker(t,i,o.clazz+" ace_start ace_br15",e)}else o.update(t,this,this.session,e)}if(-1!=this.i)for(;this.id?4:0)|(c==l?8:0)),i,c==l?0:1,r)},e.prototype.drawMultiLineMarker=function(e,t,n,o,i){var r=this.$padding,s=o.lineHeight,a=this.$getTop(t.start.row,o),l=r+t.start.column*o.characterWidth;if(i=i||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,n+" ace_br1 ace_start",o,null,i)):this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:0;top:"+a+"px;left:"+l+"px;"+(i||"")),this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,n+" ace_br12",o,null,i)}else{a=this.$getTop(t.end.row,o);var u=t.end.column*o.characterWidth;this.elt(n+" ace_br12","height:"+s+"px;width:"+u+"px;top:"+a+"px;left:"+r+"px;"+(i||""))}if(!((s=(t.end.row-t.start.row-1)*o.lineHeight)<=0)){a=this.$getTop(t.start.row+1,o);var h=(t.start.column?1:0)|(t.end.column?0:8);this.elt(n+(h?" ace_br"+h:""),"height:"+s+"px;right:0;top:"+a+"px;left:"+r+"px;"+(i||""))}},e.prototype.drawSingleLineMarker=function(e,t,n,o,i,r){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,o,i,r);var s=o.lineHeight,a=(t.end.column+(i||0)-t.start.column)*o.characterWidth,l=this.$getTop(t.start.row,o),c=this.$padding+t.start.column*o.characterWidth;this.elt(n,"height:"+s+"px;width:"+a+"px;top:"+l+"px;left:"+c+"px;"+(r||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,n,o,i,r){var s=o.lineHeight,a=this.$getTop(t.start.row,o),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(n,"height:"+s+"px;width:"+(e.width+(i||0))+"px;top:"+a+"px;left:"+(l+e.left)+"px;"+(r||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,n,o,i){var r=this.$getTop(t.start.row,o),s=o.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,o)-r),this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(i||""))},e.prototype.drawScreenLineMarker=function(e,t,n,o,i){var r=this.$getTop(t.start.row,o),s=o.lineHeight;this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(i||""))},e}();r.prototype.$padding=0,t.Marker=r})),ace.define("ace/layer/text_util",["require","exports","module"],(function(e,t,n){var o=new Set(["text","rparen","lparen"]);t.isTextToken=function(e){return o.has(e)}})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("../lib/dom"),r=e("../lib/lang"),s=e("./lines").Lines,a=e("../lib/event_emitter").EventEmitter,l=e("../config").nls,c=e("./text_util").isTextToken,u=function(){function e(e){this.dom=i,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return e.prototype.$updateEolChar=function(){var e=this.session.doc,t="\n"==e.getNewLineCharacter()&&"windows"!=e.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},e.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},e.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},e.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},e.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},e.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},e.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},e.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},e.prototype.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,"string"==typeof e?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},e.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},e.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides!==e&&(this.$highlightIndentGuides=e,e)},e.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;nu&&(a=l.end.row+1,u=(l=this.session.getNextFoldLine(a,l))?l.start.row:1/0),!(a>i);){var h=r[s++];if(h){this.dom.removeChildren(h),this.$renderLine(h,a,a==u&&l),c&&(h.style.top=this.$lines.computeLineTop(a,e,this.session)+"px");var d=e.lineHeight*this.session.getRowLength(a)+"px";h.style.height!=d&&(c=!0,h.style.height=d)}a++}if(c)for(;s0;i--)this.$lines.shift();if(t.lastRow>e.lastRow)for(i=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);i>0;i--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},e.prototype.$renderLinesFragment=function(e,t,n){for(var o=[],r=t,s=this.session.getNextFoldLine(r),a=s?s.start.row:1/0;r>a&&(r=s.end.row+1,a=(s=this.session.getNextFoldLine(r,s))?s.start.row:1/0),!(r>n);){var l=this.$lines.createCell(r,e,this.session),c=l.element;this.dom.removeChildren(c),i.setStyle(c.style,"height",this.$lines.computeLineHeight(r,e,this.session)+"px"),i.setStyle(c.style,"top",this.$lines.computeLineTop(r,e,this.session)+"px"),this.$renderLine(c,r,r==a&&s),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",o.push(l),r++}return o},e.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,n=e.lastRow,o=this.$lines;o.getLength();)o.pop();o.push(this.$renderLinesFragment(e,t,n))},e.prototype.$renderToken=function(e,t,n,o){for(var i,s=this,a=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,u=this.dom.createFragment(this.element),h=0;i=a.exec(o);){var d=i[1],p=i[2],g=i[3],f=i[4],m=i[5];if(s.showSpaces||!p){var v=h!=i.index?o.slice(h,i.index):"";if(h=i.index+i[0].length,v&&u.appendChild(this.dom.createTextNode(v,this.element)),d){var b=s.session.getScreenTabSize(t+i.index);u.appendChild(s.$tabStrings[b].cloneNode(!0)),t+=b-1}else p?s.showSpaces?((w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",w.textContent=r.stringRepeat(s.SPACE_CHAR,p.length),u.appendChild(w)):u.appendChild(this.dom.createTextNode(p,this.element)):g?((w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",w.textContent=r.stringRepeat(s.SPACE_CHAR,g.length),u.appendChild(w)):f?(t+=1,(w=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",w.className=s.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",w.textContent=s.showSpaces?s.SPACE_CHAR:f,u.appendChild(w)):m&&(t+=1,(w=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",w.className="ace_cjk",w.textContent=m,u.appendChild(w))}}if(u.appendChild(this.dom.createTextNode(h?o.slice(h):o,this.element)),c(n.type))e.appendChild(u);else{var y="ace_"+n.type.replace(/\./g," ace_"),w=this.dom.createElement("span");"fold"==n.type&&(w.style.width=n.value.length*this.config.characterWidth+"px",w.setAttribute("title",l("Unfold code"))),w.className=y,w.appendChild(u),e.appendChild(w)}return t+o.length},e.prototype.renderIndentGuide=function(e,t,n){var o=t.search(this.$indentGuideRe);if(o<=0||o>=n)return t;if(" "==t[0]){for(var i=(o-=o%this.tabSize)/this.tabSize,r=0;ri[r].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}if(!this.$highlightIndentGuideMarker.end&&""!==e[t.row]&&t.column===e[t.row].length)for(this.$highlightIndentGuideMarker.dir=1,r=t.row+1;r0)for(var o=0;o=this.$highlightIndentGuideMarker.start+1){if(o.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(o,t)}}else for(n=e.length-1;n>=0;n--)if(o=e[n],this.$highlightIndentGuideMarker.end&&o.row=s;)a=this.$renderToken(l,a,u,h.substring(0,s-o)),h=h.substring(s-o),o=s,l=this.$createLineElement(),e.appendChild(l),l.appendChild(this.dom.createTextNode(r.stringRepeat(" ",n.indent),this.element)),a=0,s=n[++i]||Number.MAX_VALUE;0!=h.length&&(o+=h.length,a=this.$renderToken(l,a,u,h))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(l,a,null,"",!0)},e.prototype.$renderSimpleLine=function(e,t){for(var n=0,o=0;othis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,i,r);n=this.$renderToken(e,n,i,r)}}},e.prototype.$renderOverflowMessage=function(e,t,n,o,i){n&&this.$renderToken(e,t,n,o.slice(0,this.MAX_LINE_LENGTH-t));var r=this.dom.createElement("span");r.className="ace_inline_button ace_keyword ace_toggle_wrap",r.textContent=i?"":"",e.appendChild(r)},e.prototype.$renderLine=function(e,t,n){if(n||0==n||(n=this.session.getFoldLine(t)),n)var o=this.$getFoldLineTokens(t,n);else o=this.session.getTokens(t);var i=e;if(o.length){var r=this.session.getRowSplitData(t);r&&r.length?(this.$renderWrappedLine(e,o,r),i=e.lastChild):(i=e,this.$useLineGroups()&&(i=this.$createLineElement(),e.appendChild(i)),this.$renderSimpleLine(i,o))}else this.$useLineGroups()&&(i=this.$createLineElement(),e.appendChild(i));if(this.showEOL&&i){n&&(t=n.end.row);var s=this.dom.createElement("span");s.className="ace_invisible ace_invisible_eol",s.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,i.appendChild(s)}},e.prototype.$getFoldLineTokens=function(e,t){var n=this.session,o=[],i=n.getTokens(e);return t.walk((function(e,t,r,s,a){null!=e?o.push({type:"fold",value:e}):(a&&(i=n.getTokens(t)),i.length&&function(e,t,n){for(var i=0,r=0;r+e[i].value.lengthn-t&&(s=s.substring(0,n-t)),o.push({type:e[i].type,value:s}),r=t+s.length,i+=1);rn?o.push({type:e[i].type,value:s.substring(0,n-r)}):o.push(e[i]),r+=s.length,i+=1}}(i,s,r))}),t.end.row,this.session.getLine(t.end.row).length),o},e.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},e}();u.prototype.EOF_CHAR="¶",u.prototype.EOL_CHAR_LF="¬",u.prototype.EOL_CHAR_CRLF="¤",u.prototype.EOL_CHAR=u.prototype.EOL_CHAR_LF,u.prototype.TAB_CHAR="—",u.prototype.SPACE_CHAR="·",u.prototype.$padding=0,u.prototype.MAX_LINE_LENGTH=1e4,u.prototype.showInvisibles=!1,u.prototype.showSpaces=!1,u.prototype.showTabs=!1,u.prototype.showEOL=!1,u.prototype.displayIndentGuides=!0,u.prototype.$highlightIndentGuides=!0,u.prototype.$tabStrings=[],u.prototype.destroy={},u.prototype.onChangeTabSize=u.prototype.$computeTabString,o.implement(u.prototype,a),t.Text=u})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("../lib/dom"),i=function(){function e(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),o.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return e.prototype.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)o.setStyle(t[n].style,"opacity",e?"":"0")},e.prototype.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&o.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},e.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,o.removeCssClass(this.element,"ace_animate-blinking")},e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},e.prototype.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},e.prototype.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,o.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},e.prototype.addCursor=function(){var e=o.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},e.prototype.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},e.prototype.hideCursor=function(){this.isVisible=!1,o.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.showCursor=function(){this.isVisible=!0,o.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,o.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&o.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),o.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},e.prototype.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},e.prototype.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||s.top<0)&&n>1)){var a=this.cursors[i++]||this.addCursor(),l=a.style;this.drawCursor?this.drawCursor(a,s,e,t[n],this.session):this.isCursorInView(s,e)?(o.setStyle(l,"display","block"),o.translate(a,s.left,s.top),o.setStyle(l,"width",Math.round(e.characterWidth)+"px"),o.setStyle(l,"height",e.lineHeight+"px")):o.setStyle(l,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=s,this.restartTimer()},e.prototype.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?o.addCssClass(this.element,"ace_overwrite-cursors"):o.removeCssClass(this.element,"ace_overwrite-cursors"))},e.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},e}();i.prototype.$padding=0,i.prototype.drawCursor=null,t.Cursor=i})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=e("./lib/oop"),s=e("./lib/dom"),a=e("./lib/event"),l=e("./lib/event_emitter").EventEmitter,c=32768,u=function(){function e(e,t){this.element=s.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+t,this.inner=s.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();r.implement(u.prototype,l);var h=function(e){function t(t,n){var o=e.call(this,t,"-v")||this;return o.scrollTop=0,o.scrollHeight=0,n.$scrollbarWidth=o.width=s.scrollbarWidth(t.ownerDocument),o.inner.style.width=o.element.style.width=(o.width||15)+5+"px",o.$minWidth=0,o}return i(t,e),t.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.element.style.height=e+"px"},t.prototype.setScrollHeight=function(e){this.scrollHeight=e,e>c?(this.coeff=c/e,e=c):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},t.prototype.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)},t}(u);h.prototype.setInnerHeight=h.prototype.setScrollHeight;var d=function(e){function t(t,n){var o=e.call(this,t,"-h")||this;return o.scrollLeft=0,o.height=n.$scrollbarWidth,o.inner.style.height=o.element.style.height=(o.height||15)+5+"px",o}return i(t,e),t.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.setWidth=function(e){this.element.style.width=e+"px"},t.prototype.setInnerWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)},t}(u);t.ScrollBar=h,t.ScrollBarV=h,t.ScrollBarH=d,t.VScrollBar=h,t.HScrollBar=d})),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=e("./lib/oop"),s=e("./lib/dom"),a=e("./lib/event"),l=e("./lib/event_emitter").EventEmitter;s.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var c=function(){function e(e,t){this.element=s.createElement("div"),this.element.className="ace_sb"+t,this.inner=s.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();r.implement(c.prototype,l);var u=function(e){function t(t,n){var o=e.call(this,t,"-v")||this;return o.scrollTop=0,o.scrollHeight=0,o.parent=t,o.width=o.VScrollWidth,o.renderer=n,o.inner.style.width=o.element.style.width=(o.width||15)+"px",o.$minWidth=0,o}return i(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,o=t.clientY,i=t.clientY,r=this.thumbTop;a.capture(this.inner,(function(e){o=e.clientY}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==o){var e=n.scrollTopFromThumbTop(r+o-i);e!==n.scrollTop&&n._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.height},t.prototype.scrollTopFromThumbTop=function(e){var t=e*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(t>>=0)<0?t=0:t>this.pageHeight-this.viewHeight&&(t=this.pageHeight-this.viewHeight),t},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.height=Math.max(0,e),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},t.prototype.setScrollHeight=function(e,t){(this.pageHeight!==e||t)&&(this.pageHeight=e,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},t.prototype.setScrollTop=function(e){this.scrollTop=e,e<0&&(e=0),this.thumbTop=e*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},t}(c);u.prototype.setInnerHeight=u.prototype.setScrollHeight;var h=function(e){function t(t,n){var o=e.call(this,t,"-h")||this;return o.scrollLeft=0,o.scrollWidth=0,o.height=o.HScrollHeight,o.inner.style.height=o.element.style.height=(o.height||12)+"px",o.renderer=n,o}return i(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,o=t.clientX,i=t.clientX,r=this.thumbLeft;a.capture(this.inner,(function(e){o=e.clientX}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==o){var e=n.scrollLeftFromThumbLeft(r+o-i);e!==n.scrollLeft&&n._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.scrollLeftFromThumbLeft=function(e){var t=e*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(t>>=0)<0?t=0:t>this.pageWidth-this.viewWidth&&(t=this.pageWidth-this.viewWidth),t},t.prototype.setWidth=function(e){this.width=Math.max(0,e),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},t.prototype.setScrollWidth=function(e,t){(this.pageWidth!==e||t)&&(this.pageWidth=e,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},t.prototype.setScrollLeft=function(e){this.scrollLeft=e,e<0&&(e=0),this.thumbLeft=e*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},t}(c);h.prototype.setInnerWidth=h.prototype.setScrollWidth,t.ScrollBar=u,t.ScrollBarV=u,t.ScrollBarH=h,t.VScrollBar=u,t.HScrollBar=h})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){"use strict";var o=e("./lib/event"),i=function(){function e(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var n=this;this._flush=function(e){n.pending=!1;var t=n.changes;if(t&&(o.blockIdle(100),n.changes=0,n.onRender(t)),n.changes){if(n.$recursionLimit--<0)return;n.schedule()}else n.$recursionLimit=2}}return e.prototype.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(o.nextFrame(this._flush),this.pending=!0)},e.prototype.clear=function(e){var t=this.changes;return this.changes=0,t},e}();t.RenderLoop=i})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){var o=e("../lib/oop"),i=e("../lib/dom"),r=e("../lib/lang"),s=e("../lib/event"),a=e("../lib/useragent"),l=e("../lib/event_emitter").EventEmitter,c=512,u="function"==typeof ResizeObserver,h=200,d=function(){function e(e){this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=r.stringRepeat("X",c),this.$characterSize={width:0,height:0},u?this.$addObserver():this.checkForSizeChanges()}return e.prototype.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",a.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},e.prototype.checkForSizeChanges=function(e){if(void 0===e&&(e=this.$measureSizes()),e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},e.prototype.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},e.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=s.onIdle((function t(){e.checkForSizeChanges(),s.onIdle(t,500)}),500)},e.prototype.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},e.prototype.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/c};return 0===t.width||0===t.height?null:t},e.prototype.$measureCharWidth=function(e){return this.$main.textContent=r.stringRepeat(e,c),this.$main.getBoundingClientRect().width/c},e.prototype.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},e.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},e.prototype.$getZoom=function(e){return e&&e.parentElement?(window.getComputedStyle(e).zoom||1)*this.$getZoom(e.parentElement):1},e.prototype.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=i.buildDom([e(0,0),e(h,0),e(0,h),e(h,h)],this.el)},e.prototype.transformCoordinates=function(e,t){function n(e,t,n){var o=e[1]*t[0]-e[0]*t[1];return[(-t[1]*n[0]+t[0]*n[1])/o,(+e[1]*n[0]-e[0]*n[1])/o]}function o(e,t){return[e[0]-t[0],e[1]-t[1]]}function i(e,t){return[e[0]+t[0],e[1]+t[1]]}function r(e,t){return[e*t[0],e*t[1]]}function s(e){var t=e.getBoundingClientRect();return[t.left,t.top]}e&&(e=r(1/this.$getZoom(this.el),e)),this.els||this.$initTransformMeasureNodes();var a=s(this.els[0]),l=s(this.els[1]),c=s(this.els[2]),u=s(this.els[3]),d=n(o(u,l),o(u,c),o(i(l,c),i(u,a))),p=r(1+d[0],o(l,a)),g=r(1+d[1],o(c,a));if(t){var f=t,m=d[0]*f[0]/h+d[1]*f[1]/h+1,v=i(r(f[0],p),r(f[1],g));return i(r(1/m/h,v),a)}var b=o(e,a),y=n(o(p,r(d[0],b)),o(g,r(d[1],b)),b);return r(h,y)},e}();d.prototype.$characterSize={width:0,height:0},o.implement(d.prototype,l),t.FontMetrics=d})),ace.define("ace/css/editor-css",["require","exports","module"],(function(e,t,n){n.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n white-space: pre;\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}'})),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){"use strict";var o=e("../lib/dom"),i=e("../lib/oop"),r=e("../lib/event_emitter").EventEmitter,s=function(){function e(e,t){this.canvas=o.createElement("canvas"),this.renderer=t,this.pixelRatio=1,this.maxHeight=t.layerConfig.maxHeight,this.lineHeight=t.layerConfig.lineHeight,this.canvasHeight=e.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=e.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},e.element.appendChild(this.canvas)}return e.prototype.$updateDecorators=function(e){var t=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;e&&(this.maxHeight=e.maxHeight,this.lineHeight=e.lineHeight,this.canvasHeight=e.height,(e.lastRow+1)*this.lineHeightt.priority?1:0}));for(var r=this.renderer.session.$foldData,s=0;sthis.canvasHeight&&(d=this.canvasHeight-this.halfMinDecorationHeight),u=Math.round(d-this.halfMinDecorationHeight),h=Math.round(d+this.halfMinDecorationHeight)}n.fillStyle=t[o[s].type]||null,n.fillRect(0,c,this.canvasWidth,h-u)}}var p=this.renderer.session.selection.getCursor();p&&(l=this.compensateFoldRows(p.row,r),c=Math.round((p.row-l)*this.lineHeight*this.heightRatio),n.fillStyle="rgba(0, 0, 0, 0.5)",n.fillRect(0,c,this.canvasWidth,2))},e.prototype.compensateFoldRows=function(e,t){var n=0;if(t&&t.length>0)for(var o=0;ot[o].start.row&&e=t[o].end.row&&(n+=t[o].end.row-t[o].start.row);return n},e}();i.implement(s.prototype,r),t.Decorator=s})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("./lib/oop"),i=e("./lib/dom"),r=e("./lib/lang"),s=e("./config"),a=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,u=e("./layer/cursor").Cursor,h=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,p=e("./scrollbar_custom").HScrollBar,g=e("./scrollbar_custom").VScrollBar,f=e("./renderloop").RenderLoop,m=e("./layer/font_metrics").FontMetrics,v=e("./lib/event_emitter").EventEmitter,b=e("./css/editor-css"),y=e("./layer/decorators").Decorator,w=e("./lib/useragent");i.importCssString(b,"ace_editor.css",!1);var k=function(){function e(e,t){var n=this;this.container=e||i.createElement("div"),i.addCssClass(this.container,"ace_editor"),i.HI_DPI&&i.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var o=this.$textLayer=new c(this.content);this.canvas=o.element,this.$markerFront=new l(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new m(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!w.isIOS,this.$loop=new f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return e.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),i.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},e.prototype.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},e.prototype.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},e.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},e.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},e.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},e.prototype.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},e.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},e.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},e.prototype.onResize=function(e,t,n,o){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var i=this.container;o||(o=i.clientHeight||i.scrollHeight),n||(n=i.clientWidth||i.scrollWidth);var r=this.$updateCachedSize(e,t,n,o);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!n&&!o)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(r|this.$changes,!0):this.$loop.schedule(r|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},e.prototype.$updateCachedSize=function(e,t,n,o){o-=this.$extraHeight||0;var r=0,s=this.$size,a={width:s.width,height:s.height,scrollerHeight:s.scrollerHeight,scrollerWidth:s.scrollerWidth};if(o&&(e||s.height!=o)&&(s.height=o,r|=this.CHANGE_SIZE,s.scrollerHeight=s.height,this.$horizScroll&&(s.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(s.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",r|=this.CHANGE_SCROLL),n&&(e||s.width!=n)){r|=this.CHANGE_SIZE,s.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,i.setStyle(this.scrollBarH.element.style,"left",t+"px"),i.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),s.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),i.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";i.setStyle(this.scrollBarH.element.style,"right",l),i.setStyle(this.scroller.style,"right",l),i.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(s.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(r|=this.CHANGE_FULL)}return s.$dirty=!n||!o,r&&this._signal("resize",a),r},e.prototype.onGutterResize=function(e){var t=this.$showGutter?e:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},e.prototype.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},e.prototype.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},e.prototype.getAnimatedScroll=function(){return this.$animatedScroll},e.prototype.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},e.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},e.prototype.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},e.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},e.prototype.setHighlightIndentGuides=function(e){this.setOption("highlightIndentGuides",e)},e.prototype.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},e.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},e.prototype.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},e.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},e.prototype.getShowGutter=function(){return this.getOption("showGutter")},e.prototype.setShowGutter=function(e){return this.setOption("showGutter",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=i.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},e.prototype.getContainerElement=function(){return this.container},e.prototype.getMouseEventTarget=function(){return this.scroller},e.prototype.getTextAreaContainer=function(){return this.container},e.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var n=this.$cursorLayer.$pixelPos;if(n){t&&t.markerRange&&(n=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var o=this.layerConfig,r=n.top,s=n.left;r-=o.offset;var a=t&&t.useTextareaForIME||w.isMobile?this.lineHeight:1;if(r<0||r>o.height-a)i.translate(this.textarea,0,0);else{var l=1,c=this.$size.height-a;if(t)if(t.useTextareaForIME){var u=this.textarea.value;l=this.characterWidth*this.session.$getStringScreenWidth(u)[0]}else r+=this.lineHeight+2;else r+=this.lineHeight;(s-=this.scrollLeft)>this.$size.scrollerWidth-l&&(s=this.$size.scrollerWidth-l),s+=this.gutterWidth+this.margin.left,i.setStyle(e,"height",a+"px"),i.setStyle(e,"width",l+"px"),i.translate(this.textarea,Math.min(s,this.$size.scrollerWidth-l),Math.min(r,c))}}}else i.translate(this.textarea,-100,0)}},e.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},e.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},e.prototype.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},e.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},e.prototype.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},e.prototype.setScrollMargin=function(e,t,n,o){var i=this.scrollMargin;i.top=0|e,i.bottom=0|t,i.right=0|o,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},e.prototype.setMargin=function(e,t,n,o){var i=this.margin;i.top=0|e,i.bottom=0|t,i.right=0|o,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},e.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},e.prototype.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},e.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},e.prototype.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},e.prototype.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},e.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},e.prototype.freeze=function(){this.$frozen=!0},e.prototype.unfreeze=function(){this.$frozen=!1},e.prototype.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var o=this.scrollTop+(n.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;o>0&&(this.scrollTop=o,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),i.translate(this.content,-this.scrollLeft,-n.offset);var r=n.width+2*this.$padding+"px",s=n.minHeight+"px";i.setStyle(this.content.style,"width",r),i.setStyle(this.content.style,"height",s)}if(e&this.CHANGE_H_SCROLL&&(i.translate(this.content,-this.scrollLeft,-n.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(n):this.$gutterLayer.scrollLines(n)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_LINES?((this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender",e)}else this.$changes|=e},e.prototype.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var o=!(n<=2*this.lineHeight)&&e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||o!=this.$vScroll){o!=this.$vScroll&&(this.$vScroll=o,this.scrollBarV.setVisible(o));var i=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,n),this.desiredHeight=n,this._signal("autosize")}},e.prototype.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,o=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),r=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-i-2*this.$padding<0),s=this.$horizScroll!==r;s&&(this.$horizScroll=r,this.scrollBarH.setVisible(r));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;o+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,o-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,i+2*this.$padding-t.scrollerWidth+u.right)));var h=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-o+c<0||this.scrollTop>u.top),d=a!==h;d&&(this.$vScroll=h,this.scrollBarV.setVisible(h));var p,g,f=this.scrollTop%this.lineHeight,m=Math.ceil(l/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-f)/this.lineHeight)),b=v+m,y=this.lineHeight;v=e.screenToDocumentRow(v,0);var w=e.getFoldLine(v);w&&(v=w.start.row),p=e.documentToScreenRow(v,0),g=e.getRowLength(v)*y,b=Math.min(e.screenToDocumentRow(b,0),e.getLength()-1),l=t.scrollerHeight+e.getRowLength(b)*y+g,f=this.scrollTop-p*y;var k=0;return(this.layerConfig.width!=i||s)&&(k=this.CHANGE_H_SCROLL),(s||d)&&(k|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),d&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:v,firstRowScreen:p,lastRow:b,lineHeight:y,characterWidth:this.characterWidth,minHeight:l,maxHeight:o,offset:f,gutterOffset:y?Math.max(0,Math.ceil((f+t.height-t.scrollerHeight)/y)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(i-this.$padding),k},e.prototype.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},e.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},e.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},e.prototype.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},e.prototype.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},e.prototype.updateBreakpoints=function(e){this._rows=e,this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},e.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},e.prototype.showCursor=function(){this.$cursorLayer.showCursor()},e.prototype.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},e.prototype.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var o=this.$cursorLayer.getPixelPosition(e),i=o.left,r=o.top,s=n&&n.top||0,a=n&&n.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+s>r?(t&&l+s>r+this.lineHeight&&(r-=t*this.$size.scrollerHeight),0===r&&(r=-this.scrollMargin.top),this.session.setScrollTop(r)):l+this.$size.scrollerHeight-a=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},e.prototype.pixelToScreenCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var o=this.$fontMetrics.transformCoordinates([e,t]);e=o[1]-this.gutterWidth-this.margin.left,t=o[0]}else n=this.scroller.getBoundingClientRect();var i=e+this.scrollLeft-n.left-this.$padding,r=i/this.characterWidth,s=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),a=this.$blockCursor?Math.floor(r):Math.round(r);return{row:s,column:a,side:r-a>0?1:-1,offsetX:i}},e.prototype.screenToTextCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var o=this.$fontMetrics.transformCoordinates([e,t]);e=o[1]-this.gutterWidth-this.margin.left,t=o[0]}else n=this.scroller.getBoundingClientRect();var i=e+this.scrollLeft-n.left-this.$padding,r=i/this.characterWidth,s=this.$blockCursor?Math.floor(r):Math.round(r),a=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(a,Math.max(s,0),i)},e.prototype.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),o=this.session.documentToScreenPosition(e,t),i=this.$padding+(this.session.$bidiHandler.isBidiRow(o.row,e)?this.session.$bidiHandler.getPosLeft(o.column):Math.round(o.column*this.characterWidth)),r=o.row*this.lineHeight;return{pageX:n.left+i-this.scrollLeft,pageY:n.top+r-this.scrollTop}},e.prototype.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},e.prototype.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),null==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},e.prototype.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},e.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),i.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},e.prototype.setGhostText=function(e,t){var n=this.session.selection.cursor,o=t||{row:n.row,column:n.column};this.removeGhostText();var i=e.split("\n");if(this.addToken(i[0],"ghost_text",o.row,o.column),this.$ghostText={text:e,position:{row:o.row,column:o.column}},i.length>1){this.$ghostTextWidget={text:i.slice(1).join("\n"),row:o.row,column:o.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var r=this.$cursorLayer.getPixelPosition(o,!0),s=this.container.getBoundingClientRect().height,a=i.length*this.lineHeight;if(a1||Math.abs(e.$size.height-o)>1?e.$resizeTimer.delay():e.$resizeTimer.cancel()})),this.$resizeObserver.observe(this.container)}},e}();k.prototype.CHANGE_CURSOR=1,k.prototype.CHANGE_MARKER=2,k.prototype.CHANGE_GUTTER=4,k.prototype.CHANGE_SCROLL=8,k.prototype.CHANGE_LINES=16,k.prototype.CHANGE_TEXT=32,k.prototype.CHANGE_SIZE=64,k.prototype.CHANGE_MARKER_BACK=128,k.prototype.CHANGE_MARKER_FRONT=256,k.prototype.CHANGE_FULL=512,k.prototype.CHANGE_H_SCROLL=1024,k.prototype.$changes=0,k.prototype.$padding=null,k.prototype.$frozen=!1,k.prototype.STEPS=8,o.implement(k.prototype,v),s.defineOptions(k.prototype,"renderer",{useResizeObserver:{set:function(e){!e&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):e&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(e){this.$gutterLayer.$useSvgGutterIcons=e},initialValue:!1},showFoldedAnnotations:{set:function(e){this.$gutterLayer.$showFoldedAnnotations=e},initialValue:!1},fadeFoldWidgets:{set:function(e){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(e){1==this.$textLayer.setHighlightIndentGuides(e)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(e){this.$gutterLayer.setHighlightGutterLine(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(e){this.$updateCustomScrollbar(e)},initialValue:!1},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!w.isMobile&&!w.isIE}}),t.VirtualRenderer=k})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("../lib/net"),r=e("../lib/event_emitter").EventEmitter,s=e("../config");function a(e){if("undefined"==typeof Worker)return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var t=function(e){var t="importScripts('"+i.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(e){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(t),n.getBlob("application/javascript")}}(e),n=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(n)}return new Worker(e)}var l=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){o.implement(this,r),this.$createWorkerFromOldConfig=function(t,n,o,i,r){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),s.get("packaged")||!e.toUrl)i=i||s.moduleUrl(n,"worker");else{var l=this.$normalizePath;i=i||l(e.toUrl("ace/worker/worker.js",null,"_"));var c={};t.forEach((function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}return this.$worker=a(i),r&&this.send("importScripts",r),this.$worker.postMessage({init:!0,tlns:c,module:n,classname:o}),this.$worker},this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return i.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var o=this.callbackId++;this.callbacks[o]=n,t.push(o)}this.send(e,t)},this.emit=function(e,t){try{t.data&&t.data.err&&(t.data.err={message:t.data.err.message,stack:t.data.err.stack,code:t.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:t.data}})}catch(e){console.error(e.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype),t.UIWorkerClient=function(e,t,n){var o=null,i=!1,a=Object.create(r),c=[],u=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),o&&(i?setTimeout(h):h())}});u.setEmitSync=function(e){i=e};var h=function(){var e=c.shift();e.command?o[e.command].apply(o,e.args):e.event&&a._signal(e.event,e.data)};return a.postMessage=function(e){u.onMessage({data:e})},a.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},a.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},s.loadModule(["worker",t],(function(e){for(o=new e[n](a);c.length;)h()})),u},t.WorkerClient=l,t.createWorker=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){"use strict";var o=e("./range").Range,i=e("./lib/event_emitter").EventEmitter,r=e("./lib/oop"),s=function(){function e(e,t,n,o,i,r){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=i,this.othersClass=r,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=o,this.$onCursorChange=function(){setTimeout((function(){s.onCursorChange()}))},this.$pos=n;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)}return e.prototype.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=n.addMarker(new o(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var o=t.createAnchor(n.row,n.column);o.$insertRight=!0,o.detach(),e.others.push(o)})),n.setUndoSelect(!1)},e.prototype.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new o(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},e.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,r=t.start.column-this.pos.column;if(this.updateAnchors(e),i&&(this.length+=n),i&&!this.session.$fromUndo)if("insert"===e.action)for(var s=this.others.length-1;s>=0;s--){var a={row:(l=this.others[s]).row,column:l.column+r};this.doc.insertMergedLines(a,e.lines)}else if("remove"===e.action)for(s=this.others.length-1;s>=0;s--){var l;a={row:(l=this.others[s]).row,column:l.column+r},this.doc.remove(new o(a.row,a.column,a.row,a.column-n))}this.$updating=!1,this.updateMarkers()}},e.prototype.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},e.prototype.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,i){t.removeMarker(n.markerId),n.markerId=t.addMarker(new o(n.row,n.column,n.row,n.column+e.length),i,null,!1)};n(this.pos,this.mainClass);for(var i=this.others.length;i--;)n(this.others[i],this.othersClass)}},e.prototype.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},e.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},e.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var o=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new o(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,n){var o=e("./range_list").RangeList,i=e("./range").Range,r=e("./selection").Selection,s=e("./mouse/multi_select_handler").onMouseDown,a=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search),h=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var o=this.rangeList.add(e);return this.$onAddRange(e),o.length&&this.$onRemoveRange(o),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var o=this.ranges.indexOf(e[n]);this.ranges.splice(o,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new o,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],n=0;n1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var o=this.session.documentToScreenPosition(this.cursor),r=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(o,r).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var o=[],r=e.column0;)b--;if(b>0)for(var y=0;o[y].isEmpty();)y++;for(var w=b;w>=y;w--)o[w].isEmpty()&&o.splice(w,1)}return o}}.call(r.prototype);var d=e("./editor").Editor;function p(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",s),e.commands.addCommands(c.defaultCommands),function(e){if(e.textInput){var t=e.textInput.getElement(),n=!1;a.addListener(t,"keydown",(function(t){var i=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&i?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&o()}),e),a.addListener(t,"keyup",o,e),a.addListener(t,"blur",o,e)}function o(t){n&&(e.renderer.setMouseCursor(""),n=!1)}}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var o=e[n];if(o.marker){this.session.removeMarker(o.marker);var i=t.indexOf(o);-1!=i&&t.splice(i,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?o=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?o=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),o=t.exec(n,e.args||{})):o=t.multiSelectAction(n,e.args||{});else{var o=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return o}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var o,i=n&&n.keepOrder,s=1==n||n&&n.$byLines,a=this.session,l=this.selection,c=l.rangeList,u=(i?l:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var h=l._eventRegistry;l._eventRegistry={};var d=new r(a);this.inVirtualSelectionMode=!0;for(var p=u.length;p--;){if(s)for(;p>0&&u[p].start.row==u[p-1].end.row;)p--;d.fromOrientedRange(u[p]),d.index=p,this.selection=a.selection=d;var g=e.exec?e.exec(this,t||{}):e(this,t||{});o||void 0===g||(o=g),d.toOrientedRange(u[p])}d.detach(),this.selection=a.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=h,l.mergeOverlappingRanges(),l.ranges[0]&&l.fromOrientedRange(l.ranges[0]);var f=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),f&&f.from==f.to&&this.renderer.animateScrolling(f.from),o}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],o=0;os&&(s=n.column),ou?e.insert(o,l.stringRepeat(" ",r-u)):e.remove(new i(o.row,o.column,o.row,o.column-r+u)),t.start.column=t.end.column=s,t.start.row=t.end.row=o.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),h=u.start.row,d=u.end.row,p=h==d;if(p){var g,f=this.session.getLength();do{g=this.session.getLine(d)}while(/[=:]/.test(g)&&++d0);h<0&&(h=0),d>=f&&(d=f-1)}var m=this.session.removeFullLines(h,d);m=this.$reAlignText(m,p),this.session.insert({row:h,column:0},m.join("\n")+"\n"),p||(u.start.column=0,u.end.column=m[m.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var n,o,i,r=!0,s=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,o=t[2].length,i=t[3].length,t):(n+o+i!=t[1].length+t[2].length+t[3].length&&(s=!1),n!=t[1].length&&(r=!1),n>t[1].length&&(n=t[1].length),ot[3].length&&(i=t[3].length),t):[e]})).map(t?c:r?s?function(e){return e[2]?a(n+o-e[2].length)+e[2]+a(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?a(n)+e[2]+a(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function a(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?a(n)+e[2]+a(o-e[2].length+i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=p,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){p(this),e?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../../range").Range,i=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);return this.foldingStartMarker.test(o)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(o)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var i=/\S/,r=e.getLine(t),s=r.search(i);if(-1!=s){for(var a=n||r.length,l=e.getLength(),c=t,u=t;++tc){var p=e.getLine(u).length;return new o(c,a,u,p)}}},this.openingBracketBlock=function(e,t,n,i,r){var s={row:n,column:i+1},a=e.$findClosingBracket(t,s,r);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=e.getLine(a.row).length),o.fromPoints(s,a)}},this.closingBracketBlock=function(e,t,n,i,r){var s={row:n,column:i},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,o.fromPoints(a,s)}}).call(i.prototype)})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],(function(e,t,n){"use strict";var o=e("../line_widgets").LineWidgets,i=e("../lib/dom"),r=e("../range").Range,s=e("../config").nls;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new o(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),l=a.row,c=n.widgetManager.getWidgetsAtRow(l).filter((function(e){return"errorMarker"==e.type}))[0];c?c.destroy():l-=t;var u,h=function(e,t,n){var o=e.getAnnotations().sort(r.comparePoints);if(o.length){var i=function(e,t,n){for(var o=0,i=e.length-1;o<=i;){var r=o+i>>1,s=n(t,e[r]);if(s>0)o=r+1;else{if(!(s<0))return r;i=r-1}}return-(o+1)}(o,{row:t,column:-1},r.comparePoints);i<0&&(i=-i-1),i>=o.length?i=n>0?0:o.length-1:0===i&&n<0&&(i=o.length-1);var s=o[i];if(s&&n){if(s.row===t){do{s=o[i+=n]}while(s&&s.row===t);if(!s)return o.slice()}var a=[];t=s.row;do{a[n<0?"unshift":"push"](s),s=o[i+=n]}while(s&&s.row==t);return a.length&&a}}}(n,l,t);if(h){var d=h[0];a.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,a.row=d.row,u=e.renderer.$gutterLayer.$annotations[a.row]}else{if(c)return;u={text:[s("Looks good!")],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var p={row:a.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},g=p.el.appendChild(i.createElement("div")),f=p.el.appendChild(i.createElement("div"));f.className="error_widget_arrow "+u.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;f.style.left=m+e.renderer.gutterWidth-5+"px",p.el.className="error_widget_wrapper",g.className="error_widget "+u.className,g.innerHTML=u.text.join("
"),g.appendChild(i.createElement("div"));var v=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return p.destroy(),{command:"null"}};p.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(v),n.widgetManager.removeLineWidget(p),e.off("changeSelection",p.destroy),e.off("changeSession",p.destroy),e.off("mouseup",p.destroy),e.off("change",p.destroy))},e.keyBinding.addKeyboardHandler(v),e.on("changeSelection",p.destroy),e.on("changeSession",p.destroy),e.on("mouseup",p.destroy),e.on("change",p.destroy),e.session.widgetManager.addLineWidget(p),p.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:p.el.offsetHeight})},i.importCssString("\n .error_widget_wrapper {\n background: inherit;\n color: inherit;\n border:none\n }\n .error_widget {\n border-top: solid 2px;\n border-bottom: solid 2px;\n margin: 5px 0;\n padding: 10px 40px;\n white-space: pre-wrap;\n }\n .error_widget.ace_error, .error_widget_arrow.ace_error{\n border-color: #ff5a5a\n }\n .error_widget.ace_warning, .error_widget_arrow.ace_warning{\n border-color: #F1D817\n }\n .error_widget.ace_info, .error_widget_arrow.ace_info{\n border-color: #5a5a5a\n }\n .error_widget.ace_ok, .error_widget_arrow.ace_ok{\n border-color: #5aaa5a\n }\n .error_widget_arrow {\n position: absolute;\n border: solid 5px;\n border-top-color: transparent!important;\n border-right-color: transparent!important;\n border-left-color: transparent!important;\n top: -5px;\n }\n","error_marker.css",!1)})),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],(function(e,t,n){"use strict";e("./loader_build")(t);var o=e("./lib/dom"),i=e("./range").Range,r=e("./editor").Editor,s=e("./edit_session").EditSession,a=e("./undomanager").UndoManager,l=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.edit=function(e,n){if("string"==typeof e){var i=e;if(!(e=document.getElementById(i)))throw new Error("ace.edit can't find div #"+i)}if(e&&e.env&&e.env.editor instanceof r)return e.env.editor;var s="";if(e&&/input|textarea/i.test(e.tagName)){var a=e;s=a.value,e=o.createElement("pre"),a.parentNode.replaceChild(e,a)}else e&&(s=e.textContent,e.innerHTML="");var c=t.createEditSession(s),u=new r(new l(e),c,n),h={document:c,editor:u,onResize:u.resize.bind(u,null)};return a&&(h.textarea=a),u.on("destroy",(function(){h.editor.container.env=null})),u.container.env=u.env=h,u},t.createEditSession=function(e,t){var n=new s(e,t);return n.setUndoManager(new a),n},t.Range=i,t.Editor=r,t.EditSession=s,t.UndoManager=a,t.VirtualRenderer=l,t.version=t.config.version})),ace.require(["ace/ace"],(function(t){t&&(t.config.init(!0),t.define=ace.define);var n=function(){return this}();for(var o in n||"undefined"==typeof window||(n=window),n||"undefined"==typeof self||(n=self),n.ace||(n.ace=t),t)t.hasOwnProperty(o)&&(n.ace[o]=t[o]);n.ace.default=n.ace,e&&(e.exports=n.ace)}))},47:(e,t,n)=>{e=n.nmd(e),ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],(function(e,t,n){"use strict";var o=e("./lib/dom"),i=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,s=e("./lib/lang"),a=e("./range").Range,l=e("./range_list").RangeList,c=e("./keyboard/hash_handler").HashHandler,u=e("./tokenizer").Tokenizer,h=e("./clipboard"),d={CURRENT_WORD:function(e){return e.session.getTextRange(e.session.getWordRange())},SELECTION:function(e,t,n){var o=e.session.getTextRange();return n?o.replace(/\n\r?([ \t]*\S)/g,"\n"+n+"$1"):o},CURRENT_LINE:function(e){return e.session.getLine(e.getCursorPosition().row)},PREV_LINE:function(e){return e.session.getLine(e.getCursorPosition().row-1)},LINE_INDEX:function(e){return e.getCursorPosition().row},LINE_NUMBER:function(e){return e.getCursorPosition().row+1},SOFT_TABS:function(e){return e.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(e){return e.session.getTabSize()},CLIPBOARD:function(e){return h.getText&&h.getText()},FILENAME:function(e){return/[^/\\]*$/.exec(this.FILEPATH(e))[0]},FILENAME_BASE:function(e){return/[^/\\]*$/.exec(this.FILEPATH(e))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(e){return this.FILEPATH(e).replace(/[^/\\]*$/,"")},FILEPATH:function(e){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(e){var t=e.session.$mode||{};return t.blockComment&&t.blockComment.start||""},BLOCK_COMMENT_END:function(e){var t=e.session.$mode||{};return t.blockComment&&t.blockComment.end||""},LINE_COMMENT:function(e){return(e.session.$mode||{}).lineCommentStart||""},CURRENT_YEAR:p.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:p.bind(null,{year:"2-digit"}),CURRENT_MONTH:p.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:p.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:p.bind(null,{month:"short"}),CURRENT_DATE:p.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:p.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:p.bind(null,{weekday:"short"}),CURRENT_HOUR:p.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:p.bind(null,{minute:"2-digit"}),CURRENT_SECOND:p.bind(null,{second:"2-digit"})};function p(e){var t=(new Date).toLocaleString("en-us",e);return 1==t.length?"0"+t:t}d.SELECTED_TEXT=d.SELECTION;var g=function(){function e(){this.snippetMap={},this.snippetNameMap={},this.variables=d}return e.prototype.getTokenizer=function(){return e.$tokenizer||this.createTokenizer()},e.prototype.createTokenizer=function(){function t(e){return e=e.substr(1),/^\d+$/.test(e)?[{tabstopId:parseInt(e,10)}]:[{text:e}]}function n(e){return"(?:[^\\\\"+e+"]|\\\\.)"}var o={regex:"/("+n("/")+"+)/",onMatch:function(e,t,n){var o=n[0];return o.fmtString=!0,o.guard=e.slice(1,-1),o.flag="",""},next:"formatString"};return e.$tokenizer=new u({start:[{regex:/\\./,onMatch:function(e,t,n){var o=e[1];return("}"==o&&n.length||-1!="`$\\".indexOf(o))&&(e=o),[e]}},{regex:/}/,onMatch:function(e,t,n){return[n.length?n.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:t},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(e,n,o){var i=t(e.substr(1));return o.unshift(i[0]),i},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+n("\\|")+"*\\|",onMatch:function(e,t,n){var o=e.slice(1,-1).replace(/\\[,|\\]|,/g,(function(e){return 2==e.length?e[1]:"\0"})).split("\0").map((function(e){return{value:e}}));return n[0].choices=o,[o[0]]},next:"start"},o,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(e,t,n){return n.length&&n[0].expectElse?(n[0].expectElse=!1,n[0].ifEnd={elseEnd:n[0]},[n[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(e,t,n){var o=e[1];return"}"==o&&n.length||-1!="`$\\".indexOf(o)?e=o:"n"==o?e="\n":"t"==o?e="\t":-1!="ulULE".indexOf(o)&&(e={changeCase:o,local:o>"a"}),[e]}},{regex:"/\\w*}",onMatch:function(e,t,n){var o=n.shift();return o&&(o.flag=e.slice(1,-1)),this.next=o&&o.tabstopId?"start":"",[o||e]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(e,t,n){return[{text:e.slice(1)}]}},{regex:/\${\w+/,onMatch:function(e,t,n){var o={text:e.slice(2)};return n.unshift(o),[o]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(e,t,n){var o=n.shift();return this.next=o&&o.tabstopId?"start":"",[o||e]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(e,t,n){return n[0].formatFunction=e.slice(2,-1),[n.shift()]},next:"formatString"},o,{regex:/:[\?\-+]?/,onMatch:function(e,t,n){"+"==e[1]&&(n[0].ifEnd=n[0]),"?"==e[1]&&(n[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),e.$tokenizer},e.prototype.tokenizeTmSnippet=function(e,t){return this.getTokenizer().getLineTokens(e,t).tokens.map((function(e){return e.value||e}))},e.prototype.getVariableValue=function(e,t,n){if(/^\d+$/.test(t))return(this.variables.__||{})[t]||"";if(/^[A-Z]\d+$/.test(t))return(this.variables[t[0]+"__"]||{})[t.substr(1)]||"";if(t=t.replace(/^TM_/,""),!this.variables.hasOwnProperty(t))return"";var o=this.variables[t];return"function"==typeof o&&(o=this.variables[t](e,t,n)),null==o?"":o},e.prototype.tmStrFormat=function(e,t,n){if(!t.fmt)return e;var o=t.flag||"",i=t.guard;i=new RegExp(i,o.replace(/[^gim]/g,""));var r="string"==typeof t.fmt?this.tokenizeTmSnippet(t.fmt,"formatString"):t.fmt,s=this,a=e.replace(i,(function(){var e=s.variables.__;s.variables.__=[].slice.call(arguments);for(var t=s.resolveVariables(r,n),o="E",i=0;i=0&&r.splice(s,1)}}e.content?i(e):Array.isArray(e)&&e.forEach(i)},e.prototype.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],o={},i=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=i.exec(e);){if(t[1])try{o=JSON.parse(t[1]),n.push(o)}catch(e){}if(t[4])o.content=t[4].replace(/^\t/gm,""),n.push(o),o={};else{var r=t[2],s=t[3];if("regex"==r){var a=/\/((?:[^\/\\]|\\.)*)|$/g;o.guard=a.exec(s)[1],o.trigger=a.exec(s)[1],o.endTrigger=a.exec(s)[1],o.endGuard=a.exec(s)[1]}else"snippet"==r?(o.tabTrigger=s.match(/^\S*/)[0],o.name||(o.name=s)):r&&(o[r]=s)}}return n},e.prototype.getSnippetByName=function(e,t){var n,o=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var i=o[t];return i&&(n=i[e]),!!n}),this),n},e}();i.implement(g.prototype,r);var f=function(e,t,n){void 0===n&&(n={});var o=e.getCursorPosition(),i=e.session.getLine(o.row),r=e.session.getTabString(),s=i.match(/^\s*/)[0];o.column1?(b=t[t.length-1].length,v+=t.length-1):b+=e.length,y+=e}else e&&(e.start?e.end={row:v,column:b}:e.start={row:v,column:b})})),{text:y,tabstops:l,tokens:a}},m=function(){function e(e){if(this.index=0,this.ranges=[],this.tabstops=[],e.tabstopManager)return e.tabstopManager;e.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=s.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(e)}return e.prototype.attach=function(e){this.$openTabstops=null,this.selectedTabstop=null,this.editor=e,this.session=e.session,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},e.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off("change",this.$onChange),this.editor.off("changeSelection",this.$onChangeSelection),this.editor.off("changeSession",this.$onChangeSession),this.editor.commands.off("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},e.prototype.onChange=function(e){for(var t="r"==e.action[0],n=this.selectedTabstop||{},o=n.parents||{},i=this.tabstops.slice(),r=0;r2&&(this.tabstops.length&&r.push(r.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,r))},e.prototype.addTabstopMarkers=function(e){var t=this.session;e.forEach((function(e){e.markerId||(e.markerId=t.addMarker(e,"ace_snippet-marker","text"))}))},e.prototype.removeTabstopMarkers=function(e){var t=this.session;e.forEach((function(e){t.removeMarker(e.markerId),e.markerId=null}))},e.prototype.updateTabstopMarkers=function(){if(this.selectedTabstop){var e=this.selectedTabstop.snippetId;0===this.selectedTabstop.index&&e--,this.tabstops.forEach((function(t){t.snippetId===e?this.addTabstopMarkers(t):this.removeTabstopMarkers(t)}),this)}},e.prototype.removeRange=function(e){var t=e.tabstop.indexOf(e);-1!=t&&e.tabstop.splice(t,1),-1!=(t=this.ranges.indexOf(e))&&this.ranges.splice(t,1),-1!=(t=e.tabstop.rangeList.ranges.indexOf(e))&&e.tabstop.splice(t,1),this.session.removeMarker(e.markerId),e.tabstop.length||(-1!=(t=this.tabstops.indexOf(e.tabstop))&&this.tabstops.splice(t,1),this.tabstops.length||this.detach())},e}();m.prototype.keyboardHandler=new c,m.prototype.keyboardHandler.bindKeys({Tab:function(e){t.snippetManager&&t.snippetManager.expandWithTab(e)||(e.tabstopManager.tabNext(1),e.renderer.scrollCursorIntoView())},"Shift-Tab":function(e){e.tabstopManager.tabNext(-1),e.renderer.scrollCursorIntoView()},Esc:function(e){e.tabstopManager.detach()}});var v=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},b=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};o.importCssString("\n.ace_snippet-marker {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n background: rgba(194, 193, 208, 0.09);\n border: 1px dotted rgba(211, 208, 235, 0.62);\n position: absolute;\n}","snippets.css",!1),t.snippetManager=new g;var y=e("./editor").Editor;(function(){this.insertSnippet=function(e,n){return t.snippetManager.insertSnippet(this,e,n)},this.expandSnippet=function(e){return t.snippetManager.expandWithTab(this,e)}}).call(y.prototype)})),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/config","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("../virtual_renderer").VirtualRenderer,i=e("../editor").Editor,r=e("../range").Range,s=e("../lib/event"),a=e("../lib/lang"),l=e("../lib/dom"),c=e("../config").nls,u=e("./../lib/useragent"),h=function(e){return"suggest-aria-id:".concat(e)},d=u.isSafari?"menu":"listbox",p=u.isSafari?"menuitem":"option",g=u.isSafari?"aria-current":"aria-selected",f=function(e){var t=new o(e);t.$maxLines=4;var n=new i(t);return n.setHighlightActiveLine(!1),n.setShowPrintMargin(!1),n.renderer.setShowGutter(!1),n.renderer.setHighlightGutterLine(!1),n.$mouseHandler.$focusTimeout=0,n.$highlightTagPending=!0,n};l.importCssString('\n.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {\n background-color: #CAD6FA;\n z-index: 1;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {\n background-color: #3a674e;\n}\n.ace_editor.ace_autocomplete .ace_line-hover {\n border: 1px solid #abbffe;\n margin-top: -1px;\n background: rgba(233,233,253,0.4);\n position: absolute;\n z-index: 2;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_line-hover {\n border: 1px solid rgba(109, 150, 13, 0.8);\n background: rgba(58, 103, 78, 0.62);\n}\n.ace_completion-meta {\n opacity: 0.5;\n margin-left: 0.9em;\n}\n.ace_completion-message {\n margin-left: 0.9em;\n color: blue;\n}\n.ace_editor.ace_autocomplete .ace_completion-highlight{\n color: #2d69c7;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{\n color: #93ca12;\n}\n.ace_editor.ace_autocomplete {\n width: 300px;\n z-index: 200000;\n border: 1px lightgray solid;\n position: fixed;\n box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n line-height: 1.4;\n background: #fefefe;\n color: #111;\n}\n.ace_dark.ace_editor.ace_autocomplete {\n border: 1px #484747 solid;\n box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51);\n line-height: 1.4;\n background: #25282c;\n color: #c1c1c1;\n}\n.ace_autocomplete .ace_text-layer {\n width: calc(100% - 8px);\n}\n.ace_autocomplete .ace_line {\n display: flex;\n align-items: center;\n}\n.ace_autocomplete .ace_line > * {\n min-width: 0;\n flex: 0 0 auto;\n}\n.ace_autocomplete .ace_line .ace_ {\n flex: 0 1 auto;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.ace_autocomplete .ace_completion-spacer {\n flex: 1;\n}\n.ace_autocomplete.ace_loading:after {\n content: "";\n position: absolute;\n top: 0px;\n height: 2px;\n width: 8%;\n background: blue;\n z-index: 100;\n animation: ace_progress 3s infinite linear;\n animation-delay: 300ms;\n transform: translateX(-100%) scaleX(1);\n}\n@keyframes ace_progress {\n 0% { transform: translateX(-100%) scaleX(1) }\n 50% { transform: translateX(625%) scaleX(2) } \n 100% { transform: translateX(1500%) scaleX(3) } \n}\n@media (prefers-reduced-motion) {\n .ace_autocomplete.ace_loading:after {\n transform: translateX(625%) scaleX(2);\n animation: none;\n }\n}\n',"autocompletion.css",!1),t.AcePopup=function(e){var t=l.createElement("div"),n=f(t);e&&e.appendChild(t),t.style.display="none",n.renderer.content.style.cursor="default",n.renderer.setStyle("ace_autocomplete"),n.renderer.$textLayer.element.setAttribute("role",d),n.renderer.$textLayer.element.setAttribute("aria-roledescription",c("Autocomplete suggestions")),n.renderer.$textLayer.element.setAttribute("aria-label",c("Autocomplete suggestions")),n.renderer.textarea.setAttribute("aria-hidden","true"),n.setOption("displayIndentGuides",!1),n.setOption("dragDelay",150);var o,i=function(){};n.focus=i,n.$isFocused=!0,n.renderer.$cursorLayer.restartTimer=i,n.renderer.$cursorLayer.element.style.opacity="0",n.renderer.$maxLines=8,n.renderer.$keepTextAreaAtCursor=!1,n.setHighlightActiveLine(!1),n.session.highlight(""),n.session.$searchHighlight.clazz="ace_highlight-marker",n.on("mousedown",(function(e){var t=e.getDocumentPosition();n.selection.moveToPosition(t),m.start.row=m.end.row=t.row,e.stop()}));var u=new r(-1,0,-1,1/0),m=new r(-1,0,-1,1/0);m.id=n.session.addMarker(m,"ace_active-line","fullLine"),n.setSelectOnHover=function(e){e?u.id&&(n.session.removeMarker(u.id),u.id=null):u.id=n.session.addMarker(u,"ace_line-hover","fullLine")},n.setSelectOnHover(!1),n.on("mousemove",(function(e){if(o){if(o.x!=e.x||o.y!=e.y){(o=e).scrollTop=n.renderer.scrollTop,n.isMouseOver=!0;var t=o.getDocumentPosition().row;u.start.row!=t&&(u.id||n.setRow(t),b(t))}}else o=e})),n.renderer.on("beforeRender",(function(){if(o&&-1!=u.start.row){o.$pos=null;var e=o.getDocumentPosition().row;u.id||n.setRow(e),b(e,!0)}})),n.renderer.on("afterRender",(function(){var e=n.getRow(),t=n.renderer.$textLayer,o=t.element.childNodes[e-t.config.firstRow],i=document.activeElement;if(o!==n.selectedNode&&n.selectedNode&&(l.removeCssClass(n.selectedNode,"ace_selected"),i.removeAttribute("aria-activedescendant"),n.selectedNode.removeAttribute(g),n.selectedNode.removeAttribute("id")),n.selectedNode=o,o){l.addCssClass(o,"ace_selected");var r=h(e);o.id=r,t.element.setAttribute("aria-activedescendant",r),i.setAttribute("aria-activedescendant",r),o.setAttribute("role",p),o.setAttribute("aria-roledescription",c("item")),o.setAttribute("aria-label",n.getData(e).caption||n.getData(e).value),o.setAttribute("aria-setsize",n.data.length),o.setAttribute("aria-posinset",e+1),o.setAttribute("aria-describedby","doc-tooltip"),o.setAttribute(g,"true")}}));var v=function(){b(-1)},b=function(e,t){e!==u.start.row&&(u.start.row=u.end.row=e,t||n.session._emit("changeBackMarker"),n._emit("changeHoverMarker"))};n.getHoveredRow=function(){return u.start.row},s.addListener(n.container,"mouseout",(function(){n.isMouseOver=!1,v()})),n.on("hide",v),n.on("changeSelection",v),n.session.doc.getLength=function(){return n.data.length},n.session.doc.getLine=function(e){var t=n.data[e];return"string"==typeof t?t:t&&t.value||""};var y=n.session.bgTokenizer;return y.$tokenizeRow=function(e){var t=n.data[e],o=[];if(!t)return o;"string"==typeof t&&(t={value:t});var i=t.caption||t.value||t.name;function r(e,n){e&&o.push({type:(t.className||"")+(n||""),value:e})}for(var s=i.toLowerCase(),a=(n.filterText||"").toLowerCase(),l=0,c=0,u=0;u<=a.length;u++)if(u!=c&&(t.matchMask&1<=u?"bottom":"top"),"top"===i?(h.bottom=e.top-this.$borderSize,h.top=h.bottom-u):"bottom"===i&&(h.top=e.top+t+this.$borderSize,h.bottom=h.top+u);var g=h.top>=0&&h.bottom<=a;if(!r&&!g)return!1;c.$maxPixelHeight=g?null:"top"===i?p:d,"top"===i?(s.style.top="",s.style.bottom=a-h.bottom+"px",n.isTopdown=!1):(s.style.top=h.top+"px",s.style.bottom="",n.isTopdown=!0),s.style.display="";var f=e.left;return f+s.offsetWidth>l&&(f=l-s.offsetWidth),s.style.left=f+"px",s.style.right="",n.isOpen||(n.isOpen=!0,this._signal("show"),o=null),n.anchorPos=e,n.anchor=i,!0},n.show=function(e,t,n){this.tryShow(e,t,n?"bottom":void 0,!0)},n.goTo=function(e){var t=this.getRow(),n=this.session.getLength()-1;switch(e){case"up":t=t<=0?n:t-1;break;case"down":t=t>=n?-1:t+1;break;case"start":t=0;break;case"end":t=n}this.setRow(t)},n.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},n.$imageSize=0,n.$borderSize=1,n},t.$singleLineEditor=f,t.getAriaId=h})),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],(function(e,t,n){"use strict";var o=function(){function e(e){this.editor=e,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return e.prototype.setScreenReaderContent=function(e){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var e=this.popup.getRow(),t=this.popup.renderer.$textLayer,n=t.element.childNodes[e-t.config.firstRow];if(n){for(var o="doc-tooltip ",i=0;i=0&&n.test(e[r]);r--)i.push(e[r]);return i.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,n){n=n||o;for(var i=[],r=t;r0)for(var t=this.popup.getFirstVisibleRow();t<=this.popup.getLastVisibleRow();t++){var n=this.popup.getData(t);!n||e&&!n.hideInlinePreview||this.$seen(n)}},e.prototype.$onPopupShow=function(e){this.$onPopupChange(e),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},e.prototype.observeLayoutChanges=function(){if(!this.$elements&&this.editor){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var e=this.editor.container.parentNode,t=[];e;)t.push(e),e.addEventListener("scroll",this.onLayoutChange,{passive:!0}),e=e.parentNode;this.$elements=t}},e.prototype.unObserveLayoutChanges=function(){var e=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach((function(t){t.removeEventListener("scroll",e.onLayoutChange,{passive:!0})})),this.$elements=null},e.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},e.prototype.$updatePopupPosition=function(){var e=this.editor,t=e.renderer,n=t.layerConfig.lineHeight,o=t.$cursorLayer.getPixelPosition(this.base,!0);o.left-=this.popup.getTextLeftOffset();var i=e.container.getBoundingClientRect();o.top+=i.top-t.layerConfig.offset,o.left+=i.left-e.renderer.scrollLeft,o.left+=t.gutterWidth;var r={top:o.top,left:o.left};t.$ghostText&&t.$ghostTextWidget&&this.base.row===t.$ghostText.position.row&&(r.top+=t.$ghostTextWidget.el.offsetHeight);var s=e.container.getBoundingClientRect().bottom-n,a=sthis.filterText&&0===e.lastIndexOf(this.filterText,0))var t=this.filtered;else t=this.all;this.filterText=e,t=(t=this.filterCompletions(t,this.filterText)).sort((function(e,t){return t.exactMatch-e.exactMatch||t.$score-e.$score||(e.caption||e.value).localeCompare(t.caption||t.value)}));var n=null;t=t.filter((function(e){var t=e.snippet||e.caption||e.value;return t!==n&&(n=t,!0)})),this.filtered=t},e.prototype.filterCompletions=function(e,t){var n=[],o=t.toUpperCase(),i=t.toLowerCase();e:for(var r,s=0;r=e[s];s++){var a=!this.ignoreCaption&&r.caption||r.value||r.snippet;if(a){var l,c,u=-1,h=0,d=0;if(this.exactMatch){if(t!==a.substr(0,t.length))continue e}else{var p=a.toLowerCase().indexOf(i);if(p>-1)d=p;else for(var g=0;g=0&&(m<0||f0&&(-1===u&&(d+=10),d+=c,h|=1<",s.escapeHTML(e.caption),"","
",s.escapeHTML((t=e.snippet,n={},t.replace(/\${(\d+)(:(.*?))?}/g,(function(e,t,o,i){return n[t]=i||""})).replace(/\$(\d+?)/g,(function(e,t){return n[t]}))))].join(""))},id:"snippetCompleter"},h=[u,l,c];t.setCompleters=function(e){h.length=0,e&&h.push.apply(h,e)},t.addCompleter=function(e){h.push(e)},t.textCompleter=l,t.keyWordCompleter=c,t.snippetCompleter=u;var d,p={name:"expandSnippet",exec:function(e){return o.expandWithTab(e)},bindKey:"Tab"},g=function(e,t){f(t.session.$mode)},f=function(e){"string"==typeof e&&(e=r.$modes[e]),e&&(o.files||(o.files={}),m(e.$id,e.snippetFileId),e.modes&&e.modes.forEach(f))},m=function(e,t){t&&e&&!o.files[e]&&(o.files[e]={},r.loadModule(t,(function(t){t&&(o.files[e]=t,!t.snippets&&t.snippetText&&(t.snippets=o.parseSnippetFile(t.snippetText)),o.register(t.snippets||[],t.scope),t.includeScopes&&(o.snippetMap[t.scope].includeScopes=t.includeScopes,t.includeScopes.forEach((function(e){f("ace/mode/"+e)}))))})))},v=function(e){var t=e.editor,n=t.completer&&t.completer.activated;if("backspace"===e.command.name)n&&!a.getCompletionPrefix(t)&&t.completer.detach();else if("insertstring"===e.command.name&&!n){d=e;var o=e.editor.$liveAutocompletionDelay;o?b.delay(o):y(e)}},b=s.delayedCall((function(){y(d)}),0),y=function(e){var t=e.editor,n=a.getCompletionPrefix(t),o=a.triggerAutocomplete(t);if(n&&n.length>=t.$liveAutocompletionThreshold||o){var r=i.for(t);r.autoShown=!0,r.showPopup(t)}},w=e("../editor").Editor;e("../config").defineOptions(w.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.addCommand(i.startCommand)):this.commands.removeCommand(i.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.on("afterExec",v)):this.commands.off("afterExec",v)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(e){e?(this.commands.addCommand(p),this.on("changeMode",g),g(0,this)):(this.commands.removeCommand(p),this.off("changeMode",g))},value:!1}})})),ace.require(["ace/ext/language_tools"],(function(t){e&&(e.exports=t)}))},9:(e,t,n)=>{e=n.nmd(e),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],(function(e,t,n){"use strict";var o,i=e("./lib/oop"),r=(e("./lib/lang"),e("./lib/event_emitter").EventEmitter),s=e("./editor").Editor,a=e("./virtual_renderer").VirtualRenderer,l=e("./edit_session").EditSession;(function(){i.implement(this,r),this.$createEditor=function(){var e=document.createElement("div");e.className=this.$editorCSS,e.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(e);var t=new s(new a(e,this.$theme));return t.on("focus",function(){this._emit("focus",t)}.bind(this)),this.$editors.push(t),t.setFontSize(this.$fontSize),t},this.setSplits=function(e){var t;if(e<1)throw"The number of splits have to be > 0!";if(e!=this.$splits){if(e>this.$splits){for(;this.$splitse;)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach((function(t){t.setTheme(e)}))},this.setKeyboardHandler=function(e){this.$editors.forEach((function(t){t.setKeyboardHandler(e)}))},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize="",this.setFontSize=function(e){this.$fontSize=e,this.forEach((function(t){t.setFontSize(e)}))},this.$cloneSession=function(e){var t=new l(e.getDocument(),e.getMode()),n=e.getUndoManager();return t.setUndoManager(n),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var n;n=null==t?this.$cEditor:this.$editors[t];var o=this.$editors.some((function(t){return t.session===e}));return o&&(e=this.$cloneSession(e)),n.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){this.$orientation!=e&&(this.$orientation=e,this.resize())},this.resize=function(){var e,t=this.$container.clientWidth,n=this.$container.clientHeight;if(this.$orientation==this.BESIDE)for(var o=t/this.$splits,i=0;i{e=n.nmd(e),ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=(e("../lib/lang"),e("./text_highlight_rules").TextHighlightRules),r=t.supportType="align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index",s=t.supportFunction="rgb|rgba|url|attr|counter|counters",a=t.supportConstant="absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|flex-end|flex-start|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom",l=t.supportConstantColor="aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen",c=t.supportConstantFonts="arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace",u=t.numRe="\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))",h=t.pseudoElements="(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b",d=t.pseudoClasses="(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b",p=function(){var e=this.createKeywordMapper({"support.function":s,"support.constant":a,"support.type":r,"support.constant.color":l,"support.constant.fonts":c},"text",!0);this.$rules={start:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"ruleset"},{token:"paren.rparen",regex:"\\}"},{token:"string",regex:"@(?!viewport)",next:"media"},{token:"keyword",regex:"#[a-z0-9-_]+"},{token:"keyword",regex:"%"},{token:"variable",regex:"\\.[a-z0-9-_]+"},{token:"string",regex:":[a-z0-9-_]+"},{token:"constant.numeric",regex:u},{token:"constant",regex:"[a-z0-9-_]+"},{caseInsensitive:!0}],media:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"start"},{token:"paren.rparen",regex:"\\}",next:"start"},{token:"string",regex:";",next:"start"},{token:"keyword",regex:"(?:media|supports|document|charset|import|namespace|media|supports|document|page|font|keyframes|viewport|counter-style|font-feature-values|swash|ornaments|annotation|stylistic|styleset|character-variant)"}],comments:[{token:"comment",regex:"\\/\\*",push:[{token:"comment",regex:"\\*\\/",next:"pop"},{defaultToken:"comment"}]}],ruleset:[{regex:"-(webkit|ms|moz|o)-",token:"text"},{token:"punctuation.operator",regex:"[:;]"},{token:"paren.rparen",regex:"\\}",next:"start"},{include:["strings","url","comments"]},{token:["constant.numeric","keyword"],regex:"("+u+")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"},{token:"constant.numeric",regex:u},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:["punctuation","entity.other.attribute-name.pseudo-element.css"],regex:h},{token:["punctuation","entity.other.attribute-name.pseudo-class.css"],regex:d},{include:"url"},{token:e,regex:"\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"},{caseInsensitive:!0}],url:[{token:"support.function",regex:"(?:url(:?-prefix)?|domain|regexp)\\(",push:[{token:"support.function",regex:"\\)",next:"pop"},{defaultToken:"string"}]}],strings:[{token:"string.start",regex:"'",push:[{token:"string.end",regex:"'|$",next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:!0},{defaultToken:"string"}]},{token:"string.start",regex:'"',push:[{token:"string.end",regex:'"|$',next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:!0},{defaultToken:"string"}]}],escapes:[{token:"constant.language.escape",regex:/\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/}]},this.normalizeRules()};o.inherits(p,i),t.CssHighlightRules=p})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,r=e.findMatchingBracket({row:t,column:i});if(!r||r.row==t)return 0;var s=this.$getIndent(e.getLine(r.row));e.replace(new o(t,0,t,i-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/css_completions",["require","exports","module"],(function(e,t,n){"use strict";var o={background:{"#$0":1},"background-color":{"#$0":1,transparent:1,fixed:1},"background-image":{"url('/$0')":1},"background-repeat":{repeat:1,"repeat-x":1,"repeat-y":1,"no-repeat":1,inherit:1},"background-position":{bottom:2,center:2,left:2,right:2,top:2,inherit:2},"background-attachment":{scroll:1,fixed:1},"background-size":{cover:1,contain:1},"background-clip":{"border-box":1,"padding-box":1,"content-box":1},"background-origin":{"border-box":1,"padding-box":1,"content-box":1},border:{"solid $0":1,"dashed $0":1,"dotted $0":1,"#$0":1},"border-color":{"#$0":1},"border-style":{solid:2,dashed:2,dotted:2,double:2,groove:2,hidden:2,inherit:2,inset:2,none:2,outset:2,ridged:2},"border-collapse":{collapse:1,separate:1},bottom:{px:1,em:1,"%":1},clear:{left:1,right:1,both:1,none:1},color:{"#$0":1,"rgb(#$00,0,0)":1},cursor:{default:1,pointer:1,move:1,text:1,wait:1,help:1,progress:1,"n-resize":1,"ne-resize":1,"e-resize":1,"se-resize":1,"s-resize":1,"sw-resize":1,"w-resize":1,"nw-resize":1},display:{none:1,block:1,inline:1,"inline-block":1,"table-cell":1},"empty-cells":{show:1,hide:1},float:{left:1,right:1,none:1},"font-family":{Arial:2,"Comic Sans MS":2,Consolas:2,"Courier New":2,Courier:2,Georgia:2,Monospace:2,"Sans-Serif":2,"Segoe UI":2,Tahoma:2,"Times New Roman":2,"Trebuchet MS":2,Verdana:1},"font-size":{px:1,em:1,"%":1},"font-weight":{bold:1,normal:1},"font-style":{italic:1,normal:1},"font-variant":{normal:1,"small-caps":1},height:{px:1,em:1,"%":1},left:{px:1,em:1,"%":1},"letter-spacing":{normal:1},"line-height":{normal:1},"list-style-type":{none:1,disc:1,circle:1,square:1,decimal:1,"decimal-leading-zero":1,"lower-roman":1,"upper-roman":1,"lower-greek":1,"lower-latin":1,"upper-latin":1,georgian:1,"lower-alpha":1,"upper-alpha":1},margin:{px:1,em:1,"%":1},"margin-right":{px:1,em:1,"%":1},"margin-left":{px:1,em:1,"%":1},"margin-top":{px:1,em:1,"%":1},"margin-bottom":{px:1,em:1,"%":1},"max-height":{px:1,em:1,"%":1},"max-width":{px:1,em:1,"%":1},"min-height":{px:1,em:1,"%":1},"min-width":{px:1,em:1,"%":1},overflow:{hidden:1,visible:1,auto:1,scroll:1},"overflow-x":{hidden:1,visible:1,auto:1,scroll:1},"overflow-y":{hidden:1,visible:1,auto:1,scroll:1},padding:{px:1,em:1,"%":1},"padding-top":{px:1,em:1,"%":1},"padding-right":{px:1,em:1,"%":1},"padding-bottom":{px:1,em:1,"%":1},"padding-left":{px:1,em:1,"%":1},"page-break-after":{auto:1,always:1,avoid:1,left:1,right:1},"page-break-before":{auto:1,always:1,avoid:1,left:1,right:1},position:{absolute:1,relative:1,fixed:1,static:1},right:{px:1,em:1,"%":1},"table-layout":{fixed:1,auto:1},"text-decoration":{none:1,underline:1,"line-through":1,blink:1},"text-align":{left:1,right:1,center:1,justify:1},"text-transform":{capitalize:1,uppercase:1,lowercase:1,none:1},top:{px:1,em:1,"%":1},"vertical-align":{top:1,bottom:1},visibility:{hidden:1,visible:1},"white-space":{nowrap:1,normal:1,pre:1,"pre-line":1,"pre-wrap":1},width:{px:1,em:1,"%":1},"word-spacing":{normal:1},filter:{"alpha(opacity=$0100)":1},"text-shadow":{"$02px 2px 2px #777":1},"text-overflow":{"ellipsis-word":1,clip:1,ellipsis:1},"-moz-border-radius":1,"-moz-border-radius-topright":1,"-moz-border-radius-bottomright":1,"-moz-border-radius-topleft":1,"-moz-border-radius-bottomleft":1,"-webkit-border-radius":1,"-webkit-border-top-right-radius":1,"-webkit-border-top-left-radius":1,"-webkit-border-bottom-right-radius":1,"-webkit-border-bottom-left-radius":1,"-moz-box-shadow":1,"-webkit-box-shadow":1,transform:{"rotate($00deg)":1,"skew($00deg)":1},"-moz-transform":{"rotate($00deg)":1,"skew($00deg)":1},"-webkit-transform":{"rotate($00deg)":1,"skew($00deg)":1}},i=function(){};(function(){this.completionsDefined=!1,this.defineCompletions=function(){if(document){var e=document.createElement("c").style;for(var t in e)if("string"==typeof e[t]){var n=t.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()}));o.hasOwnProperty(n)||(o[n]=1)}}this.completionsDefined=!0},this.getCompletions=function(e,t,n,o){if(this.completionsDefined||this.defineCompletions(),"ruleset"===e||"ace/mode/scss"==t.$mode.$id){var i=t.getLine(n.row).substr(0,n.column),r=/\([^)]*$/.test(i);return r&&(i=i.substr(i.lastIndexOf("(")+1)),/:[^;]+$/.test(i)?(/([\w\-]+):[^:]*$/.test(i),this.getPropertyValueCompletions(e,t,n,o)):this.getPropertyCompletions(e,t,n,o,r)}return[]},this.getPropertyCompletions=function(e,t,n,i,r){return r=r||!1,Object.keys(o).map((function(e){return{caption:e,snippet:e+": $0"+(r?"":";"),meta:"property",score:1e6}}))},this.getPropertyValueCompletions=function(e,t,n,i){var r=t.getLine(n.row).substr(0,n.column),s=(/([\w\-]+):[^:]*$/.exec(r)||{})[1];if(!s)return[];var a=[];return s in o&&"object"==typeof o[s]&&(a=Object.keys(o[s])),a.map((function(e){return{caption:e,snippet:e,meta:"property value",score:1e6}}))}}).call(i.prototype),t.CssCompletions=i})),ace.define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=(e("../behaviour").Behaviour,e("./cstyle").CstyleBehaviour),r=e("../../token_iterator").TokenIterator,s=function(){this.inherit(i),this.add("colon","insertion",(function(e,t,n,o,i){if(":"===i&&n.selection.isEmpty()){var s=n.getCursorPosition(),a=new r(o,s.row,s.column),l=a.getCurrentToken();if(l&&l.value.match(/\s+/)&&(l=a.stepBackward()),l&&"support.type"===l.type){var c=o.doc.getLine(s.row);if(":"===c.substring(s.column,s.column+1))return{text:"",selection:[1,1]};if(/^(\s+[^;]|\s*$)/.test(c.substring(s.column)))return{text:":;",selection:[1,1]}}}})),this.add("colon","deletion",(function(e,t,n,o,i){var s=o.doc.getTextRange(i);if(!i.isMultiLine()&&":"===s){var a=n.getCursorPosition(),l=new r(o,a.row,a.column),c=l.getCurrentToken();if(c&&c.value.match(/\s+/)&&(c=l.stepBackward()),c&&"support.type"===c.type&&";"===o.doc.getLine(i.start.row).substring(i.end.column,i.end.column+1))return i.end.column++,i}})),this.add("semicolon","insertion",(function(e,t,n,o,i){if(";"===i&&n.selection.isEmpty()){var r=n.getCursorPosition();if(";"===o.doc.getLine(r.row).substring(r.column,r.column+1))return{text:"",selection:[1,1]}}})),this.add("!important","insertion",(function(e,t,n,o,i){if("!"===i&&n.selection.isEmpty()){var r=n.getCursorPosition(),s=o.doc.getLine(r.row);if(/^\s*(;|}|$)/.test(s.substring(r.column)))return{text:"!important",selection:[10,10]}}}))};o.inherits(s,i),t.CssBehaviour=s})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=e("../../range").Range,r=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(s,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(e,t,n,o){var i,r=e.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,n);if(i=r.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(i=r.match(this.foldingStopMarker))?(s=i.index+i[0].length,i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),o=n.search(/\S/),r=t,s=n.length,a=t+=1,l=e.getLength();++tc)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=r)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}a=t}}return new i(r,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),r=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new i(s,o,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/css",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/css_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/css_completions","ace/mode/behaviour/css","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,r=e("./css_highlight_rules").CssHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("../worker/worker_client").WorkerClient,l=e("./css_completions").CssCompletions,c=e("./behaviour/css").CssBehaviour,u=e("./folding/cstyle").FoldMode,h=function(){this.HighlightRules=r,this.$outdent=new s,this.$behaviour=new c,this.$completer=new l,this.foldingRules=new u};o.inherits(h,i),function(){this.foldingRules="cStyle",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e).tokens;return i.length&&"comment"==i[i.length-1].type||t.match(/^.*\{\s*$/)&&(o+=n),o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.getCompletions=function(e,t,n,o){return this.$completer.getCompletions(e,t,n,o)},this.createWorker=function(e){var t=new a(["ace"],"ace/mode/css_worker","Worker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/css",this.snippetFileId="ace/snippets/css"}.call(h.prototype),t.Mode=h})),ace.require(["ace/mode/css"],(function(t){e&&(e.exports=t)}))},1766:(e,t,n)=>{e=n.nmd(e),ace.define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:["comment.doc.tag","comment.doc.text","lparen.doc"],regex:"(@(?:param|member|typedef|property|namespace|var|const|callback))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:["rparen.doc","text.doc","variable.parameter.doc","lparen.doc","variable.parameter.doc","rparen.doc"],regex:/(})(\s*)(?:([\w=:\/\.]+)|(?:(\[)([\w=:\/\.]+)(\])))/,next:"pop"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","lparen.doc"],regex:"(@(?:returns?|yields|type|this|suppress|public|protected|private|package|modifies|implements|external|exception|throws|enum|define|extends))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:'(@(?:alias|memberof|instance|module|name|lends|namespace|external|this|template|requires|param|implements|function|extends|typedef|mixes|constructor|var|memberof\\!|event|listens|exports|class|constructs|interface|emits|fires|throws|const|callback|borrows|augments))(\\s+)(\\w[\\w#.:/~"\\-]*)?'},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:"(@method)(\\s+)(\\w[\\w.\\(\\)]*)"},{token:"comment.doc.tag",regex:"@access\\s+(?:private|public|protected)"},{token:"comment.doc.tag",regex:"@kind\\s+(?:class|constant|event|external|file|function|member|mixin|module|namespace|typedef)"},{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},r.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}],"doc-syntax":[{token:"operator.doc",regex:/[|:]/},{token:"paren.doc",regex:/[\[\]]/}]},this.normalizeRules()};o.inherits(r,i),r.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},r.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},r.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.JsDocCommentHighlightRules=r})),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/jsdoc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules,r=e("./text_highlight_rules").TextHighlightRules,s="[a-zA-Z\\$_¡-￿][a-zA-Z\\d\\$_¡-￿]*",a=function(e){var t=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),n="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[i.getStartRule("doc-start"),c("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+s+")(\\.)(prototype)(\\.)("+s+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function\\*?)(\\s+)("+s+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"from(?=\\s*('|\"))"},{token:"keyword",regex:"(?:case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void)\\b",next:"start"},{token:"support.constant",regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/},{token:t,regex:s},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:s},{regex:"",token:"empty",next:"no_regex"}],start:[i.getStartRule("doc-start"),c("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],default_parameter:[{token:"string",regex:"'(?=.)",push:[{token:"string",regex:"'|$",next:"pop"},{include:"qstring"}]},{token:"string",regex:'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{include:"qqstring"}]},{token:"constant.language",regex:"null|Infinity|NaN|undefined"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:"punctuation.operator",regex:",",next:"function_arguments"},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],function_arguments:[c("function_arguments"),{token:"variable.parameter",regex:s},{token:"punctuation.operator",regex:","},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(e,t,n){if(this.next="{"==e?this.nextState:"","{"==e&&n.length)n.unshift("start",t);else if("}"==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx")))return"paren.quasi.end";return"{"==e?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:n},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]},{token:["variable.parameter","text"],regex:"("+s+")(\\s*)(?=\\=>)"},{token:"paren.lparen",regex:"(\\()(?=.+\\s*=>)",next:"function_arguments"},{token:"variable.language",regex:"(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"}),this.$rules.function_arguments.unshift({token:"keyword.operator",regex:"=",next:"default_parameter"},{token:"keyword.operator",regex:"\\.{3}"}),this.$rules.property.unshift({token:"support.function",regex:"(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"},{token:"constant.language",regex:"(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"}),e&&0==e.jsx||l.call(this)),this.embedRules(i,"doc-",[i.getEndRule("no_regex")]),this.normalizeRules()};function l(){var e=s.replace("\\d","\\d\\-"),t={onMatch:function(e,t,n){var o="/"==e.charAt(1)?2:1;return 1==o?(t!=this.nextState?n.unshift(this.next,this.nextState,0):n.unshift(this.next),n[2]++):2==o&&t==this.nextState&&(n[1]--,(!n[1]||n[1]<0)&&(n.shift(),n.shift())),[{type:"meta.tag.punctuation."+(1==o?"":"end-")+"tag-open.xml",value:e.slice(0,o)},{type:"meta.tag.tag-name.xml",value:e.substr(o)}]},regex:"",onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||n[1]<0)&&n.splice(0,2)),this.next=n[0]||"start",[{type:this.token,value:e}]},nextState:"jsx"},n,c("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:e},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},t],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function c(e){return[{token:"comment",regex:/\/\*/,next:[i.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[i.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}o.inherits(a,r),t.JavaScriptHighlightRules=a})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,r=e.findMatchingBracket({row:t,column:i});if(!r||r.row==t)return 0;var s=this.$getIndent(e.getLine(r.row));e.replace(new o(t,0,t,i-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=e("../../range").Range,r=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(s,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(e,t,n,o){var i,r=e.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,n);if(i=r.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(i=r.match(this.foldingStopMarker))?(s=i.index+i[0].length,i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),o=n.search(/\S/),r=t,s=n.length,a=t+=1,l=e.getLength();++tc)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=r)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}a=t}}return new i(r,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),r=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new i(s,o,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,r=e("./javascript_highlight_rules").JavaScriptHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("../worker/worker_client").WorkerClient,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=r,this.$outdent=new s,this.$behaviour=new l,this.foldingRules=new c};o.inherits(u,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.$pairQuotesAfter={"`":/\w/},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),r=i.tokens,s=i.state;if(r.length&&"comment"==r[r.length-1].type)return o;if("start"==e||"no_regex"==e)(a=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/))&&(o+=n);else if("doc-start"==e){if("start"==s||"no_regex"==s)return"";var a;(a=t.match(/^\s*(\/?)\*/))&&(a[1]&&(o+=" "),o+="* ")}return o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/javascript",this.snippetFileId="ace/snippets/javascript"}.call(u.prototype),t.Mode=u})),ace.require(["ace/mode/javascript"],(function(t){e&&(e.exports=t)}))},8457:(e,t,n)=>{e=n.nmd(e),ace.define("ace/snippets/css.snippets",["require","exports","module"],(function(e,t,n){n.exports="snippet .\n\t${1} {\n\t\t${2}\n\t}\nsnippet !\n\t !important\nsnippet bdi:m+\n\t-moz-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\nsnippet bdi:m\n\t-moz-border-image: ${1};\nsnippet bdrz:m\n\t-moz-border-radius: ${1};\nsnippet bxsh:m+\n\t-moz-box-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\nsnippet bxsh:m\n\t-moz-box-shadow: ${1};\nsnippet bdi:w+\n\t-webkit-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\nsnippet bdi:w\n\t-webkit-border-image: ${1};\nsnippet bdrz:w\n\t-webkit-border-radius: ${1};\nsnippet bxsh:w+\n\t-webkit-box-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\nsnippet bxsh:w\n\t-webkit-box-shadow: ${1};\nsnippet @f\n\t@font-face {\n\t\tfont-family: ${1};\n\t\tsrc: url(${2});\n\t}\nsnippet @i\n\t@import url(${1});\nsnippet @m\n\t@media ${1:print} {\n\t\t${2}\n\t}\nsnippet bg+\n\tbackground: #${1:FFF} url(${2}) ${3:0} ${4:0} ${5:no-repeat};\nsnippet bga\n\tbackground-attachment: ${1};\nsnippet bga:f\n\tbackground-attachment: fixed;\nsnippet bga:s\n\tbackground-attachment: scroll;\nsnippet bgbk\n\tbackground-break: ${1};\nsnippet bgbk:bb\n\tbackground-break: bounding-box;\nsnippet bgbk:c\n\tbackground-break: continuous;\nsnippet bgbk:eb\n\tbackground-break: each-box;\nsnippet bgcp\n\tbackground-clip: ${1};\nsnippet bgcp:bb\n\tbackground-clip: border-box;\nsnippet bgcp:cb\n\tbackground-clip: content-box;\nsnippet bgcp:nc\n\tbackground-clip: no-clip;\nsnippet bgcp:pb\n\tbackground-clip: padding-box;\nsnippet bgc\n\tbackground-color: #${1:FFF};\nsnippet bgc:t\n\tbackground-color: transparent;\nsnippet bgi\n\tbackground-image: url(${1});\nsnippet bgi:n\n\tbackground-image: none;\nsnippet bgo\n\tbackground-origin: ${1};\nsnippet bgo:bb\n\tbackground-origin: border-box;\nsnippet bgo:cb\n\tbackground-origin: content-box;\nsnippet bgo:pb\n\tbackground-origin: padding-box;\nsnippet bgpx\n\tbackground-position-x: ${1};\nsnippet bgpy\n\tbackground-position-y: ${1};\nsnippet bgp\n\tbackground-position: ${1:0} ${2:0};\nsnippet bgr\n\tbackground-repeat: ${1};\nsnippet bgr:n\n\tbackground-repeat: no-repeat;\nsnippet bgr:x\n\tbackground-repeat: repeat-x;\nsnippet bgr:y\n\tbackground-repeat: repeat-y;\nsnippet bgr:r\n\tbackground-repeat: repeat;\nsnippet bgz\n\tbackground-size: ${1};\nsnippet bgz:a\n\tbackground-size: auto;\nsnippet bgz:ct\n\tbackground-size: contain;\nsnippet bgz:cv\n\tbackground-size: cover;\nsnippet bg\n\tbackground: ${1};\nsnippet bg:ie\n\tfilter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='${1}',sizingMethod='${2:crop}');\nsnippet bg:n\n\tbackground: none;\nsnippet bd+\n\tborder: ${1:1px} ${2:solid} #${3:000};\nsnippet bdb+\n\tborder-bottom: ${1:1px} ${2:solid} #${3:000};\nsnippet bdbc\n\tborder-bottom-color: #${1:000};\nsnippet bdbi\n\tborder-bottom-image: url(${1});\nsnippet bdbi:n\n\tborder-bottom-image: none;\nsnippet bdbli\n\tborder-bottom-left-image: url(${1});\nsnippet bdbli:c\n\tborder-bottom-left-image: continue;\nsnippet bdbli:n\n\tborder-bottom-left-image: none;\nsnippet bdblrz\n\tborder-bottom-left-radius: ${1};\nsnippet bdbri\n\tborder-bottom-right-image: url(${1});\nsnippet bdbri:c\n\tborder-bottom-right-image: continue;\nsnippet bdbri:n\n\tborder-bottom-right-image: none;\nsnippet bdbrrz\n\tborder-bottom-right-radius: ${1};\nsnippet bdbs\n\tborder-bottom-style: ${1};\nsnippet bdbs:n\n\tborder-bottom-style: none;\nsnippet bdbw\n\tborder-bottom-width: ${1};\nsnippet bdb\n\tborder-bottom: ${1};\nsnippet bdb:n\n\tborder-bottom: none;\nsnippet bdbk\n\tborder-break: ${1};\nsnippet bdbk:c\n\tborder-break: close;\nsnippet bdcl\n\tborder-collapse: ${1};\nsnippet bdcl:c\n\tborder-collapse: collapse;\nsnippet bdcl:s\n\tborder-collapse: separate;\nsnippet bdc\n\tborder-color: #${1:000};\nsnippet bdci\n\tborder-corner-image: url(${1});\nsnippet bdci:c\n\tborder-corner-image: continue;\nsnippet bdci:n\n\tborder-corner-image: none;\nsnippet bdf\n\tborder-fit: ${1};\nsnippet bdf:c\n\tborder-fit: clip;\nsnippet bdf:of\n\tborder-fit: overwrite;\nsnippet bdf:ow\n\tborder-fit: overwrite;\nsnippet bdf:r\n\tborder-fit: repeat;\nsnippet bdf:sc\n\tborder-fit: scale;\nsnippet bdf:sp\n\tborder-fit: space;\nsnippet bdf:st\n\tborder-fit: stretch;\nsnippet bdi\n\tborder-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\nsnippet bdi:n\n\tborder-image: none;\nsnippet bdl+\n\tborder-left: ${1:1px} ${2:solid} #${3:000};\nsnippet bdlc\n\tborder-left-color: #${1:000};\nsnippet bdli\n\tborder-left-image: url(${1});\nsnippet bdli:n\n\tborder-left-image: none;\nsnippet bdls\n\tborder-left-style: ${1};\nsnippet bdls:n\n\tborder-left-style: none;\nsnippet bdlw\n\tborder-left-width: ${1};\nsnippet bdl\n\tborder-left: ${1};\nsnippet bdl:n\n\tborder-left: none;\nsnippet bdlt\n\tborder-length: ${1};\nsnippet bdlt:a\n\tborder-length: auto;\nsnippet bdrz\n\tborder-radius: ${1};\nsnippet bdr+\n\tborder-right: ${1:1px} ${2:solid} #${3:000};\nsnippet bdrc\n\tborder-right-color: #${1:000};\nsnippet bdri\n\tborder-right-image: url(${1});\nsnippet bdri:n\n\tborder-right-image: none;\nsnippet bdrs\n\tborder-right-style: ${1};\nsnippet bdrs:n\n\tborder-right-style: none;\nsnippet bdrw\n\tborder-right-width: ${1};\nsnippet bdr\n\tborder-right: ${1};\nsnippet bdr:n\n\tborder-right: none;\nsnippet bdsp\n\tborder-spacing: ${1};\nsnippet bds\n\tborder-style: ${1};\nsnippet bds:ds\n\tborder-style: dashed;\nsnippet bds:dtds\n\tborder-style: dot-dash;\nsnippet bds:dtdtds\n\tborder-style: dot-dot-dash;\nsnippet bds:dt\n\tborder-style: dotted;\nsnippet bds:db\n\tborder-style: double;\nsnippet bds:g\n\tborder-style: groove;\nsnippet bds:h\n\tborder-style: hidden;\nsnippet bds:i\n\tborder-style: inset;\nsnippet bds:n\n\tborder-style: none;\nsnippet bds:o\n\tborder-style: outset;\nsnippet bds:r\n\tborder-style: ridge;\nsnippet bds:s\n\tborder-style: solid;\nsnippet bds:w\n\tborder-style: wave;\nsnippet bdt+\n\tborder-top: ${1:1px} ${2:solid} #${3:000};\nsnippet bdtc\n\tborder-top-color: #${1:000};\nsnippet bdti\n\tborder-top-image: url(${1});\nsnippet bdti:n\n\tborder-top-image: none;\nsnippet bdtli\n\tborder-top-left-image: url(${1});\nsnippet bdtli:c\n\tborder-corner-image: continue;\nsnippet bdtli:n\n\tborder-corner-image: none;\nsnippet bdtlrz\n\tborder-top-left-radius: ${1};\nsnippet bdtri\n\tborder-top-right-image: url(${1});\nsnippet bdtri:c\n\tborder-top-right-image: continue;\nsnippet bdtri:n\n\tborder-top-right-image: none;\nsnippet bdtrrz\n\tborder-top-right-radius: ${1};\nsnippet bdts\n\tborder-top-style: ${1};\nsnippet bdts:n\n\tborder-top-style: none;\nsnippet bdtw\n\tborder-top-width: ${1};\nsnippet bdt\n\tborder-top: ${1};\nsnippet bdt:n\n\tborder-top: none;\nsnippet bdw\n\tborder-width: ${1};\nsnippet bd\n\tborder: ${1};\nsnippet bd:n\n\tborder: none;\nsnippet b\n\tbottom: ${1};\nsnippet b:a\n\tbottom: auto;\nsnippet bxsh+\n\tbox-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\nsnippet bxsh\n\tbox-shadow: ${1};\nsnippet bxsh:n\n\tbox-shadow: none;\nsnippet bxz\n\tbox-sizing: ${1};\nsnippet bxz:bb\n\tbox-sizing: border-box;\nsnippet bxz:cb\n\tbox-sizing: content-box;\nsnippet cps\n\tcaption-side: ${1};\nsnippet cps:b\n\tcaption-side: bottom;\nsnippet cps:t\n\tcaption-side: top;\nsnippet cl\n\tclear: ${1};\nsnippet cl:b\n\tclear: both;\nsnippet cl:l\n\tclear: left;\nsnippet cl:n\n\tclear: none;\nsnippet cl:r\n\tclear: right;\nsnippet cp\n\tclip: ${1};\nsnippet cp:a\n\tclip: auto;\nsnippet cp:r\n\tclip: rect(${1:0} ${2:0} ${3:0} ${4:0});\nsnippet c\n\tcolor: #${1:000};\nsnippet ct\n\tcontent: ${1};\nsnippet ct:a\n\tcontent: attr(${1});\nsnippet ct:cq\n\tcontent: close-quote;\nsnippet ct:c\n\tcontent: counter(${1});\nsnippet ct:cs\n\tcontent: counters(${1});\nsnippet ct:ncq\n\tcontent: no-close-quote;\nsnippet ct:noq\n\tcontent: no-open-quote;\nsnippet ct:n\n\tcontent: normal;\nsnippet ct:oq\n\tcontent: open-quote;\nsnippet coi\n\tcounter-increment: ${1};\nsnippet cor\n\tcounter-reset: ${1};\nsnippet cur\n\tcursor: ${1};\nsnippet cur:a\n\tcursor: auto;\nsnippet cur:c\n\tcursor: crosshair;\nsnippet cur:d\n\tcursor: default;\nsnippet cur:ha\n\tcursor: hand;\nsnippet cur:he\n\tcursor: help;\nsnippet cur:m\n\tcursor: move;\nsnippet cur:p\n\tcursor: pointer;\nsnippet cur:t\n\tcursor: text;\nsnippet d\n\tdisplay: ${1};\nsnippet d:mib\n\tdisplay: -moz-inline-box;\nsnippet d:mis\n\tdisplay: -moz-inline-stack;\nsnippet d:b\n\tdisplay: block;\nsnippet d:cp\n\tdisplay: compact;\nsnippet d:ib\n\tdisplay: inline-block;\nsnippet d:itb\n\tdisplay: inline-table;\nsnippet d:i\n\tdisplay: inline;\nsnippet d:li\n\tdisplay: list-item;\nsnippet d:n\n\tdisplay: none;\nsnippet d:ri\n\tdisplay: run-in;\nsnippet d:tbcp\n\tdisplay: table-caption;\nsnippet d:tbc\n\tdisplay: table-cell;\nsnippet d:tbclg\n\tdisplay: table-column-group;\nsnippet d:tbcl\n\tdisplay: table-column;\nsnippet d:tbfg\n\tdisplay: table-footer-group;\nsnippet d:tbhg\n\tdisplay: table-header-group;\nsnippet d:tbrg\n\tdisplay: table-row-group;\nsnippet d:tbr\n\tdisplay: table-row;\nsnippet d:tb\n\tdisplay: table;\nsnippet ec\n\tempty-cells: ${1};\nsnippet ec:h\n\tempty-cells: hide;\nsnippet ec:s\n\tempty-cells: show;\nsnippet exp\n\texpression()\nsnippet fl\n\tfloat: ${1};\nsnippet fl:l\n\tfloat: left;\nsnippet fl:n\n\tfloat: none;\nsnippet fl:r\n\tfloat: right;\nsnippet f+\n\tfont: ${1:1em} ${2:Arial},${3:sans-serif};\nsnippet fef\n\tfont-effect: ${1};\nsnippet fef:eb\n\tfont-effect: emboss;\nsnippet fef:eg\n\tfont-effect: engrave;\nsnippet fef:n\n\tfont-effect: none;\nsnippet fef:o\n\tfont-effect: outline;\nsnippet femp\n\tfont-emphasize-position: ${1};\nsnippet femp:a\n\tfont-emphasize-position: after;\nsnippet femp:b\n\tfont-emphasize-position: before;\nsnippet fems\n\tfont-emphasize-style: ${1};\nsnippet fems:ac\n\tfont-emphasize-style: accent;\nsnippet fems:c\n\tfont-emphasize-style: circle;\nsnippet fems:ds\n\tfont-emphasize-style: disc;\nsnippet fems:dt\n\tfont-emphasize-style: dot;\nsnippet fems:n\n\tfont-emphasize-style: none;\nsnippet fem\n\tfont-emphasize: ${1};\nsnippet ff\n\tfont-family: ${1};\nsnippet ff:c\n\tfont-family: ${1:'Monotype Corsiva','Comic Sans MS'},cursive;\nsnippet ff:f\n\tfont-family: ${1:Capitals,Impact},fantasy;\nsnippet ff:m\n\tfont-family: ${1:Monaco,'Courier New'},monospace;\nsnippet ff:ss\n\tfont-family: ${1:Helvetica,Arial},sans-serif;\nsnippet ff:s\n\tfont-family: ${1:Georgia,'Times New Roman'},serif;\nsnippet fza\n\tfont-size-adjust: ${1};\nsnippet fza:n\n\tfont-size-adjust: none;\nsnippet fz\n\tfont-size: ${1};\nsnippet fsm\n\tfont-smooth: ${1};\nsnippet fsm:aw\n\tfont-smooth: always;\nsnippet fsm:a\n\tfont-smooth: auto;\nsnippet fsm:n\n\tfont-smooth: never;\nsnippet fst\n\tfont-stretch: ${1};\nsnippet fst:c\n\tfont-stretch: condensed;\nsnippet fst:e\n\tfont-stretch: expanded;\nsnippet fst:ec\n\tfont-stretch: extra-condensed;\nsnippet fst:ee\n\tfont-stretch: extra-expanded;\nsnippet fst:n\n\tfont-stretch: normal;\nsnippet fst:sc\n\tfont-stretch: semi-condensed;\nsnippet fst:se\n\tfont-stretch: semi-expanded;\nsnippet fst:uc\n\tfont-stretch: ultra-condensed;\nsnippet fst:ue\n\tfont-stretch: ultra-expanded;\nsnippet fs\n\tfont-style: ${1};\nsnippet fs:i\n\tfont-style: italic;\nsnippet fs:n\n\tfont-style: normal;\nsnippet fs:o\n\tfont-style: oblique;\nsnippet fv\n\tfont-variant: ${1};\nsnippet fv:n\n\tfont-variant: normal;\nsnippet fv:sc\n\tfont-variant: small-caps;\nsnippet fw\n\tfont-weight: ${1};\nsnippet fw:b\n\tfont-weight: bold;\nsnippet fw:br\n\tfont-weight: bolder;\nsnippet fw:lr\n\tfont-weight: lighter;\nsnippet fw:n\n\tfont-weight: normal;\nsnippet f\n\tfont: ${1};\nsnippet h\n\theight: ${1};\nsnippet h:a\n\theight: auto;\nsnippet l\n\tleft: ${1};\nsnippet l:a\n\tleft: auto;\nsnippet lts\n\tletter-spacing: ${1};\nsnippet lh\n\tline-height: ${1};\nsnippet lisi\n\tlist-style-image: url(${1});\nsnippet lisi:n\n\tlist-style-image: none;\nsnippet lisp\n\tlist-style-position: ${1};\nsnippet lisp:i\n\tlist-style-position: inside;\nsnippet lisp:o\n\tlist-style-position: outside;\nsnippet list\n\tlist-style-type: ${1};\nsnippet list:c\n\tlist-style-type: circle;\nsnippet list:dclz\n\tlist-style-type: decimal-leading-zero;\nsnippet list:dc\n\tlist-style-type: decimal;\nsnippet list:d\n\tlist-style-type: disc;\nsnippet list:lr\n\tlist-style-type: lower-roman;\nsnippet list:n\n\tlist-style-type: none;\nsnippet list:s\n\tlist-style-type: square;\nsnippet list:ur\n\tlist-style-type: upper-roman;\nsnippet lis\n\tlist-style: ${1};\nsnippet lis:n\n\tlist-style: none;\nsnippet mb\n\tmargin-bottom: ${1};\nsnippet mb:a\n\tmargin-bottom: auto;\nsnippet ml\n\tmargin-left: ${1};\nsnippet ml:a\n\tmargin-left: auto;\nsnippet mr\n\tmargin-right: ${1};\nsnippet mr:a\n\tmargin-right: auto;\nsnippet mt\n\tmargin-top: ${1};\nsnippet mt:a\n\tmargin-top: auto;\nsnippet m\n\tmargin: ${1};\nsnippet m:4\n\tmargin: ${1:0} ${2:0} ${3:0} ${4:0};\nsnippet m:3\n\tmargin: ${1:0} ${2:0} ${3:0};\nsnippet m:2\n\tmargin: ${1:0} ${2:0};\nsnippet m:0\n\tmargin: 0;\nsnippet m:a\n\tmargin: auto;\nsnippet mah\n\tmax-height: ${1};\nsnippet mah:n\n\tmax-height: none;\nsnippet maw\n\tmax-width: ${1};\nsnippet maw:n\n\tmax-width: none;\nsnippet mih\n\tmin-height: ${1};\nsnippet miw\n\tmin-width: ${1};\nsnippet op\n\topacity: ${1};\nsnippet op:ie\n\tfilter: progid:DXImageTransform.Microsoft.Alpha(Opacity=${1:100});\nsnippet op:ms\n\t-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=${1:100})';\nsnippet orp\n\torphans: ${1};\nsnippet o+\n\toutline: ${1:1px} ${2:solid} #${3:000};\nsnippet oc\n\toutline-color: ${1:#000};\nsnippet oc:i\n\toutline-color: invert;\nsnippet oo\n\toutline-offset: ${1};\nsnippet os\n\toutline-style: ${1};\nsnippet ow\n\toutline-width: ${1};\nsnippet o\n\toutline: ${1};\nsnippet o:n\n\toutline: none;\nsnippet ovs\n\toverflow-style: ${1};\nsnippet ovs:a\n\toverflow-style: auto;\nsnippet ovs:mq\n\toverflow-style: marquee;\nsnippet ovs:mv\n\toverflow-style: move;\nsnippet ovs:p\n\toverflow-style: panner;\nsnippet ovs:s\n\toverflow-style: scrollbar;\nsnippet ovx\n\toverflow-x: ${1};\nsnippet ovx:a\n\toverflow-x: auto;\nsnippet ovx:h\n\toverflow-x: hidden;\nsnippet ovx:s\n\toverflow-x: scroll;\nsnippet ovx:v\n\toverflow-x: visible;\nsnippet ovy\n\toverflow-y: ${1};\nsnippet ovy:a\n\toverflow-y: auto;\nsnippet ovy:h\n\toverflow-y: hidden;\nsnippet ovy:s\n\toverflow-y: scroll;\nsnippet ovy:v\n\toverflow-y: visible;\nsnippet ov\n\toverflow: ${1};\nsnippet ov:a\n\toverflow: auto;\nsnippet ov:h\n\toverflow: hidden;\nsnippet ov:s\n\toverflow: scroll;\nsnippet ov:v\n\toverflow: visible;\nsnippet pb\n\tpadding-bottom: ${1};\nsnippet pl\n\tpadding-left: ${1};\nsnippet pr\n\tpadding-right: ${1};\nsnippet pt\n\tpadding-top: ${1};\nsnippet p\n\tpadding: ${1};\nsnippet p:4\n\tpadding: ${1:0} ${2:0} ${3:0} ${4:0};\nsnippet p:3\n\tpadding: ${1:0} ${2:0} ${3:0};\nsnippet p:2\n\tpadding: ${1:0} ${2:0};\nsnippet p:0\n\tpadding: 0;\nsnippet pgba\n\tpage-break-after: ${1};\nsnippet pgba:aw\n\tpage-break-after: always;\nsnippet pgba:a\n\tpage-break-after: auto;\nsnippet pgba:l\n\tpage-break-after: left;\nsnippet pgba:r\n\tpage-break-after: right;\nsnippet pgbb\n\tpage-break-before: ${1};\nsnippet pgbb:aw\n\tpage-break-before: always;\nsnippet pgbb:a\n\tpage-break-before: auto;\nsnippet pgbb:l\n\tpage-break-before: left;\nsnippet pgbb:r\n\tpage-break-before: right;\nsnippet pgbi\n\tpage-break-inside: ${1};\nsnippet pgbi:a\n\tpage-break-inside: auto;\nsnippet pgbi:av\n\tpage-break-inside: avoid;\nsnippet pos\n\tposition: ${1};\nsnippet pos:a\n\tposition: absolute;\nsnippet pos:f\n\tposition: fixed;\nsnippet pos:r\n\tposition: relative;\nsnippet pos:s\n\tposition: static;\nsnippet q\n\tquotes: ${1};\nsnippet q:en\n\tquotes: '\\201C' '\\201D' '\\2018' '\\2019';\nsnippet q:n\n\tquotes: none;\nsnippet q:ru\n\tquotes: '\\00AB' '\\00BB' '\\201E' '\\201C';\nsnippet rz\n\tresize: ${1};\nsnippet rz:b\n\tresize: both;\nsnippet rz:h\n\tresize: horizontal;\nsnippet rz:n\n\tresize: none;\nsnippet rz:v\n\tresize: vertical;\nsnippet r\n\tright: ${1};\nsnippet r:a\n\tright: auto;\nsnippet tbl\n\ttable-layout: ${1};\nsnippet tbl:a\n\ttable-layout: auto;\nsnippet tbl:f\n\ttable-layout: fixed;\nsnippet tal\n\ttext-align-last: ${1};\nsnippet tal:a\n\ttext-align-last: auto;\nsnippet tal:c\n\ttext-align-last: center;\nsnippet tal:l\n\ttext-align-last: left;\nsnippet tal:r\n\ttext-align-last: right;\nsnippet ta\n\ttext-align: ${1};\nsnippet ta:c\n\ttext-align: center;\nsnippet ta:l\n\ttext-align: left;\nsnippet ta:r\n\ttext-align: right;\nsnippet td\n\ttext-decoration: ${1};\nsnippet td:l\n\ttext-decoration: line-through;\nsnippet td:n\n\ttext-decoration: none;\nsnippet td:o\n\ttext-decoration: overline;\nsnippet td:u\n\ttext-decoration: underline;\nsnippet te\n\ttext-emphasis: ${1};\nsnippet te:ac\n\ttext-emphasis: accent;\nsnippet te:a\n\ttext-emphasis: after;\nsnippet te:b\n\ttext-emphasis: before;\nsnippet te:c\n\ttext-emphasis: circle;\nsnippet te:ds\n\ttext-emphasis: disc;\nsnippet te:dt\n\ttext-emphasis: dot;\nsnippet te:n\n\ttext-emphasis: none;\nsnippet th\n\ttext-height: ${1};\nsnippet th:a\n\ttext-height: auto;\nsnippet th:f\n\ttext-height: font-size;\nsnippet th:m\n\ttext-height: max-size;\nsnippet th:t\n\ttext-height: text-size;\nsnippet ti\n\ttext-indent: ${1};\nsnippet ti:-\n\ttext-indent: -9999px;\nsnippet tj\n\ttext-justify: ${1};\nsnippet tj:a\n\ttext-justify: auto;\nsnippet tj:d\n\ttext-justify: distribute;\nsnippet tj:ic\n\ttext-justify: inter-cluster;\nsnippet tj:ii\n\ttext-justify: inter-ideograph;\nsnippet tj:iw\n\ttext-justify: inter-word;\nsnippet tj:k\n\ttext-justify: kashida;\nsnippet tj:t\n\ttext-justify: tibetan;\nsnippet to+\n\ttext-outline: ${1:0} ${2:0} #${3:000};\nsnippet to\n\ttext-outline: ${1};\nsnippet to:n\n\ttext-outline: none;\nsnippet tr\n\ttext-replace: ${1};\nsnippet tr:n\n\ttext-replace: none;\nsnippet tsh+\n\ttext-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\nsnippet tsh\n\ttext-shadow: ${1};\nsnippet tsh:n\n\ttext-shadow: none;\nsnippet tt\n\ttext-transform: ${1};\nsnippet tt:c\n\ttext-transform: capitalize;\nsnippet tt:l\n\ttext-transform: lowercase;\nsnippet tt:n\n\ttext-transform: none;\nsnippet tt:u\n\ttext-transform: uppercase;\nsnippet tw\n\ttext-wrap: ${1};\nsnippet tw:no\n\ttext-wrap: none;\nsnippet tw:n\n\ttext-wrap: normal;\nsnippet tw:s\n\ttext-wrap: suppress;\nsnippet tw:u\n\ttext-wrap: unrestricted;\nsnippet t\n\ttop: ${1};\nsnippet t:a\n\ttop: auto;\nsnippet va\n\tvertical-align: ${1};\nsnippet va:bl\n\tvertical-align: baseline;\nsnippet va:b\n\tvertical-align: bottom;\nsnippet va:m\n\tvertical-align: middle;\nsnippet va:sub\n\tvertical-align: sub;\nsnippet va:sup\n\tvertical-align: super;\nsnippet va:tb\n\tvertical-align: text-bottom;\nsnippet va:tt\n\tvertical-align: text-top;\nsnippet va:t\n\tvertical-align: top;\nsnippet v\n\tvisibility: ${1};\nsnippet v:c\n\tvisibility: collapse;\nsnippet v:h\n\tvisibility: hidden;\nsnippet v:v\n\tvisibility: visible;\nsnippet whsc\n\twhite-space-collapse: ${1};\nsnippet whsc:ba\n\twhite-space-collapse: break-all;\nsnippet whsc:bs\n\twhite-space-collapse: break-strict;\nsnippet whsc:k\n\twhite-space-collapse: keep-all;\nsnippet whsc:l\n\twhite-space-collapse: loose;\nsnippet whsc:n\n\twhite-space-collapse: normal;\nsnippet whs\n\twhite-space: ${1};\nsnippet whs:n\n\twhite-space: normal;\nsnippet whs:nw\n\twhite-space: nowrap;\nsnippet whs:pl\n\twhite-space: pre-line;\nsnippet whs:pw\n\twhite-space: pre-wrap;\nsnippet whs:p\n\twhite-space: pre;\nsnippet wid\n\twidows: ${1};\nsnippet w\n\twidth: ${1};\nsnippet w:a\n\twidth: auto;\nsnippet wob\n\tword-break: ${1};\nsnippet wob:ba\n\tword-break: break-all;\nsnippet wob:bs\n\tword-break: break-strict;\nsnippet wob:k\n\tword-break: keep-all;\nsnippet wob:l\n\tword-break: loose;\nsnippet wob:n\n\tword-break: normal;\nsnippet wos\n\tword-spacing: ${1};\nsnippet wow\n\tword-wrap: ${1};\nsnippet wow:no\n\tword-wrap: none;\nsnippet wow:n\n\tword-wrap: normal;\nsnippet wow:s\n\tword-wrap: suppress;\nsnippet wow:u\n\tword-wrap: unrestricted;\nsnippet z\n\tz-index: ${1};\nsnippet z:a\n\tz-index: auto;\nsnippet zoo\n\tzoom: 1;\n"})),ace.define("ace/snippets/css",["require","exports","module","ace/snippets/css.snippets"],(function(e,t,n){"use strict";t.snippetText=e("./css.snippets"),t.scope="css"})),ace.require(["ace/snippets/css"],(function(t){e&&(e.exports=t)}))},4139:(e,t,n)=>{e=n.nmd(e),ace.define("ace/snippets/javascript.snippets",["require","exports","module"],(function(e,t,n){n.exports='# Prototype\nsnippet proto\n\t${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {\n\t\t${4:// body...}\n\t};\n# Function\nsnippet fun\n\tfunction ${1?:function_name}(${2:argument}) {\n\t\t${3:// body...}\n\t}\n# Anonymous Function\nregex /((=)\\s*|(:)\\s*|(\\()|\\b)/f/(\\))?/\nsnippet f\n\tfunction${M1?: ${1:functionName}}($2) {\n\t\t${0:$TM_SELECTED_TEXT}\n\t}${M2?;}${M3?,}${M4?)}\n# Immediate function\ntrigger \\(?f\\(\nendTrigger \\)?\nsnippet f(\n\t(function(${1}) {\n\t\t${0:${TM_SELECTED_TEXT:/* code */}}\n\t}(${1}));\n# if\nsnippet if\n\tif (${1:true}) {\n\t\t${0}\n\t}\n# if ... else\nsnippet ife\n\tif (${1:true}) {\n\t\t${2}\n\t} else {\n\t\t${0}\n\t}\n# tertiary conditional\nsnippet ter\n\t${1:/* condition */} ? ${2:a} : ${3:b}\n# switch\nsnippet switch\n\tswitch (${1:expression}) {\n\t\tcase \'${3:case}\':\n\t\t\t${4:// code}\n\t\t\tbreak;\n\t\t${5}\n\t\tdefault:\n\t\t\t${2:// code}\n\t}\n# case\nsnippet case\n\tcase \'${1:case}\':\n\t\t${2:// code}\n\t\tbreak;\n\t${3}\n\n# while (...) {...}\nsnippet wh\n\twhile (${1:/* condition */}) {\n\t\t${0:/* code */}\n\t}\n# try\nsnippet try\n\ttry {\n\t\t${0:/* code */}\n\t} catch (e) {}\n# do...while\nsnippet do\n\tdo {\n\t\t${2:/* code */}\n\t} while (${1:/* condition */});\n# Object Method\nsnippet :f\nregex /([,{[])|^\\s*/:f/\n\t${1:method_name}: function(${2:attribute}) {\n\t\t${0}\n\t}${3:,}\n# setTimeout function\nsnippet setTimeout\nregex /\\b/st|timeout|setTimeo?u?t?/\n\tsetTimeout(function() {${3:$TM_SELECTED_TEXT}}, ${1:10});\n# Get Elements\nsnippet gett\n\tgetElementsBy${1:TagName}(\'${2}\')${3}\n# Get Element\nsnippet get\n\tgetElementBy${1:Id}(\'${2}\')${3}\n# console.log (Firebug)\nsnippet cl\n\tconsole.log(${1});\n# return\nsnippet ret\n\treturn ${1:result}\n# for (property in object ) { ... }\nsnippet fori\n\tfor (var ${1:prop} in ${2:Things}) {\n\t\t${0:$2[$1]}\n\t}\n# hasOwnProperty\nsnippet has\n\thasOwnProperty(${1})\n# docstring\nsnippet /**\n\t/**\n\t * ${1:description}\n\t *\n\t */\nsnippet @par\nregex /^\\s*\\*\\s*/@(para?m?)?/\n\t@param {${1:type}} ${2:name} ${3:description}\nsnippet @ret\n\t@return {${1:type}} ${2:description}\n# JSON.parse\nsnippet jsonp\n\tJSON.parse(${1:jstr});\n# JSON.stringify\nsnippet jsons\n\tJSON.stringify(${1:object});\n# self-defining function\nsnippet sdf\n\tvar ${1:function_name} = function(${2:argument}) {\n\t\t${3:// initial code ...}\n\n\t\t$1 = function($2) {\n\t\t\t${4:// main code}\n\t\t};\n\t}\n# singleton\nsnippet sing\n\tfunction ${1:Singleton} (${2:argument}) {\n\t\t// the cached instance\n\t\tvar instance;\n\n\t\t// rewrite the constructor\n\t\t$1 = function $1($2) {\n\t\t\treturn instance;\n\t\t};\n\t\t\n\t\t// carry over the prototype properties\n\t\t$1.prototype = this;\n\n\t\t// the instance\n\t\tinstance = new $1();\n\n\t\t// reset the constructor pointer\n\t\tinstance.constructor = $1;\n\n\t\t${3:// code ...}\n\n\t\treturn instance;\n\t}\n# class\nsnippet class\nregex /^\\s*/clas{0,2}/\n\tvar ${1:class} = function(${20}) {\n\t\t$40$0\n\t};\n\t\n\t(function() {\n\t\t${60:this.prop = ""}\n\t}).call(${1:class}.prototype);\n\t\n\texports.${1:class} = ${1:class};\n# \nsnippet for-\n\tfor (var ${1:i} = ${2:Things}.length; ${1:i}--; ) {\n\t\t${0:${2:Things}[${1:i}];}\n\t}\n# for (...) {...}\nsnippet for\n\tfor (var ${1:i} = 0; $1 < ${2:Things}.length; $1++) {\n\t\t${3:$2[$1]}$0\n\t}\n# for (...) {...} (Improved Native For-Loop)\nsnippet forr\n\tfor (var ${1:i} = ${2:Things}.length - 1; $1 >= 0; $1--) {\n\t\t${3:$2[$1]}$0\n\t}\n\n\n#modules\nsnippet def\n\tdefine(function(require, exports, module) {\n\t"use strict";\n\tvar ${1/.*\\///} = require("${1}");\n\t\n\t$TM_SELECTED_TEXT\n\t});\nsnippet req\nguard ^\\s*\n\tvar ${1/.*\\///} = require("${1}");\n\t$0\nsnippet requ\nguard ^\\s*\n\tvar ${1/.*\\/(.)/\\u$1/} = require("${1}").${1/.*\\/(.)/\\u$1/};\n\t$0\n'})),ace.define("ace/snippets/javascript",["require","exports","module","ace/snippets/javascript.snippets"],(function(e,t,n){"use strict";t.snippetText=e("./javascript.snippets"),t.scope="javascript"})),ace.require(["ace/snippets/javascript"],(function(t){e&&(e.exports=t)}))},8171:(e,t,n)=>{e=n.nmd(e),ace.require(["ace/snippets/text"],(function(t){e&&(e.exports=t)}))},9511:(e,t,n)=>{"use strict";var o=n(8075)("ArrayBuffer.prototype.byteLength",!0),i=n(4670);e.exports=function(e){return i(e)?o?o(e):e.byteLength:NaN}},8024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=function(){function e(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n{"use strict";var o=r(n(1278)),i=r(n(1625));function r(e){return e&&e.__esModule?e:{default:e}}t.A=(0,i.default)(o.default,{value:"onChange"})},9853:e=>{var t=.1,n="function"==typeof Float32Array;function o(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function r(e){return 3*e}function s(e,t,n){return((o(t,n)*e+i(t,n))*e+r(t))*e}function a(e,t,n){return 3*o(t,n)*e*e+2*i(t,n)*e+r(t)}function l(e){return e}e.exports=function(e,o,i,r){if(!(0<=e&&e<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===o&&i===r)return l;for(var c=n?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=s(u*t,e,i);return function(n){return 0===n?0:1===n?1:s(function(n){for(var o=0,r=1;10!==r&&c[r]<=n;++r)o+=t;--r;var l=o+(n-c[r])/(c[r+1]-c[r])*t,u=a(l,e,i);return u>=.001?function(e,t,n,o){for(var i=0;i<4;++i){var r=a(t,n,o);if(0===r)return t;t-=(s(t,n,o)-e)/r}return t}(n,l,e,i):0===u?l:function(e,t,n,o,i){var r,a,l=0;do{(r=s(a=t+(n-t)/2,o,i)-e)>0?n=a:t=a}while(Math.abs(r)>1e-7&&++l<10);return a}(n,o,o+t,e,i)}(n),o,r)}}},8075:(e,t,n)=>{"use strict";var o=n(453),i=n(487),r=i(o("String.prototype.indexOf"));e.exports=function(e,t){var n=o(e,!!t);return"function"==typeof n&&r(e,".prototype.")>-1?i(n):n}},487:(e,t,n)=>{"use strict";var o=n(6743),i=n(453),r=n(6897),s=n(9675),a=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||o.call(l,a),u=n(655),h=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new s("a function is required");var t=c(o,l,arguments);return r(t,1+h(0,e.length-(arguments.length-1)),!0)};var d=function(){return c(o,a,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},4982:(e,t,n)=>{"use strict";var o=n(6525),i=n(8075),r=n(3970),s=n(453),a=n(4552),l=n(920),c=n(7653),u=n(7244),h=n(4634),d=n(4670),p=n(2120),g=n(4035),f=n(7070),m=n(1189),v=n(1539),b=n(7638),y=n(5767),w=n(9511),k=i("SharedArrayBuffer.prototype.byteLength",!0),_=i("Date.prototype.getTime"),x=Object.getPrototypeOf,C=i("Object.prototype.toString"),S=s("%Set%",!0),E=i("Map.prototype.has",!0),A=i("Map.prototype.get",!0),T=i("Map.prototype.size",!0),$=i("Set.prototype.add",!0),M=i("Set.prototype.delete",!0),R=i("Set.prototype.has",!0),j=i("Set.prototype.size",!0);function O(e,t,n,o){for(var i,r=a(e);(i=r.next())&&!i.done;)if(D(t,i.value,n,o))return M(e,i.value),!0;return!1}function L(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function I(e,t,n,i,r,s){var a=L(n);if(null!=a)return a;var l=A(t,a),c=o({},r,{strict:!1});return!(void 0===l&&!E(t,a)||!D(i,l,c,s))&&!E(e,a)&&D(i,l,c,s)}function N(e,t,n){var o=L(n);return null!=o?o:R(t,o)&&!R(e,o)}function P(e,t,n,o,i,r){for(var s,l,c=a(e);(s=c.next())&&!s.done;)if(D(n,l=s.value,i,r)&&D(o,A(t,l),i,r))return M(e,l),!0;return!1}function D(e,t,n,i){var s=n||{};if(s.strict?c(e,t):e===t)return!0;if(v(e)!==v(t))return!1;if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return s.strict?c(e,t):e==t;var l,M=i.has(e),L=i.has(t);if(M&&L){if(i.get(e)===i.get(t))return!0}else l={};return M||i.set(e,l),L||i.set(t,l),function(e,t,n,i){var s,l;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(C(e)!==C(t))return!1;if(u(e)!==u(t))return!1;if(h(e)!==h(t))return!1;var c=e instanceof Error,v=t instanceof Error;if(c!==v)return!1;if((c||v)&&(e.name!==t.name||e.message!==t.message))return!1;var M=g(e),L=g(t);if(M!==L)return!1;if((M||L)&&(e.source!==t.source||r(e)!==r(t)))return!1;var z=p(e),F=p(t);if(z!==F)return!1;if((z||F)&&_(e)!==_(t))return!1;if(n.strict&&x&&x(e)!==x(t))return!1;var H=y(e),W=y(t);if(H!==W)return!1;if(H||W){if(e.length!==t.length)return!1;for(s=0;s=0;s--)if(Z[s]!=J[s])return!1;for(s=Z.length-1;s>=0;s--)if(!D(e[l=Z[s]],t[l],n,i))return!1;var X=b(e),Q=b(t);return X===Q&&("Set"===X||"Set"===Q?function(e,t,n,o){if(j(e)!==j(t))return!1;for(var i,r,s,l=a(e),c=a(t);(i=l.next())&&!i.done;)if(i.value&&"object"==typeof i.value)s||(s=new S),$(s,i.value);else if(!R(t,i.value)){if(n.strict)return!1;if(!N(e,t,i.value))return!1;s||(s=new S),$(s,i.value)}if(s){for(;(r=c.next())&&!r.done;)if(r.value&&"object"==typeof r.value){if(!O(s,r.value,n.strict,o))return!1}else if(!n.strict&&!R(e,r.value)&&!O(s,r.value,n.strict,o))return!1;return 0===j(s)}return!0}(e,t,n,i):"Map"!==X||function(e,t,n,i){if(T(e)!==T(t))return!1;for(var r,s,l,c,u,h,d=a(e),p=a(t);(r=d.next())&&!r.done;)if(c=r.value[0],u=r.value[1],c&&"object"==typeof c)l||(l=new S),$(l,c);else if(void 0===(h=A(t,c))&&!E(t,c)||!D(u,h,n,i)){if(n.strict)return!1;if(!I(e,t,c,u,n,i))return!1;l||(l=new S),$(l,c)}if(l){for(;(s=p.next())&&!s.done;)if(c=s.value[0],h=s.value[1],c&&"object"==typeof c){if(!P(l,e,c,h,n,i))return!1}else if(!(n.strict||e.has(c)&&D(A(e,c),h,n,i)||P(l,e,c,h,o({},n,{strict:!1}),i)))return!1;return 0===j(l)}return!0}(e,t,n,i))}(e,t,s,i)}function B(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0]||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))}e.exports=function(e,t,n){return D(e,t,n,l())}},41:(e,t,n)=>{"use strict";var o=n(655),i=n(8068),r=n(9675),s=n(5795);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new r("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!s&&s(e,t);if(o)o(e,t,{configurable:null===c&&h?h.configurable:!c,enumerable:null===a&&h?h.enumerable:!a,value:n,writable:null===l&&h?h.writable:!l});else{if(!u&&(a||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},8452:(e,t,n)=>{"use strict";var o=n(1189),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),r=Object.prototype.toString,s=Array.prototype.concat,a=n(41),l=n(592)(),c=function(e,t,n,o){if(t in e)if(!0===o){if(e[t]===n)return}else if("function"!=typeof(i=o)||"[object Function]"!==r.call(i)||!o())return;var i;l?a(e,t,n,!0):a(e,t,n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},r=o(t);i&&(r=s.call(r,Object.getOwnPropertySymbols(t)));for(var a=0;a{var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1;t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,o,i){void 0===i&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var r=i;if(null==e||null==n)throw new Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];void 0===o&&(o=!0);var s=o,a=this.diff_commonPrefix(e,n),l=e.substring(0,a);e=e.substring(a),n=n.substring(a),a=this.diff_commonSuffix(e,n);var c=e.substring(e.length-a);e=e.substring(0,e.length-a),n=n.substring(0,n.length-a);var u=this.diff_compute_(e,n,s,r);return l&&u.unshift(new t.Diff(0,l)),c&&u.push(new t.Diff(0,c)),this.diff_cleanupMerge(u),u},t.prototype.diff_compute_=function(e,o,i,r){var s;if(!e)return[new t.Diff(1,o)];if(!o)return[new t.Diff(n,e)];var a=e.length>o.length?e:o,l=e.length>o.length?o:e,c=a.indexOf(l);if(-1!=c)return s=[new t.Diff(1,a.substring(0,c)),new t.Diff(0,l),new t.Diff(1,a.substring(c+l.length))],e.length>o.length&&(s[0][0]=s[2][0]=n),s;if(1==l.length)return[new t.Diff(n,e),new t.Diff(1,o)];var u=this.diff_halfMatch_(e,o);if(u){var h=u[0],d=u[1],p=u[2],g=u[3],f=u[4],m=this.diff_main(h,p,i,r),v=this.diff_main(d,g,i,r);return m.concat([new t.Diff(0,f)],v)}return i&&e.length>100&&o.length>100?this.diff_lineMode_(e,o,r):this.diff_bisect_(e,o,r)},t.prototype.diff_lineMode_=function(e,o,i){var r=this.diff_linesToChars_(e,o);e=r.chars1,o=r.chars2;var s=r.lineArray,a=this.diff_main(e,o,!1,i);this.diff_charsToLines_(a,s),this.diff_cleanupSemantic(a),a.push(new t.Diff(0,""));for(var l=0,c=0,u=0,h="",d="";l=1&&u>=1){a.splice(l-c-u,c+u),l=l-c-u;for(var p=this.diff_main(h,d,!1,i),g=p.length-1;g>=0;g--)a.splice(l,0,p[g]);l+=p.length}u=0,c=0,h="",d=""}l++}return a.pop(),a},t.prototype.diff_bisect_=function(e,o,i){for(var r=e.length,s=o.length,a=Math.ceil((r+s)/2),l=a,c=2*a,u=new Array(c),h=new Array(c),d=0;di);y++){for(var w=-y+f;w<=y-m;w+=2){for(var k=l+w,_=(A=w==-y||w!=y&&u[k-1]r)m+=2;else if(_>s)f+=2;else if(g&&(S=l+p-w)>=0&&S=(C=r-h[S]))return this.diff_bisectSplit_(e,o,A,_,i)}for(var x=-y+v;x<=y-b;x+=2){for(var C,S=l+x,E=(C=x==-y||x!=y&&h[S-1]r)b+=2;else if(E>s)v+=2;else if(!g){var A;if((k=l+p-x)>=0&&k=(C=r-C))return this.diff_bisectSplit_(e,o,A,_,i)}}}return[new t.Diff(n,e),new t.Diff(1,o)]},t.prototype.diff_bisectSplit_=function(e,t,n,o,i){var r=e.substring(0,n),s=t.substring(0,o),a=e.substring(n),l=t.substring(o),c=this.diff_main(r,s,!1,i),u=this.diff_main(a,l,!1,i);return c.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],o={};function i(e){for(var t="",i=0,s=-1,a=n.length;so?e=e.substring(n-o):nt.length?e:t,o=e.length>t.length?t:e;if(n.length<4||2*o.length=e.length?[o,r,s,a,u]:null}var s,a,l,c,u,h=r(n,o,Math.ceil(n.length/4)),d=r(n,o,Math.ceil(n.length/2));return h||d?(s=d?h&&h[4].length>d[4].length?h:d:h,e.length>t.length?(a=s[0],l=s[1],c=s[2],u=s[3]):(c=s[0],u=s[1],a=s[2],l=s[3]),[a,l,c,u,s[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var o=!1,i=[],r=0,s=null,a=0,l=0,c=0,u=0,h=0;a0?i[r-1]:-1,l=0,c=0,u=0,h=0,s=null,o=!0)),a++;for(o&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),a=1;a=f?(g>=d.length/2||g>=p.length/2)&&(e.splice(a,0,new t.Diff(0,p.substring(0,g))),e[a-1][1]=d.substring(0,d.length-g),e[a+1][1]=p.substring(g),a++):(f>=d.length/2||f>=p.length/2)&&(e.splice(a,0,new t.Diff(0,d.substring(0,f))),e[a-1][0]=1,e[a-1][1]=p.substring(0,p.length-f),e[a+1][0]=n,e[a+1][1]=d.substring(f),a++),a++}a++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var o=e.charAt(e.length-1),i=n.charAt(0),r=o.match(t.nonAlphaNumericRegex_),s=i.match(t.nonAlphaNumericRegex_),a=r&&o.match(t.whitespaceRegex_),l=s&&i.match(t.whitespaceRegex_),c=a&&o.match(t.linebreakRegex_),u=l&&i.match(t.linebreakRegex_),h=c&&e.match(t.blanklineEndRegex_),d=u&&n.match(t.blanklineStartRegex_);return h||d?5:c||u?4:r&&!a&&l?3:a||l?2:r||s?1:0}for(var o=1;o=d&&(d=p,c=i,u=r,h=s)}e[o-1][1]!=c&&(c?e[o-1][1]=c:(e.splice(o-1,1),o--),e[o][1]=u,h?e[o+1][1]=h:(e.splice(o+1,1),o--))}o++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var o=!1,i=[],r=0,s=null,a=0,l=!1,c=!1,u=!1,h=!1;a0?i[r-1]:-1,u=h=!1),o=!0)),a++;o&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var o,i=0,r=0,s=0,a="",l="";i1?(0!==r&&0!==s&&(0!==(o=this.diff_commonPrefix(l,a))&&(i-r-s>0&&0==e[i-r-s-1][0]?e[i-r-s-1][1]+=l.substring(0,o):(e.splice(0,0,new t.Diff(0,l.substring(0,o))),i++),l=l.substring(o),a=a.substring(o)),0!==(o=this.diff_commonSuffix(l,a))&&(e[i][1]=l.substring(l.length-o)+e[i][1],l=l.substring(0,l.length-o),a=a.substring(0,a.length-o))),i-=r+s,e.splice(i,r+s),a.length&&(e.splice(i,0,new t.Diff(n,a)),i++),l.length&&(e.splice(i,0,new t.Diff(1,l)),i++),i++):0!==i&&0==e[i-1][0]?(e[i-1][1]+=e[i][1],e.splice(i,1)):i++,s=0,r=0,a="",l=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(i=1;it));o++)s=i,a=r;return e.length!=o&&e[o][0]===n?a:a+(t-s)},t.prototype.diff_prettyHtml=function(e){for(var t=[],o=/&/g,i=//g,s=/\n/g,a=0;a");switch(l){case 1:t[a]=''+c+"";break;case n:t[a]=''+c+"";break;case 0:t[a]=""+c+""}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var o=this.match_alphabet_(t),i=this;function r(e,o){var r=e/t.length,s=Math.abs(n-o);return i.Match_Distance?r+s/i.Match_Distance:s?1:r}var s=this.Match_Threshold,a=e.indexOf(t,n);-1!=a&&(s=Math.min(r(0,a),s),-1!=(a=e.lastIndexOf(t,n+t.length))&&(s=Math.min(r(0,a),s)));var l,c,u=1<=g;v--){var b=o[e.charAt(v-1)];if(m[v]=0===p?(m[v+1]<<1|1)&b:(m[v+1]<<1|1)&b|(h[v+1]|h[v])<<1|1|h[v+1],m[v]&u){var y=r(p,v-1);if(y<=s){if(s=y,!((a=v-1)>n))break;g=Math.max(1,2*n-a)}}}if(r(p+1,n)>s)break;h=m}return a},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(e&&"object"==typeof e&&void 0===o&&void 0===i)s=e,r=this.diff_text1(s);else if("string"==typeof e&&o&&"object"==typeof o&&void 0===i)r=e,s=o;else{if("string"!=typeof e||"string"!=typeof o||!i||"object"!=typeof i)throw new Error("Unknown call format to patch_make.");r=e,s=i}if(0===s.length)return[];for(var a=[],l=new t.patch_obj,c=0,u=0,h=0,d=r,p=r,g=0;g=2*this.Patch_Margin&&c&&(this.patch_addContext_(l,d),a.push(l),l=new t.patch_obj,c=0,d=p,u=h)}1!==f&&(u+=m.length),f!==n&&(h+=m.length)}return c&&(this.patch_addContext_(l,d),a.push(l)),a},t.prototype.patch_deepCopy=function(e){for(var n=[],o=0;othis.Match_MaxBits?-1!=(a=this.match_main(t,u.substring(0,this.Match_MaxBits),c))&&(-1==(h=this.match_main(t,u.substring(u.length-this.Match_MaxBits),c+u.length-this.Match_MaxBits))||a>=h)&&(a=-1):a=this.match_main(t,u,c),-1==a)r[s]=!1,i-=e[s].length2-e[s].length1;else if(r[s]=!0,i=a-c,u==(l=-1==h?t.substring(a,a+u.length):t.substring(a,h+this.Match_MaxBits)))t=t.substring(0,a)+this.diff_text2(e[s].diffs)+t.substring(a+u.length);else{var d=this.diff_main(u,l,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(d)/u.length>this.Patch_DeleteThreshold)r[s]=!1;else{this.diff_cleanupSemanticLossless(d);for(var p,g=0,f=0;fs[0][1].length){var a=n-s[0][1].length;s[0][1]=o.substring(s[0][1].length)+s[0][1],r.start1-=a,r.start2-=a,r.length1+=a,r.length2+=a}return 0==(s=(r=e[e.length-1]).diffs).length||0!=s[s.length-1][0]?(s.push(new t.Diff(0,o)),r.length1+=n,r.length2+=n):n>s[s.length-1][1].length&&(a=n-s[s.length-1][1].length,s[s.length-1][1]+=o.substring(0,a),r.length1+=a,r.length2+=a),o},t.prototype.patch_splitMax=function(e){for(var o=this.Match_MaxBits,i=0;i2*o?(c.length1+=d.length,s+=d.length,u=!1,c.diffs.push(new t.Diff(h,d)),r.diffs.shift()):(d=d.substring(0,o-c.length1-this.Patch_Margin),c.length1+=d.length,s+=d.length,0===h?(c.length2+=d.length,a+=d.length):u=!1,c.diffs.push(new t.Diff(h,d)),d==r.diffs[0][1]?r.diffs.shift():r.diffs[0][1]=r.diffs[0][1].substring(d.length))}l=(l=this.diff_text2(c.diffs)).substring(l.length-this.Patch_Margin);var p=this.diff_text1(r.diffs).substring(0,this.Patch_Margin);""!==p&&(c.length1+=p.length,c.length2+=p.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=p:c.diffs.push(new t.Diff(0,p))),u||e.splice(++i,0,c)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n{"use strict";var o=n(453)("%Object.defineProperty%",!0)||!1;if(o)try{o({},"a",{value:1})}catch(e){o=!1}e.exports=o},1237:e=>{"use strict";e.exports=EvalError},9383:e=>{"use strict";e.exports=Error},9290:e=>{"use strict";e.exports=RangeError},9538:e=>{"use strict";e.exports=ReferenceError},8068:e=>{"use strict";e.exports=SyntaxError},9675:e=>{"use strict";e.exports=TypeError},5345:e=>{"use strict";e.exports=URIError},2682:(e,t,n)=>{"use strict";var o=n(9600),i=Object.prototype.toString,r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!o(t))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=n),"[object Array]"===i.call(e)?function(e,t,n){for(var o=0,i=e.length;o{"use strict";var t=Object.prototype.toString,n=Math.max,o=function(e,t){for(var n=[],o=0;o{"use strict";var o=n(9353);e.exports=Function.prototype.bind||o},4462:e=>{"use strict";var t=function(){return"string"==typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(e){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n((function(){}),"name");return!!e&&!!e.configurable};var o=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof o&&""!==function(){}.bind().name},e.exports=t},453:(e,t,n)=>{"use strict";var o,i=n(9383),r=n(1237),s=n(9290),a=n(9538),l=n(8068),c=n(9675),u=n(5345),h=Function,d=function(e){try{return h('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var g=function(){throw new c},f=p?function(){try{return g}catch(e){try{return p(arguments,"callee").get}catch(e){return g}}}():g,m=n(4039)(),v=n(24)(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},w="undefined"!=typeof Uint8Array&&b?b(Uint8Array):o,k={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":m&&b?b([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?o:Atomics,"%BigInt%":"undefined"==typeof BigInt?o:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?o:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?o:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":r,"%Float32Array%":"undefined"==typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m&&b?b(b([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&m&&b?b((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?o:Promise,"%Proxy%":"undefined"==typeof Proxy?o:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&m&&b?b((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&b?b(""[Symbol.iterator]()):o,"%Symbol%":m?Symbol:o,"%SyntaxError%":l,"%ThrowTypeError%":f,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?o:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?o:WeakSet};if(b)try{null.error}catch(e){var _=b(b(e));k["%Error.prototype%"]=_}var x=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&b&&(n=b(i.prototype))}return k[t]=n,n},C={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=n(6743),E=n(9957),A=S.call(Function.call,Array.prototype.concat),T=S.call(Function.apply,Array.prototype.splice),$=S.call(Function.call,String.prototype.replace),M=S.call(Function.call,String.prototype.slice),R=S.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,L=function(e,t){var n,o=e;if(E(C,o)&&(o="%"+(n=C[o])[0]+"%"),E(k,o)){var i=k[o];if(i===y&&(i=x(o)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===R(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=M(e,0,1),n=M(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var o=[];return $(e,j,(function(e,t,n,i){o[o.length]=n?$(i,O,"$1"):t||e})),o}(e),o=n.length>0?n[0]:"",i=L("%"+o+"%",t),r=i.name,s=i.value,a=!1,u=i.alias;u&&(o=u[0],T(n,A([0,1],u)));for(var h=1,d=!0;h=n.length){var v=p(s,g);s=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:s[g]}else d=E(s,g),s=s[g];d&&!a&&(k[r]=s)}}return s}},5795:(e,t,n)=>{"use strict";var o=n(453)("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(e){o=null}e.exports=o},28:e=>{e.exports={control:(e,t)=>{let n=Object.assign(e,{cursor:"pointer",minHeight:40,borderRadius:3});return n=t.isFocused&&!t.isDisabled?Object.assign(n,{borderColor:"#007cba"}):Object.assign(n,{borderColor:"var(--wp-components-color-gray-600, #949494)","&:hover":{borderColor:""}}),t.isFocused&&(n=Object.assign(n,{boxShadow:"0 0 0 1px #007cba","&:hover":{borderColor:"#007cba"}})),n},singleValue:e=>Object.assign(e,{color:"var(--wp-components-color-foreground, #1e1e1e)"}),valueContainer:(e,t)=>{let n=Object.assign(e,{padding:0,paddingLeft:10});return t.isMulti&&(n=Object.assign(n,{paddingRight:7,paddingLeft:7})),n},input:e=>Object.assign(e,{margin:0,height:30,paddingTop:0,paddingBottom:0,input:{boxShadow:"none !important"}}),dropdownIndicator:e=>Object.assign(e,{padding:3,paddingRight:9,color:"var(--wp-components-color-foreground, #1e1e1e)","&:hover":{color:"var(--wp-components-color-foreground, #1e1e1e)"},svg:{width:12,height:12}}),clearIndicator:e=>Object.assign(e,{padding:5,svg:{width:15,height:15}}),indicatorSeparator:()=>!1,multiValue:e=>Object.assign(e,{padding:"3px 2px",margin:4,marginLeft:0,borderRadius:1,backgroundColor:"#ddd"}),multiValueLabel:e=>Object.assign(e,{padding:0,color:"#32373c",fontSize:"100%"}),multiValueRemove:e=>Object.assign(e,{padding:0,marginLeft:5,marginRight:5,marginTop:1,width:"auto",height:"auto",backgroundColor:"transparent",color:"inherit",justifyContent:"center",":hover":{backgroundColor:"transparent",color:"#e02e2e"},svg:{width:14,height:14}}),option:(e,t)=>{let n=Object.assign(e,{display:"flex",alignItems:"center",padding:"4px 10px"});return t.isFocused&&(n=Object.assign(n,{backgroundColor:"#efefef"})),n=t.isSelected?Object.assign(n,{backgroundColor:"#007cba"}):Object.assign(n,{color:"var(--wp-components-color-foreground, #1e1e1e)"}),n},menu:e=>Object.assign(e,{zIndex:2})}},9790:e=>{"use strict";var t="undefined"!=typeof BigInt&&BigInt;e.exports=function(){return"function"==typeof t&&"function"==typeof BigInt&&"bigint"==typeof t(42)&&"bigint"==typeof BigInt(42)}},592:(e,t,n)=>{"use strict";var o=n(655),i=function(){return!!o};i.hasArrayLengthDefineBug=function(){if(!o)return null;try{return 1!==o([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},24:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},4039:(e,t,n)=>{"use strict";var o="undefined"!=typeof Symbol&&Symbol,i=n(1333);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&i()}},1333:e=>{"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 i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9092:(e,t,n)=>{"use strict";var o=n(1333);e.exports=function(){return o()&&!!Symbol.toStringTag}},9957:(e,t,n)=>{"use strict";var o=Function.prototype.call,i=Object.prototype.hasOwnProperty,r=n(6743);e.exports=r.call(o,i)},4146:(e,t,n)=>{"use strict";var o=n(3404),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return o.isMemo(e)?s:a[e.$$typeof]||i}a[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[o.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(g){var i=p(n);i&&i!==g&&e(t,i,o)}var s=u(n);h&&(s=s.concat(h(n)));for(var a=l(t),f=l(n),m=0;m{"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case h:case r:case a:case s:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case f:case l:return e;default:return t}}case i:return t}}}function _(e){return k(e)===h}t.AsyncMode=u,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=l,t.Element=o,t.ForwardRef=d,t.Fragment=r,t.Lazy=m,t.Memo=f,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||k(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return k(e)===d},t.isFragment=function(e){return k(e)===r},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===f},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===a},t.isStrictMode=function(e){return k(e)===s},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===h||e===a||e===s||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=k},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},63:(e,t,n)=>{"use strict";var o=n(9957),i=n(920)(),r=n(9675),s={assert:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`O` is not an object");if("string"!=typeof t)throw new r("`slot` must be a string");if(i.assert(e),!s.has(e,t))throw new r("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`O` is not an object");if("string"!=typeof t)throw new r("`slot` must be a string");var n=i.get(e);return n&&n["$"+t]},has:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`O` is not an object");if("string"!=typeof t)throw new r("`slot` must be a string");var n=i.get(e);return!!n&&o(n,"$"+t)},set:function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`O` is not an object");if("string"!=typeof t)throw new r("`slot` must be a string");var o=i.get(e);o||(o={},i.set(e,o)),o["$"+t]=n}};Object.freeze&&Object.freeze(s),e.exports=s},311:e=>{"use strict";e.exports=function(e,t,n,o,i,r,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,r,s,a],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},7244:(e,t,n)=>{"use strict";var o=n(9092)(),i=n(8075)("Object.prototype.toString"),r=function(e){return!(o&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!r(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},a=function(){return r(arguments)}();r.isLegacyArguments=s,e.exports=a?r:s},4670:(e,t,n)=>{"use strict";var o=n(487),i=n(8075),r=n(453)("%ArrayBuffer%",!0),s=i("ArrayBuffer.prototype.byteLength",!0),a=i("Object.prototype.toString"),l=!!r&&!s&&new r(0).slice,c=!!l&&o(l);e.exports=s||c?function(e){if(!e||"object"!=typeof e)return!1;try{return s?s(e):c(e,0),!0}catch(e){return!1}}:r?function(e){return"[object ArrayBuffer]"===a(e)}:function(e){return!1}},9803:(e,t,n)=>{"use strict";if(n(9790)()){var o=BigInt.prototype.valueOf;e.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!=typeof e&&"function"!=typeof e&&("bigint"==typeof e||function(e){try{return o.call(e),!0}catch(e){}return!1}(e))}}else e.exports=function(e){return!1}},5128:(e,t,n)=>{"use strict";var o=n(8075),i=o("Boolean.prototype.toString"),r=o("Object.prototype.toString"),s=n(9092)();e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(s&&Symbol.toStringTag in e?function(e){try{return i(e),!0}catch(e){return!1}}(e):"[object Boolean]"===r(e))}},9600:e=>{"use strict";var t,n,o=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i((function(){throw 42}),null,t)}catch(e){e!==n&&(i=null)}else i=null;var r=/^\s*class\b/,s=function(e){try{var t=o.call(e);return r.test(t)}catch(e){return!1}},a=function(e){try{return!s(e)&&(o.call(e),!0)}catch(e){return!1}},l=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var d=document.all;l.call(d)===l.call(document.all)&&(h=function(e){if((u||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(h(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==n)return!1}return!s(e)&&a(e)}:function(e){if(h(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return a(e);if(s(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&a(e)}},2120:(e,t,n)=>{"use strict";var o=Date.prototype.getDay,i=Object.prototype.toString,r=n(9092)();e.exports=function(e){return"object"==typeof e&&null!==e&&(r?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Date]"===i.call(e))}},3802:e=>{"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;n||(t=function(e){return!1});var i=n?Map.prototype.has:null,r=o?Set.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e),r)try{r.call(e)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},1703:(e,t,n)=>{"use strict";var o=Number.prototype.toString,i=Object.prototype.toString,r=n(9092)();e.exports=function(e){return"number"==typeof e||"object"==typeof e&&(r?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Number]"===i.call(e))}},4035:(e,t,n)=>{"use strict";var o,i,r,s,a=n(8075),l=n(9092)();if(l){o=a("Object.prototype.hasOwnProperty"),i=a("RegExp.prototype.exec"),r={};var c=function(){throw r};s={toString:c,valueOf:c},"symbol"==typeof Symbol.toPrimitive&&(s[Symbol.toPrimitive]=c)}var u=a("Object.prototype.toString"),h=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!=typeof e)return!1;var t=h(e,"lastIndex");if(!t||!o(t,"value"))return!1;try{i(e,s)}catch(e){return e===r}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===u(e)}},256:e=>{"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;o||(t=function(e){return!1});var i=n?Map.prototype.has:null,r=o?Set.prototype.has:null;t||r||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(r.call(e),i)try{i.call(e)}catch(e){return!0}return e instanceof o}catch(e){}return!1}},7070:(e,t,n)=>{"use strict";var o=n(8075)("SharedArrayBuffer.prototype.byteLength",!0);e.exports=o?function(e){if(!e||"object"!=typeof e)return!1;try{return o(e),!0}catch(e){return!1}}:function(e){return!1}},4761:(e,t,n)=>{"use strict";var o=String.prototype.valueOf,i=Object.prototype.toString,r=n(9092)();e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(r?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object String]"===i.call(e))}},3612:(e,t,n)=>{"use strict";var o=Object.prototype.toString;if(n(4039)()){var i=Symbol.prototype.toString,r=/^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()&&r.test(i.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},7842:e=>{"use strict";var t,n="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,o="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;n||(t=function(e){return!1});var i=n?n.prototype.has:null,r=o?o.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e,i),r)try{r.call(e,r)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},2648:(e,t,n)=>{"use strict";var o=n(453),i=n(8075),r=o("%WeakSet%",!0),s=i("WeakSet.prototype.has",!0);if(s){var a=i("WeakMap.prototype.has",!0);e.exports=function(e){if(!e||"object"!=typeof e)return!1;try{if(s(e,s),a)try{a(e,a)}catch(e){return!0}return e instanceof r}catch(e){}return!1}}else e.exports=function(e){return!1}},4634:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},6762:(e,t,n)=>{var o,i="__lodash_hash_undefined__",r=1/0,s="[object Function]",a="[object GeneratorFunction]",l="[object Symbol]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,h=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,g=/^\[object .+?Constructor\]$/,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,m="object"==typeof self&&self&&self.Object===Object&&self,v=f||m||Function("return this")(),b=Array.prototype,y=Function.prototype,w=Object.prototype,k=v["__core-js_shared__"],_=(o=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",x=y.toString,C=w.hasOwnProperty,S=w.toString,E=RegExp("^"+x.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),A=v.Symbol,T=b.splice,$=D(v,"Map"),M=D(Object,"create"),R=A?A.prototype:void 0,j=R?R.toString:void 0;function O(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},L.prototype.set=function(e,t){var n=this.__data__,o=N(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new O,map:new($||L),string:new O}},I.prototype.delete=function(e){return P(this,e).delete(e)},I.prototype.get=function(e){return P(this,e).get(e)},I.prototype.has=function(e){return P(this,e).has(e)},I.prototype.set=function(e,t){return P(this,e).set(e,t),this};var B=F((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(V(e))return j?j.call(e):"";var t=e+"";return"0"==t&&1/e==-r?"-0":t}(t);var n=[];return h.test(e)&&n.push(""),e.replace(d,(function(e,t,o,i){n.push(o?i.replace(p,"$1"):t||e)})),n}));function z(e){if("string"==typeof e||V(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}function F(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],r=n.cache;if(r.has(i))return r.get(i);var s=e.apply(this,o);return n.cache=r.set(i,s),s};return n.cache=new(F.Cache||I),n}F.Cache=I;var H=Array.isArray;function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function V(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&S.call(e)==l}e.exports=function(e,t,n){var o=null==e?void 0:function(e,t){var n;t=function(e,t){if(H(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!V(e))||u.test(e)||!c.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:H(n=t)?n:B(n);for(var o=0,i=t.length;null!=e&&o{e=n.nmd(e);var o="__lodash_hash_undefined__",i=1,r=2,s=9007199254740991,a="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Function]",g="[object GeneratorFunction]",f="[object Map]",m="[object Number]",v="[object Null]",b="[object Object]",y="[object Promise]",w="[object Proxy]",k="[object RegExp]",_="[object Set]",x="[object String]",C="[object Undefined]",S="[object WeakMap]",E="[object ArrayBuffer]",A="[object DataView]",T=/^\[object .+?Constructor\]$/,$=/^(?:0|[1-9]\d*)$/,M={};M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M[a]=M[l]=M[E]=M[u]=M[A]=M[h]=M[d]=M[p]=M[f]=M[m]=M[b]=M[k]=M[_]=M[x]=M[S]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,j="object"==typeof self&&self&&self.Object===Object&&self,O=R||j||Function("return this")(),L=t&&!t.nodeType&&t,I=L&&e&&!e.nodeType&&e,N=I&&I.exports===L,P=N&&R.process,D=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),B=D&&D.isTypedArray;function z(e,t){for(var n=-1,o=null==e?0:e.length;++nc))return!1;var h=a.get(e);if(h&&a.get(t))return h==t;var d=-1,p=!0,g=n&r?new Ee:void 0;for(a.set(e,t),a.set(t,e);++d-1},Ce.prototype.set=function(e,t){var n=this.__data__,o=Te(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this},Se.prototype.clear=function(){this.size=0,this.__data__={hash:new xe,map:new(he||Ce),string:new xe}},Se.prototype.delete=function(e){var t=Le(this,e).delete(e);return this.size-=t?1:0,t},Se.prototype.get=function(e){return Le(this,e).get(e)},Se.prototype.has=function(e){return Le(this,e).has(e)},Se.prototype.set=function(e,t){var n=Le(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this},Ee.prototype.add=Ee.prototype.push=function(e){return this.__data__.set(e,o),this},Ee.prototype.has=function(e){return this.__data__.has(e)},Ae.prototype.clear=function(){this.__data__=new Ce,this.size=0},Ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ae.prototype.get=function(e){return this.__data__.get(e)},Ae.prototype.has=function(e){return this.__data__.has(e)},Ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ce){var o=n.__data__;if(!he||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Se(o)}return n.set(e,t),this.size=n.size,this};var Ne=ae?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var o=-1,i=null==t?0:t.length,r=0,s=[];++o-1&&e%1==0&&e-1&&e%1==0&&e<=s}function Ge(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qe(e){return null!=e&&"object"==typeof e}var Ke=B?function(e){return function(t){return e(t)}}(B):function(e){return qe(e)&&Ue(e.length)&&!!M[$e(e)]};function Ye(e){return null!=(t=e)&&Ue(t.length)&&!Ve(t)?function(e,t){var n=He(e),o=!n&&Fe(e),i=!n&&!o&&We(e),r=!n&&!o&&!i&&Ke(e),s=n||o||i||r,a=s?function(e,t){for(var n=-1,o=Array(e);++n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FORMAT_PLAIN=t.FORMAT_HTML=t.FORMATS=void 0;var n="html";t.FORMAT_HTML=n;var o="plain";t.FORMAT_PLAIN=o;var i=[n,o];t.FORMATS=i},7418:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LINE_ENDINGS=void 0,t.LINE_ENDINGS={POSIX:"\n",WIN32:"\r\n"}},7308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORTED_PLATFORMS=void 0,t.SUPPORTED_PLATFORMS={DARWIN:"darwin",LINUX:"linux",WIN32:"win32"}},5703:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNIT_WORDS=t.UNIT_WORD=t.UNIT_SENTENCES=t.UNIT_SENTENCE=t.UNIT_PARAGRAPHS=t.UNIT_PARAGRAPH=t.UNITS=void 0;var n="words";t.UNIT_WORDS=n;var o="word";t.UNIT_WORD=o;var i="sentences";t.UNIT_SENTENCES=i;var r="sentence";t.UNIT_SENTENCE=r;var s="paragraphs";t.UNIT_PARAGRAPHS=s;var a="paragraph";t.UNIT_PARAGRAPH=a;var l=[n,o,i,r,s,a];t.UNITS=l},1457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORDS=void 0,t.WORDS=["ad","adipisicing","aliqua","aliquip","amet","anim","aute","cillum","commodo","consectetur","consequat","culpa","cupidatat","deserunt","do","dolor","dolore","duis","ea","eiusmod","elit","enim","esse","est","et","eu","ex","excepteur","exercitation","fugiat","id","in","incididunt","ipsum","irure","labore","laboris","laborum","Lorem","magna","minim","mollit","nisi","non","nostrud","nulla","occaecat","officia","pariatur","proident","qui","quis","reprehenderit","sint","sit","sunt","tempor","ullamco","ut","velit","veniam","voluptate"]},7722:(e,t,n)=>{"use strict";Object.defineProperty(t,"E5",{enumerable:!0,get:function(){return i.default}});n(4364),n(5703),n(1457);var o,i=(o=n(941))&&o.__esModule?o:{default:o}},941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=n(4364),r=n(7418),s=(o=n(51))&&o.__esModule?o:{default:o},a=n(7371);function l(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.FORMAT_PLAIN,o=arguments.length>2?arguments[2]:void 0;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.format=n,this.suffix=o,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"generator",void 0),-1===i.FORMATS.indexOf(n.toLowerCase()))throw new Error("".concat(n," is an invalid format. Please use ").concat(i.FORMATS.join(" or "),"."));this.generator=new s.default(t)}var t,n;return t=e,(n=[{key:"getLineEnding",value:function(){return this.suffix?this.suffix:!(0,a.isReactNative)()&&(0,a.isNode)()&&(0,a.isWindows)()?r.LINE_ENDINGS.WIN32:r.LINE_ENDINGS.POSIX}},{key:"formatString",value:function(e){return this.format===i.FORMAT_HTML?"

".concat(e,"

"):e}},{key:"formatStrings",value:function(e){var t=this;return e.map((function(e){return t.formatString(e)}))}},{key:"generateWords",value:function(e){return this.formatString(this.generator.generateRandomWords(e))}},{key:"generateSentences",value:function(e){return this.formatString(this.generator.generateRandomParagraph(e))}},{key:"generateParagraphs",value:function(e){var t=this.generator.generateRandomParagraph.bind(this.generator);return this.formatStrings((0,a.makeArrayOfStrings)(e,t)).join(this.getLineEnding())}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),u=c;t.default=u},51:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1457),i=n(7371);function r(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.sentencesPerParagraph,i=void 0===n?{max:7,min:3}:n,r=t.wordsPerSentence,a=void 0===r?{max:15,min:5}:r,l=t.random,c=(t.seed,t.words),u=void 0===c?o.WORDS:c;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"sentencesPerParagraph",void 0),s(this,"wordsPerSentence",void 0),s(this,"random",void 0),s(this,"words",void 0),i.min>i.max)throw new Error("Minimum number of sentences per paragraph (".concat(i.min,") cannot exceed maximum (").concat(i.max,")."));if(a.min>a.max)throw new Error("Minimum number of words per sentence (".concat(a.min,") cannot exceed maximum (").concat(a.max,")."));this.sentencesPerParagraph=i,this.words=u,this.wordsPerSentence=a,this.random=l||Math.random}var t,n;return t=e,(n=[{key:"generateRandomInteger",value:function(e,t){return Math.floor(this.random()*(t-e+1)+e)}},{key:"generateRandomWords",value:function(e){var t=this,n=this.wordsPerSentence,o=n.min,r=n.max,s=e||this.generateRandomInteger(o,r);return(0,i.makeArrayOfLength)(s).reduce((function(e,n){return"".concat(t.pluckRandomWord()," ").concat(e)}),"").trim()}},{key:"generateRandomSentence",value:function(e){return"".concat((0,i.capitalize)(this.generateRandomWords(e)),".")}},{key:"generateRandomParagraph",value:function(e){var t=this,n=this.sentencesPerParagraph,o=n.min,r=n.max,s=e||this.generateRandomInteger(o,r);return(0,i.makeArrayOfLength)(s).reduce((function(e,n){return"".concat(t.generateRandomSentence()," ").concat(e)}),"").trim()}},{key:"pluckRandomWord",value:function(){var e=this.words.length-1,t=this.generateRandomInteger(0,e);return this.words[t]}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=a},1589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){var t=e.trim();return t.charAt(0).toUpperCase()+t.slice(1)}},7371:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"isReactNative",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"isWindows",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"makeArrayOfLength",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"makeArrayOfStrings",{enumerable:!0,get:function(){return l.default}});var o=c(n(1589)),i=c(n(4355)),r=c(n(9515)),s=c(n(2830)),a=c(n(1701)),l=c(n(2011));function c(e){return e&&e.__esModule?e:{default:e}}},4355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){return!!e.exports}},9515:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){var e=!1;try{e="ReactNative"===navigator.product}catch(t){e=!1}return e}},2830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(7308);t.default=function(){var e=!1;try{e=process.platform===o.SUPPORTED_PLATFORMS.WIN32}catch(t){e=!1}return e}},1701:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.apply(null,Array(e)).map((function(e,t){return t}))}},2011:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=(o=n(1701))&&o.__esModule?o:{default:o};t.default=function(e,t){return(0,i.default)(e).map((function(){return t()}))}},8859:(e,t,n)=>{var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&l&&"function"==typeof l.get?l.get:null,u=a&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,f=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,b=String.prototype.slice,y=String.prototype.replace,w=String.prototype.toUpperCase,k=String.prototype.toLowerCase,_=RegExp.prototype.test,x=Array.prototype.concat,C=Array.prototype.join,S=Array.prototype.slice,E=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,M="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-E(-e):E(e);if(o!==e){var i=String(o),r=b.call(t,i.length+1);return y.call(i,n,"$&_")+"."+y.call(y.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var I=n(2634),N=I.custom,P=H(N)?N:null;function D(e,t,n){var o="double"===(n.quoteStyle||t)?'"':"'";return o+e+o}function B(e){return y.call(String(e),/"/g,""")}function z(e){return!("[object Array]"!==U(e)||R&&"object"==typeof e&&R in e)}function F(e){return!("[object RegExp]"!==U(e)||R&&"object"==typeof e&&R in e)}function H(e){if(M)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!$)return!1;try{return $.call(e),!0}catch(e){}return!1}e.exports=function e(t,o,i,a){var l=o||{};if(V(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=!V(l,"customInspect")||l.customInspect;if("boolean"!=typeof f&&"symbol"!==f)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return q(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return w?L(t,_):_}if("bigint"==typeof t){var E=String(t)+"n";return w?L(t,E):E}var T=void 0===l.depth?5:l.depth;if(void 0===i&&(i=0),i>=T&&T>0&&"object"==typeof t)return z(t)?"[Array]":"[Object]";var N,W=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=C.call(Array(e.indent+1)," ")}return{base:n,prev:C.call(Array(t+1),n)}}(l,i);if(void 0===a)a=[];else if(G(a,t)>=0)return"[Circular]";function K(t,n,o){if(n&&(a=S.call(a)).push(n),o){var r={depth:l.depth};return V(l,"quoteStyle")&&(r.quoteStyle=l.quoteStyle),e(t,r,i+1,a)}return e(t,l,i+1,a)}if("function"==typeof t&&!F(t)){var ee=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=Q(t,K);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+C.call(te,", ")+" }":"")}if(H(t)){var ne=M?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):$.call(t);return"object"!=typeof t||M?ne:Y(ne)}if((N=t)&&"object"==typeof N&&("undefined"!=typeof HTMLElement&&N instanceof HTMLElement||"string"==typeof N.nodeName&&"function"==typeof N.getAttribute)){for(var oe="<"+k.call(String(t.nodeName)),ie=t.attributes||[],re=0;re"}if(z(t)){if(0===t.length)return"[]";var se=Q(t,K);return W&&!function(e){for(var t=0;t=0)return!1;return!0}(se)?"["+X(se,W)+"]":"[ "+C.call(se,", ")+" ]"}if(function(e){return!("[object Error]"!==U(e)||R&&"object"==typeof e&&R in e)}(t)){var ae=Q(t,K);return"cause"in Error.prototype||!("cause"in t)||j.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+C.call(ae,", ")+" }":"{ ["+String(t)+"] "+C.call(x.call("[cause]: "+K(t.cause),ae),", ")+" }"}if("object"==typeof t&&f){if(P&&"function"==typeof t[P]&&I)return I(t,{depth:T-i});if("symbol"!==f&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!=typeof e)return!1;try{r.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var le=[];return s&&s.call(t,(function(e,n){le.push(K(n,t,!0)+" => "+K(e,t))})),J("Map",r.call(t),le,W)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return u&&u.call(t,(function(e){ce.push(K(e,t))})),J("Set",c.call(t),ce,W)}if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return!("[object Number]"!==U(e)||R&&"object"==typeof e&&R in e)}(t))return Y(K(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return Y(K(A.call(t)));if(function(e){return!("[object Boolean]"!==U(e)||R&&"object"==typeof e&&R in e)}(t))return Y(g.call(t));if(function(e){return!("[object String]"!==U(e)||R&&"object"==typeof e&&R in e)}(t))return Y(K(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==U(e)||R&&"object"==typeof e&&R in e)}(t)&&!F(t)){var ue=Q(t,K),he=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",pe=!he&&R&&Object(t)===t&&R in t?b.call(U(t),8,-1):de?"Object":"",ge=(he||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||de?"["+C.call(x.call([],pe||[],de||[]),": ")+"] ":"");return 0===ue.length?ge+"{}":W?ge+"{"+X(ue,W)+"}":ge+"{ "+C.call(ue,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return W.call(e,t)}function U(e){return f.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return q(b.call(e,0,t.maxStringLength),t)+o}return D(y.call(y.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,K),"single",t)}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Y(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function J(e,t,n,o){return e+" ("+t+") {"+(o?X(n,o):C.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+C.call(e,","+n)+"\n"+t.prev}function Q(e,t){var n=z(e),o=[];if(n){o.length=e.length;for(var i=0;i{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},7653:(e,t,n)=>{"use strict";var o=n(8452),i=n(487),r=n(9211),s=n(9394),a=n(6576),l=i(s(),Object);o(l,{getPolyfill:s,implementation:r,shim:a}),e.exports=l},9394:(e,t,n)=>{"use strict";var o=n(9211);e.exports=function(){return"function"==typeof Object.is?Object.is:o}},6576:(e,t,n)=>{"use strict";var o=n(9394),i=n(8452);e.exports=function(){var e=o();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},8875:(e,t,n)=>{"use strict";var o;if(!Object.keys){var i=Object.prototype.hasOwnProperty,r=Object.prototype.toString,s=n(1093),a=Object.prototype.propertyIsEnumerable,l=!a.call({toString:null},"toString"),c=a.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{h(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();o=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===r.call(e),o=s(e),a=t&&"[object String]"===r.call(e),d=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var g=c&&n;if(a&&e.length>0&&!i.call(e,0))for(var f=0;f0)for(var m=0;m{"use strict";var o=Array.prototype.slice,i=n(1093),r=Object.keys,s=r?function(e){return r(e)}:n(8875),a=Object.keys;s.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?a(o.call(e)):a(e)})}else Object.keys=s;return Object.keys||s},e.exports=s},1093:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),o="[object Arguments]"===n;return o||(o="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),o}},8403:(e,t,n)=>{"use strict";var o=n(1189),i=n(1333)(),r=n(8075),s=Object,a=r("Array.prototype.push"),l=r("Object.prototype.propertyIsEnumerable"),c=i?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=s(e);if(1===arguments.length)return n;for(var r=1;r{"use strict";var o=n(8452),i=n(487),r=n(8403),s=n(1514),a=n(984),l=i.apply(s()),c=function(e,t){return l(Object,arguments)};o(c,{getPolyfill:s,implementation:r,shim:a}),e.exports=c},1514:(e,t,n)=>{"use strict";var o=n(8403);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},o=0;o{"use strict";var o=n(8452),i=n(1514);e.exports=function(){var e=i();return o(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},6578:e=>{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},2694:(e,t,n)=>{"use strict";var o=n(6925);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,r,s){if(s!==o){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 t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:i};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4765:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:o}},5373:(e,t,n)=>{"use strict";var o=n(8636),i=n(2642),r=n(4765);e.exports={formats:r,parse:i,stringify:o}},2642:(e,t,n)=>{"use strict";var o=n(7720),i=Object.prototype.hasOwnProperty,r=Array.isArray,s={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,o){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(r),c=a?r.slice(0,a.index):r,u=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&null!==(a=s.exec(r))&&h=0;--r){var s,a=e[r];if("[]"===a&&n.parseArrays)s=[].concat(i);else{s=n.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(s=[])[u]=i:"__proto__"!==c&&(s[c]=i):s={0:i}}i=s}return i}(u,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return s;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?s.charset:e.charset;return{allowDots:void 0===e.allowDots?s.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:s.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:s.comma,decoder:"function"==typeof e.decoder?e.decoder:s.decoder,delimiter:"string"==typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:s.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,h),p=-1,g=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(m=r(m)?[m]:m),i.call(c,f)?c[f]=o.combine(c[f],m):c[f]=m}return c}(e,n):e,h=n.plainObjects?Object.create(null):{},d=Object.keys(u),p=0;p{"use strict";var o=n(920),i=n(7720),r=n(4765),s=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},h=Date.prototype.toISOString,d=r.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:r.formatters[d],indices:!1,serializeDate:function(e){return h.call(e)},skipNulls:!1,strictNullHandling:!1},g={},f=function e(t,n,r,s,a,c,h,d,f,m,v,b,y,w,k,_){for(var x,C=t,S=_,E=0,A=!1;void 0!==(S=S.get(g))&&!A;){var T=S.get(t);if(E+=1,void 0!==T){if(T===E)throw new RangeError("Cyclic object value");A=!0}void 0===S.get(g)&&(E=0)}if("function"==typeof d?C=d(n,C):C instanceof Date?C=v(C):"comma"===r&&l(C)&&(C=i.maybeMap(C,(function(e){return e instanceof Date?v(e):e}))),null===C){if(a)return h&&!w?h(n,p.encoder,k,"key",b):n;C=""}if("string"==typeof(x=C)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||i.isBuffer(C))return h?[y(w?n:h(n,p.encoder,k,"key",b))+"="+y(h(C,p.encoder,k,"value",b))]:[y(n)+"="+y(String(C))];var $,M=[];if(void 0===C)return M;if("comma"===r&&l(C))w&&h&&(C=i.maybeMap(C,h)),$=[{value:C.length>0?C.join(",")||null:void 0}];else if(l(d))$=d;else{var R=Object.keys(C);$=f?R.sort(f):R}for(var j=s&&l(C)&&1===C.length?n+"[]":n,O=0;O<$.length;++O){var L=$[O],I="object"==typeof L&&void 0!==L.value?L.value:C[L];if(!c||null!==I){var N=l(C)?"function"==typeof r?r(j,L):j:j+(m?"."+L:"["+L+"]");_.set(t,E);var P=o();P.set(g,_),u(M,e(I,N,r,s,a,c,"comma"===r&&w&&l(C)?null:h,d,f,m,v,b,y,w,k,P))}}return M};e.exports=function(e,t){var n,i=e,c=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=r.default;if(void 0!==e.format){if(!s.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o=r.formatters[n],i=p.filter;return("function"==typeof e.filter||l(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var h,d=[];if("object"!=typeof i||null===i)return"";h=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var g=a[h];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===g&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var v=o(),b=0;b0?k+w:""}},7720:(e,t,n)=>{"use strict";var o=n(4765),i=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var o=[],i=0;i=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||r===o.RFC1738&&(40===u||41===u)?l+=a.charAt(c):u<128?l+=s[u]:u<2048?l+=s[192|u>>6]+s[128|63&u]:u<55296||u>=57344?l+=s[224|u>>12]+s[128|u>>6&63]+s[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&a.charCodeAt(c)),l+=s[240|u>>18]+s[128|u>>12&63]+s[128|u>>6&63]+s[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(r(e)){for(var n=[],o=0;o0&&this.handleMarkers(_);var E=this.editor.$options;u.editorOptions.forEach((function(t){E.hasOwnProperty(t)?e.editor.setOption(t,e.props[t]):e.props[t]&&console.warn("ReactAce: editor option ".concat(t," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))})),this.handleOptions(this.props),Array.isArray(w)&&w.forEach((function(t){"string"==typeof t.exec?e.editor.commands.bindKey(t.bindKey,t.exec):e.editor.commands.addCommand(t)})),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),n&&(this.refEditor.className+=" "+n),y&&y(this.editor),this.editor.resize(),s&&this.editor.focus()},t.prototype.componentDidUpdate=function(e){for(var t=e,n=this.props,o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAceInstance=t.debounce=t.editorEvents=t.editorOptions=void 0,t.editorOptions=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"],t.editorEvents=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"],t.getAceInstance=function(){var e;return"undefined"==typeof window?(n.g.window={},e=n(952),delete n.g.window):window.ace?(e=window.ace).acequire=window.ace.require||window.ace.acequire:e=n(952),e},t.debounce=function(e,t){var n=null;return function(){var o=this,i=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(o,i)}),t)}}},470:(e,t,n)=>{"use strict";var o=n(5549);n(3091).default,n(4038).default,t.Ay=o.default},4038:function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n0&&e.handleMarkers(k,t),o=0;o{"use strict";var o=n(3206),i=n(9675),r=Object;e.exports=o((function(){if(null==this||this!==r(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e}),"get flags",!0)},3970:(e,t,n)=>{"use strict";var o=n(8452),i=n(487),r=n(7675),s=n(5330),a=n(3984),l=i(s());o(l,{getPolyfill:s,implementation:r,shim:a}),e.exports=l},5330:(e,t,n)=>{"use strict";var o=n(7675),i=n(8452).supportsDescriptors,r=Object.getOwnPropertyDescriptor;e.exports=function(){if(i&&"gim"===/a/gim.flags){var e=r(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return o}},3984:(e,t,n)=>{"use strict";var o=n(8452).supportsDescriptors,i=n(5330),r=Object.getOwnPropertyDescriptor,s=Object.defineProperty,a=TypeError,l=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!o||!l)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=i(),t=l(c),n=r(t,"flags");return n&&n.get===e||s(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},2491:(e,t,n)=>{var o,i,r;r=function(){var e,t,n=document,o=n.getElementsByTagName("head")[0],i=!1,r="push",s="readyState",a="onreadystatechange",l={},c={},u={},h={};function d(e,t){for(var n=0,o=e.length;n{"use strict";var o=n(453),i=n(41),r=n(592)(),s=n(5795),a=n(9675),l=o("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,c=!0;if("length"in e&&s){var u=s(e,"length");u&&!u.configurable&&(o=!1),u&&!u.writable&&(c=!1)}return(o||c||!n)&&(r?i(e,"length",t,!0,!0):i(e,"length",t)),e}},3206:(e,t,n)=>{"use strict";var o=n(41),i=n(592)(),r=n(4462).functionsHaveConfigurableNames(),s=n(9675);e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!r||(i?o(e,"name",t,!0,!0):o(e,"name",t)),e}},4217:(e,t,n)=>{e.exports=n(139)},139:(e,t)=>{function n(e){var t=0;if(0==e.length)return t;for(var n=0;n=t;)n=e%t,e=Math.floor(e/t),o.push(s(n));e>0&&o.push(s(e));for(var a=o.length-1;a>=0;a--)i+=o[a];return r+i}t.bitwise=n,t.binaryTransfer=o,t.unique=function(e){return o(n(e),61).replace("-","Z")},t.random=function(e){for(var t="",n=e||8,o=0;o{"use strict";var o=n(453),i=n(8075),r=n(8859),s=n(9675),a=o("%WeakMap%",!0),l=o("%Map%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),g=i("Map.prototype.has",!0),f=function(e,t){for(var n,o=e;null!==(n=o.next);o=n)if(n.key===t)return o.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,o={assert:function(e){if(!o.has(e))throw new s("Side channel does not contain "+r(e))},get:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(e)return c(e,o)}else if(l){if(t)return d(t,o)}else if(n)return function(e,t){var n=f(e,t);return n&&n.value}(n,o)},has:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(e)return h(e,o)}else if(l){if(t)return g(t,o)}else if(n)return function(e,t){return!!f(e,t)}(n,o);return!1},set:function(o,i){a&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new a),u(e,o,i)):l?(t||(t=new l),p(t,o,i)):(n||(n={key:{},next:null}),function(e,t,n){var o=f(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(n,o,i))}};return o}},2495:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(n,o){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(o="string"==typeof o?{replacement:o}:o||{}).locale]||{},r=void 0===o.replacement?"-":o.replacement,s=void 0===o.trim||o.trim,a=n.normalize().split("").reduce((function(t,n){var s=i[n];return void 0===s&&(s=e[n]),void 0===s&&(s=n),s===r&&(s=" "),t+s.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return o.strict&&(a=a.replace(/[^A-Za-z0-9\s]/g,"")),s&&(a=a.trim()),a=a.replace(/\s+/g,r),o.lower&&(a=a.toLowerCase()),a}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},1820:(e,t,n)=>{"use strict";var o=n(63),i=SyntaxError,r="object"==typeof StopIteration?StopIteration:null;e.exports=function(e){if(!r)throw new i("this environment lacks StopIteration");o.set(e,"[[Done]]",!1);var t={next:function(){var e=o.get(this,"[[Iterator]]"),t=o.get(e,"[[Done]]");try{return{done:t,value:t?void 0:e.next()}}catch(t){if(o.set(e,"[[Done]]",!0),t!==r)throw t;return{done:!0,value:void 0}}}};return o.set(t,"[[Iterator]]",e),t}},7098:function(e,t,n){"use strict";var o;!function(i){if("function"!=typeof r){var r=function(e){return e};r.nonNative=!0}const s=r("plaintext"),a=r("html"),l=r("comment"),c=/<(\w*)>/g,u=/<\/?([^\s\/>]+)/;function h(e,t,n){return p(e=e||"",d(t=t||[],n=n||""))}function d(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let n;for(;n=c.exec(e);)t.add(n[1])}else r.nonNative||"function"!=typeof e[r.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:s,tag_buffer:"",depth:0,in_quote_char:""}}function p(e,t){if("string"!=typeof e)throw new TypeError("'html' parameter must be a string");let n=t.allowable_tags,o=t.tag_replacement,i=t.state,r=t.tag_buffer,c=t.depth,u=t.in_quote_char,h="";for(let t=0,d=e.length;t":if(u)break;if(c){c--;break}u="",i=s,r+=">",n.has(g(r))?h+=r:h+=o,r="";break;case'"':case"'":u=d===u?"":u||d,r+=d;break;case"-":""===d?("--"==r.slice(-2)&&(i=s),r=""):r+=d)}return t.state=i,t.tag_buffer=r,t.depth=c,t.in_quote_char=u,h}function g(e){let t=u.exec(e);return t?t[1].toLowerCase():null}h.init_streaming_mode=function(e,t){let n=d(e=e||[],t=t||"");return function(e){return p(e||"",n)}},void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o)}()},8973:(e,t,n)=>{"use strict";t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:[],p=a.displayName||a.name||"Component",g=s.getType(a).propTypes,f=s.isReactComponent(a),m=Object.keys(l),v=["valueLink","checkedLink"].concat(m.map(s.defaultKey));h=s.uncontrolledPropTypes(l,g,p),(0,r.default)(f||!d.length,"[uncontrollable] stateless function components cannot pass through methods because they have no associated instances. Check component: "+p+", attempting to pass through methods: "+d.join(", ")),d=s.transform(d,(function(e,t){e[t]=function(){var e;return(e=this.refs.inner)[t].apply(e,arguments)}}),{});var b=(u=c=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.shouldComponentUpdate=function(){for(var t=arguments.length,n=Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{}),t)},b;function y(e,n){var o=s.getLinkName(e),i=this.props[l[e]];o&&w(this.props,o)&&!i&&(i=this.props[o].requestChange);for(var r=arguments.length,a=Array(r>2?r-2:0),c=2;c{"use strict";t.__esModule=!0;var o,i=(o=n(8973))&&o.__esModule?o:{default:o};t.default=(0,i.default)({shouldComponentUpdate:function(){return!this._notifying}},(function(e,t,n,o,i){n&&(e._notifying=!0,n.call.apply(n,[e,o].concat(i)),e._notifying=!1),e._values[t]=o,e.unmounted||e.forceUpdate()})),e.exports=t.default},2644:(e,t,n)=>{"use strict";t.__esModule=!0,t.version=void 0,t.uncontrolledPropTypes=function(e,t,n){return{}},t.getType=function(e){return r[0]>=15||0===r[0]&&r[1]>=13?e:e.type},t.getValue=function(e,t){var n=a(t);return n&&!s(e,t)&&s(e,n)?e[n].value:e[t]},t.getLinkName=a,t.defaultKey=function(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)},t.chain=function(e,t,n){return function(){for(var o=arguments.length,i=Array(o),r=0;r{"use strict";var o=n(4761),i=n(1703),r=n(5128),s=n(3612),a=n(9803);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:o(e)?"String":i(e)?"Number":r(e)?"Boolean":s(e)?"Symbol":a(e)?"BigInt":void 0}},5767:(e,t,n)=>{"use strict";var o=n(2682),i=n(9209),r=n(487),s=n(8075),a=n(5795),l=s("Object.prototype.toString"),c=n(9092)(),u="undefined"==typeof globalThis?n.g:globalThis,h=i(),d=s("String.prototype.slice"),p=Object.getPrototypeOf,g=s("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1?t:"Object"===t&&function(e){var t=!1;return o(f,(function(n,o){if(!t)try{n(e),t=d(o,1)}catch(e){}})),t}(e)}return a?function(e){var t=!1;return o(f,(function(n,o){if(!t)try{"$"+n(e)===o&&(t=d(o,1))}catch(e){}})),t}(e):null}},1609:e=>{"use strict";e.exports=window.React},2634:()=>{},9209:(e,t,n)=>{"use strict";var o=n(6578),i="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t{var n;!function(){"use strict";var o=function(){function e(){}function t(e,t){for(var n=t.length,o=0;o{var n;!function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e="",t=0;t{"use strict";var o=n(7244),i=n(1820);if(n(4039)()||n(1333)()){var r=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[r]?e[r]():o(e)?Array.prototype[r].call(e):void 0}}else{var s=n(4634),a=n(4761),l=n(453),c=l("%Map%",!0),u=l("%Set%",!0),h=n(8075),d=h("Array.prototype.push"),p=h("String.prototype.charCodeAt"),g=h("String.prototype.slice"),f=function(e){var t=0;return{next:function(){var n,o=t>=e.length;return o||(n=e[t],t+=1),{done:o,value:n}}}},m=function(e,t){if(s(e)||o(e))return f(e);if(a(e)){var n=0;return{next:function(){var t=function(e,t){if(t+1>=e.length)return t+1;var n=p(e,t);if(n<55296||n>56319)return t+1;var o=p(e,t+1);return o<56320||o>57343?t+1:t+2}(e,n),o=g(e,n,t);return n=t,{done:t>e.length,value:o}}}}return t&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(c||u){var v=n(3802),b=n(256),y=h("Map.prototype.forEach",!0),w=h("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var k=h("Map.prototype.iterator",!0),_=h("Set.prototype.iterator",!0);var x=h("Map.prototype.@@iterator",!0)||h("Map.prototype._es6-shim iterator_",!0),C=h("Set.prototype.@@iterator",!0)||h("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(v(e)){if(k)return i(k(e));if(x)return x(e);if(y){var t=[];return y(e,(function(e,n){d(t,[n,e])})),f(t)}}if(b(e)){if(_)return i(_(e));if(C)return C(e);if(w){var n=[];return w(e,(function(e){d(n,e)})),f(n)}}}(e)||m(e)}}else e.exports=function(e){if(null!=e)return m(e,!0)}}},7638:(e,t,n)=>{"use strict";var o=n(3802),i=n(256),r=n(7842),s=n(2648);e.exports=function(e){if(e&&"object"==typeof e){if(o(e))return"Map";if(i(e))return"Set";if(r(e))return"WeakMap";if(s(e))return"WeakSet"}return!1}}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.amdD=function(){throw new Error("define cannot be used indirect")},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var i=o.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=o[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"})(),(()=>{"use strict";var e={};n.r(e),n.d(e,{setDevice:()=>Je});var t={};n.r(t),n.d(t,{getDevice:()=>Xe});var o={};n.r(o),n.d(o,{addClass:()=>st,getActiveClass:()=>it,hasClass:()=>lt,removeClass:()=>at,replaceClass:()=>rt});var i={};n.r(i),n.d(i,{maybeDecode:()=>gt,maybeEncode:()=>pt});var r={};n.r(r),n.d(r,{getSpecificPropsFromStyles:()=>Gr,getStyle:()=>Hr,getStylesToReset:()=>Ur,getUpdatedStyles:()=>Vr,hasStyle:()=>Wr,prepareStyles:()=>Fr});var s={};n.r(s),n.d(s,{get:()=>qr});var a={};n.r(a),n.d(a,{get:()=>es});var l={};n.r(l),n.d(l,{DEFAULT:()=>gg,EasingBezierEditor:()=>vg,EasingControls:()=>bg,PRESETS:()=>fg});var c={};n.r(c),n.d(c,{DEFAULT:()=>kg,PRESETS:()=>_g,SpringControls:()=>Ag,SpringEditor:()=>Eg});var u={};n.r(u),n.d(u,{get:()=>Dg});var h={};n.r(h),n.d(h,{apiFetch:()=>zg,setImageTagData:()=>Fg});var d={};n.r(d),n.d(d,{API_FETCH:()=>Vg});var p={};n.r(p),n.d(p,{getImageTagData:()=>Kg});var g={};n.r(g),n.d(g,{getImageTagData:()=>Yg});var f={};n.r(f),n.d(f,{apiFetch:()=>Jg,setTemplateData:()=>Qg,setTemplates:()=>Xg});var m={};n.r(m),n.d(m,{API_FETCH:()=>ef});var v={};n.r(v),n.d(v,{getTemplateData:()=>nf,getTemplates:()=>tf});var b={};n.r(b),n.d(b,{getTemplateData:()=>rf,getTemplates:()=>of});var y={};n.r(y),n.d(y,{apiFetch:()=>af,setCustomCode:()=>lf,updateCustomCode:()=>cf});var w={};n.r(w),n.d(w,{API_FETCH:()=>uf});var k={};n.r(k),n.d(k,{getCustomCode:()=>hf});var _={};n.r(_),n.d(_,{getCustomCode:()=>df,updateCustomCode:()=>pf});var x={};n.r(x),n.d(x,{apiFetch:()=>ff,setCustomizerData:()=>mf});var C={};n.r(C),n.d(C,{API_FETCH:()=>vf});var S={};n.r(S),n.d(S,{getCustomizerData:()=>bf});var E={};n.r(E),n.d(E,{getCustomizerData:()=>yf});var A={};n.r(A),n.d(A,{apiFetch:()=>kf,setCustomFonts:()=>_f,updateCustomFonts:()=>xf});var T={};n.r(T),n.d(T,{API_FETCH:()=>Cf});var $={};n.r($),n.d($,{getCustomFonts:()=>Sf});var M={};n.r(M),n.d(M,{getCustomFonts:()=>Ef,updateCustomFonts:()=>Af});var R={};n.r(R),n.d(R,{apiFetch:()=>$f,setCustomTypography:()=>Mf,updateCustomTypography:()=>Rf});var j={};n.r(j),n.d(j,{API_FETCH:()=>jf});var O={};n.r(O),n.d(O,{getCustomTypography:()=>Of});var L={};n.r(L),n.d(L,{getCustomTypography:()=>Lf,updateCustomTypography:()=>If});var I={};n.r(I),n.d(I,{apiFetch:()=>Pf,setInstagramFeed:()=>Df,setInstagramProfile:()=>Bf});var N={};n.r(N),n.d(N,{API_FETCH:()=>zf});var P={};n.r(P),n.d(P,{getInstagramFeed:()=>Hf,getInstagramProfile:()=>Wf});var D={};n.r(D),n.d(D,{getInstagramFeed:()=>Vf,getInstagramProfile:()=>Uf});var B={};n.r(B),n.d(B,{apiFetch:()=>qf,setTwitterFeed:()=>Kf,setTwitterProfile:()=>Yf});var z={};n.r(z),n.d(z,{API_FETCH:()=>Zf});var F={};n.r(F),n.d(F,{getTwitterFeed:()=>Xf,getTwitterProfile:()=>Qf});var H={};n.r(H),n.d(H,{getTwitterFeed:()=>em,getTwitterProfile:()=>tm});var W={};n.r(W),n.d(W,{apiFetch:()=>om,setTOC:()=>im});var V={};n.r(V),n.d(V,{API_FETCH:()=>rm});var U={};n.r(U),n.d(U,{getTOC:()=>am});var G={};n.r(G),n.d(G,{getTOC:()=>lm});var q={};n.r(q),n.d(q,{metadata:()=>hm,name:()=>fm,settings:()=>mm});var K={};n.r(K),n.d(K,{metadata:()=>vm,name:()=>km,settings:()=>_m});var Y={};n.r(Y),n.d(Y,{metadata:()=>xm,name:()=>Em,settings:()=>Am});var Z={};n.r(Z),n.d(Z,{metadata:()=>Tm,name:()=>Lm,settings:()=>Im});var J={};n.r(J),n.d(J,{metadata:()=>Nm,name:()=>Fm,settings:()=>Hm});var X={};n.r(X),n.d(X,{metadata:()=>Wm,name:()=>Ym,settings:()=>Zm});var Q={};n.r(Q),n.d(Q,{metadata:()=>Jm,name:()=>Qm,settings:()=>ev});var ee={};n.r(ee),n.d(ee,{metadata:()=>tv,name:()=>ov,settings:()=>iv});var te={};n.r(te),n.d(te,{metadata:()=>rv,name:()=>hv,settings:()=>dv});var ne={};n.r(ne),n.d(ne,{metadata:()=>pv,name:()=>bv,settings:()=>yv});var oe={};n.r(oe),n.d(oe,{metadata:()=>wv,name:()=>xv,settings:()=>Cv});var ie={};n.r(ie),n.d(ie,{metadata:()=>Sv,name:()=>Nv,settings:()=>Pv});var re={};n.r(re),n.d(re,{metadata:()=>Dv,name:()=>Vv,settings:()=>Uv});var se={};n.r(se),n.d(se,{metadata:()=>Gv,name:()=>qv,settings:()=>Kv});var ae={};n.r(ae),n.d(ae,{metadata:()=>Yv,name:()=>Zv,settings:()=>Jv});var le={};n.r(le),n.d(le,{metadata:()=>Xv,name:()=>Qv,settings:()=>eb});var ce={};n.r(ce),n.d(ce,{metadata:()=>tb,name:()=>nb,settings:()=>ob});var ue={};n.r(ue),n.d(ue,{metadata:()=>ib,name:()=>rb,settings:()=>sb});var he={};n.r(he),n.d(he,{metadata:()=>ab,name:()=>lb,settings:()=>cb});var de={};n.r(de),n.d(de,{metadata:()=>ub,name:()=>hb,settings:()=>db});var pe={};n.r(pe),n.d(pe,{metadata:()=>pb,name:()=>gb,settings:()=>fb});var ge={};n.r(ge),n.d(ge,{metadata:()=>mb,name:()=>yb,settings:()=>wb});var fe={};n.r(fe),n.d(fe,{metadata:()=>kb,name:()=>_b,settings:()=>xb});var me={};n.r(me),n.d(me,{metadata:()=>Cb,name:()=>Sb,settings:()=>Eb});var ve={};n.r(ve),n.d(ve,{metadata:()=>Ab,name:()=>Tb,settings:()=>$b});var be={};n.r(be),n.d(be,{metadata:()=>Mb,name:()=>yy,settings:()=>wy});var ye={};n.r(ye),n.d(ye,{metadata:()=>ky,name:()=>My,settings:()=>Ry});var we={};n.r(we),n.d(we,{metadata:()=>jy,name:()=>iw,settings:()=>rw});var ke={};n.r(ke),n.d(ke,{metadata:()=>hw,name:()=>fw,settings:()=>mw,withClasses:()=>vw});var _e={};n.r(_e),n.d(_e,{metadata:()=>bw,name:()=>xw,settings:()=>Cw});var xe={};n.r(xe),n.d(xe,{metadata:()=>Sw,name:()=>jw,settings:()=>Ow});var Ce={};n.r(Ce),n.d(Ce,{metadata:()=>Lw,name:()=>Bw,settings:()=>zw});var Se={};n.r(Se),n.d(Se,{metadata:()=>Fw,name:()=>Vw,settings:()=>Uw});var Ee={};n.r(Ee),n.d(Ee,{metadata:()=>Gw,name:()=>qw,settings:()=>Kw});var Ae={};n.r(Ae),n.d(Ae,{metadata:()=>Yw,name:()=>Qw,settings:()=>ek});var Te={};n.r(Te),n.d(Te,{decode:()=>ik,encode:()=>ak,format:()=>lk,parse:()=>kk});var $e={};n.r($e),n.d($e,{Any:()=>xk,Cc:()=>Ck,Cf:()=>Sk,P:()=>_k,Z:()=>Ek});var Me={};n.r(Me),n.d(Me,{arrayReplaceAt:()=>Xk,assign:()=>Jk,escapeHtml:()=>u_,escapeRE:()=>d_,fromCodePoint:()=>e_,has:()=>Zk,isMdAsciiPunct:()=>m_,isPunctChar:()=>f_,isSpace:()=>p_,isString:()=>Kk,isValidEntityCode:()=>Qk,isWhiteSpace:()=>g_,lib:()=>b_,normalizeReference:()=>v_,unescapeAll:()=>r_,unescapeMd:()=>i_});var Re={};n.r(Re),n.d(Re,{parseLinkDestination:()=>w_,parseLinkLabel:()=>y_,parseLinkTitle:()=>k_});var je={};n.r(je),n.d(je,{metadata:()=>tk,name:()=>pC,settings:()=>gC});var Oe={};n.r(Oe),n.d(Oe,{metadata:()=>fC,name:()=>bC,settings:()=>yC});var Le={};n.r(Le),n.d(Le,{metadata:()=>wC,name:()=>_C,settings:()=>xC});var Ie={};n.r(Ie),n.d(Ie,{metadata:()=>CC,name:()=>EC,settings:()=>AC});var Ne={};n.r(Ne),n.d(Ne,{metadata:()=>TC,name:()=>IC,settings:()=>NC});var Pe={};n.r(Pe),n.d(Pe,{metadata:()=>PC,name:()=>BC,settings:()=>zC});var De={};n.r(De),n.d(De,{metadata:()=>FC,name:()=>KC,settings:()=>YC});var Be={};n.r(Be),n.d(Be,{metadata:()=>ZC,name:()=>eS,settings:()=>tS});var ze={};n.r(ze),n.d(ze,{metadata:()=>nS,name:()=>cS,settings:()=>uS});var Fe={};n.r(Fe),n.d(Fe,{metadata:()=>hS,name:()=>dS,settings:()=>pS});var He={};n.r(He),n.d(He,{metadata:()=>gS,name:()=>CS,settings:()=>SS});var We={};n.r(We),n.d(We,{metadata:()=>ES,name:()=>TS,settings:()=>$S});var Ve={};n.r(Ve),n.d(Ve,{name:()=>RS,settings:()=>jS});var Ue={};n.r(Ue),n.d(Ue,{name:()=>OS,settings:()=>LS});var Ge={};n.r(Ge),n.d(Ge,{name:()=>DS,settings:()=>BS});var qe={};n.r(qe),n.d(qe,{name:()=>zS,settings:()=>FS});var Ke=n(1609),Ye=n.n(Ke);const Ze=window.wp.data;function Je(e){return{type:"SET_DEVICE",device:e}}function Xe(e){return e.device}const Qe=(0,Ze.createReduxStore)("ghostkit/responsive",{reducer:function(e={device:""},t={}){return"SET_DEVICE"===t.type&&e.device!==t.device?{...e,device:t.device}:e},selectors:t,actions:e});function et(e,t,n){const o=e[t];return e.splice(t,1),e.splice(n,0,o),e}function tt(e){return"string"!=typeof e?e:(e=e.replace(/[a-z]([A-Z])+/g,(e=>`${e[0]}-${e.substring(1)}`)))&&e.toLowerCase?e.toLowerCase():e}(0,Ze.register)(Qe);const nt=window.wp.tokenList;var ot=n.n(nt);function it(e,t,n){const o=new(ot())(e);for(const e of o.values())if(-1!==e.indexOf(`${t}-`))return n?e.replace(`${t}-`,""):e;return""}function rt(e,t,n){const o=new(ot())(e),i=new RegExp(`${t}-`);for(const e of o.values())i.test(e)&&o.remove(e);return n&&o.add(`${t}-${n}`),o.value}function st(e,t){const n=new(ot())(e);return t&&n.add(t),n.value}function at(e,t){const n=new(ot())(e);for(const e of n.values())t===e&&n.remove(e);return n.value}function lt(e,t){const n=new(ot())(e);for(const e of n.values())if(t===e)return!0;return!1}function ct(e){return"object"!=typeof e?e:Object.keys(e).reduce((function(t,n){const o="object"==typeof e[n],i=o?ct(e[n]):e[n],r=o&&!Object.keys(i).length;return void 0===i||r?t:Object.assign(t,{[n]:i})}),{})}function ut(e){return"string"!=typeof e?e:e.split(/[.,/ \-_]/).map((e=>e&&e.length?e.replace(e[0],e[0].toUpperCase()):e)).join(" ")}const ht={},dt={};function pt(e){if(ht[e])return ht[e];let t={};if("object"==typeof e)return Object.keys(e).forEach((n=>{t[pt(n)]=pt(e[n])})),t;if(t=e,"string"==typeof t)try{t=t.replace(/--/gm,"_u002d__u002d_"),t=encodeURIComponent(t)}catch(e){console.warn(e)}return ht[e]=t,t}function gt(e){if(dt[e])return dt[e];let t={};if(Array.isArray(e)&&(t=[]),"object"==typeof e)return Object.keys(e).forEach((n=>{t[gt(n)]=gt(e[n])})),t;if(t=e,"string"==typeof t)try{t=decodeURIComponent(t),t=t.replace(/_u002d__u002d_/gm,"--")}catch(e){console.warn(e)}return dt[e]=t,t}var ft,mt,vt,bt,yt,wt,kt,_t,xt,Ct,St,Et,At,Tt,$t,Mt,Rt,jt,Ot,Lt,It,Nt,Pt,Dt,Bt,zt,Ft,Ht,Wt,Vt,Ut,Gt,qt,Kt,Yt,Zt,Jt,Xt,Qt,en,tn,nn,on,rn,sn,an,ln,cn,un,hn,dn,pn,gn,fn,mn,vn,bn,yn,wn,kn;function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;tt!==e))}var Ar=n(2495),Tr=n.n(Ar),$r=n(7098),Mr=n.n($r);const{getBlocks:Rr}=(0,Ze.select)("core/block-editor");function jr(e,t="none"){let n=[];return"none"===t&&(t=Rr()),t.forEach((t=>{t.clientId!==e&&t.attributes&&(t.attributes.anchor&&n.push(t.attributes.anchor),"ghostkit/tabs-tab-v2"!==t.name&&"ghostkit/accordion-item"!==t.name||!t.attributes.slug||n.push(t.attributes.slug)),t.innerBlocks&&t.innerBlocks.length&&(n=[...n,...jr(e,t.innerBlocks)])})),n}function Or(e,t){let n=!0;return t.forEach((t=>{t===e&&(n=!1)})),n}function Lr(e){return Tr()(Mr()(e),{replacement:"-",remove:/[*_+~()'"!?/\-—–−:@^|&#.,;%<>{}]/g,lower:!0})}function Ir(e,t){let n="",o=0;const i=jr(t);for(;!n||!Or(n,i);)n&&(o+=1),n=`${Lr(e)}${o?`-${o}`:""}`;return n}function Nr(e){return e&&"object"==typeof e&&!Array.isArray(e)}function Pr(e,...t){if(!t.length)return e;const n=t.shift();return Nr(e)&&Nr(n)&&Object.keys(n).forEach((t=>{Nr(n[t])?(e[t]||Object.assign(e,{[t]:{}}),Pr(e[t],n[t])):Object.assign(e,{[t]:n[t]})})),Pr(e,...t)}function Dr(e,t=1){const n=10**t;return Math.round(e*n)/n}function Br(e){return Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{})}const zr={...window.ghostkitVariables.media_sizes};function Fr(e){return gt(e)}function Hr(e,t,n=!1,o=!1){let i,r=Fr(e);return n&&(r=r?.[`media_${n}`]),o&&(r=r?.[o]),void 0!==r?.[t]&&(i=r?.[t]),i}function Wr(e,t,n=!1,o=!1){return void 0!==Hr(e,t,n,o)}function Vr(e,t,n=!1,o=!1){let i;return o&&(t={[o]:t}),n?(i={},i[`media_${n}`]=t):i=t,i=Pr({media_xl:{},media_lg:{},media_md:{},media_sm:{}},gt(e),i),pt(ct(i))}function Ur(e,t=!1,n=[""]){const o={};return n.forEach((e=>{e&&(o[e]={})})),["",...t?Object.keys(zr):[]].forEach((t=>{t&&(o[`media_${t}`]={},n.forEach((e=>{e&&(o[`media_${t}`][e]={})}))),e.forEach((e=>{n.forEach((n=>{t?n?o[`media_${t}`][n][e]=void 0:o[`media_${t}`][e]=void 0:n?o[n][e]=void 0:o[e]=void 0}))}))})),o}function Gr(e,t,n=!1,o=[""]){const i=Ur(t,n,o),r=gt(e||{});return["",...n?Object.keys(zr):[]].forEach((e=>{t.forEach((t=>{o.forEach((n=>{e?n?void 0!==r?.[`media_${e}`]?.[n]?.[t]&&(i[`media_${e}`][n][t]=r[`media_${e}`][n][t]):void 0!==r?.[`media_${e}`]?.[t]&&(i[`media_${e}`][t]=r[`media_${e}`][t]):n?void 0!==r?.[n]?.[t]&&(i[n][t]=r[n][t]):void 0!==r?.[t]&&(i[t]=r[t])}))}))})),pt(i)}function qr(){return{arrayMove:et,camelCaseToDash:tt,classesReplacer:o,compactObject:ct,dashCaseToTitle:ut,encodeDecode:i,getIcon:Cr,getParents:Sr,getSiblings:Er,getSlug:Lr,getUniqueSlug:Ir,merge:Pr,round:Dr,sortObject:Br,styles:r}}const Kr=(0,Ze.createReduxStore)("ghostkit/base/utils",{selectors:s,reducer:e=>e});(0,Ze.register)(Kr);const{ghostkitVariables:Yr}=window,Zr={...Yr.media_sizes};function Jr(){const{device:e}=(0,Ze.useSelect)((e=>{const{getDevice:t}=e("ghostkit/responsive");return{device:t()}})),{setDeviceType:t}=(0,Ze.useDispatch)("core/editor"),{setDevice:n}=(0,Ze.useDispatch)("ghostkit/responsive");return{device:e,setDevice:(...e)=>{n(...e),t("Desktop")},allDevices:Zr}}const Xr=window.lodash;function Qr(e){const{attributes:t,setAttributes:n}=e,o=t?.ghostkit||{},i=o?.styles||{};function r(e,t=!1,i=!1){const r=(0,Xr.cloneDeep)(o);void 0===r?.styles&&(r.styles={});const s=Vr(r.styles,e,t,i);r.styles=s,n({ghostkit:r})}return{styles:i,getStyles:function(){return Fr(i)},getStyle:function(e,t=!1,n=!1){return Hr(i,e,t,n)},hasStyle:function(e,t=!1,n=!1){return Wr(i,e,t,n)},setStyles:r,resetStyles:function(e,t=!1,n=[""]){r(Ur(e,t,n))}}}function es(){return{useResponsive:Jr,useStyles:Qr}}const ts=(0,Ze.createReduxStore)("ghostkit/base/hooks",{selectors:a,reducer:e=>e});function ns(){return(0,Ke.createElement)("span",{className:"ghostkit-component-active-indicator"})}(0,Ze.register)(ts);const os=window.wp.hooks;function is(e){const{name:t,children:n}=e;return(0,os.applyFilters)(t,n||"",e)}var rs=n(470),ss=(n(3158),n(1766),n(8457),n(4139),n(8171),n(47));function as(e){const{setOptions:t={},editorProps:n={},...o}=e;return(0,Ke.createElement)(rs.Ay,{className:"ghostkit-component-code-editor",theme:"textmate",onLoad:e=>{e.renderer.setScrollMargin(16,16,16,16),e.renderer.setPadding(16)},fontSize:12,showPrintMargin:!0,showGutter:!0,highlightActiveLine:!1,width:"100%",setOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,printMargin:!1,tabSize:2,useWorker:!1,...t},editorProps:{$blockScrolling:1/0,...n},...o})}var ls=n(8655),cs=n.n(ls);const us=window.wp.components;function hs(e){const{className:t}=e;return(0,Ke.createElement)(us.ColorIndicator,{...e,className:cs()("ghostkit-color-indicator",t)})}const ds=window.wp.blockEditor;function ps(e){const{value:t,alpha:n=!1,palette:o=!0,onChange:i=(()=>{})}=e,r=o?function(){if(ds.__experimentalUseMultipleOriginColorsAndGradients&&(0,ds.__experimentalUseMultipleOriginColorsAndGradients)())return(0,ds.__experimentalUseMultipleOriginColorsAndGradients)().colors;const{themeColors:e}=(0,Ze.useSelect)((e=>({themeColors:e("core/block-editor").getSettings().colors}))),t=[];return e&&e.length&&t.push({name:"Theme",colors:e}),t}():[];return(0,Ke.createElement)(is,{name:"ghostkit.component.color-palette",props:e},(0,Ke.createElement)(us.ColorPalette,{colors:r,value:t,enableAlpha:n,onChange:e=>{i(e)},__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0}))}const gs=window.ReactJSXRuntime;function fs(e){const{value:t,onChange:n,label:o,colorPalette:i=!0,alpha:r=!1,gradient:s=!1,afterDropdownContent:a}=e;return(0,gs.jsx)(us.BaseControl,{className:"ghostkit-component-color-picker-wrapper",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.Dropdown,{className:"ghostkit-component-color-picker__dropdown",contentClassName:"ghostkit-component-color-picker__dropdown-content",popoverProps:{placement:"left-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:n})=>(0,gs.jsxs)(us.Button,{className:cs()("ghostkit-component-color-toggle",e?"ghostkit-component-color-toggle-active":""),onClick:n,children:[(0,gs.jsx)("span",{className:"ghostkit-component-color-toggle-indicator",style:{background:t||""}}),(0,gs.jsx)("span",{className:"ghostkit-component-color-toggle-label",children:o})]}),renderContent:()=>(0,gs.jsxs)("div",{className:"ghostkit-component-color-picker",children:[(0,gs.jsx)(ps,{value:t,palette:i,alpha:r,gradient:s,onChange:e=>{n(e||"")}}),a||""]})})})}const ms=window.wp.date,vs=window.wp.element,bs=window.wp.i18n,{luxon:ys}=window;function ws(e){const[t,n]=(0,vs.useState)(!1),{value:o,onChange:i,label:r,is12Hour:s=!1}=e,a=(0,ms.getSettings)(),l=a.formats.datetime||"F j, Y g:i a";return(0,gs.jsx)(us.BaseControl,{id:r,label:r,className:"ghostkit-components-date-time-picker",__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)("div",{children:[(0,gs.jsx)(us.Button,{isLink:!0,onClick:()=>n(!t),children:o?`${(0,ms.dateI18n)(l,o)} ${a.timezone.abbr||a.timezone.string||`UTC${a.timezone.offset}`}`:(0,bs.__)("Select Date","ghostkit")}),t?(0,gs.jsx)(us.Popover,{className:"ghostkit-components-date-time-picker-popover",onClose:()=>n(!1),children:(0,gs.jsx)(us.DateTimePicker,{label:r,currentDate:ys.DateTime.fromISO(o).isValid?o:"",onChange:i,is12Hour:s})}):null]})})}function ks(e){const{label:t,className:n,contentClassName:o,onClick:i,open:r,onToggle:s,children:a}=e;return(0,gs.jsx)(us.BaseControl,{className:"ghostkit-component-dropdown-picker-wrapper",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.Dropdown,{className:cs()("ghostkit-component-dropdown-picker__dropdown",n),contentClassName:cs()("ghostkit-component-dropdown-picker__dropdown-content",o),popoverProps:{placement:"left-start",offset:36,shift:!0},open:r,onToggle:s,renderToggle:({isOpen:e,onToggle:n})=>(0,gs.jsx)(us.Button,{className:cs()("ghostkit-component-dropdown-picker-toggle",e?"ghostkit-component-dropdown-picker-toggle-active":""),onClick:t=>{i?i(n,e,t):n()},children:(0,gs.jsx)("span",{className:"ghostkit-component-dropdown-picker-toggle-label",children:t})}),renderContent:()=>a})})}const _s=".editor-styles-wrapper";function xs(e){const{styles:t}=e,n=(0,vs.useMemo)((()=>{const e=(0,ds.transformStyles)([{css:t}],_s);let n="";return(0,Xr.map)((0,Xr.compact)(e),(e=>{n+=e})),n}),[t]);return(0,Ke.createElement)("style",{dangerouslySetInnerHTML:{__html:n}})}function Cs(e){const{isHover:t,onChange:n,checkActive:o=(()=>!1)}=e;return(0,Ke.createElement)(us.Button,{className:"ghostkit-control-element-state-toggle",onClick:()=>{n(!t)}},Cr("icon-pointer"),o()&&(0,Ke.createElement)(ns,null),t&&(0,Ke.createElement)("span",null,(0,bs.__)(":hover","ghostkit")))}const Ss={};function Es(e){const{value:t,onChange:n,label:o,image:i}=e;let r="";if(!i)return null;if(r=function(e){if(void 0!==Ss[e])return Ss[e];let t=/]*?src\s*=\s*['"]([^'"]*?)['"][^>]*?>/g.exec(e);if(t&&t[1])return Ss[e]=t[1],t[1];const n=/]*?style\s*=\s*['"]([^'"]*?)['"][^>]*?>/g.exec(e);return n&&n[1]&&(t=n[1].replace('background-image: url("',"").replace("background-image: url("","").replace('");',"").replace("");",""),t)?(Ss[e]=t,t):(Ss[e]=!1,!1)}(i),!r)return null;const s=function(e){const t=e.split(" "),n={x:.5,y:.5};return t[0]?(t[1]||t.push(t[0]),n.x=Math.max(Math.min(parseFloat(t[0])/100,1),0),n.y=Math.max(Math.min(parseFloat(t[1])/100,1),0),n):n}(t);return(0,gs.jsx)(us.FocalPointPicker,{label:o,url:r,value:s,onChange:e=>{n(`${parseInt(100*e.x,10)}% ${parseInt(100*e.y,10)}%`)},__nextHasNoMarginBottom:!0})}var As=n(28),Ts=n.n(As);function $s(e){return $s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$s(e)}function Ms(e){var t=function(e,t){if("object"!=$s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=$s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$s(t)?t:String(t)}function Rs(e,t,n){return(t=Ms(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Os(e){for(var t=1;t0?Hs(Xs,--Zs):0,Ks--,10===Js&&(Ks=1,qs--),Js}function na(){return Js=Zs2||sa(Js)>3?"":" "}function ha(e,t){for(;--t&&na()&&!(Js<48||Js>102||Js>57&&Js<65||Js>70&&Js<97););return ra(e,ia()+(t<6&&32==oa()&&32==na()))}function da(e){for(;na();)switch(Js){case e:return Zs;case 34:case 39:34!==e&&39!==e&&da(Js);break;case 40:41===e&&da(e);break;case 92:na()}return Zs}function pa(e,t){for(;na()&&e+Js!==57&&(e+Js!==84||47!==oa()););return"/*"+ra(t,Zs-1)+"*"+Ps(47===e?e:na())}function ga(e){for(;!sa(oa());)na();return ra(e,Zs)}var fa="-ms-",ma="-moz-",va="-webkit-",ba="comm",ya="rule",wa="decl",ka="@keyframes";function _a(e,t){for(var n="",o=Us(e),i=0;i0&&Vs(x)-h&&Gs(p>32?Ta(x+";",o,n,h-1):Ta(zs(x," ","")+";",o,n,h-2),l);break;case 59:x+=";";default:if(Gs(_=Ea(x,t,n,c,u,i,a,y,w=[],k=[],h),r),123===b)if(0===u)Sa(x,t,_,_,w,r,h,a,k);else switch(99===d&&110===Hs(x,3)?100:d){case 100:case 108:case 109:case 115:Sa(e,_,_,o&&Gs(Ea(e,_,_,0,0,i,a,y,i,w=[],h),k),i,k,h,a,o?w:k);break;default:Sa(x,_,_,_,[""],k,0,a,k)}}c=u=p=0,f=v=1,y=x="",h=s;break;case 58:h=1+Vs(x),p=g;default:if(f<1)if(123==b)--f;else if(125==b&&0==f++&&125==ta())continue;switch(x+=Ps(b),b*f){case 38:v=u>0?1:(x+="\f",-1);break;case 44:a[c++]=(Vs(x)-1)*v,v=1;break;case 64:45===oa()&&(x+=ca(na())),d=oa(),u=h=Vs(y=x+=ga(ia())),b++;break;case 45:45===g&&2==Vs(x)&&(f=0)}}return r}function Ea(e,t,n,o,i,r,s,a,l,c,u){for(var h=i-1,d=0===i?r:[""],p=Us(d),g=0,f=0,m=0;g0?d[v]+" "+b:zs(b,/&\f/g,d[v])))&&(l[m++]=y);return Qs(e,t,n,0===i?ya:a,l,c,u)}function Aa(e,t,n){return Qs(e,t,n,ba,Ps(Js),Ws(e,2,-2),0)}function Ta(e,t,n,o){return Qs(e,t,n,wa,Ws(e,0,o),Ws(e,o+1,-1),o)}var $a=function(e,t,n){for(var o=0,i=0;o=i,i=oa(),38===o&&12===i&&(t[n]=1),!sa(i);)na();return ra(e,Zs)},Ma=new WeakMap,Ra=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ma.get(n))&&!o){Ma.set(e,!0);for(var i=[],r=function(e,t){return la(function(e,t){var n=-1,o=44;do{switch(sa(o)){case 0:38===o&&12===oa()&&(t[n]=1),e[n]+=$a(Zs-1,t,n);break;case 2:e[n]+=ca(o);break;case 4:if(44===o){e[++n]=58===oa()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ps(o)}}while(o=na());return e}(aa(e),t))}(t,i),s=n.props,a=0,l=0;a6)switch(Hs(e,t+1)){case 109:if(45!==Hs(e,t+4))break;case 102:return zs(e,/(.+:)(.+)-([^]+)/,"$1"+va+"$2-$3$1"+ma+(108==Hs(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Fs(e,"stretch")?Oa(zs(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Hs(e,t+1))break;case 6444:switch(Hs(e,Vs(e)-3-(~Fs(e,"!important")&&10))){case 107:return zs(e,":",":"+va)+e;case 101:return zs(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+va+(45===Hs(e,14)?"inline-":"")+"box$3$1"+va+"$2$3$1"+fa+"$2box$3")+e}break;case 5936:switch(Hs(e,t+11)){case 114:return va+e+fa+zs(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return va+e+fa+zs(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return va+e+fa+zs(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return va+e+fa+e+e}return e}var La=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case wa:e.return=Oa(e.value,e.length);break;case ka:return _a([ea(e,{value:zs(e.value,"@","@"+va)})],o);case ya:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return _a([ea(e,{props:[zs(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return _a([ea(e,{props:[zs(t,/:(plac\w+)/,":"+va+"input-$1")]}),ea(e,{props:[zs(t,/:(plac\w+)/,":-moz-$1")]}),ea(e,{props:[zs(t,/:(plac\w+)/,fa+"input-$1")]})],o)}return""}))}}],Ia=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,r=e.stylisPlugins||La,s={},a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++o,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Ga}},Ya=!!Ke.useInsertionEffect&&Ke.useInsertionEffect,Za=Ya||function(e){return e()},Ja=(Ya||Ke.useLayoutEffect,{}.hasOwnProperty),Xa=Ke.createContext("undefined"!=typeof HTMLElement?Ia({key:"css"}):null);Xa.Provider;var Qa=function(e){return(0,Ke.forwardRef)((function(t,n){var o=(0,Ke.useContext)(Xa);return e(t,o,n)}))},el=Ke.createContext({}),tl="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",nl=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;return Na(t,n,o),Za((function(){return function(e,t,n){Na(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+o:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}(t,n,o)})),null},ol=Qa((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[tl],r=[o],s="";"string"==typeof e.className?s=function(e,t,n){var o="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):o+=n+" "})),o}(t.registered,r,e.className):null!=e.className&&(s=e.className+" ");var a=Ka(r,void 0,Ke.useContext(el));s+=t.key+"-"+a.name;var l={};for(var c in e)Ja.call(e,c)&&"css"!==c&&c!==tl&&(l[c]=e[c]);return l.ref=n,l.className=s,Ke.createElement(Ke.Fragment,null,Ke.createElement(nl,{cache:t,serialized:a,isStringTag:"string"==typeof i}),Ke.createElement(i,l))})),il=ol,rl=(n(4146),function(e,t){var n=arguments;if(null==t||!Ja.call(t,"css"))return Ke.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=il,i[1]=function(e,t){var n={};for(var o in t)Ja.call(t,o)&&(n[o]=t[o]);return n[tl]=e,n}(e,t);for(var r=2;re.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const hl=window.ReactDOM,dl=Math.min,pl=Math.max,gl=Math.round,fl=Math.floor,ml=e=>({x:e,y:e});function vl(e){return wl(e)?(e.nodeName||"").toLowerCase():"#document"}function bl(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function yl(e){var t;return null==(t=(wl(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function wl(e){return e instanceof Node||e instanceof bl(e).Node}function kl(e){return e instanceof Element||e instanceof bl(e).Element}function _l(e){return e instanceof HTMLElement||e instanceof bl(e).HTMLElement}function xl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof bl(e).ShadowRoot)}function Cl(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=Sl(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function Sl(e){return bl(e).getComputedStyle(e)}function El(e){const t=function(e){if("html"===vl(e))return e;const t=e.assignedSlot||e.parentNode||xl(e)&&e.host||yl(e);return xl(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(vl(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:_l(t)&&Cl(t)?t:El(t)}function Al(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=El(e),r=i===(null==(o=e.ownerDocument)?void 0:o.body),s=bl(i);return r?t.concat(s,s.visualViewport||[],Cl(i)?i:[],s.frameElement&&n?Al(s.frameElement):[]):t.concat(i,Al(i,[],n))}function Tl(e){return kl(e)?e:e.contextElement}function $l(e){const t=Tl(e);if(!_l(t))return ml(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:r}=function(e){const t=Sl(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=_l(e),r=i?e.offsetWidth:n,s=i?e.offsetHeight:o,a=gl(n)!==r||gl(o)!==s;return a&&(n=r,o=s),{width:n,height:o,$:a}}(t);let s=(r?gl(n.width):n.width)/o,a=(r?gl(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Ml=ml(0);function Rl(e){const t=bl(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ml}function jl(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),r=Tl(e);let s=ml(1);t&&(o?kl(o)&&(s=$l(o)):s=$l(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==bl(e))&&t}(r,n,o)?Rl(r):ml(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,u=i.width/s.x,h=i.height/s.y;if(r){const e=bl(r),t=o&&kl(o)?bl(o):o;let n=e,i=n.frameElement;for(;i&&o&&t!==n;){const e=$l(i),t=i.getBoundingClientRect(),o=Sl(i),r=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,h*=e.y,l+=r,c+=s,n=bl(i),i=n.frameElement}}return d={width:u,height:h,x:l,y:c},{...d,top:d.y,left:d.x,right:d.x+d.width,bottom:d.y+d.height};var d}const Ol=Ke.useLayoutEffect;var Ll=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Il=function(){};function Nl(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Pl(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i-1}function Hl(e){return Fl(e)?window.pageYOffset:e.scrollTop}function Wl(e,t){Fl(e)?window.scrollTo(0,t):e.scrollTop=t}function Vl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Il,i=Hl(e),r=t-i,s=0;!function t(){var a,l=r*((a=(a=s+=10)/n-1)*a*a+1)+i;Wl(e,l),sn.bottom?Wl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):o.top-i=g)return{placement:"bottom",maxHeight:t};if(C>=g&&!s)return r&&Vl(l,S,A),{placement:"bottom",maxHeight:t};if(!s&&C>=o||s&&_>=o)return r&&Vl(l,S,A),{placement:"bottom",maxHeight:s?_-y:C-y};if("auto"===i||s){var T=t,$=s?k:x;return $>=o&&(T=Math.min($-y-a,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return r&&Wl(l,S),{placement:"bottom",maxHeight:t};break;case"top":if(k>=g)return{placement:"top",maxHeight:t};if(x>=g&&!s)return r&&Vl(l,E,A),{placement:"top",maxHeight:t};if(!s&&x>=o||s&&k>=o){var M=t;return(!s&&x>=o||s&&k>=o)&&(M=s?k-w:x-w),r&&Vl(l,E,A),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:m});d(a.maxHeight),f(a.placement),null==l||l(a.placement)}}),[o,i,r,s,n,l,m]),t({ref:c,placerProps:Os(Os({},e),{},{placement:g||ic(i),maxHeight:h})})},ac=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return Os({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},lc=ac,cc=ac,uc=["size"],hc=["innerProps","isRtl","size"],dc={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},pc=function(e){var t=e.size,n=ul(e,uc);return rl("svg",Ls({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:dc},n))},gc=function(e){return rl(pc,Ls({size:20},e),rl("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},fc=function(e){return rl(pc,Ls({size:20},e),rl("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},mc=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return Os({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*i,":hover":{color:n?r.neutral80:r.neutral40}})},vc=mc,bc=mc,yc=function(){var e=sl.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(tc||(nc=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],oc||(oc=nc.slice(0)),tc=Object.freeze(Object.defineProperties(nc,{raw:{value:Object.freeze(oc)}})))),wc=function(e){var t=e.delay,n=e.offset;return rl("span",{css:sl({animation:"".concat(yc," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},kc=["data"],_c=["innerRef","isDisabled","isHidden","inputClassName"],xc={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Cc={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Os({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},xc)},Sc=function(e){return Os({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},xc)},Ec=function(e){var t=e.children,n=e.innerProps;return rl("div",n,t)},Ac={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({},zl(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||rl(gc,null))},Control:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.innerRef,r=e.innerProps,s=e.menuIsOpen;return rl("div",Ls({ref:i},zl(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),r,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({},zl(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||rl(fc,null))},DownChevron:fc,CrossIcon:gc,Group:function(e){var t=e.children,n=e.cx,o=e.getStyles,i=e.getClassNames,r=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return rl("div",Ls({},zl(e,"group",{group:!0}),a),rl(r,Ls({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:i,cx:n}),l),rl("div",null,t))},GroupHeading:function(e){var t=Bl(e);t.data;var n=ul(t,kc);return rl("div",Ls({},zl(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({},zl(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return rl("span",Ls({},t,zl(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,o=Bl(e),i=o.innerRef,r=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=ul(o,_c);return rl("div",Ls({},zl(e,"input",{"input-container":!0}),{"data-value":n||""}),rl("input",Ls({className:t({input:!0},a),ref:i,style:Sc(s),disabled:r},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,i=void 0===o?4:o,r=ul(e,hc);return rl("div",Ls({},zl(Os(Os({},r),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),rl(wc,{delay:0,offset:n}),rl(wc,{delay:160,offset:!0}),rl(wc,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return rl("div",Ls({},zl(e,"menu",{menu:!0}),{ref:n},o),t)},MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,i=e.isMulti;return rl("div",Ls({},zl(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,i=e.innerProps,r=e.menuPlacement,s=e.menuPosition,a=(0,Ke.useRef)(null),l=(0,Ke.useRef)(null),c=cl((0,Ke.useState)(ic(r)),2),u=c[0],h=c[1],d=(0,Ke.useMemo)((function(){return{setPortalPlacement:h}}),[]),p=cl((0,Ke.useState)(null),2),g=p[0],f=p[1],m=(0,Ke.useCallback)((function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===s?0:window.pageYOffset,n=e[u]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||f({offset:n,rect:e})}}),[o,s,u,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);Ol((function(){m()}),[m]);var v=(0,Ke.useCallback)((function(){"function"==typeof l.current&&(l.current(),l.current=null),o&&a.current&&(l.current=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=Tl(e),u=i||r?[...c?Al(c):[],...Al(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)}));const h=c&&a?function(e,t){let n,o=null;const i=yl(e);function r(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),r();const{left:c,top:u,width:h,height:d}=e.getBoundingClientRect();if(a||t(),!h||!d)return;const p={rootMargin:-fl(u)+"px "+-fl(i.clientWidth-(c+h))+"px "+-fl(i.clientHeight-(u+d))+"px "+-fl(c)+"px",threshold:pl(0,dl(1,l))||1};let g=!0;function f(e){const t=e[0].intersectionRatio;if(t!==l){if(!g)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),100)}g=!1}try{o=new IntersectionObserver(f,{...p,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(f,p)}o.observe(e)}(!0),r}(c,n):null;let d,p=-1,g=null;s&&(g=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),c&&!l&&g.observe(c),g.observe(t));let f=l?jl(e):null;return l&&function t(){const o=jl(e);!f||o.x===f.x&&o.y===f.y&&o.width===f.width&&o.height===f.height||n(),f=o,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)})),null==h||h(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(d)}}(o,a.current,m,{elementResize:"ResizeObserver"in window}))}),[o,m]);Ol((function(){v()}),[v]);var b=(0,Ke.useCallback)((function(e){a.current=e,v()}),[v]);if(!t&&"fixed"!==s||!g)return null;var y=rl("div",Ls({ref:b},zl(Os(Os({},e),{},{offset:g.offset,position:s,rect:g.rect}),"menuPortal",{"menu-portal":!0}),i),n);return rl(rc.Provider,{value:d},t?(0,hl.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,i=ul(e,ec);return rl("div",Ls({},zl(Os(Os({},i),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,i=ul(e,Ql);return rl("div",Ls({},zl(Os(Os({},i),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:function(e){var t=e.children,n=e.components,o=e.data,i=e.innerProps,r=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return rl(l,{data:o,innerProps:Os(Os({},zl(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),i),selectProps:a},rl(c,{data:o,innerProps:Os({},zl(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),rl(u,{data:o,innerProps:Os(Os({},zl(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},MultiValueContainer:Ec,MultiValueLabel:Ec,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({role:"button"},n),t||rl(gc,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.innerRef,s=e.innerProps;return rl("div",Ls({},zl(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":i}),{ref:r,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({},zl(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,i=e.isRtl;return rl("div",Ls({},zl(e,"container",{"--is-disabled":o,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return rl("div",Ls({},zl(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,i=e.hasValue;return rl("div",Ls({},zl(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),n),t)}},Tc=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function $c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(e,t){for(var n=0;n1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(o,r?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,i=e.label,r=void 0===i?"":i,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(r," focused, ").concat(u(s,n),".");if("menu"===t&&c){var h=a?" disabled":"",d="".concat(l?" selected":"").concat(h);return"".concat(r).concat(d,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Vc=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,r=e.isFocused,s=e.selectValue,a=e.selectProps,l=e.id,c=e.isAppleDevice,u=a.ariaLiveMessages,h=a.getOptionLabel,d=a.inputValue,p=a.isMulti,g=a.isOptionDisabled,f=a.isSearchable,m=a.menuIsOpen,v=a.options,b=a.screenReaderStatus,y=a.tabSelectsValue,w=a.isLoading,k=a["aria-label"],_=a["aria-live"],x=(0,Ke.useMemo)((function(){return Os(Os({},Wc),u||{})}),[u]),C=(0,Ke.useMemo)((function(){var e,n="";if(t&&x.onChange){var o=t.option,i=t.options,r=t.removedValue,a=t.removedValues,l=t.value,c=r||o||(e=l,Array.isArray(e)?null:e),u=c?h(c):"",d=i||a||void 0,p=d?d.map(h):[],f=Os({isDisabled:c&&g(c,s),label:u,labels:p},t);n=x.onChange(f)}return n}),[t,x,g,s,h]),S=(0,Ke.useMemo)((function(){var e="",t=n||o,r=!!(n&&s&&s.includes(n));if(t&&x.onFocus){var a={focused:t,label:h(t),isDisabled:g(t,s),isSelected:r,options:i,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=x.onFocus(a)}return e}),[n,o,h,g,x,i,s,c]),E=(0,Ke.useMemo)((function(){var e="";if(m&&v.length&&!w&&x.onFilter){var t=b({count:i.length});e=x.onFilter({inputValue:d,resultsMessage:t})}return e}),[i,d,m,x,v,b,w]),A="initial-input-focus"===(null==t?void 0:t.action),T=(0,Ke.useMemo)((function(){var e="";if(x.guidance){var t=o?"value":m?"menu":"input";e=x.guidance({"aria-label":k,context:t,isDisabled:n&&g(n,s),isMulti:p,isSearchable:f,tabSelectsValue:y,isInitialFocus:A})}return e}),[k,n,o,p,g,f,m,x,s,y,A]),$=rl(Ke.Fragment,null,rl("span",{id:"aria-selection"},C),rl("span",{id:"aria-focused"},S),rl("span",{id:"aria-results"},E),rl("span",{id:"aria-guidance"},T));return rl(Ke.Fragment,null,rl(Hc,{id:l},A&&$),rl(Hc,{"aria-live":_,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!A&&$))},Uc=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Gc=new RegExp("["+Uc.map((function(e){return e.letters})).join("")+"]","g"),qc={},Kc=0;Kc1?t-1:0),o=1;o0,f=h-d-u,m=!1;f>t&&s.current&&(o&&o(e),s.current=!1),g&&a.current&&(r&&r(e),a.current=!1),g&&t>f?(n&&!s.current&&n(e),p.scrollTop=h,m=!0,s.current=!0):!g&&-t>u&&(i&&!a.current&&i(e),p.scrollTop=0,m=!0,a.current=!0),m&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,i,r]),h=(0,Ke.useCallback)((function(e){u(e,e.deltaY)}),[u]),d=(0,Ke.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),p=(0,Ke.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;u(e,t)}),[u]),g=(0,Ke.useCallback)((function(e){if(e){var t=!!Zl&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",p,t)}}),[p,d,h]),f=(0,Ke.useCallback)((function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",p,!1))}),[p,d,h]);return(0,Ke.useEffect)((function(){if(t){var e=c.current;return g(e),function(){f(e)}}}),[t,g,f]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),r=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,i=(0,Ke.useRef)({}),r=(0,Ke.useRef)(null),s=(0,Ke.useCallback)((function(e){if(cu){var t=document.body,n=t&&t.style;if(o&&ou.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&uu<1){var r=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(iu).forEach((function(e){var t=iu[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(a,"px"))}t&&lu()&&(t.addEventListener("touchmove",ru,hu),e&&(e.addEventListener("touchstart",au,hu),e.addEventListener("touchmove",su,hu))),uu+=1}}),[o]),a=(0,Ke.useCallback)((function(e){if(cu){var t=document.body,n=t&&t.style;uu=Math.max(uu-1,0),o&&uu<1&&ou.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&lu()&&(t.removeEventListener("touchmove",ru,hu),e&&(e.removeEventListener("touchstart",au,hu),e.removeEventListener("touchmove",su,hu)))}}),[o]);return(0,Ke.useEffect)((function(){if(t){var e=r.current;return s(e),function(){a(e)}}}),[t,s,a]),function(e){r.current=e}}({isEnabled:n});return rl(Ke.Fragment,null,n&&rl("div",{onClick:du,css:pu}),t((function(e){i(e),r(e)})))}var fu={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},mu=function(e){var t=e.name,n=e.onFocus;return rl("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:fu,value:"",onChange:function(){}})};function vu(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function bu(){return vu(/^Mac/i)}var yu={clearIndicator:bc,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.theme,r=i.colors,s=i.borderRadius;return Os({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?r.neutral5:r.neutral0,borderColor:n?r.neutral10:o?r.primary:r.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(r.primary):void 0,"&:hover":{borderColor:o?r.primary:r.neutral30}})},dropdownIndicator:vc,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,i=n.spacing;return Os({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return Os({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?r.neutral10:r.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,r=i.spacing,s=i.colors;return Os(Os({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Cc),t?{}:{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,i=e.theme,r=i.colors,s=i.spacing.baseUnit;return Os({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*s})},loadingMessage:cc,menu:function(e,t){var n,o=e.placement,i=e.theme,r=i.borderRadius,s=i.spacing,a=i.colors;return Os((Rs(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Rs(n,"position","absolute"),Rs(n,"width","100%"),Rs(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:r,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return Os({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors;return Os({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:r.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,r=e.cropWithEllipsis;return Os({overflow:"hidden",textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors,s=e.isFocused;return Os({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:s?r.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}})},noOptionsMessage:lc,option:function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.theme,s=r.spacing,a=r.colors;return Os({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return Os({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,r=o.colors;return Os({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?r.neutral40:r.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,r=e.selectProps.controlShouldRenderValue;return Os({alignItems:"center",display:o&&i&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},wu={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},ku={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Gl(),captureMenuScroll:!Gl(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=Os({ignoreCase:!0,ignoreAccents:!0,stringify:eu,trim:!0,matchFrom:"any"},void 0),o=n.ignoreCase,i=n.ignoreAccents,r=n.stringify,s=n.trim,a=n.matchFrom,l=s?Qc(t):t,c=s?Qc(r(e)):r(e);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),i&&(l=Xc(l),c=Jc(c)),"start"===a?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function _u(e,t,n,o){return{type:"option",data:t,isDisabled:Mu(e,t,n),isSelected:Ru(e,t,n),label:Tu(e,t),value:$u(e,t),index:o}}function xu(e,t){return e.options.map((function(n,o){if("options"in n){var i=n.options.map((function(n,o){return _u(e,n,t,o)})).filter((function(t){return Eu(e,t)}));return i.length>0?{type:"group",data:n,options:i,index:o}:void 0}var r=_u(e,n,t,o);return Eu(e,r)?r:void 0})).filter(Jl)}function Cu(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Dc(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Su(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,Dc(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function Eu(e,t){var n=e.inputValue,o=void 0===n?"":n,i=t.data,r=t.isSelected,s=t.label,a=t.value;return(!Ou(e)||!r)&&ju(e,{label:s,value:a,data:i},o)}var Au=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Tu=function(e,t){return e.getOptionLabel(t)},$u=function(e,t){return e.getOptionValue(t)};function Mu(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ru(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=$u(e,t);return n.some((function(t){return $u(e,t)===o}))}function ju(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Ou=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Lu=1,Iu=function(e){Oc(i,e);var t,n,o=(t=i,n=Ic(),function(){var e,o=Lc(t);if(n){var i=Lc(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return Pc(this,e)});function i(e){var t;if($c(this,i),(t=o.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=bu()||vu(/^iPhone/i)||vu(/^iPad/i)||bu()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var o=t.props,i=o.onChange,r=o.name;n.name=r,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,o){var i=t.props,r=i.closeMenuOnSelect,s=i.isMulti,a=i.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:a}),r&&(t.setState({inputIsHiddenAfterUpdate:!s}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:o})},t.selectOption=function(e){var n=t.props,o=n.blurInputOnSelect,i=n.isMulti,r=n.name,s=t.state.selectValue,a=i&&t.isOptionSelected(e,s),l=t.isOptionDisabled(e,s);if(a){var c=t.getOptionValue(e);t.setValue(s.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(l)return void t.ariaOnChange(e,{action:"select-option",option:e,name:r});i?t.setValue([].concat(Dc(s),[e]),"select-option",e):t.setValue(e,"select-option")}o&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,o=t.state.selectValue,i=t.getOptionValue(e),r=o.filter((function(e){return t.getOptionValue(e)!==i})),s=Xl(n,r,r[0]||null);t.onChange(s,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Xl(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,o=n[n.length-1],i=n.slice(0,n.length-1),r=Xl(e,i,i[0]||null);t.onChange(r,{action:"pop-value",removedValue:o})},t.getFocusedOptionId=function(e){return Au(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return Su(xu(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),o=0;o5||r>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,o=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(o,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return Ou(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,o=n.isMulti,i=n.backspaceRemovesValue,r=n.escapeClearsValue,s=n.inputValue,a=n.isClearable,l=n.isDisabled,c=n.menuIsOpen,u=n.onKeyDown,h=n.tabSelectsValue,d=n.openMenuOnFocus,p=t.state,g=p.focusedOption,f=p.focusedValue,m=p.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!o||s)return;t.focusValue("previous");break;case"ArrowRight":if(!o||s)return;t.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)t.removeValue(f);else{if(!i)return;o?t.popValue():a&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!h||!g||d&&t.isOptionSelected(g,m))return;t.selectOption(g);break;case"Enter":if(229===e.keyCode)break;if(c){if(!g)return;if(t.isComposing)return;t.selectOption(g);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:s}),t.onMenuClose()):a&&r&&t.clearValue();break;case" ":if(s)return;if(!c){t.openMenu("first");break}if(!g)return;t.selectOption(g);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++Lu),t.state.selectValue=Dl(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),s=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[s],t.state.focusedOptionId=Au(n,r[s])}return t}return Rc(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ul(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&o&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ul(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,i=n.isFocused,r=this.buildFocusableOptions(),s="first"===e?0:r.length-1;if(!this.props.isMulti){var a=r.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[s],focusedOptionId:this.getFocusedOptionId(r[s])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(o);o||(i=-1);var r=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===i?0:-1===i?r:i-1;break;case"next":i>-1&&i0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var i=0,r=o.indexOf(n);n||(r=-1),"up"===e?i=r>0?r-1:o.length-1:"down"===e?i=(r+1)%o.length:"pageup"===e?(i=r-t)<0&&(i=0):"pagedown"===e?(i=r+t)>o.length-1&&(i=o.length-1):"last"===e&&(i=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(wu):Os(Os({},wu),this.props.theme):wu}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,i=this.getValue,r=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:r,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Mu(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ru(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ju(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,r=e.tabIndex,s=e.form,a=e.menuIsOpen,l=e.required,c=this.getComponents().Input,u=this.state,h=u.inputIsHidden,d=u.ariaSelection,p=this.commonProps,g=o||this.getElementId("input"),f=Os(Os(Os({"aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":l,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?Ke.createElement(c,Ls({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:r,form:s,type:"text",value:i},f)):Ke.createElement(nu,Ls({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Il,onFocus:this.onInputFocus,disabled:t,tabIndex:r,inputMode:"none",form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,r=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,l=this.commonProps,c=this.props,u=c.controlShouldRenderValue,h=c.isDisabled,d=c.isMulti,p=c.inputValue,g=c.placeholder,f=this.state,m=f.selectValue,v=f.focusedValue,b=f.isFocused;if(!this.hasValue()||!u)return p?null:Ke.createElement(a,Ls({},l,{key:"placeholder",isDisabled:h,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),g);if(d)return m.map((function(t,s){var a=t===v,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return Ke.createElement(n,Ls({},l,{components:{Container:o,Label:i,Remove:r},isFocused:a,isDisabled:h,key:c,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(p)return null;var y=m[0];return Ke.createElement(s,Ls({},l,{data:y,isDisabled:h}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,r=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Ke.createElement(e,Ls({},t,{innerProps:s,isFocused:r}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,r=this.state.isFocused;return e&&i?Ke.createElement(e,Ls({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:r})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,r=this.state.isFocused;return Ke.createElement(n,Ls({},o,{isDisabled:i,isFocused:r}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Ke.createElement(e,Ls({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,r=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,u=this.commonProps,h=this.state.focusedOption,d=this.props,p=d.captureMenuScroll,g=d.inputValue,f=d.isLoading,m=d.loadingMessage,v=d.minMenuHeight,b=d.maxMenuHeight,y=d.menuIsOpen,w=d.menuPlacement,k=d.menuPosition,_=d.menuPortalTarget,x=d.menuShouldBlockScroll,C=d.menuShouldScrollIntoView,S=d.noOptionsMessage,E=d.onMenuScrollToTop,A=d.onMenuScrollToBottom;if(!y)return null;var T,$=function(t,n){var o=t.type,i=t.data,r=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,d=h===i,p=r?void 0:function(){return e.onOptionHover(i)},g=r?void 0:function(){return e.selectOption(i)},f="".concat(e.getElementId("option"),"-").concat(n),m={id:f,onClick:g,onMouseMove:p,onMouseOver:p,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:s};return Ke.createElement(c,Ls({},u,{innerProps:m,data:i,isDisabled:r,isSelected:s,key:f,label:a,type:o,value:l,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,r=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),l="".concat(a,"-heading");return Ke.createElement(n,Ls({},u,{key:a,data:i,options:r,Heading:o,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return $(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return $(t,"".concat(t.index))}));else if(f){var M=m({inputValue:g});if(null===M)return null;T=Ke.createElement(a,u,M)}else{var R=S({inputValue:g});if(null===R)return null;T=Ke.createElement(l,u,R)}var j={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:k,menuShouldScrollIntoView:C},O=Ke.createElement(sc,Ls({},u,j),(function(t){var n=t.ref,o=t.placerProps,s=o.placement,a=o.maxHeight;return Ke.createElement(i,Ls({},u,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),Ke.createElement(gu,{captureEnabled:p,onTopArrive:E,onBottomArrive:A,lockEnabled:x},(function(t){return Ke.createElement(r,Ls({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:f,maxHeight:a,focusedOption:h}),T)})))}));return _||"fixed"===k?Ke.createElement(s,Ls({},u,{appendTo:_,controlElement:this.controlRef,menuPlacement:w,menuPosition:k}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,r=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!o)return Ke.createElement(mu,{name:r,onFocus:this.onValueInputFocus});if(r&&!o){if(i){if(n){var l=a.map((function(t){return e.getOptionValue(t)})).join(n);return Ke.createElement("input",{name:r,type:"hidden",value:l})}var c=a.length>0?a.map((function(t,n){return Ke.createElement("input",{key:"i-".concat(n),name:r,type:"hidden",value:e.getOptionValue(t)})})):Ke.createElement("input",{name:r,type:"hidden",value:""});return Ke.createElement("div",null,c)}var u=a[0]?this.getOptionValue(a[0]):"";return Ke.createElement("input",{name:r,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,r=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return Ke.createElement(Vc,Ls({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:r,selectValue:s,focusableOptions:a,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,r=this.props,s=r.className,a=r.id,l=r.isDisabled,c=r.menuIsOpen,u=this.state.isFocused,h=this.commonProps=this.getCommonProps();return Ke.createElement(o,Ls({},h,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:u}),this.renderLiveRegion(),Ke.createElement(t,Ls({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:u,menuIsOpen:c}),Ke.createElement(i,Ls({},h,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),Ke.createElement(n,Ls({},h,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,r=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,h=e.menuIsOpen,d=e.inputValue,p=e.isMulti,g=Dl(u),f={};if(n&&(u!==n.value||c!==n.options||h!==n.menuIsOpen||d!==n.inputValue)){var m=h?function(e,t){return Cu(xu(e,t))}(e,g):[],v=h?Su(xu(e,g),"".concat(l,"-option")):[],b=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o-1?n:t[0]}(t,m);f={selectValue:g,focusedOption:y,focusedOptionId:Au(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var w=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},k=r,_=s&&a;return s&&!_&&(k={value:Xl(p,g,g[0]||null),options:g,action:"initial-input-focus"},_=!a),"initial-input-focus"===(null==r?void 0:r.action)&&(k=null),Os(Os(Os({},f),w),{},{prevProps:e,ariaSelection:k,prevWasFocused:_})}}]),i}(Ke.Component);Iu.defaultProps=ku;var Nu=(0,Ke.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,i=void 0!==o&&o,r=e.defaultValue,s=void 0===r?null:r,a=e.inputValue,l=e.menuIsOpen,c=e.onChange,u=e.onInputChange,h=e.onMenuClose,d=e.onMenuOpen,p=e.value,g=ul(e,Tc),f=cl((0,Ke.useState)(void 0!==a?a:n),2),m=f[0],v=f[1],b=cl((0,Ke.useState)(void 0!==l?l:i),2),y=b[0],w=b[1],k=cl((0,Ke.useState)(void 0!==p?p:s),2),_=k[0],x=k[1],C=(0,Ke.useCallback)((function(e,t){"function"==typeof c&&c(e,t),x(e)}),[c]),S=(0,Ke.useCallback)((function(e,t){var n;"function"==typeof u&&(n=u(e,t)),v(void 0!==n?n:e)}),[u]),E=(0,Ke.useCallback)((function(){"function"==typeof d&&d(),w(!0)}),[d]),A=(0,Ke.useCallback)((function(){"function"==typeof h&&h(),w(!1)}),[h]),T=void 0!==a?a:m,$=void 0!==l?l:y,M=void 0!==p?p:_;return Os(Os({},g),{},{inputValue:T,menuIsOpen:$,onChange:C,onInputChange:S,onMenuClose:A,onMenuOpen:E,value:M})}(e);return Ke.createElement(Iu,Ls({ref:t},n))})),Pu=Nu;function Du(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Bu(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function zu(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function Fu(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==i){var r=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+r+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=Du,t.componentWillReceiveProps=Bu),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=zu;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,o)}}return e}function Hu(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t=0&&l===a&&c())}var Uu=function(){function e(t){var n=t.cellCount,o=t.cellSizeGetter,i=t.estimatedCellSize;$c(this,e),Rs(this,"_cellSizeAndPositionData",{}),Rs(this,"_lastMeasuredIndex",-1),Rs(this,"_lastBatchedIndex",-1),Rs(this,"_cellCount",void 0),Rs(this,"_cellSizeGetter",void 0),Rs(this,"_estimatedCellSize",void 0),this._cellSizeGetter=o,this._cellCount=n,this._estimatedCellSize=i}return Rc(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize,o=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=n,this._cellSizeGetter=o}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,o=this._lastMeasuredIndex+1;o<=e;o++){var i=this._cellSizeGetter({index:o});if(void 0===i||isNaN(i))throw Error("Invalid size returned for cell ".concat(o," of value ").concat(i));null===i?(this._cellSizeAndPositionData[o]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[o]={offset:n,size:i},n+=i,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,o=e.containerSize,i=e.currentOffset,r=e.targetIndex;if(o<=0)return 0;var s,a=this.getSizeAndPositionOfCell(r),l=a.offset,c=l-o+a.size;switch(n){case"start":s=l;break;case"end":s=c;break;case"center":s=l-(o-a.size)/2;break;default:s=Math.max(c,Math.min(l,i))}var u=this.getTotalSize();return Math.max(0,Math.min(u-o,s))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;if(0===this.getTotalSize())return{};var o=n+t,i=this._findNearestCell(n),r=this.getSizeAndPositionOfCell(i);n=r.offset+r.size;for(var s=i;nn&&(e=o-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var n=1;e=e?this._binarySearch(n,0,e):this._exponentialSearch(n,e)}}]),e}(),Gu=function(){function e(t){var n=t.maxScrollSize,o=void 0===n?"undefined"!=typeof window&&window.chrome?16777100:15e5:n,i=ul(t,["maxScrollSize"]);$c(this,e),Rs(this,"_cellSizeAndPositionManager",void 0),Rs(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new Uu(i),this._maxScrollSize=o}return Rc(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize(),r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:i});return Math.round(r*(i-o))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,o=e.containerSize,i=e.currentOffset,r=e.targetIndex;i=this._safeOffsetToOffset({containerSize:o,offset:i});var s=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:o,currentOffset:i,targetIndex:r});return this._offsetToSafeOffset({containerSize:o,offset:s})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,o=e.totalSize;return o<=t?0:n/(o-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(o===i)return n;var r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(r*(i-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(o===i)return n;var r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:i});return Math.round(r*(o-t))}}]),e}();function qu(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var o=n.callback,i=n.indices,r=Object.keys(i),s=!e||r.every((function(e){var t=i[e];return Array.isArray(t)?t.length>0:t>=0})),a=r.length!==Object.keys(t).length||r.some((function(e){var n=t[e],o=i[e];return Array.isArray(o)?n.join(",")!==o.join(","):n!==o}));t=i,s&&a&&o(i)}}function Ku(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,o=e.previousCellsCount,i=e.previousCellSize,r=e.previousScrollToAlignment,s=e.previousScrollToIndex,a=e.previousSize,l=e.scrollOffset,c=e.scrollToAlignment,u=e.scrollToIndex,h=e.size,d=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,g=n.getCellCount(),f=u>=0&&u0&&(hn.getTotalSize()-h&&p(g-1)}const Yu=!("undefined"==typeof window||!window.document||!window.document.createElement);var Zu,Ju;function Xu(e){if((!Zu&&0!==Zu||e)&&Yu){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Zu=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Zu}var Qu,eh,th=(Ju="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||Ju.webkitRequestAnimationFrame||Ju.mozRequestAnimationFrame||Ju.oRequestAnimationFrame||Ju.msRequestAnimationFrame||function(e){return Ju.setTimeout(e,1e3/60)},nh=Ju.cancelAnimationFrame||Ju.webkitCancelAnimationFrame||Ju.mozCancelAnimationFrame||Ju.oCancelAnimationFrame||Ju.msCancelAnimationFrame||function(e){Ju.clearTimeout(e)},oh=th,ih=nh,rh=function(e){return ih(e.id)},sh=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var o={id:oh((function i(){Date.now()-n>=t?e.call():o.id=oh(i)}))};return o};function ah(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function lh(e){for(var t=1;t0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return Oc(t,e),Rc(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?this.props.scrollToAlignment:t,o=e.columnIndex,i=void 0===o?this.props.scrollToColumn:o,r=e.rowIndex,s=void 0===r?this.props.scrollToRow:r,a=lh({},this.props,{scrollToAlignment:n,scrollToColumn:i,scrollToRow:s});return{scrollLeft:this._getCalculatedScrollLeft(a),scrollTop:this._getCalculatedScrollTop(a)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,n=void 0===t?0:t,o=e.scrollTop,i=void 0===o?0:o;if(!(i<0)){this._debounceScrollEnded();var r=this.props,s=r.autoHeight,a=r.autoWidth,l=r.height,c=r.width,u=this.state.instanceProps,h=u.scrollbarSize,d=u.rowSizeAndPositionManager.getTotalSize(),p=u.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,p-c+h),n),f=Math.min(Math.max(0,d-l+h),i);if(this.state.scrollLeft!==g||this.state.scrollTop!==f){var m={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:f!==this.state.scrollTop?f>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};s||(m.scrollTop=f),a||(m.scrollLeft=g),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:f,totalColumnsWidth:p,totalRowsHeight:d})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount,o=this.state.instanceProps;o.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),o.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o,r=this.props,s=r.scrollToColumn,a=r.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=s>=0&&(1===this.state.scrollDirectionHorizontal?n<=s:n>=s),this._recomputeScrollTopFlag=a>=0&&(1===this.state.scrollDirectionVertical?i<=a:i>=a),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,o=this.props.columnCount,i=this.props;o>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(lh({},i,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(lh({},i,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,o=e.height,i=e.scrollLeft,r=e.scrollToColumn,s=e.scrollTop,a=e.scrollToRow,l=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var t=lh({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof i&&i>=0||"number"==typeof s&&s>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:i,scrollTop:s});u&&(u.needToResetStyleCache=!1,this.setState(u))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var h=o>0&&l>0;r>=0&&h&&this._updateScrollLeftForScrollToColumn(),a>=0&&h&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:s||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var n=this,o=this.props,i=o.autoHeight,r=o.autoWidth,s=o.columnCount,a=o.height,l=o.rowCount,c=o.scrollToAlignment,u=o.scrollToColumn,h=o.scrollToRow,d=o.width,p=this.state,g=p.scrollLeft,f=p.scrollPositionChangeReason,m=p.scrollTop,v=p.instanceProps;this._handleInvalidatedGridSize();var b=s>0&&0===e.columnCount||l>0&&0===e.rowCount;f===ch&&(!r&&g>=0&&(g!==this._scrollingContainer.scrollLeft||b)&&(this._scrollingContainer.scrollLeft=g),!i&&m>=0&&(m!==this._scrollingContainer.scrollTop||b)&&(this._scrollingContainer.scrollTop=m));var y=(0===e.width||0===e.height)&&a>0&&d>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):Ku({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:d,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):Ku({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:m,scrollToAlignment:c,scrollToIndex:h,size:a,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),g!==t.scrollLeft||m!==t.scrollTop){var w=v.rowSizeAndPositionManager.getTotalSize(),k=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:m,totalColumnsWidth:k,totalRowsHeight:w})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&rh(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,n=e.autoHeight,o=e.autoWidth,i=e.className,r=e.containerProps,s=e.containerRole,a=e.containerStyle,l=e.height,c=e.id,u=e.noContentRenderer,h=e.role,d=e.style,p=e.tabIndex,g=e.width,f=this.state,m=f.instanceProps,v=f.needToResetStyleCache,b=this._isScrolling(),y={boxSizing:"border-box",direction:"ltr",height:n?"auto":l,position:"relative",width:o?"auto":g,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=m.columnSizeAndPositionManager.getTotalSize(),k=m.rowSizeAndPositionManager.getTotalSize(),_=k>l?m.scrollbarSize:0,x=w>g?m.scrollbarSize:0;x===this._horizontalScrollBarSize&&_===this._verticalScrollBarSize||(this._horizontalScrollBarSize=x,this._verticalScrollBarSize=_,this._scrollbarPresenceChanged=!0),y.overflowX=w+_<=g?"hidden":"auto",y.overflowY=k+x<=l?"hidden":"auto";var C=this._childrenToDisplay,S=0===C.length&&l>0&&g>0;return Ke.createElement("div",Ls({ref:this._setScrollingContainerRef},r,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Wu("ReactVirtualized__Grid",i),id:c,onScroll:this._onScroll,role:h,style:lh({},y,{},d),tabIndex:p}),C.length>0&&Ke.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:lh({width:t?"auto":w,height:k,maxWidth:w,maxHeight:k,overflow:"hidden",pointerEvents:b?"none":"",position:"relative"},a)},C),S&&u())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,o=e.cellRangeRenderer,i=e.columnCount,r=e.deferredMeasurementCache,s=e.height,a=e.overscanColumnCount,l=e.overscanIndicesGetter,c=e.overscanRowCount,u=e.rowCount,h=e.width,d=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,g=t.scrollDirectionVertical,f=t.instanceProps,m=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,b=this._isScrolling(e,t);if(this._childrenToDisplay=[],s>0&&h>0){var y=f.columnSizeAndPositionManager.getVisibleCellRange({containerSize:h,offset:v}),w=f.rowSizeAndPositionManager.getVisibleCellRange({containerSize:s,offset:m}),k=f.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:h,offset:v}),_=f.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:s,offset:m});this._renderedColumnStartIndex=y.start,this._renderedColumnStopIndex=y.stop,this._renderedRowStartIndex=w.start,this._renderedRowStopIndex=w.stop;var x=l({direction:"horizontal",cellCount:i,overscanCellsCount:a,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),C=l({direction:"vertical",cellCount:u,overscanCellsCount:c,scrollDirection:g,startIndex:"number"==typeof w.start?w.start:0,stopIndex:"number"==typeof w.stop?w.stop:-1}),S=x.overscanStartIndex,E=x.overscanStopIndex,A=C.overscanStartIndex,T=C.overscanStopIndex;if(r){if(!r.hasFixedHeight())for(var $=A;$<=T;$++)if(!r.has($,0)){S=0,E=i-1;break}if(!r.hasFixedWidth())for(var M=S;M<=E;M++)if(!r.has(0,M)){A=0,T=u-1;break}}this._childrenToDisplay=o({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:f.columnSizeAndPositionManager,columnStartIndex:S,columnStopIndex:E,deferredMeasurementCache:r,horizontalOffsetAdjustment:k,isScrolling:b,isScrollingOptOut:d,parent:this,rowSizeAndPositionManager:f.rowSizeAndPositionManager,rowStartIndex:A,rowStopIndex:T,scrollLeft:v,scrollTop:m,styleCache:this._styleCache,verticalOffsetAdjustment:_,visibleColumnIndices:y,visibleRowIndices:w}),this._columnStartIndex=S,this._columnStopIndex=E,this._rowStartIndex=A,this._rowStopIndex=T}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&rh(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=sh(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,o=e.scrollTop,i=e.totalColumnsWidth,r=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,o=e.scrollTop,s=t.props,a=s.height;(0,s.onScroll)({clientHeight:a,clientWidth:s.width,scrollHeight:r,scrollLeft:n,scrollTop:o,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,o=e.scrollTop,i=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:o});i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=t._getScrollLeftForScrollToColumnStateUpdate(e,n);o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var o=this._rowStartIndex;o<=this._rowStopIndex;o++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var r="".concat(o,"-").concat(i);this._styleCache[r]=e[r],n&&(this._cellCache[r]=t[r])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=t._getScrollTopForScrollToRowStateUpdate(e,n);o&&(o.needToResetStyleCache=!1,this.setState(o))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var o={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(o.scrollLeft=0,o.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(o,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var i,r,s=n.instanceProps;return o.needToResetStyleCache=!1,e.columnWidth===s.prevColumnWidth&&e.rowHeight===s.prevRowHeight||(o.needToResetStyleCache=!0),s.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),s.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==s.prevColumnCount&&0!==s.prevRowCount||(s.prevColumnCount=0,s.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===s.prevIsScrolling&&Object.assign(o,{isScrolling:!1}),Vu({cellCount:s.prevColumnCount,cellSize:"number"==typeof s.prevColumnWidth?s.prevColumnWidth:null,computeMetadataCallback:function(){return s.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:s.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),Vu({cellCount:s.prevRowCount,cellSize:"number"==typeof s.prevRowHeight?s.prevRowHeight:null,computeMetadataCallback:function(){return s.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:s.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){r=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),s.prevColumnCount=e.columnCount,s.prevColumnWidth=e.columnWidth,s.prevIsScrolling=!0===e.isScrolling,s.prevRowCount=e.rowCount,s.prevRowHeight=e.rowHeight,s.prevScrollToColumn=e.scrollToColumn,s.prevScrollToRow=e.scrollToRow,s.scrollbarSize=e.getScrollbarSize(),void 0===s.scrollbarSize?(s.scrollbarSizeMeasured=!1,s.scrollbarSize=0):s.scrollbarSizeMeasured=!0,o.instanceProps=s,lh({},o,{},i,{},r)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,n=e.scrollLeft,o=e.scrollTop,i={scrollPositionChangeReason:ch};return"number"==typeof n&&n>=0&&(i.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,i.scrollLeft=n),"number"==typeof o&&o>=0&&(i.scrollDirectionVertical=o>t.scrollTop?1:-1,i.scrollTop=o),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof o&&o>=0&&o!==t.scrollTop?i:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var n=e.columnCount,o=e.height,i=e.scrollToAlignment,r=e.scrollToColumn,s=e.width,a=t.scrollLeft,l=t.instanceProps;if(n>0){var c=n-1,u=r<0?c:Math.min(c,r),h=l.rowSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&h>o?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:s-d,currentOffset:a,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var o=n.scrollLeft,i=t._getCalculatedScrollLeft(e,n);return"number"==typeof i&&i>=0&&o!==i?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:i,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,o=e.rowCount,i=e.scrollToAlignment,r=e.scrollToRow,s=e.width,a=t.scrollTop,l=t.instanceProps;if(o>0){var c=o-1,u=r<0?c:Math.min(c,r),h=l.columnSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&h>s?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:n-d,currentOffset:a,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var o=n.scrollTop,i=t._getCalculatedScrollTop(e,n);return"number"==typeof i&&i>=0&&o!==i?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:i}):{}}}]),t}(Ke.PureComponent),Rs(Qu,"propTypes",null),eh);Rs(uh,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,n=e.cellRenderer,o=e.columnSizeAndPositionManager,i=e.columnStartIndex,r=e.columnStopIndex,s=e.deferredMeasurementCache,a=e.horizontalOffsetAdjustment,l=e.isScrolling,c=e.isScrollingOptOut,u=e.parent,h=e.rowSizeAndPositionManager,d=e.rowStartIndex,p=e.rowStopIndex,g=e.styleCache,f=e.verticalOffsetAdjustment,m=e.visibleColumnIndices,v=e.visibleRowIndices,b=[],y=o.areOffsetsAdjusted()||h.areOffsetsAdjusted(),w=!l&&!y,k=d;k<=p;k++)for(var _=h.getSizeAndPositionOfCell(k),x=i;x<=r;x++){var C=o.getSizeAndPositionOfCell(x),S=x>=m.start&&x<=m.stop&&k>=v.start&&k<=v.stop,E="".concat(k,"-").concat(x),A=void 0;w&&g[E]?A=g[E]:s&&!s.has(k,x)?A={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(A={height:_.size,left:C.offset+a,position:"absolute",top:_.offset+f,width:C.size},g[E]=A);var T={columnIndex:x,isScrolling:l,isVisible:S,key:E,parent:u,rowIndex:k,style:A},$=void 0;!c&&!l||a||f?$=n(T):(t[E]||(t[E]=n(T)),$=t[E]),null!=$&&!1!==$&&b.push($)}return b},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:Xu,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,n=e.overscanCellsCount,o=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return 1===o?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(t-1,r+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(t-1,r)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Fu(uh);const hh=uh;function dh(e){var t=e.cellCount,n=e.overscanCellsCount,o=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return n=Math.max(1,n),1===o?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(t-1,r+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(t-1,r+1)}}var ph,gh;function fh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var mh,vh,bh=(gh=ph=function(e){function t(){var e,n;$c(this,t);for(var o=arguments.length,i=new Array(o),r=0;r div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=t.head||t.getElementsByTagName("head")[0],i=t.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(t.createTextNode(n)),o.appendChild(i)}}(r),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=r.createElement("div")).className="resize-triggers";var c='
';if(window.trustedTypes){var u=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return c}});t.__resizeTriggers__.innerHTML=u.createHTML("")}else t.__resizeTriggers__.innerHTML=c;t.appendChild(t.__resizeTriggers__),a(t),t.addEventListener("scroll",l,!0),h&&(t.__resizeTriggers__.__animationListener__=function(e){e.animationName==m&&a(t)},t.__resizeTriggers__.addEventListener(h,t.__resizeTriggers__.__animationListener__))}t.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(i)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(h,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function wh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function kh(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};$c(this,e),Rs(this,"_cellHeightCache",{}),Rs(this,"_cellWidthCache",{}),Rs(this,"_columnWidthCache",{}),Rs(this,"_rowHeightCache",{}),Rs(this,"_defaultHeight",void 0),Rs(this,"_defaultWidth",void 0),Rs(this,"_minHeight",void 0),Rs(this,"_minWidth",void 0),Rs(this,"_keyMapper",void 0),Rs(this,"_hasFixedHeight",void 0),Rs(this,"_hasFixedWidth",void 0),Rs(this,"_columnCount",0),Rs(this,"_rowCount",0),Rs(this,"columnWidth",(function(e){var n=e.index,o=t._keyMapper(0,n);return void 0!==t._columnWidthCache[o]?t._columnWidthCache[o]:t._defaultWidth})),Rs(this,"rowHeight",(function(e){var n=e.index,o=t._keyMapper(n,0);return void 0!==t._rowHeightCache[o]?t._rowHeightCache[o]:t._defaultHeight}));var o=n.defaultHeight,i=n.defaultWidth,r=n.fixedHeight,s=n.fixedWidth,a=n.keyMapper,l=n.minHeight,c=n.minWidth;this._hasFixedHeight=!0===r,this._hasFixedWidth=!0===s,this._minHeight=l||0,this._minWidth=c||0,this._keyMapper=a||Ah,this._defaultHeight=Math.max(this._minHeight,"number"==typeof o?o:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof i?i:100)}return Rc(e,[{key:"clear",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);delete this._cellHeightCache[n],delete this._cellWidthCache[n],this._updateCachedColumnAndRowSizes(e,t)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]?Math.max(this._minHeight,this._cellHeightCache[n]):this._defaultHeight}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var n=this._keyMapper(e,t);return void 0!==this._cellWidthCache[n]?Math.max(this._minWidth,this._cellWidthCache[n]):this._defaultWidth}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]}},{key:"set",value:function(e,t,n,o){var i=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[i]=o,this._cellWidthCache[i]=n,this._updateCachedColumnAndRowSizes(e,t)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,t){if(!this._hasFixedWidth){for(var n=0,o=0;o=0){var u=t.getScrollPositionForCell({align:i,cellIndex:r,height:o,scrollLeft:l,scrollTop:c,width:s});u.scrollLeft===l&&u.scrollTop===c||n._setScrollPosition(u)}})),Rs(Nc(n),"_onScroll",(function(e){if(e.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var t=n.props,o=t.cellLayoutManager,i=t.height,r=t.isScrollingChange,s=t.width,a=n._scrollbarSize,l=o.getTotalSize(),c=l.height,u=l.width,h=Math.max(0,Math.min(u-s+a,e.target.scrollLeft)),d=Math.max(0,Math.min(c-i+a,e.target.scrollTop));if(n.state.scrollLeft!==h||n.state.scrollTop!==d){var p=e.cancelable?"observed":Mh;n.state.isScrolling||r(!0),n.setState({isScrolling:!0,scrollLeft:h,scrollPositionChangeReason:p,scrollTop:d})}n._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:d,totalWidth:u,totalHeight:c})}})),n._scrollbarSize=Xu(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return Oc(t,e),Rc(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.scrollLeft,o=e.scrollToCell,i=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Xu(),this._scrollbarSizeMeasured=!0,this.setState({})),o>=0?this._updateScrollPositionForScrollToCell():(n>=0||i>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:i}),this._invokeOnSectionRenderedHelper();var r=t.getTotalSize(),s=r.height,a=r.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:i||0,totalHeight:s,totalWidth:a})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,o=n.height,i=n.scrollToAlignment,r=n.scrollToCell,s=n.width,a=this.state,l=a.scrollLeft,c=a.scrollPositionChangeReason,u=a.scrollTop;c===Mh&&(l>=0&&l!==t.scrollLeft&&l!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=l),u>=0&&u!==t.scrollTop&&u!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=u)),o===e.height&&i===e.scrollToAlignment&&r===e.scrollToCell&&s===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,n=e.cellCount,o=e.cellLayoutManager,i=e.className,r=e.height,s=e.horizontalOverscanSize,a=e.id,l=e.noContentRenderer,c=e.style,u=e.verticalOverscanSize,h=e.width,d=this.state,p=d.isScrolling,g=d.scrollLeft,f=d.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==o||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=o,this._calculateSizeAndPositionDataOnNextUpdate=!1,o.calculateSizeAndPositionData());var m=o.getTotalSize(),v=m.height,b=m.width,y=Math.max(0,g-s),w=Math.max(0,f-u),k=Math.min(b,g+h+s),_=Math.min(v,f+r+u),x=r>0&&h>0?o.cellRenderers({height:_-w,isScrolling:p,width:k-y,x:y,y:w}):[],C={boxSizing:"border-box",direction:"ltr",height:t?"auto":r,position:"relative",WebkitOverflowScrolling:"touch",width:h,willChange:"transform"},S=v>r?this._scrollbarSize:0,E=b>h?this._scrollbarSize:0;return C.overflowX=b+S<=h?"hidden":"auto",C.overflowY=v+E<=r?"hidden":"auto",Ke.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Wu("ReactVirtualized__Collection",i),id:a,onScroll:this._onScroll,role:"grid",style:$h({},C,{},c),tabIndex:0},n>0&&Ke.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:v,maxHeight:v,maxWidth:b,overflow:"hidden",pointerEvents:p?"none":"",width:b}},x),0===n&&l())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout((function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})}),150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,o=e.scrollTop,i=e.totalHeight,r=e.totalWidth;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,o=e.scrollTop,s=t.props,a=s.height;(0,s.onScroll)({clientHeight:a,clientWidth:s.width,scrollHeight:i,scrollLeft:n,scrollTop:o,scrollWidth:r})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,o={scrollPositionChangeReason:Mh};t>=0&&(o.scrollLeft=t),n>=0&&(o.scrollTop=n),(t>=0&&t!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(o)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:Mh}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:Mh}}}]),t}(Ke.PureComponent);Rs(Rh,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),Rh.propTypes={},Fu(Rh);const jh=Rh;var Oh=function(){function e(t){var n=t.height,o=t.width,i=t.x,r=t.y;$c(this,e),this.height=n,this.width=o,this.x=i,this.y=r,this._indexMap={},this._indices=[]}return Rc(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),Lh=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;$c(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return Rc(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,o=e.x,i=e.y,r={};return this.getSections({height:t,width:n,x:o,y:i}).forEach((function(e){return e.getCellIndices().forEach((function(e){r[e]=e}))})),Object.keys(r).map((function(e){return r[e]}))}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,n=e.width,o=e.x,i=e.y,r=Math.floor(o/this._sectionSize),s=Math.floor((o+n-1)/this._sectionSize),a=Math.floor(i/this._sectionSize),l=Math.floor((i+t-1)/this._sectionSize),c=[],u=r;u<=s;u++)for(var h=a;h<=l;h++){var d="".concat(u,".").concat(h);this._sections[d]||(this._sections[d]=new Oh({height:this._sectionSize,width:this._sectionSize,x:u*this._sectionSize,y:h*this._sectionSize})),c.push(this._sections[d])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map((function(t){return e._sections[t].toString()}))}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,n=e.index;this._cellMetadata[n]=t,this.getSections(t).forEach((function(e){return e.addCellIndex({index:n})}))}}]),e}();function Ih(e){var t=e.align,n=void 0===t?"auto":t,o=e.cellOffset,i=e.cellSize,r=e.containerSize,s=e.currentOffset,a=o,l=a-r+i;switch(n){case"start":return a;case"end":return l;case"center":return a-(r-i)/2;default:return Math.max(l,Math.min(a,s))}}var Nh=function(e){function t(e,n){var o;return $c(this,t),(o=Pc(this,Lc(t).call(this,e,n)))._cellMetadata=[],o._lastRenderedCellIndices=[],o._cellCache=[],o._isScrollingChange=o._isScrollingChange.bind(Nc(o)),o._setCollectionViewRef=o._setCollectionViewRef.bind(Nc(o)),o}return Oc(t,e),Rc(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=Ls({},this.props);return Ke.createElement(jh,Ls({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,n=e.cellSizeAndPositionGetter,o=[],i=new Lh(e.sectionSize),r=0,s=0,a=0;a=0&&nn.lastRenderedStopIndex||n.stopIndex1&&void 0!==arguments[1]?arguments[1]:0,n="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;n?n.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)}))}))}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,n=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=n,this._doStuff(t,n)}},{key:"_doStuff",value:function(e,t){var n,o=this,i=this.props,r=i.isRowLoaded,s=i.minimumBatchSize,a=i.rowCount,l=i.threshold,c=function(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,o=e.rowCount,i=e.stopIndex,r=[],s=null,a=null,l=e.startIndex;l<=i;l++)t({index:l})?null!==a&&(r.push({startIndex:s,stopIndex:a}),s=a=null):(a=l,null===s&&(s=l));if(null!==a){for(var c=Math.min(Math.max(a,s+n-1),o-1),u=a+1;u<=c&&!t({index:u});u++)a=u;r.push({startIndex:s,stopIndex:a})}if(r.length)for(var h=r[0];h.stopIndex-h.startIndex+10;){var d=h.startIndex-1;if(t({index:d}))break;h.startIndex=d}return r}({isRowLoaded:r,minimumBatchSize:s,rowCount:a,startIndex:Math.max(0,e-l),stopIndex:Math.min(a-1,t+l)}),u=(n=[]).concat.apply(n,Dc(c.map((function(e){return[e.startIndex,e.stopIndex]}))));this._loadMoreRowsMemoizer({callback:function(){o._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(Ke.PureComponent);Rs(Ph,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Ph.propTypes={};var Dh,Bh,zh=(Bh=Dh=function(e){function t(){var e,n;$c(this,t);for(var o=arguments.length,i=new Array(o),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,r=Wu("ReactVirtualized__List",t);return Ke.createElement(hh,Ls({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:r,columnWidth:i,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(Ke.PureComponent),Rs(Dh,"propTypes",null),Bh);Rs(zh,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:dh,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const Fh=function(e,t,n,o,i){return"function"==typeof n?function(e,t,n,o,i){for(var r=n+1;t<=n;){var s=t+n>>>1;i(e[s],o)>=0?(r=s,n=s-1):t=s+1}return r}(e,void 0===o?0:0|o,void 0===i?e.length-1:0|i,t,n):function(e,t,n,o){for(var i=n+1;t<=n;){var r=t+n>>>1;e[r]>=o?(i=r,n=r-1):t=r+1}return i}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)};function Hh(e,t,n,o,i){this.mid=e,this.left=t,this.right=n,this.leftPoints=o,this.rightPoints=i,this.count=(t?t.count:0)+(n?n.count:0)+o.length}var Wh=Hh.prototype;function Vh(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function Uh(e,t){var n=ed(t);e.mid=n.mid,e.left=n.left,e.right=n.right,e.leftPoints=n.leftPoints,e.rightPoints=n.rightPoints,e.count=n.count}function Gh(e,t){var n=e.intervals([]);n.push(t),Uh(e,n)}function qh(e,t){var n=e.intervals([]),o=n.indexOf(t);return o<0?0:(n.splice(o,1),Uh(e,n),1)}function Kh(e,t,n){for(var o=0;o=0&&e[o][1]>=t;--o){var i=n(e[o]);if(i)return i}}function Zh(e,t){for(var n=0;n>1],i=[],r=[],s=[];for(n=0;n3*(t+1)?Gh(this,e):this.left.insert(e):this.left=ed([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Gh(this,e):this.right.insert(e):this.right=ed([e]);else{var n=Fh(this.leftPoints,e,Xh),o=Fh(this.rightPoints,e,Qh);this.leftPoints.splice(n,0,e),this.rightPoints.splice(o,0,e)}},Wh.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1)?qh(this,e):2===(r=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===r&&(this.count-=1),r):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?qh(this,e):2===(r=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===r&&(this.count-=1),r):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,o=this.left;o.right;)n=o,o=o.right;if(n===this)o.right=this.right;else{var i=this.left,r=this.right;n.count-=o.count,n.right=o.left,o.left=i,o.right=r}Vh(this,o),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Vh(this,this.left):Vh(this,this.right);return 1}for(i=Fh(this.leftPoints,e,Xh);ithis.mid?this.right&&(n=this.right.queryPoint(e,t))?n:Yh(this.rightPoints,e,t):Zh(this.leftPoints,t);var n},Wh.queryInterval=function(e,t,n){var o;return ethis.mid&&this.right&&(o=this.right.queryInterval(e,t,n))?o:tthis.mid?Yh(this.rightPoints,e,n):Zh(this.leftPoints,n)};var nd=td.prototype;nd.insert=function(e){this.root?this.root.insert(e):this.root=new Hh(e[0],null,null,[e],[e])},nd.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},nd.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},nd.queryInterval=function(e,t,n){if(e<=t&&this.root)return this.root.queryInterval(e,t,n)},Object.defineProperty(nd,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(nd,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var od,id,rd=function(){function e(){$c(this,e),Rs(this,"_columnSizeMap",{}),Rs(this,"_intervalTree",new td(null)),Rs(this,"_leftMap",{})}return Rc(e,[{key:"estimateTotalHeight",value:function(e,t,n){var o=e-this.count;return this.tallestColumnSize+Math.ceil(o/t)*n}},{key:"range",value:function(e,t,n){var o=this;this._intervalTree.queryInterval(e,e+t,(function(e){var t=cl(e,3),i=t[0],r=(t[1],t[2]);return n(r,o._leftMap[r],i)}))}},{key:"setPosition",value:function(e,t,n,o){this._intervalTree.insert([n,n+o,e]),this._leftMap[e]=t;var i=this._columnSizeMap,r=i[t];i[t]=void 0===r?n+o:Math.max(r,n+o)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var o=e[n];t=0===t?o:Math.min(t,o)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var o=e[n];t=Math.max(t,o)}return t}}]),e}();function sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ad(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};$c(this,e),Rs(this,"_cellMeasurerCache",void 0),Rs(this,"_columnIndexOffset",void 0),Rs(this,"_rowIndexOffset",void 0),Rs(this,"columnWidth",(function(e){var n=e.index;t._cellMeasurerCache.columnWidth({index:n+t._columnIndexOffset})})),Rs(this,"rowHeight",(function(e){var n=e.index;t._cellMeasurerCache.rowHeight({index:n+t._rowIndexOffset})}));var o=n.cellMeasurerCache,i=n.columnIndexOffset,r=void 0===i?0:i,s=n.rowIndexOffset,a=void 0===s?0:s;this._cellMeasurerCache=o,this._columnIndexOffset=r,this._rowIndexOffset=a}return Rc(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,n,o){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,n,o)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function hd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function dd(e){for(var t=1;t0?new ud({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,o._deferredMeasurementCacheBottomRightGrid=r>0||s>0?new ud({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:s}):i,o._deferredMeasurementCacheTopRightGrid=r>0?new ud({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:0}):i),o}return Oc(t,e),Rc(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o,r=this.props,s=r.fixedColumnCount,a=r.fixedRowCount,l=Math.max(0,n-s),c=Math.max(0,i-a);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:l,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:i}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:l,rowIndex:i}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,n=e.scrollTop;if(t>0||n>0){var o={};t>0&&(o.scrollLeft=t),n>0&&(o.scrollTop=n),this.setState(o)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,n=e.onSectionRendered,o=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),i=(e.scrollTop,e.scrollToRow),r=ul(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var s=this.state,a=s.scrollLeft,l=s.scrollTop;return Ke.createElement("div",{style:this._containerOuterStyle},Ke.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(r),this._renderTopRightGrid(dd({},r,{onScroll:t,scrollLeft:a}))),Ke.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(dd({},r,{onScroll:t,scrollTop:l})),this._renderBottomRightGrid(dd({},r,{onScroll:t,onSectionRendered:n,scrollLeft:a,scrollToColumn:o,scrollToRow:i,scrollTop:l}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,n=e.columnWidth;if(null==this._leftGridWidth)if("function"==typeof n){for(var o=0,i=0;i=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(Ke.PureComponent);Rs(pd,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),pd.propTypes={},Fu(pd);var gd=function(e){function t(e,n){var o;return $c(this,t),(o=Pc(this,Lc(t).call(this,e,n))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},o._onScroll=o._onScroll.bind(Nc(o)),o}return Oc(t,e),Rc(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,o=t.clientWidth,i=t.scrollHeight,r=t.scrollLeft,s=t.scrollTop,a=t.scrollWidth;return e({clientHeight:n,clientWidth:o,onScroll:this._onScroll,scrollHeight:i,scrollLeft:r,scrollTop:s,scrollWidth:a})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,o=e.scrollHeight,i=e.scrollLeft,r=e.scrollTop,s=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:o,scrollLeft:i,scrollTop:r,scrollWidth:s})}}]),t}(Ke.PureComponent);function fd(e){var t=e.className,n=e.columns,o=e.style;return Ke.createElement("div",{className:t,role:"row",style:o},n)}gd.propTypes={},fd.propTypes=null;const md={ASC:"ASC",DESC:"DESC"};function vd(e){var t=e.sortDirection,n=Wu("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===md.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===md.DESC});return Ke.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===md.ASC?Ke.createElement("path",{d:"M7 14l5-5 5 5z"}):Ke.createElement("path",{d:"M7 10l5 5 5-5z"}),Ke.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function bd(e){var t=e.dataKey,n=e.label,o=e.sortBy,i=e.sortDirection,r=o===t,s=[Ke.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof n?n:null},n)];return r&&s.push(Ke.createElement(vd,{key:"SortIndicator",sortDirection:i})),s}function yd(e){var t=e.className,n=e.columns,o=e.index,i=e.key,r=e.onRowClick,s=e.onRowDoubleClick,a=e.onRowMouseOut,l=e.onRowMouseOver,c=e.onRowRightClick,u=e.rowData,h=e.style,d={"aria-rowindex":o+1};return(r||s||a||l||c)&&(d["aria-label"]="row",d.tabIndex=0,r&&(d.onClick=function(e){return r({event:e,index:o,rowData:u})}),s&&(d.onDoubleClick=function(e){return s({event:e,index:o,rowData:u})}),a&&(d.onMouseOut=function(e){return a({event:e,index:o,rowData:u})}),l&&(d.onMouseOver=function(e){return l({event:e,index:o,rowData:u})}),c&&(d.onContextMenu=function(e){return c({event:e,index:o,rowData:u})})),Ke.createElement("div",Ls({},d,{className:t,key:i,role:"row",style:h}),n)}vd.propTypes={},bd.propTypes=null,yd.propTypes=null;var wd=function(e){function t(){return $c(this,t),Pc(this,Lc(t).apply(this,arguments))}return Oc(t,e),t}(Ke.Component);function kd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _d(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=(0,hl.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,o=t.className,i=t.disableHeader,r=t.gridClassName,s=t.gridStyle,a=t.headerHeight,l=t.headerRowRenderer,c=t.height,u=t.id,h=t.noRowsRenderer,d=t.rowClassName,p=t.rowStyle,g=t.scrollToIndex,f=t.style,m=t.width,v=this.state.scrollbarWidth,b=i?c:c-a,y="function"==typeof d?d({index:-1}):d,w="function"==typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],Ke.Children.toArray(n).forEach((function(t,n){var o=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[n]=_d({overflow:"hidden"},o)})),Ke.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":Ke.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:Wu("ReactVirtualized__Table",o),id:u,role:"grid",style:f},!i&&l({className:Wu("ReactVirtualized__Table__headerRow",y),columns:this._getHeaderColumns(),style:_d({height:a,overflow:"hidden",paddingRight:v,width:m},w)}),Ke.createElement(hh,Ls({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Wu("ReactVirtualized__Table__Grid",r),cellRenderer:this._createRow,columnWidth:m,columnCount:1,height:b,id:void 0,noContentRenderer:h,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:v,scrollToRow:g,style:_d({},s,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,o=e.isScrolling,i=e.parent,r=e.rowData,s=e.rowIndex,a=this.props.onColumnClick,l=t.props,c=l.cellDataGetter,u=l.cellRenderer,h=l.className,d=l.columnData,p=l.dataKey,g=l.id,f=u({cellData:c({columnData:d,dataKey:p,rowData:r}),columnData:d,columnIndex:n,dataKey:p,isScrolling:o,parent:i,rowData:r,rowIndex:s}),m=this._cachedColumnStyles[n],v="string"==typeof f?f:null;return Ke.createElement("div",{"aria-colindex":n+1,"aria-describedby":g,className:Wu("ReactVirtualized__Table__rowColumn",h),key:"Row"+s+"-Col"+n,onClick:function(e){a&&a({columnData:d,dataKey:p,event:e})},role:"gridcell",style:m,title:v},f)}},{key:"_createHeader",value:function(e){var t,n,o,i,r,s=e.column,a=e.index,l=this.props,c=l.headerClassName,u=l.headerStyle,h=l.onHeaderClick,d=l.sort,p=l.sortBy,g=l.sortDirection,f=s.props,m=f.columnData,v=f.dataKey,b=f.defaultSortDirection,y=f.disableSort,w=f.headerRenderer,k=f.id,_=f.label,x=!y&&d,C=Wu("ReactVirtualized__Table__headerColumn",c,s.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),S=this._getFlexStyleForColumn(s,_d({},u,{},s.props.headerStyle)),E=w({columnData:m,dataKey:v,disableSort:y,label:_,sortBy:p,sortDirection:g});if(x||h){var A=p!==v?b:g===md.DESC?md.ASC:md.DESC,T=function(e){x&&d({defaultSortDirection:b,event:e,sortBy:v,sortDirection:A}),h&&h({columnData:m,dataKey:v,event:e})};r=s.props["aria-label"]||_||v,i="none",o=0,t=T,n=function(e){"Enter"!==e.key&&" "!==e.key||T(e)}}return p===v&&(i=g===md.ASC?"ascending":"descending"),Ke.createElement("div",{"aria-label":r,"aria-sort":i,className:C,id:k,key:"Header-Col"+a,onClick:t,onKeyDown:n,role:"columnheader",style:S,tabIndex:o},E)}},{key:"_createRow",value:function(e){var t=this,n=e.rowIndex,o=e.isScrolling,i=e.key,r=e.parent,s=e.style,a=this.props,l=a.children,c=a.onRowClick,u=a.onRowDoubleClick,h=a.onRowRightClick,d=a.onRowMouseOver,p=a.onRowMouseOut,g=a.rowClassName,f=a.rowGetter,m=a.rowRenderer,v=a.rowStyle,b=this.state.scrollbarWidth,y="function"==typeof g?g({index:n}):g,w="function"==typeof v?v({index:n}):v,k=f({index:n}),_=Ke.Children.toArray(l).map((function(e,i){return t._createColumn({column:e,columnIndex:i,isScrolling:o,parent:r,rowData:k,rowIndex:n,scrollbarWidth:b})})),x=Wu("ReactVirtualized__Table__row",y),C=_d({},s,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:b},w);return m({className:x,columns:_,index:n,isScrolling:o,key:i,onRowClick:c,onRowDoubleClick:u,onRowRightClick:h,onRowMouseOver:d,onRowMouseOut:p,rowData:k,style:C})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),o=_d({},t,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(o.maxWidth=e.props.maxWidth),e.props.minWidth&&(o.minWidth=e.props.minWidth),o}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,n=t.children;return(t.disableHeader?[]:Ke.Children.toArray(n)).map((function(t,n){return e._createHeader({column:t,index:n})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.scrollHeight,o=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:n,scrollTop:o})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,o=e.rowStartIndex,i=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:o,stopIndex:i})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(Ke.PureComponent);Rs(xd,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:dh,overscanRowCount:10,rowRenderer:yd,headerRowRenderer:fd,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),xd.propTypes={};var Cd=[],Sd=null,Ed=null;function Ad(){Ed&&(Ed=null,document.body&&null!=Sd&&(document.body.style.pointerEvents=Sd),Sd=null)}function Td(){Ad(),Cd.forEach((function(e){return e.__resetIsScrolling()}))}function $d(e){e.currentTarget===window&&null==Sd&&document.body&&(Sd=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){Ed&&rh(Ed);var e=0;Cd.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),Ed=sh(Td,e)}(),Cd.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function Md(e,t){Cd.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",$d),Cd.push(e)}function Rd(e,t){(Cd=Cd.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",$d),Ed&&(rh(Ed),Ad()))}var jd,Od,Ld=function(e){return e===window},Id=function(e){return e.getBoundingClientRect()};function Nd(e,t){if(e){if(Ld(e)){var n=window,o=n.innerHeight,i=n.innerWidth;return{height:"number"==typeof o?o:0,width:"number"==typeof i?i:0}}return Id(e)}return{height:t.serverHeight,width:t.serverWidth}}function Pd(e){return Ld(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var Bd=function(){return"undefined"!=typeof window?window:void 0},zd=(Od=jd=function(e){function t(){var e,n;$c(this,t);for(var o=arguments.length,i=new Array(o),r=0;r0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,o=n.height,i=n.width,r=this._child||hl.findDOMNode(this);if(r instanceof Element&&e){var s=function(e,t){if(Ld(t)&&document.documentElement){var n=document.documentElement,o=Id(e),i=Id(n);return{top:o.top-i.top,left:o.left-i.left}}var r=Pd(t),s=Id(e),a=Id(t);return{top:s.top+r.top-a.top,left:s.left+r.left-a.left}}(r,e);this._positionFromTop=s.top,this._positionFromLeft=s.left}var a=Nd(e,this.props);o===a.height&&i===a.width||(this.setState({height:a.height,width:a.width}),t({height:a.height,width:a.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=yh(),this.updatePosition(e),e&&(Md(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.scrollElement,o=e.scrollElement;o!==n&&null!=o&&null!=n&&(this.updatePosition(n),Rd(this,o),Md(this,n),this._unregisterResizeListener(o),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(Rd(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.isScrolling,o=t.scrollTop,i=t.scrollLeft,r=t.height,s=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:r,isScrolling:n,scrollLeft:i,scrollTop:o,width:s})}}]),t}(Ke.PureComponent),Rs(jd,"propTypes",null),Od);Rs(zd,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Bd(),serverHeight:0,serverWidth:0});const Fd=26;function Hd(e){const{children:t,maxHeight:n}=e;return t.length?(0,Ke.createElement)(_h,{disableHeight:!0},(({width:e})=>(0,Ke.createElement)(zh,{height:n,rowCount:t.length,rowHeight:Fd,rowRenderer:({index:e,key:n,style:o})=>(0,Ke.createElement)("div",{key:n,style:o},t[e]),width:e}))):null}const{Option:Wd}=Ac;function Vd(e){return(0,Ke.createElement)(Wd,{...e},e?.data?.icon||"",e.data.label)}function Ud(e){const{className:t,...n}=e,o={...e.grouped?{groupHeaderHeight:50}:{},...n},i=e?.options?.length>30;return(0,Ke.createElement)(Pu,{styles:{...Ts(),option(e,t){const n=Ts().option(e,t);return n["> svg"]={width:"24px",height:"auto",marginRight:"5px"},n}},components:{...i?{MenuList:Hd}:{},Option:Vd},className:cs()("ghostkit-control-select",t),...o})}const{fonts:Gd}=window.GHOSTKIT,qd=void 0!==Gd["google-fonts"].fonts?Gd["google-fonts"].fonts[0].name:"";function Kd(){const e=[];return void 0!==Gd["google-fonts"]&&void 0!==Gd["google-fonts"].fonts&&Object.keys(Gd["google-fonts"].fonts).forEach((t=>{e.push({value:Gd["google-fonts"].fonts[t].name,label:Gd["google-fonts"].fonts[t].name})})),e}class Yd extends vs.Component{constructor(e){super(e);const{fontWeightOptions:t,styleOptions:n}=this.getFontWeightAndStyleOptions(qd);this.state={isLoading:!0,name:qd,weight:["400"],style:"normal",fontFamilyOptions:Kd(),fontWeightOptions:t,styleOptions:n,error:"",isEdit:!1,editKey:null,notice:""}}componentDidMount(){this.setState({isLoading:!1})}getFontWeightAndStyleOptions(e,t="normal"){const n=[],o=function(e){const t={normal:[],italic:[]};if(void 0!==Gd["google-fonts"]&&void 0!==Gd["google-fonts"].fonts){const n=Gd["google-fonts"].fonts.find((t=>t.name===e)),{widths:o}=n;Object.keys(o).forEach((e=>{const n={value:o[e].replace("i",""),label:o[e].replace("i","")};-1===o[e].indexOf("i")?t.normal.push(n):t.italic.push(n)}))}return t}(e),i="normal"===t?o.normal:o.italic;return o.normal.length>0&&n.push({value:"normal",label:(0,bs.__)("Normal","ghostkit")}),o.italic.length>0&&n.push({value:"italic",label:(0,bs.__)("Italic","ghostkit")}),{fontWeightOptions:i,styleOptions:n}}renderEditor(){const{fontFamilyOptions:e,fontWeightOptions:t,styleOptions:n,style:o,name:i,weight:r,error:s,notice:a,isEdit:l,editKey:c}=this.state,{customFonts:u,updateFonts:h}=this.props;return(0,gs.jsx)("div",{className:"editor-styles-wrapper",children:(0,gs.jsxs)("div",{className:"ghostkit-settings-fonts-google-form",children:[l?null:(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Font","ghostkit"),label:(0,bs.__)("Font","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(Ud,{value:{value:i,label:i},onChange:e=>{let t=this.getFontWeightAndStyleOptions(e.value,o);const n=[];let i=!1;0===t.fontWeightOptions.length&&(i="normal"===o?"italic":"normal",t=this.getFontWeightAndStyleOptions(e.value,i)),Object.keys(r).forEach((e=>{void 0!==t.fontWeightOptions.find((e=>e.value===r))&&n.push(r[e])})),0===n.length&&0!==t.fontWeightOptions.length&&n.push(t.fontWeightOptions[0].value),this.setState({name:e.value,style:i||o,weight:n,fontWeightOptions:t.fontWeightOptions,styleOptions:t.styleOptions})},options:e,placeholder:(0,bs.__)("--- Select ---","ghostkit")})}),(0,gs.jsx)(us.SelectControl,{multiple:!0,label:(0,bs.__)("Weight","ghostkit"),value:r,onChange:e=>{this.setState({weight:e})},options:t,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Style","ghostkit"),value:o,onChange:e=>{this.setState({style:e})},options:n,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),s?(0,gs.jsx)("div",{className:"ghostkit-settings-fonts-google-form-error",children:s}):null,a?(0,gs.jsx)("div",{className:"ghostkit-settings-fonts-google-form-notice",children:a}):null,l?(0,gs.jsx)(us.Button,{variant:"primary",onClick:()=>{let e=!1;if(Object.keys(u.google).forEach((t=>{u.google[t].name===i&&u.google[t].style===o&&t!==c&&(e=!0)})),i&&c&&!e){h({google:{...u.google,[c]:{name:this.state.name,weight:this.state.weight,style:this.state.style}}});const e=this.getFontWeightAndStyleOptions(qd);this.setState({name:qd,weight:["400"],style:"normal",fontWeightOptions:e.fontWeightOptions,styleOptions:e.styleOptions,error:"",isEdit:!1,editKey:null,notice:(0,bs.__)("The font has been successfully edited","ghostkit")})}else this.state.name?e&&this.setState({error:(0,bs.__)("The font has already been added with style.","ghostkit")}):this.setState({error:(0,bs.__)("You should specify the `Name` to add new font.","ghostkit")})},children:(0,bs.__)("Edit Font","ghostkit")}):(0,gs.jsx)(us.Button,{variant:"primary",onClick:()=>{let e=!1;if(Object.keys(u.google).forEach((t=>{u.google[t].name===i&&u.google[t].style===o&&(e=!0)})),i&&!e){h({google:{...u.google,[Math.random().toString(36).substr(2,9)]:{name:this.state.name,weight:this.state.weight,style:this.state.style}}});const e=this.getFontWeightAndStyleOptions(qd);this.setState({name:qd,weight:["400"],style:"normal",fontWeightOptions:e.fontWeightOptions,styleOptions:e.styleOptions,error:"",notice:"",isEdit:!1})}else this.state.name?e&&this.setState({error:(0,bs.__)("The font has already been added. To edit, use the font edit button in the table.","ghostkit")}):this.setState({error:(0,bs.__)("You should specify the `Name` to add new font.","ghostkit")})},children:(0,bs.__)("Add Font","ghostkit")})]})})}render(){const{isLoading:e,isEdit:t,editKey:n}=this.state,{customFonts:o,updateFonts:i}=this.props;return(0,gs.jsxs)("div",{className:e?"ghostkit-settings-fonts-loading":"",children:[e?(0,gs.jsx)(us.Spinner,{}):"",t?"":this.renderEditor(),o.google&&Object.keys(o.google).length?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)("br",{}),(0,gs.jsxs)("table",{className:"widefat fixed striped",children:[(0,gs.jsx)("thead",{children:(0,gs.jsxs)("tr",{children:[(0,gs.jsx)("td",{children:(0,bs.__)("Font Family","ghostkit")}),(0,gs.jsx)("td",{children:(0,bs.__)("Font Weights","ghostkit")}),(0,gs.jsx)("td",{children:(0,bs.__)("Font Style","ghostkit")}),(0,gs.jsx)("td",{children:(0,bs.__)("Actions","ghostkit")})]})}),(0,gs.jsx)("tbody",{children:Object.keys(o.google).map((e=>(0,gs.jsxs)(vs.Fragment,{children:[(0,gs.jsxs)("tr",{children:[(0,gs.jsx)("td",{children:o.google[e].name}),(0,gs.jsx)("td",{children:Object.keys(o.google[e].weight).map((t=>(t=Number(t),(0,gs.jsxs)(vs.Fragment,{children:[o.google[e].weight[t],Number(o.google[e].weight.length)===t+1?"":", "]},o.google[e].name+e+t))))}),(0,gs.jsx)("td",{children:o.google[e].style}),(0,gs.jsxs)("td",{children:[(0,gs.jsx)(us.Button,{isLink:!0,onClick:()=>{const t={...o.google};delete t[e],i({google:{...t}})},children:(0,bs.__)("Remove","ghostkit")})," | ",(0,gs.jsx)(us.Button,{isLink:!0,onClick:()=>{const t={...o.google},n=this.getFontWeightAndStyleOptions(t[e].name,t[e].style);this.setState({name:t[e].name,style:t[e].style,weight:t[e].weight,fontWeightOptions:n.fontWeightOptions,styleOptions:n.styleOptions,isEdit:!0,editKey:e})},children:(0,bs.__)("Edit","ghostkit")})]})]}),t&&n===e?(0,gs.jsx)("tr",{children:(0,gs.jsx)("td",{colSpan:4,children:this.renderEditor()})}):null]},o.google[e].name+e)))})]})]}):null]})}}const Zd=Yd,{GHOSTKIT:Jd}=window;function Xd(e){const{icons:t,settings:n}=Jd;Object.keys(t).forEach((o=>{(void 0===n[`icon_pack_${o}`]||n[`icon_pack_${o}`])&&e(t[o])}))}function Qd(e){const{iconData:t,onClick:n,active:o}=e;return(0,gs.jsx)(tp.Preview,{className:cs()("ghostkit-component-icon-picker-button",o?"ghostkit-component-icon-picker-button-active":""),onClick:n,data:t})}const ep={};function tp(e){const{value:t,label:n,onChange:o,insideInspector:i}=e;return(0,gs.jsx)(us.BaseControl,{className:"ghostkit-component-icon-picker-wrapper",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>o(pt(e)),value:gt(t),insideInspector:i,renderToggle:({isOpen:e,onToggle:o})=>(0,gs.jsxs)(us.Button,{className:cs()("ghostkit-component-icon-picker-toggle",e?"ghostkit-component-icon-picker-toggle-active":""),onClick:o,children:[(0,gs.jsx)(tp.Preview,{className:"ghostkit-component-icon-picker-toggle-indicator",name:gt(t),alwaysRender:!0}),(0,gs.jsx)("span",{className:"ghostkit-component-icon-picker-toggle-label",children:n})]})})})}function np(e){const{value:t,options:n,itemsPerRow:o=2,onChange:i,label:r}=e;return(0,gs.jsx)(us.BaseControl,{id:r,label:r,className:cs()("ghostkit-component-image-picker",`ghostkit-component-image-picker-${o}`),__nextHasNoMarginBottom:!0,children:n.map((e=>(0,gs.jsxs)("button",{onClick:()=>{i(e.value)},className:cs()("ghostkit-component-image-picker-item",t===e.value?"ghostkit-component-image-picker-item-active":"",e.className),children:[e.image&&"string"==typeof e.image?(0,gs.jsx)("img",{src:e.image,alt:e.label||e.value}):null,e.image&&"string"!=typeof e.image?e.image:"",e.label?(0,gs.jsx)("span",{children:e.label}):""]},`image-pircker-${e.value}`)))})}function op(e){const{onClick:t,isActive:n}=e;return(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("!important","ghostkit")},(0,Ke.createElement)(us.Button,{className:cs()("ghostkit-control-important-toggle",n&&"is-active"),onClick:()=>{t(!n)}},"!"))}tp.Dropdown=function(e){const t=(0,vs.useRef)(),{onChange:n,value:o,label:i,className:r,renderToggle:s,insideInspector:a}=e,[l,c]=(0,vs.useState)(""),[u,h]=(0,vs.useState)(ep),[d,p]=(0,vs.useState)(!1);(0,vs.useEffect)((()=>{t.current=new Eh({defaultHeight:65,fixedWidth:!0})}),[]),(0,vs.useEffect)((()=>{t.current&&t.current.clearAll()}));const g=(0,gs.jsx)(us.Dropdown,{className:r,contentClassName:"ghostkit-component-icon-picker-content",renderToggle:s,focusOnMount:!1,renderContent:()=>function(){const e=[{key:"form",render:(0,gs.jsxs)(vs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Search Icon","ghostkit"),value:gt(l),onChange:e=>c(pt(e)),placeholder:(0,bs.__)("Type to Search…","ghostkit"),autoComplete:"off",autoFocus:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsxs)("div",{className:"ghostkit-component-icon-picker-input-output",children:[d?(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Icon Output","ghostkit"),value:o,onChange:e=>{n(e)},placeholder:(0,bs.__)("Icon Output","ghostkit"),autoComplete:"off",__nextHasNoMarginBottom:!0}):(0,gs.jsx)(us.Button,{variant:"secondary",onClick:()=>p(!0),style:{marginRight:5},children:(0,bs.__)("Customize Icon","ghostkit")}),(0,gs.jsx)(us.Button,{variant:"secondary",disabled:!o,onClick:()=>n(""),children:(0,bs.__)("Reset","ghostkit")})]})]},"form")}];Xd((t=>{const i=void 0===u[t.name]||u[t.name],r=l.toLowerCase(),s=t.icons.filter((e=>!(r&&!(r&&e.keys.indexOf(r.toLowerCase())>-1)))).map((e=>{const t=function(e){let t="";return e.keys&&(t=ut(e.keys.split(",")[0])),t}(e),i=(0,gs.jsx)(Qd,{active:gt(e.svg)===gt(o),iconData:e,onClick:()=>{n(gt(e.svg))}});return t?(0,gs.jsx)(us.Tooltip,{text:t,children:(0,gs.jsx)("div",{children:i})},gt(e.svg)):i}));if(!s.length)return;if(e.push({key:`title-${t.name}`,render:(0,gs.jsx)("div",{className:cs()("components-panel__body ghostkit-component-icon-picker-list-panel-toggle",i?"is-opened":""),children:(0,gs.jsx)("h2",{className:"components-panel__body-title",children:(0,gs.jsxs)(us.Button,{className:"components-panel__body-toggle",onClick:()=>{h({...u,[t.name]:!i})},"aria-expanded":i,children:[(0,gs.jsx)("span",{"aria-hidden":"true",children:i?(0,gs.jsxs)(us.SVG,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,gs.jsx)(us.G,{children:(0,gs.jsx)(us.Path,{fill:"none",d:"M0,0h24v24H0V0z"})}),(0,gs.jsx)(us.G,{children:(0,gs.jsx)(us.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})})]}):(0,gs.jsxs)(us.SVG,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,gs.jsx)(us.G,{children:(0,gs.jsx)(us.Path,{fill:"none",d:"M0,0h24v24H0V0z"})}),(0,gs.jsx)(us.G,{children:(0,gs.jsx)(us.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})})]})}),t.name]})})})}),!i)return;let a=[];s.forEach(((t,n)=>{a.push(t),3!==a.length&&s.length!==n+1||(e.push({key:"icons",render:(0,gs.jsx)("div",{className:"ghostkit-component-icon-picker-list",children:a})}),a=[])}))})),1===e.length&&e.push({key:"icons",render:(0,bs.__)("No icons found.","ghostkit")});const i=(0,gs.jsx)(_h,{children:({width:n,height:o})=>(0,gs.jsx)(zh,{className:"ghostkit-component-icon-picker-list-wrap",width:n,height:o,rowCount:e.length,rowHeight:t?.current?.rowHeight,rowRenderer:n=>{const{index:o,style:i,parent:r,key:s}=n;return(0,gs.jsx)(Sh,{cache:t?.current,columnIndex:0,rowIndex:o,parent:r,children:()=>(0,gs.jsx)("div",{style:i,children:e[o].render||""})},s)}})},"autosizer-"+(d?"1":"0"));return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)("div",{className:"ghostkit-component-icon-picker-sizer"}),(0,gs.jsx)("div",{className:"ghostkit-component-icon-picker",children:i})]})}(),...a?{popoverProps:{placement:"left-start",offset:36,shift:!0}}:{}});return i?(0,gs.jsx)(us.BaseControl,{id:i,label:i,className:r,__nextHasNoMarginBottom:!0,children:g}):g},tp.Preview=function(e){const{onClick:t,className:n,alwaysRender:o=!1}=e;let{data:i,name:r}=e;!i&&r&&Xd((e=>{e.icons.forEach((e=>{!i&&e.svg&&(e.svg===r||e.fallback&&e.fallback===r&&e.svg)&&(e.svg?i=e:r=e.class)}))}));let s="";return i&&i.svg?s=i.svg:(r||i&&i.class)&&(s=r||i.class),s||o?(0,gs.jsx)(tp.Render,{name:gt(s),tag:"span",className:cs()(n,"ghostkit-component-icon-picker-preview",t?"ghostkit-component-icon-picker-preview-clickable":""),onClick:t,onKeyPress:()=>{},role:"button",tabIndex:0,alwaysRender:o}):null},tp.Render=function(e){const{tag:t="span",name:n,alwaysRender:o=!1,...i}=e,r=t;let s="";const a=gt(n);return a&&/^`),s||o?(0,gs.jsx)(r,{dangerouslySetInnerHTML:{__html:s},...i}):null};const ip={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function rp(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function sp(e,t,n,o=.15){return 0===o?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):en?+rp(e-n,n-t,o)+n:e}function ap(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function cp(e){for(var t=1;t0,i=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);ip.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[r,s]=t._movement,[a,l]=n.threshold,{_step:c,values:u}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(r)>=a&&u[0]),!1===c[1]&&(c[1]=Math.abs(s)>=l&&u[1])):(!1===c[0]&&(c[0]=Math.abs(r)>=a&&Math.sign(r)*a),!1===c[1]&&(c[1]=Math.abs(s)>=l&&Math.sign(s)*l)),t.intentional=!1!==c[0]||!1!==c[1],!t.intentional)return;const h=[0,0];if(n.hasCustomTransform){const[e,t]=u;h[0]=!1!==c[0]?e-c[0]:0,h[1]=!1!==c[1]?t-c[1]:0}else h[0]=!1!==c[0]?r-c[0]:0,h[1]=!1!==c[1]?s-c[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(h);const d=t.offset,p=t._active&&!t._blocked||t.active;p&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=o[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=kp(n.bounds,t)),this.setup&&this.setup()),t.movement=h,this.computeOffset()));const[g,f]=t.offset,[[m,v],[b,y]]=t._bounds;t.overflow=[gv?1:0,fy?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);const w=t._active&&n.rubberband||[0,0];if(t.offset=function(e,[t,n],[o,i]){const[[r,s],[a,l]]=e;return[sp(t,r,s,o),sp(n,a,l,i)]}(t._bounds,t.offset,w),t.delta=ip.sub(t.offset,d),this.computeMovement(),p&&(!t.last||i>32)){t.delta=ip.sub(t.offset,d);const e=t.delta.map(Math.abs);ip.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&i>0&&(t.velocity=[e[0]/i,e[1]/i],t.timeDelta=i)}}emit(){const e=this.state,t=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;const o=this.handler(cp(cp(cp({},t),e),{},{[this.aliasKey]:e.values}));void 0!==o&&(e.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class Ep extends Sp{constructor(...e){super(...e),ap(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=ip.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=ip.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const t=this.state,n=this.config;if(!t.axis&&e){const o="object"==typeof n.axisThreshold?n.axisThreshold[mp(e)]:n.axisThreshold;t.axis=function([e,t],n){const o=Math.abs(e),i=Math.abs(t);return o>i&&o>n?"x":i>o&&i>n?"y":void 0}(t._movement,o)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}const Ap=e=>e,Tp={enabled:(e=!0)=>e,eventOptions:(e,t,n)=>cp(cp({},n.shared.eventOptions),e),preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return ip.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?ip.toVector(e):void 0,transform(e,t,n){const o=e||n.shared.transform;return this.hasCustomTransform=!!o,o||Ap},threshold:e=>ip.toVector(e,0)},$p=cp(cp({},Tp),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold:(e=0)=>e,bounds(e={}){if("function"==typeof e)return t=>$p.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:o=-1/0,bottom:i=1/0}=e;return[[t,n],[o,i]]}}),Mp={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]},Rp="undefined"!=typeof window&&window.document&&window.document.createElement;function jp(){return Rp&&"ontouchstart"in window}const Op={isBrowser:Rp,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:jp(),touchscreen:jp()||Rp&&window.navigator.maxTouchPoints>1,pointer:Rp&&"onpointerdown"in window,pointerLock:Rp&&"exitPointerLock"in window.document},Lp={mouse:0,touch:0,pen:8},Ip=cp(cp({},$p),{},{device(e,t,{pointer:{touch:n=!1,lock:o=!1,mouse:i=!1}={}}){return this.pointerLock=o&&Op.pointerLock,Op.touch&&n?"touch":this.pointerLock?"mouse":Op.pointer&&!i?"pointer":Op.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,Op.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:o=1,keys:i=!0}={}}){return this.pointerButtons=o,this.keys=i,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:o=3,axis:i}){const r=ip.toVector(e,n?o:i?1:0);return this.filterTaps=n,this.tapsThreshold=o,r},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(ip.toVector(e)),distance:this.transform(ip.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?cp(cp({},Lp),e):Lp,keyboardDisplacement:(e=10)=>e});cp(cp({},Tp),{},{device(e,t,{shared:n,pointer:{touch:o=!1}={}}){if(n.target&&!Op.touch&&Op.gesture)return"gesture";if(Op.touch&&o)return"touch";if(Op.touchscreen){if(Op.pointer)return"pointer";if(Op.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:o={}}){const i=e=>{const t=Cp(kp(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},r=e=>{const t=Cp(kp(o,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof o?[i(),r()]:e=>[i(e),r(e)]},threshold(e,t,n){return this.lockDirection="lock"===n.axis,ip.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e,pinchOnWheel:(e=!0)=>e}),cp(cp({},$p),{},{mouseOnly:(e=!0)=>e}),cp(cp({},$p),{},{mouseOnly:(e=!0)=>e});const Np=new Map,Pp=new Map,Dp={key:"drag",engine:class extends Ep{constructor(...e){super(...e),ap(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),o={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=$p.bounds(o)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout((()=>{this.compute(),this.emit()}),0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const t=this.config,n=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;const o=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),o&&o.size>1&&n._pointerActive||(this.start(e),this.setupPointer(e),n._pointerId=bp(e),n._pointerActive=!0,this.computeValues(yp(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==mp(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){const t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const t=this.state,n=this.config;if(!t._pointerActive)return;const o=bp(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;const i=yp(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=ip.sub(i,t._values),this.computeValues(i)),ip.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional?(this.timeoutStore.remove("dragDelay"),t.active=!1,void this.startPointerDrag(e)):n.preventScrollAxis&&!t._preventScroll?t.axis?t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis?(t._active=!1,void this.clean()):(this.timeoutStore.remove("startPointerDrag"),void this.startPointerDrag(e)):void 0:void this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){}const t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;const o=bp(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[i,r]=t._distance;if(t.tap=i<=n.tapsThreshold&&r<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,o]=t._delta,[i,r]=t._movement,[s,a]=n.swipe.velocity,[l,c]=n.swipe.distance,u=n.swipe.duration;if(t.elapsedTimes&&Math.abs(i)>l&&(t.swipe[0]=Math.sign(e)),u>a&&Math.abs(r)>c&&(t.swipe[1]=Math.sign(o))}}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){const t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e);const t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",(()=>{this.state._step=[0,0],this.startPointerDrag(e)}),this.config.delay)}keyDown(e){const t=Mp[e.key];if(t){const n=this.state,o=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=t(this.config.keyboardDisplacement,o),n._keyboardActive=!0,ip.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in Mp&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:Ip};const Bp={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=(Op.isBrowser?window:void 0))=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},zp=["target","eventOptions","window","enabled","transform"];function Fp(e={},t){const n={};for(const[o,i]of Object.entries(t))switch(typeof i){case"function":n[o]=i.call(n,e[o],o,e);break;case"object":n[o]=Fp(e[o],i);break;case"boolean":i&&(n[o]=e[o])}return n}class Hp{constructor(e,t){ap(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,o,i){const r=this._listeners,s=function(e,t=""){const n=up[e];return e+(n&&n[t]||t)}(t,n),a=cp(cp({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),i);e.addEventListener(s,o,a);const l=()=>{e.removeEventListener(s,o,a),r.delete(l)};return r.add(l),l}clean(){this._listeners.forEach((e=>e())),this._listeners.clear()}}class Wp{constructor(){ap(this,"_timeouts",new Map)}add(e,t,n=140,...o){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...o))}remove(e){const t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach((e=>{window.clearTimeout(e)})),this._timeouts.clear()}}class Vp{constructor(e){var t,n;ap(this,"gestures",new Set),ap(this,"_targetEventStore",new Hp(this)),ap(this,"gestureEventStores",{}),ap(this,"gestureTimeoutStores",{}),ap(this,"handlers",{}),ap(this,"config",{}),ap(this,"pointerIds",new Set),ap(this,"touchIds",new Set),ap(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),t=this,(n=e).drag&&Up(t,"drag"),n.wheel&&Up(t,"wheel"),n.scroll&&Up(t,"scroll"),n.move&&Up(t,"move"),n.pinch&&Up(t,"pinch"),n.hover&&Up(t,"hover")}setEventIds(e){return fp(e)?(this.touchIds=new Set(function(e){return function(e){return Array.from(e.touches).filter((t=>{var n,o;return t.target===e.currentTarget||(null===(n=e.currentTarget)||void 0===n||null===(o=n.contains)||void 0===o?void 0:o.call(n,t.target))}))}(e).map((e=>e.identifier))}(e)),this.touchIds):"pointerId"in e?("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds):void 0}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t,n={}){const o=e,{target:i,eventOptions:r,window:s,enabled:a,transform:l}=o,c=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(o,zp);if(n.shared=Fp({target:i,eventOptions:r,window:s,enabled:a,transform:l},Bp),t){const e=Pp.get(t);n[t]=Fp(cp({shared:n.shared},c),e)}else for(const e in c){const t=Pp.get(e);t&&(n[e]=Fp(cp({shared:n.shared},c[e]),t))}return n}(e,t,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const t=this.config.shared,n={};let o;if(!t.target||(o=t.target(),o)){if(t.enabled){for(const t of this.gestures){const i=this.config[t],r=Gp(n,i.eventOptions,!!o);i.enabled&&new(Np.get(t))(this,e,t).bind(r)}const i=Gp(n,t.eventOptions,!!o);for(const t in this.nativeHandlers)i(t,"",(n=>this.nativeHandlers[t](cp(cp({},this.state.shared),{},{event:n,args:e}))),void 0,!0)}for(const e in n)n[e]=xp(...n[e]);if(!o)return n;for(const e in n){const{device:t,capture:i,passive:r}=gp(e);this._targetEventStore.add(o,t,"",n[e],{capture:i,passive:r})}}}}function Up(e,t){e.gestures.add(t),e.gestureEventStores[t]=new Hp(e,t),e.gestureTimeoutStores[t]=new Wp}const Gp=(e,t,n)=>(o,i,r,s={},a=!1)=>{var l,c;const u=null!==(l=s.capture)&&void 0!==l?l:t.capture,h=null!==(c=s.passive)&&void 0!==c?c:t.passive;let d=a?o:function(e,t="",n=!1){const o=up[e],i=o&&o[t]||t;return"on"+hp(e)+hp(i)+(function(e=!1,t){return e&&!dp.includes(t)}(n,i)?"Capture":"")}(o,i,u);n&&h&&(d+="Passive"),e[d]=e[d]||[],e[d].push(r)};function qp(e,t){var n;return n=Dp,Np.set(n.key,n.engine),Pp.set(n.key,n.resolver),function(e,t={},n,o){const i=Ye().useMemo((()=>new Vp(e)),[]);if(i.applyHandlers(e,o),i.applyConfig(t,n),Ye().useEffect(i.effect.bind(i)),Ye().useEffect((()=>i.clean.bind(i)),[]),void 0===t.target)return i.bind.bind(i)}({drag:e},t||{},"drag")}const Kp=["px","%","rem","em","vh","vw","vmin","vmax","ex","cm","mm","in","pt","pc","ch"],Yp=e=>e.toString().includes(".")?e.toString().split(".").pop().length:0;function Zp(e){const{label:t,help:n,icon:o,placeholder:i,value:r,step:s,defaultUnit:a,expandOnFocus:l,autoComplete:c,className:u,onChange:h}=e,d=(0,vs.useRef)(),[p,g]=(0,vs.useState)(!1);function f(e,t){let n=e;s&&(n*=s),t&&(n*=10);const o=function(){let e=parseFloat(r),t="";if(r!==`${e}`){const n=(r||"").match(new RegExp(`${e}(${Kp.join("|")})`,"i"));n&&n[1]&&(t=n[1])}return Number.isNaN(e)&&(e=0,void 0!==a&&(t=a)),{num:e,unit:t,full:r}}();if(void 0!==o.full&&`${o.num}${o.unit}`!==o.full)return;n=o.num+n;const i=Yp(n);i>10&&(n=function(e,t){const n=Math.pow(10,t||0);return Math.round(e*n)/n}(n,i-1)),h(n+o.unit)}const m=qp((e=>{const{event:t,dragging:n,_direction:o,shiftKey:i}=e;n&&(t.stopPropagation(),f(-1*o[1],i))}),{axis:"y",threshold:10,enabled:!0,pointer:{capture:!1}});let v="ghostkit-component-input-drag-no-icon";return void 0!==o&&(v="ghostkit-component-input-drag-has-icon"),(0,gs.jsxs)("div",{className:cs()(v,p&&l&&r&&r.length>=l&&"ghostkit-component-input-drag-expand",u),children:[o,(0,gs.jsx)(us.TextControl,{...m(),ref:d,label:t,help:n,placeholder:i,value:r||"",onKeyDown:function(e){switch(e.keyCode){case 40:e.preventDefault(),f(-1,e.shiftKey);break;case 38:e.preventDefault(),f(1,e.shiftKey)}},onChange:e=>{h(e)},onFocus:()=>{g(!0)},onBlur:()=>{g(!1)},className:"ghostkit-component-input-drag",autoComplete:c,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}function Jp(e){const{checkActive:t=(()=>!1)}=e,[n,o]=(0,vs.useState)(!1),{allDevices:i,device:r,setDevice:s}=Jr();(0,vs.useEffect)((()=>{function e(e){e.target.closest(".ghostkit-control-responsive-toggle")||o(!1)}return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}));const a=[],l=[Cr("tabs-mobile"),Cr("tabs-tablet"),Cr("tabs-laptop"),Cr("tabs-desktop"),Cr("tabs-tv")];let c=l[l.length-1],u="0",h=!1;return[...Object.keys(i),""].forEach(((e,n)=>{e===r&&(c=l[n],u=100*(1+n-l.length)/l.length+"%",u=`calc(${u} + ${l.length-n-1}px)`);const o=e&&t&&t(e);h=h||o,a.unshift({name:e,title:(0,Ke.createElement)(us.Tooltip,{text:e?(0,bs.sprintf)((0,bs.__)("Devices with screen width <= %s","ghostkit"),`${i[e]}px`):(0,bs.__)("All devices","ghostkit")},(0,Ke.createElement)("span",{className:"ghostkit-control-responsive-toggle-icon"},l[n],o&&(0,Ke.createElement)(ns,null)))})})),(0,Ke.createElement)("div",{className:"ghostkit-control-responsive-toggle"},(0,Ke.createElement)(us.Button,{className:"ghostkit-control-responsive-toggle-button",onClick:()=>{o(!0)}},c,h&&(0,Ke.createElement)(ns,null)),(0,Ke.createElement)("div",{className:cs()("ghostkit-control-responsive-toggle-dropdown",n&&"is-open"),style:{transform:`translateY(${u})`}},a.map((e=>(0,Ke.createElement)(us.Button,{key:e.name,className:cs()(e.name===r&&"is-active"),onClick:()=>{s(e.name),o(!1)}},e.title)))))}const Xp=()=>{};function Qp(e){const{className:t,children:n,...o}=e;return(0,gs.jsx)(us.BaseControl,{className:cs()("ghostkit-component-input-group",t),__nextHasNoMarginBottom:!0,...o,children:(0,gs.jsx)("div",{className:"ghostkit-component-input-group-wrapper",children:n})})}function eg(e){if(e.children)return(0,gs.jsx)(Qp,{...e});const{label:t,inputs:n,hasValue:o=Xp,getValue:i=Xp,onChange:r=Xp,withResponsive:s,withState:a,withImportant:l,expandOnFocus:c,className:u,...h}=e,[d,p]=(0,vs.useState)(!1),{device:g}=Jr();return(0,gs.jsx)(us.BaseControl,{id:n[0].name,className:cs()("ghostkit-component-input-group",u),label:(0,gs.jsxs)(gs.Fragment,{children:[t,s&&(0,gs.jsx)(Jp,{checkActive:e=>n.some((t=>o(t.name,e,d)))}),a&&(0,gs.jsx)(Cs,{isHover:d,onChange:()=>{p(!d)},checkActive:()=>n.some((e=>o(e.name,g,!0)))})]}),__nextHasNoMarginBottom:!0,...h,children:(0,gs.jsx)("div",{className:"ghostkit-component-input-group-wrapper",children:n.map((e=>{let t=i(e.name,g,d),n=!1;return l&&(n=/ !important$/.test(t),n&&(t=t.replace(/ !important$/,""))),(0,gs.jsxs)("div",{className:"ghostkit-component-input-group-item",children:[(0,gs.jsx)(Zp,{id:e.name,help:e.label,value:t,onChange:t=>{t=t?`${t}${n?" !important":""}`:void 0,r(e.name,t,g,d)},expandOnFocus:c,autoComplete:"off"}),l&&void 0!==t&&(0,gs.jsx)(op,{onClick:n=>{if(t){const o=`${t}${n?" !important":""}`;r(e.name,o,g,d)}},isActive:n})]},e.name)}))})})}const tg=us.__experimentalUnitControl;function ng(e){const{attributes:t,hasAspectRatio:n=!0,hasSizeSelectors:o=!0,hasOriginalOption:i=!0,onChangeAspectRatio:r,onChangeWidth:s,onChangeHeight:a,onChangeResolution:l}=e,{aspectRatio:c,width:u,height:h,resolution:d}=t,p=[];i&&p.push({label:"Original",value:""}),p.push({label:"Square - 1:1",value:"1:1"},{label:"Standard - 4:3",value:"4:3"},{label:"Portrait - 3:4",value:"3:4"},{label:"Classic - 3:2",value:"3:2"},{label:"Classic Portrait - 2:3",value:"2:3"},{label:"Wide - 16:9",value:"16:9"},{label:"Ultra Wide - 21:9",value:"21:9"},{label:"Tall - 9:16",value:"9:16"}),u&&h&&p.push({label:"Custom",value:"custom",hidden:!0});const g=(0,Ze.useSelect)((e=>e("core/block-editor").getSettings())),[f,m]=(0,vs.useState)(!1);return(0,vs.useEffect)((()=>{m(!(!u||!h)&&"custom")}),[]),(0,gs.jsxs)(gs.Fragment,{children:[n&&(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Aspect Ratio","ghostkit"),value:f||c,onChange:e=>{m(!1);const{label:t}=p.find((t=>t.value===e));r(e,t),u&&h&&a("")},options:p,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),o&&(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)("div",{style:{display:"flex",gap:10},children:[(0,gs.jsx)(tg,{value:u,placeholder:(0,bs.__)("Auto","ghostkit"),label:(0,bs.__)("Width","ghostkit"),onChange:e=>{s(parseFloat(e)?e:""),m(!(!e||!h)&&"custom")},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(tg,{value:h,placeholder:(0,bs.__)("Auto","ghostkit"),label:(0,bs.__)("Height","ghostkit"),onChange:e=>{a(parseFloat(e)?e:""),m(!(!u||!e)&&"custom")},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),!d&&(0,gs.jsx)("div",{style:{marginTop:"-22px"}})]}),d&&g?.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:d,onChange:l,options:g.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]})}function og(e){let t="ghostkit-component-modal";return e.position&&(t=cs()(t,`ghostkit-component-modal-position-${e.position}`)),e.size&&(t=cs()(t,`ghostkit-component-modal-size-${e.size}`)),t=cs()(t,e.className),(0,Ke.createElement)(us.Modal,{...e,className:t},e.children)}function ig(e){const{className:t,...n}=e;return(0,Ke.createElement)(us.Notice,{className:cs()("ghostkit-component-notice",t),...n})}function rg({allowCustomMin:e,allowCustomMax:t,label:n,...o}){const[i,r]=(0,vs.useState)(parseFloat(o.min)||0),[s,a]=(0,vs.useState)(parseFloat(o.max)||100);return(0,vs.useEffect)((()=>{e&&o.value&&o.values&&a(o.value)}),[o.value]),e||t?(0,gs.jsxs)(us.BaseControl,{id:n,label:n,className:"ghostkit-component-range-control",__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(us.RangeControl,{...o,min:i,max:s,withInputField:!1,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{type:"number",value:o.value,min:i,max:s,step:o.step,onChange:n=>{const r=""===n?void 0:parseFloat(n);!e&&ns?o.onChange(s):o.onChange(r)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):(0,gs.jsx)(us.RangeControl,{...o,label:n,min:i,max:s,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}function sg(e){const[t,n]=(0,vs.useState)(-1),{onRemove:o,show:i,style:r,tooltipText:s=(0,bs.__)("Remove Block?","ghostkit"),tooltipRemoveText:a=(0,bs.__)("Remove","ghostkit"),tooltipCancelText:l=(0,bs.__)("Cancel","ghostkit")}=e;return i?(0,Ke.createElement)(us.Button,{className:"ghostkit-component-remove-button",onClick:()=>{-1===t&&n(0)},style:r},0===t?(0,Ke.createElement)(us.Popover,{className:"ghostkit-component-remove-button-confirm",onClose:()=>{n(-1)},onFocusOutside:()=>{n(-1)}},s,(0,Ke.createElement)(us.Button,{className:"ghostkit-component-remove-button-confirm-yep",onClick:o},a),(0,Ke.createElement)(us.Button,{className:"ghostkit-component-remove-button-confirm-nope",onClick:()=>{n(-1)}},l)):null,Cr("icon-trash")):null}function ag(e){const{children:t}=e,n=e?.active||e?.filledTabs||{},{allDevices:o,device:i,setDevice:r}=Jr(),s=[],a=[Cr("tabs-mobile"),Cr("tabs-tablet"),Cr("tabs-laptop"),Cr("tabs-desktop"),Cr("tabs-tv")];return[...Object.keys(o),""].forEach(((e,t)=>{s.unshift({name:e,title:(0,Ke.createElement)(us.Tooltip,{text:e?(0,bs.sprintf)((0,bs.__)("Devices with screen width <= %s","ghostkit"),`${o[e]}px`):(0,bs.__)("All devices","ghostkit")},(0,Ke.createElement)("span",{className:"ghostkit-control-tabs-icon"},a[t],n&&n[e]?(0,Ke.createElement)(ns,null):""))})})),(0,Ke.createElement)("div",{className:"ghostkit-control-tabs ghostkit-control-tabs-wide"},(0,Ke.createElement)("div",{className:"components-tab-panel__tabs"},s.map((e=>(0,Ke.createElement)(us.Button,{key:e.name,className:cs()("ghostkit-control-tabs-tab",e.name===i&&"is-active"),onClick:()=>{r(e.name)}},e.title)))),t({name:i}))}function lg(e){const{label:t,value:n,options:o,onChange:i,isBlock:r,isAdaptiveWidth:s,isDeselectable:a}=e;return us.__experimentalToggleGroupControl&&us.__experimentalToggleGroupControlOption?(0,gs.jsx)(us.BaseControl,{id:t,label:t,className:cs()("ghostkit-control-toggle-group",e.className),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.__experimentalToggleGroupControl,{value:n,onChange:i,isBlock:r,isAdaptiveWidth:s,isDeselectable:a,hideLabelFromVision:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,children:o.map((e=>e.icon?(0,gs.jsx)(us.__experimentalToggleGroupControlOptionIcon,{value:e.value,icon:e.icon,label:e.label,disabled:e.disabled},e.value):(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:e.value,label:e.label,disabled:e.disabled},e.value)))})}):(0,gs.jsx)(us.BaseControl,{id:t,label:t,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.ButtonGroup,{className:"ghostkit-control-toggle-group",children:o.map((e=>(0,gs.jsx)(us.Button,{variant:n===e.value?"primary":"",isPressed:n===e.value,disabled:e.disabled,onClick:()=>{i(e.value)},children:e.label},e.value)))})})}var cg=n(4798);const ug=window.wp.compose,{Motion:{animate:hg,spring:dg}}=window;function pg(e){const{label:t,options:n}=e,o=(0,vs.useRef)(),i=(0,vs.useRef)(),r=(0,vs.useRef)();function s(){r?.current&&r.current.stop(),i.current&&(r.current=hg(i.current,{x:0},{duration:0}))}function a(e){s(),setTimeout((()=>{if(o.current&&i.current){const t={};"easing"===e?.type?(t.type="tween",t.ease=e.easing,t.duration=e.duration):"spring"===e?.type&&(t.type=dg,t.stiffness=e.stiffness,t.damping=e.damping,t.mass=e.mass);const n=window.getComputedStyle(o.current);let s=o.current.clientWidth;s-=i.current.clientWidth,s-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),r.current=hg(i.current,{x:`${s}px`},t)}}),1)}const l=(0,vs.useCallback)((0,ug.useDebounce)(a,1e3),[]);return(0,vs.useEffect)((()=>{s(),l(n)}),[o,i,n,l]),(0,gs.jsx)(us.BaseControl,{id:t,label:t,className:"ghostkit-component-transition-preview-wrapper",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.Button,{className:"ghostkit-component-transition-preview",ref:o,onClick:e=>{e.preventDefault(),a(n)},children:(0,gs.jsx)("span",{ref:i})})})}const gg={easing:[.42,0,.58,1],delay:0,duration:.9},fg={linear:{label:(0,bs.__)("Linear","ghostkit"),easing:[0,0,1,1],delay:0,duration:.9},"ease-in":{label:(0,bs.__)("Ease In","ghostkit"),easing:[.42,0,1,1],delay:0,duration:.9},"ease-out":{label:(0,bs.__)("Ease Out","ghostkit"),easing:[0,0,.58,1],delay:0,duration:.9},"ease-in-out":{label:(0,bs.__)("Ease In Out","ghostkit"),easing:[.42,0,.58,1],delay:0,duration:.9},"ease-in-back":{label:(0,bs.__)("Ease In Back","ghostkit"),easing:[.36,0,.66,-.56],delay:0,duration:.9},"ease-out-back":{label:(0,bs.__)("Ease Out Back","ghostkit"),easing:[.34,1.56,.64,1],delay:0,duration:.9},"ease-in-out-back":{label:(0,bs.__)("Ease In Out Back","ghostkit"),easing:[.68,-.6,.32,1.6],delay:0,duration:.9}},mg=us.__stableNumberControl||us.__experimentalNumberControl;function vg(e){const{value:t,onChange:n,variant:o="",backgroundColor:i}=e;let r={value:t,width:228,height:140,padding:[25,55,25,55],background:"transparent",color:"#ccc",gridColor:"transparent",curveColor:"#bfbfbf",progressColor:"#ccc",handleColor:"var(--wp-admin-theme-color)",curveWidth:2,handleRadius:6,handleStroke:2,textStyle:{display:"none"},onChange(e){n&&n(e)}};return"preview"===o&&(r={...r,readOnly:!0,width:20,height:20,padding:[3,3,3,3],curveColor:"#fff",curveWidth:1.5}),(0,gs.jsx)("div",{className:cs()("ghostkit-component-bezier-editor",o&&`ghostkit-component-bezier-editor-${o}`),style:i?{backgroundColor:i}:{},children:(0,gs.jsx)(cg.A,{...r})})}function bg(e){const{value:t,onChange:n,enableDelayControl:o=!0}=e,[i,r]=(0,vs.useState)();function s(e){e.easing&&e.easing.length&&(e.easing[0]=Math.max(Math.min(e.easing[0],1),0),e.easing[2]=Math.max(Math.min(e.easing[2],1),0)),n({...t,...e})}let a=t?.easing;a&&4===a.length||(a=gg.easing),(0,vs.useEffect)((()=>{let e="custom";Object.keys(fg).forEach((t=>{const n=fg[t].easing;JSON.stringify(a)===JSON.stringify(n)&&(e=t)})),r(e)}),[i,a]);const l=[..."custom"===i?[{value:"custom",label:(0,bs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(fg).map((e=>({value:e,label:fg[e].label})))],c={value:i,label:i};function u(e){const t=e.clipboardData.getData("text");if(!t)return;const n=t.split(",");if(!n||4!==n.length)return;n[0]=n[0].replace(/^cubic-bezier/,"").replace(/^\(/,""),n[3]=n[3].replace(/\)$/,"");const o=n.map((e=>parseFloat(e)));o&&4===o.length&&(e.preventDefault(),s({easing:o}))}return c.value&&l.forEach((e=>{c.value===e.value&&(c.label=e.label)})),(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Ud,{value:c,onChange:({value:e})=>{fg?.[e]?.easing&&s({easing:fg[e].easing})},options:l,isSearchable:!1}),(0,gs.jsx)(vg,{value:a,onChange:e=>{s({easing:e.map((e=>Dr(e,2)))})}}),(0,gs.jsxs)(us.BaseControl,{id:(0,bs.__)("Bezier","ghostkit"),label:(0,bs.__)("Bezier","ghostkit"),className:"ghostkit-component-easing-controls-bezier",__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(mg,{value:a[0],onChange:e=>s({easing:[Dr(parseFloat(e),2),a[1],a[2],a[3]]}),onPaste:e=>u(e),min:0,max:1,step:.01}),(0,gs.jsx)(mg,{value:a[1],onChange:e=>s({easing:[a[0],Dr(parseFloat(e),2),a[2],a[3]]}),onPaste:e=>u(e),min:-5,max:5,step:.01}),(0,gs.jsx)(mg,{value:a[2],onChange:e=>s({easing:[a[0],a[1],Dr(parseFloat(e),2),a[3]]}),onPaste:e=>u(e),min:0,max:1,step:.01}),(0,gs.jsx)(mg,{value:a[3],onChange:e=>s({easing:[a[0],a[1],a[2],Dr(parseFloat(e),2)]}),onPaste:e=>u(e),min:-5,max:5,step:.01})]}),(0,gs.jsx)(mg,{label:(0,bs.__)("Duration","ghostkit"),suffix:"s ",value:t?.duration||0,onChange:e=>s({duration:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"90px",min:0,max:10,step:.01}),o&&(0,gs.jsx)(mg,{label:(0,bs.__)("Delay","ghostkit"),suffix:"s ",value:t?.delay||0,onChange:e=>s({delay:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"90px",min:0,max:10,step:.01}),(0,gs.jsx)(pg,{label:(0,bs.__)("Preview","ghostkit"),options:{type:"easing",duration:t?.duration||0,easing:a}})]})}const yg={fade:{label:(0,bs.__)("Fade In","ghostkit"),icon:Cr("sr-fade"),data:{opacity:0}},zoom:{label:(0,bs.__)("Zoom In","ghostkit"),icon:Cr("sr-zoom"),data:{scale:.9}},"zoom-up":{label:(0,bs.__)("Zoom In From Bottom","ghostkit"),icon:Cr("sr-zoom-from-bottom"),data:{y:50,scale:.9}},"zoom-left":{label:(0,bs.__)("Zoom In From Left","ghostkit"),icon:Cr("sr-zoom-from-left"),data:{x:-50,scale:.9}},"zoom-right":{label:(0,bs.__)("Zoom In From Right","ghostkit"),icon:Cr("sr-zoom-from-right"),data:{x:50,scale:.9}}};function wg(e){const{label:t,value:n,onChange:o}=e,[i,r]=(0,vs.useState)();(0,vs.useEffect)((()=>{let e="custom";const t={...n||{}};t?.transition&&delete t.transition,Object.keys(yg).forEach((n=>{const o={...yg[n].data};o?.transition&&delete o.transition,JSON.stringify(t)===JSON.stringify(o)&&(e=n)})),r(e)}),[i,n]);const s=[..."custom"===i?[{value:"custom",label:(0,bs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(yg).map((e=>({value:e,label:yg[e].label,icon:yg[e].icon})))],a={value:i,label:i};return a.value&&s.forEach((e=>{a.value===e.value&&(a.label=e.label)})),(0,Ke.createElement)(Ud,{label:t,value:a,onChange:e=>{yg?.[e.value]?.data&&o(yg[e.value].data)},options:s,isSearchable:!1})}const kg={stiffness:300,damping:35,mass:2,delay:0},_g={default:{label:(0,bs.__)("Default","ghostkit"),stiffness:300,damping:35,mass:2,delay:0},gentle:{label:(0,bs.__)("Gentle","ghostkit"),stiffness:100,damping:14,mass:1,delay:0},wobbly:{label:(0,bs.__)("Wobbly","ghostkit"),stiffness:200,damping:10,mass:1,delay:0},slow:{label:(0,bs.__)("Slow","ghostkit"),stiffness:8,damping:4,mass:1,delay:0},molasses:{label:(0,bs.__)("Molasses","ghostkit"),stiffness:10,damping:20,mass:4,delay:0}},xg=us.__stableNumberControl||us.__experimentalNumberControl,Cg=us.__stableGrid||us.__experimentalGrid,{Motion:{spring:Sg}}=window;function Eg(e){const{value:t,variant:n="",backgroundColor:o}=e,[i,r]=(0,vs.useState)(""),[s,a]=(0,vs.useState)(null);let l={width:228,height:140,padding:10,curveColor:"#bfbfbf",curveWidth:2,framesLength:2e3};return"preview"===n&&(l={...l,width:20,height:20,padding:3,curveColor:"#fff",curveWidth:1.5}),(0,vs.useEffect)((()=>{const e=Sg({stiffness:t?.stiffness,damping:t?.damping,mass:t?.mass,keyframes:[0,l.framesLength]}),n=l.width-2*l.padding,o=l.height-2*l.padding,i=[];for(let t=0;t<=l.framesLength;t++){const r=(l.framesLength-e.next(t).value)/l.framesLength,s=Dr(t/l.framesLength*n,4)+l.padding,a=Dr(r*o/2,4)+o/2+l.padding;i.push([s,a])}let s=`M${l.padding}`;for(let e=0,t=i.length;e{let e="custom";Object.keys(_g).forEach((n=>{t?.stiffness===_g[n].stiffness&&t?.damping===_g[n].damping&&t?.mass===_g[n].mass&&(e=n)})),r(e)}),[i,t]);const a=[..."custom"===i?[{value:"custom",label:(0,bs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(_g).map((e=>({value:e,label:_g[e].label})))],l={value:i,label:i};return l.value&&a.forEach((e=>{l.value===e.value&&(l.label=e.label)})),(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Ud,{value:l,onChange:({value:e})=>{_g?.[e]?.stiffness&&s({stiffness:_g[e].stiffness,damping:_g[e].damping,mass:_g[e].mass})},options:a,isSearchable:!1}),(0,gs.jsx)(Eg,{value:t}),(0,gs.jsxs)(Cg,{columns:3,children:[(0,gs.jsx)(xg,{label:(0,bs.__)("Stiffness","ghostkit"),value:t?.stiffness,onChange:e=>s({stiffness:parseFloat(e)}),min:1,max:1e3,step:1}),(0,gs.jsx)(xg,{label:(0,bs.__)("Damping","ghostkit"),value:t?.damping,onChange:e=>s({damping:parseFloat(e)}),min:0,max:100,step:.1}),(0,gs.jsx)(xg,{label:(0,bs.__)("Mass","ghostkit"),value:t?.mass,onChange:e=>s({mass:parseFloat(e)}),min:0,max:10,step:.05})]}),o&&(0,gs.jsx)(xg,{label:(0,bs.__)("Delay","ghostkit"),suffix:"s ",value:t?.delay||0,onChange:e=>s({delay:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"90px",min:0,max:10,step:.01}),(0,gs.jsx)(pg,{label:(0,bs.__)("Preview","ghostkit"),options:{type:"spring",stiffness:t?.stiffness,damping:t?.damping,mass:t?.mass}})]})}function Tg(e){const{label:t,value:n,onChange:o,enableEasing:i=!0,enableSpring:r=!0,enableDelayControl:s=!0,allowReset:a=!1}=e,[l,c]=(0,vs.useState)(!1);let u=n?.easing;u&&4===u.length||(u=gg.easing);let h="";const d=a&&n&&(0,gs.jsx)("span",{className:"ghostkit-component-transition-selector-reset",onClick:e=>{e.preventDefault(),e.stopPropagation(),c(!1),o(void 0)},onKeyDown:()=>{},role:"button",tabIndex:0,children:(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",children:(0,gs.jsx)("path",{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})});return h="easing"===n?.type?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(vg,{variant:"preview",value:u}),(0,bs.__)("Easing","ghostkit"),d]}):"spring"===n?.type?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Eg,{variant:"preview",value:n}),(0,bs.__)("Spring","ghostkit"),d]}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Eg,{variant:"preview",value:{type:"spring",stiffness:930,damping:40,mass:6,delay:0},backgroundColor:"#c3c3c3"}),(0,bs.__)("Add…","ghostkit")]}),!(!i&&!r)&&(0,gs.jsx)(us.BaseControl,{id:t,label:t,__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)(ks,{label:h,className:"ghostkit-component-transition-selector",contentClassName:"ghostkit-component-transition-selector-content",isOpenTransition:l,onToggle:e=>{c(e)},onClick:e=>{if("spring"===n?.type||"easing"===n?.type)e();else{const e={type:"spring",...kg};delete e.label,o(e)}},children:[i&&r&&(0,gs.jsx)(lg,{value:n?.type||"spring",options:[{label:(0,bs.__)("Easing","ghostkit"),value:"easing"},{label:(0,bs.__)("Spring","ghostkit"),value:"spring"}],onChange:e=>{const t="easing"===e?{type:"easing",...gg}:{type:"spring",...kg};delete t.label,o(t)},isBlock:!0}),r&&"easing"!==n?.type&&(0,gs.jsx)(Ag,{value:n,onChange:e=>{o(e)},enableDelayControl:s}),i&&"easing"===n?.type&&(0,gs.jsx)(bg,{value:n,onChange:e=>{o(e)},enableDelayControl:s})]})})}const{GHOSTKIT:$g}=window,{version:Mg}=window.ghostkitVariables;function Rg(e){return""===e?(0,bs.__)("Default Site Font","ghostkit"):e}function jg(e){let t="";switch(e){case"":t=(0,bs.__)("Default","ghostkit");break;case"100":t=(0,bs.__)("Thin","ghostkit");break;case"100i":t=(0,bs.__)("Thin Italic","ghostkit");break;case"200":t=(0,bs.__)("Extra Light","ghostkit");break;case"200i":t=(0,bs.__)("Extra Light Italic","ghostkit");break;case"300":t=(0,bs.__)("Light","ghostkit");break;case"300i":t=(0,bs.__)("Light Italic","ghostkit");break;case"400":t=(0,bs.__)("Regular","ghostkit");break;case"400i":t=(0,bs.__)("Regular Italic","ghostkit");break;case"500":t=(0,bs.__)("Medium","ghostkit");break;case"500i":t=(0,bs.__)("Medium Italic","ghostkit");break;case"600":t=(0,bs.__)("Semi Bold","ghostkit");break;case"600i":t=(0,bs.__)("Semi Bold Italic","ghostkit");break;case"700":t=(0,bs.__)("Bold","ghostkit");break;case"700i":t=(0,bs.__)("Bold Italic","ghostkit");break;case"800":t=(0,bs.__)("Extra Bold","ghostkit");break;case"800i":t=(0,bs.__)("Extra Bold Italic","ghostkit");break;case"900":t=(0,bs.__)("Black","ghostkit");break;case"900i":t=(0,bs.__)("Black Italic","ghostkit")}return t}function Og(e,t){const{fonts:n}=$g,o=[];return""!==e&&""!==t&&void 0!==e&&void 0!==t&&void 0!==n[t]&&Object.keys(n[t].fonts).forEach((i=>{n[t].fonts[i].name===e&&Object.keys(n[t].fonts[i].widths).forEach((e=>{const r=n[t].fonts[i].widths[e];o.push({value:r,label:jg(r)})}))})),o}class Lg extends vs.Component{render(){let{fontFamilyCategory:e}=this.props;e="default"===e?"google-fonts":e;const{onChange:t,placeholders:n,label:o,fontFamily:i,fontWeight:r,fontSize:s,lineHeight:a,letterSpacing:l,childOf:c,fontWeights:u=Og(Rg(i),e)}=this.props,h=`icon-typography-${e}`,d=(0,os.applyFilters)("ghostkit.typography.allow.fonts","adobe-fonts"!==e&&"custom-fonts"!==e,e),p={value:i,label:Rg(i),fontFamilyCategory:e},g={value:r,label:jg(r)},f=void 0===s?"":s,m=function(e="google-fonts"){const{fonts:t}=$g,n=[];return Object.keys(t).forEach((o=>{Object.keys(t[o].fonts).forEach((i=>{const r=t[o].fonts[i];let s=r.name;"default"===o&&(s=""),e!==o&&"default"!==o||n.push({value:s,label:r.label||r.name,fontFamilyCategory:o})}))})),n}(e);return p.value&&m.forEach((e=>{p.value===e.value&&(p.label=e.label)})),(0,Ke.createElement)("div",{className:"ghostkit-typography"+(c?` ghostkit-typography-child ghostkit-typography-child-of-${c}`:"")},(0,Ke.createElement)("h4",null,o),(0,Ke.createElement)("div",{className:"ghostkit-control-typography"},void 0!==e?(0,Ke.createElement)(us.DropdownMenu,{icon:Cr(h,!1),label:(0,bs.__)("Font Family Category","ghostkit"),popoverProps:{position:"bottom right"},menuProps:{className:"ghostkit-typography-font-category-control-menu"},toggleProps:{className:"ghostkit-typography-font-category-control-toggle"},hasArrowIndicator:!0},(({onClose:e})=>(0,Ke.createElement)(us.MenuGroup,null,(0,Ke.createElement)(us.MenuItem,{icon:Cr("icon-typography-google-fonts",!1),onClick:()=>{t({fontFamilyCategory:"google-fonts",fontFamily:"",fontWeight:""}),e()}},(0,bs.__)("Google Fonts","ghostkit")),(0,Ke.createElement)(us.MenuItem,{icon:Cr("icon-typography-adobe-fonts",!1),onClick:()=>{t({fontFamilyCategory:"adobe-fonts",fontFamily:"",fontWeight:""}),e()}},(0,bs.__)("Adobe Fonts","ghostkit"),(0,Ke.createElement)("span",{className:"ghostkit-typography-badge-pro"},(0,bs.__)("PRO","ghostkit"))),(0,Ke.createElement)(us.MenuItem,{icon:Cr("icon-typography-custom-fonts",!1),onClick:()=>{t({fontFamilyCategory:"custom-fonts",fontFamily:"",fontWeight:""}),e()}},(0,bs.__)("Custom Fonts","ghostkit"),(0,Ke.createElement)("span",{className:"ghostkit-typography-badge-pro"},(0,bs.__)("PRO","ghostkit")))))):null,(0,Ke.createElement)(is,{name:"ghostkit.typography.fontFamilySelector.info",props:this.props},"adobe-fonts"===e?(0,Ke.createElement)("div",{className:"ghostkit-typography-information-control ghostkit-typography-font-control"},(0,bs.__)("Adobe Fonts available for Pro users only. Read more about Ghost Kit Pro plugin here - ","ghostkit"),(0,Ke.createElement)(us.ExternalLink,{href:`https://www.ghostkit.io/pricing/?utm_source=plugin&utm_medium=settings&utm_campaign=adobe_fonts&utm_content=${Mg}`},"https://www.ghostkit.io/pricing/")):null,"custom-fonts"===e?(0,Ke.createElement)("div",{className:"ghostkit-typography-information-control ghostkit-typography-font-control"},(0,bs.__)("Custom Fonts available for Pro users only. Read more about Ghost Kit Pro plugin here - ","ghostkit"),(0,Ke.createElement)(us.ExternalLink,{href:`https://www.ghostkit.io/pricing/?utm_source=plugin&utm_medium=settings&utm_campaign=custom_fonts&utm_content=${Mg}`},"https://www.ghostkit.io/pricing/")):null),void 0!==i&&d?(0,Ke.createElement)("div",{className:"ghostkit-typography-font-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Font Family","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Ud,{value:p,onChange:n=>{t({fontFamily:n&&n.value?n.value:"",fontWeight:n&&n.value?"400":"",fontFamilyCategory:e})},options:m,placeholder:(0,bs.__)("--- Select Font Family ---","ghostkit"),className:"ghostkit-typography-font-selector",menuPosition:"fixed"})))):null,void 0!==r&&d?(0,Ke.createElement)("div",{className:"ghostkit-typography-weight-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Font Weight","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Ud,{value:g,onChange:e=>{t({fontWeight:e&&e.value?e.value:""})},options:u,placeholder:(0,bs.__)("--- Select Weight ---","ghostkit"),className:"ghostkit-typography-weight-selector",classNamePrefix:"ghostkit-typography-weight-selector",menuPosition:"fixed"})))):null,void 0!==s?(0,Ke.createElement)("div",{className:"ghostkit-typography-size-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Font Size","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Zp,{value:f,placeholder:n["font-size"],onChange:e=>{t({fontSize:e})},autoComplete:"off",icon:Cr("icon-typography-font-size"),defaultUnit:"px"})))):null,void 0!==a?(0,Ke.createElement)("div",{className:"ghostkit-typography-line-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Line Height","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Zp,{value:a,placeholder:n["line-height"],onChange:e=>{t({lineHeight:e})},autoComplete:"off",icon:Cr("icon-typography-line-height"),step:.1})))):null,void 0!==l?(0,Ke.createElement)("div",{className:"ghostkit-typography-letter-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Letter Spacing","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Zp,{value:l,placeholder:n["letter-spacing"],onChange:e=>{t({letterSpacing:e})},autoComplete:"off",icon:Cr("icon-typography-letter-spacing"),defaultUnit:"em",step:.01})))):null))}}const Ig=window.wp.keycodes,Ng="noreferrer noopener";function Pg(e){const[t,n]=(0,vs.useState)(!1),{rel:o,target:i,url:r,ariaLabel:s,toolbarSettings:a=!0,inspectorSettings:l=!0,blockControlsGroup:c="block",isSelected:u}=e;function h(t){const n={rel:o,target:i,url:r,ariaLabel:s,...t};if(i!==n.target){let e=n.rel;n.target&&!n.rel?e=Ng:n.target||n.rel!==Ng||(e=void 0),n.rel=e}e.onChange(n)}function d(e){n(void 0!==e?e:!t)}function p(){return(0,gs.jsx)(ds.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:r,opensInNewTab:"_blank"===i},onChange:({url:e="",opensInNewTab:t})=>{h({url:e,target:t?"_blank":""})},onRemove:()=>{h({url:"",target:"",rel:""}),d(!1)}})}return(0,gs.jsxs)(gs.Fragment,{children:[a?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{group:c,children:(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarButton,{name:"link",icon:(0,gs.jsx)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false",children:(0,gs.jsx)("path",{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})}),title:(0,bs.__)("Link"),shortcut:Ig.displayShortcut.primary("k"),onClick:()=>d()})})}),u&&(0,gs.jsx)(us.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[Ig.rawShortcut.primary("k")]:d}}),t?(0,gs.jsx)(us.Popover,{position:"bottom center",onClose:()=>d(!1),children:p()}):null]}):null,l?(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Link Settings"),initialOpen:!1,className:"ghostkit-components-url-picker-inspector",children:[p(),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Link Rel"),value:o||"",onChange:e=>{h({rel:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Accessible Label"),value:s||"",onChange:e=>{h({ariaLabel:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}):null]})}function Dg(){return{ActiveIndicator:ns,ApplyFilters:is,CodeEditor:as,ColorIndicator:hs,ColorPalette:ps,ColorPicker:fs,DateTimePicker:ws,DropdownPicker:ks,EditorStyles:xs,ElementStateToggle:Cs,FocalPointPicker:Es,GoogleFonts:Zd,IconPicker:tp,ImagePicker:np,ImportantToggle:op,InputDrag:Zp,InputGroup:eg,MediaSizeSelector:ng,Modal:og,Notice:ig,RangeControl:rg,RemoveButton:sg,ResponsiveTabPanel:ag,ResponsiveToggle:Jp,Select:Ud,ToggleGroup:lg,transitionEasingControls:l,TransitionPresetsControl:wg,TransitionPreview:pg,TransitionSelector:Tg,transitionSpringControls:c,Typography:Lg,URLPicker:Pg}}const Bg=(0,Ze.createReduxStore)("ghostkit/base/components",{selectors:u,reducer:e=>e});function zg(e){return{type:"API_FETCH",request:e}}function Fg(e,t){return{type:"SET_IMAGE_TAG_DATA",query:e,image:t}}(0,Ze.register)(Bg);const Hg=window.wp.apiFetch;var Wg=n.n(Hg);function Vg({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}var Ug=n(5373),Gg=n.n(Ug);function qg({id:e,...t}){const n=Gg().stringify(t,{encode:!1});return`/ghostkit/v1/get_attachment_image/${e}${n?`?${n}`:""}`}function*Kg(e){const t=qg(e);return Fg(t,yield zg({path:t}))}function Yg(e,t){const n=qg(t);return e.images[n]}const Zg=(0,Ze.createReduxStore)("ghostkit/base/images",{reducer:function(e={images:{}},t={}){return"SET_IMAGE_TAG_DATA"===t.type?(!e.images[t.query]&&t.image&&(e.images[t.query]=t.image),e):e},selectors:g,actions:h,controls:d,resolvers:p});function Jg(e){return{type:"API_FETCH",request:e}}function Xg(e){return{type:"SET_TEMPLATES",templates:e}}function Qg(e){return{type:"SET_TEMPLATE_DATA",data:e}}function ef({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Zg);function*tf(){return Xg(yield Jg({path:"/ghostkit/v1/get_templates/"}))}function*nf(e){const t=`/ghostkit/v1/get_template_data/?id=${e}`,n=yield Jg({path:t});return n.id||(n.id=e),Qg(n)}function of(e){return e.templates}function rf(e,t){return e.templatesData[t]}const sf=(0,Ze.createReduxStore)("ghostkit/plugins/templates",{reducer:function(e={templates:!1,templatesData:{}},t={}){switch(t.type){case"SET_TEMPLATES":!e.templates&&t.templates&&(e.templates=t.templates);break;case"SET_TEMPLATE_DATA":t.templatesData&&t.templatesData.id&&!e.templatesData[t.templatesData.id]&&(e.templatesData[t.templatesData.id]=t.templatesData)}return e},selectors:b,actions:f,controls:m,resolvers:v});function af(e){return{type:"API_FETCH",request:e}}function lf(e){return{type:"SET_CUSTOM_CODE",data:e}}function cf(e){return{type:"UPDATE_CUSTOM_CODE",data:e}}function uf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(sf);function*hf(){return lf(yield af({path:"/ghostkit/v1/get_custom_code/"}))}function df(e){return e.data}function pf(e){return e.data}const gf=(0,Ze.createReduxStore)("ghostkit/plugins/custom-code",{reducer:function(e={data:!1},t={}){return"SET_CUSTOM_CODE"===t.type&&t.data?e.data?{data:(0,Xr.merge)(e.data,t.data)}:{data:t.data}:e},selectors:_,actions:y,controls:w,resolvers:k});function ff(e){return{type:"API_FETCH",request:e}}function mf(e,t){return{type:"SET_CUSTOMIZER_DATA",query:e,data:t}}function vf({request:e}){return Wg()(e).catch((async t=>t&&t.error&&"no_options_found"===t.error_code?(await async function(){return new Promise((e=>{const t=document.createElement("iframe");t.style.display="none",t.onload=()=>{t.parentNode.removeChild(t),e()},t.src=`${window.GHOSTKIT.adminUrl}customize.php`,document.body.appendChild(t)}))}(),Wg()(e)):t)).catch((e=>!(!e||!e.error||"no_options_found"!==e.error_code)&&{response:{},error:!1,success:!0})).then((e=>e&&e.success&&e.response?e.response:{}))}(0,Ze.register)(gf);function*bf(){const e="/ghostkit/v1/get_customizer/";return mf(e,yield ff({path:e}))}function yf(e){return e.data}const wf=(0,Ze.createReduxStore)("ghostkit/plugins/customizer",{reducer:function(e={data:!1},t={}){return"SET_CUSTOMIZER_DATA"===t.type&&!e.data&&t.data?{data:t.data}:e},selectors:E,actions:x,controls:C,resolvers:S});function kf(e){return{type:"API_FETCH",request:e}}function _f(e){return{type:"SET_CUSTOM_FONTS",data:e}}function xf(e){return{type:"UPDATE_CUSTOM_FONTS",data:e}}function Cf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(wf);function*Sf(){return _f(yield kf({path:"/ghostkit/v1/get_custom_fonts/"}))}function Ef(e){return e.data}function Af(e){return e.data}const Tf=(0,Ze.createReduxStore)("ghostkit/plugins/fonts",{reducer:function(e={data:!1},t={}){if("SET_CUSTOM_FONTS"===t.type&&t.data){if(e.data){let n=(0,Xr.merge)(e.data,t.data);return t.data.google&&t.data.google&&(n.google=t.data.google),n=(0,os.applyFilters)("ghostkit.store.fonts.reducer.result",n,t),{data:n}}return{data:t.data}}return e},selectors:M,actions:A,controls:T,resolvers:$});function $f(e){return{type:"API_FETCH",request:e}}function Mf(e){return{type:"SET_CUSTOM_TYPOGRAPHY",data:e}}function Rf(e){return{type:"UPDATE_CUSTOM_TYPOGRAPHY",data:e}}function jf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Tf);function*Of(){return Mf(yield $f({path:"/ghostkit/v1/get_custom_typography/"}))}function Lf(e){return e.data}function If(e){return e.data}const Nf=(0,Ze.createReduxStore)("ghostkit/plugins/typography",{reducer:function(e={data:!1},t={}){return"SET_CUSTOM_TYPOGRAPHY"===t.type&&t.data?e.data?{data:(0,Xr.merge)(e.data,t.data)}:{data:t.data}:e},selectors:L,actions:R,controls:j,resolvers:O});function Pf(e){return{type:"API_FETCH",request:e}}function Df(e,t){return{type:"SET_INSTAGRAM_FEED",query:e,feed:t}}function Bf(e,t){return{type:"SET_INSTAGRAM_PROFILE",query:e,profile:t}}function zf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Nf);function Ff(e,t){const n=Gg().stringify(t,{encode:!1});return`/ghostkit/v1/get_instagram_${e}/${n?`?${n}`:""}`}function*Hf(e){const t=Ff("feed",e);return Df(t,yield Pf({path:t}))}function*Wf(e){const t=Ff("profile",e);return Bf(t,yield Pf({path:t}))}function Vf(e,t){const n=Ff("feed",t);return e.feeds[n]}function Uf(e,t){const n=Ff("profile",t);return e.profiles[n]}const Gf=(0,Ze.createReduxStore)("ghostkit/blocks/instagram",{reducer:function(e={feeds:{},profiles:{}},t={}){switch(t.type){case"SET_INSTAGRAM_FEED":!e.feeds[t.query]&&t.feed&&(e.feeds[t.query]=t.feed);break;case"SET_INSTAGRAM_PROFILE":!e.profiles[t.query]&&t.profile&&(e.profiles[t.query]=t.profile)}return e},selectors:D,actions:I,controls:N,resolvers:P});function qf(e){return{type:"API_FETCH",request:e}}function Kf(e,t){return{type:"SET_TWITTER_FEED",query:e,feed:t}}function Yf(e,t){return{type:"SET_TWITTER_PROFILE",query:e,profile:t}}function Zf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Gf);function Jf(e,t){const n=Gg().stringify(t,{encode:!1});return`/ghostkit/v1/get_twitter_${e}/${n?`?${n}`:""}`}function*Xf(e){const t=Jf("feed",e);return Kf(t,yield qf({path:t}))}function*Qf(e){const t=Jf("profile",e);return Yf(t,yield qf({path:t}))}function em(e,t){const n=Jf("feed",t);return e.feeds[n]}function tm(e,t){const n=Jf("profile",t);return e.profiles[n]}const nm=(0,Ze.createReduxStore)("ghostkit/blocks/twitter",{reducer:function(e={feeds:{},profiles:{}},t={}){switch(t.type){case"SET_TWITTER_FEED":!e.feeds[t.query]&&t.feed&&(e.feeds[t.query]=t.feed);break;case"SET_TWITTER_PROFILE":!e.profiles[t.query]&&t.profile&&(e.profiles[t.query]=t.profile)}return e},selectors:H,actions:B,controls:z,resolvers:F});function om(e){return{type:"API_FETCH",request:e}}function im(e,t){return{type:"SET_TOC",query:e,toc:t}}function rm({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(nm);function sm(e){const t=Gg().stringify(e,{encode:!0});return"/ghostkit/v1/get_table_of_contents/"+(t?`?${t}`:"")}function*am(e){const t=sm(e);return im(t,yield om({path:t}))}function lm(e,t){const n=sm(t);return e.toc[n]}const cm=(0,Ze.createReduxStore)("ghostkit/blocks/table-of-contents",{reducer:function(e={toc:{}},t={}){return"SET_TOC"===t.type&&!e.toc[t.query]&&t.toc&&(e.toc[t.query]=t.toc),e},selectors:G,actions:W,controls:V,resolvers:U});(0,Ze.register)(cm);const um=window.wp.blocks,hm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/accordion","category":"ghostkit","title":"Accordion","description":"Toggle the visibility of content across your project.","keywords":["accordion","collapsible","collapse"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"itemsCount":{"type":"number","default":2},"collapseOne":{"type":"boolean","default":false},"collapseTitleTag":{"type":"string","default":"div"}},"providesContext":{"ghostkit/collapseTitleTag":"collapseTitleTag"}}'),dm="ghostkit/accordion-item",{name:pm}=hm,gm={from:[{type:"block",blocks:["ghostkit/tabs-v2"],transform(e,t){const{tabsData:n,tabActive:o}=e;return(0,um.createBlock)("ghostkit/accordion",{itemsCount:t.length},t.map(((e,t)=>(0,um.createBlock)("ghostkit/accordion-item",{heading:n[t]?n[t].title:(0,bs.__)("Accordion Item","ghostkit"),active:!!n[t]&&n[t].slug===o},e.innerBlocks))))}}]},{name:fm}=hm,mm={icon:Cr("block-accordion",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/accordion/"},example:{innerBlocks:[{name:"ghostkit/accordion-item",attributes:{active:!0,heading:"Accordion Item 1",itemNumber:1},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},{name:"ghostkit/accordion-item",attributes:{active:!1,heading:"Accordion Item 2",itemNumber:2}}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{itemsCount:r,collapseOne:s,collapseTitleTag:a}=t,{isSelectedBlockInRoot:l,count:c}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,hasSelectedInnerBlock:n,getBlockCount:i}=e("core/block-editor");return{isSelectedBlockInRoot:t(o)||n(o,!0),count:i(o)}}),[o]);(0,vs.useEffect)((()=>{c!==r&&n({itemsCount:c})}),[c,r,n]);const{insertBlock:u}=(0,Ze.useDispatch)("core/block-editor");i=cs()(i,"ghostkit-accordion"),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const h=(0,ds.useBlockProps)(),d=(0,ds.useInnerBlocksProps)({className:i},{allowedBlocks:[dm],template:[[dm],[dm]]});return(0,gs.jsxs)("div",{...h,children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Collapse one item only","ghostkit"),checked:!!s,onChange:e=>n({collapseOne:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Collapse Title HTML Element","ghostkit"),value:a,options:[{value:"div",label:(0,bs.__)("Default (
)","ghostkit")},{value:"h1",label:(0,bs.__)("

","ghostkit")},{value:"h2",label:(0,bs.__)("

","ghostkit")},{value:"h3",label:(0,bs.__)("

","ghostkit")},{value:"h4",label:(0,bs.__)("

","ghostkit")},{value:"h5",label:(0,bs.__)("

","ghostkit")},{value:"h6",label:(0,bs.__)("
","ghostkit")}],onChange:e=>n({collapseTitleTag:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}),(0,gs.jsx)("div",{...d}),l?(0,gs.jsx)("div",{className:"ghostkit-accordion-add-item",children:(0,gs.jsx)(us.Button,{variant:"secondary",icon:(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img",focusable:"false",children:(0,gs.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})}),onClick:()=>{u((0,um.createBlock)(dm),void 0,o)},children:(0,bs.__)("Add Accordion Item","ghostkit")})}):null]})},save:function(e){const{itemsCount:t,collapseOne:n}=e.attributes;let o=cs()("ghostkit-accordion",`ghostkit-accordion-${t}`,n&&"ghostkit-accordion-collapse-one");o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:pm,...e});const i=ds.useBlockProps.save({className:o}),r=ds.useInnerBlocksProps.save(i);return(0,Ke.createElement)("div",{...r})},transforms:gm},vm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/accordion-item","parent":["ghostkit/accordion"],"category":"ghostkit","title":"Item","description":"A single item within a accordion block.","supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"reusable":false,"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"usesContext":["ghostkit/collapseTitleTag"],"attributes":{"heading":{"type":"string","source":"html","selector":".ghostkit-accordion-item-label","default":"Accordion Item"},"titleTag":{"type":"string","default":"div"},"slug":{"type":"string"},"active":{"type":"boolean","default":false}}}'),{name:bm}=vm,ym=[{...vm,save:function(e){const{attributes:t}=e,{heading:n,active:o,slug:i,titleTag:r}=t;let s=cs()("ghostkit-accordion-item",o&&"ghostkit-accordion-item-active");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:bm,...e});const a=r||"div",l=ds.useBlockProps.save({className:s}),c=ds.useInnerBlocksProps.save({className:"ghostkit-accordion-item-content"});return(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(a,{className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)("a",{href:`#${i}`},(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-accordion-item-label",tagName:"span",value:n}),(0,Ke.createElement)("span",{className:"ghostkit-accordion-item-collapse"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"}))))),(0,Ke.createElement)("div",{...c}))}},{...vm,save:class extends vs.Component{render(){const{attributes:e}=this.props,{heading:t,active:n,slug:o}=e;let i=cs()("ghostkit-accordion-item",n&&"ghostkit-accordion-item-active");return i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:bm,...this.props}),(0,Ke.createElement)("div",{className:i},(0,Ke.createElement)("a",{href:`#${o}`,className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-accordion-item-label",tagName:"span",value:t}),(0,Ke.createElement)("span",{className:"ghostkit-accordion-item-collapse"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"})))),(0,Ke.createElement)("div",{className:"ghostkit-accordion-item-content"},(0,Ke.createElement)(ds.InnerBlocks.Content,null)))}}}],{name:wm}=vm,{name:km}=vm,_m={icon:Cr("block-accordion-item",!0),edit:function(e){const{attributes:t,setAttributes:n,context:o,clientId:i}=e,{heading:r,slug:s,active:a,titleTag:l}=t,c=(0,vs.useRef)(),u=o["ghostkit/collapseTitleTag"]||"div";(0,vs.useEffect)((()=>{if(c.current){const e=Ir(`accordion ${r}`,i);n({slug:e})}else c.current=!0}),[r,s]),(0,vs.useEffect)((()=>{l!==u&&n({titleTag:u})}),[u,n,l]);let h=cs()(t.className,"ghostkit-accordion-item",a&&"ghostkit-accordion-item-active");h=(0,os.applyFilters)("ghostkit.editor.className",h,e);const{hasChildBlocks:d}=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return{hasChildBlocks:!!t&&t.getBlockOrder(i).length>0}}),[i]),p=l||"div",g=(0,ds.useBlockProps)({className:h,"data-accordion":s}),f=(0,ds.useInnerBlocksProps)({id:`${s}-content`,className:"ghostkit-accordion-item-content"},{templateLock:!1,renderAppender:d?void 0:ds.InnerBlocks.ButtonBlockAppender});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:Cr("block-accordion-collapse"),label:(0,bs.__)("Collapse","ghostkit"),onClick:()=>n({active:!a}),isActive:a}))),(0,Ke.createElement)("div",{...g},(0,Ke.createElement)(p,{className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)(ds.RichText,{tagName:"div",id:`${s}-button`,className:"ghostkit-accordion-item-label",placeholder:(0,bs.__)("Write label…","ghostkit"),value:r,onChange:e=>{n({heading:e})},withoutInteractiveFormatting:!0}),(0,Ke.createElement)("button",{className:"ghostkit-accordion-item-collapse",onClick:()=>n({active:!a})},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"})))),(0,Ke.createElement)("div",{...f})))},save:function(e){const{attributes:t}=e,{heading:n,active:o,slug:i,titleTag:r}=t;let s=cs()("ghostkit-accordion-item",o&&"ghostkit-accordion-item-active");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:wm,...e});const a=r||"div",l=ds.useBlockProps.save({className:s,"data-accordion":i}),c=ds.useInnerBlocksProps.save({id:`${i}-content`,className:"ghostkit-accordion-item-content",role:"region","aria-labelledby":`${i}-button`});return(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(a,{className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)("button",{type:"button",id:`${i}-button`,"aria-expanded":o?"true":"false","aria-controls":`${i}-content`},(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-accordion-item-label",tagName:"span",value:n}),(0,Ke.createElement)("span",{className:"ghostkit-accordion-item-collapse"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"}))))),(0,Ke.createElement)("div",{...c}))},deprecated:ym},xm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/alert","category":"ghostkit","title":"Alert","description":"Provide contextual feedback messages for user actions.","keywords":["alert","notification"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"color":{"type":"string"},"hoverColor":{"type":"string"},"icon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.8681%204.0311C12.7806%203.87815%2012.6542%203.75104%2012.5018%203.66263C12.3494%203.57422%2012.1763%203.52766%2012.0001%203.52766C11.8239%203.52766%2011.6508%203.57422%2011.4984%203.66263C11.346%203.75104%2011.2196%203.87815%2011.1321%204.0311L3.14706%2018.0041C3.06016%2018.1562%203.01475%2018.3285%203.01539%2018.5037C3.01602%2018.6789%203.06268%2018.8509%203.15068%2019.0024C3.23868%2019.1539%203.36494%2019.2796%203.51682%2019.367C3.66869%2019.4543%203.84085%2019.5002%204.01606%2019.5001H19.9841C20.1593%2019.5002%2020.3315%2019.4543%2020.4833%2019.367C20.6352%2019.2796%2020.7615%2019.1539%2020.8495%2019.0024C20.9375%2018.8509%2020.9841%2018.6789%2020.9848%2018.5037C20.9854%2018.3285%2020.94%2018.1562%2020.8531%2018.0041L12.8681%204.0301V4.0311ZM9.83006%203.2871C10.7901%201.6071%2013.2121%201.6071%2014.1721%203.2871L22.1561%2017.2601C23.1081%2018.9261%2021.9051%2021.0001%2019.9861%2021.0001H4.01406C2.09506%2021.0001%200.892055%2018.9261%201.84406%2017.2601L9.82906%203.2871H9.83006ZM12.0001%207.9631C12.199%207.9631%2012.3898%208.04212%2012.5304%208.18277C12.6711%208.32342%2012.7501%208.51419%2012.7501%208.7131V12.2501C12.7501%2012.449%2012.6711%2012.6398%2012.5304%2012.7804C12.3898%2012.9211%2012.199%2013.0001%2012.0001%2013.0001C11.8012%2013.0001%2011.6104%2012.9211%2011.4698%2012.7804C11.3291%2012.6398%2011.2501%2012.449%2011.2501%2012.2501V8.7131C11.2501%208.51419%2011.3291%208.32342%2011.4698%208.18277C11.6104%208.04212%2011.8012%207.9631%2012.0001%207.9631ZM12.0001%2015.0001C11.7349%2015.0001%2011.4805%2015.1055%2011.293%2015.293C11.1055%2015.4805%2011.0001%2015.7349%2011.0001%2016.0001C11.0001%2016.2653%2011.1055%2016.5197%2011.293%2016.7072C11.4805%2016.8948%2011.7349%2017.0001%2012.0001%2017.0001C12.2653%2017.0001%2012.5197%2016.8948%2012.7072%2016.7072C12.8947%2016.5197%2013.0001%2016.2653%2013.0001%2016.0001C13.0001%2015.7349%2012.8947%2015.4805%2012.7072%2015.293C12.5197%2015.1055%2012.2653%2015.0001%2012.0001%2015.0001Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"iconSize":{"type":"number"},"hideButton":{"type":"boolean","default":false}}}'),{name:Cm}=xm,Sm={from:[{type:"block",blocks:["ghostkit/counter-box"],transform:(e,t)=>(0,um.createBlock)("ghostkit/alert",{iconSize:e.numberSize,color:e.numberColor,hoverColor:e.hoverNumberColor},t)},{type:"block",blocks:["ghostkit/icon-box"],transform:(e,t)=>(0,um.createBlock)("ghostkit/alert",{iconSize:e.iconSize,color:e.iconColor,hoverColor:e.hoverIconColor},t)}]},{name:Em}=xm,Am={icon:Cr("block-alert",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/alert/",customStylesCallback(e){const t={"--gkt-alert__border-color":e.color||void 0,"--gkt-alert--icon__font-size":void 0,"--gkt-alert--icon__color":e.color||void 0,"&:hover":{"--gkt-alert__border-color":e.hoverColor||void 0,"--gkt-alert--icon__color":e.hoverColor||void 0}};return void 0!==e.iconSize&&""!==e.iconSize&&(t["--gkt-alert--icon__font-size"]=`${e.iconSize}px`),t}},example:{attributes:{color:"#E47F3B",ghostkit:{id:"example-alert"},className:"ghostkit-custom-example-alert"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},edit:function(e){const{attributes:t,setAttributes:n}=e;let{className:o=""}=e;const{color:i,hoverColor:r,icon:s,iconSize:a,hideButton:l}=t,c=(0,Ze.useSelect)((t=>{const n=t("core/block-editor");return!!n&&n.getBlockOrder(e.clientId).length>0}),[e.clientId]);o=cs()("ghostkit-alert",o),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const u=(0,ds.useBlockProps)({className:o}),h=(0,ds.useInnerBlocksProps)({className:"ghostkit-alert-content"},{renderAppender:c?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarDropdownMenu,{icon:"info",label:(0,bs.__)("Type","ghostkit"),controls:[{title:(0,bs.__)("Primary","ghostkit"),icon:"editor-help",isActive:"#2E77C3"===i,onClick:()=>n({color:"#2E77C3"})},{title:(0,bs.__)("Success","ghostkit"),icon:"marker",isActive:"#22CF6E"===i,onClick:()=>n({color:"#22CF6E"})},{title:(0,bs.__)("Danger","ghostkit"),icon:"dismiss",isActive:"#DC3232"===i,onClick:()=>n({color:"#DC3232"})},{title:(0,bs.__)("Warning","ghostkit"),icon:"warning",isActive:"#E47F3B"===i,onClick:()=>n({color:"#E47F3B"})},{title:(0,bs.__)("Info","ghostkit"),icon:"info",isActive:"#2DC7E8"===i,onClick:()=>n({color:"#2DC7E8"})}]})})}),(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,gs.jsx)(rg,{label:(0,bs.__)("Icon Size","ghostkit"),value:a,onChange:e=>n({iconSize:e}),min:20,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Dismiss button","ghostkit"),checked:!!l,onChange:e=>n({hideButton:e}),__nextHasNoMarginBottom:!0})}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:i})]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Color","ghostkit"),value:o?r:i,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0})})}})})]}),(0,gs.jsxs)("div",{...u,children:[s?(0,gs.jsx)("div",{className:"ghostkit-alert-icon",children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null,(0,gs.jsx)("div",{...h}),l?(0,gs.jsx)("div",{className:"ghostkit-alert-hide-button",children:(0,gs.jsx)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M6.21967 6.21967C6.51256 5.92678 6.98744 5.92678 7.28033 6.21967L12 10.9393L16.7197 6.21967C17.0126 5.92678 17.4874 5.92678 17.7803 6.21967C18.0732 6.51256 18.0732 6.98744 17.7803 7.28033L13.0607 12L17.7803 16.7197C18.0732 17.0126 18.0732 17.4874 17.7803 17.7803C17.4874 18.0732 17.0126 18.0732 16.7197 17.7803L12 13.0607L7.28033 17.7803C6.98744 18.0732 6.51256 18.0732 6.21967 17.7803C5.92678 17.4874 5.92678 17.0126 6.21967 16.7197L10.9393 12L6.21967 7.28033C5.92678 6.98744 5.92678 6.51256 6.21967 6.21967Z",fill:"currentColor"})})}):null]})]})},save:function(e){const{icon:t,hideButton:n}=e.attributes;let o="ghostkit-alert";o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:Cm,...e});const i=ds.useBlockProps.save({className:o}),r=ds.useInnerBlocksProps.save({className:"ghostkit-alert-content"});return(0,Ke.createElement)("div",{...i},t?(0,Ke.createElement)(tp.Render,{name:t,tag:"div",className:"ghostkit-alert-icon"}):null,(0,Ke.createElement)("div",{...r}),n?(0,Ke.createElement)("div",{className:"ghostkit-alert-hide-button"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M6.21967 6.21967C6.51256 5.92678 6.98744 5.92678 7.28033 6.21967L12 10.9393L16.7197 6.21967C17.0126 5.92678 17.4874 5.92678 17.7803 6.21967C18.0732 6.51256 18.0732 6.98744 17.7803 7.28033L13.0607 12L17.7803 16.7197C18.0732 17.0126 18.0732 17.4874 17.7803 17.7803C17.4874 18.0732 17.0126 18.0732 16.7197 17.7803L12 13.0607L7.28033 17.7803C6.98744 18.0732 6.51256 18.0732 6.21967 17.7803C5.92678 17.4874 5.92678 17.0126 6.21967 16.7197L10.9393 12L6.21967 7.28033C5.92678 6.98744 5.92678 6.51256 6.21967 6.21967Z",fill:"currentColor"}))):null)},transforms:Sm},Tm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/button","category":"ghostkit","title":"Buttons","description":"Change important links to buttons to get more click rate.","keywords":["btn","button"],"supports":{"html":false,"className":false,"anchor":true},"attributes":{"align":{"type":"string","default":"none"},"count":{"type":"number","default":1},"gap":{"type":"string","default":"md"},"gapCustom":{"type":"number"},"gapCustomVertical":{"type":"number"}}}'),$m={no:0,sm:15,md:30,lg:45};function Mm(e){const{gap:t,gapCustom:n,gapVerticalCustom:o,allowVerticalGap:i,onChange:r}=e;return(0,gs.jsxs)(us.BaseControl,{id:(0,bs.__)("Gap","ghostkit"),label:(0,bs.__)("Gap","ghostkit"),className:"ghostkit-components-gap-settings",__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(lg,{value:t,options:[{label:(0,bs.__)("None","ghostkit"),value:"no"},{label:(0,bs.__)("S","ghostkit"),value:"sm"},{label:(0,bs.__)("M","ghostkit"),value:"md"},{label:(0,bs.__)("L","ghostkit"),value:"lg"},{label:(0,gs.jsx)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false",children:(0,gs.jsx)("path",{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z",fill:"currentColor"})}),value:"custom"}],onChange:e=>{const n={gap:e};"custom"===e&&"custom"!==t&&void 0!==$m[t]&&(n.gapCustom=$m[t]),"custom"!==e&&(n.gapVerticalCustom=void 0),r(n)},isBlock:!0}),"custom"===t?(0,gs.jsxs)("div",{className:"ghostkit-components-gap-settings-custom",children:[(0,gs.jsx)(us.TextControl,{type:"number",help:i?(0,bs.__)("Horizontal","ghostkit"):"",value:n,onChange:e=>r({gapCustom:""===e?void 0:parseFloat(e)}),min:0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),i?(0,gs.jsx)(us.TextControl,{type:"number",help:(0,bs.__)("Vertical","ghostkit"),placeholder:n,value:o,onChange:e=>r({gapVerticalCustom:""===e?void 0:parseFloat(e)}),min:0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}):null]})}const Rm="ghostkit/button-single",{name:jm}=Tm,Om={from:[{type:"block",blocks:["core/button"],transform:e=>(0,um.createBlock)("ghostkit/button",{align:e.align,count:1},[(0,um.createBlock)("ghostkit/button-single",{url:e.url,text:e.text})])}]},{name:Lm}=Tm,Im={icon:Cr("block-buttons",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/button/",customStylesCallback(e){const{gap:t,gapCustom:n,gapVerticalCustom:o}=e,i={"--gkt-button__gap":void 0,"--gkt-button__gap-vertical":void 0};if("custom"===t){if(void 0!==n){const e=n?"px":"%";i["--gkt-button__gap"]=`${n}${e}`}if(void 0!==o){const e=o?"px":"%";i["--gkt-button__gap-vertical"]=`${o}${e}`}}return i}},example:{attributes:{count:2,align:"center",gap:"lg"},innerBlocks:[{name:"ghostkit/button-single",attributes:{text:"Button 1",size:"xl",color:"#0366d6",ghostkit:{id:"example-button-1"},className:"ghostkit-custom-example-button-1"}},{name:"ghostkit/button-single",attributes:{text:"Button 2",size:"xl",color:"#2F1747",icon:'',borderRadius:50,ghostkit:{id:"example-button-2"},className:"ghostkit-custom-example-button-2"}}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{align:r,gap:s,gapCustom:a,gapVerticalCustom:l,count:c}=t,{block:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{getBlock:t,isBlockSelected:n,hasSelectedInnerBlock:i}=e("core/block-editor");return{block:t(o),isSelectedBlockInRoot:n(o)||i(o,!0)}}),[]),{insertBlock:d}=(0,Ze.useDispatch)("core/block-editor");(0,vs.useEffect)((()=>{u&&u.innerBlocks&&c!==u.innerBlocks.length&&n({count:u.innerBlocks.length})}),[u,u?.innerBlocks?.length,c,n]),i=cs()("ghostkit-button-wrapper",!!s&&`ghostkit-button-wrapper-gap-${s}`,!(!r||"none"===r)&&`ghostkit-button-wrapper-align-${r}`,i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const p=(0,ds.useBlockProps)({className:i}),{children:g,...f}=(0,ds.useInnerBlocksProps)({className:"ghostkit-button-wrapper-inner"},{allowedBlocks:[Rm],template:[[Rm]],orientation:"horizontal",directInsert:!0,templateInsertUpdatesSelection:!0,renderAppender:h?()=>(0,gs.jsx)(us.Tooltip,{text:(0,bs.__)("Add Button","ghostkit"),children:(0,gs.jsx)(us.Button,{className:"block-list-appender__toggle block-editor-button-block-appender",icon:(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",children:(0,gs.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})}),onClick:()=>{d((0,um.createBlock)(Rm),void 0,o)}})}):void 0});return(0,gs.jsxs)("div",{...p,children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:r,onChange:e=>n({align:e}),controls:["left","center","right"]})}),(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(Mm,{gap:s,gapCustom:a,gapVerticalCustom:l,onChange:e=>{n(e)},allowVerticalGap:!0}),(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Align","ghostkit"),label:(0,bs.__)("Align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:r,onChange:e=>n({align:e}),controls:["left","center","right"],isCollapsed:!1})})})]})}),(0,gs.jsx)("div",{...f,children:g})]})},save:function(e){const{align:t,gap:n}=e.attributes;let o=cs()("ghostkit-button-wrapper",!!n&&`ghostkit-button-wrapper-gap-${n}`,!(!t||"none"===t)&&`ghostkit-button-wrapper-align-${t}`);o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:jm,...e});const i=ds.useBlockProps.save({className:o}),{children:r,...s}=ds.useInnerBlocksProps.save({className:"ghostkit-button-wrapper-inner"});return(0,Ke.createElement)("div",{...i},(0,Ke.createElement)("div",{...s},r))},transforms:Om},Nm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/button-single","parent":["ghostkit/button","ghostkit/form","ghostkit/form-submit-button"],"category":"ghostkit","title":"Button","description":"A single button within a buttons wrapper block.","supports":{"html":false,"className":false,"anchor":true,"reusable":false},"attributes":{"tagName":{"type":"string"},"url":{"type":"string","source":"attribute","selector":"a.ghostkit-button","attribute":"href"},"ariaLabel":{"type":"string","source":"attribute","selector":"a.ghostkit-button","attribute":"aria-label"},"target":{"type":"string","source":"attribute","selector":"a.ghostkit-button","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a.ghostkit-button","attribute":"rel"},"text":{"type":"string","source":"html","selector":".ghostkit-button .ghostkit-button-text","default":"Button"},"hideText":{"type":"boolean","default":false},"icon":{"type":"string","default":""},"iconPosition":{"type":"string","default":"left"},"size":{"type":"string","default":"md"},"color":{"type":"string"},"textColor":{"type":"string"},"borderRadius":{"type":"number"},"borderWeight":{"type":"number"},"borderColor":{"type":"string"},"focusOutlineWeight":{"type":"number"},"hoverColor":{"type":"string"},"hoverTextColor":{"type":"string"},"hoverBorderColor":{"type":"string"},"focusOutlineColor":{"type":"string","default":"rgba(3, 102, 214, 0.5)"}}}'),{name:Pm}=Nm,Dm=[{...Nm,attributes:{tagName:{type:"string"},url:{type:"string",source:"attribute",selector:"a.ghostkit-button",attribute:"href"},target:{type:"string",source:"attribute",selector:"a.ghostkit-button",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a.ghostkit-button",attribute:"rel"},text:{type:"string",source:"html",selector:".ghostkit-button .ghostkit-button-text",default:"Button"},hideText:{type:"boolean",default:!1},icon:{type:"string",default:""},iconPosition:{type:"string",default:"left"},size:{type:"string",default:"md"},color:{type:"string"},textColor:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},focusOutlineWeight:{type:"number"},hoverColor:{type:"string"},hoverTextColor:{type:"string"},hoverBorderColor:{type:"string"},focusOutlineColor:{type:"string",default:"rgba(3, 102, 214, 0.5)"}},save:function(e){const{tagName:t,text:n,icon:o,iconPosition:i,hideText:r,url:s,target:a,rel:l,size:c,focusOutlineWeight:u,focusOutlineColor:h}=e.attributes;let d=cs()("ghostkit-button",c&&`ghostkit-button-${c}`,r&&"ghostkit-button-icon-only");u&&h&&(d=cs()(d,"ghostkit-button-with-outline")),d=(0,os.applyFilters)("ghostkit.blocks.className",d,{name:Pm,...e});const p=[];r||p.push((0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-button-text",value:n,key:"button-text"})),o&&p.unshift((0,Ke.createElement)(tp.Render,{name:o,tag:"span",className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===i?"right":"left"),key:"button-icon"}));const g=t||(s?"a":"span"),f=ds.useBlockProps.save({className:d,..."a"===g?{href:s,target:a||!1,rel:l||!1}:{}});return(0,Ke.createElement)(g,{...f},p)}}],Bm=[{label:"XS",value:"xs"},{label:"S",value:"sm"},{label:"M",value:"md"},{label:"L",value:"lg"},{label:"XL",value:"xl"}],{name:zm}=Nm,{name:Fm}=Nm,Hm={icon:Cr("block-button",!0),ghostkit:{customStylesCallback(e){const t={"--gkt-button__background-color":e.color||void 0,"--gkt-button__color":e.textColor||void 0,"--gkt-button__border-radius":void 0,"--gkt-button__border-width":void 0,"--gkt-button__border-color":e.borderColor||void 0,"--gkt-button-hover__background-color":e.hoverColor||void 0,"--gkt-button-hover__color":e.hoverTextColor||void 0,"--gkt-button-hover__border-color":e.hoverBorderColor||void 0,"--gkt-button-focus__background-color":e.hoverColor||void 0,"--gkt-button-focus__color":e.hoverTextColor||void 0,"--gkt-button-focus__box-shadow":void 0};return void 0!==e.borderRadius&&""!==e.borderRadius&&(t["--gkt-button__border-radius"]=`${e.borderRadius}px`),void 0!==e.borderWeight&&""!==e.borderWeight&&(t["--gkt-button__border-width"]=`${e.borderWeight}px`),void 0!==e.focusOutlineWeight&&e.focusOutlineColor&&(t["--gkt-button-focus__box-shadow"]=`0 0 0 ${e.focusOutlineWeight}px ${e.focusOutlineColor}`),t}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{tagName:i,text:r,icon:s,iconPosition:a,hideText:l,url:c,ariaLabel:u,target:h,rel:d,size:p,color:g,textColor:f,borderRadius:m,borderWeight:v,borderColor:b,focusOutlineWeight:y,focusOutlineColor:w,hoverColor:k,hoverTextColor:_,hoverBorderColor:x}=t;let{className:C=""}=t;const[S,E]=(0,vs.useState)("normal");(0,vs.useEffect)((()=>{o||E("normal")}),[o]);let A=!1,T=!1,$=!1;o&&(A=!0,"hover"===S?(A=!1,T=!0):"focus"===S&&(A=!1,$=!0)),C=cs()("ghostkit-button",p&&`ghostkit-button-${p}`,l&&"ghostkit-button-icon-only",A&&"ghostkit-button-is-normal-state",T&&"ghostkit-button-is-hover-state",$&&"ghostkit-button-is-focus-state",C),y&&w&&(C=cs()(C,"ghostkit-button-with-outline")),C=(0,os.applyFilters)("ghostkit.editor.className",C,e);const M=[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}];y&&w&&M.push({name:"focus",title:(0,bs.__)("Focus","ghostkit"),className:"ghostkit-control-tabs-tab"});const R=(0,ds.useBlockProps)({className:C});return(0,gs.jsxs)("div",{...R,children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)("div",{className:"blocks-size__main",children:(0,gs.jsx)(lg,{value:p,options:Bm,onChange:e=>{n({size:e})}})})}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Corner Radius","ghostkit"),value:m,min:0,max:50,onChange:e=>n({borderRadius:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Border Size","ghostkit"),value:v,min:0,max:6,onChange:e=>n({borderWeight:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Focus Outline Size","ghostkit"),value:y,min:0,max:6,onChange:e=>n({focusOutlineWeight:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Icon Only","ghostkit"),checked:!!l,onChange:e=>n({hideText:e}),__nextHasNoMarginBottom:!0}):null,s&&!l?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Icon Position","ghostkit"),value:a,options:[{value:"left",label:(0,bs.__)("Left","ghostkit")},{value:"right",label:(0,bs.__)("Right","ghostkit")}],onChange:e=>n({iconPosition:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:g}),(0,gs.jsx)(hs,{colorValue:f}),v?(0,gs.jsx)(hs,{colorValue:b}):null,y&&w?(0,gs.jsx)(hs,{colorValue:w}):null]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:M,onSelect:e=>{E(e)},children:t=>{const o="hover"===t.name;return"focus"===t.name?(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"focusOutlineColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Outline","ghostkit"),value:w,onChange:e=>n({focusOutlineColor:e}),alpha:!0})}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Background","ghostkit"),value:o?k:g,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0,gradient:!0})}),(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverTextColor":"textColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Text","ghostkit"),value:o?_:f,onChange:e=>n(o?{hoverTextColor:e}:{textColor:e}),alpha:!0})}),v?(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverBorderColor":"borderColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Border","ghostkit"),value:o?x:b,onChange:e=>n(o?{hoverBorderColor:e}:{borderColor:e}),alpha:!0})}):null]})}})})]}),i&&"a"!==i?null:(0,gs.jsx)(Pg,{url:c,rel:d,ariaLabel:u,target:h,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),s?(0,gs.jsx)("div",{className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===a?"right":"left"),children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null,l?null:(0,gs.jsx)(ds.RichText,{placeholder:(0,bs.__)("Write text…","ghostkit"),value:r,onChange:e=>n({text:e}),isSelected:o,withoutInteractiveFormatting:!0})]})},save:function(e){const{tagName:t,text:n,icon:o,iconPosition:i,hideText:r,url:s,ariaLabel:a,target:l,rel:c,size:u,focusOutlineWeight:h,focusOutlineColor:d}=e.attributes;let p=cs()("ghostkit-button",u&&`ghostkit-button-${u}`,r&&"ghostkit-button-icon-only");h&&d&&(p=cs()(p,"ghostkit-button-with-outline")),p=(0,os.applyFilters)("ghostkit.blocks.className",p,{name:zm,...e});const g=[];r||g.push((0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-button-text",value:n,key:"button-text"})),o&&g.unshift((0,Ke.createElement)(tp.Render,{name:o,tag:"span",className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===i?"right":"left"),key:"button-icon"}));const f=t||(s?"a":"span"),m=ds.useBlockProps.save({className:p,..."a"===f?{href:s,target:l||null,rel:c||null,"aria-label":a||null}:{}});return(0,Ke.createElement)(f,{...m},g)},deprecated:Dm},Wm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/carousel","category":"ghostkit","title":"Carousel","description":"Carousel for any type of content - images or other blocks.","keywords":["carousel","slider"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"effect":{"type":"string","default":"slide"},"speed":{"type":"number","default":0.2},"autoplay":{"type":"number","default":4},"autoplayHoverPause":{"type":"boolean","default":false},"slidesPerView":{"type":"number","default":3},"centeredSlides":{"type":"boolean","default":true},"loop":{"type":"boolean","default":true},"freeScroll":{"type":"boolean","default":false},"fadeEdges":{"type":"boolean","default":false},"fadeEdgesSize":{"type":"number","default":12},"showArrows":{"type":"boolean","default":true},"arrowPrevIcon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.7803%2017.7803C14.4874%2018.0732%2014.0126%2018.0732%2013.7197%2017.7803L8.4697%2012.5303C8.1768%2012.2374%208.1768%2011.7626%208.4697%2011.4697L13.7197%206.21967C14.0126%205.92678%2014.4874%205.92678%2014.7803%206.21967C15.0732%206.51256%2015.0732%206.98744%2014.7803%207.28033L10.0607%2012L14.7803%2016.7197C15.0732%2017.0126%2015.0732%2017.4874%2014.7803%2017.7803Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"arrowNextIcon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9.21967%206.2197C9.51256%205.9268%209.98744%205.9268%2010.2803%206.2197L15.5303%2011.4697C15.8232%2011.7626%2015.8232%2012.2374%2015.5303%2012.5303L10.2803%2017.7803C9.98744%2018.0732%209.51256%2018.0732%209.21967%2017.7803C8.92678%2017.4874%208.92678%2017.0126%209.21967%2016.7197L13.9393%2012L9.21967%207.2803C8.92678%206.9874%208.92678%206.5126%209.21967%206.2197Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"showBullets":{"type":"boolean","default":true},"dynamicBullets":{"type":"boolean","default":true},"gap":{"type":"number","default":15}}}'),Vm=us.NumberControl||us.__experimentalNumberControl,Um="ghostkit/carousel-slide";var Gm=n(6942),qm=n.n(Gm);const{name:Km}=Wm,{name:Ym}=Wm,Zm={icon:Cr("block-carousel",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/carousel/",customStylesCallback(e){const{fadeEdges:t,fadeEdgesSize:n}=e,o={"--gkt-carousel--fade-edges__size":void 0};return t&&void 0!==n&&""!==n&&(o["--gkt-carousel--fade-edges__size"]=`${n}%`),o}},example:{attributes:{slides:3},innerBlocks:[{name:"ghostkit/carousel-slide",innerBlocks:[{name:"core/image",attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"}}]},{name:"ghostkit/carousel-slide",innerBlocks:[{name:"core/image",attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}}]},{name:"ghostkit/carousel-slide"}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{effect:r,speed:s,autoplay:a,autoplayHoverPause:l,slidesPerView:c,centeredSlides:u,loop:h,freeScroll:d,fadeEdges:p,fadeEdgesSize:g,showArrows:f,arrowPrevIcon:m,arrowNextIcon:v,showBullets:b,dynamicBullets:y,gap:w}=t,{getBlocks:k,slidesCount:_,block:x}=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return{getBlocks:t.getBlocks,slidesCount:t.getBlockCount(o),block:t.getBlock(o)}})),{removeBlock:C,replaceInnerBlocks:S}=(0,Ze.useDispatch)("core/block-editor");i=cs()(i,"ghostkit-carousel",p&&"ghostkit-carousel-fade-edges"),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const E=(0,ds.useBlockProps)({className:i}),A=(0,ds.useInnerBlocksProps)({className:"ghostkit-carousel-items"},{template:[[Um],[Um],[Um]],allowedBlocks:[Um],templateLock:!1,orientation:"horizontal"});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Settings","ghostkit"),children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Slides","ghostkit"),value:_,onChange:e=>{if(e<1)C(x.clientId);else if(e>_){const t=e-_,n=[...k(x.clientId)];for(let e=1;e<=t;e+=1)n.push((0,um.createBlock)(Um,{size:3}));S(x.clientId,n,!1)}else if(e<_){const t=[...k(x.clientId)];t.splice(e,_-e),S(x.clientId,t,!1)}},min:2,max:20,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"fade"!==r?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Slides per view","ghostkit"),value:c,onChange:e=>n({slidesPerView:e}),min:1,max:8,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Gap","ghostkit"),value:w,onChange:e=>n({gap:e}),min:0,max:60,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(lg,{label:(0,bs.__)("Effect","ghostkit"),value:r,options:[{value:"slide",label:(0,bs.__)("Slide","ghostkit")},{value:"coverflow",label:(0,bs.__)("Coverflow","ghostkit")},{value:"fade",label:(0,bs.__)("Fade","ghostkit")}],onChange:e=>{n({effect:e})},isBlock:!0}),(0,gs.jsx)("div",{style:{borderTop:"1px solid #E0E0E0",marginBottom:"16px"}}),(0,gs.jsx)(rg,{label:(0,bs.__)("Speed (seconds)","ghostkit"),suffix:"s ",value:s,onChange:e=>n({speed:e}),min:0,max:10,step:.1,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Autoplay (seconds)","ghostkit"),value:a,onChange:e=>n({autoplay:e}),min:0,max:20,step:.3,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),a?(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Pause autoplay on mouse over","ghostkit"),checked:!!l,onChange:e=>n({autoplayHoverPause:e}),__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)("div",{style:{borderTop:"1px solid #E0E0E0",marginBottom:"16px"}}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Centered Slides","ghostkit"),checked:!!u,onChange:e=>n({centeredSlides:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Loop","ghostkit"),checked:!!h,onChange:e=>n({loop:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Free Scroll","ghostkit"),checked:!!d,onChange:e=>n({freeScroll:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Fade Edges","ghostkit"),checked:!!p,onChange:e=>n({fadeEdges:e}),__nextHasNoMarginBottom:!0}),p&&(0,gs.jsx)(Vm,{label:(0,bs.__)("Fade Edges Size","ghostkit"),suffix:"% ",value:g,onChange:e=>n({fadeEdgesSize:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"100px",disableUnits:!0,min:0,max:50})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Arrow","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show","ghostkit"),checked:!!f,onChange:e=>n({showArrows:e}),__nextHasNoMarginBottom:!0}),f?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Prev icon","ghostkit"),value:m,onChange:e=>n({arrowPrevIcon:e}),insideInspector:!0}),(0,gs.jsx)(tp,{label:(0,bs.__)("Next icon","ghostkit"),value:v,onChange:e=>n({arrowNextIcon:e}),insideInspector:!0})]}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Bullets","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show","ghostkit"),checked:!!b,onChange:e=>n({showBullets:e}),__nextHasNoMarginBottom:!0}),b?(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Dynamic","ghostkit"),checked:!!y,onChange:e=>n({dynamicBullets:e}),__nextHasNoMarginBottom:!0}):null]})]}),(0,gs.jsx)("div",{...E,children:(0,gs.jsx)("div",{className:"block-editor-inner-blocks",children:(0,gs.jsx)("div",{...A})})}),(0,gs.jsx)(xs,{styles:`\n [data-block="${e.clientId}"] > .ghostkit-carousel {\n --gkt-carousel-gap: ${w}px;\n --gkt-carousel-slides-per-view: ${"fade"===r?1:c};\n }\n `})]})},save:function(e){const{effect:t,speed:n,autoplay:o,autoplayHoverPause:i,slidesPerView:r,centeredSlides:s,loop:a,freeScroll:l,fadeEdges:c,showArrows:u,arrowPrevIcon:h,arrowNextIcon:d,showBullets:p,dynamicBullets:g,gap:f}=e.attributes;let m=qm()("ghostkit-carousel",c&&"ghostkit-carousel-fade-edges");m=(0,os.applyFilters)("ghostkit.blocks.className",m,{name:Km,...e});const v={"data-effect":t,"data-speed":n,"data-autoplay":o,"data-autoplay-hover-pause":o&&i?"true":null,"data-slides-per-view":r,"data-centered-slides":s?"true":"false","data-loop":a?"true":"false","data-free-scroll":l?"true":"false","data-show-arrows":u?"true":"false","data-show-bullets":p?"true":"false","data-dynamic-bullets":g?"true":"false","data-gap":f},b=ds.useBlockProps.save({className:m,...v}),y=ds.useInnerBlocksProps.save({className:"ghostkit-carousel-items"});return(0,Ke.createElement)("div",{...b},(0,Ke.createElement)("div",{...y}),h?(0,Ke.createElement)(tp.Render,{name:h,tag:"div",className:"ghostkit-carousel-arrow-prev-icon"}):null,d?(0,Ke.createElement)(tp.Render,{name:d,tag:"div",className:"ghostkit-carousel-arrow-next-icon"}):null)}},Jm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/carousel-slide","parent":["ghostkit/carousel"],"category":"ghostkit","title":"Slide","description":"A single slide within a carousel block.","supports":{"html":false,"className":false,"anchor":true,"reusable":false,"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true}}'),{name:Xm}=Jm,{name:Qm}=Jm,ev={icon:Cr("block-carousel-slide",!0),edit:function(e){const{attributes:t,clientId:n}=e;let{className:o}=t;const i=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return!!t&&t.getBlockOrder(n).length>0}),[n]);o=cs()(o,"ghostkit-carousel-slide"),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const r=(0,ds.useBlockProps)({className:o}),s=(0,ds.useInnerBlocksProps)(r,{renderAppender:i?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,Ke.createElement)("div",{...s})},save:function(e){let t="ghostkit-carousel-slide";t=(0,os.applyFilters)("ghostkit.blocks.className",t,{name:Xm,...e});const n=ds.useBlockProps.save({className:t}),o=ds.useInnerBlocksProps.save(n);return(0,Ke.createElement)("div",{...o})}},tv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/changelog","category":"ghostkit","title":"Changelog","description":"Show the changes log of your product.","keywords":["changelog","log"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"version":{"type":"string","default":""},"date":{"type":"string","default":""}}}'),{name:nv}=tv,{name:ov}=tv,iv={icon:Cr("block-changelog",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/changelog/"},example:{attributes:{version:"1.0.0",date:(new Date).toLocaleDateString()},innerBlocks:[{name:"core/list",attributes:{className:"is-style-none"},innerBlocks:[{name:"core/list-item",attributes:{content:`${(0,bs.__)("Added","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}},{name:"core/list-item",attributes:{content:`${(0,bs.__)("Fixed","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}},{name:"core/list-item",attributes:{content:`${(0,bs.__)("Improved","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}}]}]},edit:function(e){const{attributes:t,setAttributes:n}=e;let{className:o=""}=e;const{version:i,date:r}=t;o=cs()("ghostkit-changelog",o),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const s=(0,ds.useBlockProps)({className:o}),a=(0,ds.useInnerBlocksProps)({className:"ghostkit-changelog-inner"},{templateLock:!1,template:[["core/list",{className:"is-style-none"},[["core/list-item",{content:`${(0,bs.__)("Added","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}],["core/list-item",{content:`${(0,bs.__)("Fixed","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}],["core/list-item",{content:`${(0,bs.__)("Improved","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}]]]]});return(0,Ke.createElement)("div",{...s},(0,Ke.createElement)("div",{className:"ghostkit-changelog-version"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"span",placeholder:(0,bs.__)("1.0.0","ghostkit"),value:i,onChange:e=>n({version:e})})),(0,Ke.createElement)("div",{className:"ghostkit-changelog-date"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"h2",placeholder:(new Date).toLocaleDateString(),value:r,onChange:e=>n({date:e}),style:{margin:0}})),(0,Ke.createElement)("div",{className:"ghostkit-changelog-more"},(0,Ke.createElement)("div",{...a})))},save:function(e){const{version:t,date:n}=e.attributes;let o="ghostkit-changelog";o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:nv,...e});const i=ds.useBlockProps.save({className:o}),r=ds.useInnerBlocksProps.save({className:"ghostkit-changelog-more"});return(0,Ke.createElement)("div",{...i},ds.RichText.isEmpty(t)?null:(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-changelog-version",value:t}),ds.RichText.isEmpty(n)?null:(0,Ke.createElement)(ds.RichText.Content,{tagName:"h2",className:"ghostkit-changelog-date",value:n}),(0,Ke.createElement)("div",{...r}))}},rv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/countdown","category":"ghostkit","title":"Countdown","description":"Countdown timer for upcoming event.","keywords":["timer","count","number"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"date":{"type":"string"},"units":{"type":"array","default":["days","hours","minutes","seconds"]},"unitsAlign":{"type":"string"},"numberFontSize":{"type":"number"},"labelFontSize":{"type":"number"},"numberColor":{"type":"string"},"labelColor":{"type":"string"}}}'),sv=(()=>{const e=1,t=2,n=4,o=8,i=16,r=32,s=64,a=128,l=a|s|i|o|n|t,c=a|s|r|i|o|n|t|e,u=1e3,h=60,d=60,p=24,g=p*d*h*u,f=7,m=12,{ceil:v}=Math,{floor:b}=Math;function y(e,t){const n=e.getTime();return e.setMonth(e.getMonth()+t),Math.round((e.getTime()-n)/g)}function w(e){const t=e.getTime(),n=new Date(t);return n.setMonth(e.getMonth()+1),Math.round((n.getTime()-t)/g)}function k(e,t){if(t=t instanceof Date||null!==t&&Number.isFinite(t)?new Date(+t):new Date,!e)return t;let n=+e.value||0;return n?(t.setTime(t.getTime()+n),t):(n=+e.milliseconds||0,n&&t.setMilliseconds(t.getMilliseconds()+n),n=+e.seconds||0,n&&t.setSeconds(t.getSeconds()+n),n=+e.minutes||0,n&&t.setMinutes(t.getMinutes()+n),n=+e.hours||0,n&&t.setHours(t.getHours()+n),n=+e.weeks||0,n&&(n*=f),n+=+e.days||0,n&&t.setDate(t.getDate()+n),n=+e.months||0,n&&t.setMonth(t.getMonth()+n),n+=+e.years||0,n&&t.setFullYear(t.getFullYear()+n),t)}function _(){}function x(e,t,n,o,i,r){return e[n]>=0&&(t+=e[n],delete e[n]),1+(t/=i)<=1?0:e[o]>=0?(e[o]=+(e[o]+t).toFixed(r),function(e,t){switch(t){case"seconds":if(e.seconds!==h||Number.isNaN(e.minutes))return;e.minutes+=1,e.seconds=0;case"minutes":if(e.minutes!==d||Number.isNaN(e.hours))return;e.hours+=1,e.minutes=0;case"hours":if(e.hours!==p||Number.isNaN(e.days))return;e.days+=1,e.hours=0;case"days":if(e.days!==f||Number.isNaN(e.weeks))return;e.weeks+=1,e.days=0;case"weeks":if(e.weeks!==w(e.refMonth)/f||Number.isNaN(e.months))return;e.months+=1,e.weeks=0;case"months":if(e.months!==m||Number.isNaN(e.years))return;e.years+=1,e.months=0}}(e,o),0):t}function C(l,c,k,_,C,S){const E=new Date;if(c=c||E,k=k||E,l.start=c,l.end=k,l.units=_,l.value=k.getTime()-c.getTime(),l.value<0){const e=k;k=c,c=e}l.refMonth=new Date(c.getFullYear(),c.getMonth(),15,12,0,0);try{l.years=k.getFullYear()-c.getFullYear(),l.months=k.getMonth()-c.getMonth(),l.weeks=0,l.days=k.getDate()-c.getDate(),l.hours=k.getHours()-c.getHours(),l.minutes=k.getMinutes()-c.getMinutes(),l.seconds=k.getSeconds()-c.getSeconds(),l.milliseconds=k.getMilliseconds()-c.getMilliseconds(),function(e){let t;for(e.milliseconds<0?(t=v(-e.milliseconds/u),e.seconds-=t,e.milliseconds+=t*u):e.milliseconds>=u&&(e.seconds+=b(e.milliseconds/u),e.milliseconds%=u),e.seconds<0?(t=v(-e.seconds/h),e.minutes-=t,e.seconds+=t*h):e.seconds>=h&&(e.minutes+=b(e.seconds/h),e.seconds%=h),e.minutes<0?(t=v(-e.minutes/d),e.hours-=t,e.minutes+=t*d):e.minutes>=d&&(e.hours+=b(e.minutes/d),e.minutes%=d),e.hours<0?(t=v(-e.hours/p),e.days-=t,e.hours+=t*p):e.hours>=p&&(e.days+=b(e.hours/p),e.hours%=p);e.days<0;)e.months-=1,e.days+=y(e.refMonth,1);e.days>=f&&(e.weeks+=b(e.days/f),e.days%=f),e.months<0?(t=v(-e.months/m),e.years-=t,e.months+=t*m):e.months>=m&&(e.years+=b(e.months/m),e.months%=m)}(l),function(l,c,v,k){let _=0;!(c&a)||_>=v?(l.months+=l.years*m,delete l.years):l.years&&(_+=1),!(c&s)||_>=v?(l.months&&(l.days+=y(l.refMonth,l.months)),delete l.months,l.days>=f&&(l.weeks+=b(l.days/f),l.days%=f)):l.months&&(_+=1),!(c&r)||_>=v?(l.days+=l.weeks*f,delete l.weeks):l.weeks&&(_+=1),!(c&i)||_>=v?(l.hours+=l.days*p,delete l.days):l.days&&(_+=1),!(c&o)||_>=v?(l.minutes+=l.hours*d,delete l.hours):l.hours&&(_+=1),!(c&n)||_>=v?(l.seconds+=l.minutes*h,delete l.minutes):l.minutes&&(_+=1),!(c&t)||_>=v?(l.milliseconds+=l.seconds*u,delete l.seconds):l.seconds&&(_+=1),c&e&&!(_>=v)||function(e,t){let n=x(e,0,"milliseconds","seconds",u,t);if(n&&(n=x(e,n,"seconds","minutes",h,t),n&&(n=x(e,n,"minutes","hours",d,t),n&&(n=x(e,n,"hours","days",p,t),n&&(n=x(e,n,"days","weeks",f,t),n&&(n=x(e,n,"weeks","months",w(e.refMonth)/f,t),n&&(n=x(e,n,"months","years",function(e){const t=e.getTime(),n=new Date(t);return n.setFullYear(e.getFullYear()+1),Math.round((n.getTime()-t)/g)}(e.refMonth)/w(e.refMonth),t),n&&n)))))))throw new Error("Fractional unit overflow")}(l,k)}(l,_,C,S)}finally{delete l.refMonth}return l}function S(e,t,n,o){const i=n.length>0?n.length:NaN;o=o>0?o<20?Math.round(o):20:0;let r=null;e instanceof Date||(null!==e&&Number.isFinite(e)?e=new Date(+e):("object"==typeof r&&(r=e),e=null));let s=null;if(t instanceof Date||(null!==t&&Number.isFinite(t)?t=new Date(+t):("object"==typeof t&&(s=t),t=null)),r&&(e=k(r,t)),s&&(t=k(s,e)),!e&&!t)return new _;const a=function(e){let t=~c;return e.forEach((e=>{S[e.toUpperCase()]&&(t|=S[e.toUpperCase()])})),t=+t||l,t}(n);return C(new _,e,t,a,i,o)}return S.MILLISECONDS=e,S.SECONDS=t,S.MINUTES=n,S.HOURS=o,S.DAYS=i,S.WEEKS=r,S.MONTHS=s,S.YEARS=a,S.DEFAULTS=l,S.ALL=c,S.getDelay=function(e=[]){return-1!==e.indexOf("milliseconds")?u/30:-1!==e.indexOf("seconds")?u:-1!==e.indexOf("minutes")?u*h:-1!==e.indexOf("hours")?u*h*d:-1!==e.indexOf("days")?u*h*d*p:u*h*d*p*f},S.formatUnit=(e,t)=>{switch(t){case"years":t=(0,bs._n)("Year","Years",e,"ghostkit");break;case"months":t=(0,bs._n)("Month","Months",e,"ghostkit");break;case"weeks":t=(0,bs._n)("Week","Weeks",e,"ghostkit");break;case"days":t=(0,bs._n)("Day","Days",e,"ghostkit");break;case"hours":t=(0,bs._n)("Hour","Hours",e,"ghostkit");break;case"minutes":t=(0,bs._n)("Minute","Minutes",e,"ghostkit");break;case"seconds":t=(0,bs._n)("Second","Seconds",e,"ghostkit")}return{number:e=`${e<10?"0":""}${e}`,label:t}},S})(),av="yyyy-LL-dd'T'HH:mm:ss",{GHOSTKIT:lv,luxon:cv}=window,{name:uv}=rv,{name:hv}=rv,dv={icon:Cr("block-countdown",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/countdown/",customStylesCallback(e){const t={"--gkt-countdown--unit-number__font-size":void 0,"--gkt-countdown--unit-number__color":e.numberColor||void 0,"--gkt-countdown--unit-label__font-size":void 0,"--gkt-countdown--unit-label__color":e.labelColor||void 0};return void 0!==e.numberFontSize&&""!==e.numberFontSize&&(t["--gkt-countdown--unit-number__font-size"]=`${e.numberFontSize}px`),void 0!==e.labelFontSize&&""!==e.labelFontSize&&(t["--gkt-countdown--unit-label__font-size"]=`${e.labelFontSize}px`),t}},example:{attributes:{units:["hours","minutes","seconds"],unitsAlign:"center",ghostkit:{id:"example-countdown"},className:"ghostkit-custom-example-countdown"}},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e,{date:i,units:r,unitsAlign:s,numberFontSize:a,labelFontSize:l,numberColor:c,labelColor:u}=t;let{className:h=""}=e;function d(e,t){const n=cv.DateTime.fromISO(e).toFormat(av),o=new Date(cv.DateTime.now().setZone(lv.timezone).toFormat(av)),i=sv(new Date(n),o,t,0);return{formattedDate:n,delay:sv.getDelay(t),...i}}const[p,g]=(0,vs.useState)(!!i&&d(i,r)),f=(0,vs.useRef)(!1),{isSelectedBlockInRoot:m}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,hasSelectedInnerBlock:n}=e("core/block-editor");return{isSelectedBlockInRoot:t(o)||n(o,!0)}}),[o]);function v(e,t){const o=d(e,t);g(o),o.formattedDate!==i&&n({date:o.formattedDate})}(0,vs.useEffect)((()=>{if(i)v(i,r);else{const e=new Date,t=new Date;t.setDate(e.getDate()+1),v(cv.DateTime.fromJSDate(t).toFormat(av),r)}}),[]),(0,vs.useEffect)((()=>{clearInterval(f.current),p&&(f.current=setInterval((()=>{if(!i||!r||!r.length)return;const e=d(i,r);g(e)}),p.delay))}),[p]),h=cs()("ghostkit-countdown",s&&`ghostkit-countdown-units-align-${s}`,h),h=(0,os.applyFilters)("ghostkit.editor.className",h,e);const b=(0,ds.useBlockProps)({className:h}),y=(0,ds.useInnerBlocksProps)({className:"ghostkit-countdown-expire-action-content"},{template:[["core/paragraph",{content:(0,bs.__)("This countdown has been ended already!","ghostkit")}]],templateLock:!1});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(ws,{label:(0,bs.__)("End Date","ghostkit"),value:i,onChange:e=>v(e,r)}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Display Units","ghostkit"),value:r,onChange:e=>{n({units:e}),v(i,e)},multiple:!0,options:[{label:(0,bs.__)("Years","ghostkit"),value:"years"},{label:(0,bs.__)("Months","ghostkit"),value:"months"},{label:(0,bs.__)("Weeks","ghostkit"),value:"weeks"},{label:(0,bs.__)("Days","ghostkit"),value:"days"},{label:(0,bs.__)("Hours","ghostkit"),value:"hours"},{label:(0,bs.__)("Minutes","ghostkit"),value:"minutes"},{label:(0,bs.__)("Seconds","ghostkit"),value:"seconds"}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Number Font Size","ghostkit"),value:a,onChange:e=>n({numberFontSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Label Font Size","ghostkit"),value:l,onChange:e=>n({labelFontSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(fs,{label:(0,bs.__)("Number Color","ghostkit"),value:c,onChange:e=>n({numberColor:e}),alpha:!0}),(0,gs.jsx)(fs,{label:(0,bs.__)("Label Color","ghostkit"),value:u,onChange:e=>n({labelColor:e}),alpha:!0})]})]}),(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Units Align Left","ghostkit"),onClick:()=>n({unitsAlign:"left"}),isActive:"left"===s}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Units Align Center","ghostkit"),onClick:()=>n({unitsAlign:"center"}),isActive:"center"===s}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Units Align Right","ghostkit"),onClick:()=>n({unitsAlign:"right"}),isActive:"right"===s})]})}),(0,gs.jsx)("div",{...b,children:r.map((e=>{let t=!1;if(p&&void 0!==p[e]){const n=p.value>=0;t=sv.formatUnit(n?0:p[e],e)}return(0,gs.jsxs)("div",{className:cs()("ghostkit-countdown-unit",`ghostkit-countdown-unit-${e}`),children:[(0,gs.jsx)("span",{className:"ghostkit-countdown-unit-number",children:t?t.number:"00"}),(0,gs.jsx)("span",{className:"ghostkit-countdown-unit-label",children:t?t.label:e})]},e)}))}),m?(0,gs.jsxs)("div",{className:"ghostkit-countdown-expire-action",children:[(0,gs.jsx)("div",{className:"ghostkit-countdown-expire-action-label",children:(0,bs.__)("Display content after expiration:","ghostkit")}),(0,gs.jsx)("div",{...y})]}):null]})},save:function(e){const{attributes:t}=e,{date:n,units:o,unitsAlign:i}=t;let r=cs()("ghostkit-countdown",i&&`ghostkit-countdown-units-align-${i}`);r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:uv,...e});const s=ds.useBlockProps.save({className:r,"data-date":n}),a=ds.useInnerBlocksProps.save({className:"ghostkit-countdown-expire-action"});return(0,Ke.createElement)("div",{...s},o.map((e=>(0,Ke.createElement)("div",{key:e,className:cs()("ghostkit-countdown-unit",`ghostkit-countdown-unit-${e}`)},(0,Ke.createElement)("span",{className:"ghostkit-countdown-unit-number"},"00"),(0,Ke.createElement)("span",{className:"ghostkit-countdown-unit-label"},e)))),(0,Ke.createElement)("div",{...a}))}},pv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/counter-box","category":"ghostkit","title":"Number Box","description":"Show your progress and rewards using counting numbers.","keywords":["number","counter"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"number":{"type":"string","source":"html","selector":".ghostkit-counter-box-number-wrap","default":"77"},"animateInViewport":{"type":"boolean","default":false},"animateInViewportFrom":{"type":"number","default":0},"numberPosition":{"type":"string","default":"top"},"numberAlign":{"type":"string"},"numberSize":{"type":"number"},"showContent":{"type":"boolean","default":true},"numberColor":{"type":"string"},"hoverNumberColor":{"type":"string"},"url":{"type":"string"},"ariaLabel":{"type":"string"},"target":{"type":"string"},"rel":{"type":"string"}}}'),{name:gv}=pv,fv=[{...pv,attributes:{number:{type:"string",source:"html",selector:".ghostkit-counter-box-number-wrap",default:"77"},animateInViewport:{type:"boolean",default:!1},animateInViewportFrom:{type:"number",default:0},numberPosition:{type:"string",default:"top"},numberSize:{type:"number"},showContent:{type:"boolean",default:!0},numberColor:{type:"string"},hoverNumberColor:{type:"string"},url:{type:"string"},target:{type:"string"},rel:{type:"string"}},save:class extends vs.Component{render(){const{number:e,animateInViewport:t,numberPosition:n,showContent:o,url:i,target:r,rel:s}=this.props.attributes;let{animateInViewportFrom:a}=this.props.attributes;a=parseFloat(a);let l=cs()("ghostkit-counter-box",i&&"ghostkit-counter-box-with-link");l=(0,os.applyFilters)("ghostkit.blocks.className",l,{name:gv,...this.props});const c=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${n||"left"}`);return(0,Ke.createElement)("div",{className:l},i?(0,Ke.createElement)("a",{className:"ghostkit-counter-box-link",href:i,target:r||!1,rel:s||!1},(0,Ke.createElement)("span",null)):null,(0,Ke.createElement)("div",{className:c},(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-counter-box-number-wrap"+(t?" ghostkit-count-up":""),value:e,"data-count-from":t&&a?a:null})),o?(0,Ke.createElement)("div",{className:"ghostkit-counter-box-content"},(0,Ke.createElement)(ds.InnerBlocks.Content,null)):null)}}}],{name:mv}=pv,vv={from:[{type:"block",blocks:["ghostkit/icon-box"],transform:(e,t)=>(0,um.createBlock)("ghostkit/counter-box",{numberPosition:e.iconPosition,numberSize:e.iconSize,showContent:e.showContent,numberColor:e.iconColor,hoverNumberColor:e.hoverIconColoe},t)},{type:"block",blocks:["ghostkit/alert"],transform:(e,t)=>(0,um.createBlock)("ghostkit/counter-box",{numberSize:e.iconSize,numberColor:e.color,hoverNumberColor:e.hoverColor},t)}]},{name:bv}=pv,yv={icon:Cr("block-counter-box",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/number-box/",customStylesCallback(e){const t={"--gkt-counter-box--number__font-size":void 0,"--gkt-counter-box--number__color":e.numberColor||void 0,"&:hover":{"--gkt-counter-box--number__color":e.hoverNumberColor||void 0}};return void 0!==e.numberSize&&""!==e.numberSize&&(t["--gkt-counter-box--number__font-size"]=`${e.numberSize}px`),t}},example:{attributes:{number:"77",numberColor:"#0366d6",ghostkit:{id:"example-counter-box"},className:"ghostkit-custom-example-counter-box"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e;let{className:r=""}=e;const s=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return!!t&&t.getBlockOrder(i).length>0}),[i]),{number:a,animateInViewport:l,animateInViewportFrom:c,numberPosition:u,numberAlign:h,numberSize:d,showContent:p,numberColor:g,hoverNumberColor:f,url:m,ariaLabel:v,target:b,rel:y}=t;r=cs()("ghostkit-counter-box",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const w=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${u||"left"}`,"top"===u?`ghostkit-counter-box-number-top-align-${h||"center"}`:""),k=(0,ds.useBlockProps)({className:r}),_=(0,ds.useInnerBlocksProps)({className:"ghostkit-counter-box-content"},{renderAppender:s?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1}),x=(0,bs.__)("Number Position","ghostkit");return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Number Size","ghostkit"),value:d,onChange:e=>n({numberSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.BaseControl,{id:x,label:x,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsxs)(us.Toolbar,{label:x,children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Top","ghostkit"),onClick:()=>n({numberPosition:"top"}),isActive:"top"===u}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Left","ghostkit"),onClick:()=>n({numberPosition:"left"}),isActive:"left"===u}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Right","ghostkit"),onClick:()=>n({numberPosition:"right"}),isActive:"right"===u})]})})}),"top"===u?(0,gs.jsx)(lg,{label:(0,bs.__)("Number Alignment","ghostkit"),value:h||"center",options:[{icon:Cr("icon-horizontal-start"),label:(0,bs.__)("Start","ghostkit"),value:"left"},{icon:Cr("icon-horizontal-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-horizontal-end"),label:(0,bs.__)("End","ghostkit"),value:"right"}],onChange:e=>{n({numberAlign:e})}}):null]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Content","ghostkit"),checked:!!p,onChange:e=>n({showContent:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Animate in viewport","ghostkit"),checked:!!l,onChange:e=>n({animateInViewport:e}),__nextHasNoMarginBottom:!0}),l?(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Animate from","ghostkit"),type:"number",value:c,onChange:e=>n({animateInViewportFrom:parseInt(e,10)}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:g})]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverNumberColor":"numberColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Color","ghostkit"),value:o?f:g,onChange:e=>n(o?{hoverNumberColor:e}:{numberColor:e}),alpha:!0,gradient:!0})})}})})]}),(0,gs.jsx)(Pg,{url:m,rel:y,ariaLabel:v,target:b,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Top","ghostkit"),onClick:()=>n({numberPosition:"top"}),isActive:"top"===u}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Left","ghostkit"),onClick:()=>n({numberPosition:"left"}),isActive:"left"===u}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Right","ghostkit"),onClick:()=>n({numberPosition:"right"}),isActive:"right"===u})]})}),(0,gs.jsxs)("div",{...k,children:[(0,gs.jsx)("div",{className:w,children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-counter-box-number-wrap",placeholder:(0,bs.__)("Write number…","ghostkit"),value:a,onChange:e=>n({number:e}),withoutInteractiveFormatting:!0})}),p?(0,gs.jsx)("div",{..._}):null]})]})},save:function(e){const{attributes:t}=e,{number:n,animateInViewport:o,numberPosition:i,numberAlign:r,showContent:s,url:a,ariaLabel:l,target:c,rel:u}=t;let{animateInViewportFrom:h}=t;h=parseFloat(h);let d=cs()("ghostkit-counter-box",a&&"ghostkit-counter-box-with-link");d=(0,os.applyFilters)("ghostkit.blocks.className",d,{name:mv,...e});const p=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${i||"left"}`,"top"===i?`ghostkit-counter-box-number-top-align-${r||"center"}`:""),g=ds.useBlockProps.save({className:d}),f=ds.useInnerBlocksProps.save({className:"ghostkit-counter-box-content"});return(0,Ke.createElement)("div",{...g},a?(0,Ke.createElement)("a",{className:"ghostkit-counter-box-link",href:a,target:c||null,rel:u||null,"aria-label":l||null},(0,Ke.createElement)("span",null)):null,(0,Ke.createElement)("div",{className:p},(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-counter-box-number-wrap"+(o?" ghostkit-count-up":""),value:n,"data-count-from":o&&h?h:null})),s?(0,Ke.createElement)("div",{...f}):null)},transforms:vv,deprecated:fv},wv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/divider","category":"ghostkit","title":"Divider","description":"Divide your long texts and blocks.","keywords":["divider","spacer"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"type":{"type":"string","default":"solid"},"size":{"type":"number","default":2},"icon":{"type":"string","default":""},"iconSize":{"type":"number"},"color":{"type":"string"},"iconColor":{"type":"string"},"hoverColor":{"type":"string"},"hoverIconColor":{"type":"string"}}}'),{name:kv}=wv,_v={from:[{type:"block",blocks:["core/separator"],transform:()=>(0,um.createBlock)("ghostkit/divider")}],to:[{type:"block",blocks:["core/separator"],transform:()=>(0,um.createBlock)("core/separator")}]},{name:xv}=wv,Cv={icon:Cr("block-divider",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/divider/",customStylesCallback(e){const t={"--gkt-divider__border-width":void 0,"--gkt-divider__border-color":e.color,"--gkt-divider--icon__font-size":void 0,"--gkt-divider--icon__color":e.iconColor,"&:hover":{"--gkt-divider__border-color":e.hoverColor||void 0,"--gkt-divider--icon__color":e.hoverIconColor||void 0}};return void 0!==e.size&&""!==e.size&&(t["--gkt-divider__border-width"]=`${e.size}px`),void 0!==e.iconSize&&""!==e.iconSize&&(t["--gkt-divider--icon__font-size"]=`${e.iconSize}px`),t}},example:{attributes:{size:4,icon:'',iconSize:40,color:"#a7a9ab",iconColor:"#a7a9ab",ghostkit:{id:"example-divider"},className:"ghostkit-custom-example-divider"}},edit:function(e){const{attributes:t,setAttributes:n}=e;let{className:o=""}=e;const{type:i,size:r,icon:s,iconSize:a,color:l,iconColor:c,hoverColor:u,hoverIconColor:h}=t;o=cs()("ghostkit-divider",`ghostkit-divider-type-${i}`,o),s&&(o=cs()(o,"ghostkit-divider-with-icon")),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const d=(0,ds.useBlockProps)({className:o});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarDropdownMenu,{icon:Cr("border-solid"),label:(0,bs.__)("Type","ghostkit"),controls:[{label:(0,bs.__)("Line","ghostkit"),icon:Cr("border-solid"),isActive:"solid"===i,onClick:()=>n({type:"solid"})},{label:(0,bs.__)("Dashed","ghostkit"),icon:Cr("border-dashed"),isActive:"dashed"===i,onClick:()=>n({type:"dashed"})},{label:(0,bs.__)("Dotted","ghostkit"),icon:Cr("border-dotted"),isActive:"dotted"===i,onClick:()=>n({type:"dotted"})},{label:(0,bs.__)("Double","ghostkit"),icon:Cr("border-double"),isActive:"double"===i,onClick:()=>n({type:"double"})}]})})}),(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Type","ghostkit"),value:i,options:[{value:"solid",label:(0,bs.__)("Line","ghostkit")},{value:"dashed",label:(0,bs.__)("Dashed","ghostkit")},{value:"dotted",label:(0,bs.__)("Dotted","ghostkit")},{value:"double",label:(0,bs.__)("Double","ghostkit")}],onChange:e=>n({type:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Size","ghostkit"),value:r,onChange:e=>n({size:e}),min:1,max:7,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,gs.jsx)(rg,{label:(0,bs.__)("Icon Size","ghostkit"),value:a,onChange:e=>n({iconSize:e}),min:10,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:l}),s?(0,gs.jsx)(hs,{colorValue:c}):null]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Divider","ghostkit"),value:o?u:l,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0})}),s?(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverIconColor":"iconColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Icon","ghostkit"),value:o?h:c,onChange:e=>n(o?{hoverIconColor:e}:{iconColor:e}),alpha:!0})}):null]})}})})]}),(0,gs.jsx)("div",{...d,children:s?(0,gs.jsx)("div",{className:"ghostkit-divider-icon",children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null})]})},save:function(e){const{icon:t,type:n}=e.attributes;let o=`ghostkit-divider ghostkit-divider-type-${n}`;t&&(o=cs()(o,"ghostkit-divider-with-icon")),o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:kv,...e});const i=ds.useBlockProps.save({className:o});return(0,Ke.createElement)("div",{...i},t?(0,Ke.createElement)(tp.Render,{name:t,tag:"div",className:"ghostkit-divider-icon"}):null)},transforms:_v},Sv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form","category":"ghostkit","title":"Form","description":"Add contact form to your page with reCaptcha.","keywords":["form","contact"],"supports":{"html":false,"className":false,"anchor":false,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true}}');function Ev(e,t,n){var o,i=n||{},r=i.noTrailing,s=void 0!==r&&r,a=i.noLeading,l=void 0!==a&&a,c=i.debounceMode,u=void 0===c?void 0:c,h=!1,d=0;function p(){o&&clearTimeout(o)}function g(){for(var n=arguments.length,i=new Array(n),r=0;re?l?(d=Date.now(),s||(o=setTimeout(u?f:g,e))):g():!0!==s&&(o=setTimeout(u?f:g,void 0===u?e-c:e)))}return g.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),h=!n},g}function Av(e,t,n){var o=(n||{}).atBegin;return Ev(e,t,{debounceMode:!1!==(void 0!==o&&o)})}const{GHOSTKIT:Tv}=window,$v=!Tv.googleReCaptchaAPISiteKey||!Tv.googleReCaptchaAPISecretKey,Mv=Av(1500,((e,t)=>{Wg()({path:"/ghostkit/v1/update_google_recaptcha_keys",method:"POST",data:{site_key:e,secret_key:t}})}));function Rv(){const[e,t]=(0,vs.useState)(Tv.googleReCaptchaAPISiteKey),[n,o]=(0,vs.useState)(Tv.googleReCaptchaAPISecretKey);return(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Google reCAPTCHA","ghostkit"),initialOpen:$v,children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Site Key","ghostkit"),value:e,onChange:e=>{t(e),Mv(e,n)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Secret Key","ghostkit"),value:n,onChange:t=>{o(t),Mv(e,t)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,bs.__)("Protect your form from spam using Google reCAPTCHA v3.","ghostkit")}),(0,gs.jsx)("p",{children:(0,gs.jsx)(us.ExternalLink,{href:"https://www.google.com/recaptcha/about/",children:(0,bs.__)("Generate Keys","ghostkit")})})]})}const jv=[["ghostkit/form-field-name",{slug:"field_name"}],["ghostkit/form-field-email",{slug:"field_email",required:!0}],["ghostkit/form-field-text",{slug:"field_subject",label:(0,bs.__)("Subject","ghostkit"),required:!0}],["ghostkit/form-field-textarea",{slug:"field_message",label:(0,bs.__)("Message","ghostkit"),required:!0}],["ghostkit/form-submit-button"]],Ov=["core/paragraph","core/heading","core/list","core/divider","core/columns","ghostkit/divider","ghostkit/grid"];function Lv(e){let t=[];return e.innerBlocks&&e.innerBlocks.length&&e.innerBlocks.forEach((e=>{e.name&&/^ghostkit\/form-field/g.test(e.name)&&t.push({clientId:e.clientId,name:e.name,type:e.name.replace(/^ghostkit\/form-field-/g,""),attributes:e.attributes}),e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...Lv(e)])})),t}function Iv(e,t){let n=`field_${e.type}`,o=100,i=0;for(;void 0!==t[e.type][n]&&o>0;)i+=1,o-=1,n=`field_${e.type}_${i}`;return n}const{name:Nv}=Sv,Pv={icon:Cr("block-form",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/form/"},example:{innerBlocks:[{name:"ghostkit/form-field-email",attributes:{required:!0}},{name:"ghostkit/form-field-text",attributes:{required:!0,nameFields:"first-last",description:(0,bs.__)("First","ghostkit"),descriptionLast:(0,bs.__)("Last","ghostkit")}},{name:"ghostkit/form-field-textarea",attributes:{label:(0,bs.__)("Message","ghostkit"),placeholder:(0,bs.__)("Write your message here…","ghostkit")}},{name:"ghostkit/form-submit-button"}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{mailAllow:r,mailTo:s,mailSubject:a,mailFrom:l,mailReplyTo:c,mailMessage:u,confirmationType:h,confirmationMessage:d,confirmationRedirect:p}=t,{isSelectedBlockInRoot:g,allFieldsData:f}=(0,Ze.useSelect)((e=>{const{getBlock:t,isBlockSelected:n,hasSelectedInnerBlock:i}=e("core/block-editor");return{allFieldsData:Lv(t(o)),isSelectedBlockInRoot:n(o)||i(o,!0)}}),[o]),{updateBlockAttributes:m}=(0,Ze.useDispatch)("core/block-editor"),v=Ev(200,(()=>{!function(){const e={};f.forEach((t=>{if(e[t.type]||(e[t.type]={}),t.attributes.slug)if(void 0!==e[t.type][t.attributes.slug]){const n=Iv(t,e);e[t.type][n]=!0,m(t.clientId,{slug:n})}else e[t.type][t.attributes.slug]=!0})),f.forEach((t=>{if(e[t.type]||(e[t.type]={}),!t.attributes.slug){const n=Iv(t,e);e[t.type][n]=!0,m(t.clientId,{slug:n})}}))}()}));(0,vs.useEffect)((()=>{v()})),i=cs()(i,"ghostkit-form"),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const b=(0,ds.useBlockProps)({className:i}),{children:y,...w}=(0,ds.useInnerBlocksProps)(b,{template:jv,allowedBlocks:Ov,renderAppender:()=>null});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Mail","ghostkit"),children:[r?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Send To Email Address","ghostkit"),value:s,onChange:e=>n({mailTo:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Subject","ghostkit"),value:a,onChange:e=>n({mailSubject:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("From","ghostkit"),value:l,onChange:e=>n({mailFrom:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Reply To","ghostkit"),value:c,onChange:e=>n({mailReplyTo:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Message","ghostkit"),value:u,onChange:e=>n({mailMessage:e}),__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Send Email","ghostkit"),label:(0,bs.__)("Send Email","ghostkit"),help:(0,bs.__)("In case if you don't want to receive email messages from this form, you may disable sending emails functionality."),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.ToggleControl,{Label:(0,bs.__)("Yes","ghostkit"),checked:!!r,onChange:()=>n({mailAllow:!r}),__nextHasNoMarginBottom:!0})})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Confirmation","ghostkit"),children:[(0,gs.jsx)(lg,{label:(0,bs.__)("Type","ghostkit"),value:h,options:[{label:(0,bs.__)("Message","ghostkit"),value:"message"},{label:(0,bs.__)("Redirect","ghostkit"),value:"redirect"}],onChange:e=>{n({confirmationType:e})},isDeselectable:!0}),h&&"message"!==h?null:(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Message","ghostkit"),value:d,onChange:e=>n({confirmationMessage:e}),__nextHasNoMarginBottom:!0}),"redirect"===h?(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Redirect URL","ghostkit"),value:p,onChange:e=>n({confirmationRedirect:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(Rv,{})]}),(0,gs.jsxs)("div",{...w,children:[y,g?(0,gs.jsx)(ds.InnerBlocks.ButtonBlockAppender,{}):null]})]})},save:function(){return ds.useInnerBlocksProps.save().children}},Dv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-checkbox","parent":["ghostkit/form"],"category":"ghostkit","title":"Checkbox","description":"Form field checkbox.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}');function Bv(e){const t=["id","placeholder","default","min","max","step","multiple","required","for"],n={tabIndex:-1,onFocus(e){e.target.blur()}};return Object.keys(e).forEach((o=>{let i=e[o];void 0!==i&&("slug"===o&&(o="id"),-1!==t.indexOf(o)&&("boolean"==typeof i&&(i=!!i&&o),"default"===o&&(o="value"),!1!==i&&(n[o]=i)))})),n}function zv(e){const{attributes:t,setAttributes:n,hideLabelCustom:o,hideDescriptionCustom:i,requiredCustom:r,placeholderCustom:s,defaultCustom:a,slugCustom:l}=e,{slug:c,label:u,description:h,hideLabel:d,hideDescription:p,required:g,placeholder:f,default:m}=t,v=o||(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Hide Label","ghostkit"),checked:d,onChange:()=>n({hideLabel:!d}),__nextHasNoMarginBottom:!0}),b=i||(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Hide Description","ghostkit"),checked:p,onChange:()=>n({hideDescription:!p}),__nextHasNoMarginBottom:!0});return(0,gs.jsxs)(gs.Fragment,{children:[l||(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Slug","ghostkit"),help:(0,bs.__)("Slug is used in form field [name] attribute.","ghostkit"),value:c,onChange:()=>{},readOnly:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),s||(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Placeholder","ghostkit"),value:f,onChange:e=>n({placeholder:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),a||(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Default","ghostkit"),value:m,onChange:e=>n({default:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),r||(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Required","ghostkit"),checked:g,onChange:()=>n({required:!g}),__nextHasNoMarginBottom:!0}),u?v:"",h?b:""]})}function Fv(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{description:i,hideDescription:r}=t;return i||o?r&&!o?null:(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:i,placeholder:(0,bs.__)("Write description…","ghostkit"),onChange:e=>n({description:e})}):null}function Hv(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{label:i,hideLabel:r}=t;return i||o?r&&!o?null:(0,Ke.createElement)("label",{className:"ghostkit-form-field-label"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"span",value:i,placeholder:(0,bs.__)("Write label…","ghostkit"),onChange:e=>n({label:e})}),t.required?(0,Ke.createElement)("span",{className:"required"},"*"):""):null}function Wv(e){const{options:t,onChange:n,multiple:o}=e;return(0,gs.jsxs)("div",{className:"ghostkit-field-options",children:[t.map(((e,i)=>{const r=`option-${i}`;return(0,gs.jsxs)("div",{className:"ghostkit-field-options-item",children:[(0,gs.jsx)("input",{type:o?"checkbox":"radio",checked:e.selected,onClick:()=>{const r=[...t];r[i].selected=!e.selected,o||r.forEach(((e,t)=>{i!==t&&(r[t].selected=!1)})),n(r)}}),(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Write label…","ghostkit"),value:e.value,onChange:e=>{const o=[...t];o[i].value=e,o[i].label=e,n(o)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.Button,{onClick:()=>{if(t.length>1){const e=[...t];e.splice(i,1),n(e)}},className:"components-icon-button",children:(0,gs.jsx)("svg",{"aria-hidden":"true",role:"img",focusable:"false",className:"dashicon dashicons-trash",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:(0,gs.jsx)("path",{d:"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"})})})]},r)})),(0,gs.jsxs)(us.Button,{onClick:()=>{n([...t,{value:"",label:"",selected:!1}])},className:"components-icon-button",children:[(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img",focusable:"false",children:(0,gs.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})})," ",(0,bs.__)("Add Option","ghostkit")]})]})}const{name:Vv}=Dv,Uv={icon:Cr("block-form-field-checkbox",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{slug:i,inline:r}=t;let{options:s}=t,{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-checkbox",r&&"ghostkit-form-field-checkbox-inline",a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e),s&&s.length||(s=[{label:"",value:"",selected:!1}]);const l=(0,ds.useBlockProps)({className:a});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Inline","ghostkit"),checked:r,onChange:()=>n({inline:!r}),__nextHasNoMarginBottom:!0})]})}),(0,gs.jsxs)("div",{...l,children:[(0,gs.jsx)(Hv,{...e}),o?(0,gs.jsx)(Wv,{options:s,onChange:e=>n({options:e}),multiple:!0}):(0,gs.jsx)("div",{className:"ghostkit-form-field-checkbox-items",children:s.map(((e,n)=>{const o=`${i}-item-${n}`;return(0,gs.jsxs)("label",{htmlFor:o,className:"ghostkit-form-field-checkbox-item",children:[(0,gs.jsx)("input",{type:"checkbox",checked:e.selected,onChange:()=>{},...Bv(t)}),e.label]},o)}))}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Gv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-date","parent":["ghostkit/form"],"category":"ghostkit","title":"Date","description":"Form field date.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:qv}=Gv,Kv={icon:Cr("block-form-field-date",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{min:o,max:i,default:r}=t;let{className:s=""}=e;s=cs()("ghostkit-form-field ghostkit-form-field-date",s),s=(0,os.applyFilters)("ghostkit.editor.className",s,e);const a=(0,gs.jsx)(us.TextControl,{type:"date",label:(0,bs.__)("Default","ghostkit"),value:r,onChange:e=>n({default:e}),max:i,min:o,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),l=(0,ds.useBlockProps)({className:s});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e,defaultCustom:a})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Date Settings","ghostkit"),children:[(0,gs.jsx)(us.TextControl,{type:"date",label:(0,bs.__)("Min","ghostkit"),value:o,onChange:e=>n({min:e}),max:i,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{type:"date",label:(0,bs.__)("Max","ghostkit"),value:i,onChange:e=>n({max:e}),min:o,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})]}),(0,gs.jsxs)("div",{...l,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"date",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Yv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-email","parent":["ghostkit/form"],"category":"ghostkit","title":"Email","description":"Form field email.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:Zv}=Yv,Jv={icon:Cr("block-form-field-email",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{description:o,emailConfirmation:i,descriptionConfirmation:r,placeholderConfirmation:s,defaultConfirmation:a}=t;let{className:l=""}=e;l=cs()("ghostkit-form-field ghostkit-form-field-email",l),l=(0,os.applyFilters)("ghostkit.editor.className",l,e);const c=(0,ds.useBlockProps)({className:l});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Email Confirmation","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Yes","ghostkit"),checked:i,onChange:()=>{n(i?{emailConfirmation:!i}:{emailConfirmation:!i,description:o||(0,bs.__)("Email","ghostkit"),descriptionConfirmation:r||(0,bs.__)("Confirm Email","ghostkit")})},__nextHasNoMarginBottom:!0}),i?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Placeholder","ghostkit"),value:s,onChange:e=>n({placeholderConfirmation:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Default","ghostkit"),value:a,onChange:e=>n({defaultConfirmation:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null]})]}),(0,gs.jsxs)("div",{...c,children:[(0,gs.jsx)(Hv,{...e}),i?(0,gs.jsxs)("div",{className:"ghostkit-form-field-row",children:[(0,gs.jsxs)("div",{className:"ghostkit-form-field-email-primary",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]}),(0,gs.jsxs)("div",{className:"ghostkit-form-field-email-confirm",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv({slug:t.slug?`${t.slug}-confirmation`:null,placeholder:t.placeholderConfirmation,default:t.defaultConfirmation,required:t.required})}),(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:r,placeholder:(0,bs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionConfirmation:e})})]})]}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})]})},save:function(){return null}},Xv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-hidden","parent":["ghostkit/form"],"category":"ghostkit","title":"Hidden","description":"Form field hidden.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:Qv}=Xv,eb={icon:Cr("block-form-field-hidden",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{default:o}=e;let{className:i=""}=e;i=cs()("ghostkit-form-field ghostkit-form-field-hidden",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const r=(0,ds.useBlockProps)({className:i});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Value","ghostkit"),value:o,onChange:e=>n({default:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}),(0,gs.jsxs)("div",{...r,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"text",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)})]})]})},save:function(){return null}},tb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-name","parent":["ghostkit/form"],"category":"ghostkit","title":"Name","description":"Form field name.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:nb}=tb,ob={icon:Cr("block-form-field-name",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{description:o,nameFields:i,descriptionLast:r,placeholderLast:s,defaultLast:a,descriptionMiddle:l,placeholderMiddle:c,defaultMiddle:u}=t;let{className:h=""}=e;h=cs()("ghostkit-form-field ghostkit-form-field-name","first-middle-last"===i||"first-last"===i?"ghostkit-form-field-name-with-last":"","first-middle-last"===i?"ghostkit-form-field-name-with-middle":"",h),h=(0,os.applyFilters)("ghostkit.editor.className",h,e);const d=(0,ds.useBlockProps)({className:h});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Name Fields","ghostkit"),children:[(0,gs.jsx)(us.SelectControl,{options:[{label:"First",value:"first"},{label:"First Last",value:"first-last"},{label:"First Middle Last",value:"first-middle-last"}],value:i,onChange:e=>{n("first-last"===e?{nameFields:e,description:o||(0,bs.__)("First","ghostkit"),descriptionLast:r||(0,bs.__)("Last","ghostkit")}:"first-middle-last"===e?{nameFields:e,description:o||(0,bs.__)("First","ghostkit"),descriptionLast:r||(0,bs.__)("Last","ghostkit"),descriptionMiddle:l||(0,bs.__)("Middle","ghostkit")}:{nameFields:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"first-middle-last"===i?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Middle Placeholder","ghostkit"),value:c,onChange:e=>n({placeholderMiddle:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Middle Default","ghostkit"),value:u,onChange:e=>n({defaultMiddle:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null,"first-middle-last"===i||"first-last"===i?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Last Placeholder","ghostkit"),value:s,onChange:e=>n({placeholderLast:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Last Default","ghostkit"),value:a,onChange:e=>n({defaultLast:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null]})]}),(0,gs.jsxs)("div",{...d,children:[(0,gs.jsx)(Hv,{...e}),"first-middle-last"===i||"first-last"===i?(0,gs.jsxs)("div",{className:"ghostkit-form-field-row",children:[(0,gs.jsxs)("div",{className:"ghostkit-form-field-name-first",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]}),"first-middle-last"===i?(0,gs.jsxs)("div",{className:"ghostkit-form-field-name-middle",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv({slug:t.slug?`${t.slug}-middle`:null,placeholder:t.placeholderMiddle,default:t.defaultMiddle,required:t.required})}),(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:l,placeholder:(0,bs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionMiddle:e})})]}):null,"first-middle-last"===i||"first-last"===i?(0,gs.jsxs)("div",{className:"ghostkit-form-field-name-last",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv({slug:t.slug?`${t.slug}-last`:null,placeholder:t.placeholderLast,default:t.defaultLast,required:t.required})}),(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:r,placeholder:(0,bs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionLast:e})})]}):null]}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})]})},save:function(){return null}},ib=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-number","parent":["ghostkit/form"],"category":"ghostkit","title":"Number","description":"Form field number.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:rb}=ib,sb={icon:Cr("block-form-field-number",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{min:o,max:i,step:r,default:s}=t;let{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-number",a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e);const l=(0,gs.jsx)(us.TextControl,{type:"number",label:(0,bs.__)("Default","ghostkit"),value:s,onChange:e=>n({default:e}),step:r,max:i,min:o,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),c=(0,ds.useBlockProps)({className:a});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e,defaultCustom:l})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Number Settings","ghostkit"),children:[(0,gs.jsx)(us.TextControl,{type:"number",label:(0,bs.__)("Min","ghostkit"),value:o,onChange:e=>n({min:e}),step:r,max:i,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{type:"number",label:(0,bs.__)("Max","ghostkit"),value:i,onChange:e=>n({max:e}),step:r,min:o,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{type:"number",label:(0,bs.__)("Step","ghostkit"),value:r,onChange:e=>n({step:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})]}),(0,gs.jsxs)("div",{...c,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"number",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},ab=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-phone","parent":["ghostkit/form"],"category":"ghostkit","title":"Phone","description":"Form field phone.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:lb}=ab,cb={icon:Cr("block-form-field-phone",!0),edit:function(e){const{attributes:t}=e;let{className:n=""}=e;n=cs()("ghostkit-form-field ghostkit-form-field-phone",n),n=(0,os.applyFilters)("ghostkit.editor.className",n,e);const o=(0,ds.useBlockProps)({className:n});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})})}),(0,gs.jsxs)("div",{...o,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"tel",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},ub=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-radio","parent":["ghostkit/form"],"category":"ghostkit","title":"Radio","description":"Form field radio.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:hb}=ub,db={icon:Cr("block-form-field-radio",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{slug:i,inline:r}=t;let{options:s}=t,{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-radio",r&&"ghostkit-form-field-radio-inline",a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e),s&&s.length||(s=[{label:"",value:"",selected:!1}]);let l="";s.forEach((e=>{!l&&e.selected&&(l=e.value)}));const c=(0,ds.useBlockProps)({className:a});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Inline","ghostkit"),checked:r,onChange:()=>n({inline:!r}),__nextHasNoMarginBottom:!0})]})}),(0,gs.jsxs)("div",{...c,children:[(0,gs.jsx)(Hv,{...e}),o?(0,gs.jsx)(Wv,{options:s,onChange:e=>n({options:e})}):(0,gs.jsx)("div",{className:"ghostkit-form-field-radio-items",children:s.map(((e,n)=>{const o=`${i}-item-${n}`;return(0,gs.jsxs)("label",{htmlFor:o,className:"ghostkit-form-field-radio-item",children:[(0,gs.jsx)("input",{type:"radio",checked:l===e.value,onChange:()=>{},...Bv(t)}),e.label]},o)}))}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},pb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-select","parent":["ghostkit/form"],"category":"ghostkit","title":"Select","description":"Form field select.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:gb}=pb,fb={icon:Cr("block-form-field-select",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{multiple:i}=t;let{options:r}=t,{className:s=""}=e;s=cs()("ghostkit-form-field ghostkit-form-field-select",s),s=(0,os.applyFilters)("ghostkit.editor.className",s,e),r&&r.length||(r=[{label:"",value:"",selected:!1}]);let a=i?[]:"";r.forEach((e=>{i&&e.selected?a.push(e.value):i||a||!e.selected||(a=e.value)}));const l=(0,ds.useBlockProps)({className:s});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Multiple","ghostkit"),checked:i,onChange:()=>{if(i){const e=[...r];let t=!1;e.forEach(((n,o)=>{n.selected&&(t&&(e[o].selected=!1),t=!0)})),n({multiple:!i,options:e})}else n({multiple:!i})},__nextHasNoMarginBottom:!0})]})}),(0,gs.jsxs)("div",{...l,children:[(0,gs.jsx)(Hv,{...e}),o?(0,gs.jsx)(Wv,{options:r,multiple:i,onChange:e=>n({options:e})}):(0,gs.jsx)(us.SelectControl,{...Bv(t),value:a,options:(()=>{if(!i){let e=!0;if(Object.keys(r).forEach((t=>{t.selected&&(e=!1)})),e)return[{label:(0,bs.__)("--- Select ---","ghostkit"),value:"",selected:!0},...r]}return r})(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},mb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-submit-button","parent":["ghostkit/form"],"category":"ghostkit","title":"Submit Button","description":"Form submit button.","supports":{"html":false,"className":false,"anchor":true,"reusable":false},"attributes":{"align":{"type":"string","default":"none"}}}');function vb(e){let t=[];return e.innerBlocks&&e.innerBlocks.length&&e.innerBlocks.forEach((e=>{e.name&&"ghostkit/button-single"===e.name&&t.push(e),e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...vb(e)])})),t}const{name:bb}=mb,{name:yb}=mb,wb={icon:Cr("block-buttons",!0),edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{align:r}=t,{updateBlockAttributes:s}=(0,Ze.useDispatch)("core/block-editor"),{blockData:a}=(0,Ze.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return{blockData:t(o)}}),[o]),l=Ev(200,function(){(vb(a)||[]).forEach((e=>{e.attributes.tagName&&"button"===e.attributes.tagName||s(e.clientId,{tagName:"button"})}))}.bind(this));(0,vs.useEffect)((()=>{l()})),i=cs()("ghostkit-form-submit-button",!(!r||"none"===r)&&`ghostkit-form-submit-button-align-${r}`,i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const c=(0,ds.useBlockProps)({className:i}),u=(0,ds.useInnerBlocksProps)(c,{template:[["ghostkit/button-single",{text:(0,bs.__)("Submit","ghostkit"),tagName:"button",focusOutlineWeight:2}]],allowedBlocks:["ghostkit/button-single"],templateLock:"all"});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:r,onChange:e=>n({align:e}),controls:["left","center","right"]})}),(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Align","ghostkit"),label:(0,bs.__)("Align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:r,onChange:e=>n({align:e}),controls:["left","center","right"],isCollapsed:!1})})})})}),(0,gs.jsx)("div",{...u})]})},save:function(e){const{align:t}=e.attributes;let n=cs()("ghostkit-form-submit-button",!(!t||"none"===t)&&`ghostkit-form-submit-button-align-${t}`);n=(0,os.applyFilters)("ghostkit.blocks.className",n,{name:bb,...e});const o=ds.useBlockProps.save({className:n}),i=ds.useInnerBlocksProps.save(o);return(0,Ke.createElement)("div",{...i})}},kb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-text","parent":["ghostkit/form"],"category":"ghostkit","title":"Text","description":"Form field text.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:_b}=kb,xb={icon:Cr("block-form-field-text",!0),edit:function(e){const{attributes:t}=e;let{className:n=""}=e;n=cs()("ghostkit-form-field ghostkit-form-field-text",n),n=(0,os.applyFilters)("ghostkit.editor.className",n,e);const o=(0,ds.useBlockProps)({className:n});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})})}),(0,gs.jsxs)("div",{...o,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Cb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-textarea","parent":["ghostkit/form"],"category":"ghostkit","title":"Textarea","description":"Form field textarea.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:Sb}=Cb,Eb={icon:Cr("block-form-field-textarea",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{default:o}=t;let{className:i=""}=e;i=cs()("ghostkit-form-field ghostkit-form-field-textarea",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const r=(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Default","ghostkit"),value:o,onChange:e=>n({default:e}),__nextHasNoMarginBottom:!0}),s=(0,ds.useBlockProps)({className:i});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e,defaultCustom:r})})}),(0,gs.jsxs)("div",{...s,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextareaControl,{__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Ab=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-url","parent":["ghostkit/form"],"category":"ghostkit","title":"URL","description":"Form field url.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:Tb}=Ab,$b={icon:Cr("block-form-field-url",!0),edit:function(e){const{attributes:t}=e;let{className:n=""}=e;n=cs()("ghostkit-form-field ghostkit-form-field-url",n),n=(0,os.applyFilters)("ghostkit.editor.className",n,e);const o=(0,ds.useBlockProps)({className:n});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})})}),(0,gs.jsxs)("div",{...o,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"url",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Mb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/gif","category":"ghostkit","title":"GIF","description":"Search for and insert an animated image.","keywords":["animated","giphy","image"],"supports":{"html":false,"className":false,"anchor":true},"attributes":{"searchText":{"type":"string"},"url":{"attribute":"src","selector":"img","source":"attribute","type":"string"},"srcset":{"attribute":"srcset","selector":"img","source":"attribute","type":"string"},"alt":{"attribute":"alt","selector":"img","source":"attribute","type":"string","default":""},"caption":{"type":"string","source":"html","selector":"figcaption"},"width":{"type":"number"},"height":{"type":"number"}}}'),Rb={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let jb;const Ob=new Uint8Array(16);function Lb(){if(!jb&&(jb="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!jb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return jb(Ob)}const Ib=[];for(let e=0;e<256;++e)Ib.push((e+256).toString(16).slice(1));const Nb=function(e,t,n){if(Rb.randomUUID&&!t&&!e)return Rb.randomUUID();const o=(e=e||{}).random||(e.rng||Lb)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return function(e,t=0){return Ib[e[t+0]]+Ib[e[t+1]]+Ib[e[t+2]]+Ib[e[t+3]]+"-"+Ib[e[t+4]]+Ib[e[t+5]]+"-"+Ib[e[t+6]]+Ib[e[t+7]]+"-"+Ib[e[t+8]]+Ib[e[t+9]]+"-"+Ib[e[t+10]]+Ib[e[t+11]]+Ib[e[t+12]]+Ib[e[t+13]]+Ib[e[t+14]]+Ib[e[t+15]]}(o)};Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Pb={ENABLED:"undefined"!=typeof window&&"undefined"!=typeof location&&-1!==location.search.indexOf("giphy-debug"),LEVEL:0,PREFIX:"GiphyJS",debug:(...e)=>{Pb.ENABLED&&Pb.LEVEL<=0&&console.debug(Pb.PREFIX,...e)},info:(...e)=>{Pb.ENABLED&&Pb.LEVEL<=1&&console.info(Pb.PREFIX,...e)},warn:(...e)=>{Pb.ENABLED&&Pb.LEVEL<=2&&console.warn(Pb.PREFIX,...e)},error:(...e)=>{Pb.ENABLED&&Pb.LEVEL<=3&&console.error(Pb.PREFIX,...e)}},Db="",Bb=()=>{if(!Db){try{Db=sessionStorage.getItem("giphyPingbackId")}catch(e){}if(!Db){const e=(new Date).getTime().toString(16);try{Db=`${e}${Nb().replace(/-/g,"")}`.substring(0,16)}catch(e){Db=(()=>{let e="";for(let t=0;t<16;t++)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return e})()}try{sessionStorage.setItem("giphyPingbackId",Db)}catch(e){}}}return Db},zb=(new Promise((e=>{"undefined"==typeof Image&&e(!1);const t=new Image;t.onload=()=>{e(!0)},t.onerror=()=>{e(!1)},t.src="data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA"})),("undefined"!=typeof window?window:global)||{});zb._GIPHY_SDK_HEADERS_=zb._GIPHY_SDK_HEADERS_||(zb.Headers?new zb.Headers({"X-GIPHY-SDK-PLATFORM":"web"}):void 0);var Fb,Hb,Wb,Vb=()=>zb._GIPHY_SDK_HEADERS_,Ub=(e,t)=>{var n;return null==(n=Vb())?void 0:n.set(e,t)},Gb=Object.defineProperty,qb=Object.defineProperties,Kb=Object.getOwnPropertyDescriptors,Yb=Object.getOwnPropertyNames,Zb=Object.getOwnPropertySymbols,Jb=Object.prototype.hasOwnProperty,Xb=Object.prototype.propertyIsEnumerable,Qb=(e,t,n)=>t in e?Gb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ey=(e,t)=>{for(var n in t||(t={}))Jb.call(t,n)&&Qb(e,n,t[n]);if(Zb)for(var n of Zb(t))Xb.call(t,n)&&Qb(e,n,t[n]);return e},ty=(e,t)=>qb(e,Kb(t)),ny=(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,t)=>("undefined"!=typeof require?require:e)[t]}):e)((function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')})),oy=(Fb={"package.json"(e,t){t.exports={scripts:{lint:"run -T eslint . --ext .ts,.tsx",clean:"rm -rf ./dist",dev:"parcel public/test.html",docs:"typedoc src/index.ts",build:"run -T tsup src/index.ts --format cjs,esm --dts && run -T publint",prepublish:"npm run clean && npm run build",test:"run -T jest --config ./jestconfig.js","test:watch":"run -T jest --config ./jestconfig.js --watchAll"},name:"@giphy/js-fetch-api",version:"5.4.0",description:"Javascript API to fetch gifs and stickers from the GIPHY API.",homepage:"https://github.com/Giphy/giphy-js/tree/master/packages/fetch-api",main:"dist/index.cjs",types:"dist/index.d.ts",module:"dist/index.js",type:"module",sideEffects:!1,exports:{".":{types:"./dist/index.d.ts",import:"./dist/index.js",require:"./dist/index.cjs"},"./package.json":"./package.json"},files:["dist/","src/**/*"],license:"MIT",publishConfig:{access:"public"},dependencies:{"@giphy/js-types":"*","@giphy/js-util":"*"},devDependencies:{"jest-fetch-mock":"^3.0.3","parcel-bundler":"latest",typedoc:"^0.20.37","typedoc-thunder-theme":"^0.0.3",typescript:"^5.0.4"}}}},function(){return Hb||(0,Fb[Yb(Fb)[0]])((Hb={exports:{}}).exports,Hb),Hb.exports}),iy=["is_anonymous","is_community","is_featured","is_hidden","is_indexable","is_preserve_size","is_realtime","is_removed","is_sticker","is_dynamic"],ry=["suppress_chrome","is_public","is_verified"],sy=e=>t=>e[t]=!!e[t],ay=e=>"string"==typeof e?e:e.text,ly=e=>{const t=ey({},e);t.id=String(t.id),t.tags=(t.tags||[]).map(ay),iy.forEach(sy(t)),Object.keys(t.images||{}).forEach((e=>{const n=t.images[e];n.width=parseInt(n.width),n.height=parseInt(n.height)}));const{user:n}=t;if(n){const e=ey({},n);ry.forEach(sy(e)),t.user=e}return t},cy=e=>(e.data=ly(e.data),e),uy=e=>(e.data=e.data.map((e=>ly(e))),e),hy=(("undefined"!=typeof window?window:global)||{}).GIPHY_API_URL||"https://api.giphy.com/v1/",dy=class extends Error{constructor(e,t,n=0,o=""){super(e),this.url=t,this.status=n,this.statusText=o}},py=e=>e,gy={},fy=function(e,t={}){const{apiVersion:n=1,noCache:o=!1,normalizer:i=py}=t,r=hy.replace(/\/v\d+\/$/,`/v${n}/`);if((()=>{const e=Date.now();Object.keys(gy).forEach((t=>{const n=gy[t].isError?6e3:6e4;e-gy[t].ts>=n&&delete gy[t]}))})(),!gy[e]||o){const t=`${r}${e}`,n=()=>{return n=this,o=null,r=function*(){var n;let o;try{const r=yield fetch(t,{method:"get"});if(r.ok){const e=yield r.json();if(null==(n=e.meta)?void 0:n.response_id)return i(e);throw{message:"synthetic response"}}{let n="Error fetching";try{const e=yield r.json();e.message&&(n=e.message)}catch(e){}gy[e]&&(gy[e].isError=!0),o=new dy(`@giphy/js-fetch-api: ${n}`,t,r.status,r.statusText)}}catch(n){o=new dy(n.message,t),gy[e]&&(gy[e].isError=!0)}throw o},new Promise(((e,t)=>{var i=e=>{try{a(r.next(e))}catch(e){t(e)}},s=e=>{try{a(r.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())}));var n,o,r};gy[e]={request:n(),ts:Date.now()}}return gy[e].request},my=e=>e&&e.type?e.type:"gifs";if(void 0!==ny){const{version:e}=oy();(null==(Wb=Vb())?void 0:Wb.get("X-GIPHY-SDK-NAME"))||(Ub("X-GIPHY-SDK-NAME","FetchAPI"),Ub("X-GIPHY-SDK-VERSION",e))}const vy=new class{constructor(e,t={}){this.getQS=(e={})=>new URLSearchParams(ey(ty(ey({},e),{api_key:this.apiKey,pingback_id:Bb()}),this.qsParams)).toString(),this.apiKey=e,this.qsParams=t}categories(e){return fy(`gifs/categories?${this.getQS(e)}`)}gif(e,t){const n=(null==t?void 0:t.internal)?"internal/":"";return fy(`${n}gifs/${e}?${this.getQS()}`,{normalizer:cy})}gifs(e,t){return Array.isArray(e)?fy(`gifs?${this.getQS({ids:e.join(",")})}`,{normalizer:uy}):fy(`gifs/categories/${e}/${t}?${this.getQS()}`,{normalizer:uy})}emoji(e){return fy(`emoji?${this.getQS(e)}`,{normalizer:uy})}emojiDefaultVariations(e){return fy(`emoji?${this.getQS(e)}`,{apiVersion:2,normalizer:uy})}emojiVariations(e){return fy(`emoji/${e}/variations?${this.getQS()}`,{apiVersion:2,normalizer:uy})}animate(e,t={}){const n=this.getQS(ty(ey({},t),{m:e}));return fy(`text/animate?${n}`,{normalizer:uy})}search(e,t={}){const n=t.channel?`@${t.channel} ${e}`:e;let o;"text"===t.type&&(o=!0);const i=this.getQS(ty(ey({rating:"pg-13"},t),{q:n,excludeDynamicResults:o}));return fy(`${my(t)}/search?${i}`,{normalizer:uy})}subcategories(e,t){return fy(`gifs/categories/${e}?${this.getQS(t)}`)}trending(e={}){return fy(`${my(e)}/trending?${this.getQS(ey({rating:"pg-13"},e))}`,{normalizer:uy})}random(e){return fy(`${my(e)}/random?${this.getQS(ey({rating:"pg-13"},e))}`,{noCache:!0,normalizer:cy})}related(e,t={}){const{type:n="gifs"}=t;return fy(`${n}/related?${this.getQS(ey({gif_id:e,rating:"pg-13"},t))}`,{normalizer:uy})}channels(e,t={}){return fy(`channels/search?${this.getQS(ey({q:e,rating:"pg-13"},t))}`)}}("Qm6AupESs2abqy7fSeHNQ892EWSS28r8");function by(e,t){const n=e.split(t);return n[n.length-1]}const{name:yy}=Mb,wy={icon:Cr("block-gif",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/gif/"},edit:function(e){const{attributes:t,isSelected:n,setAttributes:o}=e;let{className:i}=e;const{caption:r,url:s,srcset:a,alt:l,width:c,height:u,searchText:h}=t,[d,p]=(0,vs.useState)(null),[g,f]=(0,vs.useState)(!1);function m(e){e.preventDefault(),function(){f(!0);const e=function(){let e=null;-1!==h.indexOf("//giphy.com/gifs")&&(e=by(by(h,"/"),"-")),-1!==h.indexOf("//i.giphy.com")&&(e=by(h,"/").replace(".gif",""));const t=h.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return t&&(e=t[1]),e?{id:e}:{search:h}}();let t=!1;t=e.id?vy.gifs([e.id]):vy.search(e.search||"",{sort:"relevant",limit:10}),t.then((e=>{if(f(!1),e.meta&&e.meta.status&&200===e.meta.status){const t=void 0!==e.data.images?[e.data]:e.data;if(!t[0].images)return;p(t)}}))}()}const v=(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)("form",{className:"ghostkit-gif-input-container",onSubmit:m,children:[(0,gs.jsx)(us.TextControl,{className:"ghostkit-gif-input",placeholder:(0,bs.__)("Enter search terms, e.g. cat…","ghostkit"),onChange:e=>o({searchText:e}),value:h,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.Button,{variant:"secondary",onClick:e=>{m(e)},children:(0,bs.__)("Search","ghostkit")})]}),g&&(0,gs.jsx)(us.Spinner,{}),!g&&d&&d.length>1&&(0,gs.jsx)("div",{className:"ghostkit-gif-thumbnails-container",children:d.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,gs.jsx)("button",{className:"ghostkit-gif-thumbnail-container",onClick:()=>{!function(e){const{images:t}=e;let n="";["preview_gif","downsized_small","downsized_medium","downsized_large","downsized"].forEach((e=>{t[e]&&t[e].url&&!new RegExp(` ${t[e].width}w`).test(n)&&(n+=`${n?", ":""}${t[e].url} ${t[e].width}w`)})),o({url:t.original.url,srcset:n,caption:e.title,alt:e.title,width:parseInt(t.original.width,10),height:parseInt(t.original.height,10)})}(e)},style:t,children:" "},e.id)}))})]});i=cs()("ghostkit-gif",i);const b=(0,ds.useBlockProps)({className:i});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{className:"components-panel__body-gif-branding",children:(0,gs.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22",children:[(0,gs.jsx)("path",{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,gs.jsx)("path",{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})]})}),s?(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Image settings","ghostkit"),children:[v,(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:l,onChange:e=>o({alt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0})]}):null]}),(0,gs.jsx)("figure",{...b,children:s?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)("img",{src:s,srcSet:a,alt:l,width:c,height:u}),(!ds.RichText.isEmpty(r)||n)&&!!s&&(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,className:"ghostkit-gif-caption",onChange:e=>o({caption:e}),placeholder:(0,bs.__)("Write caption…","jetpack"),tagName:"figcaption",value:r})]}):(0,gs.jsx)(us.Placeholder,{className:"ghostkit-gif-placeholder",icon:Cr("block-gif"),label:(0,bs.__)("GIF","ghostkit"),instructions:(0,bs.__)("Search for a term or paste a Giphy URL","ghostkit"),children:v})})]})},save:function(e){const{url:t,srcset:n,alt:o,width:i,height:r,caption:s}=e.attributes;let{className:a}=e.attributes;a=cs()("ghostkit-gif",a);const l=ds.useBlockProps.save({className:a});return(0,Ke.createElement)("figure",{...l},(0,Ke.createElement)("img",{src:t,srcSet:n,alt:o,width:i,height:r}),ds.RichText.isEmpty(s)?null:(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-gif-caption",tagName:"figcaption",value:s}))}},ky=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/gist","category":"ghostkit","title":"GitHub Gist","description":"Embed code parts form GitHub Gist to your site or documentation.","keywords":["github","gist"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"url":{"type":"string","default":""},"file":{"type":"string","default":""},"caption":{"type":"string","default":""},"showFooter":{"type":"boolean","default":true},"showLineNumbers":{"type":"boolean","default":true}}}');function _y(e,t,n,o=(()=>{})){const{currentDoc:i}=function(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}(n),r=i.getElementsByTagName("head")[0],s=document.getElementById(t);if(s)if(i.getElementById(t))o();else{if("js"===e){const e=i.createElement("script");e.id=t,e.type="text/javascript",e.src=s.src,e.onload=o,r.appendChild(e)}if("css"===e){const e=i.createElement("link");e.id=t,e.rel="stylesheet",e.href=s.href,r.appendChild(e)}}}const xy=window.jQuery;var Cy=n.n(xy);const Sy={};function Ey(e){const{url:t,label:n,value:o,onChange:i,isToolbar:r,className:s}=e,[a,l]=(0,vs.useState)([""]);function c(e){a.toString()!==e.toString()&&l(e)}return(0,vs.useEffect)((()=>{let e=t;const n=/^https:\/\/gist.github.com?.+\/(.+)/g.exec(e);n&&void 0!==n[1]&&(e=`https://gist.github.com/${n[1].split("#")[0]}.json`,Cy().ajax({url:e,dataType:"jsonp",timeout:2e4,beforeSend(){if(Sy[e])return Sy[e].then((e=>{c([""].concat(e.files))}),(()=>{c([""])})),!1;Sy[e]=Cy().Deferred()},success(t){Sy[e]&&Sy[e].resolve(t),c([""].concat(t.files))},error(){c([""])}}))})),r?(0,gs.jsx)(us.DropdownMenu,{icon:"media-default",label:n,controls:a.map((e=>({title:e||(0,bs.__)("Show all files","ghostkit"),isActive:e===o,onClick:()=>i(e)}))),className:s}):(0,gs.jsx)(us.SelectControl,{label:n,value:o,options:a.map((e=>({value:e,label:e||(0,bs.__)("Show all files","ghostkit")}))),onChange:i,className:s,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}const{gistSimple:Ay}=window,{name:Ty}=ky,$y={from:[{type:"raw",priority:1,isMatch:e=>{const t="P"===e.nodeName&&/^https:\/\/gist.github.com?.+\/(.+)/g.exec(e.textContent);return!(!t||void 0===t[1])},transform:e=>(0,um.createBlock)("ghostkit/gist",{url:e.textContent.trim()})}]},{name:My}=ky,Ry={icon:Cr("block-gist",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/github-gist/"},example:{attributes:{url:"https://gist.github.com/nk-o/fc0422389f3baa4e66d243b6f0c0ef1a",file:"example.php"}},transforms:$y,edit:function(e){const{attributes:t,setAttributes:n}=e,{url:o,file:i,caption:r,showFooter:s,showLineNumbers:a}=t,[l,c]=(0,vs.useState)(t.url),u=(0,vs.useRef)(),h=(0,vs.useRef)(),d=(0,vs.useRef)();let{className:p=""}=e;function g(e,t=1e3){c(e),clearTimeout(d.current),d.current=setTimeout((()=>{n({url:e})}),t)}(0,vs.useEffect)((()=>{!function(){if(!o||!u?.current)return;const e=function(){if(o){const e=/^https:\/\/gist.github.com?.+\/(.+)/g.exec(o);if(e&&void 0!==e[1])return e[1].split("#")[0]}return!1}();if(!e)return;if(void 0===Ay)return void console.warn((0,bs.__)("Gist Simple plugin is not defined.","ghostkit"));const t=e+i+r+(s?1:0)+(a?1:0);t!==h?.current&&(h.current=t,setTimeout((()=>{u.current.GistSimple&&u.current.GistSimple.destroy(),Ay(u.current,{id:e,file:i,caption:r,showFooter:s,showLineNumbers:a})}),0))}()})),(0,vs.useEffect)((()=>{u?.current&&_y("css","gist-simple-css",u.current)}),[u]),p=cs()("ghostkit-gist",p),p=(0,os.applyFilters)("ghostkit.editor.className",p,e);const f=(0,ds.useBlockProps)({className:p});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("URL","ghostkit"),type:"url",value:l,onChange:e=>g(e),onKeyDown:e=>{13===e.keyCode&&g(l,0)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(Ey,{label:(0,bs.__)("File","ghostkit"),url:o,value:i,onChange:e=>n({file:e})})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Caption","ghostkit"),value:r,onChange:e=>n({caption:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show footer","ghostkit"),checked:!!s,onChange:e=>n({showFooter:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show line numbers","ghostkit"),checked:!!a,onChange:e=>n({showLineNumbers:e}),__nextHasNoMarginBottom:!0})]})]}),(0,gs.jsxs)("div",{...f,children:[o?null:(0,gs.jsxs)(us.Placeholder,{icon:Cr("block-gist"),label:(0,bs.__)("Gist URL","ghostkit"),className:p,children:[(0,gs.jsx)(us.TextControl,{placeholder:"https://gist.github.com/...",value:l,onChange:e=>g(e),onKeyDown:e=>{13===e.keyCode&&g(l,0)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ExternalLink,{href:"https://gist.github.com/",children:(0,bs.__)("Visit GitHub Gist Site","ghostkit")})]}),o?(0,gs.jsx)("div",{ref:u,className:p,"data-url":o,"data-file":i,"data-caption":r,"data-show-footer":s?"true":"false","data-show-line-numbers":a?"true":"false"}):null]})]})},save:function(e){const{url:t,file:n,caption:o,showFooter:i,showLineNumbers:r}=e.attributes;let s="ghostkit-gist";s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:Ty,...e});const a=ds.useBlockProps.save({className:s,"data-url":t,"data-file":n,"data-caption":o,"data-show-footer":i?"true":"false","data-show-line-numbers":r?"true":"false"});return(0,Ke.createElement)("div",{...a})}},jy=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/google-maps","category":"ghostkit","title":"Google Maps","description":"Show maps with custom styles, markers and settings.","keywords":["maps","google"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"lat":{"type":"number","default":40.7127753},"lng":{"type":"number","default":-74.0059728},"zoom":{"type":"number","default":10},"height":{"type":"number","default":350},"showZoomButtons":{"type":"boolean","default":true},"showMapTypeButtons":{"type":"boolean","default":true},"showStreetViewButton":{"type":"boolean","default":true},"showFullscreenButton":{"type":"boolean","default":true},"optionScrollWheel":{"type":"boolean","default":true},"gestureHandling":{"type":"string","default":"greedy"},"optionDraggable":{"type":"boolean","default":true},"style":{"type":"string","default":"default"},"styleCustom":{"type":"string","default":""},"markers":{"type":"array","default":[]},"fullHeight":{"type":"boolean","default":false}}}');var Oy,Ly;function Iy(){return Iy=Object.assign?Object.assign.bind():function(e){for(var t=1;t${i}
`),r&&(e+=r),p=new window.google.maps.InfoWindow({content:e}),d.addListener("click",(()=>{p.open(t,d)}))}return{marker:d,infoWindow:p}}function Wy(e){const{apiUrl:t,options:n,markers:o,onChangeMarkers:i}=e,[r,s]=(0,vs.useState)(null),a=(0,vs.useRef)(null),l=(0,vs.useRef)(null);return(0,vs.useEffect)((()=>{a.current&&(r?r.setOptions(n):function(e,t,n){const{markers:o,apiUrl:i=`${Fy}&key=${zy}`,onZoomChange:r,onCenterChange:s,...a}=t;Dy()(i,(()=>{By.trigger(e,"prepare.googleMaps.gkt",{options:t});const i=new window.google.maps.Map(e,a),l=e.getAttribute("data-gesture-handling");i&&"cooperative"===l&&i.setOptions({gestureHandling:l,scrollwheel:t.scrollwheel?null:t.scrollwheel}),o&&o.length&&o.forEach((e=>{Hy({map:i,lat:e.lat,lng:e.lng,title:e.title,description:e.infoWindowText,iconURL:e.iconUrl,iconWidth:e.iconWidth,iconHeight:e.iconHeight})})),r&&i.addListener("zoom_changed",(()=>{r(i.getZoom())})),s&&i.addListener("center_changed",(()=>{s(i.getCenter())})),By.trigger(e,"prepared.googleMaps.gkt",{options:t,instance:i}),n&&n(i)}))}(a.current,{apiUrl:t,...n},(e=>{s(e)})))}),[t,r,n]),(0,vs.useEffect)((()=>{r&&o&&o.length&&(l.current?.length&&l.current.forEach((e=>{e.setMap(null)})),l.current=[],o.forEach(((e,t)=>{let n=null,s=null,a=null;if(e.iconImageURL&&e.iconImageCustomWidth&&e.iconImageWidth&&e.iconImageHeight){const t=e.iconImageCustomWidth*(e.iconImageHeight/e.iconImageWidth);n=e.iconImageURL,s=e.iconImageCustomWidth,a=t}const{marker:c}=Hy({map:r,lat:e.lat,lng:e.lng,title:e.title,description:e.infoWindowText,iconURL:n,iconWidth:s,iconHeight:a,draggable:!0});l.current.push(c),window.google.maps.event.addListener(c,"dragend",(e=>{const n=e.latLng.lat(),r=e.latLng.lng(),s=Object.assign([],o);s[t].lat=n,s[t].lng=r,i(s)}))})))}),[t,r,n,o,i]),(0,Ke.createElement)("div",{ref:a,className:"ghostkit-google-maps-wrap",style:{minHeight:"100%"}})}const Vy=n.p+"images/style-bright.b03a3ba1.png",Uy=n.p+"images/style-custom.69181fd3.png",Gy=n.p+"images/style-dark.9fb1c8ca.png",qy=n.p+"images/style-default.d929fa91.png",Ky=n.p+"images/style-light.49c19432.png",Yy=n.p+"images/style-pale-dawn.2dd7ae39.png",Zy=[{value:"default",label:(0,bs.__)("Default","ghostkit"),image:qy,json:[]},{value:"bright",label:(0,bs.__)("Bright","ghostkit"),image:Vy,json:[{featureType:"all",elementType:"all",stylers:[{saturation:"32"},{lightness:"-3"},{visibility:"on"},{weight:"1.18"}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{saturation:"-70"},{lightness:"14"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{saturation:"100"},{lightness:"-14"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"off"},{lightness:"12"}]}]},{value:"light",label:(0,bs.__)("Light","ghostkit"),image:Ky,json:[{featureType:"administrative",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"geometry",stylers:[{visibility:"on"},{color:"#e3e3e3"}]},{featureType:"landscape.natural",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"all",stylers:[{color:"#cccccc"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"labels.text",stylers:[{visibility:"on"}]},{featureType:"transit.station.airport",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"transit.station.airport",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#FFFFFF"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"on"}]}]},{value:"dark",label:(0,bs.__)("Dark","ghostkit"),image:Gy,json:[{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#707070"},{lightness:40}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#424242"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{lightness:17},{color:"#484848"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{lightness:29},{weight:.2},{color:"#ff0000"},{visibility:"off"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]}]},{value:"pale_dawn",label:(0,bs.__)("Pale Dawn","ghostkit"),image:Yy,json:[{featureType:"administrative",elementType:"all",stylers:[{visibility:"on"},{lightness:33}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f2e5d4"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#c5dac6"}]},{featureType:"poi.park",elementType:"labels",stylers:[{visibility:"on"},{lightness:20}]},{featureType:"road",elementType:"all",stylers:[{lightness:20}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#c5c6c6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#e4d7c6"}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#fbfaf7"}]},{featureType:"water",elementType:"all",stylers:[{visibility:"on"},{color:"#acbcc9"}]}]},{value:"custom",label:(0,bs.__)("Custom","ghostkit"),image:Uy}];function Jy(e){const{label:t,placeholder:n,className:o,onChange:i}=e,r=(0,vs.useRef)(null),[s,a]=(0,vs.useState)("");return(0,vs.useEffect)((()=>{if(!r?.current||!window?.google?.maps?.places)return;const e=new window.google.maps.places.SearchBox(r.current);e.addListener("places_changed",(()=>{const t=e.getPlaces();i&&(i(t),t&&t[0]&&a(t[0].formatted_address))}))}),[r,i]),(0,gs.jsx)("div",{className:o,children:(0,gs.jsx)(us.TextControl,{ref:r,label:t,placeholder:n,value:s,onChange:e=>{a(e)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}const{GHOSTKIT:Xy}=window,Qy=`${Xy.googleMapsAPIUrl}&libraries=geometry,drawing,places`;let ew=!1;function tw(e){let t=[];try{t=JSON.parse(gt(e))}catch(e){return[]}return t}function nw(e){const{googleMapURL:t,title:n,address:o,addresses:i,lat:r,lng:s,iconImageURL:a,iconImageCustomWidth:l,infoWindowText:c,onChange:u}=e,h=a?(0,gs.jsx)("img",{src:a,width:l,alt:""}):(0,gs.jsx)("img",{src:"https://maps.gstatic.com/mapfiles/api-3/images/spotlight-poi3_hdpi.png",width:"27",alt:""});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Title","ghostkit"),value:n,onChange:e=>{u({title:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(Jy,{googleMapURL:t,label:(0,bs.__)("Address","ghostkit"),value:o||i[r+s]||"",onChange:e=>{e&&e[0]&&u({address:e[0].formatted_address,lat:e[0].geometry.location.lat(),lng:e[0].geometry.location.lng()})},className:"ghostkit-google-maps-search-box"}),(0,gs.jsxs)("div",{className:"ghostkit-google-maps-marker-options-content-icon",children:[h,(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{e&&e.url&&u({iconImageID:e.id,iconImageURL:e.url,iconImageCustomWidth:Math.min(100,e.width),iconImageWidth:e.width,iconImageHeight:e.height})},allowedTypes:["image"],value:a||!1,render:({open:e})=>(0,gs.jsx)(us.Button,{variant:"secondary",onClick:e,children:(0,bs.__)("Change Icon","ghostkit")})})]}),l?(0,gs.jsx)("div",{children:(0,gs.jsx)(us.Button,{className:"ghostkit-google-maps-icon-reset",onClick:()=>{u({iconImageID:"",iconImageURL:"",iconImageCustomWidth:"",iconImageWidth:"",iconImageHeight:""})},children:(0,bs.__)("Reset Icon to Default","ghostkit")})}):null,l?(0,gs.jsx)("div",{children:(0,gs.jsx)(rg,{label:(0,bs.__)("Marker Width","ghostkit"),value:l,onChange:e=>u({iconImageCustomWidth:e}),min:10,max:100,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}):null,(0,gs.jsx)(us.BaseControl,{label:(0,bs.__)("Info Window Text","ghostkit"),className:"ghostkit-google-maps-marker-options-content-info-window-text",id:"ghostkit-google-maps-marker-content-info-window-text",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(ds.RichText,{value:c,multiline:!0,placeholder:(0,bs.__)("Write text…","ghostkit"),onChange:e=>{u({infoWindowText:e})},onRemove:()=>{u({infoWindowText:""})}})})]})}const{name:ow}=jy,{name:iw}=jy,rw={icon:Cr("block-google-maps",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/google-maps/"},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,toggleSelection:i}=e;let{className:r=""}=e;const{height:s,zoom:a,lat:l,lng:c,showZoomButtons:u,showMapTypeButtons:h,showStreetViewButton:d,showFullscreenButton:p,optionScrollWheel:g,optionDraggable:f,gestureHandling:m,markers:v,fullHeight:b,style:y,styleCustom:w}=t,[k,_]=(0,vs.useState)(t.apiKey),[x,C]=(0,vs.useState)(Xy.googleMapsAPIKey),[S,E]=(0,vs.useState)({});function A(e,t){v&&v.length>0&&(v.forEach(((n,o)=>{n.address||e.lat!==n.lat||e.lng!==n.lng||(v[o].address=t,S[e.lat+e.lng]=t)})),E(S))}(0,vs.useEffect)((()=>{(ew||window.google&&window.google.maps&&window.google.maps.Geocoder)&&(ew=new window.google.maps.Geocoder),ew&&v&&v.length>0&&v.forEach((e=>{e.address||(S[e.lat+e.lng]?A({lat:e.lat,lng:e.lng},S[e.lat+e.lng]):ew.geocode({location:{lat:e.lat,lng:e.lng}},((t,n)=>{"OK"===n&&t.length&&A({lat:e.lat,lng:e.lng},t[0].formatted_address)})))}))}));const T=Av(600,(e=>{Xy.googleMapsAPIKey=e,_(e)})),$=Av(3e3,(e=>{Wg()({path:"/ghostkit/v1/update_google_maps_api_key",method:"POST",data:{key:e}})}));function M(){return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(np,{value:gt(y),options:Zy,onChange:e=>{let t=w;"default"===e?t="":"custom"!==e&&Zy.forEach((n=>{e===n.value&&(t=JSON.stringify(n.json))})),n({style:e,styleCustom:pt(t)})}}),"custom"===y?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextareaControl,{placeholder:(0,bs.__)("Enter Style JSON","ghostkit"),value:gt(w),onChange:e=>n({styleCustom:pt(e)}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,gs.jsxs)("em",{children:[(0,bs.__)("You can use custom styles presets from the","ghostkit")," ",(0,gs.jsx)(us.ExternalLink,{href:"https://snazzymaps.com/",children:(0,bs.__)("Snazzy Maps","ghostkit")}),"."]})})]}):null]})}function R(){return(0,gs.jsx)(Wy,{apiUrl:`${Qy}&key=${pt(x)}`,markers:v,onChangeMarkers:e=>{n({markers:e})},options:{styles:w?tw(w):[],zoom:a,center:{lat:l,lng:c},zoomControl:u,zoomControlOpt:{style:"DEFAULT",position:"RIGHT_BOTTOM"},mapTypeControl:h,streetViewControl:d,fullscreenControl:p,gestureHandling:"cooperative",scrollwheel:!1,draggable:f,onZoomChange:Av(500,(e=>n({zoom:e}))),onCenterChange:Av(500,(e=>n({lat:e.lat(),lng:e.lng()})))}},k+v.length)}r=cs()("ghostkit-google-maps",r),b&&(r=cs()(r,"ghostkit-google-maps-fullheight")),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const j=(0,ds.useBlockProps)({className:r});return(0,gs.jsxs)(gs.Fragment,{children:[x?(0,gs.jsxs)(ds.BlockControls,{children:[(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-fullheight"),title:(0,bs.__)("Full Height","ghostkit"),onClick:()=>n({fullHeight:!b}),isActive:b})}),(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-marker"),title:(0,bs.__)("Add Marker","ghostkit"),onClick:()=>{n({markers:[...v,{lat:l,lng:c}]})}}),(0,gs.jsx)(us.Dropdown,{renderToggle:({onToggle:e})=>(0,gs.jsx)(us.Button,{label:(0,bs.__)("Style","ghostkit"),icon:Cr("icon-map"),className:"components-toolbar__control",onClick:e}),renderContent:()=>(0,gs.jsx)("div",{style:{minWidth:260},children:M()})})]})]}):null,(0,gs.jsx)(ds.InspectorControls,{group:"styles",children:(0,gs.jsx)(us.PanelBody,{title:(0,bs.__)("Styles","ghostkit"),children:M()})}),(0,gs.jsxs)(ds.InspectorControls,{children:[x?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:b?(0,bs.__)("Minimal Height","ghostkit"):(0,bs.__)("Height","ghostkit"),value:s,onChange:e=>n({height:e}),min:100,max:800,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Zoom","ghostkit"),value:a,onChange:e=>n({zoom:e}),min:1,max:18,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Markers","ghostkit"),children:[v&&v.length>0?(0,gs.jsx)("ul",{className:"ghostkit-google-maps-markers",children:v.map(((e,t)=>(0,gs.jsxs)(ks,{label:e.title||(0,bs.__)("Marker","ghostkit"),contentClassName:"ghostkit-component-google-maps-markers",children:[(0,gs.jsx)(nw,{index:t,googleMapURL:`${Qy}&key=${pt(x)}`,address:e.address,addresses:S,lat:e.lat,lng:e.lng,title:e.title,iconImageURL:e.iconImageURL,iconImageCustomWidth:e.iconImageCustomWidth,infoWindowText:e.infoWindowText,onChange:e=>{const o=Object.assign([],v);o[t]={...o[t],...e},n({markers:o})}}),(0,gs.jsx)(us.Button,{onClick:()=>{const e=Object.assign([],v);e.splice(t,1),n({markers:e})},className:"ghostkit-google-maps-marker-remove",children:(0,bs.__)("Remove Marker","ghostkit")})]},t)))}):null,(0,gs.jsx)(us.Button,{variant:"secondary",onClick:()=>{n({markers:[...v,{lat:l,lng:c}]})},children:(0,bs.__)("+ Add Marker","ghostkit")})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Options","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Zoom Buttons","ghostkit"),checked:!!u,onChange:e=>n({showZoomButtons:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Map Type Buttons","ghostkit"),checked:!!h,onChange:e=>n({showMapTypeButtons:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Street View Button","ghostkit"),checked:!!d,onChange:e=>n({showStreetViewButton:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Fullscreen Button","ghostkit"),checked:!!p,onChange:e=>n({showFullscreenButton:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Scroll Wheel","ghostkit"),checked:!!g,onChange:e=>n({optionScrollWheel:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Draggable","ghostkit"),checked:!!f,onChange:e=>n({optionDraggable:e}),__nextHasNoMarginBottom:!0}),g||f?(0,gs.jsx)(us.ToggleControl,{label:g&&f?(0,bs.__)("Better Scroll & Draggable","ghostkit"):g?(0,bs.__)("Better Scroll","ghostkit"):f?(0,bs.__)("Better Draggable","ghostkit"):"",help:g&&f?(0,bs.__)("Scroll with pressed Ctrl or ⌘ key to zoom. Draggable with two fingers.","ghostkit"):g?(0,bs.__)("Scroll with pressed Ctrl or ⌘ key to zoom.","ghostkit"):f?(0,bs.__)("Draggable with two fingers.","ghostkit"):"",checked:"cooperative"===m,onChange:()=>{n({gestureHandling:"greedy"===m?"cooperative":"greedy"})},__nextHasNoMarginBottom:!0}):null]})]}):null,(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("API Key","ghostkit"),initialOpen:!x,children:[(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Enter API Key","ghostkit"),value:x,onChange:e=>{C(e),T(e),$(e)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,gs.jsxs)("em",{children:[(0,bs.__)("A valid API key is required to use Google Maps. How to get API key","ghostkit")," ",(0,gs.jsx)(us.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",children:(0,bs.__)("read here","ghostkit")}),"."]})}),(0,gs.jsx)("p",{children:(0,gs.jsx)("em",{children:(0,bs.__)("This key will be used in all Google Maps blocks on your site.","ghostkit")})})]})]}),(0,gs.jsx)("div",{...j,children:x?(0,gs.jsxs)(gs.Fragment,{children:[b?R():(0,gs.jsx)(us.ResizableBox,{className:cs()({"is-selected":o}),size:{width:"100%",height:s},style:{minHeight:s},minHeight:"100",enable:{bottom:!0},onResizeStart:()=>{i(!1)},onResizeStop:(e,t,o,r)=>{n({height:parseInt(s+r.height,10)}),i(!0)},children:R()}),o?(0,gs.jsxs)("div",{className:"ghostkit-google-maps-search",children:[(0,gs.jsx)(Jy,{googleMapURL:`${Qy}&key=${pt(x)}`,label:(0,bs.__)("Center Map","ghostkit"),placeholder:(0,bs.__)("Enter search query","ghostkit"),onChange:e=>{e&&e[0]&&n({lat:e[0].geometry.location.lat(),lng:e[0].geometry.location.lng()})},className:"ghostkit-google-maps-search-box"}),(0,gs.jsx)("div",{className:"ghostkit-google-maps-search-note",children:(0,gs.jsx)("p",{children:(0,gs.jsx)("small",{children:(0,bs.__)("You can also drag the map to change the center coordinates.","ghostkit")})})})]}):null]}):(0,gs.jsxs)("div",{className:"ghostkit-google-maps-placeholder",style:{minHeight:s},children:[(0,gs.jsx)(Ny,{}),(0,gs.jsxs)("div",{className:"ghostkit-google-maps-placeholder-key",children:[(0,gs.jsx)("div",{children:(0,gs.jsx)("strong",{children:(0,bs.__)("Google Maps API Key Required","ghostkit")})}),(0,gs.jsx)("div",{children:(0,gs.jsx)("small",{children:(0,bs.__)("Add an API key in block settings.","ghostkit")})})]})]})})]})},save:function(e){const{height:t,zoom:n,lat:o,lng:i,showZoomButtons:r,showMapTypeButtons:s,showStreetViewButton:a,showFullscreenButton:l,optionScrollWheel:c,gestureHandling:u,optionDraggable:h,styleCustom:d,markers:p,fullHeight:g}=e.attributes;let f="ghostkit-google-maps";g&&(f=cs()(f,"ghostkit-google-maps-fullheight")),f=(0,os.applyFilters)("ghostkit.blocks.className",f,{name:ow,...e});const m={className:f,style:{minHeight:t},"data-lat":o,"data-lng":i,"data-zoom":n,"data-show-zoom-buttons":r?"true":"false","data-show-map-type-buttons":s?"true":"false","data-show-street-view-button":a?"true":"false","data-show-fullscreen-button":l?"true":"false","data-option-scroll-wheel":c?"true":"false","data-option-draggable":h?"true":"false","data-styles":gt(d)};"greedy"!==u&&(m["data-gesture-handling"]=u);const v=ds.useBlockProps.save(m);return(0,Ke.createElement)("div",{...v},p?p.map(((e,t)=>{const n=e.iconImageURL&&e.iconImageCustomWidth&&e.iconImageWidth&&e.iconImageHeight,o={"data-title":e.title,"data-lat":e.lat,"data-lng":e.lng,"data-address":e.address};if(n){const t=e.iconImageCustomWidth*(e.iconImageHeight/e.iconImageWidth);o["data-icon-url"]=e.iconImageURL,o["data-icon-width"]=e.iconImageCustomWidth,o["data-icon-height"]=t}e.infoWindowText&&!ds.RichText.isEmpty(e.infoWindowText)&&(o.children=(0,Ke.createElement)("div",{key:"ghostkit-pro-google-maps-marker-info-window-text",className:"ghostkit-pro-google-maps-marker-info-window-text",style:{display:"none"}},(0,Ke.createElement)(ds.RichText.Content,{value:e.infoWindowText})));const i=`marker-${t}`;return(0,Ke.createElement)("div",{key:i,className:"ghostkit-google-maps-marker",...o})})):"")}},sw={};function aw(e){if(sw[e])return sw[e];let t=e;t&&/^u003c/g.test(t)&&(t=t.replace(/u003c/g,"<").replace(/u003e/g,">").replace(/u0022/g,'"').replace(/u0026/g,"&")),t=gt(t),t=t.replace("url("","url('"),t=t.replace("");","');"),t=t.replace(/)<[^<]*)*<\/script>/gi,"");const n=/(\w+)\s*=\s*["']?((?:.(?!["']?\s+(?:\S+)=|\s*\/?[>"']))+.)["']?/gi;return t=t.replace(//gi,((e,t)=>`{const o=t.toLowerCase();return o.startsWith("on")||"src"===o&&/^(javascript|data):/i.test(n)?"":e}))}>`)),sw[e]=t,t}function lw(e){const{attributes:t,setAttributes:n}=e,{awb_color:o,awb_type:i,awb_image:r,awb_imageTag:s,awb_imageSizes:a,awb_imageSize:l,awb_imageBackgroundSize:c,awb_imageBackgroundPosition:u}=t;function h(e){const t={};Object.keys(e).forEach((n=>{t[`awb_${n}`]=e[n]})),n(t)}const{fetchedImageTag:d}=(0,Ze.useSelect)((e=>{if(!r)return!1;const t={id:r,size:l,attr:{class:"jarallax-img"}};return"pattern"===c&&(t.div_tag=!0),{fetchedImageTag:e("ghostkit/base/images").getImageTagData(t)}}));return(0,vs.useEffect)((()=>{d&&pt(d)!==s&&h({imageTag:pt(d)})})),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Background","ghostkit"),initialOpen:!1,children:[(0,gs.jsx)(lg,{value:"video"===i||"yt_vm_video"===i?"yt_vm_video":i,options:[{label:(0,bs.__)("Color","ghostkit"),value:"color"},{label:(0,bs.__)("Image","ghostkit"),value:"image"},{label:(0,bs.__)("Video","ghostkit"),value:"yt_vm_video"}],onChange:e=>{h({type:e})}}),"image"===i?(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Image","ghostkit"),initialOpen:"image"===i,children:[r&&s?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{!function(e,t){t({image:"",imageSizes:""}),wp.media.attachment(e.id).fetch().then((n=>{if(n&&n.sizes){const{url:o}=n.sizes["post-thumbnail"]||n.sizes.medium||n.sizes.medium_large||n.sizes.full;o&&t({image:e.id,imageSizes:n.sizes})}}))}(e,h)},allowedTypes:["image"],value:r,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select image","ghostkit")})}),r&&s?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Es,{value:u,image:aw(s),onChange:e=>h({imageBackgroundPosition:e}),__nextHasNoMarginBottom:!0}),a?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Size","ghostkit"),value:l,options:(()=>{const e=[];return Object.keys(a).forEach((t=>{e.push({value:t,label:ut(t)})})),e})(),onChange:e=>h({imageSize:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Background size","ghostkit"),value:c,options:[{label:(0,bs.__)("Cover","ghostkit"),value:"cover"},{label:(0,bs.__)("Contain","ghostkit"),value:"contain"},{label:(0,bs.__)("Pattern","ghostkit"),value:"pattern"}],onChange:e=>h({imageBackgroundSize:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.Button,{isLink:!0,onClick:e=>{h({image:"",imageTag:"",imageSizes:""}),e.preventDefault()},children:(0,bs.__)("Remove image","ghostkit")})]}):null]}):null,"color"===i?(0,gs.jsx)(fs,{label:(0,bs.__)("Background Color","ghostkit"),value:o,onChange:e=>h({color:e}),alpha:!0}):(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Overlay","ghostkit"),(0,gs.jsx)(hs,{colorValue:o})]}),initialOpen:"color"===i,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Background Color","ghostkit"),value:o,onChange:e=>h({color:e}),alpha:!0})}),(0,gs.jsx)("p",{children:(0,bs.__)("Install AWB plugin to set video backgrounds and images with parallax support.","ghostkit")}),(0,gs.jsx)(us.ExternalLink,{className:"components-button is-button is-secondary is-small",href:"https://wordpress.org/plugins/advanced-backgrounds/",children:(0,bs.__)("Install","ghostkit")})]})}function cw(e,t){if((0,um.hasBlockSupport)(t.name,"awb",!1)){const{awb_color:e,awb_type:n,awb_imageTag:o}=t.attributes;let i=!1;return"color"===n&&e&&(i=!0),"image"===n&&(e||o)&&(i=!0),i?(0,gs.jsxs)("div",{className:"awb-gutenberg-preview-block",children:[e?(0,gs.jsx)("div",{className:"nk-awb-overlay",style:{"background-color":e}}):null,"image"===n&&o?(0,gs.jsx)("div",{className:"nk-awb-inner",dangerouslySetInnerHTML:{__html:aw(o)}}):null]}):null}return e}function uw(e,t){if((0,um.hasBlockSupport)(t.name,"awb",!1)){const{awb_color:e,awb_type:n,awb_imageBackgroundSize:o,awb_imageBackgroundPosition:i}=t.attributes;let{awb_imageTag:r}=t.attributes,s=!1;if("color"===n&&e&&(s=!0),"image"===n&&(e||r)&&(s=!0),s){const t={"data-awb-type":n};return"image"===n&&(o&&(t["data-awb-image-background-size"]=o),i&&(t["data-awb-image-background-position"]=i)),"image"===n&&r&&(r=aw(r)),(0,gs.jsx)("div",{className:"nk-awb",children:(0,gs.jsxs)("div",{className:"nk-awb-wrap",...t,children:[e?(0,gs.jsx)("div",{className:"nk-awb-overlay",style:{"background-color":e}}):null,"image"===n&&r?(0,gs.jsx)("div",{className:"nk-awb-inner",dangerouslySetInnerHTML:{__html:r}}):null]})})}return null}return e}(0,os.addFilter)("blocks.registerBlockType","ghostkit/grid/awb/additional-attributes",(function(e){"ghostkit/grid"!==e.name&&"ghostkit/grid-column"!==e.name||(e.supports.awb=!0);let t=!1;return(0,um.hasBlockSupport)(e,"awb",!1)&&(t=!0),t&&(e.attributes.awb_type={type:"string",default:"color"},e.attributes.awb_align={type:"string"},e.attributes.awb_color={type:"string",default:""},e.attributes.awb_image={type:"number",default:""},e.attributes.awb_imageTag={type:"string",default:""},e.attributes.awb_imageSizes={type:"object",default:""},e.attributes.awb_imageSize={type:"string",default:"full"},e.attributes.awb_imageBackgroundSize={type:"string",default:"cover"},e.attributes.awb_imageBackgroundPosition={type:"string",default:"50% 50%"}),e})),(0,os.addFilter)("ghostkit.editor.controls","ghostkit/grid/awb/addBackgroundControls",(function(e,t){return"background"===t.attribute&&(0,um.hasBlockSupport)(t.props.name,"awb",!1)?(0,gs.jsx)(lw,{...t.props}):e})),(0,os.addFilter)("ghostkit.editor.grid.background","ghostkit/grid/awb/addEditorBackground",cw),(0,os.addFilter)("ghostkit.editor.grid-column.background","ghostkit/grid-column/awb/addEditorBackground",cw),(0,os.addFilter)("ghostkit.blocks.grid.background","ghostkit/grid/addSaveBackground",uw),(0,os.addFilter)("ghostkit.blocks.grid-column.background","ghostkit/grid-column/addSaveBackground",uw);const hw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/grid","category":"ghostkit","title":"Advanced Columns","description":"Responsive grid block to build layouts of all shapes and sizes thanks to a twelve column system. Visual columns size and order change.","keywords":["row","columns","section"],"supports":{"awb":true,"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"padding":["vertical"],"margin":["vertical"],"__experimentalDefaultControls":{"padding":false,"margin":false}}},"attributes":{"isTemplatesModalOnly":{"type":"boolean"},"gap":{"type":"string","default":"md"},"gapCustom":{"type":"number"},"gapVerticalCustom":{"type":"number"},"verticalAlign":{"type":"string"},"horizontalAlign":{"type":"string"}}}');function dw(e){const{awb_image:t,awb_imageBackgroundSize:n,awb_imageBackgroundPosition:o}=e,i={"> .nk-awb .jarallax-img":{"object-fit":void 0,"object-position":void 0,"background-repeat":void 0,"background-position":void 0,"font-family":void 0}};return t&&("pattern"!==n?(n&&(i["> .nk-awb .jarallax-img"]["object-fit"]=n),o&&(i["> .nk-awb .jarallax-img"]["object-position"]=o)):(n&&(i["> .nk-awb .jarallax-img"]["background-repeat"]="repeat"),n&&(i["> .nk-awb .jarallax-img"]["background-position"]=o))),i}const{name:pw}=hw,gw={from:[{type:"block",blocks:["core/columns"],transform:(e,t)=>(0,um.createBlock)("ghostkit/grid",{columns:e.columns},t.map((e=>(0,um.createBlock)("ghostkit/grid-column",{},e.innerBlocks))))}]},{name:fw}=hw,mw={icon:Cr("block-grid",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/advanced-columns/",customStylesCallback(e){const{gap:t,gapCustom:n,gapVerticalCustom:o}=e,i={"--gkt-grid__gap":void 0,"--gkt-grid__gap-vertical":void 0,...dw(e)};if("custom"===t){if(void 0!==n&&""!==n){const e=n?"px":"%";i["--gkt-grid__gap"]=`${n}${e}`}if(void 0!==o&&""!==o){const e=o?"px":"%";i["--gkt-grid__gap-vertical"]=`${o}${e}`}}return i},customStylesFilter:(e,t,n,o)=>(n&&o?.ghostkit?.id&&(e=e.replace(new RegExp("> .nk-awb .jarallax-img","g"),"> .awb-gutenberg-preview-block .jarallax-img")),e)},example:{attributes:{columns:2},innerBlocks:[{name:"ghostkit/grid-column",innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},{name:"ghostkit/grid-column",innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]}]},edit:function(e){const{clientId:t,attributes:n,setAttributes:o}=e,{gap:i,gapCustom:r,gapVerticalCustom:s,verticalAlign:a,horizontalAlign:l}=n,{removeBlock:c,replaceInnerBlocks:u}=(0,Ze.useDispatch)("core/block-editor"),{getBlocks:h,columnsCount:d}=(0,Ze.useSelect)((e=>{const{getBlockCount:n}=e("core/block-editor");return{getBlocks:e("core/block-editor").getBlocks,columnsCount:n(t)}}),[]);function p(e){const t=[],n=e.split("-");return n.forEach((e=>{const o={size:e};"a"===e?o.size="auto":"g"===e&&(o.size="grow"),2===n.length&&(o.md_size="12"),3===n.length&&(o.lg_size="12"),4===n.length&&(o.md_size="12",o.lg_size="6"),5===n.length&&(o.sm_size="12",o.md_size="5",o.lg_size="4"),6===n.length&&(o.sm_size="6",o.md_size="4",o.lg_size="3"),t.push(o)})),t}function g(){let n=["12","6-6","4-4-4","3-3-3-3","5-7","7-5","3-3-6","3-6-3","6-3-3","2-8-2","g-g-g-g-g","2-2-2-2-2-2"];n=(0,os.applyFilters)("ghostkit.editor.grid.layouts",n,e);const o=(0,os.applyFilters)("ghostkit.editor.grid.templatesModal","",e);return(0,gs.jsxs)(us.Placeholder,{icon:Cr("block-grid"),label:(0,bs.__)("Advanced Columns","ghostkit"),instructions:(0,bs.__)("Select one layout to get started.","ghostkit"),className:"ghostkit-select-layout",children:[(0,gs.jsx)("div",{className:"ghostkit-grid-layout-preview",children:n.map((e=>{const n=p(e);return(0,gs.jsx)(us.Button,{className:"ghostkit-grid-layout-preview-btn ghostkit-grid",onClick:()=>function(e){const n=p(e),o=[];n.forEach((e=>{o.push((0,um.createBlock)("ghostkit/grid-column",e))})),u(t,o,!1)}(e),children:n.map(((t,n)=>{const o=`layout-${e}-col-${n}`;return(0,gs.jsx)("div",{className:cs()("ghostkit-col",`ghostkit-col-${t.size}`)},o)}))},`layout-${e}`)}))}),o]})}let f=cs()("ghostkit-grid",`ghostkit-grid-gap-${i}`,!!a&&`ghostkit-grid-align-items-${a}`,!!l&&`ghostkit-grid-justify-content-${l}`);const m=(0,os.applyFilters)("ghostkit.editor.grid.background","",e);m&&(f=cs()(f,"ghostkit-grid-with-bg")),f=(0,os.applyFilters)("ghostkit.editor.className",f,e);const v=(0,ds.useBlockProps)({className:f}),{children:b,...y}=(0,ds.useInnerBlocksProps)(v,{allowedBlocks:["ghostkit/grid-column"],orientation:"horizontal",renderAppender:!1});return(0,gs.jsxs)("div",{...y,children:[d>0?(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-top"),title:(0,bs.__)("Content Vertical Start","ghostkit"),onClick:()=>o({verticalAlign:""}),isActive:""===a}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-center"),title:(0,bs.__)("Content Vertical Center","ghostkit"),onClick:()=>o({verticalAlign:"center"}),isActive:"center"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-bottom"),title:(0,bs.__)("Content Vertical End","ghostkit"),onClick:()=>o({verticalAlign:"end"}),isActive:"end"===a})]})}):null,(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"columns",props:e,children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(rg,{label:(0,bs.__)("Columns","ghostkit"),value:d,onChange:e=>function(e){if(e<1)c(t);else if(e>d){const n=e-d,o=[...h(t)];for(let e=1;e<=n;e+=1)o.push((0,um.createBlock)("ghostkit/grid-column",{size:3}));u(t,o,!1)}else if(e0?(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(lg,{label:(0,bs.__)("Vertical alignment","ghostkit"),value:a,options:[{icon:Cr("icon-vertical-top"),label:(0,bs.__)("Top","ghostkit"),value:""},{icon:Cr("icon-vertical-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-vertical-bottom"),label:(0,bs.__)("Bottom","ghostkit"),value:"end"}],onChange:e=>{o({verticalAlign:e})},isDeselectable:!0,isAdaptiveWidth:!0}),(0,gs.jsx)(lg,{label:(0,bs.__)("Horizontal alignment","ghostkit"),value:l,options:[{icon:Cr("icon-horizontal-start"),label:(0,bs.__)("Start","ghostkit"),value:""},{icon:Cr("icon-horizontal-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-horizontal-end"),label:(0,bs.__)("End","ghostkit"),value:"end"},{icon:Cr("icon-horizontal-around"),label:(0,bs.__)("Around","ghostkit"),value:"around"},{icon:Cr("icon-horizontal-between"),label:(0,bs.__)("Space Between","ghostkit"),value:"between"}],onChange:e=>{o({horizontalAlign:e})},isDeselectable:!0})]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(Mm,{gap:i,gapCustom:r,gapVerticalCustom:s,onChange:e=>{o(e)},allowVerticalGap:!0})})]}):null,(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)("div",{className:"ghostkit-background-controls",children:(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"background",props:e})})}),d>0?(0,gs.jsxs)(gs.Fragment,{children:[m,(0,gs.jsx)("div",{className:"ghostkit-grid-inner",children:b})]}):(0,gs.jsx)(g,{})]})},save:function(e){const{verticalAlign:t,horizontalAlign:n,gap:o}=e.attributes;let i=cs()("ghostkit-grid",`ghostkit-grid-gap-${o}`,!!t&&`ghostkit-grid-align-items-${t}`,!!n&&`ghostkit-grid-justify-content-${n}`);const r=(0,os.applyFilters)("ghostkit.blocks.grid.background","",{name:pw,...e});r&&(i=cs()(i,"ghostkit-grid-with-bg")),i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:pw,...e});const s=ds.useBlockProps.save({className:i}),{children:a,...l}=ds.useInnerBlocksProps.save(s);return(0,Ke.createElement)("div",{...l},r,(0,Ke.createElement)("div",{className:"ghostkit-grid-inner"},a))},transforms:gw},vw=(0,ug.createHigherOrderComponent)((e=>function(t){const{name:n}=t;return"ghostkit/grid"===n&&t.attributes.isTemplatesModalOnly?(0,Ke.createElement)(e,{...t,"data-ghostkit-grid-templates-modal-only":"true"}):(0,Ke.createElement)(e,{...t})}));(0,os.addFilter)("editor.BlockListBlock","ghostkit/grid/with-classes",vw);const bw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/grid-column","parent":["ghostkit/grid"],"category":"ghostkit","title":"Column","description":"A single column within a grid block.","supports":{"awb":true,"ghostkit":{"styles":{"customSelector":".ghostkit-grid &"}},"html":false,"className":false,"anchor":true,"reusable":false,"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"sm_size":{"type":"string","default":""},"sm_order":{"type":"string","default":""},"sm_verticalAlign":{"type":"string","default":""},"md_size":{"type":"string","default":""},"md_order":{"type":"string","default":""},"md_verticalAlign":{"type":"string","default":""},"lg_size":{"type":"string","default":""},"lg_order":{"type":"string","default":""},"lg_verticalAlign":{"type":"string","default":""},"xl_size":{"type":"string","default":""},"xl_order":{"type":"string","default":""},"xl_verticalAlign":{"type":"string","default":""},"size":{"type":"string","default":"auto"},"order":{"type":"string","default":""},"verticalAlign":{"type":"string","default":""},"stickyContent":{"type":"string","default":""},"stickyContentOffset":{"type":"number","default":0}}}');function yw(e){const{attributes:t}=e;let n="ghostkit-col";return Object.keys(t).forEach((e=>{if(t[e]){let o=e.split("_")[0],i=e.split("_")[1];if(i||(i=o,o=""),i&&("size"===i||"order"===i||"verticalAlign"===i)){switch(o=o&&`-${o}`,i){case"size":i="";break;case"order":i=`-${i}`;break;case"verticalAlign":i="-align-self"}n=cs()(n,`ghostkit-col${i}${o||""}${"auto"!==t[e]?`-${t[e]}`:""}`)}}})),t.stickyContent&&void 0!==t.stickyContentOffset&&(n=cs()(n,`ghostkit-col-sticky-${t.stickyContent}`)),n=(0,os.applyFilters)("ghostkit.editor.className",n,e),n}const ww=function(){const e=[{label:(0,bs.__)("Inherit from larger","ghostkit"),value:""},{label:(0,bs.__)("Auto","ghostkit"),value:"auto"},{label:(0,bs.__)("Grow","ghostkit"),value:"grow"}];for(let t=1;t<=12;t+=1)e.push({label:(0,bs.sprintf)(1===t?(0,bs.__)("%d Column (%s)","ghostkit"):(0,bs.__)("%d Columns (%s)","ghostkit"),t,Math.round(100*t/12*100)/100+"%"),value:t});return e},kw=function(e=12){const t=[{label:(0,bs.__)("Inherit from larger","ghostkit"),value:""},{label:(0,bs.__)("Auto","ghostkit"),value:"auto"},{label:(0,bs.__)("First","ghostkit"),value:"first"}];for(let n=1;n<=e;n+=1)t.push({label:n,value:n});return t.push({label:(0,bs.__)("Last","ghostkit"),value:"last"}),t},{name:_w}=bw,{name:xw}=bw,Cw={icon:Cr("block-grid-column",!0),ghostkit:{customStylesCallback(e){const{stickyContent:t,stickyContentOffset:n}=e,o={"--gkt-grid--column-sticky__offset":void 0,...dw(e)};return t&&void 0!==n&&""!==n&&(o["--gkt-grid--column-sticky__offset"]=`${n}px`),o},customStylesFilter:(e,t,n,o)=>(n&&o?.ghostkit?.id&&(e=e.replace(new RegExp("> .nk-awb .jarallax-img","g"),"> .awb-gutenberg-preview-block .jarallax-img")),e)},edit:function(e){const{clientId:t,attributes:n,setAttributes:o}=e,{stickyContent:i,stickyContentOffset:r}=n,{device:s}=Jr(),{hasChildBlocks:a}=(0,Ze.useSelect)((e=>{const n=e("core/block-editor");return{hasChildBlocks:!!n&&n.getBlockOrder(t).length>0}}),[t]),l=(0,os.applyFilters)("ghostkit.editor.grid-column.background","",e),c=(0,ds.useBlockProps)({className:cs()(e.attributes.className,yw(e))}),u=(0,ds.useInnerBlocksProps)({className:"ghostkit-col-content"},{templateLock:!1,renderAppender:a?void 0:ds.InnerBlocks.ButtonBlockAppender});let h="size",d="order",p="verticalAlign";return s&&(h=`${s}_${h}`,d=`${s}_${d}`,p=`${s}_${p}`),(0,gs.jsxs)("div",{...c,children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"columnSettings",props:e,children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Size","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!n[`${e}_size`]})]}),value:n[h],onChange:e=>{o({[h]:e})},options:ww(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Order","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!n[`${e}_order`]})]}),value:n[d],onChange:e=>{o({[d]:e})},options:kw(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(lg,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Vertical Alignment","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!n[`${e}_verticalAlign`]})]}),value:n[p],options:[{icon:Cr("icon-vertical-top"),label:(0,bs.__)("Top","ghostkit"),value:""},{icon:Cr("icon-vertical-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-vertical-bottom"),label:(0,bs.__)("Bottom","ghostkit"),value:"end"}],onChange:e=>{o({[p]:e})},isDeselectable:!0})]})}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(lg,{label:(0,bs.__)("Sticky Content","ghostkit"),value:i,options:[{label:(0,bs.__)("Top","ghostkit"),value:"top"},{label:(0,bs.__)("Bottom","ghostkit"),value:"bottom"}],onChange:e=>{o({stickyContent:e})},isDeselectable:!0}),i?(0,gs.jsx)(rg,{label:(0,bs.__)("Sticky Offset","ghostkit"),value:r,onChange:e=>o({stickyContentOffset:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)("div",{className:"ghostkit-background-controls",children:(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"background",props:e})})]}),l,(0,gs.jsx)("div",{...u})]})},save:function(e){let t=yw(e);const n=(0,os.applyFilters)("ghostkit.blocks.grid-column.background","",{name:_w,...e});n&&(t=cs()(t,"ghostkit-col-with-bg"));const o=ds.useBlockProps.save({className:t}),i=ds.useInnerBlocksProps.save({className:"ghostkit-col-content"});return(0,Ke.createElement)("div",{...o},n,(0,Ke.createElement)("div",{...i}))}},Sw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/icon","category":"ghostkit","title":"Icon","description":"Insert SVG icons","keywords":["icon","picker","svg"],"attributes":{"icon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.5965%2015.3206C17.0994%2014.6244%2017.4472%2013.8088%2017.5894%2012.9245H21C20.8198%2014.7391%2020.102%2016.3955%2019.0082%2017.7322L16.5965%2015.3206Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M15.3206%2016.5965C14.6244%2017.0994%2013.8088%2017.4472%2012.9245%2017.5894V21C14.7391%2020.8198%2016.3955%2020.102%2017.7322%2019.0082L15.3206%2016.5965Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M12.0223%206.38335C14.8295%206.38335%2017.1576%208.43463%2017.5894%2011.12H21C20.5473%206.5608%2016.7006%203%2012.0223%203C7.03941%203%203%207.03941%203%2012.0223C3%2016.7006%206.5608%2020.5473%2011.12%2021V17.5894C8.43463%2017.1576%206.38335%2014.8295%206.38335%2012.0223C6.38335%208.90798%208.90798%206.38335%2012.0223%206.38335Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"width":{"type":"string","default":"50px"},"justify":{"type":"string","default":"center"},"flipH":{"type":"boolean"},"flipV":{"type":"boolean"},"color":{"type":"string"},"backgroundColor":{"type":"string"},"backgroundGradient":{"type":"string"},"url":{"type":"string"},"rel":{"type":"string"},"target":{"type":"string"},"ariaLabel":{"type":"string"}},"supports":{"ghostkit":{"styles":{"customSelector":"& .ghostkit-icon-inner"}},"html":false,"className":false,"anchor":true,"align":["wide","full","left","center","right"]}}');function Ew(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{url:i,rel:r,ariaLabel:s,target:a}=t;return(0,Ke.createElement)(Pg,{url:i,rel:r,ariaLabel:s,target:a,onChange:e=>n(e),isSelected:o,toolbarSettings:!0,inspectorSettings:!0})}function Aw({attributes:e,setAttributes:t,isSelected:n}){const{justify:o,flipH:i,flipV:r}=e,s=Cr("icon-horizontal-start"),a=Cr("icon-horizontal-center"),l=Cr("icon-horizontal-end"),c=[{title:(0,bs.__)("Justify Icon Start","ghostkit"),icon:s,isActive:"start"===o,onClick:()=>t({justify:"start"})},{title:(0,bs.__)("Justify Icon Center","ghostkit"),icon:a,isActive:"center"===o,onClick:()=>t({justify:"center"})},{title:(0,bs.__)("Justify Icon End","ghostkit"),icon:l,isActive:"end"===o,onClick:()=>t({justify:"end"})}];let u;return u="start"===o?s:"center"===o?a:l,(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,{group:"block"},(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:u,label:(0,bs.__)("Justify Icon","ghostkit"),controls:c}))),(0,Ke.createElement)(Ew,{attributes:e,setAttributes:t,isSelected:n}),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:Cr("icon-flip-horizontal"),title:(0,bs.__)("Flip Horizontal","ghostkit"),onClick:()=>t({flipH:!i}),isActive:i}),(0,Ke.createElement)(us.ToolbarButton,{icon:Cr("icon-flip-vertical"),title:(0,bs.__)("Flip Vertical","ghostkit"),onClick:()=>t({flipV:!r}),isActive:r}))))}function Tw(e){const{attributes:t,setAttributes:n,clientId:o}=e,{color:i,backgroundColor:r,backgroundGradient:s}=t,a=(0,ds.__experimentalUseMultipleOriginColorsAndGradients)();return a.hasColorsOrGradients?(0,Ke.createElement)(ds.InspectorControls,{group:"color"},(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:i,label:(0,bs.__)("Icon","ghostkit"),onColorChange:e=>{n({color:e})},isShownByDefault:!0,resetAllFilter:()=>({color:void 0})},{colorValue:r,gradientValue:s,label:(0,bs.__)("Background","ghostkit"),onColorChange:e=>{n({backgroundColor:e})},onGradientChange:e=>{n({backgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({backgroundColor:void 0,backgroundGradient:void 0})}],panelId:o,...a})):null}function $w({attributes:e,setAttributes:t}){const{icon:n,width:o}=e;return(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:n,onChange:e=>t({icon:e}),insideInspector:!0}),(0,gs.jsx)(us.__experimentalUnitControl,{label:(0,bs.__)("Width","ghostkit"),placeholder:(0,bs.__)("Auto","ghostkit"),value:o,onChange:e=>t({width:e}),labelPosition:"edge",min:0,__unstableInputWidth:"70px",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})})}const{name:Mw}=Sw;function Rw({attributes:e}){const{icon:t,url:n,target:o,ariaLabel:i,rel:r}=e,s=n?"a":"div",a={};return"a"===s&&(a.href=n,a.target=o||null,a.rel=r||null,a.ariaLabel=i||null),(0,Ke.createElement)(tp.Render,{...a,name:t,tag:s,className:"ghostkit-icon-inner"})}const{name:jw}=Sw,Ow={icon:Cr("block-icon",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/icon/",customStylesCallback(e){const{justify:t,width:n,color:o,backgroundColor:i,backgroundGradient:r}=e,s={"--gkt-icon__color":o||void 0,"--gkt-icon__background":i||r||void 0,"--gkt-icon__width":void 0,"--gkt-icon__justify":void 0};return"start"===t?s["--gkt-icon__justify"]="flex-start":"end"===t&&(s["--gkt-icon__justify"]="flex-end"),void 0!==n&&""!==n&&(s["--gkt-icon__width"]=n),s}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e,{flipV:r,flipH:s}=t;let{className:a=""}=e;a=cs()("ghostkit-icon",{"ghostkit-icon-flip-vertical":r,"ghostkit-icon-flip-horizontal":s},a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e);const l=(0,ds.useBlockProps)({className:a});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)($w,{attributes:t,setAttributes:n}),(0,Ke.createElement)(Tw,{attributes:t,setAttributes:n,clientId:i}),(0,Ke.createElement)(Aw,{attributes:t,setAttributes:n,isSelected:o}),(0,Ke.createElement)("span",{...l},(0,Ke.createElement)(tp.Preview,{tag:"div",name:t.icon,className:"ghostkit-icon-inner"})))},save:function(e){const{attributes:t}=e,{flipV:n,flipH:o}=t;let i=cs()("ghostkit-icon",{"ghostkit-icon-flip-vertical":n,"ghostkit-icon-flip-horizontal":o});i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:Mw,...e});const r=ds.useBlockProps.save({className:i});return(0,Ke.createElement)("div",{...r},(0,Ke.createElement)(Rw,{attributes:e.attributes}))}},Lw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/icon-box","category":"ghostkit","title":"Icon Box","description":"Icons are one of the best visual replacement for text descriptions.","keywords":["icon","icon-box"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"icon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.7813%209.75C16.7813%207.10939%2014.6406%204.96875%2012%204.96875C9.35939%204.96875%207.21875%207.10939%207.21875%209.75C7.21875%2012.3906%209.35939%2014.5312%2012%2014.5312C14.6406%2014.5312%2016.7813%2012.3906%2016.7813%209.75Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8.15625%2018C10.6023%2019.25%2013.3977%2019.25%2015.8437%2018%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E"},"iconPosition":{"type":"string","default":"left"},"iconAlign":{"type":"string"},"iconSize":{"type":"number"},"showContent":{"type":"boolean","default":true},"iconColor":{"type":"string"},"hoverIconColor":{"type":"string"},"url":{"type":"string"},"ariaLabel":{"type":"string"},"target":{"type":"string"},"rel":{"type":"string"}}}'),{name:Iw}=Lw,Nw=[{...Lw,attributes:{icon:{type:"string",default:"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.7813%209.75C16.7813%207.10939%2014.6406%204.96875%2012%204.96875C9.35939%204.96875%207.21875%207.10939%207.21875%209.75C7.21875%2012.3906%209.35939%2014.5312%2012%2014.5312C14.6406%2014.5312%2016.7813%2012.3906%2016.7813%209.75Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8.15625%2018C10.6023%2019.25%2013.3977%2019.25%2015.8437%2018%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E"},iconPosition:{type:"string",default:"left"},iconSize:{type:"number"},showContent:{type:"boolean",default:!0},iconColor:{type:"string"},hoverIconColor:{type:"string"},url:{type:"string"},target:{type:"string"},rel:{type:"string"}},save:class extends vs.Component{render(){const{icon:e,iconPosition:t,showContent:n,url:o,target:i,rel:r}=this.props.attributes;let s=cs()("ghostkit-icon-box",o&&"ghostkit-icon-box-with-link");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:Iw,...this.props});const a=cs()("ghostkit-icon-box-icon",`ghostkit-icon-box-icon-align-${t||"left"}`);return(0,Ke.createElement)("div",{className:s},o?(0,Ke.createElement)("a",{className:"ghostkit-icon-box-link",href:o,target:i||!1,rel:r||!1},(0,Ke.createElement)("span",null)):null,e?(0,Ke.createElement)(tp.Render,{name:e,tag:"div",className:a}):null,n?(0,Ke.createElement)("div",{className:"ghostkit-icon-box-content"},(0,Ke.createElement)(ds.InnerBlocks.Content,null)):null)}}}],{name:Pw}=Lw,Dw={from:[{type:"block",blocks:["ghostkit/counter-box"],transform:(e,t)=>(0,um.createBlock)("ghostkit/icon-box",{iconPosition:e.numberPosition,iconSize:e.numberSize,showContent:e.showContent,iconColor:e.numberColor,hoverIconColor:e.hoverNumberColor},t)},{type:"block",blocks:["ghostkit/alert"],transform:(e,t)=>(0,um.createBlock)("ghostkit/icon-box",{icon:e.icon,iconSize:e.iconSize,iconColor:e.color,hoverIconColor:e.hoverColor},t)}]},{name:Bw}=Lw,zw={icon:Cr("block-icon-box",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/icon/",customStylesCallback(e){const t={"--gkt-icon-box--icon__font-size":void 0,"--gkt-icon-box--icon__color":e.iconColor||void 0,"&:hover":{"--gkt-icon-box--icon__color":e.hoverIconColor||void 0}};return void 0!==e.iconSize&&""!==e.iconSize&&(t["--gkt-icon-box--icon__font-size"]=`${e.iconSize}px`),t}},example:{attributes:{icon:'',iconColor:"#0366d6",ghostkit:{id:"example-icon-box"},className:"ghostkit-custom-example-icon-box"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e;let{className:r=""}=e;const{icon:s,iconPosition:a,iconAlign:l,iconSize:c,showContent:u,iconColor:h,hoverIconColor:d,url:p,ariaLabel:g,target:f,rel:m}=t,v=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return!!t&&t.getBlockOrder(i).length>0}),[i]);r=cs()("ghostkit-icon-box",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const b=cs()("ghostkit-icon-box-icon",`ghostkit-icon-box-icon-align-${a||"left"}`,"top"===a?`ghostkit-icon-box-icon-top-align-${l||"center"}`:""),y=(0,ds.useBlockProps)({className:r}),w=(0,ds.useInnerBlocksProps)({className:"ghostkit-icon-box-content"},{renderAppender:v?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1}),k=(0,bs.__)("Icon Position","ghostkit");return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Icon Size","ghostkit"),value:c,onChange:e=>n({iconSize:e}),min:20,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.BaseControl,{id:k,label:k,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsxs)(us.Toolbar,{label:k,children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Top","ghostkit"),onClick:()=>n({iconPosition:"top"}),isActive:"top"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Left","ghostkit"),onClick:()=>n({iconPosition:"left"}),isActive:"left"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Right","ghostkit"),onClick:()=>n({iconPosition:"right"}),isActive:"right"===a})]})})}),"top"===a?(0,gs.jsx)(lg,{label:(0,bs.__)("Icon Alignment","ghostkit"),value:l||"center",options:[{icon:Cr("icon-horizontal-start"),label:(0,bs.__)("Start","ghostkit"),value:"left"},{icon:Cr("icon-horizontal-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-horizontal-end"),label:(0,bs.__)("End","ghostkit"),value:"right"}],onChange:e=>{n({iconAlign:e})}}):null]}):null]}),!u||s?(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Content","ghostkit"),checked:!!u,onChange:e=>n({showContent:e}),__nextHasNoMarginBottom:!0})}):null,(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:h})]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverIconColor":"iconColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Icon","ghostkit"),value:o?d:h,onChange:e=>n(o?{hoverIconColor:e}:{iconColor:e}),alpha:!0,gradient:!0})})}})})]}),(0,gs.jsx)(Pg,{url:p,rel:m,ariaLabel:g,target:f,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),s?(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Top","ghostkit"),onClick:()=>n({iconPosition:"top"}),isActive:"top"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Left","ghostkit"),onClick:()=>n({iconPosition:"left"}),isActive:"left"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Right","ghostkit"),onClick:()=>n({iconPosition:"right"}),isActive:"right"===a})]})}):null,(0,gs.jsxs)("div",{...y,children:[s?(0,gs.jsx)("div",{className:b,children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null,u?(0,gs.jsx)("div",{...w}):null]})]})},save:function(e){const{icon:t,iconPosition:n,iconAlign:o,showContent:i,url:r,ariaLabel:s,target:a,rel:l}=e.attributes;let c=cs()("ghostkit-icon-box",r&&"ghostkit-icon-box-with-link");c=(0,os.applyFilters)("ghostkit.blocks.className",c,{name:Pw,...e});const u=cs()("ghostkit-icon-box-icon",`ghostkit-icon-box-icon-align-${n||"left"}`,"top"===n?`ghostkit-icon-box-icon-top-align-${o||"center"}`:""),h=ds.useBlockProps.save({className:c}),d=ds.useInnerBlocksProps.save({className:"ghostkit-icon-box-content"});return(0,Ke.createElement)("div",{...h},r?(0,Ke.createElement)("a",{className:"ghostkit-icon-box-link",href:r,target:a||null,rel:l||null,"aria-label":s||null},(0,Ke.createElement)("span",null)):null,t?(0,Ke.createElement)(tp.Render,{name:t,tag:"div",className:u}):null,i?(0,Ke.createElement)("div",{...d}):null)},transforms:Dw,deprecated:Nw},Fw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/image-compare","category":"ghostkit","title":"Image Compare","description":"Compare two images with a slider.","keywords":["image","compare","before","after"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"align":{"type":"string"},"position":{"type":"number","default":50},"direction":{"type":"string"},"trigger":{"type":"string"},"beforeId":{"type":"number"},"beforeUrl":{"attribute":"src","selector":".ghostkit-image-compare-image-before img","source":"attribute","type":"string"},"beforeAlt":{"attribute":"alt","selector":".ghostkit-image-compare-image-before img","source":"attribute","type":"string","default":""},"beforeWidth":{"type":"number"},"beforeHeight":{"type":"number"},"beforeSizeSlug":{"type":"string"},"afterId":{"type":"number"},"afterUrl":{"attribute":"src","selector":".ghostkit-image-compare-image-after img","source":"attribute","type":"string"},"afterAlt":{"attribute":"alt","selector":".ghostkit-image-compare-image-after img","source":"attribute","type":"string","default":""},"afterWidth":{"type":"number"},"afterHeight":{"type":"number"},"afterSizeSlug":{"type":"string"},"showLabels":{"type":"boolean","default":false},"labelBeforeText":{"type":"string","source":"html","selector":".ghostkit-image-compare-image-before-label","default":"Before"},"labelAfterText":{"type":"string","source":"html","selector":".ghostkit-image-compare-image-after-label","default":"After"},"labelAlign":{"type":"string","default":"end"},"colorDivider":{"type":"string"},"colorDividerIcon":{"type":"string"},"caption":{"type":"string","source":"html","selector":"figcaption"}}}'),Hw=["image"],Ww="large",{name:Vw}=Fw,Uw={icon:Cr("block-image-compare",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/image-compare/",customStylesCallback(e){const t={"--gkt-image-compare__position":void 0,"--gkt-image-compare--divider__background-color":e.colorDivider||void 0,"--gkt-image-compare--divider-icons__color":e.colorDividerIcon||void 0};return void 0!==e.position&&""!==e.position&&(t["--gkt-image-compare__position"]=`${e.position}%`),t}},edit:function(e){const{attributes:t,isSelected:n,setAttributes:o}=e;let{className:i}=e;const{position:r,direction:s,trigger:a,caption:l,showLabels:c,labelBeforeText:u,labelAfterText:h,labelAlign:d,beforeId:p,beforeUrl:g,beforeAlt:f,beforeWidth:m,beforeHeight:v,beforeSizeSlug:b,afterId:y,afterUrl:w,afterAlt:k,afterWidth:_,afterHeight:x,afterSizeSlug:C,colorDivider:S,colorDividerIcon:E}=t,{editorSettings:A,beforeImage:T,afterImage:$}=(0,Ze.useSelect)((e=>{const{getSettings:t}=e("core/block-editor"),{getMedia:o}=e("core");return{editorSettings:t(),beforeImage:p&&n?o(p):null,afterImage:y&&n?o(y):null}})),M=t=>{const{noticeOperations:n}=e;n.removeAllNotices(),n.createErrorNotice(t)},R=(e="before")=>t[`${e}Url`]?(0,gs.jsx)("img",{src:t[`${e}Url`],alt:t[`${e}Alt`],className:t[`${e}Id`]?`wp-image-${t[`${e}Id`]}`:null,width:t[`${e}Width`],height:t[`${e}Height`]}):null,j=(e="before",n={},i=!1)=>{const r={[`${e}SizeSlug`]:i=i||t[`${e}SizeSlug`]||Ww,[`${e}Id`]:n.id,[`${e}Url`]:n.url||n.source_url,[`${e}Alt`]:n.alt||n.alt_text,[`${e}Width`]:n.width||(n.media_details&&n.media_details.width?n.media_details.width:void 0),[`${e}Height`]:n.height||(n.media_details&&n.media_details.height?n.media_details.height:void 0)};let s=n.sizes&&n.sizes[i];!s&&n.media_details&&n.media_details.sizes&&n.media_details.sizes[i]&&(s=n.media_details.sizes[i]),s&&(s.url&&(r[`${e}Url`]=s.url),s.source_url&&(r[`${e}Url`]=s.source_url),s.width&&(r[`${e}Width`]=s.width),s.height&&(r[`${e}Height`]=s.height)),o(r)},O=Cr("vertical"===s?"icon-horizontal-start":"icon-vertical-top"),L=Cr("vertical"===s?"icon-horizontal-center":"icon-vertical-center"),I=Cr("vertical"===s?"icon-horizontal-end":"icon-vertical-bottom");i=cs()("ghostkit-image-compare","vertical"===s&&"ghostkit-image-compare-vertical",!(!c||!d)&&`ghostkit-image-compare-labels-align-${d}`,i);const N=(0,ds.useBlockProps)({className:i}),P="vertical"===s?(0,bs.__)("Horizontal Align","ghostkit"):(0,bs.__)("Vertical Align","ghostkit");return(0,gs.jsxs)(gs.Fragment,{children:[g&&w?(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-flip-vertical"),title:(0,bs.__)("Vertical","ghostkit"),onClick:()=>o({direction:"vertical"===s?"":"vertical"}),isActive:"vertical"===s})})}):null,(0,gs.jsxs)(ds.InspectorControls,{children:[g&&w?(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("General","ghostkit"),children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Start Position","ghostkit"),value:r,min:0,max:100,onChange:e=>o({position:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsxs)(us.__experimentalToggleGroupControl,{label:(0,bs.__)("Direction","ghostkit"),onChange:e=>o({direction:e}),value:s||"",isBlock:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:"",label:(0,bs.__)("Horizontal","ghostkit")}),(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:"vertical",label:(0,bs.__)("Vertical","ghostkit")})]}),(0,gs.jsxs)(us.__experimentalToggleGroupControl,{label:(0,bs.__)("Trigger","ghostkit"),onChange:e=>o({trigger:e}),value:a||"",isBlock:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:"",label:(0,bs.__)("Click","ghostkit")}),(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:"hover",label:(0,bs.__)("Hover","ghostkit")})]})]}):null,(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Labels","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Labels","ghostkit"),checked:!!c,onChange:e=>o({showLabels:e}),__nextHasNoMarginBottom:!0}),c&&(0,gs.jsx)(us.BaseControl,{id:P,label:P,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsxs)(us.Toolbar,{label:"vertical"===s?(0,bs.__)("Horizontal Align","ghostkit"):(0,bs.__)("Vertical Align","ghostkit"),children:[(0,gs.jsx)(us.ToolbarButton,{icon:O,title:(0,bs.__)("Start","ghostkit"),onClick:()=>o({labelAlign:"start"}),isActive:"start"===d}),(0,gs.jsx)(us.ToolbarButton,{icon:L,title:(0,bs.__)("Center","ghostkit"),onClick:()=>o({labelAlign:"center"}),isActive:"center"===d}),(0,gs.jsx)(us.ToolbarButton,{icon:I,title:(0,bs.__)("End","ghostkit"),onClick:()=>o({labelAlign:"end"}),isActive:"end"===d})]})})})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Before Image Settings","ghostkit"),children:[p?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{j("before",e)},allowedTypes:["image"],value:p,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select Image","ghostkit")})}),p?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{j("before",e)},allowedTypes:["image"],value:p,render:({open:e})=>(0,gs.jsx)(us.BaseControl,{help:(0,bs.__)("Click the image to edit or update","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:g,alt:f,width:m,height:v})})})}),(0,gs.jsx)("div",{style:{marginTop:-20}}),(0,gs.jsx)(us.Button,{isLink:!0,onClick:e=>{o({beforeId:"",beforeUrl:"",beforeAlt:"",beforeWidth:"",beforeHeight:""}),e.preventDefault()},className:"button button-secondary",children:(0,bs.__)("Remove Image","ghostkit")}),(0,gs.jsx)("div",{style:{marginBottom:13}}),A&&A.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:b||Ww,onChange:e=>{j("before",T,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:f,onChange:e=>o({beforeAlt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0})]}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("After Image Settings","ghostkit"),children:[y?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{j("after",e)},allowedTypes:["image"],value:y,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select Image","ghostkit")})}),y?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{j("after",e)},allowedTypes:["image"],value:y,render:({open:e})=>(0,gs.jsx)(us.BaseControl,{help:(0,bs.__)("Click the image to edit or update","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:w,alt:k,width:_,height:x})})})}),(0,gs.jsx)("div",{style:{marginTop:-20}}),(0,gs.jsx)(us.Button,{isLink:!0,onClick:e=>{o({afterId:"",afterUrl:"",afterAlt:"",afterWidth:"",afterHeight:""}),e.preventDefault()},className:"button button-secondary",children:(0,bs.__)("Remove Image","ghostkit")}),(0,gs.jsx)("div",{style:{marginBottom:13}}),A&&A.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:C||Ww,onChange:e=>{j("after",$,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:k,onChange:e=>o({afterAlt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0})]}):null]})]}),(0,gs.jsx)(ds.InspectorControls,{group:"styles",children:(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Color","ghostkit"),children:[(0,gs.jsx)(fs,{label:(0,bs.__)("Divider","ghostkit"),value:S,onChange:e=>o({colorDivider:e}),alpha:!0}),(0,gs.jsx)(fs,{label:(0,bs.__)("Divider Icon","ghostkit"),value:E,onChange:e=>o({colorDividerIcon:e}),alpha:!0})]})}),g&&w?(0,gs.jsxs)("figure",{...N,children:[(0,gs.jsxs)("div",{className:"ghostkit-image-compare-images",children:[(0,gs.jsxs)("div",{className:"ghostkit-image-compare-image-before",children:[R("before"),!c||ds.RichText.isEmpty(u)&&!n?null:(0,gs.jsx)("div",{className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-before-label",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>o({labelBeforeText:e}),value:u,placeholder:(0,bs.__)("Before label…","ghostkit")})})]}),(0,gs.jsxs)("div",{className:"ghostkit-image-compare-image-after",children:[R("after"),!c||ds.RichText.isEmpty(h)&&!n?null:(0,gs.jsx)("div",{className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-after-label",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>o({labelAfterText:e}),value:h,placeholder:(0,bs.__)("After label…","ghostkit")})})]}),(0,gs.jsxs)("div",{className:"ghostkit-image-compare-images-divider",children:[(0,gs.jsx)("div",{className:"ghostkit-image-compare-images-divider-button-arrow-left",children:(0,gs.jsx)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M14.7803 17.7803C14.4874 18.0732 14.0126 18.0732 13.7197 17.7803L8.4697 12.5303C8.1768 12.2374 8.1768 11.7626 8.4697 11.4697L13.7197 6.21967C14.0126 5.92678 14.4874 5.92678 14.7803 6.21967C15.0732 6.51256 15.0732 6.98744 14.7803 7.28033L10.0607 12L14.7803 16.7197C15.0732 17.0126 15.0732 17.4874 14.7803 17.7803Z",fill:"currentColor"})})}),(0,gs.jsx)("div",{className:"ghostkit-image-compare-images-divider-button-arrow-right",children:(0,gs.jsx)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"})})})]})]}),(!ds.RichText.isEmpty(l)||n)&&(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,className:"ghostkit-image-compare-caption",onChange:e=>o({caption:e}),placeholder:(0,bs.__)("Write caption…","jetpack"),tagName:"figcaption",value:l})]}):(0,gs.jsx)("div",{...N,children:(0,gs.jsxs)(us.Placeholder,{className:"ghostkit-image-compare-placeholder",icon:Cr("block-image-compare"),label:(0,bs.__)("Image Compare","ghostkit"),instructions:(0,bs.__)("Select images to compare","ghostkit"),children:[R("before")?(0,gs.jsx)("div",{className:"components-placeholder",children:R("before")}):(0,gs.jsx)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,bs.__)("Image Before","ghostkit"),name:(0,bs.__)("image","ghostkit")},onSelect:e=>{j("before",e)},accept:"image/*",allowedTypes:Hw,disableMaxUploadErrorMessages:!0,onError:M}),R("after")?(0,gs.jsx)("div",{className:"components-placeholder",children:R("after")}):(0,gs.jsx)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,bs.__)("Image After","ghostkit"),name:(0,bs.__)("image","ghostkit")},value:!!w&&{src:w},onSelect:e=>{j("after",e)},accept:"image/*",allowedTypes:Hw,disableMaxUploadErrorMessages:!0,onError:M})]})})]})},save:function(e){const{attributes:t}=e,{direction:n,trigger:o,caption:i,showLabels:r,labelBeforeText:s,labelAfterText:a,labelAlign:l,beforeId:c,beforeUrl:u,beforeAlt:h,beforeWidth:d,beforeHeight:p,afterId:g,afterUrl:f,afterAlt:m,afterWidth:v,afterHeight:b}=t;if(!u||!f)return null;let{className:y}=t;y=cs()("ghostkit-image-compare","vertical"===n&&"ghostkit-image-compare-vertical",!!o&&`ghostkit-image-compare-trigger-${o}`,!(!r||!l)&&`ghostkit-image-compare-labels-align-${l}`,y);const w=ds.useBlockProps.save({className:y});return(0,Ke.createElement)("figure",{...w},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images"},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-before"},(0,Ke.createElement)("img",{src:u,alt:h,className:c?`wp-image-${c}`:null,width:d,height:p}),r&&!ds.RichText.isEmpty(s)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-before-label",value:s}):null),(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-after"},(0,Ke.createElement)("img",{src:f,alt:m,className:g?`wp-image-${g}`:null,width:v,height:b}),r&&!ds.RichText.isEmpty(a)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-after-label",value:a}):null),(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images-divider"},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images-divider-button-arrow-left"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M14.7803 17.7803C14.4874 18.0732 14.0126 18.0732 13.7197 17.7803L8.4697 12.5303C8.1768 12.2374 8.1768 11.7626 8.4697 11.4697L13.7197 6.21967C14.0126 5.92678 14.4874 5.92678 14.7803 6.21967C15.0732 6.51256 15.0732 6.98744 14.7803 7.28033L10.0607 12L14.7803 16.7197C15.0732 17.0126 15.0732 17.4874 14.7803 17.7803Z",fill:"currentColor"}))),(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images-divider-button-arrow-right"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"}))))),ds.RichText.isEmpty(i)?null:(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-image-compare-caption",tagName:"figcaption",value:i}))}},Gw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/instagram","category":"ghostkit","title":"Instagram","description":"Show Instagram feed and user data.","keywords":["instagram"],"supports":{"inserter":false,"html":false,"className":false,"align":["wide","full"]},"attributes":{"accessToken":{"type":"string"},"count":{"type":"number","default":8},"columns":{"type":"number","default":4},"gap":{"type":"string","default":"sm"},"gapCustom":{"type":"number"},"showProfile":{"type":"boolean","default":true},"showProfileAvatar":{"type":"boolean","default":true},"profileAvatarSize":{"type":"number","default":70},"showProfileName":{"type":"boolean","default":true},"showProfileStats":{"type":"boolean","default":true},"showProfileBio":{"type":"boolean","default":true},"showProfileWebsite":{"type":"boolean","default":true}}}'),{name:qw}=Gw,Kw={icon:Cr("block-instagram",!0),ghostkit:{customStylesCallback(e){const{gap:t,gapCustom:n}=e,o={"--gkt-instagram--photos__gap":void 0};if("custom"===t&&void 0!==n&&""!==n){const e=n?"px":"%";o["--gkt-instagram--photos__gap"]=`${n}${e}`}return o}},edit:function(e){const{setAttributes:t,attributes:n}=e;let{className:o}=e;const{accessToken:i,count:r,columns:s,gap:a,gapCustom:l,showProfileAvatar:c,profileAvatarSize:u,showProfileName:h,showProfileStats:d,showProfileBio:p,showProfileWebsite:g}=n,{instagramFeed:f,instagramProfile:m}=(0,Ze.useSelect)((e=>!!i&&{instagramFeed:e("ghostkit/blocks/instagram").getInstagramFeed({access_token:i,count:r}),instagramProfile:e("ghostkit/blocks/instagram").getInstagramProfile({access_token:i})})),v=n.showProfile&&(h||c||p||g||d);o=cs()("ghostkit-instagram",a&&`ghostkit-instagram-gap-${a}`,s&&`ghostkit-instagram-columns-${s}`,o),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const b=(0,ds.useBlockProps)({className:o});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[i?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Photos Number","ghostkit"),value:r,onChange:e=>t({count:e}),min:1,max:20,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Columns","ghostkit"),value:s,onChange:e=>t({columns:e}),min:1,max:8,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(Mm,{gap:a,gapCustom:l,onChange:e=>{t(e)}})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Profile Info","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Profile Info","ghostkit"),checked:!!n.showProfile,onChange:e=>t({showProfile:e}),__nextHasNoMarginBottom:!0}),n.showProfile?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Avatar","ghostkit"),checked:!!c,onChange:e=>t({showProfileAvatar:e}),__nextHasNoMarginBottom:!0}),c?(0,gs.jsx)(rg,{label:(0,bs.__)("Avatar Size","ghostkit"),value:u,onChange:e=>t({profileAvatarSize:e}),min:30,max:150,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Name","ghostkit"),checked:!!h,onChange:e=>t({showProfileName:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Stats","ghostkit"),checked:!!d,onChange:e=>t({showProfileStats:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show BIO","ghostkit"),checked:!!p,onChange:e=>t({showProfileBio:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Website","ghostkit"),checked:!!g,onChange:e=>t({showProfileWebsite:e}),__nextHasNoMarginBottom:!0})]}):null]})]}):null,(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("API Data","ghostkit"),initialOpen:!i,children:[(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Access Token","ghostkit"),value:i,onChange:e=>t({accessToken:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,gs.jsxs)("em",{children:[(0,bs.__)("A valid Access Token is required to use Instagram feed. How to get token","ghostkit")," ",(0,gs.jsx)(us.ExternalLink,{href:"http://instagram.pixelunion.net/",children:"http://instagram.pixelunion.net/"})]})})]})]}),(0,gs.jsxs)("div",{...b,children:[i&&v&&m&&m.data?(0,gs.jsxs)("div",{className:"ghostkit-instagram-profile",children:[c&&m.data.profile_picture?(0,gs.jsx)("div",{className:"ghostkit-instagram-profile-avatar",children:(0,gs.jsx)("img",{src:m.data.profile_picture,alt:m.data.full_name,width:u,height:u})}):null,(0,gs.jsxs)("div",{className:"ghostkit-instagram-profile-side",children:[h&&m.data.username?(0,gs.jsx)("div",{className:"ghostkit-instagram-profile-name",children:m.data.username}):null,d&&m.data.counts?(0,gs.jsxs)("div",{className:"ghostkit-instagram-profile-stats",children:[(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:m.data.counts.media})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Posts","ghostkit")})]}),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:m.data.counts.followed_by})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Followers","ghostkit")})]}),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:m.data.counts.follows})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Following","ghostkit")})]})]}):null,p&&m.data.bio?(0,gs.jsxs)("div",{className:"ghostkit-instagram-profile-bio",children:[(0,gs.jsx)("h2",{children:m.data.full_name}),(0,gs.jsx)("div",{children:m.data.bio})]}):null,g&&m.data.website?(0,gs.jsx)("div",{className:"ghostkit-instagram-profile-website",children:(0,gs.jsx)("a",{href:m.data.website,children:m.data.website})}):null]})]}):null,i&&f&&f.data?(0,gs.jsx)("div",{className:"ghostkit-instagram-items",children:f.data.map(((e,t)=>{const n=`instagram-item-${t}`;return(0,gs.jsx)("div",{className:"ghostkit-instagram-item",children:(0,gs.jsx)("span",{children:(0,gs.jsx)("img",{src:e.images.standard_resolution.url,width:e.images.standard_resolution.width,height:e.images.standard_resolution.height,alt:e.caption||""})})},n)}))}):null,!i||f&&f.data?null:(0,gs.jsx)("div",{className:"ghostkit-instagram-spinner",children:(0,gs.jsx)(us.Spinner,{})}),i?null:(0,gs.jsx)(us.Placeholder,{icon:Cr("block-instagram"),label:(0,bs.__)("Instagram","ghostkit"),instructions:(0,bs.__)("A valid Access Token is required to use Instagram feed. You can fill it in the block settings in Inspector.","ghostkit"),className:o})]})]})},save:function(){return null}},Yw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/lottie","category":"ghostkit","title":"Lottie Animation","description":"Add Lottie SVG animations.","keywords":["lottie","animation","svg"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full","left","center","right"]},"attributes":{"fileId":{"type":"number"},"fileUrl":{"type":"string"},"fileWidth":{"type":"number"},"fileHeight":{"type":"number"},"direction":{"type":"number","default":1},"trigger":{"type":"string"},"loop":{"type":"boolean","default":true},"speed":{"type":"number","default":1},"width":{"type":"string","default":"100%"}}}');function Zw(e){const{url:t,trigger:n,speed:o,loop:i,direction:r,isSelected:s,onLoad:a=(()=>{})}=e,l=(0,vs.useRef)(null);return(0,vs.useEffect)((()=>{const e=l.current;function t(e){a(e)}return e.addEventListener("load",t),_y("js","lottie-player-js",e),()=>{e.removeEventListener("load",t)}}),[l]),(0,Ke.createElement)("lottie-player",{key:`lottie-${n}-${o}-${i}-${r}`,ref:l,src:t,direction:r,background:"transparent",mode:"normal",..."scroll"!==n?{speed:o}:{},..."scroll"!==n&&i?{loop:"loop"}:{},...!n||s?{autoplay:"autoplay"}:{},..."hover"===n?{hover:"hover"}:{},style:{width:"100%",height:"auto"}})}const Jw=us.UnitControl||us.__experimentalUnitControl,{name:Xw}=Yw,{name:Qw}=Yw,ek={icon:Cr("block-lottie",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/lottie/"},example:{attributes:{fileUrl:"https://assets4.lottiefiles.com/packages/lf20_obhph3sh.json"}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e;let{className:i=""}=e;const{fileUrl:r,fileWidth:s,fileHeight:a,trigger:l,loop:c,direction:u,speed:h,width:d}=t,[p,g]=(0,vs.useState)(d.endsWith("%"));i=cs()("ghostkit-lottie",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const f=(0,ds.useBlockProps)({className:i,"data-trigger":l,style:s&&a?{"--gkt-lottie__ar":`${s} / ${a}`,"--gkt-lottie__width":d}:{}});return(0,gs.jsxs)(gs.Fragment,{children:[r?(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Play Animation On","ghostkit"),value:l,options:[{label:(0,bs.__)("Page Load","ghostkit"),value:""},{label:(0,bs.__)("Viewport","ghostkit"),value:"viewport"},{label:(0,bs.__)("Hover","ghostkit"),value:"hover"},{label:(0,bs.__)("Click","ghostkit"),value:"click"},{label:(0,bs.__)("Scroll","ghostkit"),value:"scroll"}],onChange:e=>n({trigger:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"scroll"!==l?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Speed","otter-blocks"),value:h,onChange:e=>n({speed:e}),step:.1,min:0,max:10,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Loop","ghostkit"),checked:!!c,onChange:()=>n({loop:!c}),__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Reverse","ghostkit"),checked:-1===u,onChange:()=>{n({direction:1===u?-1:1})},__nextHasNoMarginBottom:!0}),(0,gs.jsx)(Jw,{label:(0,bs.__)("Width","ghostkit"),value:d,onChange:e=>n({width:e}),onUnitChange:e=>g("%"===e),labelPosition:"edge",units:[{value:"px",label:"px"},{value:"%",label:"%"}],min:0,max:p?100:1/0,__unstableInputWidth:"70px",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Lottie File","ghostkit"),value:r,disabled:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.Button,{variant:"secondary",onClick:()=>{n({fileId:void 0,fileUrl:void 0,fileWidth:void 0,fileHeight:void 0})},children:(0,bs.__)("Clear","ghostkit")})]})]}):null,(0,gs.jsx)("div",{...f,children:r?(0,gs.jsx)(Zw,{url:r,trigger:l,speed:h,loop:c,direction:u,isSelected:o,onLoad:e=>{const t=e?.target?._lottie?.animationData?.w,o=e?.target?._lottie?.animationData?.h;t&&o&&(t!==s||o!==a)&&n({fileWidth:t,fileHeight:o})}}):(0,gs.jsx)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,bs.__)("Lottie JSON","ghostkit"),name:(0,bs.__)("lottie","ghostkit"),instructions:(0,bs.__)("Upload a JSON file or pick one from your media library.")},onSelect:e=>{n({fileId:e.id,fileUrl:e.url})},onSelectURL:e=>{n({fileId:void 0,fileUrl:e})},accept:["application/json"],allowedTypes:["application/json"],disableMaxUploadErrorMessages:!0,onError:()=>{n({fileId:void 0,fileUrl:void 0})}})})]})},save:function(e){const{fileUrl:t,fileWidth:n,fileHeight:o,trigger:i,loop:r,direction:s,speed:a,width:l}=e.attributes;let c="ghostkit-lottie";c=(0,os.applyFilters)("ghostkit.blocks.className",c,{name:Xw,...e});const u=ds.useBlockProps.save({className:c,"data-trigger":i,style:n&&o?{"--gkt-lottie__ar":`${n} / ${o}`,"--gkt-lottie__width":l}:{}});return(0,Ke.createElement)("div",{...u},(0,Ke.createElement)("lottie-player",{src:t,direction:s,background:"transparent",mode:"normal",..."scroll"!==i?{speed:a}:{},..."scroll"!==i&&r?{loop:"loop"}:{},...i?{}:{autoplay:"autoplay"},..."hover"===i?{hover:"hover"}:{},style:{width:"100%",height:"auto"}}))}},tk=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/markdown","category":"ghostkit","title":"Markdown","description":"Lightweight markup language with plain-text-formatting syntax.","keywords":["formatting","markup","md"],"supports":{"html":false,"className":false,"anchor":true},"attributes":{"content":{"type":"string"}}}'),nk={};function ok(e,t){"string"!=typeof t&&(t=ok.defaultChars);const n=function(e){let t=nk[e];if(t)return t;t=nk[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n=55296&&e<=57343?"���":String.fromCharCode(e),o+=6;continue}}if(240==(248&r)&&o+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),o+=9;continue}}t+="�"}}return t}))}ok.defaultChars=";/?:@&=+$,#",ok.componentChars="";const ik=ok,rk={};function sk(e,t,n){"string"!=typeof t&&(n=t,t=sk.defaultChars),void 0===n&&(n=!0);const o=function(e){let t=rk[e];if(t)return t;t=rk[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&t+1=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[t])}return i}sk.defaultChars=";/?:@&=+$,-_.!~*'()#",sk.componentChars="-_.!~*'()";const ak=sk;function lk(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function ck(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const uk=/^([a-z0-9.+-]+:)/i,hk=/:[0-9]*$/,dk=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,pk=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),gk=["'"].concat(pk),fk=["%","/","?",";","#"].concat(gk),mk=["/","?","#"],vk=/^[+a-z0-9A-Z_-]{0,63}$/,bk=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,yk={javascript:!0,"javascript:":!0},wk={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};ck.prototype.parse=function(e,t){let n,o,i,r=e;if(r=r.trim(),!t&&1===e.split("#").length){const e=dk.exec(r);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let s=uk.exec(r);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,r=r.substr(s.length)),(t||s||r.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===r.substr(0,2),!i||s&&yk[s]||(r=r.substr(2),this.slashes=!0)),!yk[s]&&(i||s&&!wk[s])){let e,t,n=-1;for(let e=0;e127?o+="x":o+=n[e];if(!o.match(vk)){const o=e.slice(0,t),i=e.slice(t+1),s=n.match(bk);s&&(o.push(s[1]),i.unshift(s[2])),i.length&&(r=i.join(".")+r),this.hostname=o.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=r.indexOf("#");-1!==a&&(this.hash=r.substr(a),r=r.slice(0,a));const l=r.indexOf("?");return-1!==l&&(this.search=r.substr(l),r=r.slice(0,l)),r&&(this.pathname=r),wk[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},ck.prototype.parseHost=function(e){let t=hk.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const kk=function(e,t){if(e&&e instanceof ck)return e;const n=new ck;return n.parse(e,t),n},_k=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,xk=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ck=/[\0-\x1F\x7F-\x9F]/,Sk=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ek=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ak=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),Tk=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var $k;const Mk=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Rk=null!==($k=String.fromCodePoint)&&void 0!==$k?$k:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var jk,Ok,Lk,Ik,Nk;function Pk(e){return e>=jk.ZERO&&e<=jk.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(jk||(jk={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Ok||(Ok={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(Lk||(Lk={})),(Nk=Ik||(Ik={}))[Nk.Legacy=0]="Legacy",Nk[Nk.Strict=1]="Strict",Nk[Nk.Attribute=2]="Attribute";class Dk{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Lk.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ik.Strict}startEntity(e){this.decodeMode=e,this.state=Lk.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Lk.EntityStart:return e.charCodeAt(t)===jk.NUM?(this.state=Lk.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Lk.NamedEntity,this.stateNamedEntity(e,t));case Lk.NumericStart:return this.stateNumericStart(e,t);case Lk.NumericDecimal:return this.stateNumericDecimal(e,t);case Lk.NumericHex:return this.stateNumericHex(e,t);case Lk.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===jk.LOWER_X?(this.state=Lk.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Lk.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,o){if(t!==n){const i=n-t;this.result=this.result*Math.pow(o,i)+parseInt(e.substr(t,i),o),this.consumed+=i}}stateNumericHex(e,t){const n=t;for(;t=jk.UPPER_A&&o<=jk.UPPER_F||o>=jk.LOWER_A&&o<=jk.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}var o;return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=Mk.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==jk.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let o=n[this.treeIndex],i=(o&Ok.VALUE_LENGTH)>>14;for(;t=jk.UPPER_A&&e<=jk.UPPER_Z||e>=jk.LOWER_A&&e<=jk.LOWER_Z||Pk(e)}(r)))?0:this.emitNotTerminatedNamedEntity();if(o=n[this.treeIndex],i=(o&Ok.VALUE_LENGTH)>>14,0!==i){if(s===jk.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ik.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var r;return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,o=(n[t]&Ok.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,o,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:o}=this;return this.emitCodePoint(1===t?o[e]&~Ok.VALUE_LENGTH:o[e+1],n),3===t&&this.emitCodePoint(o[e+2],n),n}end(){var e;switch(this.state){case Lk.NamedEntity:return 0===this.result||this.decodeMode===Ik.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Lk.NumericDecimal:return this.emitNumericEntity(0,2);case Lk.NumericHex:return this.emitNumericEntity(0,3);case Lk.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Lk.EntityStart:return 0}}}function Bk(e){let t="";const n=new Dk(e,(e=>t+=Rk(e)));return function(e,o){let i=0,r=0;for(;(r=e.indexOf("&",r))>=0;){t+=e.slice(i,r),n.startEntity(o);const s=n.write(e,r+1);if(s<0){i=r+n.end();break}i=r+s,r=0===s?i+1:i}const s=t+e.slice(i);return t="",s}}function zk(e,t,n,o){const i=(t&Ok.BRANCH_LENGTH)>>7,r=t&Ok.JUMP_TABLE;if(0===i)return 0!==r&&o===r?n:-1;if(r){const t=o-r;return t<0||t>=i?-1:e[n+t]-1}let s=n,a=s+i-1;for(;s<=a;){const t=s+a>>>1,n=e[t];if(no))return e[t+i];a=t-1}}return-1}const Fk=Bk(Ak);function Hk(e,t=Ik.Legacy){return Fk(e,t)}function Wk(e){for(let t=1;t'"]/g,Vk),Uk(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Uk(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(Gk||(Gk={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(qk||(qk={}));const Yk=Object.prototype.hasOwnProperty;function Zk(e,t){return Yk.call(e,t)}function Jk(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function Xk(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Qk(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function e_(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const t_=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,n_=new RegExp(t_.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),o_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function i_(e){return e.indexOf("\\")<0?e:e.replace(t_,"$1")}function r_(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(n_,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&o_.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Qk(n)?e_(n):e}const n=Hk(e);return n!==e?n:e}(e,n)}))}const s_=/[&<>"]/,a_=/[&<>"]/g,l_={"&":"&","<":"<",">":">",'"':"""};function c_(e){return l_[e]}function u_(e){return s_.test(e)?e.replace(a_,c_):e}const h_=/[.?*+^$[\]\\(){}|-]/g;function d_(e){return e.replace(h_,"\\$&")}function p_(e){switch(e){case 9:case 32:return!0}return!1}function g_(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function f_(e){return _k.test(e)}function m_(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function v_(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const b_={mdurl:Te,ucmicro:$e};function y_(e,t,n){let o,i,r,s;const a=e.posMax,l=e.pos;for(e.pos=t+1,o=1;e.pos32))return r;if(41===o){if(0===s)break;s--}i++}return t===i||0!==s||(r.str=r_(e.slice(t,i)),r.pos=i,r.ok=!0),r}function k_(e,t,n){let o,i,r=0,s=t;const a={ok:!1,pos:0,lines:0,str:""};if(s>=n)return a;if(i=e.charCodeAt(s),34!==i&&39!==i&&40!==i)return a;for(s++,40===i&&(i=41);s"+u_(r.content)+""},x_.code_block=function(e,t,n,o,i){const r=e[t];return""+u_(e[t].content)+"\n"},x_.fence=function(e,t,n,o,i){const r=e[t],s=r.info?r_(r.info).trim():"";let a,l="",c="";if(s){const e=s.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(a=n.highlight&&n.highlight(r.content,l,c)||u_(r.content),0===a.indexOf("${a}\n`}return`
${a}
\n`},x_.image=function(e,t,n,o,i){const r=e[t];return r.attrs[r.attrIndex("alt")][1]=i.renderInlineAsText(r.children,n,o),i.renderToken(e,t,n)},x_.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},x_.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},x_.text=function(e,t){return u_(e[t].content)},x_.html_block=function(e,t){return e[t].content},x_.html_inline=function(e,t){return e[t].content},C_.prototype.renderAttrs=function(e){let t,n,o;if(!e.attrs)return"";for(o="",t=0,n=e.attrs.length;t\n":">",i},C_.prototype.renderInline=function(e,t,n){let o="";const i=this.rules;for(let r=0,s=e.length;r=0&&(n=this.attrs[t][1]),n},T_.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};const $_=T_;function M_(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}M_.prototype.Token=$_;const R_=M_,j_=/\r\n?|\n/g,O_=/\0/g;function L_(e){return/^<\/a\s*>/i.test(e)}const I_=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,N_=/\((c|tm|r)\)/i,P_=/\((c|tm|r)\)/gi,D_={c:"©",r:"®",tm:"™"};function B_(e,t){return D_[t.toLowerCase()]}function z_(e){let t=0;for(let n=e.length-1;n>=0;n--){const o=e[n];"text"!==o.type||t||(o.content=o.content.replace(P_,B_)),"link_open"===o.type&&"auto"===o.info&&t--,"link_close"===o.type&&"auto"===o.info&&t++}}function F_(e){let t=0;for(let n=e.length-1;n>=0;n--){const o=e[n];"text"!==o.type||t||I_.test(o.content)&&(o.content=o.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===o.type&&"auto"===o.info&&t--,"link_close"===o.type&&"auto"===o.info&&t++}}const H_=/['"]/,W_=/['"]/g;function V_(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function U_(e,t){let n;const o=[];for(let i=0;i=0&&!(o[n].level<=s);n--);if(o.length=n+1,"text"!==r.type)continue;let a=r.content,l=0,c=a.length;e:for(;l=0)g=a.charCodeAt(u.index-1);else for(n=i-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let f=32;if(l=48&&g<=57&&(d=h=!1),h&&d&&(h=m,d=v),h||d){if(d)for(n=o.length-1;n>=0;n--){let h=o[n];if(o[n].level=0;s--){const a=i[s];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&r>0&&r--,L_(a.content)&&r++),!(r>0)&&"text"===a.type&&e.md.linkify.test(a.content)){const n=a.content;let r=e.md.linkify.match(n);const l=[];let c=a.level,u=0;r.length>0&&0===r[0].index&&s>0&&"text_special"===i[s-1].type&&(r=r.slice(1));for(let t=0;tu){const t=new e.Token("text","",0);t.content=n.slice(u,a),t.level=c,l.push(t)}const h=new e.Token("link_open","a",1);h.attrs=[["href",i]],h.level=c++,h.markup="linkify",h.info="auto",l.push(h);const d=new e.Token("text","",0);d.content=s,d.level=c,l.push(d);const p=new e.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",l.push(p),u=r[t].lastIndex}if(u=0;t--)"inline"===e.tokens[t].type&&(N_.test(e.tokens[t].content)&&z_(e.tokens[t].children),I_.test(e.tokens[t].content)&&F_(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&H_.test(e.tokens[t].content)&&U_(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const o=e.tokens,i=o.length;for(let e=0;e0&&this.level++,this.tokens.push(o),o},Y_.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Y_.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!p_(this.src.charCodeAt(--e)))return e+1;return e},Y_.prototype.skipChars=function(e,t){for(let n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},Y_.prototype.getLines=function(e,t,n,o){if(e>=t)return"";const i=new Array(t-e);for(let r=0,s=e;sn?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return i.join("")},Y_.prototype.Token=$_;const Z_=Y_;function J_(e,t){const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o)}function X_(e){const t=[],n=e.length;let o=0,i=e.charCodeAt(o),r=!1,s=0,a="";for(;o=o)return-1;let r=e.src.charCodeAt(i++);if(r<48||r>57)return-1;for(;;){if(i>=o)return-1;if(r=e.src.charCodeAt(i++),!(r>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-n>=10)return-1}return i`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",nx="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ox=new RegExp("^(?:"+tx+"|"+nx+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),ix=new RegExp("^(?:"+tx+"|"+nx+")"),rx=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(ix.source+"\\s*$"),/^$/,!1]],sx=[["table",function(e,t,n,o){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let r=e.bMarks[i]+e.tShift[i];if(r>=e.eMarks[i])return!1;const s=e.src.charCodeAt(r++);if(124!==s&&45!==s&&58!==s)return!1;if(r>=e.eMarks[i])return!1;const a=e.src.charCodeAt(r++);if(124!==a&&45!==a&&58!==a&&!p_(a))return!1;if(45===s&&p_(a))return!1;for(;r=4)return!1;c=X_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const h=c.length;if(0===h||h!==u.length)return!1;if(o)return!0;const d=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),g=[t,0];e.push("table_open","table",1).map=g,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t=4)break;c=X_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),i===t+2&&(e.push("tbody_open","tbody",1).map=f=[t+2,0]),e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t=4))break;o++,i=o}e.line=i;const r=e.push("code_block","code",0);return r.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",r.map=[t,e.line],!0}],["fence",function(e,t,n,o){let i=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>r)return!1;const s=e.src.charCodeAt(i);if(126!==s&&96!==s)return!1;let a=i;i=e.skipChars(i,s);let l=i-a;if(l<3)return!1;const c=e.src.slice(a,i),u=e.src.slice(i,r);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(o)return!0;let h=t,d=!1;for(;!(h++,h>=n||(i=a=e.bMarks[h]+e.tShift[h],r=e.eMarks[h],i=4||(i=e.skipChars(i,s),i-a=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(o)return!0;const a=[],l=[],c=[],u=[],h=e.md.block.ruler.getRules("blockquote"),d=e.parentType;e.parentType="blockquote";let p,g=!1;for(p=t;p=r)break;if(62===e.src.charCodeAt(i++)&&!t){let t,n,o=e.sCount[p]+1;32===e.src.charCodeAt(i)?(i++,o++,n=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[p]+o)%4==3?(i++,o++,n=!1):n=!0):t=!1;let s=o;for(a.push(e.bMarks[p]),e.bMarks[p]=i;i=r,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(t?1:0),c.push(e.sCount[p]),e.sCount[p]=s-o,u.push(e.tShift[p]),e.tShift[p]=i-e.bMarks[p];continue}if(g)break;let o=!1;for(let t=0,i=h.length;t";const v=[t,0];m.map=v,e.md.block.tokenize(e,t,p),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=s,e.parentType=d,v[1]=e.line;for(let n=0;n=4)return!1;let r=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(r++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;r=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(p=!0),(d=ex(e,l))>=0){if(u=!0,s=e.bMarks[l]+e.tShift[l],h=Number(e.src.slice(s,d-1)),p&&1!==h)return!1}else{if(!((d=Q_(e,l))>=0))return!1;u=!1}if(p&&e.skipSpaces(d)>=e.eMarks[l])return!1;if(o)return!0;const g=e.src.charCodeAt(d-1),f=e.tokens.length;u?(a=e.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=e.push("bullet_list_open","ul",1);const m=[l,0];a.map=m,a.markup=String.fromCharCode(g);let v=!1;const b=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";l=i?1:o-t,p>4&&(p=1);const f=t+p;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(g);const m=[l,0];a.map=m,u&&(a.info=e.src.slice(s,d-1));const y=e.tight,w=e.tShift[l],k=e.sCount[l],_=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=f,e.tight=!0,e.tShift[l]=h-e.bMarks[l],e.sCount[l]=o,h>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!v||(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=_,e.tShift[l]=w,e.sCount[l]=k,e.tight=y,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(g),l=e.line,m[1]=l,l>=n)break;if(e.sCount[l]=4)break;let x=!1;for(let t=0,o=b.length;t=4)return!1;if(91!==e.src.charCodeAt(r))return!1;for(;++r3)continue;if(e.sCount[a]<0)continue;let t=!1;for(let n=0,o=c.length;n=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let s=e.src.slice(i,r),a=0;for(;a=4)return!1;let s=e.src.charCodeAt(i);if(35!==s||i>=r)return!1;let a=1;for(s=e.src.charCodeAt(++i);35===s&&i6||ii&&p_(e.src.charCodeAt(l-1))&&(r=l),e.line=t+1;const c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=e.src.slice(i,r).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const o=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let r,s=0,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let t=e.bMarks[a]+e.tShift[a];const n=e.eMarks[a];if(t=n))){s=61===r?1:2;break}}if(e.sCount[a]<0)continue;let t=!1;for(let i=0,r=o.length;i3)continue;if(e.sCount[r]<0)continue;let t=!1;for(let i=0,s=o.length;i=n))&&!(e.sCount[s]=r){e.line=n;break}const t=e.line;let l=!1;for(let r=0;r=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),s=e.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},cx.prototype.scanDelims=function(e,t){let n,o,i=!0,r=!0;const s=this.posMax,a=this.src.charCodeAt(e),l=e>0?this.src.charCodeAt(e-1):32;let c=e;for(;c?@[]^_`{|}~-".split("").forEach((function(e){px[e.charCodeAt(0)]=1}));const fx={tokenize:function(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(126!==o)return!1;const i=e.scanDelims(e.pos,!0);let r=i.length;const s=String.fromCharCode(o);if(r<2)return!1;let a;r%2&&(a=e.push("text","",0),a.content=s,r--);for(let t=0;t=0;n--){const o=t[n];if(95!==o.marker&&42!==o.marker)continue;if(-1===o.end)continue;const i=t[o.end],r=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===i.token+1,s=String.fromCharCode(o.marker),a=e.tokens[o.token];a.type=r?"strong_open":"em_open",a.tag=r?"strong":"em",a.nesting=1,a.markup=r?s+s:s,a.content="";const l=e.tokens[i.token];l.type=r?"strong_close":"em_close",l.tag=r?"strong":"em",l.nesting=-1,l.markup=r?s+s:s,l.content="",r&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--)}}const vx={tokenize:function(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(95!==o&&42!==o)return!1;const i=e.scanDelims(e.pos,42===o);for(let t=0;t\x00-\x20]*)$/,wx=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,kx=/^&([a-z][a-z0-9]{1,31});/i;function xx(e){const t={},n=e.length;if(!n)return;let o=0,i=-2;const r=[];for(let s=0;sa;l-=r[l]+1){const t=e[l];if(t.marker===n.marker&&t.open&&t.end<0){let o=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(o=!0)),!o){const o=l>0&&!e[l-1].open?r[l-1]+1:0;r[s]=s-l+o,r[l]=o,n.open=!1,t.end=s,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const Cx=[["text",function(e,t){let n=e.pos;for(;n0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const o=e.pending.match(dx);if(!o)return!1;const i=o[1],r=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!r)return!1;let s=r.url;if(s.length<=i.length)return!1;s=s.replace(/\*+$/,"");const a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const t=e.push("link_open","a",1);t.attrs=[["href",a]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(s);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=s.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const o=e.pending.length-1,i=e.posMax;if(!t)if(o>=0&&32===e.pending.charCodeAt(o))if(o>=1&&32===e.pending.charCodeAt(o-1)){let t=o-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n=o)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&t<=57343&&(r+=e.src[n+1],n++)}const s="\\"+r;if(!t){const t=e.push("text_special","",0);i<256&&0!==px[i]?t.content=r:t.content=s,t.markup=s,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const o=n;n++;const i=e.posMax;for(;n=h)return!1;if(l=g,i=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),i.ok){for(s=e.md.normalizeLink(i.str),e.md.validateLink(s)?g=i.pos:s="",l=g;g=h||41!==e.src.charCodeAt(g))&&(c=!0),g++}if(c){if(void 0===e.env.references)return!1;if(g=0?o=e.src.slice(l,g++):g=p+1):g=p+1,o||(o=e.src.slice(d,p)),r=e.env.references[v_(o)],!r)return e.pos=u,!1;s=r.href,a=r.title}if(!t){e.pos=d,e.posMax=p;const t=[["href",s]];e.push("link_open","a",1).attrs=t,a&&t.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=h,!0}],["image",function(e,t){let n,o,i,r,s,a,l,c,u="";const h=e.pos,d=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const p=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(r=g+1,r=d)return!1;for(c=r,a=e.md.helpers.parseLinkDestination(e.src,r,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?r=a.pos:u=""),c=r;r=d||41!==e.src.charCodeAt(r))return e.pos=h,!1;r++}else{if(void 0===e.env.references)return!1;if(r=0?i=e.src.slice(c,r++):r=g+1):r=g+1,i||(i=e.src.slice(p,g)),s=e.env.references[v_(i)],!s)return e.pos=h,!1;u=s.href,l=s.title}if(!t){o=e.src.slice(p,g);const t=[];e.md.inline.parse(o,e.md,e.env,t);const n=e.push("image","img",0),i=[["src",u],["alt",""]];n.attrs=i,n.children=t,n.content=o,l&&i.push(["title",l])}return e.pos=r,e.posMax=d,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const o=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const r=e.src.slice(o+1,n);if(yx.test(r)){const n=e.md.normalizeLink(r);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(r);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=r.length+2,!0}if(bx.test(r)){const n=e.md.normalizeLink("mailto:"+r);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(r);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=r.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,o=e.pos;if(60!==e.src.charCodeAt(o)||o+2>=n)return!1;const i=e.src.charCodeAt(o+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const r=e.src.slice(o).match(ox);if(!r)return!1;if(!t){const t=e.push("html_inline","",0);t.content=r[0],s=t.content,/^\s]/i.test(s)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var s;return e.pos+=r[0].length,!0}],["entity",function(e,t){const n=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=o)return!1;if(35===e.src.charCodeAt(n+1)){const o=e.src.slice(n).match(wx);if(o){if(!t){const t="x"===o[1][0].toLowerCase()?parseInt(o[1].slice(1),16):parseInt(o[1],10),n=e.push("text_special","",0);n.content=Qk(t)?e_(t):e_(65533),n.markup=o[0],n.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(kx);if(o){const n=Hk(o[0]);if(n!==o[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=o[0],t.info="entity"}return e.pos+=o[0].length,!0}}}return!1}]],Sx=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;xx(e.delimiters);for(let e=0;e0&&o++,"text"===i[t].type&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;s||e.pos++,r[t]=e.pos},Ex.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,o=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(s){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Ex.prototype.parse=function(e,t,n,o){const i=new this.State(e,t,n,o);this.tokenize(i);const r=this.ruler2.getRules(""),s=r.length;for(let e=0;e=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},Lx="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Ix="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Nx(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=xk.source,t.src_Cc=Ck.source,t.src_Z=Ek.source,t.src_P=_k.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(Lx),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");const i=[];function r(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const n=e.__schemas__[t];if(null===n)return;const o={validate:null,link:null};if(e.__compiled__[t]=o,"[object Object]"===$x(n))return"[object RegExp]"!==$x(n.validate)?Mx(n.validate)?o.validate=n.validate:r(t,n):o.validate=function(e){return function(t,n){const o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}(n.validate),void(Mx(n.normalize)?o.normalize=n.normalize:n.normalize?r(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===$x(e)}(n)?r(t,n):i.push(t)})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const s=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Rx).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Px(e,t){const n=e.__index__,o=e.__last_index__,i=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=i,this.text=i,this.url=i}function Dx(e,t){const n=new Px(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Bx(e,t){if(!(this instanceof Bx))return new Bx(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||jx.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Tx({},jx,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Tx({},Ox,e),this.__compiled__={},this.__tlds__=Ix,this.__tlds_replaced__=!1,this.re={},Nx(this)}Bx.prototype.add=function(e,t){return this.__schemas__[e]=t,Nx(this),this},Bx.prototype.set=function(e){return this.__opts__=Tx(this.__opts__,e),this},Bx.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,o,i,r,s,a,l,c;if(this.re.schema_test.test(e))for(a=this.re.schema_search,a.lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(o=e.match(this.re.email_fuzzy))&&(r=o.index+o[1].length,s=o.index+o[0].length,(this.__index__<0||rthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=r,this.__last_index__=s))),this.__index__>=0},Bx.prototype.pretest=function(e){return this.re.pretest.test(e)},Bx.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Bx.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(Dx(this,n)),n=this.__last_index__);let o=n?e.slice(n):e;for(;this.test(o);)t.push(Dx(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},Bx.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,Dx(this,0)):null},Bx.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),Nx(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Nx(this),this)},Bx.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Bx.prototype.onCompile=function(){};const zx=Bx,Fx=2147483647,Hx=36,Wx=/^xn--/,Vx=/[^\0-\x7F]/,Ux=/[\x2E\u3002\uFF0E\uFF61]/g,Gx={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},qx=Math.floor,Kx=String.fromCharCode;function Yx(e){throw new RangeError(Gx[e])}function Zx(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}((e=e.replace(Ux,".")).split("."),t).join(".");return o+i}function Jx(e){const t=[];let n=0;const o=e.length;for(;n=55296&&i<=56319&&n>1,e+=qx(e/t);e>455;o+=Hx)e=qx(e/35);return qx(o+36*e/(e+38))},eC=function(e){const t=[],n=e.length;let o=0,i=128,r=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let n=0;n=128&&Yx("not-basic"),t.push(e.charCodeAt(n));for(let l=s>0?s+1:0;l=n&&Yx("invalid-input");const s=(a=e.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:Hx;s>=Hx&&Yx("invalid-input"),s>qx((Fx-o)/t)&&Yx("overflow"),o+=s*t;const c=i<=r?1:i>=r+26?26:i-r;if(sqx(Fx/u)&&Yx("overflow"),t*=u}const c=t.length+1;r=Qx(o-s,c,0==s),qx(o/c)>Fx-i&&Yx("overflow"),i+=qx(o/c),o%=c,t.splice(o++,0,i)}var a;return String.fromCodePoint(...t)},tC=function(e){const t=[],n=(e=Jx(e)).length;let o=128,i=0,r=72;for(const n of e)n<128&&t.push(Kx(n));const s=t.length;let a=s;for(s&&t.push("-");a=o&&tqx((Fx-i)/l)&&Yx("overflow"),i+=(n-o)*l,o=n;for(const n of e)if(nFx&&Yx("overflow"),n===o){let e=i;for(let n=Hx;;n+=Hx){const o=n<=r?1:n>=r+26?26:n-r;if(eString.fromCodePoint(...e)},decode:eC,encode:tC,toASCII:function(e){return Zx(e,(function(e){return Vx.test(e)?"xn--"+tC(e):e}))},toUnicode:function(e){return Zx(e,(function(e){return Wx.test(e)?eC(e.slice(4).toLowerCase()):e}))}},oC={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},iC=/^(vbscript|javascript|file|data):/,rC=/^data:image\/(gif|png|jpeg|webp);/;function sC(e){const t=e.trim().toLowerCase();return!iC.test(t)||rC.test(t)}const aC=["http:","https:","mailto:"];function lC(e){const t=kk(e,!0);if(t.hostname&&(!t.protocol||aC.indexOf(t.protocol)>=0))try{t.hostname=nC.toASCII(t.hostname)}catch(e){}return ak(lk(t))}function cC(e){const t=kk(e,!0);if(t.hostname&&(!t.protocol||aC.indexOf(t.protocol)>=0))try{t.hostname=nC.toUnicode(t.hostname)}catch(e){}return ik(lk(t),ik.defaultChars+"%")}function uC(e,t){if(!(this instanceof uC))return new uC(e,t);t||Kk(e)||(t=e||{},e="default"),this.inline=new Ax,this.block=new lx,this.core=new K_,this.renderer=new S_,this.linkify=new zx,this.validateLink=sC,this.normalizeLink=lC,this.normalizeLinkText=cC,this.utils=Me,this.helpers=Jk({},Re),this.options={},this.configure(e),t&&this.set(t)}uC.prototype.set=function(e){return Jk(this.options,e),this},uC.prototype.configure=function(e){const t=this;if(Kk(e)){const t=e;if(!(e=oC[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},uC.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const o=e.filter((function(e){return n.indexOf(e)<0}));if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this},uC.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const o=e.filter((function(e){return n.indexOf(e)<0}));if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this},uC.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},uC.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},uC.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},uC.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},uC.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const hC=new uC;function dC(e){const{content:t,...n}=e;return(0,Ke.createElement)(vs.RawHTML,{onClick:e=>{"A"===e.target.nodeName&&(window.confirm((0,bs.__)("Are you sure you wish to leave this page?","ghostkit"))||e.preventDefault())},...n},t&&t.length?hC.render(t):"")}const{name:pC}=tk,gC={icon:Cr("block-markdown",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/markdown/"},example:{attributes:{content:"test **bold**"}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{content:i}=t;let{className:r}=e;const[s,a]=(0,vs.useState)("editor"),l=(0,vs.useRef)();(0,vs.useEffect)((()=>{o||"preview"!==s||a("editor")}),[o,s]),(0,vs.useEffect)((()=>{o&&"editor"===s&&l?.current&&l?.current?.focus?.()}),[l,o,s]);const{currentBlockId:c}=(0,Ze.useSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),{removeBlocks:u}=(0,Ze.useDispatch)("core/block-editor");r=cs()("ghostkit-markdown",r);const h=(0,ds.useBlockProps)({className:r});return o||i&&""!==i.trim()?(0,Ke.createElement)("div",{...h},(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{className:cs()("components-button components-tab-button","editor"===s&&"is-pressed"),onClick:()=>a("editor")},(0,Ke.createElement)("span",null,(0,bs.__)("Markdown","ghostkit"))),(0,Ke.createElement)(us.ToolbarButton,{className:cs()("components-button components-tab-button","preview"===s&&"is-pressed"),onClick:()=>a("preview")},(0,Ke.createElement)("span",null,(0,bs.__)("Preview","ghostkit"))))),"preview"!==s&&o?(0,Ke.createElement)(ds.PlainText,{onChange:e=>{n({content:e})},onKeyDown:e=>{8===e.keyCode&&""===i&&(u(c),e.preventDefault())},"aria-label":(0,bs.__)("Markdown","ghostkit"),ref:l,value:i}):(0,Ke.createElement)(dC,{content:i})):(0,Ke.createElement)("div",{...h},(0,Ke.createElement)("p",null,(0,bs.__)("Write your _Markdown_ **here**…","ghostkit")))},save:function(e){const{attributes:t}=e,{content:n}=t;let{className:o}=t;o=cs()("ghostkit-markdown",o);const i=ds.useBlockProps.save({className:o});return(0,Ke.createElement)(dC,{content:n,...i})}},fC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/pricing-table","category":"ghostkit","title":"Pricing Table","description":"Sell your products or services and show all features.","keywords":["pricing","table"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"count":{"type":"number","default":2},"gap":{"type":"string","default":"md"},"gapCustom":{"type":"number"},"verticalAlign":{"type":"string","default":"center"},"horizontalAlign":{"type":"string","default":"center"}}}'),mC="ghostkit/pricing-table-item",{name:vC}=fC,{name:bC}=fC,yC={icon:Cr("block-pricing-table",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/pricing-table/",customStylesCallback(e){const{gap:t,gapCustom:n}=e,o={"--gkt-pricing-table__gap":void 0};if("custom"===t&&void 0!==n&&""!==n){const e=n?"px":"%";o["--gkt-pricing-table__gap"]=`${n}${e}`}return o}},example:{attributes:{count:2},innerBlocks:[{name:"ghostkit/pricing-table-item",attributes:{title:"Standard",price:"$49",features:"
  • Feature 1
  • Feature 2
  • ",showPopular:!0},innerBlocks:[{name:"ghostkit/button",attributes:{align:"center"},innerBlocks:[{name:"ghostkit/button-single",attributes:{text:"Purchase"}}]}]},{name:"ghostkit/pricing-table-item",attributes:{title:"Developers",price:"$99",features:"
  • Feature 1
  • Feature 2
  • "},innerBlocks:[{name:"ghostkit/button",attributes:{align:"center"},innerBlocks:[{name:"ghostkit/button-single",attributes:{text:"Purchase"}}]}]}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{count:r,gap:s,gapCustom:a,verticalAlign:l,horizontalAlign:c}=t,{itemsCount:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,getBlockCount:n,hasSelectedInnerBlock:i}=e("core/block-editor");return{itemsCount:n(o),isSelectedBlockInRoot:t(o)||i(o,!0)}})),{insertBlock:d}=(0,Ze.useDispatch)("core/block-editor");(0,vs.useEffect)((()=>{r!==u&&n({count:u})}),[r,u,n]),i=cs()(i,"ghostkit-pricing-table",`ghostkit-pricing-table-gap-${s}`,!!r&&`ghostkit-pricing-table-items-${r}`,!!l&&`ghostkit-pricing-table-align-vertical-${l}`,!!c&&`ghostkit-pricing-table-align-horizontal-${c}`),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const p=(0,ds.useBlockProps)({className:i}),{children:g,...f}=(0,ds.useInnerBlocksProps)({className:"ghostkit-pricing-table-inner"},{template:[[mC],[mC]],allowedBlocks:[mC],orientation:"horizontal",renderAppender:!1});return(0,gs.jsxs)("div",{...p,children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(ds.AlignmentToolbar,{value:c,onChange:e=>n({horizontalAlign:e})})}),(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-top"),title:(0,bs.__)("ItemsVertical Start","ghostkit"),onClick:()=>n({verticalAlign:""}),isActive:""===l}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-center"),title:(0,bs.__)("ItemsVertical Center","ghostkit"),onClick:()=>n({verticalAlign:"center"}),isActive:"center"===l}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-bottom"),title:(0,bs.__)("ItemsVertical End","ghostkit"),onClick:()=>n({verticalAlign:"end"}),isActive:"end"===l})]})}),(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Vertical align","ghostkit"),label:(0,bs.__)("Vertical align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsxs)(us.Toolbar,{label:(0,bs.__)("Vertical align","ghostkit"),children:[(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-top"),title:(0,bs.__)("ItemsVertical Start","ghostkit"),onClick:()=>n({verticalAlign:""}),isActive:""===l}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-center"),title:(0,bs.__)("ItemsVertical Center","ghostkit"),onClick:()=>n({verticalAlign:"center"}),isActive:"center"===l}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-bottom"),title:(0,bs.__)("ItemsVertical End","ghostkit"),onClick:()=>n({verticalAlign:"end"}),isActive:"end"===l})]})})}),(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Horizontal align","ghostkit"),label:(0,bs.__)("Horizontal align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsx)(ds.AlignmentToolbar,{value:c,onChange:e=>n({horizontalAlign:e}),isCollapsed:!1})})})]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(Mm,{gap:s,gapCustom:a,onChange:e=>{n(e)}})})]}),(0,gs.jsxs)("div",{...f,children:[g,h&&r<6?(0,gs.jsx)("div",{className:"ghostkit-pricing-table-add-item",children:(0,gs.jsx)(us.Button,{variant:"secondary",icon:(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img",focusable:"false",children:(0,gs.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})}),onClick:()=>{d((0,um.createBlock)("ghostkit/pricing-table-item"),void 0,o)},children:(0,bs.__)("Add Pricing Table","ghostkit")})}):null]})]})},save:function(e){const{count:t,gap:n,verticalAlign:o,horizontalAlign:i}=e.attributes;let r=cs()("ghostkit-pricing-table",`ghostkit-pricing-table-gap-${n}`,!!t&&`ghostkit-pricing-table-items-${t}`,!!o&&`ghostkit-pricing-table-align-vertical-${o}`,!!i&&`ghostkit-pricing-table-align-horizontal-${i}`);r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:vC,...e});const s=ds.useBlockProps.save({className:r}),a=ds.useInnerBlocksProps.save({className:"ghostkit-pricing-table-inner"});return(0,Ke.createElement)("div",{...s},(0,Ke.createElement)("div",{...a}))}},wC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/pricing-table-item","parent":["ghostkit/pricing-table"],"category":"ghostkit","title":"Pricing Table Item","description":"A single item within a pricing table block.","supports":{"html":false,"className":false,"anchor":true,"reusable":false},"attributes":{"popularText":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-popular-badge","default":"Popular"},"title":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-title","default":"Standard"},"price":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-price-amount","default":"77"},"priceCurrency":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-price-currency","default":"$"},"priceRepeat":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-price-repeat"},"description":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-description"},"features":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-features","default":"
  • Feature 1
  • Feature 2
  • "},"showPopular":{"type":"boolean","default":false},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showPriceCurrency":{"type":"boolean","default":true},"showPriceRepeat":{"type":"boolean","default":true},"showDescription":{"type":"boolean","default":false},"showFeatures":{"type":"boolean","default":true},"showButton":{"type":"boolean","default":true}}}'),{name:kC}=wC,{name:_C}=wC,xC={icon:Cr("block-pricing-table",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{popularText:i,title:r,price:s,priceCurrency:a,priceRepeat:l,description:c,features:u,showPopular:h,showTitle:d,showPrice:p,showPriceCurrency:g,showPriceRepeat:f,showDescription:m,showFeatures:v,showButton:b}=t;let y=cs()("ghostkit-pricing-table-item-wrap",h&&"ghostkit-pricing-table-item-popular");y=(0,os.applyFilters)("ghostkit.editor.className",y,e);const w=(0,ds.useBlockProps)({className:y}),k=(0,ds.useInnerBlocksProps)({className:"ghostkit-pricing-table-item-button-wrapper"},{template:[["ghostkit/button",{align:"center"},[["ghostkit/button-single",{text:"Purchase"}]]]],templateLock:"all",allowedBlocks:["ghostkit/button"]});return(0,gs.jsxs)("div",{...w,children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsxs)(us.BaseControl,{__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Popular Badge","ghostkit"),checked:!!h,onChange:e=>n({showPopular:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Title","ghostkit"),checked:!!d,onChange:e=>n({showTitle:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Price","ghostkit"),checked:!!p,onChange:e=>n({showPrice:e}),__nextHasNoMarginBottom:!0}),p?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Price Currency","ghostkit"),checked:!!g,onChange:e=>n({showPriceCurrency:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Price Repeat","ghostkit"),checked:!!f,onChange:e=>n({showPriceRepeat:e}),__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Description","ghostkit"),checked:!!m,onChange:e=>n({showDescription:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Features","ghostkit"),checked:!!v,onChange:e=>n({showFeatures:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Button","ghostkit"),checked:!!b,onChange:e=>n({showButton:e}),__nextHasNoMarginBottom:!0})]})})}),(0,gs.jsxs)("div",{className:"ghostkit-pricing-table-item",children:[d?(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"h3",className:"ghostkit-pricing-table-item-title",onChange:e=>n({title:e}),value:r,placeholder:(0,bs.__)("Plan","ghostkit"),withoutInteractiveFormatting:!0}):null,p?(0,gs.jsxs)("div",{className:"ghostkit-pricing-table-item-price",children:[!g||ds.RichText.isEmpty(a)&&!o?null:(0,gs.jsx)("div",{className:"ghostkit-pricing-table-item-price-currency",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({priceCurrency:e}),value:a,placeholder:(0,bs.__)("$","ghostkit"),withoutInteractiveFormatting:!0})}),(0,gs.jsx)("div",{className:"ghostkit-pricing-table-item-price-amount",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({price:e}),value:s,placeholder:"77",withoutInteractiveFormatting:!0})}),!f||ds.RichText.isEmpty(l)&&!o?null:(0,gs.jsx)("div",{className:"ghostkit-pricing-table-item-price-repeat",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({priceRepeat:e}),value:l,placeholder:(0,bs.__)("/mo","ghostkit"),withoutInteractiveFormatting:!0})})]}):null,!m||ds.RichText.isEmpty(c)&&!o?null:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-pricing-table-item-description",onChange:e=>n({description:e}),value:c,placeholder:(0,bs.__)("Description","ghostkit"),withoutInteractiveFormatting:!0}),!v||ds.RichText.isEmpty(u)&&!o?null:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"ul",multiline:"li",className:"ghostkit-pricing-table-item-features",onChange:e=>n({features:e}),value:u,placeholder:(0,bs.__)("Add features","ghostkit")}),b?(0,gs.jsx)("div",{...k}):null,!h||ds.RichText.isEmpty(i)&&!o?null:(0,gs.jsx)("div",{className:"ghostkit-pricing-table-item-popular-badge",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({popularText:e}),value:i,placeholder:(0,bs.__)("Popular","ghostkit"),withoutInteractiveFormatting:!0})})]})]})},save:function(e){const{popularText:t,title:n,price:o,description:i,priceCurrency:r,priceRepeat:s,features:a,showPopular:l,showTitle:c,showPrice:u,showPriceCurrency:h,showPriceRepeat:d,showDescription:p,showFeatures:g,showButton:f}=e.attributes;let m=cs()("ghostkit-pricing-table-item",l&&"ghostkit-pricing-table-item-popular");m=(0,os.applyFilters)("ghostkit.blocks.className",m,{name:kC,...e});const v=ds.useBlockProps.save({className:"ghostkit-pricing-table-item-wrap"}),b=ds.useInnerBlocksProps.save({className:"ghostkit-pricing-table-item-button-wrapper"});return(0,Ke.createElement)("div",{...v},(0,Ke.createElement)("div",{className:m},c&&!ds.RichText.isEmpty(n)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"h3",className:"ghostkit-pricing-table-item-title",value:n}):null,u&&!ds.RichText.isEmpty(o)?(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price"},h&&!ds.RichText.isEmpty(r)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-pricing-table-item-price-currency",value:r}):null,(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-pricing-table-item-price-amount",value:o}),d&&!ds.RichText.isEmpty(s)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-pricing-table-item-price-repeat",value:s}):null):null,p&&!ds.RichText.isEmpty(i)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-pricing-table-item-description",value:i}):null,g&&!ds.RichText.isEmpty(a)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"ul",className:"ghostkit-pricing-table-item-features",value:a}):null,f?(0,Ke.createElement)("div",{...b}):null,l&&!ds.RichText.isEmpty(t)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-pricing-table-item-popular-badge",value:t}):null))}},CC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/progress","category":"ghostkit","title":"Progress","description":"Show the progress of your work, skills or earnings.","keywords":["progress","bar"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"caption":{"type":"string","source":"html","selector":".ghostkit-progress-caption","default":"Progress Caption"},"height":{"type":"number","default":15},"percent":{"type":"number","default":75},"borderRadius":{"type":"number"},"striped":{"type":"boolean","default":true},"animateInViewport":{"type":"boolean","default":false},"showCount":{"type":"boolean","default":false},"countPrefix":{"type":"string","default":""},"countSuffix":{"type":"string","default":"%"},"color":{"type":"string"},"backgroundColor":{"type":"string"},"hoverColor":{"type":"string"},"hoverBackgroundColor":{"type":"string"}}}'),{name:SC}=CC,{name:EC}=CC,AC={icon:Cr("block-progress",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/progress/",customStylesCallback(e){const t={"--gkt-progress__height":void 0,"--gkt-progress__border-radius":void 0,"--gkt-progress__background-color":e.backgroundColor||void 0,"--gkt-progress--bar__width":void 0,"--gkt-progress--bar__background-color":e.color||void 0,"&:hover":{"--gkt-progress--bar__background-color":e.hoverColor||void 0,"--gkt-progress__background-color":e.hoverBackgroundColor||void 0}};return void 0!==e.height&&""!==e.height&&(t["--gkt-progress__height"]=`${e.height}px`),void 0!==e.borderRadius&&""!==e.borderRadius&&(t["--gkt-progress__border-radius"]=`${e.borderRadius}px`),void 0!==e.percent&&""!==e.percent&&(t["--gkt-progress--bar__width"]=`${e.percent}%`),t}},example:{attributes:{ghostkit:{id:"example-progress"},className:"ghostkit-custom-example-progress"}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,toggleSelection:i}=e;let{className:r=""}=e;const{caption:s,height:a,percent:l,borderRadius:c,striped:u,animateInViewport:h,showCount:d,countPrefix:p,countSuffix:g,color:f,backgroundColor:m,hoverColor:v,hoverBackgroundColor:b}=t;r=cs()("ghostkit-progress",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const y=(0,ds.useBlockProps)({className:r});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Height","ghostkit"),value:a||"",onChange:e=>n({height:e}),min:1,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Percent","ghostkit"),value:l||"",onChange:e=>n({percent:e}),min:0,max:100,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Corner Radius","ghostkit"),value:c,min:0,max:10,onChange:e=>n({borderRadius:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Count","ghostkit"),checked:!!d,onChange:e=>n({showCount:e}),__nextHasNoMarginBottom:!0}),d?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Count Prefix","ghostkit"),value:p,onChange:e=>n({countPrefix:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Count Suffix","ghostkit"),value:g,onChange:e=>n({countSuffix:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Striped","ghostkit"),checked:!!u,onChange:e=>n({striped:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Animate in viewport","ghostkit"),checked:!!h,onChange:e=>n({animateInViewport:e}),__nextHasNoMarginBottom:!0})]}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:f}),(0,gs.jsx)(hs,{colorValue:m})]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Bar","ghostkit"),value:o?v:f,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0,gradient:!0})}),(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverBackgroundColor":"backgroundColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Background","ghostkit"),value:o?b:m,onChange:e=>n(o?{hoverBackgroundColor:e}:{backgroundColor:e}),alpha:!0,gradient:!0})})]})}})})]}),(0,gs.jsxs)("div",{...y,children:[!ds.RichText.isEmpty(s)||o?(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-progress-caption",placeholder:(0,bs.__)("Write caption…","ghostkit"),value:s,onChange:e=>n({caption:e})}):null,d?(0,gs.jsx)("div",{className:"ghostkit-progress-bar-count",style:{width:`${l}%`},children:(0,gs.jsxs)("div",{children:[p,l,g]})}):null,(0,gs.jsx)(us.ResizableBox,{className:cs()({"is-selected":o}),size:{width:"100%",height:a},minWidth:"0%",maxWidth:"100%",minHeight:"1",enable:{bottom:!0},onResizeStart:()=>{i(!1)},onResizeStop:(e,t,o,r)=>{n({height:parseInt(a+r.height,10)}),i(!0)},children:(0,gs.jsx)("div",{className:cs()({"ghostkit-progress-wrap":!0,"ghostkit-progress-bar-striped":u}),children:(0,gs.jsx)(us.ResizableBox,{className:cs()("ghostkit-progress-bar",{"is-selected":o}),size:{width:`${l}%`},minWidth:"0%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",enable:{right:!0},onResizeStart:()=>{i(!1)},onResizeStop:(e,t,o,r)=>{n({percent:Math.min(100,Math.max(0,l+parseInt(100*r.width/o.parentNode.getBoundingClientRect().width,10)))}),i(!0)}})})})]})]})},save:function(e){const{caption:t,percent:n,striped:o,showCount:i,countPrefix:r,countSuffix:s,animateInViewport:a}=e.attributes;let l="ghostkit-progress";l=(0,os.applyFilters)("ghostkit.blocks.className",l,{name:SC,...e});const c=ds.useBlockProps.save({className:l});return(0,Ke.createElement)("div",{...c},ds.RichText.isEmpty(t)?null:(0,Ke.createElement)("div",{className:"ghostkit-progress-caption"},(0,Ke.createElement)(ds.RichText.Content,{value:t})),i?(0,Ke.createElement)("div",{className:"ghostkit-progress-bar-count",style:{width:`${n}%`}},(0,Ke.createElement)("div",null,(0,Ke.createElement)("span",null,r),(0,Ke.createElement)("span",null,n),(0,Ke.createElement)("span",null,s))):null,(0,Ke.createElement)("div",{className:cs()("ghostkit-progress-wrap",o&&"ghostkit-progress-bar-striped")},(0,Ke.createElement)("div",{className:cs()("ghostkit-progress-bar",a&&"ghostkit-count-up"),role:"progressbar","aria-valuenow":n,"aria-valuemin":"0","aria-valuemax":"100"})))}},TC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/shape-divider","category":"ghostkit","title":"Shape Divider","description":"Decorations for section shapes.","keywords":["shape","svg","spacer"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"align":{"type":"string","default":"full"},"svg":{"type":"string"},"flipVertical":{"type":"boolean","default":false},"flipHorizontal":{"type":"boolean","default":false},"sm_height":{"type":"string","default":""},"sm_width":{"type":"string","default":""},"md_height":{"type":"string","default":""},"md_width":{"type":"string","default":""},"lg_height":{"type":"string","default":""},"lg_width":{"type":"string","default":""},"xl_height":{"type":"string","default":""},"xl_width":{"type":"string","default":""},"height":{"type":"string","default":"150"},"width":{"type":"string","default":"100"},"color":{"type":"string"}}}');function $C(e){const{title:t,children:n}=e,[o,i]=(0,vs.useState)(e.collapsed);return(0,Ke.createElement)("div",{className:cs()("ghostkit-pro-component-note",o&&"ghostkit-pro-component-note-collapsed")},(0,Ke.createElement)("div",{className:"ghostkit-pro-component-note-inner"},t&&(0,Ke.createElement)("h3",null,t),o&&(0,Ke.createElement)(us.Button,{onClick:()=>{i(!o)}},Cr("icon-arrow-right")),!o&&n&&(0,Ke.createElement)("div",null,n)))}$C.Button=function(e){const{children:t}=e;return(0,Ke.createElement)("a",{className:"ghostkit-pro-component-note-button",...e},t)};const{GHOSTKIT:MC}=window,{version:RC}=window.ghostkitVariables,{shapes:jC}=MC;function OC(e){let t={allow_flip_vertical:!0,allow_flip_horizontal:!0},n=!1;return Object.keys(jC).forEach((o=>{const i=jC[o];Object.keys(i.shapes).forEach((o=>{const r=i.shapes[o];r.svg&&r.svg===gt(e)&&!n&&(t=r,n=!0)}))})),t}const{name:LC}=TC,{name:IC}=TC,NC={icon:Cr("block-shape-divider",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/shape-divider/",customStylesCallback(e){const t={"--gkt-shape-divider__color":e.color||void 0,svg:{width:void 0,height:void 0},media_sm:{svg:{width:void 0,height:void 0}},media_md:{svg:{width:void 0,height:void 0}},media_lg:{svg:{width:void 0,height:void 0}},media_xl:{svg:{width:void 0,height:void 0}}};return Object.keys(e).forEach((n=>{if(void 0!==e[n]&&""!==e[n]){let o=n.split("_")[0],i=n.split("_")[1];i||(i=o,o=""),!i||"height"!==i&&"width"!==i||("height"===i&&o?t[`media_${o}`].svg.height=`${e[n]}px`:"height"===i?t.svg.height=`${e[n]}px`:"width"===i&&o?t[`media_${o}`].svg.width=`${e[n]}%`:"width"===i&&(t.svg.width=`${e[n]}%`))}})),t}},example:{attributes:{svg:'',ghostkit:{id:"example-shape-divider"},className:"ghostkit-custom-example-shape-divider"}},edit:function(e){const{attributes:t,setAttributes:n}=e,{svg:o,flipVertical:i,flipHorizontal:r,color:s}=t;let{className:a=""}=e;const{device:l}=Jr();function c(){return(0,gs.jsx)("div",{className:"ghostkit-shape-divider-control-styles",children:Object.keys(jC).map((e=>{const t=jC[e],a=[];return Object.keys(t.shapes).forEach((n=>{const o=t.shapes[n];a.push({label:o.label,value:o.svg,image:(0,gs.jsx)("div",{className:"ghostkit-shape-divider",style:{"--gkt-shape-divider__color":s},dangerouslySetInnerHTML:{__html:o.svg}}),className:`ghostkit-shape-divider-control-styles-item-${e}-${o.name}`})})),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("h3",{children:t.name}),(0,gs.jsx)(np,{value:gt(o),options:a,onChange:e=>{const t=OC(e);n({svg:pt(e),flipVertical:!!t.allow_flip_vertical&&i,flipHorizontal:!!t.allow_flip_horizontal&&r})}}),(0,gs.jsxs)($C,{title:(0,bs.__)("Pro Shapes","ghostkit"),children:[(0,gs.jsx)("p",{children:(0,bs.__)("Additional 30 shapes available in the Ghost Kit Pro plugin only","ghostkit")}),(0,gs.jsx)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/blocks/shape-divider/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_shapes&utm_content=${RC}`,children:(0,bs.__)("Read More","ghostkit")})]})]},e)}))})}(0,vs.useEffect)((()=>{if(!o){const e={};Object.keys(jC).forEach((t=>{const n=jC[t];Object.keys(n.shapes).forEach((t=>{const o=n.shapes[t];o.svg&&!e.svg&&(e.svg=o.svg)}))})),e.ghostkitSpacings={marginTop:"0",marginBottom:"0","!important":!0},n(e)}}),[]);const u=OC(o);a=cs()("ghostkit-shape-divider",{"ghostkit-shape-divider-flip-vertical":u.allow_flip_vertical&&i,"ghostkit-shape-divider-flip-horizontal":u.allow_flip_horizontal&&r},a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e);const h=(0,ds.useBlockProps)({className:a,dangerouslySetInnerHTML:{__html:gt(o)}});let d="height",p="width";return l&&(d=`${l}_${d}`,p=`${l}_${p}`),(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[u.allow_flip_vertical?(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-flip-vertical"),title:(0,bs.__)("Vertical Flip","ghostkit"),onClick:()=>n({flipVertical:!i}),isActive:i}):null,u.allow_flip_horizontal?(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-flip-horizontal"),title:(0,bs.__)("Horizontal Flip","ghostkit"),onClick:()=>n({flipHorizontal:!r}),isActive:r}):null,(0,gs.jsx)(us.Dropdown,{renderToggle:({onToggle:e})=>(0,gs.jsx)(us.ToolbarButton,{label:(0,bs.__)("Shapes","ghostkit"),icon:"edit",className:"components-toolbar__control",onClick:e}),renderContent:()=>(0,gs.jsx)("div",{style:{minWidth:260},children:c()})})]})}),(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{title:(0,bs.__)("Style","ghostkit"),children:c()}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Size","ghostkit"),children:[(0,gs.jsx)(rg,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Height","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!t[`${e}_height`]})]}),value:t[d]?parseInt(t[d],10):"",onChange:e=>{n({[d]:`${"number"==typeof e?e:""}`})},min:1,max:700,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Width","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!t[`${e}_width`]})]}),value:t[p]?parseInt(t[p],10):"",onChange:e=>{n({[p]:`${"number"==typeof e?e:""}`})},min:100,max:400,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(fs,{label:(0,bs.__)("Color","ghostkit"),value:s,onChange:e=>n({color:e}),alpha:!0})})]}),(0,gs.jsx)("div",{...h})]})},save:function(e){const{svg:t,flipVertical:n,flipHorizontal:o}=e.attributes;let i=cs()("ghostkit-shape-divider",{"ghostkit-shape-divider-flip-vertical":n,"ghostkit-shape-divider-flip-horizontal":o});i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:LC,...e});const r=ds.useBlockProps.save({className:i,dangerouslySetInnerHTML:{__html:gt(t)}});return(0,Ke.createElement)("div",{...r})}},PC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/table-of-contents","category":"ghostkit","title":"Table of Contents","description":"Summarize your post with a list of headings. Add HTML anchors to Heading blocks to link them here.","keywords":["table of contents","toc","summary","document outline"],"supports":{"html":false,"className":false,"align":["wide","full"],"multiple":false},"attributes":{"title":{"type":"string","default":"Table of Contents"},"listStyle":{"type":"string","default":"ol-styled"},"allowedHeaders":{"type":"array","default":[2,3,4]}}}');function DC(e,t){let n=[];return t&&t.length&&e.forEach((e=>{"core/heading"===e.name&&t.indexOf(e.attributes.level)>-1&&e?.attributes?.anchor&&n.push({level:e.attributes.level,content:e.attributes?.content?.originalHTML||e.attributes?.content||"",anchor:""}),e.innerBlocks&&e.innerBlocks.length&&(n=[...n,...DC(e.innerBlocks,t)])})),n}const{name:BC}=PC,zC={icon:Cr("block-table-of-contents",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/table-of-contents/"},edit:function(e){const t=(0,vs.useRef)();let{className:n}=e;const{setAttributes:o,attributes:i,isSelected:r}=e,{title:s,allowedHeaders:a,listStyle:l}=i,{headings:c,tocHTML:u}=(0,Ze.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor"),n=DC(t(),a);return{headings:n,tocHTML:e("ghostkit/blocks/table-of-contents").getTOC({headings:n,allowedHeaders:a,listStyle:l})}}));n=cs()("ghostkit-toc",n),n=(0,os.applyFilters)("ghostkit.editor.className",n,e),c&&c.length&&u&&(!t.current||t.current!==u)&&(t.current=u);const h=(0,ds.useBlockProps)({className:n});return(0,gs.jsxs)("div",{...h,children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Allowed Headers","ghostkit"),value:a,options:[{value:1,label:(0,bs.__)("Heading 1","ghostkit")},{value:2,label:(0,bs.__)("Heading 2","ghostkit")},{value:3,label:(0,bs.__)("Heading 3","ghostkit")},{value:4,label:(0,bs.__)("Heading 4","ghostkit")},{value:5,label:(0,bs.__)("Heading 5","ghostkit")},{value:6,label:(0,bs.__)("Heading 6","ghostkit")}],onChange:e=>{o({allowedHeaders:e.map((e=>parseInt(e,10)))})},multiple:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("List Style","ghostkit"),value:l,options:[{value:"ol",label:(0,bs.__)("Numbered List","ghostkit")},{value:"ul",label:(0,bs.__)("Dotted List","ghostkit")},{value:"ol-styled",label:(0,bs.__)("Numbered List Styled","ghostkit")},{value:"ul-styled",label:(0,bs.__)("Dotted List Styled","ghostkit")}],onChange:e=>o({listStyle:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}),c&&c.length?(0,gs.jsxs)(gs.Fragment,{children:[!ds.RichText.isEmpty(s)||r?(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"h5",className:"ghostkit-toc-title",placeholder:(0,bs.__)("Write title…","ghostkit"),format:"string",value:s,onChange:e=>o({title:e})}):null,u?null:(0,gs.jsx)("div",{className:cs()("ghostkit-toc-spinner",!u&&!t.current&&"ghostkit-toc-spinner-relative"),children:(0,gs.jsx)(us.Spinner,{})}),u||t.current?(0,gs.jsx)(us.Disabled,{children:(0,gs.jsx)("div",{className:"ghostkit-toc-list block-library-list",children:(0,gs.jsx)(vs.RawHTML,{children:u||t.current})})}):null]}):(0,gs.jsx)(us.Placeholder,{icon:Cr("block-table-of-contents"),label:(0,bs.__)("Table of Contents","ghostkit"),instructions:(0,bs.__)("Start adding Heading blocks to create a table of contents. Headings with HTML anchors will be linked here.","ghostkit")})]})},save:function(){return null}},FC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/tabs-v2","category":"ghostkit","title":"Tabs","description":"Separate content on the tabs with titles.","keywords":["tabs","tab"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"tabActive":{"type":"string","default":"tab-1"},"trigger":{"type":"string"},"buttonsVerticalAlign":{"type":"boolean","default":false},"buttonsAlign":{"type":"string","default":"start"},"tabsData":{"type":"array","default":[{"slug":"tab-1","title":"Tab 1"},{"slug":"tab-2","title":"Tab 2"}]}},"providesContext":{"ghostkit/tabActive":"tabActive"},"styles":[{"name":"default","label":"Tabs","isDefault":true},{"name":"pills","label":"Pills"},{"name":"radio","label":"Radio Buttons"}]}'),{name:HC}=FC,WC=[{...FC,save:function(e){const{tabActive:t,trigger:n,buttonsVerticalAlign:o,buttonsAlign:i,tabsData:r=[]}=e.attributes;let s=cs()("ghostkit-tabs",o&&"ghostkit-tabs-buttons-vertical",n&&`ghostkit-tabs-buttons-trigger-${n}`);s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:HC,...e});const a=ds.useBlockProps.save({className:s,"data-tab-active":t}),l=ds.useInnerBlocksProps.save({className:"ghostkit-tabs-content"});return(0,Ke.createElement)("div",{...a},(0,Ke.createElement)("div",{className:cs()("ghostkit-tabs-buttons",`ghostkit-tabs-buttons-align-${i}`)},r.map((e=>(0,Ke.createElement)(ds.RichText.Content,{tagName:"a",href:`#${e.slug}`,className:"ghostkit-tabs-buttons-item",key:`tab_button_${e.slug}`,value:e.title})))),(0,Ke.createElement)("div",{...l}))}}];function VC({attributes:e,setAttributes:t}){const{buttonsAlign:n,buttonsVerticalAlign:o}=e,i={start:{icon:Cr("icon-horizontal-start"),label:(0,bs.__)("Buttons Justify Start","ghostkit")},center:{icon:Cr("icon-horizontal-center"),label:(0,bs.__)("Buttons Justify Center","ghostkit")},end:{icon:Cr("icon-horizontal-end"),label:(0,bs.__)("Buttons Justify End","ghostkit")},stretch:{icon:Cr("icon-horizontal-stretch"),label:(0,bs.__)("Buttons Justify Stretch","ghostkit")}};o&&(i.start.icon=Cr("icon-vertical-top"),i.start.label=(0,bs.__)("Buttons Vertical Start","ghostkit"),i.center.icon=Cr("icon-vertical-center"),i.center.label=(0,bs.__)("Buttons Vertical Center","ghostkit"),i.end.icon=Cr("icon-vertical-bottom"),i.end.label=(0,bs.__)("Buttons Vertical End","ghostkit"),i.stretch=void 0);const r=[];Object.entries(i).forEach((e=>{e[1]&&r.push({title:e[1].label,icon:e[1].icon,isActive:n===e[0],onClick:()=>t({buttonsAlign:e[0]})})}));const s=o?(0,bs.__)("Buttons Vertical Align","ghostkit"):(0,bs.__)("Buttons Justify Align","ghostkit");return(0,Ke.createElement)(ds.BlockControls,{group:"block"},(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:i[n].icon,label:s,controls:r})))}function UC({attributes:e,setAttributes:t}){const{trigger:n,buttonsAlign:o,buttonsVerticalAlign:i}=e;return(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Select Tab Trigger","ghostkit"),value:n,options:[{value:"",label:(0,bs.__)("Click","ghostkit")},{value:"hover",label:(0,bs.__)("Hover","ghostkit")}],onChange:e=>{t({trigger:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Vertical Tabs","ghostkit"),checked:!!i,onChange:e=>{t({buttonsVerticalAlign:e}),e&&"stretch"===o&&t({buttonsAlign:"start"})},__nextHasNoMarginBottom:!0})]})})}const{name:GC}=FC,qC={from:[{type:"block",blocks:["ghostkit/accordion"],transform(e,t){const n=[];let o="";return t.forEach((e=>{const t=Ir(`tab-${e.attributes.heading}`,e.clientId);!o&&e.attributes.active&&(o=t),n.push({slug:t,title:e.attributes.heading})})),o||(o=n[0].slug),(0,um.createBlock)("ghostkit/tabs-v2",{tabsData:n,tabActive:o},n.map(((e,n)=>(0,um.createBlock)("ghostkit/tabs-tab-v2",{slug:e.slug},t[n]?t[n].innerBlocks:""))))}}]},{name:KC}=FC,YC={icon:Cr("block-tabs",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/tabs/"},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{tabActive:r,buttonsVerticalAlign:s,buttonsAlign:a,tabsData:l=[]}=t,{getBlocks:c,block:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{getBlock:t,getBlocks:n,isBlockSelected:i,hasSelectedInnerBlock:r}=e("core/block-editor");return{getBlocks:n,block:t(o),isSelectedBlockInRoot:i(o)||r(o,!0)}})),{updateBlockAttributes:d,removeBlock:p,replaceInnerBlocks:g}=(0,Ze.useDispatch)("core/block-editor");i=cs()(i,"ghostkit-tabs",s&&"ghostkit-tabs-buttons-vertical"),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const f=(0,ds.useBlockProps)({className:i}),m=(0,ds.useInnerBlocksProps)({className:"ghostkit-tabs-content"},{template:l.map((e=>["ghostkit/tabs-tab-v2",e])),templateLock:"all",allowedBlocks:["ghostkit/tabs-tab-v2"]});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(VC,{attributes:t,setAttributes:n}),(0,Ke.createElement)(UC,{attributes:t,setAttributes:n}),(0,Ke.createElement)("div",{...f},(0,Ke.createElement)("div",{className:cs()("ghostkit-tabs-buttons",`ghostkit-tabs-buttons-align-${a}`),role:"tablist","aria-orientation":s?"vertical":"horizontal"},l.map(((e,t)=>{const{slug:o,title:i}=e,s=r===o,a=`tab_button_${t}`;return(0,Ke.createElement)("div",{id:`${o}-button`,className:cs()("ghostkit-tabs-buttons-item",s&&"ghostkit-tabs-buttons-item-active"),role:"tab",key:a},(0,Ke.createElement)(ds.RichText,{tagName:"span",placeholder:(0,bs.__)("Tab label","ghostkit"),value:i,onFocus:()=>n({tabActive:o}),onChange:e=>{((e,t)=>{const o=u.innerBlocks;if(o[t]){const i=Ir(`tab ${e}`,o[t].clientId),r=l.map(((n,o)=>t===o?{...n,title:e,slug:i}:n));n({tabActive:i,tabsData:r}),d(o[t].clientId,{slug:i})}})(e,t)},withoutInteractiveFormatting:!0}),(0,Ke.createElement)(sg,{show:h,tooltipText:(0,bs.__)("Remove tab?","ghostkit"),onRemove:()=>{(e=>{if(u.innerBlocks.length<=1)p(u.clientId);else if(u.innerBlocks[e]&&(p(u.innerBlocks[e].clientId),l[e])){const t=[...l];t.splice(e,1);const o=[...c(u.clientId)];o.splice(e,1),g(u.clientId,o,!1),n({tabsData:t})}})(t)}}))})),h?(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Add Tab","ghostkit")},(0,Ke.createElement)(us.Button,{icon:(0,Ke.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img",focusable:"false"},(0,Ke.createElement)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),onClick:()=>{const e=[...l],t=l.length+1;e.push({slug:`tab-${t}`,title:`Tab ${t}`});const i=(0,um.createBlock)("ghostkit/tabs-tab-v2",{slug:`tab-${t}`,title:`Tab ${t}`});let r=c(o);r=[...r,i],g(o,r,!1),n({tabsData:e})}})):null),(0,Ke.createElement)("div",{...m})))},save:function(e){const{tabActive:t,trigger:n,buttonsVerticalAlign:o,buttonsAlign:i,tabsData:r=[]}=e.attributes;let s=cs()("ghostkit-tabs",o&&"ghostkit-tabs-buttons-vertical",n&&`ghostkit-tabs-buttons-trigger-${n}`);s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:GC,...e});const a=ds.useBlockProps.save({className:s}),l=ds.useInnerBlocksProps.save({className:"ghostkit-tabs-content"});return(0,Ke.createElement)("div",{...a},(0,Ke.createElement)("div",{className:cs()("ghostkit-tabs-buttons",`ghostkit-tabs-buttons-align-${i}`),role:"tablist","aria-orientation":o?"vertical":"horizontal"},r.map((e=>(0,Ke.createElement)(ds.RichText.Content,{tagName:"button",id:`${e.slug}-button`,className:cs()("ghostkit-tabs-buttons-item",t===e.slug&&"ghostkit-tabs-buttons-item-active"),type:"button",role:"tab","data-tab":e.slug,"aria-controls":`${e.slug}-content`,"aria-selected":t===e.slug&&"true",key:`tab_button_${e.slug}`,value:e.title})))),(0,Ke.createElement)("div",{...l}))},transforms:qC,deprecated:WC},ZC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/tabs-tab-v2","parent":["ghostkit/tabs-v2"],"category":"ghostkit","title":"Tab","description":"A single tab within a tabs block.","supports":{"html":false,"className":false,"anchor":true,"reusable":false,"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"slug":{"type":"string"},"active":{"type":"boolean"}},"usesContext":["ghostkit/tabActive","ghostkit/buttonsVerticalAlign"]}'),{name:JC}=ZC,XC=[{...ZC,save:function(e){const{slug:t}=e.attributes;let n="ghostkit-tab";n=(0,os.applyFilters)("ghostkit.blocks.className",n,{name:JC,...e});const o=ds.useBlockProps.save({className:n,"data-tab":t}),i=ds.useInnerBlocksProps.save(o);return(0,Ke.createElement)("div",{...i})}}],{name:QC}=ZC,{name:eS}=ZC,tS={icon:Cr("block-tab",!0),edit:function(e){const{clientId:t,attributes:n,setAttributes:o,context:i}=e,{slug:r,active:s,anchor:a}=n,{"ghostkit/tabActive":l}=i;let{className:c=""}=e;(0,vs.useEffect)((()=>{l!==r||s?l!==r&&s&&o({active:!1}):o({active:!0})}),[s,o,r,l]),(0,vs.useEffect)((()=>{a!==`${r}-content`&&o({anchor:`${r}-content`})}),[r,a,o]);const u=(0,Ze.useSelect)((e=>{const n=e("core/block-editor");return!!n&&n.getBlockOrder(t).length>0}),[t]);c=cs()(c,"ghostkit-tab",l===r&&"ghostkit-tab-active"),c=(0,os.applyFilters)("ghostkit.editor.className",c,e);const h=(0,ds.useBlockProps)({className:c,tabIndex:0,role:"tabpanel","aria-labelledby":r,"data-tab":r}),d=(0,ds.useInnerBlocksProps)(h,{renderAppender:u?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,Ke.createElement)("div",{...d})},save:function(e){const{slug:t,active:n}=e.attributes;let o=cs()("ghostkit-tab",n&&"ghostkit-tab-active");o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:QC,...e});const i=ds.useBlockProps.save({className:o,tabIndex:0,role:"tabpanel","aria-labelledby":`${t}-button`,"data-tab":t}),r=ds.useInnerBlocksProps.save(i);return(0,Ke.createElement)("div",{...r})},deprecated:XC},nS=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/testimonial","category":"ghostkit","title":"Testimonial","description":"Show how your users love your products and what saying.","keywords":["testimonial","blockquote","quote"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"icon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.5954%2010.708C15.7931%205.55696%2021.1071%205%2021.1071%205L21.3565%205.16714C18.945%206.72641%2019.0559%208.98169%2019.0559%208.98169C19.0559%208.98169%2022.1211%209.70495%2022.7979%2012.2673C23.5186%2014.996%2022.2158%2017.2944%2020.4141%2018.3373C18.1801%2019.6305%2015.4248%2018.9499%2014.0389%2017.0008C12.6134%2014.996%2012.8469%2012.4623%2013.5954%2010.708Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M1.59537%2010.708C3.79305%205.55696%209.10709%205%209.10709%205L9.35651%205.16714C6.945%206.72641%207.05592%208.98169%207.05592%208.98169C7.05592%208.98169%2010.1211%209.70495%2010.7979%2012.2673C11.5186%2014.996%2010.2158%2017.2944%208.41413%2018.3373C6.18005%2019.6305%203.42475%2018.9499%202.03887%2017.0008C0.61344%2014.996%200.846929%2012.4623%201.59537%2010.708Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"photoId":{"type":"number"},"photoUrl":{"attribute":"src","selector":".ghostkit-testimonial-photo img","source":"attribute","type":"string"},"photoAlt":{"attribute":"alt","selector":".ghostkit-testimonial-photo img","source":"attribute","type":"string","default":""},"photoWidth":{"type":"number"},"photoHeight":{"type":"number"},"photoSizeSlug":{"type":"string"},"name":{"type":"string","source":"html","selector":".ghostkit-testimonial-name","default":"Katrina Craft"},"source":{"type":"string","source":"html","selector":".ghostkit-testimonial-source","default":"Designer"},"stars":{"type":"number"},"starsIcon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.6724%202.66808C12.5461%202.41207%2012.2853%202.25%2011.9998%202.25C11.7144%202.25%2011.4536%202.41207%2011.3273%202.66808L8.56287%208.26941L2.38143%209.16762C2.09892%209.20868%201.86421%209.40656%201.77599%209.67807C1.68777%209.94958%201.76134%2010.2476%201.96577%2010.4469L6.4387%2014.8069L5.38279%2020.9634C5.33453%2021.2448%205.45019%2021.5291%205.68115%2021.6969C5.91211%2021.8647%206.21831%2021.8869%206.471%2021.754L11.9998%2018.8473L17.5287%2021.754C17.7814%2021.8869%2018.0876%2021.8647%2018.3185%2021.6969C18.5495%2021.5291%2018.6652%2021.2448%2018.6169%2020.9634L17.561%2014.8069L22.0339%2010.4469C22.2383%2010.2476%2022.3119%209.94958%2022.2237%209.67807C22.1355%209.40656%2021.9008%209.20868%2021.6183%209.16762L15.4368%208.26941L12.6724%202.66808Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"url":{"type":"string"},"ariaLabel":{"type":"string"},"target":{"type":"string"},"rel":{"type":"string"}}}'),{name:oS}=nS,iS=[{...nS,attributes:{icon:{type:"string",default:"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.5954%2010.708C15.7931%205.55696%2021.1071%205%2021.1071%205L21.3565%205.16714C18.945%206.72641%2019.0559%208.98169%2019.0559%208.98169C19.0559%208.98169%2022.1211%209.70495%2022.7979%2012.2673C23.5186%2014.996%2022.2158%2017.2944%2020.4141%2018.3373C18.1801%2019.6305%2015.4248%2018.9499%2014.0389%2017.0008C12.6134%2014.996%2012.8469%2012.4623%2013.5954%2010.708Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M1.59537%2010.708C3.79305%205.55696%209.10709%205%209.10709%205L9.35651%205.16714C6.945%206.72641%207.05592%208.98169%207.05592%208.98169C7.05592%208.98169%2010.1211%209.70495%2010.7979%2012.2673C11.5186%2014.996%2010.2158%2017.2944%208.41413%2018.3373C6.18005%2019.6305%203.42475%2018.9499%202.03887%2017.0008C0.61344%2014.996%200.846929%2012.4623%201.59537%2010.708Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},photoId:{type:"number"},photoUrl:{attribute:"src",selector:".ghostkit-testimonial-photo img",source:"attribute",type:"string"},photoAlt:{attribute:"alt",selector:".ghostkit-testimonial-photo img",source:"attribute",type:"string",default:""},photoWidth:{type:"number"},photoHeight:{type:"number"},photoSizeSlug:{type:"string"},name:{type:"string",source:"html",selector:".ghostkit-testimonial-name",default:"Katrina Craft"},source:{type:"string",source:"html",selector:".ghostkit-testimonial-source",default:"Designer"},stars:{type:"number"},starsIcon:{type:"string",default:"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.6724%202.66808C12.5461%202.41207%2012.2853%202.25%2011.9998%202.25C11.7144%202.25%2011.4536%202.41207%2011.3273%202.66808L8.56287%208.26941L2.38143%209.16762C2.09892%209.20868%201.86421%209.40656%201.77599%209.67807C1.68777%209.94958%201.76134%2010.2476%201.96577%2010.4469L6.4387%2014.8069L5.38279%2020.9634C5.33453%2021.2448%205.45019%2021.5291%205.68115%2021.6969C5.91211%2021.8647%206.21831%2021.8869%206.471%2021.754L11.9998%2018.8473L17.5287%2021.754C17.7814%2021.8869%2018.0876%2021.8647%2018.3185%2021.6969C18.5495%2021.5291%2018.6652%2021.2448%2018.6169%2020.9634L17.561%2014.8069L22.0339%2010.4469C22.2383%2010.2476%2022.3119%209.94958%2022.2237%209.67807C22.1355%209.40656%2021.9008%209.20868%2021.6183%209.16762L15.4368%208.26941L12.6724%202.66808Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},url:{type:"string"},target:{type:"string"},rel:{type:"string"}},save:class extends vs.Component{render(){const{attributes:e}=this.props,{photoId:t,photoUrl:n,photoAlt:o,photoWidth:i,photoHeight:r,icon:s,source:a,stars:l,starsIcon:c,url:u,target:h,rel:d}=e;let p=cs()("ghostkit-testimonial",u&&"ghostkit-testimonial-with-link");return p=(0,os.applyFilters)("ghostkit.blocks.className",p,{name:oS,...this.props}),(0,Ke.createElement)("div",{className:p},u?(0,Ke.createElement)("a",{className:"ghostkit-testimonial-link",href:u,target:h||!1,rel:d||!1},(0,Ke.createElement)("span",null)):null,s?(0,Ke.createElement)(tp.Render,{name:s,tag:"div",className:"ghostkit-testimonial-icon"}):null,(0,Ke.createElement)("div",{className:"ghostkit-testimonial-content"},(0,Ke.createElement)(ds.InnerBlocks.Content,null)),n?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-photo"},(0,Ke.createElement)("img",{src:n,alt:o,className:t?`wp-image-${t}`:null,width:i,height:r})):null,ds.RichText.isEmpty(e.name)&&ds.RichText.isEmpty(a)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-meta"},ds.RichText.isEmpty(e.name)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-name"},(0,Ke.createElement)(ds.RichText.Content,{value:e.name})),ds.RichText.isEmpty(a)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-source"},(0,Ke.createElement)(ds.RichText.Content,{value:a}))),"number"==typeof l&&c?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars"},(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-wrap"},(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-front",style:{width:100*l/5+"%"}},(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c})))):null)}}}],rS="thumbnail",{name:sS}=nS,aS=window.wp.richText,lS={from:[{type:"block",blocks:["core/quote","core/pullquote"],transform(e){const t=(0,aS.split)((0,aS.create)({html:e.value,multilineTag:"p"}),aS.__UNSTABLE_LINE_SEPARATOR);return(0,um.createBlock)("ghostkit/testimonial",{source:e.citation||""},t.map((e=>(0,um.createBlock)("core/paragraph",{content:(0,aS.toHTMLString)({value:e})}))))}}]},{name:cS}=nS,uS={icon:Cr("block-testimonial",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/testimonial/"},example:{attributes:{photo:1,photoUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e;let{className:r=""}=e;const{icon:s,source:a,photoId:l,photoUrl:c,photoAlt:u,photoWidth:h,photoHeight:d,photoSizeSlug:p,stars:g,starsIcon:f,url:m,ariaLabel:v,target:b,rel:y}=t,{hasChildBlocks:w,editorSettings:k,photoImage:_}=(0,Ze.useSelect)((e=>{const n=e("core/block-editor"),{getMedia:r}=e("core");return{hasChildBlocks:!!n&&n.getBlockOrder(i).length>0,editorSettings:n.getSettings(),photoImage:t.photoId&&o?r(t.photoId):null}})),x=(e,o=!1)=>{o=o||t.photoSizeSlug||rS;const i={photoId:e.id,photoUrl:e.url||e.source_url,photoAlt:e.alt||e.alt_text,photoWidth:e.width||(e.media_details&&e.media_details.width?e.media_details.width:void 0),photoHeight:e.height||(e.media_details&&e.media_details.height?e.media_details.height:void 0),photoSizeSlug:o};let r=e.sizes&&e.sizes[o];!r&&e.media_details&&e.media_details.sizes&&e.media_details.sizes[o]&&(r=e.media_details.sizes[o]),r&&(r.url&&(i.photoUrl=r.url),r.source_url&&(i.photoUrl=r.source_url),r.width&&(i.photoWidth=r.width),r.height&&(i.photoHeight=r.height)),n(i)};r=cs()("ghostkit-testimonial",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const C=(0,ds.useBlockProps)({className:r}),S=(0,ds.useInnerBlocksProps)({},{renderAppender:w?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Photo","ghostkit"),children:[l?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{x(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select Image","ghostkit")})}),l?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{x(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,gs.jsx)(us.BaseControl,{help:(0,bs.__)("Click the image to edit or update","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:c,alt:u,width:h,height:d})})})}),(0,gs.jsx)("div",{style:{marginTop:-20}}),(0,gs.jsx)(us.Button,{isLink:!0,onClick:e=>{n({photoId:"",photoUrl:"",photoAlt:"",photoWidth:"",photoHeight:""}),e.preventDefault()},className:"button button-secondary",children:(0,bs.__)("Remove Image","ghostkit")}),(0,gs.jsx)("div",{style:{marginBottom:13}}),k&&k.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:p||rS,onChange:e=>{x(_,e)},options:k.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:u,onChange:e=>n({photoAlt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0})]}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Stars","ghostkit"),children:[(0,gs.jsx)(rg,{value:g,min:0,max:5,step:.5,beforeIcon:"star-filled",allowReset:!0,onChange:e=>n({stars:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"number"==typeof g?(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:f,onChange:e=>n({starsIcon:e}),insideInspector:!0}):null]})]}),(0,gs.jsx)(Pg,{url:m,rel:y,ariaLabel:v,target:b,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),(0,gs.jsxs)("div",{...C,children:[s?(0,gs.jsx)("div",{className:"ghostkit-testimonial-icon",children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null,(0,gs.jsx)("div",{className:"ghostkit-testimonial-content",children:(0,gs.jsx)("div",{...S})}),(0,gs.jsxs)("div",{className:"ghostkit-testimonial-photo",children:[l?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{x(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,children:(0,gs.jsx)("span",{className:"dashicons dashicons-format-image"})})}),l?(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{x(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:c,alt:u,width:h,height:d})})}):null]}),(0,gs.jsxs)("div",{className:"ghostkit-testimonial-meta",children:[(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-testimonial-name",placeholder:(0,bs.__)("Write name…","ghostkit"),value:t.name,onChange:e=>n({name:e})}),(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-testimonial-source",placeholder:(0,bs.__)("Write source…","ghostkit"),value:a,onChange:e=>n({source:e})})]}),"number"==typeof g&&f?(0,gs.jsx)("div",{className:"ghostkit-testimonial-stars",children:(0,gs.jsxs)("div",{className:"ghostkit-testimonial-stars-wrap",children:[(0,gs.jsxs)("div",{className:"ghostkit-testimonial-stars-front",style:{width:100*g/5+"%"},children:[(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f})]}),(0,gs.jsxs)("div",{className:"ghostkit-testimonial-stars-back",children:[(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f})]})]})}):null]})]})},save:function(e){const{attributes:t}=e,{photoId:n,photoUrl:o,photoAlt:i,photoWidth:r,photoHeight:s,icon:a,source:l,stars:c,starsIcon:u,url:h,ariaLabel:d,target:p,rel:g}=t;let f=cs()("ghostkit-testimonial",h&&"ghostkit-testimonial-with-link");f=(0,os.applyFilters)("ghostkit.blocks.className",f,{name:sS,...e});const m=ds.useBlockProps.save({className:f}),v=ds.useInnerBlocksProps.save({className:"ghostkit-testimonial-content"});return(0,Ke.createElement)("div",{...m},h?(0,Ke.createElement)("a",{className:"ghostkit-testimonial-link",href:h,target:p||null,rel:g||null,"aria-label":d||null},(0,Ke.createElement)("span",null)):null,a?(0,Ke.createElement)(tp.Render,{name:a,tag:"div",className:"ghostkit-testimonial-icon"}):null,(0,Ke.createElement)("div",{...v}),o?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-photo"},(0,Ke.createElement)("img",{src:o,alt:i,className:n?`wp-image-${n}`:null,width:r,height:s})):null,ds.RichText.isEmpty(t.name)&&ds.RichText.isEmpty(l)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-meta"},ds.RichText.isEmpty(t.name)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-name"},(0,Ke.createElement)(ds.RichText.Content,{value:t.name})),ds.RichText.isEmpty(l)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-source"},(0,Ke.createElement)(ds.RichText.Content,{value:l}))),"number"==typeof c&&u?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars"},(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-wrap"},(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-front",style:{width:100*c/5+"%"}},(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u})))):null)},transforms:lS,deprecated:iS},hS=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/twitter","category":"ghostkit","title":"Twitter","description":"Show Twitter feed and user data.","keywords":["twitter"],"supports":{"inserter":false,"html":false,"className":false,"align":["wide","full"]},"attributes":{"consumerKey":{"type":"string"},"consumerSecret":{"type":"string"},"accessToken":{"type":"string"},"accessTokenSecret":{"type":"string"},"userName":{"type":"string","default":"nkdevv"},"count":{"type":"number","default":3},"showReplies":{"type":"boolean","default":false},"showRetweets":{"type":"boolean","default":true},"showFeedAvatar":{"type":"boolean","default":true},"feedAvatarSize":{"type":"number","default":48},"showFeedName":{"type":"boolean","default":true},"showFeedDate":{"type":"boolean","default":true},"feedTextMode":{"type":"string"},"feedTextConvertLinks":{"type":"string","default":"links_media"},"showFeedActions":{"type":"boolean","default":true},"showProfile":{"type":"boolean","default":true},"showProfileAvatar":{"type":"boolean","default":true},"profileAvatarSize":{"type":"number","default":70},"showProfileName":{"type":"boolean","default":true},"showProfileStats":{"type":"boolean","default":true},"showProfileDescription":{"type":"boolean","default":true},"showProfileWebsite":{"type":"boolean","default":true},"showProfileLocation":{"type":"boolean","default":true}}}'),{name:dS}=hS,pS={icon:Cr("block-twitter",!0),ghostkit:{},edit:function e(t){const{setAttributes:n,attributes:o}=t;let{className:i}=t;const{consumerKey:r,consumerSecret:s,accessToken:a,accessTokenSecret:l,userName:c,count:u,showReplies:h,showRetweets:d,showFeedAvatar:p,feedAvatarSize:g,showFeedName:f,showFeedDate:m,feedTextMode:v,feedTextConvertLinks:b,showFeedActions:y,showProfile:w,showProfileAvatar:k,profileAvatarSize:_,showProfileName:x,showProfileStats:C,showProfileDescription:S,showProfileWebsite:E,showProfileLocation:A}=o,{twitterFeed:T,twitterProfile:$}=(0,Ze.useSelect)((e=>{if(!(r&&s&&a&&l&&c))return!1;const t={consumer_key:r,consumer_secret:s,access_token:a,access_token_secret:l,screen_name:c};return{twitterFeed:e("ghostkit/blocks/twitter").getTwitterFeed({count:u,exclude_replies:h?"false":"true",include_rts:d?"true":"false",tweet_mode_extended:"full"===v?"true":"false",...t}),twitterProfile:e("ghostkit/blocks/twitter").getTwitterProfile(t)}}))(e);i=cs()("ghostkit-twitter",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,t);const M=r&&s&&a&&l&&c;return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[M?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Username","ghostkit"),value:c,onChange:e=>n({userName:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Feed","ghostkit"),children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Tweets Number","ghostkit"),value:u,onChange:e=>n({count:e}),min:1,max:20,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Replies","ghostkit"),checked:!!h,onChange:e=>n({showReplies:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Retweets","ghostkit"),checked:!!d,onChange:e=>n({showRetweets:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Avatar","ghostkit"),checked:!!p,onChange:e=>n({showFeedAvatar:e}),__nextHasNoMarginBottom:!0}),p?(0,gs.jsx)(rg,{label:(0,bs.__)("Avatar Size","ghostkit"),value:g,onChange:e=>n({feedAvatarSize:e}),min:10,max:100,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Name","ghostkit"),checked:!!f,onChange:e=>n({showFeedName:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Date","ghostkit"),checked:!!m,onChange:e=>n({showFeedDate:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Actions","ghostkit"),checked:!!y,onChange:e=>n({showFeedActions:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Text Mode","ghostkit"),value:v,options:[{value:"",label:(0,bs.__)("Short","ghostkit")},{value:"full",label:(0,bs.__)("Full","ghostkit")}],onChange:e=>n({feedTextMode:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Convert Text Links","ghostkit"),value:b,options:[{value:"links_media",label:(0,bs.__)("Links + Media","ghostkit")},{value:"links",label:(0,bs.__)("Links","ghostkit")},{value:"no",label:(0,bs.__)("No Convert","ghostkit")}],onChange:e=>n({feedTextConvertLinks:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Profile","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Profile","ghostkit"),checked:!!w,onChange:e=>n({showProfile:e}),__nextHasNoMarginBottom:!0}),w?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Avatar","ghostkit"),checked:!!k,onChange:e=>n({showProfileAvatar:e}),__nextHasNoMarginBottom:!0}),k?(0,gs.jsx)(rg,{label:(0,bs.__)("Avatar Size","ghostkit"),value:_,onChange:e=>n({profileAvatarSize:e}),min:30,max:150,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Name","ghostkit"),checked:!!x,onChange:e=>n({showProfileName:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Stats","ghostkit"),checked:!!C,onChange:e=>n({showProfileStats:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Description","ghostkit"),checked:!!S,onChange:e=>n({showProfileDescription:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Website","ghostkit"),checked:!!E,onChange:e=>n({showProfileWebsite:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Location","ghostkit"),checked:!!A,onChange:e=>n({showProfileLocation:e}),__nextHasNoMarginBottom:!0})]}):null]})]}):null,(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("API Data","ghostkit"),initialOpen:!M,children:[(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Consumer Key","ghostkit"),value:r,onChange:e=>n({consumerKey:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Consumer Secret","ghostkit"),value:s,onChange:e=>n({consumerSecret:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Access Token","ghostkit"),value:a,onChange:e=>n({accessToken:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Access Token Secret","ghostkit"),value:l,onChange:e=>n({accessTokenSecret:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,gs.jsxs)("em",{children:[(0,bs.__)("A valid API data is required to use Twitter feed. How to get it","ghostkit")," ",(0,gs.jsx)(us.ExternalLink,{href:"http://www.gabfirethemes.com/create-twitter-api-key/",children:"http://www.gabfirethemes.com/create-twitter-api-key/"})]})})]})]}),(0,gs.jsxs)("div",{className:i,children:[M&&w&&$?(0,gs.jsxs)("div",{className:"ghostkit-twitter-profile",children:[k&&$.profile_images_https?(0,gs.jsx)("div",{className:"ghostkit-twitter-profile-avatar",children:(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`,children:(0,gs.jsx)("img",{src:$.profile_images_https.original,alt:$.fullName,width:_,height:_})})}):null,(0,gs.jsxs)("div",{className:"ghostkit-twitter-profile-side",children:[x&&$.name?(0,gs.jsxs)("div",{className:"ghostkit-twitter-profile-name",children:[(0,gs.jsxs)("h2",{className:"ghostkit-twitter-profile-fullname",children:[(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`,children:$.name}),$.verified?(0,gs.jsx)("span",{className:"ghostkit-twitter-profile-verified",children:(0,bs.__)("Verified account","ghostkit")}):null]}),(0,gs.jsx)("h3",{className:"ghostkit-twitter-profile-username",children:(0,gs.jsxs)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`,children:["@",$.screen_name]})})]}):null,C?(0,gs.jsxs)("div",{className:"ghostkit-twitter-profile-stats",children:[(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:$.statuses_count_short})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Tweets","ghostkit")})]}),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:$.friends_count_short})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Following","ghostkit")})]}),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:$.followers_count_short})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Followers","ghostkit")})]})]}):null,S&&$.description_entitled?(0,gs.jsx)("div",{className:"ghostkit-twitter-profile-description",dangerouslySetInnerHTML:{__html:$.description_entitled}}):null,E&&$.url_entitled?(0,gs.jsx)("div",{className:"ghostkit-twitter-profile-website",dangerouslySetInnerHTML:{__html:` ${$.url_entitled}`}}):null,A&&$.location?(0,gs.jsx)("div",{className:"ghostkit-twitter-profile-location",dangerouslySetInnerHTML:{__html:` ${$.location}`}}):null]})]}):null,M&&T?(0,gs.jsx)("div",{className:"ghostkit-twitter-items",children:T.map(((e,t)=>{const n=e;let o=!1;e.retweeted_status&&(e=e.retweeted_status,o=!0);const i=`twitter-item-${t}`;return(0,gs.jsxs)("div",{className:"ghostkit-twitter-item",children:[p?(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-avatar",children:[o&&(0,gs.jsx)("br",{}),(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/`,children:(0,gs.jsx)("img",{src:e.user.profile_images_https.bigger,alt:e.user.screen_name,width:g,height:g})})]}):null,(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-content",children:[o?(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-retweeted",children:[(0,gs.jsx)("span",{className:"ghostkit-twitter-item-retweeted-icon",dangerouslySetInnerHTML:{__html:''}}),(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${n.user.screen_name}/`,children:(0,gs.jsx)("strong",{children:n.user.name})}),(0,bs.__)("Retweeted","ghostkit")]}):null,f||m?(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-meta",children:[f?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-meta-name",children:(0,gs.jsxs)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/`,children:[(0,gs.jsx)("strong",{children:e.user.name})," ",e.user.verified?(0,gs.jsx)("span",{className:"ghostkit-twitter-item-meta-name-verified",children:(0,bs.__)("Verified account","ghostkit")}):null," ",(0,gs.jsxs)("span",{children:["@",e.user.screen_name]})]})}):null,m?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-meta-date",children:(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`,children:e.date_formatted})}):null]}):null,"links_media"===b?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text_entitled}}):null,"links"===b?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text_entitled_no_media}}):null,"links_media"!==b&&"links"!==b?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text}}):null,y?(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-actions",children:[(0,gs.jsx)("div",{className:"ghostkit-twitter-item-actions-retweet",children:(0,gs.jsx)("a",{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`,target:"_blank",rel:"noopener noreferrer",dangerouslySetInnerHTML:{__html:''+(e.retweet_count_short?`${e.retweet_count_short}`:"")}})}),(0,gs.jsx)("div",{className:"ghostkit-twitter-item-actions-like",children:(0,gs.jsxs)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`,children:[(0,gs.jsx)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M7.25 5C5.41421 5 3.5 6.66421 3.5 9C3.5 11.7695 5.57359 14.3251 7.86118 16.2727C8.98201 17.2269 10.1066 17.9947 10.9527 18.5245C11.375 18.7889 11.726 18.9928 11.9699 19.1298C11.9801 19.1356 11.9901 19.1412 12 19.1467C12.0098 19.1412 12.0199 19.1356 12.0301 19.1298C12.274 18.9928 12.625 18.7889 13.0473 18.5245C13.8934 17.9947 15.018 17.2269 16.1388 16.2727C18.4264 14.3251 20.5 11.7695 20.5 9C20.5 6.66421 18.5858 5 16.75 5C14.8879 5 13.3816 6.22683 12.7115 8.23717C12.6094 8.54343 12.3228 8.75 12 8.75C11.6772 8.75 11.3906 8.54343 11.2885 8.23717C10.6184 6.22683 9.11212 5 7.25 5ZM12 20C11.6574 20.6672 11.6572 20.6671 11.6569 20.6669L11.6479 20.6623L11.6251 20.6504C11.6057 20.6402 11.5777 20.6254 11.5418 20.6062C11.4699 20.5676 11.3662 20.5112 11.2352 20.4376C10.9732 20.2904 10.6016 20.0744 10.1567 19.7958C9.26844 19.2397 8.08049 18.4294 6.88882 17.4148C4.5514 15.4249 2 12.4805 2 9C2 5.83579 4.58579 3.5 7.25 3.5C9.30732 3.5 10.9728 4.57857 12 6.23441C13.0272 4.57857 14.6927 3.5 16.75 3.5C19.4142 3.5 22 5.83579 22 9C22 12.4805 19.4486 15.4249 17.1112 17.4148C15.9195 18.4294 14.7316 19.2397 13.8433 19.7958C13.3984 20.0744 13.0268 20.2904 12.7648 20.4376C12.6338 20.5112 12.5301 20.5676 12.4582 20.6062C12.4223 20.6254 12.3943 20.6402 12.3749 20.6504L12.3521 20.6623L12.3431 20.6669C12.3428 20.6671 12.3426 20.6672 12 20ZM12 20L12.3426 20.6672C12.1276 20.7776 11.8724 20.7776 11.6574 20.6672L12 20Z",fill:"currentColor"})}),e.favorite_count_short?(0,gs.jsx)("span",{children:e.favorite_count_short}):null]})})]}):null]})]},i)}))}):null,M&&!T?(0,gs.jsx)("div",{className:"ghostkit-twitter-spinner",children:(0,gs.jsx)(us.Spinner,{})}):null,M?null:(0,gs.jsx)(us.Placeholder,{icon:Cr("block-twitter"),label:(0,bs.__)("Twitter","ghostkit"),instructions:(0,bs.__)("A valid API data is required to use Twitter feed. You can fill it in the block settings in Inspector.","ghostkit"),className:i})]})]})},save:function(){return null}},gS=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/video","category":"ghostkit","title":"Video","description":"Plain and Fullscreen YouTube, Vimeo and Self-Hosted videos.","keywords":["video","youtube","vimeo"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"type":{"type":"string","default":"yt_vm_video"},"video":{"type":"string","default":""},"videoPosterPreview":{"type":"string","default":""},"videoMp4":{"type":"string","default":""},"videoMp4Id":{"type":"number"},"videoOgv":{"type":"string","default":""},"videoOgvId":{"type":"number"},"videoWebm":{"type":"string","default":""},"videoWebmId":{"type":"number"},"videoAspectRatio":{"type":"string","default":"16:9"},"videoVolume":{"type":"number","default":100},"videoAutoplay":{"type":"boolean","default":false},"videoAutopause":{"type":"boolean","default":false},"videoLoop":{"type":"boolean","default":false},"videoBackgroundColor":{"type":"string","default":"#010101"},"videoBackgroundGradient":{"type":"string"},"iconPlay":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%204.83167C5%204.0405%205.87525%203.56266%206.54076%203.99049L17.6915%2011.1588C18.3038%2011.5525%2018.3038%2012.4475%2017.6915%2012.8412L6.54076%2020.0095C5.87525%2020.4373%205%2019.9595%205%2019.1683V4.83167Z%22%20fill%3D%22currentColor%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"},"iconLoading":{"type":"string","default":"%3Cspan%20class%3D%22ghostkit-svg-icon%20ghostkit-icon-spinner%22%3E%3C%2Fspan%3E"},"posterId":{"type":"number","default":""},"posterUrl":{"attribute":"src","selector":".ghostkit-video-poster img","source":"attribute","type":"string"},"posterAlt":{"attribute":"alt","selector":".ghostkit-video-poster img","source":"attribute","type":"string","default":""},"posterWidth":{"type":"number"},"posterHeight":{"type":"number"},"posterSizeSlug":{"type":"string"},"clickAction":{"type":"string","default":"plain"},"fullscreenVideoBackgroundColor":{"type":"string"},"fullscreenVideoBackgroundGradient":{"type":"string"},"fullscreenBackgroundColor":{"type":"string"},"fullscreenBackgroundGradient":{"type":"string"},"fullscreenActionCloseIcon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.21967%206.21967C6.51256%205.92678%206.98744%205.92678%207.28033%206.21967L12%2010.9393L16.7197%206.21967C17.0126%205.92678%2017.4874%205.92678%2017.7803%206.21967C18.0732%206.51256%2018.0732%206.98744%2017.7803%207.28033L13.0607%2012L17.7803%2016.7197C18.0732%2017.0126%2018.0732%2017.4874%2017.7803%2017.7803C17.4874%2018.0732%2017.0126%2018.0732%2016.7197%2017.7803L12%2013.0607L7.28033%2017.7803C6.98744%2018.0732%206.51256%2018.0732%206.21967%2017.7803C5.92678%2017.4874%205.92678%2017.0126%206.21967%2016.7197L10.9393%2012L6.21967%207.28033C5.92678%206.98744%205.92678%206.51256%206.21967%206.21967Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"}}}');function fS(e){const{attributes:t,setAttributes:n,clientId:o}=e,{type:i,clickAction:r,videoBackgroundColor:s,videoBackgroundGradient:a,fullscreenVideoBackgroundColor:l,fullscreenVideoBackgroundGradient:c,fullscreenBackgroundColor:u,fullscreenBackgroundGradient:h,className:d}=t,p=(0,ds.__experimentalUseMultipleOriginColorsAndGradients)(),g=p.hasColorsOrGradients,f=lt(d,"is-style-icon-only"),m="video"===i&&"plain"===r&&!f,v="video"===i&&"fullscreen"===r,b="fullscreen"===r;return g&&m||g&&v||g&&"yt_vm_video"===i&&b?(0,Ke.createElement)(ds.InspectorControls,{group:"color"},m&&(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:s,gradientValue:a,label:(0,bs.__)("Video Background","ghostkit"),onColorChange:e=>{n({videoBackgroundColor:e})},onGradientChange:e=>{n({videoBackgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({videoBackgroundColor:void 0,videoBackgroundGradient:void 0})}],panelId:o,...p}),v&&(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:l,gradientValue:c,label:(0,bs.__)("Video Fullscreen Background","ghostkit"),onColorChange:e=>{n({fullscreenVideoBackgroundColor:e})},onGradientChange:e=>{n({fullscreenVideoBackgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({fullscreenVideoBackgroundColor:void 0,fullscreenVideoBackgroundGradient:void 0})}],panelId:o,...p}),b&&(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:u,gradientValue:h,label:(0,bs.__)("Fullscreen Background","ghostkit"),onColorChange:e=>{n({fullscreenBackgroundColor:e})},onGradientChange:e=>{n({fullscreenBackgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({fullscreenBackgroundColor:void 0})}],panelId:o,...p})):null}function mS({nameAttributes:e,setAttributes:t,children:n=(0,bs.__)("Clear Media","ghostkit")}){return(0,Ke.createElement)(us.PanelRow,null,(0,Ke.createElement)(us.Button,{variant:"secondary",size:"small",onClick:n=>{const o={};e.forEach((e=>{o[e]=""})),t(o),n.preventDefault()},className:"is-small",style:{marginLeft:"auto"}},n))}const vS="full";function bS(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{type:i,video:r,videoMp4:s,videoOgv:a,videoWebm:l,videoAspectRatio:c,videoVolume:u,videoAutoplay:h,videoAutopause:d,videoLoop:p,videoBackgroundColor:g,iconPlay:f,iconLoading:m,posterId:v,posterUrl:b,posterAlt:y,posterWidth:w,posterHeight:k,posterSizeSlug:_,clickAction:x,fullscreenBackgroundColor:C,fullscreenActionCloseIcon:S,className:E}=t,{editorSettings:A,posterImage:T}=(0,Ze.useSelect)((e=>{const{getSettings:t}=e("core/block-editor"),{getMedia:n}=e("core");return{editorSettings:t(),posterImage:v&&o?n(v):null}}));function $(e,t=!1){t=t||_||vS;const o={posterId:e.id,posterUrl:e.url||e.source_url,posterAlt:e.alt||e.alt_text,posterWidth:e.width||(e.media_details&&e.media_details.width?e.media_details.width:void 0),posterHeight:e.height||(e.media_details&&e.media_details.height?e.media_details.height:void 0),posterSizeSlug:t};let i=e.sizes&&e.sizes[t];!i&&e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]&&(i=e.media_details.sizes[t]),i&&(i.url&&(o.posterUrl=i.url),i.source_url&&(o.posterUrl=i.source_url),i.width&&(o.posterWidth=i.width),i.height&&(o.posterHeight=i.height)),n(o)}let M="center";lt(E,"ghostkit-video-style-icon-only-align-left")?M="left":lt(E,"ghostkit-video-style-icon-only-align-right")&&(M="right");const R=(e,t)=>{n({[t[0]]:"",[t[1]]:""}),wp.media.attachment(e.id).fetch().then((({url:e,id:o})=>{n({[t[0]]:e,[t[1]]:o})}))};return(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(lg,{value:i,options:[{label:(0,bs.__)("YouTube / Vimeo","ghostkit"),value:"yt_vm_video"},{label:(0,bs.__)("Self Hosted","ghostkit"),value:"video"}],onChange:e=>n({type:e}),isBlock:!0}),"yt_vm_video"===i&&(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Video URL","ghostkit"),type:"url",value:r,onChange:e=>n({video:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"video"===i&&(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Select Video","ghostkit"),label:(0,bs.__)("Select Video","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)("div",{style:{display:"flex",gap:"10px"},children:[!s&&(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{R(e,["videoMp4","videoMp4Id"])},allowedTypes:["video/mp4","video/m4v"],value:s,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("MP4","ghostkit")})}),!a&&(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{R(e,["videoOgv","videoOgvId"])},allowedTypes:["video/ogg","video/ogv"],value:a,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("OGV","ghostkit")})}),!l&&(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{R(e,["videoWebm","videoWebmId"])},allowedTypes:["video/webm"],value:l,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("WEBM","ghostkit")})})]})}),"video"===i&&(s||a||l)?(0,gs.jsxs)(us.BaseControl,{id:(0,bs.__)("Preview","ghostkit"),label:(0,bs.__)("Preview","ghostkit"),__nextHasNoMarginBottom:!0,children:[(0,gs.jsxs)("video",{controls:!0,style:{aspectRatio:"16/9",backgroundColor:g},children:[s?(0,gs.jsx)("source",{src:s,type:"video/mp4"}):null,a?(0,gs.jsx)("source",{src:a,type:"video/ogg"}):null,l?(0,gs.jsx)("source",{src:l,type:"video/webm"}):null]}),(0,gs.jsxs)("span",{children:[s?.substring(s.lastIndexOf("/")+1),a?.substring(a.lastIndexOf("/")+1),l?.substring(l.lastIndexOf("/")+1)]}),(0,gs.jsx)(mS,{nameAttributes:["videoWebm","videoWebmId","videoOgv","videoOgvId","videoMp4","videoMp4Id"],setAttributes:n}),(0,gs.jsx)("div",{style:{marginBottom:"-8px"}})]}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Settings","ghostkit"),children:[(0,gs.jsx)(ng,{attributes:{aspectRatio:c},hasOriginalOption:!1,hasSizeSelectors:!1,onChangeAspectRatio:e=>n({videoAspectRatio:e})}),(0,gs.jsx)(rg,{label:(0,bs.__)("Volume","ghostkit"),value:u,min:0,max:100,onChange:e=>n({videoVolume:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(tp,{label:(0,bs.__)("Play Icon","ghostkit"),value:f,onChange:e=>n({iconPlay:e}),insideInspector:!0}),(0,gs.jsx)(tp,{label:(0,bs.__)("Loading Icon","ghostkit"),value:m,onChange:e=>n({iconLoading:e}),insideInspector:!0}),lt(E,"is-style-icon-only")?(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Icon Align","ghostkit"),label:(0,bs.__)("Icon Align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:M,onChange:e=>{let t=E;t=at(t,"ghostkit-video-style-icon-only-align-right"),t=at(t,"ghostkit-video-style-icon-only-align-left"),"left"!==e&&"right"!==e||(t=st(t,`ghostkit-video-style-icon-only-align-${e}`)),E!==t&&n({className:t})},controls:["left","center","right"],isCollapsed:!1})})}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Click Action","ghostkit"),children:[(0,gs.jsx)(lg,{value:x,options:[{label:(0,bs.__)("Plain","ghostkit"),value:"plain",disabled:lt(E,"is-style-icon-only")},{label:(0,bs.__)("Fullscreen","ghostkit"),value:"fullscreen"}],onChange:e=>n({clickAction:e}),isBlock:!0}),"fullscreen"===x?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"fullscreenBackgroundColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Fullscreen Background","ghostkit"),value:C,onChange:e=>n({fullscreenBackgroundColor:e}),alpha:!0})}),(0,gs.jsx)(tp,{label:(0,bs.__)("Fullscreen Close Icon","ghostkit"),value:S,onChange:e=>n({fullscreenActionCloseIcon:e}),insideInspector:!0})]}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Autoplay","ghostkit"),help:(0,bs.__)("Automatically play video when block reaches the viewport. The video will be play muted due to browser Autoplay policy.","ghostkit"),checked:!!h,onChange:e=>n({videoAutoplay:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Autopause","ghostkit"),help:(0,bs.__)("Automatically pause video when block out of the viewport.","ghostkit"),checked:!!d,onChange:e=>n({videoAutopause:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Loop","ghostkit"),checked:!!p,onChange:e=>n({videoLoop:e}),__nextHasNoMarginBottom:!0})]})]}),lt(E,"is-style-icon-only")?null:(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Poster Image","ghostkit"),children:[v?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{$(e)},allowedTypes:["image"],value:v,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select Image","ghostkit")})}),v?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{$(e)},allowedTypes:["image"],value:v,render:({open:e})=>(0,gs.jsx)(us.BaseControl,{help:(0,bs.__)("Click the image to edit or update","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:b,alt:y,width:w,height:k})})})}),(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:y,onChange:e=>n({posterAlt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0}),A?.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:_||vS,onChange:e=>{$(T,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)("div",{style:{marginTop:"-10px"}}),(0,gs.jsx)(mS,{nameAttributes:["posterId","posterUrl","posterAlt","posterWidth","posterHeight"],setAttributes:n})]}):null]})]})}const yS={};let wS;const{name:kS}=gS;function _S(e){let t="16-9";const{video:n,videoAspectRatio:o}=e;let{className:i}=e;return"21:9"===o?t="21-9":"4:3"===o?t="4-3":"3:2"===o&&(t="3-2"),t&&(i=`wp-embed-aspect-${t} wp-has-aspect-ratio ${i}`),{url:n,className:i}}const xS={from:[{type:"block",blocks:["core-embed/youtube","core-embed/vimeo"],isMatch:e=>e&&e.type&&"video"===e.type,transform(e){let t="16:9";const{url:n,className:o}=e;return o&&/wp-embed-aspect-21-9/.test(o)?t="21:9":o&&/wp-embed-aspect-4-3/.test(o)?t="4:3":o&&/wp-embed-aspect-3-2/.test(o)&&(t="3:2"),(0,um.createBlock)("ghostkit/video",{video:n,videoAspectRatio:t})}},{type:"block",blocks:["core/video"],isMatch:e=>e&&e.id,transform(e){const{id:t,src:n,muted:o}=e,i={type:"video",videoVolume:o?0:100};return/\.ogv$|\.ogg$/.test(n)?(i.videoOgv=n,i.videoOgvId=t):/\.webm$/.test(n)?(i.videoWebm=n,i.videoWebmId=t):(i.videoMp4=n,i.videoMp4Id=t),(0,um.createBlock)("ghostkit/video",i)}}],to:[{type:"block",blocks:["core-embed/youtube"],isMatch:e=>e&&e.type&&"yt_vm_video"===e.type&&e.video&&function(e){const t=e.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/);return!(!t||11!==t[1].length)&&t[1]}(e.video),transform:e=>(0,um.createBlock)("core-embed/youtube",_S(e))},{type:"block",blocks:["core-embed/vimeo"],isMatch:e=>e&&e.type&&"yt_vm_video"===e.type&&e.video&&function(e){const t=e.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!t||!t[3])&&t[3]}(e.video),transform:e=>(0,um.createBlock)("core-embed/vimeo",_S(e))},{type:"block",blocks:["core/video"],isMatch:e=>e&&e.type&&"video"===e.type&&(e.videoMp4Id||e.videoOgvId||e.videoWebmId)&&(e.videoMp4||e.videoOgv||e.videoWebm),transform:e=>(0,um.createBlock)("core/video",{id:e.videoMp4Id||e.videoOgvId||e.videoWebmId,src:e.videoMp4||e.videoOgv||e.videoWebm,muted:0===e.videoVolume})}]},{name:CS}=gS,SS={icon:Cr("block-video",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/video/",customStylesCallback(e){const{videoBackgroundColor:t,videoBackgroundGradient:n}=e;return{video:{"background-color":t||void 0,"background-image":n||void 0}}}},example:{attributes:{poster:1,posterUrl:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"}},styles:[{name:"default",label:(0,bs.__)("Plain","ghostkit"),isDefault:!0},{name:"icon-only",label:(0,bs.__)("Icon Only","ghostkit")}],edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e,{type:r,video:s,videoPosterPreview:a,videoAspectRatio:l,iconPlay:c,posterId:u,posterUrl:h,posterAlt:d,posterWidth:p,posterHeight:g,clickAction:f,className:m}=t;(0,vs.useEffect)((()=>{!u&&"yt_vm_video"===r&&s&&function(e,t){yS[e]?t(yS[e]):void 0!==window.VideoWorker?(clearTimeout(wS),wS=setTimeout((()=>{const n=new window.VideoWorker(e);n.isValid()?n.getImageURL((n=>{yS[e]=n,t(n)})):t("")}),500)):t("")}(s,(e=>{e!==a&&n({videoPosterPreview:e})}))})),(0,vs.useEffect)((()=>{"plain"===f&&m&<(m,"is-style-icon-only")&&n({clickAction:"fullscreen"})}),[f,m]),(0,vs.useEffect)((()=>{if(m&&!lt(m,"is-style-icon-only")){let e=m;e=at(e,"ghostkit-video-style-icon-only-align-right"),e=at(e,"ghostkit-video-style-icon-only-align-left"),m!==e&&n({className:e})}}),[m]);const v=(0,ds.useBlockProps)({className:(0,os.applyFilters)("ghostkit.editor.className","ghostkit-video",e),"data-video-aspect-ratio":l});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(fS,{attributes:t,setAttributes:n,clientId:i}),(0,Ke.createElement)(bS,{attributes:t,setAttributes:n,isSelected:o}),(0,Ke.createElement)("div",{...v},h&&!lt(m,"is-style-icon-only")?(0,Ke.createElement)("div",{className:"ghostkit-video-poster"},(0,Ke.createElement)("img",{src:h,alt:d,width:p,height:g})):null,h||"yt_vm_video"!==r||!a||lt(m,"is-style-icon-only")?null:(0,Ke.createElement)("div",{className:"ghostkit-video-poster"},(0,Ke.createElement)("img",{src:a,alt:""})),c?(0,Ke.createElement)("div",{className:"ghostkit-video-play-icon"},(0,Ke.createElement)(tp.Dropdown,{onChange:e=>n({iconPlay:e}),value:c,renderToggle:({onToggle:e})=>(0,Ke.createElement)(tp.Preview,{onClick:e,name:c})})):null))},save:function(e){const{attributes:t}=e,{type:n,video:o,videoMp4:i,videoOgv:r,videoWebm:s,videoAspectRatio:a,videoVolume:l,videoAutoplay:c,videoAutopause:u,videoLoop:h,iconPlay:d,iconLoading:p,posterId:g,posterUrl:f,posterAlt:m,posterWidth:v,posterHeight:b,clickAction:y,fullscreenActionCloseIcon:w,fullscreenVideoBackgroundColor:k,fullscreenVideoBackgroundGradient:_,fullscreenBackgroundColor:x,fullscreenBackgroundGradient:C,className:S}=t,E={className:"ghostkit-video"};E.className=(0,os.applyFilters)("ghostkit.blocks.className",E.className,{name:kS,...e}),E["data-video-type"]=n,E["data-video"]="","video"===n?(i&&(E["data-video"]+=`mp4:${i}`),r&&(E["data-video"]+=`${E["data-video"].length?",":""}ogv:${r}`),s&&(E["data-video"]+=`${E["data-video"].length?",":""}webm:${s}`)):E["data-video"]=o,E["data-video-aspect-ratio"]=a,E["data-video-volume"]=l,E["data-click-action"]=y,"fullscreen"===y?(E["data-fullscreen-video-background-color"]=k,E["data-fullscreen-video-background-gradient"]=_,E["data-fullscreen-background-color"]=x,E["data-fullscreen-background-gradient"]=C):(c&&(E["data-video-autoplay"]="true"),u&&(E["data-video-autopause"]="true"),h&&(E["data-video-loop"]="true"));const A=ds.useBlockProps.save(E);return(0,Ke.createElement)("div",{...A},f&&!lt(S,"is-style-icon-only")?(0,Ke.createElement)("div",{className:"ghostkit-video-poster"},(0,Ke.createElement)("img",{src:f,alt:m,className:g?`wp-image-${g}`:null,width:v,height:b})):null,d?(0,Ke.createElement)(tp.Render,{name:d,tag:"div",className:"ghostkit-video-play-icon"}):null,p?(0,Ke.createElement)(tp.Render,{name:p,tag:"div",className:"ghostkit-video-loading-icon"}):null,"fullscreen"===y&&w?(0,Ke.createElement)(tp.Render,{name:w,tag:"div",className:"ghostkit-video-fullscreen-close-icon"}):null)},transforms:xS},ES=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/widgetized-area","category":"ghostkit","title":"Widgetized Area","description":"Select registered sidebars and put it in any place.","keywords":["widget","sidebar"],"supports":{"html":false,"className":false,"align":["wide","full"]},"attributes":{"id":{"type":"string"}}}'),{GHOSTKIT:AS}=window,{name:TS}=ES,$S={icon:Cr("block-widgetized-area",!0),ghostkit:{},edit:function(e){const{setAttributes:t,attributes:n}=e;let{className:o}=e;const{id:i}=n;o=cs()("ghostkit-widgetized-area",o);const r=(0,ds.useBlockProps)({className:o});return(0,gs.jsx)("div",{...r,children:(0,gs.jsx)(us.Placeholder,{icon:Cr("block-widgetized-area"),label:(0,bs.__)("Widgetized Area","ghostkit"),children:(0,gs.jsx)(us.SelectControl,{value:i,onChange:e=>t({id:e}),options:(()=>{const e=[{label:(0,bs.__)("--- Select Sidebar ---","ghostkit"),value:""}];return AS.sidebars&&Object.keys(AS.sidebars).forEach((t=>{e.push({label:AS.sidebars[t].name,value:AS.sidebars[t].id})})),e})(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})})},save:function(){return null}};function MS(e){const{children:t,contentRef:n,settings:o}=e,i=(0,ds.useCachedTruthy)((0,aS.useAnchor)({editableContentElement:n.current,settings:o}));return(0,Ke.createElement)(us.Popover,{className:"ghostkit-format-badge-popover ghostkit-component-color-picker__dropdown-content",anchor:i},t)}document.addEventListener("DOMContentLoaded",(()=>{[ke,_e,Ie,Z,J,oe,Ne,Y,xe,Ce,Se,te,ne,q,K,De,Be,He,X,Q,Oe,Le,ze,Pe,Fe,Ee,Ae,je,we,ye,ee,We,be,ie,fe,ae,ce,ve,he,ue,se,me,pe,re,de,le,ge].forEach((({name:e,settings:t})=>{(0,um.registerBlockType)(e,t)}))}));const RS="ghostkit/badge",jS={title:(0,bs.__)("Badge","ghostkit"),tagName:"span",className:"ghostkit-badge",attributes:{style:"style"},edit:function(e){const{isActive:t,value:n,contentRef:o,onChange:i}=e,[r,s]=(0,vs.useState)(!1);function a(e,t){const o={};e&&(o.style=`background: ${e};`),t&&(o.style?o.style+=" ":o.style="",o.style+=`color: ${t};`);const r=e?aS.applyFormat:aS.toggleFormat;i(r(n,{type:RS,attributes:o}))}(0,vs.useEffect)((()=>{!t&&r&&s(!1)}),[t,r]);let l={};return t&&(l=function(){const{attributes:e}=(0,aS.getActiveFormat)(n,RS);return e&&e.style?function(e=""){return e.split(";").reduce(((e,t)=>{if(t){let[n,o]=t.split(":");n&&(n=n.trim()),o&&(o=o.trim()),"color"===n&&(e.color=o),"background"===n&&(e.background=o)}return e}),{})}(e.style):{}}()),(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextToolbarButton,{icon:Cr("icon-badge"),title:(0,bs.__)("Badge","ghostkit"),onClick:()=>{t||a(),s(!r)},isActive:t}),t&&r?(0,Ke.createElement)(MS,{value:n,name:RS,contentRef:o},(0,Ke.createElement)(us.TabPanel,{tabs:[{name:"background",title:"Background"},{name:"text",title:"Text"}],initialTabName:"background"},(e=>"text"===e.name?(0,Ke.createElement)(ps,{label:(0,bs.__)("Text","ghostkit"),value:l?.color||"",onChange:e=>{a(l?.background||"",e)},alpha:!0}):(0,Ke.createElement)(ps,{label:(0,bs.__)("Background","ghostkit"),value:l?.background||"",onChange:e=>{a(e,l?.color||"")},alpha:!0,gradient:!0})))):null)}},OS="ghostkit/mark",LS={title:(0,bs.__)("Highlight","ghostkit"),tagName:"mark",className:"ghostkit-highlight",edit:function(e){const{value:t,onChange:n,isActive:o}=e;function i(){n((0,aS.toggleFormat)(t,{type:OS}))}return o?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextShortcut,{type:"access",character:"m",onUse:()=>i()}),(0,Ke.createElement)(ds.RichTextToolbarButton,{shortcutCharacter:"m",shortcutType:"access",title:(0,bs.__)("Highlight","ghostkit"),icon:Cr("icon-felt-pen"),onClick:()=>i(),isActive:o})):null}};var IS=n(7722);const NS=JSON.parse('["lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit","exercitationem","perferendis","perspiciatis","laborum","eveniet","sunt","iure","nam","nobis","eum","cum","officiis","excepturi","odio","consectetur","quasi","aut","quisquam","vel","eligendi","itaque","non","odit","tempore","quaerat","dignissimos","facilis","neque","nihil","expedita","vitae","vero","ipsum","nisi","animi","cumque","pariatur","velit","modi","natus","iusto","eaque","sequi","illo","sed","ex","et","voluptatibus","tempora","veritatis","ratione","assumenda","incidunt","nostrum","placeat","aliquid","fuga","provident","praesentium","rem","necessitatibus","suscipit","adipisci","quidem","possimus","voluptas","debitis","sint","accusantium","unde","sapiente","voluptate","qui","aspernatur","laudantium","soluta","amet","quo","aliquam","saepe","culpa","libero","ipsa","dicta","reiciendis","nesciunt","doloribus","autem","impedit","minima","maiores","repudiandae","ipsam","obcaecati","ullam","enim","totam","delectus","ducimus","quis","voluptates","dolores","molestiae","harum","dolorem","quia","voluptatem","molestias","magni","distinctio","omnis","illum","dolorum","voluptatum","ea","quas","quam","corporis","quae","blanditiis","atque","deserunt","laboriosam","earum","consequuntur","hic","cupiditate","quibusdam","accusamus","ut","rerum","error","minus","eius","ab","ad","nemo","fugit","officia","at","in","id","quos","reprehenderit","numquam","iste","fugiat","sit","inventore","beatae","repellendus","magnam","recusandae","quod","explicabo","doloremque","aperiam","consequatur","asperiores","commodi","optio","dolor","labore","temporibus","repellat","veniam","architecto","est","esse","mollitia","nulla","a","similique","eos","alias","dolore","tenetur","deleniti","porro","facere","maxime","corrupti"]');function PS(e,t){return Math.floor(Math.random()*(t-e)+e)}const DS="ghostkit/lorem-ipsum",BS={title:(0,bs.__)("Lorem Ipsum","ghostkit"),tagName:"span",className:"ghostkit-lorem-ipsum",__unstableInputRule(e){const{start:t,text:n}=e,o=n[t-1];if(t<7)return e;if(" "!==o)return e;const i=n.lastIndexOf("lorem",t),r=t,s=r-i;if(-1===i)return e;if(s<7||s>9)return e;const a=n.substring(i,r).match(/^lorem(\d+) $/);if(!a||!a[1])return e;const l=parseInt(a[1],10),c=function({count:e,startWithUppercase:t=!1,endWithComma:n=!1}){let o=new IS.E5({words:NS}).generateWords(e);const i=function(e){if(e.length<2)return e;const t=(e=e.slice()).length,n=/,$/;let o=0;o=t>3&&t<=6?PS(0,1):t>6&&t<=12?PS(0,2):PS(1,4);for(let i,r=0;r5});return(0,aS.insert)(e,c,i,r)},edit:null},zS="ghostkit/uppercase",FS={title:(0,bs.__)("Uppercase","ghostkit"),tagName:"span",className:"ghostkit-text-uppercase",edit:function(e){const{value:t,onChange:n,isActive:o}=e;function i(){n((0,aS.toggleFormat)(t,{type:zS}))}return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextShortcut,{type:"access",character:"u",onUse:()=>i()}),(0,Ke.createElement)(ds.RichTextToolbarButton,{shortcutCharacter:"u",shortcutType:"access",title:(0,bs.__)("Uppercase","ghostkit"),icon:Cr("icon-text-uppercase"),onClick:()=>i(),isActive:o}))}};function HS(e){if("object"==typeof e){const t=(0,Xr.cloneDeep)(e),n={};return Object.keys(t).forEach((e=>{n[tt(e)]=HS(t[e])})),n}return e}function WS(e){const{attributes:t}=e,{ghostkitId:n,ghostkitClassname:o,ghostkitStyles:i,ghostkitCustomCSS:r,ghostkitPosition:s,ghostkitSpacings:a,ghostkitFrame:l}=t,c={};if(n||o||i||r||s||a||l){c.ghostkitId=void 0,c.ghostkitClassname=void 0,c.ghostkitStyles=void 0,c.ghostkitCustomCSS=void 0,c.ghostkitPosition=void 0,c.ghostkitSpacings=void 0,c.ghostkitFrame=void 0;const e=(0,Xr.cloneDeep)(t?.ghostkit||{});n&&!e?.id&&(e.id=n),r&&!e?.styles?.custom&&(void 0===e?.styles&&(e.styles={}),e.styles.custom=r),i&&Object.keys(i).length&&(void 0===e?.styles&&(e.styles={}),Object.keys(i).forEach((t=>{e.styles=(0,Xr.merge)(e.styles,i[t])}))),e.styles&&(e.styles=HS(e.styles)),c.ghostkit=e}return c}function VS(e){const{setAttributes:t}=e;return(0,vs.useEffect)((()=>{setTimeout((()=>{let n={};const o=function(e){const{name:t,attributes:n}=e,{ghostkitSR:o}=n,i={};if(((0,um.hasBlockSupport)(t,["ghostkit","effects","reveal"])||!0===(0,um.getBlockSupport)(t,["ghostkit","effects"]))&&o){const e={effect:"",direction:"",distance:50,scale:.9,duration:900,delay:0},t=o.split(";");let r=t[0];if(r){let n=r.split("-");2===n.length?(r=n[0],n=n[1]):n="",e.effect=r,e.direction=n,t.length>1&&t.forEach((t=>{const n=t.split(":");if(2===n.length){const t=n[0],o=n[1];e[t]=o}})),e.distance=parseFloat(e.distance),e.scale=parseFloat(e.scale),e.duration=parseFloat(e.duration),e.delay=parseFloat(e.delay)}const s={...n?.ghostkit||{}};if(!s?.effects?.reveal){const e=function(e){let t=(e=e.split(";"))[0],n=50,o=1,i=t.split("-");if(2===i.length)switch(t=i[0],i=i[1],i){case"up":i="bottom";break;case"down":i="top";break;case"right":i="right";break;case"left":i="left"}else i="center",n=0;"zoom"===t&&(o=.9);const r={distance:n,x:0,y:0,opacity:0,scale:o,duration:900,delay:0,easing:[.5,0,0,1]};if(e.length>1&&e.forEach((e=>{const t=e.split(":");2===t.length&&(r[t[0]]=t[1])})),r.distance&&i)switch(i){case"bottom":r.y=parseFloat(r.distance);break;case"top":r.y=-parseFloat(r.distance);break;case"right":r.x=parseFloat(r.distance);break;case"left":r.x=-parseFloat(r.distance)}return delete r.distance,r.scale=parseFloat(r.scale),r.duration=parseFloat(r.duration)/1e3,r.delay=parseFloat(r.delay)/1e3,r}(o),t={x:e.x,y:e.y,opacity:e.opacity,scale:e.scale,transition:{type:"easing",duration:e.duration,delay:e.delay,easing:e.easing}};s?.effects||(s.effects={}),s.effects.reveal=t,i.ghostkit=s}i.ghostkitSR=void 0}return i}(e),i=WS(e);o&&(n=(0,Xr.merge)(n,o)),i&&(n=(0,Xr.merge)(n,i)),Object.keys(n).length&&t(n)}),0)}),[]),null}[qe,Ve,Ge,Ue].forEach((({name:e,settings:t})=>{(0,aS.registerFormatType)(e,t)})),(0,os.addFilter)("blocks.getSaveContent.extraProps","ghostkit/sr/save-props",(function(e,t,n){return n.ghostkitSR&&(e["data-ghostkit-sr"]=n.ghostkitSR),e}));const US=(0,ug.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(VS,{...t}))}),"withInspectorControl");(0,os.addFilter)("editor.BlockEdit","ghostkit/deprecated/extensions",US),(0,os.addFilter)("blocks.registerBlockType","ghostkit/deprecated/extensions/additional-attributes",(function(e){return e.attributes.ghostkitId||(e.attributes.ghostkitId={type:"string"}),e.attributes.ghostkitClassname||(e.attributes.ghostkitClassname={type:"string"}),e.attributes.ghostkitStyles||(e.attributes.ghostkitStyles={type:"object"}),e.attributes.ghostkitSR||(e.attributes.ghostkitSR={type:"string"}),e.attributes.ghostkitCustomCSS||(e.attributes.ghostkitCustomCSS={type:"string"}),e.attributes.ghostkitPosition||(e.attributes.ghostkitPosition={type:"object"}),e.attributes.ghostkitSpacings||(e.attributes.ghostkitSpacings={type:"object"}),e.attributes.ghostkitFrame||(e.attributes.ghostkitFrame={type:"object"}),e}));const{pro:GS}=window.GHOSTKIT,{version:qS}=window.ghostkitVariables;function KS(){return(0,Ke.createElement)($C,{title:(0,bs.__)("Attributes","ghostkit")},(0,Ke.createElement)("p",null,(0,bs.__)("Adding custom attributes to block available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/attributes/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_attributes&utm_content=${qS}`},(0,bs.__)("Read More","ghostkit")))}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/attributes/inspector",(function(e,{props:t}){const{name:n}=t;return(0,um.hasBlockSupport)(n,["ghostkit","attributes"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"advanced"},(0,Ke.createElement)(is,{name:"ghostkit.extension.attributes.controls",props:t}))):e})),(0,os.addFilter)("ghostkit.extension.attributes.controls","ghostkit/extension/attributes/controls",((e,{props:t})=>GS?e:(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(KS,{...t}))));var YS=n(4982),ZS=n.n(YS),JS=n(4217);const XS=["border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","border-radius","bottom","top","left","right","font-size","height","width","min-height","min-width","max-height","max-width","margin-left","margin-right","margin-top","margin-bottom","margin","padding-left","padding-right","padding-top","padding-bottom","padding","outline-width"];function QS(e={},t="",n=!0){const o={};let i="";return Object.keys(e).forEach((r=>{if(null!==e[r]&&"object"==typeof e[r])if(/^media_/.test(r))i+=`${i?" ":""}@media #{ghostkitvar:${r}} { ${QS(e[r],t,n)} }`;else if(/^@supports/.test(r))i+=`${i?" ":""}${r} { ${QS(e[r],t,n)} }`;else{let o=t;o=o?-1!==r.indexOf("&")?r.replace(/&/g,o):`${o} ${r}`:r,i+=(i?" ":"")+QS(e[r],o,n)}else if(void 0!==e[r]&&!1!==e[r]){n&&(t=(t=t.replace(/>/g,">")).replace(/{i="custom"===e?`${o[e]}${i?` ${i}`:""}`:`${e} {${o[e]} }${i?` ${i}`:""}`})),i}function eE(e){const t={};return Object.keys(e).forEach((n=>{if(void 0!==e[n])if("object"!=typeof e[n]||Array.isArray(e[n])||null===e[n])t[n]=e[n];else{const o=eE(e[n]);o&&Object.keys(o).length&&(t[n]=o)}})),t}function tE(e=!1){let t=[];return e?(e.forEach((e=>{t.push(e),e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...tE(e.innerBlocks)])})),t):t}function nE(e){const{setAttributes:t,attributes:n,clientId:o,name:i}=e,{ghostkit:r,className:s}=n,a=(0,um.getBlockSupport)(i,["ghostkit","styles","customSelector"]),{allBlocks:l,blockSettings:c}=(0,Ze.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor");return{allBlocks:t(),blockSettings:(0,um.getBlockType)(i)}}),[i]),u=(0,vs.useCallback)((e=>{let t=r?.id;if(!t||e){const n={};if(e&&tE(l).forEach((e=>{e.clientId&&e?.attributes?.ghostkit?.id&&(n[e.attributes.ghostkit.id]=e.clientId,e.clientId!==o&&e.attributes.ghostkit.id===t&&(t=""))})),o&&!t){let e=t||"",i=10;for(;!e||void 0!==n[e]&&n[e]!==o&&i>0;)e=JS.unique(o),i-=1;e&&void 0===n[e]&&(n[e]=o),e!==t&&(t=e)}}return t||!1}),[r,l,o]),h=(0,vs.useCallback)((o=>{const i={},a=(0,os.applyFilters)("ghostkit.blocks.customStyles",c.ghostkit&&c.ghostkit.customStylesCallback?c.ghostkit.customStylesCallback(n,e):{},e),l=a&&Object.keys(a).length,h=r?.styles&&Object.keys(r.styles).length;let d=!l&&!h;if(l||h){let e=(0,Xr.cloneDeep)(r?.styles||{});l&&(e=Pr(e,pt(a))),e&&(e=eE(e));const t=Object.keys(e).length&&u(o);if(t){if(t!==r?.id&&(i.ghostkit||(i.ghostkit=(0,Xr.cloneDeep)(r||{})),i.ghostkit.id=t),!lt(s,`ghostkit-custom-${t}`)){const e=rt(s,"ghostkit-custom",t);e!==s&&(i.className=e)}ZS()(r?.styles,e)||(i.ghostkit||(i.ghostkit=(0,Xr.cloneDeep)(r||{})),i.ghostkit.styles=e)}else d=!0}if(d){const e=rt(s,"ghostkit-custom","");e!==s&&(i.className=e||void 0),(r?.styles||r?.id)&&(i.ghostkit||(i.ghostkit=(0,Xr.cloneDeep)(r||{})),i?.ghostkit?.styles&&delete i.ghostkit.styles,i?.ghostkit?.id&&delete i.ghostkit.id),i?.ghostkit&&!Object.keys(i.ghostkit).length&&(i.ghostkit=void 0)}Object.keys(i).length&&t(i)}),[c,n,r,e,s,t]),d=Ev(60,h),p=(0,vs.useRef)(!1);(0,vs.useEffect)((()=>{p.current?d():(p.current=!0,h(!0))}),[n]);let g="";if(r?.id){if(r?.styles&&Object.keys(r?.styles).length){let e=`.ghostkit-custom-${r?.id}`;a&&(e=a.replace("&",e)),g+=(g?" ":"")+QS(gt({[e]:r?.styles}),"",!1)}g&&c&&c.ghostkit&&c.ghostkit.customStylesFilter&&(g=c.ghostkit.customStylesFilter(g,gt(n?.ghostkit?.styles),!0,n))}return g=(0,os.applyFilters)("ghostkit.editor.customStylesOutput",g,e),g?(0,Ke.createElement)(xs,{styles:window.GHOSTKIT.replaceVars(g)}):null}const oE=(0,ug.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(nE,{...t}))}),"withNewAttrs");(0,os.addFilter)("editor.BlockEdit","ghostkit/styles/additional-attributes",oE);const iE={x:0,y:0,opacity:1,scale:1,rotate:0,transition:{type:"spring",...kg}},rE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,sE=us.__stableNumberControl||us.__experimentalNumberControl,aE=us.__stableGrid||us.__experimentalGrid,{version:lE}=window.ghostkitVariables;function cE(e){const{attributes:t,setAttributes:n,clientId:o}=e,i=t?.ghostkit?.effects?.reveal;function r(e,n){return void 0===t?.ghostkit?.effects?.reveal?.[e]?n:t.ghostkit.effects.reveal[e]}function s(e,o=!1){const i=(0,Xr.cloneDeep)(t?.ghostkit||{});void 0===i?.effects&&(i.effects={}),(o||void 0===i?.effects?.reveal)&&(i.effects.reveal?.transition?i.effects.reveal={transition:i.effects.reveal.transition}:i.effects.reveal={}),Object.keys(e).forEach((t=>{i.effects.reveal[t]=e[t]})),n({ghostkit:i})}return(0,Ke.createElement)(rE,{label:(0,bs.__)("Reveal","ghostkit"),hasValue:()=>!!i,onSelect:()=>{if(void 0===t?.ghostkit?.effects?.reveal){const e=(0,Xr.cloneDeep)(t?.ghostkit||{});e.effects={...e.effects,reveal:{opacity:0}},n({ghostkit:e})}},onDeselect:()=>{if(void 0!==t?.ghostkit?.effects?.reveal){const e=(0,Xr.cloneDeep)(t?.ghostkit||{});delete e?.effects?.reveal,n({ghostkit:e})}},isShownByDefault:!1},(0,Ke.createElement)(ks,{label:(0,bs.__)("Reveal","ghostkit"),contentClassName:"ghostkit-component-effects-reveal"},(0,Ke.createElement)(xs,{styles:`\n [data-block="${o}"] {\n transform: translateX(${r("x",iE.x)}px) translateY(${r("y",iE.y)}px) scale(${r("scale",iE.scale)}) rotate(${r("rotate",iE.rotate)}deg);\n opacity: ${Math.max(.1,r("opacity",iE.opacity))};\n }\n `}),(0,Ke.createElement)(wg,{value:i,onChange:e=>{s(e,!0)}}),(0,Ke.createElement)(aE,{columns:2},(0,Ke.createElement)(sE,{label:(0,bs.__)("X","ghostkit"),value:r("x"),placeholder:iE.x,onChange:e=>{s({x:""===e?void 0:parseFloat(e)})},suffix:"px ",style:{flex:1}}),(0,Ke.createElement)(sE,{label:(0,bs.__)("Y","ghostkit"),value:r("y"),placeholder:iE.y,onChange:e=>s({y:""===e?void 0:parseFloat(e)}),suffix:"px ",style:{flex:1}})),(0,Ke.createElement)(aE,{columns:3},(0,Ke.createElement)(sE,{label:(0,bs.__)("Opacity","ghostkit"),value:r("opacity"),placeholder:iE.opacity,onChange:e=>s({opacity:""===e?void 0:parseFloat(e)}),min:0,max:1,step:.01,style:{flex:1}}),(0,Ke.createElement)(sE,{label:(0,bs.__)("Scale","ghostkit"),value:r("scale"),placeholder:iE.scale,onChange:e=>s({scale:""===e?void 0:parseFloat(e)}),min:0,max:10,step:.01,style:{flex:1}}),(0,Ke.createElement)(sE,{label:(0,bs.__)("Rotate","ghostkit"),value:r("rotate"),placeholder:iE.rotate,onChange:e=>s({rotate:""===e?void 0:parseFloat(e)}),suffix:"deg ",style:{flex:1}})),(0,Ke.createElement)(Tg,{label:(0,bs.__)("Transition","ghostkit"),value:r("transition",iE.transition),onChange:e=>s({transition:e})}),(0,Ke.createElement)($C,{title:(0,bs.__)("Pro Settings","ghostkit"),collapsed:!0},(0,Ke.createElement)("p",null,(0,bs.__)("Advanced reveal settings are available in the Ghost Kit Pro plugin only:","ghostkit")),(0,Ke.createElement)("ul",null,(0,Ke.createElement)("li",null,(0,bs.__)("3D Rotation","ghostkit")),(0,Ke.createElement)("li",null,(0,bs.__)("Custom Viewport","ghostkit")),(0,Ke.createElement)("li",null,(0,bs.__)("Replay Animation","ghostkit"))),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/effects/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_effects&utm_content=${lE}`},(0,bs.__)("Read More","ghostkit")))))}(0,os.addFilter)("ghostkit.extension.effects.tools","ghostkit/extension/effects/reveal",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","effects","reveal"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(cE,{...t})):e));const uE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:hE}=window.GHOSTKIT,{version:dE}=window.ghostkitVariables,pE={mouseHover:{label:(0,bs.__)("Mouse Hover","ghostkit")},mousePress:{label:(0,bs.__)("Mouse Press","ghostkit")},mouseMove:{label:(0,bs.__)("Mouse Move","ghostkit")},scroll:{label:(0,bs.__)("Scroll","ghostkit")},loop:{label:(0,bs.__)("Loop","ghostkit")}};function gE(){const[e,t]=(0,vs.useState)(!1);return(0,Ke.createElement)(Ke.Fragment,null,e&&(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)($C,{title:(0,bs.__)("Advanced Effects","ghostkit")},(0,Ke.createElement)("p",null,(0,bs.__)("Advanced effects are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/effects/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_effects&utm_content=${dE}`},(0,bs.__)("Read More","ghostkit")))),Object.keys(pE).map((e=>(0,Ke.createElement)(uE,{key:e,label:pE[e].label,hasValue:()=>!1,onDeselect:()=>{},onSelect:()=>{t(!0)},isShownByDefault:!1}))))}(0,os.addFilter)("ghostkit.extension.effects.tools","ghostkit/extension/effects/pro",((e,{props:t})=>hE?e:Object.keys(pE).some((e=>(0,um.hasBlockSupport)(t.name,["ghostkit","effects",e])))||!0===(0,um.getBlockSupport)(t.name,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(gE,{...t})):e));const fE=us.__stableToolsPanel||us.__experimentalToolsPanel;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/effects/inspector",(function(e,{props:t}){const{name:n,attributes:o,setAttributes:i}=t;return(0,um.hasBlockSupport)(n,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(fE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-sr")),(0,Ke.createElement)("span",null,(0,bs.__)("Effects","ghostkit"))),resetAll:()=>{const e={...o?.ghostkit||{}};void 0!==e?.effects&&(delete e?.effects,i({ghostkit:e}))}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-effects"},(0,Ke.createElement)(is,{name:"ghostkit.extension.effects.tools",props:t}))))):e}),11),(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/effects/toolbar",(function(e,{props:t}){const{name:n,attributes:o,setAttributes:i}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","effects"]))return e;const r=o?.ghostkit?.effects;return r?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.BlockControls,{group:"other"},(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:Cr("extension-sr"),label:(0,bs.__)("Effects","ghostkit"),menuProps:{style:{width:"260px"}},popoverProps:{focusOnMount:!1}},(()=>(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.MenuGroup,null,(0,bs.__)('There are effects added to the current block. To change these options open the "Effects" block settings panel.',"ghostkit")),(0,Ke.createElement)(us.MenuGroup,null,(0,bs.__)("Reset all effects of the current block:","ghostkit"),(0,Ke.createElement)(us.Button,{variant:"link",onClick:()=>{const e={...o?.ghostkit||{}};void 0!==e?.effects&&(delete e?.effects,i({ghostkit:e}))}},(0,bs.__)("Reset All","ghostkit")))))))):e}));const mE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function vE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("position",e)})),(0,gs.jsxs)(mE,{label:(0,bs.__)("Position","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("position")||o({position:"default"})},onDeselect:()=>{i(["position"],!0)},isShownByDefault:!1,children:[["absolute","fixed"].includes(t("position",r))?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ig,{status:"info",isDismissible:!1,children:(0,bs.__)("Please note! Custom positioning is not considered best practice for responsive web design and should not be used too frequently.","ghostkit")}),(0,gs.jsx)("br",{})]}):null,(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Position","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("position",e)})]}),value:t("position",r),onChange:e=>{o({position:e||void 0},r)},options:[{value:"",label:(0,bs.__)("Default","ghostkit")},{value:"absolute",label:(0,bs.__)("Absolute","ghostkit")},{value:"fixed",label:(0,bs.__)("Fixed","ghostkit")},{value:"relative",label:(0,bs.__)("Relative","ghostkit")},{value:"sticky",label:(0,bs.__)("Sticky","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/position",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","position"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(vE,{...t})]}):e));const bE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,yE=[{name:"top",label:(0,bs.__)("Top","ghostkit")},{name:"right",label:(0,bs.__)("Right","ghostkit")},{name:"bottom",label:(0,bs.__)("Bottom","ghostkit")},{name:"left",label:(0,bs.__)("left","ghostkit")}];function wE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{yE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(bE,{label:(0,bs.__)("Distance","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(yE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Distance","ghostkit"),inputs:yE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:6}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/distance",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","distance"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(wE,{...t})):e));const kE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,_E=us.__stableUnitControl||us.__experimentalUnitControl;function xE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("width",e)})),(0,gs.jsx)(kE,{label:(0,bs.__)("Width","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{i(["width"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(_E,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Width","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("width",e)})]}),value:t("width",r),onChange:e=>{o({width:e},r)},labelPosition:"edge",units:[{value:"px",label:"px"},{value:"%",label:"%"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"vw",label:"vw"},{value:"vh",label:"vh"}],min:0,__unstableInputWidth:"70px",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/width",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","width"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(xE,{...t})]}):e));const CE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,SE=us.__stableUnitControl||us.__experimentalUnitControl;function EE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("height",e)})),(0,gs.jsx)(CE,{label:(0,bs.__)("Height","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{i(["height"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(SE,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Height","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("height",e)})]}),value:t("height",r),onChange:e=>{o({height:e},r)},labelPosition:"edge",units:[{value:"px",label:"px"},{value:"%",label:"%"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"vw",label:"vw"},{value:"vh",label:"vh"}],min:0,__unstableInputWidth:"70px",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/height",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","height"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(EE,{...t})]}):e));const AE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,TE=[{name:"min-width",label:(0,bs.__)("Min","ghostkit")},{name:"max-width",label:(0,bs.__)("Max","ghostkit")}];function $E(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{TE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(AE,{label:(0,bs.__)("Min Max Width","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(TE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Min Max Width","ghostkit"),inputs:TE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:17}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/min-max-width",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","minMaxWidth"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)($E,{...t})):e));const ME=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,RE=[{name:"min-height",label:(0,bs.__)("Min","ghostkit")},{name:"max-height",label:(0,bs.__)("Max","ghostkit")}];function jE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{RE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(ME,{label:(0,bs.__)("Min Max Height","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(RE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Min Max Height","ghostkit"),inputs:RE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:17}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/min-max-height",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","minMaxHeight"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(jE,{...t})):e));const OE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,LE=us.__stableNumberControl||us.__experimentalNumberControl;function IE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("z-index",e)})),(0,Ke.createElement)(OE,{label:(0,bs.__)("zIndex","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{i(["z-index"],!0)},isShownByDefault:!1},(0,Ke.createElement)(LE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,bs.__)("zIndex","ghostkit"),(0,Ke.createElement)(Jp,{checkActive:e=>n("z-index",e)})),value:t("z-index",r),onChange:e=>{o({"z-index":e},r)},labelPosition:"edge",__unstableInputWidth:"70px"}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/zIndex",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","zIndex"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(IE,{...t})):e));const NE={effects:{label:(0,bs.__)("Effects","ghostkit"),attributes:["effects"]},position:{label:(0,bs.__)("Position","ghostkit"),styles:["position","top","right","bottom","left","width","height","min-width","min-height","max-width","max-height","z-index"],responsive:!0,selectors:[""]},spacings:{label:(0,bs.__)("Spacings","ghostkit"),styles:["padding-top","padding-right","padding-bottom","padding-left","margin-top","margin-right","margin-bottom","margin-left"],responsive:!0,selectors:[""]},frame:{label:(0,bs.__)("Frame","ghostkit"),styles:["border-style","border-width","border-color","border-top-left-radius","border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius","box-shadow"],responsive:!0,selectors:["","&:hover"]},transform:{label:(0,bs.__)("Transform","ghostkit"),styles:["--gkt-transform-perspective","--gkt-transform-x","--gkt-transform-y","--gkt-transform-scale","--gkt-transform-rotate","--gkt-transform-rotate-x","--gkt-transform-rotate-y","--gkt-transform-rotate-z","--gkt-transform-skew-x","--gkt-transform-skew-y","--gkt-transform-origin"],responsive:!0,selectors:["","&:hover"]},customCSS:{label:(0,bs.__)("Custom CSS","ghostkit"),styles:["opacity","overflow-x","overflow-y","cursor","user-select","clip-path","custom","transition-property","transition-duration","transition-delay","transition-timing-function"],responsive:!0,selectors:[""]}},PE=us.__stableToolsPanel||us.__experimentalToolsPanel,DE=NE.position.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/position/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","position"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(PE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-position")),(0,Ke.createElement)("span",null,(0,bs.__)("Position","ghostkit"))),resetAll:()=>{o(DE,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-position"},(0,Ke.createElement)(is,{name:"ghostkit.extension.position.tools",props:t})))))}),12);const BE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,zE=[{name:"padding-top",label:(0,bs.__)("Top","ghostkit")},{name:"padding-right",label:(0,bs.__)("Right","ghostkit")},{name:"padding-bottom",label:(0,bs.__)("Bottom","ghostkit")},{name:"padding-left",label:(0,bs.__)("left","ghostkit")}];function FE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{zE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(BE,{label:(0,bs.__)("Padding","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(zE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Padding","ghostkit"),inputs:zE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:6}))}(0,os.addFilter)("ghostkit.extension.spacings.tools","ghostkit/extension/spacings/tools/padding",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","spacings","padding"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","spacings"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(FE,{...t})):e));const HE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,WE=[{name:"margin-top",label:(0,bs.__)("Top","ghostkit")},{name:"margin-right",label:(0,bs.__)("Right","ghostkit")},{name:"margin-bottom",label:(0,bs.__)("Bottom","ghostkit")},{name:"margin-left",label:(0,bs.__)("left","ghostkit")}];function VE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{WE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(HE,{label:(0,bs.__)("Margin","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(WE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Margin","ghostkit"),inputs:WE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:6}))}(0,os.addFilter)("ghostkit.extension.spacings.tools","ghostkit/extension/spacings/tools/margin",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","spacings","margin"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","spacings"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(VE,{...t})):e));const UE=us.__stableToolsPanel||us.__experimentalToolsPanel,GE=NE.spacings.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/spacings/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","spacings"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(UE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-spacings")),(0,Ke.createElement)("span",null,(0,bs.__)("Spacings","ghostkit"))),resetAll:()=>{o(GE,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-spacings"},(0,Ke.createElement)(is,{name:"ghostkit.extension.spacings.tools",props:t})))))}),13);const qE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,KE="&:hover",YE=["border-style","border-width","border-color"],ZE=[{value:"solid",label:(0,gs.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M5 11.25H19V12.75H5V11.25Z",fill:"currentColor"})})},{value:"dashed",label:(0,gs.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11.25H8V12.75H5V11.25ZM10.5 11.25H13.5V12.75H10.5V11.25ZM19 11.25H16V12.75H19V11.25Z",fill:"currentColor"})})},{value:"dotted",label:(0,gs.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 11.25H6.75V12.75H5.25V11.25ZM8.25 11.25H9.75V12.75H8.25V11.25ZM12.75 11.25H11.25V12.75H12.75V11.25ZM14.25 11.25H15.75V12.75H14.25V11.25ZM18.75 11.25H17.25V12.75H18.75V11.25Z",fill:"currentColor"})})},{value:"double",label:(0,gs.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,gs.jsx)("path",{d:"M5 9.25H19V10.75H5V9.25Z",fill:"currentColor"}),(0,gs.jsx)("path",{d:"M5 13H19V14.5H5V13Z",fill:"currentColor"})]})}];function JE(e){const[t,n]=(0,vs.useState)(!1),{getStyle:o,hasStyle:i,setStyles:r,resetStyles:s}=Qr(e),{device:a,allDevices:l}=Jr();let c=!1;["",...Object.keys(l)].forEach((e=>{YE.forEach((t=>{c=c||i(t,e)||i(t,e,KE)}))}));const u=o("border-style",a,t&&KE),h=(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Border","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>i("border-style",e,t&&KE)}),(0,gs.jsx)(Cs,{isHover:t,onChange:()=>{n(!t)},checkActive:()=>i("border-style",a,KE)})]});return(0,gs.jsx)(qE,{label:(0,bs.__)("Border","ghostkit"),hasValue:()=>!!c,onSelect:()=>{r({"border-style":"solid","border-width":"1px","border-color":"#000"})},onDeselect:()=>{s(YE,!0,["","&:hover"])},isShownByDefault:!1,children:(0,gs.jsx)(us.BaseControl,{id:h,label:h,__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)("div",{className:"ghostkit-control-border-row",children:[(0,gs.jsx)(fs,{value:gt(o("border-color",a,t&&KE)),onChange:e=>r({"border-color":e},a,t&&KE),alpha:!0}),(0,gs.jsx)(lg,{value:u,options:ZE,onChange:e=>{r({"border-style":"none"===e?"":e},a,t&&KE)},isBlock:!0}),(0,gs.jsx)(Zp,{value:o("border-width",a,t&&KE),placeholder:(0,bs.__)("Width","ghostkit"),onChange:e=>r({"border-width":e},a,t&&KE),autoComplete:"off"})]})})})}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/border",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","frame","border"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","frame"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(JE,{...t})]}):e));const XE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,QE="&:hover",eA=[{name:"border-top-left-radius",label:(0,bs.__)("TL","ghostkit")},{name:"border-top-right-radius",label:(0,bs.__)("TR","ghostkit")},{name:"border-bottom-right-radius",label:(0,bs.__)("BR","ghostkit")},{name:"border-bottom-left-radius",label:(0,bs.__)("BL","ghostkit")}];function tA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{eA.forEach((t=>{s=s||n(t.name,e)||n(t.name,e,QE)}))})),(0,Ke.createElement)(XE,{label:(0,bs.__)("Border Radius","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(eA.map((e=>e.name)),!0,["","&:hover"])},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Border Radius","ghostkit"),inputs:eA,hasValue:(e,t,o)=>n(e,t,o&&QE),getValue:(e,n,o)=>t(e,n,o&&QE),onChange:(e,t,n,i)=>o({[e]:t},n,i&&QE),expandOnFocus:6,withResponsive:!0,withState:!0}))}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/borderRadius",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","frame","borderRadius"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","frame"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(tA,{...t})):e));const nA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,oA="&:hover";function iA(e){return"string"==typeof e&&"0"!==e&&/^[0-9.-]*$/.test(e)&&(e+="px"),e}function rA(e){const[t,n]=(0,vs.useState)(!1),{getStyle:o,hasStyle:i,setStyles:r,resetStyles:s}=Qr(e),{device:a,allDevices:l}=Jr(),[c,u]=(0,vs.useState)(),[h,d]=(0,vs.useState)(),[p,g]=(0,vs.useState)(),[f,m]=(0,vs.useState)(),[v,b]=(0,vs.useState)();(0,vs.useEffect)((()=>{const e=function(e){if(e){let t=gt(e).split(/ (?![^(]*\))/);if(t&&5===t.length)return/^(#|rgb|hsl)/.test(t[0])&&(t=et(t,0,5)),t}return!1}(o("box-shadow",a,t&&oA));e&&5===e.length?(u(e[0]),d(e[1]),g(e[2]),m(e[3]),b(e[4])):(u(void 0),d(void 0),g(void 0),m(void 0),b(void 0))}),[a,t]),(0,vs.useEffect)((()=>{void 0!==c||void 0!==h||void 0!==p||void 0!==f||void 0!==v?r({"box-shadow":`${iA(c||0)} ${iA(h||0)} ${iA(p||0)} ${iA(f||0)} ${v||"#000"}`},a,t&&oA):o("box-shadow",a,t&&oA)&&r({"box-shadow":void 0},a,t&&oA)}),[c,h,p,f,v]);let y=!1;["",...Object.keys(l)].forEach((e=>{y=y||i("box-shadow",e)||i("box-shadow",e,oA)}));const w=(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Shadow","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>i("box-shadow",e,t&&oA)}),(0,gs.jsx)(Cs,{isHover:t,onChange:()=>{n(!t)},checkActive:()=>i("box-shadow",a,oA)})]});return(0,gs.jsx)(nA,{label:(0,bs.__)("Shadow","ghostkit"),hasValue:()=>!!y,onDeselect:()=>{s(["box-shadow"],!0,["","&:hover"]),u(void 0),d(void 0),g(void 0),m(void 0),b(void 0)},isShownByDefault:!1,children:(0,gs.jsx)(us.BaseControl,{id:w,label:w,__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)("div",{className:"ghostkit-control-box-shadow",children:[(0,gs.jsx)(us.Tooltip,{text:(0,bs.__)("Color","ghostkit"),children:(0,gs.jsx)("div",{children:(0,gs.jsx)(fs,{value:v,onChange:e=>{b(e)},alpha:!0})})}),(0,gs.jsxs)(eg,{children:[(0,gs.jsx)(Zp,{help:(0,bs.__)("X","ghostkit"),value:c,onChange:e=>{u(e||0)},autoComplete:"off"}),(0,gs.jsx)(Zp,{help:(0,bs.__)("Y","ghostkit"),value:h,onChange:e=>{d(e||0)},autoComplete:"off"}),(0,gs.jsx)(Zp,{help:(0,bs.__)("Blur","ghostkit"),value:p,onChange:e=>{g(e||0)},autoComplete:"off"}),(0,gs.jsx)(Zp,{help:(0,bs.__)("Spread","ghostkit"),value:f,onChange:e=>{m(e||0)},autoComplete:"off"})]})]})})})}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/shadow",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","frame","shadow"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","frame"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(rA,{...t})]}):e));const sA=us.__stableToolsPanel||us.__experimentalToolsPanel,aA=NE.frame.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/frame/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","frame"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(sA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-frame")),(0,Ke.createElement)("span",null,(0,bs.__)("Frame","ghostkit"))),resetAll:()=>{o(aA,!0,["","&:hover"])}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-frame"},(0,Ke.createElement)(is,{name:"ghostkit.extension.frame.tools",props:t})))))}),14);const lA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:cA}=window.GHOSTKIT,{version:uA}=window.ghostkitVariables,hA={translate:{label:(0,bs.__)("Translate","ghostkit")},scale:{label:(0,bs.__)("Scale","ghostkit")},rotate:{label:(0,bs.__)("Rotate","ghostkit")},skew:{label:(0,bs.__)("Skew","ghostkit")},perspective:{label:(0,bs.__)("Perspective","ghostkit")},origin:{label:(0,bs.__)("Origin","ghostkit")}};function dA(){const[e,t]=(0,vs.useState)(!1);return(0,Ke.createElement)(Ke.Fragment,null,e&&(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)($C,{title:(0,bs.__)("Pro Transformations","ghostkit")},(0,Ke.createElement)("p",null,(0,bs.__)("Adding transformations for normal and hover state are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/transform/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_transform&utm_content=${uA}`},(0,bs.__)("Read More","ghostkit")))),Object.keys(hA).map((e=>(0,Ke.createElement)(lA,{key:e,label:hA[e].label,hasValue:()=>!1,onDeselect:()=>{},onSelect:()=>{t(!0)},isShownByDefault:!1}))))}(0,os.addFilter)("ghostkit.extension.transform.tools","ghostkit/extension/transform/pro",((e,{props:t})=>cA?e:(0,um.hasBlockSupport)(t.name,["ghostkit","transform"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(dA,{...t})):e));const pA=us.__stableToolsPanel||us.__experimentalToolsPanel,gA=NE.transform.styles,fA=(e,t)=>{let n=!1;return"object"==typeof e&&(t in e?n=!0:Object.keys(e).forEach((o=>{n=n||fA(e[o],t)}))),n};function mA(e){const{setAttributes:t,attributes:n}=e,{getStyles:o}=Qr(e);let i=!1;const r=o();function s(){let{className:o}=n;const r=(0,os.applyFilters)("ghostkit.extension.transform.allowClassName",i,e),s=lt(o,"ghostkit-has-transform");r&&!s?(o=st(o,"ghostkit-has-transform"),t({className:o})):!r&&s&&(o=at(o,"ghostkit-has-transform"),t({className:o}))}gA.forEach((e=>{i=i||fA(r,e)}));const a=Ev(60,s),l=(0,vs.useRef)(!1);return(0,vs.useEffect)((()=>{l.current?a():(l.current=!0,s())}),[n]),null}const vA=(0,ug.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(mA,{...t}))}),"withNewAttrs");(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/transform/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","transform"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(pA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-transform")),(0,Ke.createElement)("span",null,(0,bs.__)("Transform","ghostkit"))),resetAll:()=>{o(gA,!0,["","&:hover"])}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-transform"},(0,Ke.createElement)(is,{name:"ghostkit.extension.transform.tools",props:t})))))}),15),(0,os.addFilter)("editor.BlockEdit","ghostkit/extension/transform/classname",vA);const bA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function yA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("opacity",e)})),(0,gs.jsx)(bA,{label:(0,bs.__)("Opacity","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("opacity")||o({opacity:1})},onDeselect:()=>{i(["opacity"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.RangeControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Opacity","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("opacity",e)})]}),value:t("opacity",r),placeholder:1,onChange:e=>o({opacity:""===e?void 0:parseFloat(e)},r),min:0,max:1,step:.01,style:{flex:1},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/opacity",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","opacity"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(yA,{...t})]}):e));const wA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,kA=us.__stableGrid||us.__experimentalGrid;function _A(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;["",...Object.keys(s)].forEach((e=>{a=a||n("overflow-x",e)||n("overflow-y",e)}));const l=(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Overflow","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("overflow-x",e)||n("overflow-y",e)})]});return(0,gs.jsx)(wA,{label:(0,bs.__)("Overflow","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("overflow-x")&&n("overflow-y")||o({"overflow-x":"hidden","overflow-y":"hidden"})},onDeselect:()=>{i(["overflow-x","overflow-y"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.BaseControl,{id:l,label:l,__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)(kA,{columns:2,children:[(0,gs.jsx)(us.SelectControl,{help:(0,bs.__)("X","ghostkit"),value:t("overflow-x",r),onChange:e=>{o({"overflow-x":e},r)},options:[{value:"hidden",label:(0,bs.__)("Hidden","ghostkit")},{value:"visible",label:(0,bs.__)("Visible","ghostkit")},{value:"clip",label:(0,bs.__)("Clip","ghostkit")},{value:"scroll",label:(0,bs.__)("Scroll","ghostkit")},{value:"auto",label:(0,bs.__)("Auto","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{help:(0,bs.__)("Y","ghostkit"),value:t("overflow-y",r),onChange:e=>{o({"overflow-y":e},r)},options:[{value:"hidden",label:(0,bs.__)("Hidden","ghostkit")},{value:"visible",label:(0,bs.__)("Visible","ghostkit")},{value:"clip",label:(0,bs.__)("Clip","ghostkit")},{value:"scroll",label:(0,bs.__)("Scroll","ghostkit")},{value:"auto",label:(0,bs.__)("Auto","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})})})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/overflow",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","overflow"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(_A,{...t})]}):e));const xA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function CA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("cursor",e)})),(0,gs.jsx)(xA,{label:(0,bs.__)("Cursor","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("cursor")||o({cursor:"default"})},onDeselect:()=>{i(["cursor"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Cursor","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("cursor",e)})]}),value:t("cursor",r),onChange:e=>{o({cursor:e},r)},options:[{value:"default",label:(0,bs.__)("Default","ghostkit")},{value:"pointer",label:(0,bs.__)("Pointer","ghostkit")},{value:"not-allowed",label:(0,bs.__)("Not Allowed","ghostkit")},{value:"progress",label:(0,bs.__)("Progress","ghostkit")},{value:"move",label:(0,bs.__)("Move","ghostkit")},{value:"grab",label:(0,bs.__)("Grab","ghostkit")},{value:"grabbing",label:(0,bs.__)("Grabbing","ghostkit")},{value:"zoom-in",label:(0,bs.__)("Zoom In","ghostkit")},{value:"zoom-out",label:(0,bs.__)("Zoom Out","ghostkit")},{value:"copy",label:(0,bs.__)("Copy","ghostkit")},{value:"no-drop",label:(0,bs.__)("No Drop","ghostkit")},{value:"context-menu",label:(0,bs.__)("Context Menu","ghostkit")},{value:"help",label:(0,bs.__)("Help","ghostkit")},{value:"wait",label:(0,bs.__)("Wait","ghostkit")},{value:"cell",label:(0,bs.__)("Cell","ghostkit")},{value:"crosshair",label:(0,bs.__)("Crosshair","ghostkit")},{value:"alias",label:(0,bs.__)("Alias","ghostkit")},{value:"text",label:(0,bs.__)("Text","ghostkit")},{value:"vertical-text",label:(0,bs.__)("Vertical Text","ghostkit")},{value:"copy",label:(0,bs.__)("Copy","ghostkit")},{value:"nw-resize",label:(0,bs.__)("NW Resize","ghostkit")},{value:"n-resize",label:(0,bs.__)("N Resize","ghostkit")},{value:"e-resize",label:(0,bs.__)("E Resize","ghostkit")},{value:"se-resize",label:(0,bs.__)("SE Resize","ghostkit")},{value:"s-resize",label:(0,bs.__)("S Resize","ghostkit")},{value:"sw-resize",label:(0,bs.__)("SW Resize","ghostkit")},{value:"w-resize",label:(0,bs.__)("W Resize","ghostkit")},{value:"ew-resize",label:(0,bs.__)("EW Resize","ghostkit")},{value:"ns-resize",label:(0,bs.__)("NS Resize","ghostkit")},{value:"nwse-resize",label:(0,bs.__)("NWSE Resize","ghostkit")},{value:"nesw-resize",label:(0,bs.__)("NESW Resize","ghostkit")},{value:"col-resize",label:(0,bs.__)("Col Resize","ghostkit")},{value:"row-resize",label:(0,bs.__)("Row Resize","ghostkit")},{value:"none",label:(0,bs.__)("None","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/cursor",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","cursor"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(CA,{...t})]}):e));const SA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function EA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("user-select",e)})),(0,gs.jsx)(SA,{label:(0,bs.__)("User Select","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("user-select")||o({"user-select":"none"})},onDeselect:()=>{i(["user-select"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("User Select","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("user-select",e)})]}),value:t("user-select",r),onChange:e=>{o({"user-select":e},r)},options:[{value:"none",label:(0,bs.__)("None","ghostkit")},{value:"auto",label:(0,bs.__)("Auto","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/userSelect",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","userSelect"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(EA,{...t})]}):e));const AA={"inset(0 round 20px)":(0,bs.__)("Round","ghostkit"),"circle(50% at 50% 50%)":(0,bs.__)("Circle","ghostkit"),"polygon(50% 0%, 0% 100%, 100% 100%)":(0,bs.__)("Triangle","ghostkit"),"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)":(0,bs.__)("Rhombus","ghostkit"),"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)":(0,bs.__)("Pentagon","ghostkit"),"polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)":(0,bs.__)("Hexagon","ghostkit"),"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)":(0,bs.__)("Heptagon","ghostkit"),"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)":(0,bs.__)("Octagon","ghostkit"),"polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%)":(0,bs.__)("Bevel","ghostkit"),"polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)":(0,bs.__)("Star","ghostkit"),"polygon(0% 0%, 0% 100%, 25% 100%, 25% 25%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%)":(0,bs.__)("Frame","ghostkit")},TA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,$A=[{value:"",label:(0,bs.__)("Custom","ghostkit")},...Object.keys(AA).map((e=>({value:e,label:AA[e]})))];function MA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("clip-path",e)})),(0,gs.jsxs)(TA,{label:(0,bs.__)("Clip Path","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("clip-path")||o({"clip-path":$A[1].value})},onDeselect:()=>{i(["clip-path"],!0)},isShownByDefault:!1,children:[(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Clip Path","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("clip-path",e)})]}),value:t("clip-path",r),onChange:e=>{o({"clip-path":e},r)},options:$A,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("br",{}),(0,gs.jsx)(us.TextareaControl,{value:t("clip-path",r),onChange:e=>{o({"clip-path":e},r)},__nextHasNoMarginBottom:!0})]})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/clipPath",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","clipPath"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(MA,{...t})]}):e));const RA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:jA}=window.GHOSTKIT,{version:OA}=window.ghostkitVariables;function LA(){return(0,Ke.createElement)(RA,{label:(0,bs.__)("Transition","ghostkit"),hasValue:()=>!1,onSelect:()=>{},onDeselect:()=>{},isShownByDefault:!1},(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)($C,{title:(0,bs.__)("Transition","ghostkit")},(0,Ke.createElement)("p",null,(0,bs.__)("Transition and transform configurations are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/custom-css-js/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_transition&utm_content=${OA}`},(0,bs.__)("Read More","ghostkit")))))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/transition",((e,{props:t})=>jA?e:(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","transition"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(LA,{...t})):e));const IA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,NA="selector {\n\n}";function PA(e){const[t,n]=(0,vs.useState)(NA),{getStyle:o,hasStyle:i,setStyles:r,resetStyles:s}=Qr(e),{device:a,allDevices:l}=Jr();let c=!1;["",...Object.keys(l)].forEach((e=>{c=c||i("custom",e)}));const u=(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Custom","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>i("custom",e)})]});return(0,gs.jsx)(IA,{label:(0,bs.__)("Custom","ghostkit"),hasValue:()=>!!c,onSelect:()=>{i("custom")||r({custom:""})},onDeselect:()=>{s(["custom"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.BaseControl,{id:u,label:u,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.Dropdown,{className:"ghostkit-extension-customCSS-custom__dropdown",contentClassName:"ghostkit-extension-customCSS-custom__dropdown-content",popoverProps:{placement:"left-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:n})=>(0,gs.jsxs)(us.Button,{className:cs()("ghostkit-extension-customCSS-custom__dropdown-content-toggle",e?"ghostkit-extension-customCSS-custom__dropdown-content-toggle-active":""),onClick:()=>{n()},children:[(0,gs.jsx)("span",{children:(0,bs.__)("Edit CSS","ghostkit")}),(0,gs.jsx)(as,{mode:"css",value:o("custom",a)||t,maxLines:7,minLines:3,height:"200px",showPrintMargin:!1,showGutter:!1,highlightActiveLine:!1,setOptions:{enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,enableSnippets:!1,showLineNumbers:!1}})]}),renderContent:()=>(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.BaseControl,{id:u,label:u,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(as,{mode:"css",onChange:e=>{e!==NA&&r({custom:e},a),t&&n("")},value:o("custom",a)||t,maxLines:20,minLines:5,height:"300px",editorProps:{id:"gkt-custom-css-editor"}}),(0,gs.jsx)("p",{style:{marginBottom:20}}),(0,gs.jsxs)("details",{children:[(0,gs.jsx)("summary",{label:(0,bs.__)("Examples to use selector","ghostkit"),dangerouslySetInnerHTML:{__html:(0,bs.__)("Use %s rule to change block styles.","ghostkit").replace("%s","selector")}}),(0,gs.jsx)("p",{children:(0,bs.__)("Example:","ghostkit")}),(0,gs.jsx)("pre",{className:"ghostkit-control-pre-custom-css",children:"selector {\n background-color: #2F1747;\n}\n\nselector p {\n color: #2F1747;\n}"})]})]})})})})}(0,ss.addCompleter)({getCompletions(e,t,n,o,i){"gkt-custom-css-editor"===e.id&&i(null,[{caption:"selector",value:"selector",meta:(0,bs.__)("Block Selector","ghostkit")}])},identifierRegexps:[/selector/]}),(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/custom",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","custom"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(PA,{...t})]}):e));const DA=us.__stableToolsPanel||us.__experimentalToolsPanel,BA=NE.customCSS.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/customCSS/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","customCSS"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(DA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-custom-css")),(0,Ke.createElement)("span",null,(0,bs.__)("Custom CSS","ghostkit"))),resetAll:()=>{o(BA,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-custom-css"},(0,Ke.createElement)(is,{name:"ghostkit.extension.customCSS.tools",props:t})))))}),16);const zA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,FA=function(e=""){return[{label:e?(0,bs.__)("Inherit","ghostkit"):(0,bs.__)("Default","ghostkit"),value:""},{label:(0,bs.__)("Show","ghostkit"),value:"block"},{label:(0,bs.__)("Hide","ghostkit"),value:"none"}]};function HA(e,t){if(!t){if(lt(e,"ghostkit-d-none"))return"none";if(lt(e,"ghostkit-d-block"))return"block"}return it(e,`ghostkit-d-${t}`,!0)}function WA(e){const{attributes:t,setAttributes:n}=e,{className:o}=t,{device:i,allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{s=s||HA(o,e)})),(0,Ke.createElement)(zA,{label:(0,bs.__)("Screen Size","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{let e=o;["",...Object.keys(r)].forEach((t=>{t?(e=at(e,`ghostkit-d-${t}-none`),e=at(e,`ghostkit-d-${t}-block`)):(e=at(e,"ghostkit-d-none"),e=at(e,"ghostkit-d-block"))})),n({className:e})},isShownByDefault:!1},(0,Ke.createElement)(lg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,bs.__)("Screen Size","ghostkit"),(0,Ke.createElement)(Jp,{checkActive:e=>lt(o,`ghostkit-d-${e}-none`)||lt(o,`ghostkit-d-${e}-block`)})),value:HA(o,i),options:FA(i).map((e=>({value:e.value,label:e.label}))),onChange:e=>{!function(e,t){let i=o;e?i=rt(i,`ghostkit-d-${e}`,t):(i=at(i,"ghostkit-d-none"),i=at(i,"ghostkit-d-block"),t&&(i=st(i,`ghostkit-d-${t}`))),n({className:i})}(i,e)},isBlock:!0}))}(0,os.addFilter)("ghostkit.extension.display.tools","ghostkit/extension/display/tools/screenSize",((e,{props:t})=>{const n=(0,um.hasBlockSupport)(t.name,["ghostkit","display","screenSize"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","display"]),o=(0,um.hasBlockSupport)(t.name,"customClassName",!0);return n&&o?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(WA,{...t})):e}));const VA=us.__stableToolsPanel||us.__experimentalToolsPanel;function UA(e=!1){let t=!1;if(!e){const{getBlocks:t}=(0,Ze.select)("core/block-editor");e=t()}return e.forEach((e=>{t||("ghostkit/table-of-contents"===e.name?t=e:e.innerBlocks&&e.innerBlocks.length&&(t=UA(e.innerBlocks)))})),t}function GA(e=!1){let t=[];if(!e){const{getBlocks:t}=(0,Ze.select)("core/block-editor");e=t()}return e.forEach((e=>{"core/heading"===e.name?t.push(e):e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...GA(e.innerBlocks)])})),t}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/display/inspector",(function(e,{props:t}){const{name:n}=t;return(0,um.hasBlockSupport)(n,["ghostkit","display"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(VA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-display")),(0,Ke.createElement)("span",null,(0,bs.__)("Display Conditions","ghostkit")))},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-display"},(0,Ke.createElement)(is,{name:"ghostkit.extension.display.tools",props:t}))))):e}),17);let qA="";const KA=Av(300,(function(){if(!UA())return;const e=GA();if(qA&&qA===JSON.stringify(e))return;const t={};e.forEach((e=>{let{anchor:n}=e.attributes;const{content:o}=e.attributes;o&&!n&&(n=Lr(o),e.attributes.anchor=n),n&&(void 0!==t[n]?(t[n]+=1,n+=`-${t[n]}`,e.attributes.anchor=n):t[n]=1)})),qA=JSON.stringify(e)}));wp.blockEditor.__experimentalBlockPatternSetup||wp.blockEditor.BlockPatternSetup||wp.blockEditor.blockPatternSetup||(0,Ze.subscribe)((()=>{KA()}));const YA=window.wp.plugins,{GHOSTKIT:ZA}=window;(0,YA.registerPlugin)("gkt-toolbar-templates",{render:function(){const{insertBlocks:e}=(0,Ze.useDispatch)("core/block-editor");if(!ZA.allowTemplates)return null;function t(){return(0,Ke.createElement)(us.ToolbarButton,{className:"components-button components-icon-button","aria-label":(0,bs.__)("Add Template","ghostkit"),onClick:()=>{e((0,um.createBlock)("ghostkit/grid",{isTemplatesModalOnly:!0}))}},Cr("plugin-templates"),(0,bs.__)("Templates Library","ghostkit"))}return(async e=>{for(;null===document.querySelector(e);)await new Promise((e=>window.requestAnimationFrame(e)));return document.querySelector(e)})(".edit-post-header-toolbar").then((e=>{if(!e.querySelector(".ghostkit-toolbar-templates")){const n=document.createElement("div");n.classList.add("ghostkit-toolbar-templates"),e.appendChild(n),(0,vs.render)((0,Ke.createElement)(t,null),n)}})),null}});const JA=window.wp.notices;function XA(e,t,n=""){if(!n)return{ghostkit:(0,Xr.cloneDeep)(e?.attributes?.ghostkit||{})};const o={};return(0,um.hasBlockSupport)(e.name,["ghostkit",n])&&(0,um.hasBlockSupport)(t.name,["ghostkit",n])&&(o.ghostkit=(0,Xr.cloneDeep)(t?.attributes?.ghostkit||{}),NE[n]?.styles&&(o?.ghostkit?.styles||(o.ghostkit.styles={}),o.ghostkit.styles=Pr(o.ghostkit.styles,Gr(e?.attributes?.ghostkit?.styles||{},NE[n].styles,NE[n].responsive,NE[n].selectors)),o.ghostkit.styles=ct(o.ghostkit.styles)),NE[n]?.attributes&&NE[n].attributes.forEach((t=>{o.ghostkit[t]=e?.attributes?.ghostkit?.[t]||void 0}))),o}function QA(e,t,n,o=""){for(let i=0;i(0,um.serialize)(e)),t);return(0,Ke.createElement)(us.MenuItem,{ref:o},n)}function tT(e,t){return e.every((e=>!!e&&(0,um.hasBlockSupport)(e.name,t)))}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/copy-paste",(function(e,{props:t}){const{name:n,clientId:o}=t,i=(0,um.hasBlockSupport)(n,["ghostkit"]),{createSuccessNotice:r}=(0,Ze.useDispatch)(JA.store),{getBlocksByClientId:s}=(0,Ze.useSelect)((e=>e("core/block-editor"))),a=function(){const e=(0,Ze.useRegistry)(),{updateBlockAttributes:t}=(0,Ze.useDispatch)("core/block-editor"),{createSuccessNotice:n,createWarningNotice:o,createErrorNotice:i}=(0,Ze.useDispatch)(JA.store);return(0,vs.useCallback)((async(r,s)=>{let a="";try{if(!window.navigator.clipboard)return void i((0,bs.__)("Unable to paste extensions. This feature is only available on secure (https) sites in supporting browsers.","ghostkit"),{type:"snackbar"});a=await window.navigator.clipboard.readText()}catch(e){return void i((0,bs.__)("Unable to paste extensions. Please allow browser clipboard permissions before continuing.","ghostkit"),{type:"snackbar"})}if(!a||!function(e){try{const t=(0,um.parse)(e,{__unstableSkipMigrationLogs:!0,__unstableSkipAutop:!0});return 1!==t.length||"core/freeform"!==t[0].name}catch(e){return!1}}(a))return void o((0,bs.__)("Unable to paste extensions. Block extensions couldn't be found within the copied content.","ghostkit"),{type:"snackbar"});const l=(0,um.parse)(a);if(1===l.length?e.batch((()=>{QA(r,r.map((()=>l[0])),t,s)})):e.batch((()=>{QA(r,l,t,s)})),1===r.length){const e=(0,um.getBlockType)(r[0].name)?.title;n((0,bs.sprintf)( +(()=>{var e={952:(e,t,n)=>{e=n.nmd(e),function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function(e,n,o){"string"==typeof e?(2==arguments.length&&(o=n),t.modules[e]||(t.payloads[e]=o,t.modules[e]=null)):t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,o,i=function(e,t,n){if("string"==typeof t){var o=a(e,t);if(null!=o)return n&&n(),o}else if("[object Array]"===Object.prototype.toString.call(t)){for(var i=[],s=0,l=t.length;sn.length)&&(t=n.length),t-=e.length;var o=n.indexOf(e,t);return-1!==o&&o===t})),String.prototype.repeat||o(String.prototype,"repeat",(function(e){for(var t="",n=this;e>0;)1&e&&(t+=n),(e>>=1)&&(n+=n);return t})),String.prototype.includes||o(String.prototype,"includes",(function(e,t){return-1!=this.indexOf(e,t)})),Object.assign||(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n>>0,o=arguments[1]>>0,i=o<0?Math.max(n+o,0):Math.min(o,n),r=arguments[2],s=void 0===r?n:r>>0,a=s<0?Math.max(n+s,0):Math.min(s,n);i0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var o=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(o,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,o=e.length;n65535?2:1}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,n){"use strict";t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS};var o="object"==typeof navigator?navigator:{},i=(/mac|win|linux/i.exec(o.platform)||["other"])[0].toLowerCase(),r=o.userAgent||"",s=o.appName||"";t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=r.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,t.isSafari=parseFloat(r.split(" Safari/")[1])&&!t.isChrome||void 0,t.isEdge=parseFloat(r.split(" Edge/")[1])||void 0,t.isAIR=r.indexOf("AdobeAIR")>=0,t.isAndroid=r.indexOf("Android")>=0,t.isChromeOS=r.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(r)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var o,i=e("./useragent");t.buildDom=function e(t,n,o){if("string"==typeof t&&t){var i=document.createTextNode(t);return n&&n.appendChild(i),i}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var r=[],s=0;s=1.5,i.isChromeOS&&(t.HI_DPI=!1),"undefined"!=typeof document){var l=document.createElement("div");t.HI_DPI&&void 0!==l.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),i.isEdge||void 0===l.style.animationName||(t.HAS_CSS_ANIMATION=!0),l=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,n){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(n)+"px)"}:t.translate=function(e,t,n){e.style.top=Math.round(n)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=o.getDocumentHead(),i=document.createElement("script");i.src=e,n.appendChild(i),i.onload=i.onreadystatechange=function(e,n){!n&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,n){"use strict";var o={},i=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};o._emit=o._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(n.length||o){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=r),n=n.slice();for(var s=0;s1&&(i=n[n.length-2]);var s=l[t+"Path"];return null==s?s=l.basePath:"/"==o&&(t=o=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+t+o+i+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.setLoader=function(e){a=e},t.dynamicModules=Object.create(null),t.$loading={},t.$loaded={},t.loadModule=function(n,o){var r;if(Array.isArray(n))var s=n[0],l=n[1];else"string"==typeof n&&(l=n);var u=function(n){if(n&&!t.$loading[l])return o&&o(n);if(t.$loading[l]||(t.$loading[l]=[]),t.$loading[l].push(o),!(t.$loading[l].length>1)){var r=function(){!function(t,n){"ace/theme/textmate"===t||"./theme/textmate"===t?n(0,e("./theme/textmate")):a?a(t,n):console.error("loader is not configured")}(l,(function(e,n){n&&(t.$loaded[l]=n),t._emit("load.module",{name:l,module:n});var o=t.$loading[l];t.$loading[l]=null,o.forEach((function(e){e&&e(n)}))}))};if(!t.get("packaged"))return r();i.loadScript(t.moduleUrl(l,s),r),c()}};if(t.dynamicModules[l])t.dynamicModules[l]().then((function(e){e.default?u(e.default):u(e)}));else{try{r=this.$require(l)}catch(e){}u(r||t.$loaded[l])}},t.$require=function(e){if("function"==typeof n.require)return n.require(e)},t.setModuleLoader=function(e,n){t.dynamicModules[e]=n};var c=function(){l.basePath||l.workerPath||l.modePath||l.themePath||Object.keys(l.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),c=function(){})};t.version="1.32.6"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(e,t,o){"use strict";e("./lib/fixoldbrowsers");var i=e("./config");i.setLoader((function(t,n){e([t],(function(e){n(null,e)}))}));var r=function(){return this||"undefined"!=typeof window&&window}();function s(t){if(r&&r.document){i.set("packaged",t||e.packaged||o.packaged||r.define&&n.amdD.packaged);var s={},a="",l=document.currentScript||document._currentScript,c=l&&l.ownerDocument||document;l&&l.src&&(a=l.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var u,h=c.getElementsByTagName("script"),d=0;d ["+this.end.row+"/"+this.end.column+"]"},e.prototype.contains=function(e,t){return 0==this.compare(e,t)},e.prototype.compareRange=function(e){var t,n=e.end,o=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(o.row,o.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(o.row,o.column))?-1:1==t?42:0},e.prototype.comparePoint=function(e){return this.compare(e.row,e.column)},e.prototype.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},e.prototype.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},e.prototype.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},e.prototype.isStart=function(e,t){return this.start.row==e&&this.start.column==t},e.prototype.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},e.prototype.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},e.prototype.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},e.prototype.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},e.prototype.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},e.prototype.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},e.prototype.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},e.prototype.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.clipRows=function(t,n){if(this.end.row>n)var o={row:n+1,column:0};else this.end.rown)var i={row:n+1,column:0};else this.start.row1?++h>4&&(h=1):h=1,r.isIE){var s=Math.abs(e.clientX-a)>5||Math.abs(e.clientY-l)>5;c&&!s||(h=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),n[h-1]||600),1==h&&(a=e.clientX,l=e.clientY)}if(e._clicks=h,o[i]("mousedown",e),h>4)h=0;else if(h>1)return o[i](d[h],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",p,s)}))},t.getModifierString=function(e){return i.KEY_MODS[d(e)]},t.addCommandKeyListener=function(e,n,o){var l=null;u(e,"keydown",(function(e){s[e.keyCode]=(s[e.keyCode]||0)+1;var t=function(e,t,n){var o=d(t);if(!r.isMac&&s){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(o|=8),s.altGr){if(3==(3&o))return;s.altGr=0}if(18===n||17===n){var l=t.location;17===n&&1===l?1==s[n]&&(a=t.timeStamp):18===n&&3===o&&2===l&&t.timeStamp-a<50&&(s.altGr=!0)}}if(n in i.MODIFIER_KEYS&&(n=-1),o||13!==n||3!==t.location||(e(t,o,-n),!t.defaultPrevented)){if(r.isChromeOS&&8&o){if(e(t,o,n),t.defaultPrevented)return;o&=-9}return!!(o||n in i.FUNCTION_KEYS||n in i.PRINTABLE_KEYS)&&e(t,o,n)}}(n,e,e.keyCode);return l=e.defaultPrevented,t}),o),u(e,"keypress",(function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),o),u(e,"keyup",(function(e){s[e.keyCode]=null}),o),s||(p(),u(window,"focus",p))},"object"==typeof window&&window.postMessage&&!r.isOldIE){var g=1;t.nextTick=function(e,n){n=n||window;var o="zero-timeout-message-"+g++,i=function(r){r.data==o&&(t.stopPropagation(r),h(n,"message",i),e())};u(n,"message",i),n.postMessage(o,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,n){return setTimeout((function n(){t.$idleBlocked?setTimeout(n,100):e()}),n)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/clipboard",["require","exports","module"],(function(e,t,n){"use strict";var o;n.exports={lineMode:!1,pasteCancelled:function(){return!!(o&&o>Date.now()-50)||(o=!1)},cancel:function(){o=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,n){"use strict";var o,i=e("../lib/event"),r=e("../config").nls,s=e("../lib/useragent"),a=e("../lib/dom"),l=e("../lib/lang"),c=e("../clipboard"),u=s.isChrome<18,h=s.isIE,d=s.isChrome>63,p=400,g=e("../lib/keys"),f=g.KEY_MODS,m=s.isIOS,v=m?/\s/:/\n/,b=s.isMobile;o=function(e,t){var n=a.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck","false"),n.style.opacity="0",e.insertBefore(n,e.firstChild);var o=!1,y=!1,w=!1,k=!1,_="";b||(n.style.fontSize="1px");var x=!1,C=!1,S="",E=0,A=0,T=0,$=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,R=0;try{var j=document.activeElement===n}catch(e){}this.setNumberOfExtraLines=function(e){$=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,R=e<0?0:e},this.setAriaOptions=function(e){if(e.activeDescendant?(n.setAttribute("aria-haspopup","true"),n.setAttribute("aria-autocomplete",e.inline?"both":"list"),n.setAttribute("aria-activedescendant",e.activeDescendant)):(n.setAttribute("aria-haspopup","false"),n.setAttribute("aria-autocomplete","both"),n.removeAttribute("aria-activedescendant")),e.role&&n.setAttribute("role",e.role),e.setLabel&&(n.setAttribute("aria-roledescription",r("editor")),t.session)){var o=t.session.selection.cursor.row;n.setAttribute("aria-label",r("Cursor at row $0",[o+1]))}},this.setAriaOptions({role:"textbox"}),i.addListener(n,"blur",(function(e){C||(t.onBlur(e),j=!1)}),t),i.addListener(n,"focus",(function(e){if(!C){if(j=!0,s.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),s.isEdge?setTimeout(L):L()}}),t),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:t.renderer.enableKeyboardAccessibility}),_||d||"browser"==this.$focusScroll)return n.focus({preventScroll:!0});var e=n.style.top;n.style.position="fixed",n.style.top="0px";try{var o=0!=n.getBoundingClientRect().top}catch(e){return}var i=[];if(o)for(var r=n.parentElement;r&&1==r.nodeType;)i.push(r),r.setAttribute("ace_nocontext","true"),r=!r.parentElement&&r.getRootNode?r.getRootNode().host:r.parentElement;n.focus({preventScroll:!0}),o&&i.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)}),0)},this.blur=function(){n.blur()},this.isFocused=function(){return j},t.on("beforeEndOperation",(function(){var e=t.curOp,o=e&&e.command&&e.command.name;if("insertstring"!=o){var i=o&&(e.docChanged||e.selectionChanged);w&&i&&(S=n.value="",U()),L()}}));var O=function(e,n){for(var o=n,i=1;i<=e-$&&i<2*R+1;i++)o+=t.session.getLine(e-i).length+1;return o},L=m?function(e){if(j&&(!o||e)&&!k){e||(e="");var i="\n ab"+e+"cde fg\n";i!=n.value&&(n.value=S=i);var r=4+(e.length||(t.selection.isEmpty()?0:1));4==E&&A==r||n.setSelectionRange(4,r),E=4,A=r}}:function(){if(!w&&!k&&(j||N)){w=!0;var e=0,o=0,i="";if(t.session){var r=t.selection,s=r.getRange(),a=r.cursor.row;a===M+1?M=($=M+1)+2*R:a===$-1?$=(M=$-1)-2*R:(a<$-1||a>M+1)&&($=a>R?a-R:0,M=a>R?a+R:2*R);for(var l=[],c=$;c<=M;c++)l.push(t.session.getLine(c));if(i=l.join("\n"),e=O(s.start.row,s.start.column),o=O(s.end.row,s.end.column),s.start.row<$){var u=t.session.getLine($-1);e=s.start.row<$-1?0:e,o+=u.length+1,i=u+"\n"+i}else if(s.end.row>M){var h=t.session.getLine(M+1);o=s.end.row>M+1?h.length:s.end.column,o+=i.length+1,i=i+"\n"+h}else b&&a>0&&(i="\n"+i,o+=1,e+=1);i.length>p&&(e0&&S[d]==e[d];)d++,a--;for(c=c.slice(d),d=1;l>0&&S.length-d>E-1&&S[S.length-d]==e[e.length-d];)d++,l--;u-=d-1,h-=d-1;var p=c.length-d+1;if(p<0&&(a=-p,p=0),c=c.slice(0,p),!(o||c||u||a||l||h))return"";k=!0;var g=!1;return s.isAndroid&&". "==c&&(c=" ",g=!0),c&&!a&&!l&&!u&&!h||x?t.onTextInput(c):t.onTextInput(c,{extendLeft:a,extendRight:l,restoreStart:u,restoreEnd:h}),k=!1,S=e,E=i,A=r,T=h,g?"\n":c},D=function(e){if(w)return V();if(e&&e.inputType){if("historyUndo"==e.inputType)return t.execCommand("undo");if("historyRedo"==e.inputType)return t.execCommand("redo")}var o=n.value,i=P(o,!0);(o.length>500||v.test(i)||b&&E<1&&E==A)&&L()},B=function(e,t,n){var o=e.clipboardData||window.clipboardData;if(o&&!u){var i=h||n?"Text":"text/plain";try{return t?!1!==o.setData(i,t):o.getData(i)}catch(e){if(!n)return B(e,t,!0)}}},z=function(e,r){var s=t.getCopyText();if(!s)return i.preventDefault(e);B(e,s)?(m&&(L(s),o=s,setTimeout((function(){o=!1}),10)),r?t.onCut():t.onCopy(),i.preventDefault(e)):(o=!0,n.value=s,n.select(),setTimeout((function(){o=!1,L(),r?t.onCut():t.onCopy()})))},F=function(e){z(e,!0)},H=function(e){z(e,!1)},W=function(e){var o=B(e);c.pasteCancelled()||("string"==typeof o?(o&&t.onPaste(o,e),s.isIE&&setTimeout(L),i.preventDefault(e)):(n.value="",y=!0))};i.addCommandKeyListener(n,(function(e,n,o){if(!w)return t.onCommandKey(e,n,o)}),t),i.addListener(n,"select",(function(e){w||(o?o=!1:function(e){return 0===e.selectionStart&&e.selectionEnd>=S.length&&e.value===S&&S&&e.selectionEnd!==A}(n)?(t.selectAll(),L()):b&&n.selectionStart!=E&&L())}),t),i.addListener(n,"input",D,t),i.addListener(n,"cut",F,t),i.addListener(n,"copy",H,t),i.addListener(n,"paste",W,t),"oncut"in n&&"oncopy"in n&&"onpaste"in n||i.addListener(e,"keydown",(function(e){if((!s.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:H(e);break;case 86:W(e);break;case 88:F(e)}}),t);var V=function(){if(w&&t.onCompositionUpdate&&!t.$readOnly){if(x)return G();if(w.useTextareaForIME)t.onCompositionUpdate(n.value);else{var e=n.value;P(e),w.markerRange&&(w.context&&(w.markerRange.start.column=w.selectionStart=w.context.compositionStartOffset),w.markerRange.end.column=w.markerRange.start.column+A-w.selectionStart+T)}}},U=function(e){t.onCompositionEnd&&!t.$readOnly&&(w=!1,t.onCompositionEnd(),t.off("mousedown",G),e&&D())};function G(){C=!0,n.blur(),n.focus(),C=!1}var q,K=l.delayedCall(V,50).schedule.bind(null,null);function Y(){clearTimeout(q),q=setTimeout((function(){_&&(n.style.cssText=_,_=""),t.renderer.$isMousePressed=!1,t.renderer.$keepTextAreaAtCursor&&t.renderer.$moveTextAreaToCursor()}),0)}i.addListener(n,"compositionstart",(function(e){if(!w&&t.onCompositionStart&&!t.$readOnly&&(w={},!x)){e.data&&(w.useTextareaForIME=!1),setTimeout(V,0),t._signal("compositionStart"),t.on("mousedown",G);var o=t.getSelectionRange();o.end.row=o.start.row,o.end.column=o.start.column,w.markerRange=o,w.selectionStart=E,t.onCompositionStart(w),w.useTextareaForIME?(S=n.value="",E=0,A=0):(n.msGetInputContext&&(w.context=n.msGetInputContext()),n.getInputContext&&(w.context=n.getInputContext()))}}),t),i.addListener(n,"compositionupdate",V,t),i.addListener(n,"keyup",(function(e){27==e.keyCode&&n.value.lengthA&&"\n"==S[s]?a=g.end:iA&&S.slice(0,s).split("\n").length>2?a=g.down:s>A&&" "==S[s-1]?(a=g.right,l=f.option):(s>A||s==A&&A!=E&&i==s)&&(a=g.right),i!==s&&(l|=f.shift),a){if(!t.onCommandKey({},l,a)&&t.commands){a=g.keyCodeToString(a);var c=t.commands.findKeyCommand(l,a);c&&t.execCommand(c)}E=i,A=s,L("")}}};document.addEventListener("selectionchange",s),t.on("destroy",(function(){document.removeEventListener("selectionchange",s)}))}(0,t,n),this.destroy=function(){n.parentElement&&n.parentElement.removeChild(n)}},t.TextInput=o,t.$setUserAgentForTests=function(e,t){b=e,m=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("../lib/useragent"),i=function(){function e(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}return e.prototype.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var i=this.editor,r=e.getButton();return 0!==r?((i.getSelectionRange().isEmpty()||1==r)&&i.selection.moveToPosition(n),void(2==r&&(i.textInput.onContextMenu(e.domEvent),o.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||i.isFocused()||(i.focus(),!this.$focusTimeout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},e.prototype.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.setStyle("ace_selecting"),this.setState("select"))},e.prototype.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(n);if(-1==o)e=this.$clickSelection.end;else if(1==o)e=this.$clickSelection.start;else{var i=r(this.$clickSelection,n);n=i.cursor,e=i.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.renderer.scrollCursorIntoView()},e.prototype.extendSelectionBy=function(e){var t,n=this.editor,o=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[e](o.row,o.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),a=this.$clickSelection.comparePoint(i.end);if(-1==s&&a<=0)t=this.$clickSelection.end,i.end.row==o.row&&i.end.column==o.column||(o=i.start);else if(1==a&&s>=0)t=this.$clickSelection.start,i.start.row==o.row&&i.start.column==o.column||(o=i.end);else if(-1==s&&1==a)o=i.end,t=i.start;else{var l=r(this.$clickSelection,o);o=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(o),n.renderer.scrollCursorIntoView()},e.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},e.prototype.focusWait=function(){var e,t,n,o,i=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,o=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(o-t,2))),r=Date.now();(i>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},e.prototype.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,o=n.session.getBracketRange(t);o?(o.isEmpty()&&(o.start.column--,o.end.column++),this.setState("select")):(o=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=o,this.select()},e.prototype.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var o=n.getSelectionRange();o.isMultiLine()&&o.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(o.start.row),this.$clickSelection.end=n.selection.getLineRange(o.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},e.prototype.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},e.prototype.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,o=e.domEvent.timeStamp,i=o-n.t,r=i?e.wheelX/i:n.vx,s=i?e.wheelY/i:n.vy;i<550&&(r=(r+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(r/s),l=!1;return a>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),a<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l?n.allowed=o:o-n.allowed<550&&(Math.abs(r)<=1.5*Math.abs(n.vx)&&Math.abs(s)<=1.5*Math.abs(n.vy)?(l=!0,n.allowed=o):n.allowed=0),n.t=o,n.vx=r,n.vy=s,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function r(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}i.prototype.selectEnd=i.prototype.selectByLinesEnd,i.prototype.selectAllEnd=i.prototype.selectByLinesEnd,i.prototype.selectByWordsEnd=i.prototype.selectByLinesEnd,t.DefaultHandlers=i})),ace.define("ace/lib/scroll",["require","exports","module"],(function(e,t,n){t.preventParentScroll=function(e){e.stopPropagation();var t=e.currentTarget;t.scrollHeight>t.clientHeight||e.preventDefault()}})),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=e("./lib/dom"),a=(e("./lib/event"),e("./range").Range),l=e("./lib/scroll").preventParentScroll,c="ace_tooltip",u=function(){function e(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}return e.prototype.$init=function(){return this.$element=s.createElement("div"),this.$element.className=c,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},e.prototype.getElement=function(){return this.$element||this.$init()},e.prototype.setText=function(e){this.getElement().textContent=e},e.prototype.setHtml=function(e){this.getElement().innerHTML=e},e.prototype.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},e.prototype.setClassName=function(e){s.addCssClass(this.getElement(),e)},e.prototype.setTheme=function(e){this.$element.className=c+" "+(e.isDark?"ace_dark ":"")+(e.cssClass||"")},e.prototype.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},e.prototype.hide=function(e){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=c,this.isOpen=!1)},e.prototype.getHeight=function(){return this.getElement().offsetHeight},e.prototype.getWidth=function(){return this.getElement().offsetWidth},e.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},e}(),h=new(function(){function e(){this.popups=[]}return e.prototype.addPopup=function(e){this.popups.push(e),this.updatePopups()},e.prototype.removePopup=function(e){var t=this.popups.indexOf(e);-1!==t&&(this.popups.splice(t,1),this.updatePopups())},e.prototype.updatePopups=function(){var e,t,n,o;this.popups.sort((function(e,t){return t.priority-e.priority}));var i=[];try{for(var s=r(this.popups),a=s.next();!a.done;a=s.next()){var l=a.value,c=!0;try{for(var u=(n=void 0,r(i)),h=u.next();!h.done;h=u.next()){var d=h.value;if(this.doPopupsOverlap(d,l)){c=!1;break}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}c?i.push(l):l.hide()}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}},e.prototype.doPopupsOverlap=function(e,t){var n=e.getElement().getBoundingClientRect(),o=t.getElement().getBoundingClientRect();return n.lefto.left&&n.topo.top},e}());t.popupManager=h,t.Tooltip=u;var d=function(e){function t(t){void 0===t&&(t=document.body);var n=e.call(this,t)||this;n.timeout=void 0,n.lastT=0,n.idleTime=350,n.lastEvent=void 0,n.onMouseOut=n.onMouseOut.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.waitForHover=n.waitForHover.bind(n),n.hide=n.hide.bind(n);var o=n.getElement();return o.style.whiteSpace="pre-wrap",o.style.pointerEvents="auto",o.addEventListener("mouseout",n.onMouseOut),o.tabIndex=-1,o.addEventListener("blur",function(){o.contains(document.activeElement)||this.hide()}.bind(n)),o.addEventListener("wheel",l),n}return i(t,e),t.prototype.addToEditor=function(e){e.on("mousemove",this.onMouseMove),e.on("mousedown",this.hide),e.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},t.prototype.removeFromEditor=function(e){e.off("mousemove",this.onMouseMove),e.off("mousedown",this.hide),e.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},t.prototype.onMouseMove=function(e,t){this.lastEvent=e,this.lastT=Date.now();var n=t.$mouseHandler.isMousePressed;if(this.isOpen){var o=this.lastEvent&&this.lastEvent.getDocumentPosition();this.range&&this.range.contains(o.row,o.column)&&!n&&!this.isOutsideOfText(this.lastEvent)||this.hide()}this.timeout||n||(this.lastEvent=e,this.timeout=setTimeout(this.waitForHover,this.idleTime))},t.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var e=Date.now()-this.lastT;this.idleTime-e>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-e):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},t.prototype.isOutsideOfText=function(e){var t=e.editor,n=e.getDocumentPosition(),o=t.session.getLine(n.row);if(n.column==o.length){var i=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),r=t.session.documentToScreenPosition(n.row,n.column);if(r.column!=i.column||r.row!=i.row)return!0}return!1},t.prototype.setDataProvider=function(e){this.$gatherData=e},t.prototype.showForRange=function(e,t,n,o){if(!(o&&o!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var i=e.renderer;this.isOpen||(h.addPopup(this),this.$registerCloseEvents(),this.setTheme(i.theme)),this.isOpen=!0,this.addMarker(t,e.session),this.range=a.fromPoints(t.start,t.end);var r=i.textToScreenCoordinates(t.start.row,t.start.column),s=i.scroller.getBoundingClientRect();r.pageX=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=e("../lib/dom"),a=e("../lib/event"),l=e("../tooltip").Tooltip,c=e("../config").nls;t.GutterHandler=function(e){var t,n,o=e.editor,i=o.renderer.$gutterLayer,r=new u(o);function l(){t&&(t=clearTimeout(t)),r.isOpen&&(r.hideTooltip(),o.off("mousewheel",l))}function c(e){r.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(o.isFocused()&&0==t.getButton()&&"foldWidgets"!=i.getRegion(t)){var n=t.getDocumentPosition().row,r=o.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return o.selectAll(),t.preventDefault();e.$clickSelection=o.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(a){var u=a.domEvent.target||a.domEvent.srcElement;if(s.hasCssClass(u,"ace_fold-widget"))return l();r.isOpen&&e.$tooltipFollowsMouse&&c(a),n=a,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row;if(t==o.session.getLength()){var s=o.renderer.pixelToScreenCoordinates(0,n.y).row,a=n.$pos;if(s>o.session.documentToScreenRow(a.row,a.column))return l()}if(r.showTooltip(t),r.isOpen)if(o.on("mousewheel",l),e.$tooltipFollowsMouse)c(n);else{var u=n.getGutterRow(),h=i.$lines.get(u);if(h){var d=h.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),p=r.getElement().style;p.left=d.right+"px",p.top=d.bottom+"px"}else c(n)}}():l()}),50))})),a.addListener(o.renderer.$gutter,"mouseout",(function(e){n=null,r.isOpen&&!t&&(t=setTimeout((function(){t=null,l()}),50))}),o),o.on("changeSession",l),o.on("input",l)};var u=function(e){function t(t){var n=e.call(this,t.container)||this;return n.editor=t,n}return i(t,e),t.prototype.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,o=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),r=this.getHeight();(e+=15)+i>n&&(e-=e+i-n),(t+=15)+r>o&&(t-=20+r),l.prototype.setPosition.call(this,e,t)},Object.defineProperty(t,"annotationLabels",{get:function(){return{error:{singular:c("error"),plural:c("errors")},warning:{singular:c("warning"),plural:c("warnings")},info:{singular:c("information message"),plural:c("information messages")}}},enumerable:!1,configurable:!0}),t.prototype.showTooltip=function(e){var n,o=this.editor.renderer.$gutterLayer,i=o.$annotations[e];n=i?{text:Array.from(i.text),type:Array.from(i.type)}:{text:[],type:[]};var r=o.session.getFoldLine(e);if(r&&o.$showFoldedAnnotations){for(var s,a={error:[],warning:[],info:[]},l=e+1;l<=r.end.row;l++)if(o.$annotations[l])for(var c=0;c ").concat(n.text[l]);d[n.type[l].replace("_fold","")].push(g)}var f=[].concat(d.error,d.warning,d.info).join("
    ");this.setHtml(f),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},t.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},t.annotationsToSummaryString=function(e){var n,o,i=[];try{for(var s=r(["error","warning","info"]),a=s.next();!a.done;a=s.next()){var l=a.value;if(e[l].length){var c=1===e[l].length?t.annotationLabels[l].singular:t.annotationLabels[l].plural;i.push("".concat(e[l].length," ").concat(c))}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return i.join(", ")},t}(l);t.GutterTooltip=u})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("../lib/event"),i=e("../lib/useragent"),r=function(){function e(e,t){this.speed,this.wheelX,this.wheelY,this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return e.prototype.stopPropagation=function(){o.stopPropagation(this.domEvent),this.propagationStopped=!0},e.prototype.preventDefault=function(){o.preventDefault(this.domEvent),this.defaultPrevented=!0},e.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},e.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},e.prototype.getGutterRow=function(){var e=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(e,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},e.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},e.prototype.getButton=function(){return o.getButton(this.domEvent)},e.prototype.getShiftKey=function(){return this.domEvent.shiftKey},e.prototype.getAccelKey=function(){return i.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},e}();t.MouseEvent=r})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("../lib/dom"),i=e("../lib/event"),r=e("../lib/useragent");function s(e){var t=e.editor,n=o.createElement("div");n.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",n.textContent=" ",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.on("mousedown",this.onMouseDown.bind(e));var s,l,c,u,h,d,p,g,f,m,v,b=t.container,y=0;function w(){var e=d;(function(e,n){var o=Date.now(),i=!n||e.row!=n.row,r=!n||e.column!=n.column;!m||i||r?(t.moveCursorToPosition(e),m=o,v={x:l,y:c}):a(v.x,v.y,l,c)>5?m=null:o-m>=200&&(t.renderer.scrollCursorIntoView(),m=null)})(d=t.renderer.screenToTextCoordinates(l,c),e),function(e,n){var o=Date.now(),i=t.renderer.layerConfig.lineHeight,r=t.renderer.layerConfig.characterWidth,s=t.renderer.scroller.getBoundingClientRect(),a={x:{left:l-s.left,right:s.right-l},y:{top:c-s.top,bottom:s.bottom-c}},u=Math.min(a.x.left,a.x.right),h=Math.min(a.y.top,a.y.bottom),d={row:e.row,column:e.column};u/r<=2&&(d.column+=a.x.left=200&&t.renderer.scrollCursorIntoView(d):f=o:f=null}(d,e)}function k(){h=t.selection.toOrientedRange(),s=t.session.addMarker(h,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),w(),u=setInterval(w,20),y=0,i.addListener(document,"mousemove",C)}function _(){clearInterval(u),t.session.removeMarker(s),s=null,t.selection.fromOrientedRange(h),t.isFocused()&&!g&&t.$resetCursorStyle(),h=null,d=null,y=0,f=null,m=null,i.removeListener(document,"mousemove",C)}this.onDragStart=function(e){if(this.cancelDrag||!b.draggable){var o=this;return setTimeout((function(){o.startSelect(),o.captureMouse(e)}),0),e.preventDefault()}h=t.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),i.setDragImage&&i.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),i.clearData(),i.setData("Text",t.session.getTextRange()),g=!0,this.setState("drag")},this.onDragEnd=function(e){if(b.draggable=!1,g=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;p||"move"!=n||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&S(e.dataTransfer))return l=e.clientX,c=e.clientY,s||k(),y++,e.dataTransfer.dropEffect=p=E(e),i.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&S(e.dataTransfer))return l=e.clientX,c=e.clientY,s||(k(),y++),null!==x&&(x=null),e.dataTransfer.dropEffect=p=E(e),i.preventDefault(e)},this.onDragLeave=function(e){if(--y<=0&&s)return _(),p=null,i.preventDefault(e)},this.onDrop=function(e){if(d){var n=e.dataTransfer;if(g)switch(p){case"move":h=h.contains(d.row,d.column)?{start:d,end:d}:t.moveText(h,d);break;case"copy":h=t.moveText(h,d,!0)}else{var o=n.getData("Text");h={start:d,end:t.session.insert(d,o)},t.focus(),p=null}return _(),i.preventDefault(e)}},i.addListener(b,"dragstart",this.onDragStart.bind(e),t),i.addListener(b,"dragend",this.onDragEnd.bind(e),t),i.addListener(b,"dragenter",this.onDragEnter.bind(e),t),i.addListener(b,"dragover",this.onDragOver.bind(e),t),i.addListener(b,"dragleave",this.onDragLeave.bind(e),t),i.addListener(b,"drop",this.onDrop.bind(e),t);var x=null;function C(){null==x&&(x=setTimeout((function(){null!=x&&s&&_()}),20))}function S(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function E(e){var t=["copy","copymove","all","uninitialized"],n=r.isMac?e.altKey:e.ctrlKey,o="uninitialized";try{o=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var i="none";return n&&t.indexOf(o)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(o)>=0?i="move":t.indexOf(o)>=0&&(i="copy"),i}}function a(e,t,n,o){return Math.sqrt(Math.pow(n-e,2)+Math.pow(o-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=r.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;r.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),o=e.getButton();if(1===(e.domEvent.detail||1)&&0===o&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=e.domEvent.target||e.domEvent.srcElement;"unselectable"in i&&(i.unselectable="on"),t.getDragDelay()?(r.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(s.prototype),t.DragdropHandler=s})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("./mouse_event").MouseEvent,i=e("../lib/event"),r=e("../lib/dom");t.addTouchListeners=function(e,t){var n,s,a,l,c,u,h,d,p,g="scroll",f=0,m=0,v=0,b=0;function y(){var e,n,o;p||(e=window.navigator&&window.navigator.clipboard,n=!1,o=function(o){var i,s,a=o.target.getAttribute("action");if("more"==a||!n)return n=!n,i=t.getCopyText(),s=t.session.getUndoManager().hasUndo(),void p.replaceChild(r.buildDom(n?["span",!i&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],i&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],i&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],s&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),p.firstChild);"paste"==a?e.readText().then((function(e){t.execCommand(a,e)})):a&&("cut"!=a&&"copy"!=a||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(a)),p.firstChild.style.display="none",n=!1,"openCommandPalette"!=a&&t.focus()},p=r.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(e){g="menu",e.stopPropagation(),e.preventDefault(),t.textInput.focus()},ontouchend:function(e){e.stopPropagation(),e.preventDefault(),o(e)},onclick:o},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container));var i=t.selection.cursor,s=t.renderer.textToScreenCoordinates(i.row,i.column),a=t.renderer.textToScreenCoordinates(0,0).pageX,l=t.renderer.scrollLeft,c=t.container.getBoundingClientRect();p.style.top=s.pageY-c.top-3+"px",s.pageX-c.left1)return clearTimeout(c),c=null,a=-1,void(g="zoom");d=t.$mouseHandler.isMousePressed=!0;var r=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,p=e.timeStamp;l=p;var y=i[0],w=y.clientX,_=y.clientY;Math.abs(n-w)+Math.abs(s-_)>r&&(a=-1),n=e.clientX=w,s=e.clientY=_,v=b=0;var x=new o(e,t);if(h=x.getDocumentPosition(),p-a<500&&1==i.length&&!f)m++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(h);var e=m>=2?t.selection.getLineRange(h.row):t.session.getBracketRange(h);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),g="wait"}();else{m=0;var C=t.selection.cursor,S=t.selection.isEmpty()?C:t.selection.anchor,E=t.renderer.$cursorLayer.getPixelPosition(C,!0),A=t.renderer.$cursorLayer.getPixelPosition(S,!0),T=t.renderer.scroller.getBoundingClientRect(),$=t.renderer.layerConfig.offset,M=t.renderer.scrollLeft,R=function(e,t){return(e/=u)*e+(t=t/r-.75)*t};if(e.clientXO?"cursor":"anchor"),g=O<3.5?"anchor":j<3.5?"cursor":"scroll",c=setTimeout(k,450)}a=p}),t),i.addListener(e,"touchend",(function(e){d=t.$mouseHandler.isMousePressed=!1,u&&clearInterval(u),"zoom"==g?(g="",f=0):c?(t.selection.moveToPosition(h),f=0,y()):"scroll"==g?(f+=60,u=setInterval((function(){f--<=0&&(clearInterval(u),u=null),Math.abs(v)<.01&&(v=0),Math.abs(b)<.01&&(b=0),f<20&&(v*=.9),f<20&&(b*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*v,10*b),e==t.session.getScrollTop()&&(f=0)}),10),w()):y(),clearTimeout(c),c=null}),t),i.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var i=e.touches;if(!(i.length>1||"zoom"==g)){var r=i[0],a=n-r.clientX,u=s-r.clientY;if("wait"==g){if(!(a*a+u*u>4))return e.preventDefault();g="cursor"}n=r.clientX,s=r.clientY,e.clientX=r.clientX,e.clientY=r.clientY;var h=e.timeStamp,d=h-l;if(l=h,"scroll"==g){var p=new o(e,t);p.speed=1,p.wheelX=a,p.wheelY=u,10*Math.abs(a)=e){for(r=h+1;r=e;)r++;for(a=h,l=r-1;a=t.length||2!=(l=n[i-1])&&3!=l||2!=(c=t[i+1])&&3!=c?4:(r&&(c=3),c==l?c:4);case 10:return 2==(l=i>0?n[i-1]:5)&&i+10&&2==n[i-1])return 2;if(r)return 4;for(p=i+1,d=t.length;p=1425&&f<=2303||64286==f;if(l=t[p],m&&(1==l||7==l))return 1}return i<1||5==(l=t[i-1])?4:n[i-1];case 5:return r=!1,s=!0,o;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:r=!1;case h:return 4}}function m(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?0:d[t]:5==n?/[\u0591-\u05f4]/.test(e)?1:0:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?u:/[\u06f0-\u06f9]/.test(e)?2:7:32==n&&t<=8287?p[255&t]:254==n&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="·",t.doBidiReorder=function(e,n,u){if(e.length<2)return{};var d=e.split(""),p=new Array(d.length),v=new Array(d.length),b=[];o=u?1:0,function(e,t,n,u){var h=o?c:l,d=null,p=null,g=null,v=0,b=null,y=-1,w=null,k=null,_=[];if(!u)for(w=0,u=[];w0)if(16==b){for(w=y;w-1){for(w=y;w=0&&8==u[x];x--)t[x]=o}}(d,b,d.length,n);for(var y=0;y7&&n[y]<13||4===n[y]||n[y]===h)?b[y]=t.ON_R:y>0&&"ل"===d[y-1]&&/\u0622|\u0623|\u0625|\u0627/.test(d[y])&&(b[y-1]=b[y]=t.R_H,y++);for(d[d.length-1]===t.DOT&&(b[d.length-1]=t.B),"‫"===d[0]&&(b[0]=t.RLE),y=0;y=0&&(e=this.session.$docRowCache[n])}return e},e.prototype.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,o=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===o;)o=n,e++;else e=this.currentRow;return e},e.prototype.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var n=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var r=this.session.$wrapData[e];r&&(void 0===t&&(t=this.getSplitIndex()),t>0&&r.length?(this.wrapIndent=r.indent,this.wrapOffset=this.wrapIndent*this.charWidths[o.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,i=o.getVisualFromLogicalIdx(n,this.bidiMap),r=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&e<=t&&r[i]%2!=0&&i++;for(var a=0;at&&r[i]%2==0&&(s+=this.charWidths[r[i]]),this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(s+=this.rtlLineOffset),s},e.prototype.getSelections=function(e,t){var n,o=this.bidiMap,i=o.bidiLevels,r=[],s=0,a=Math.min(e,t)-this.wrapIndent,l=Math.max(e,t)-this.wrapIndent,c=!1,u=!1,h=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var d,p=0;p=a&&dn+r/2;){if(n+=r,o===i.length-1){r=0;break}r=this.charWidths[i[++o]]}return o>0&&i[o-1]%2!=0&&i[o]%2==0?(e0&&i[o-1]%2==0&&i[o]%2!=0?t=1+(e>n?this.bidiMap.logicalFromVisual[o]:this.bidiMap.logicalFromVisual[o-1]):this.isRtlDir&&o===i.length-1&&0===r&&i[o-1]%2==0||!this.isRtlDir&&0===o&&i[o]%2!=0?t=1+this.bidiMap.logicalFromVisual[o]:(o>0&&i[o-1]%2!=0&&0!==r&&o--,t=this.bidiMap.logicalFromVisual[o]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent},e}();t.BidiHandler=s})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,n){"use strict";var o=e("./lib/oop"),i=e("./lib/lang"),r=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=function(){function e(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var t=this;this.cursor.on("change",(function(e){t.$cursorChanged=!0,t.$silent||t._emit("changeCursor"),t.$isEmpty||t.$silent||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.anchor.on("change",(function(){t.$anchorChanged=!0,t.$isEmpty||t.$silent||t._emit("changeSelection")}))}return e.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},e.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},e.prototype.getCursor=function(){return this.lead.getPosition()},e.prototype.setAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},e.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},e.prototype.getSelectionLead=function(){return this.lead.getPosition()},e.prototype.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},e.prototype.getRange=function(){var e=this.anchor,t=this.lead;return this.$isEmpty?s.fromPoints(t,t):this.isBackwards()?s.fromPoints(t,e):s.fromPoints(e,t)},e.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},e.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},e.prototype.setRange=function(e,t){var n=t?e.end:e.start,o=t?e.start:e.end;this.$setSelection(n.row,n.column,o.row,o.column)},e.prototype.$setSelection=function(e,t,n,o){if(!this.$silent){var i=this.$isEmpty,r=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(n,o),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||i!=this.$isEmpty||r)&&this._emit("changeSelection")}},e.prototype.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},e.prototype.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},e.prototype.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},e.prototype.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},e.prototype.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},e.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},e.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},e.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},e.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},e.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},e.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},e.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},e.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},e.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},e.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},e.prototype.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},e.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},e.prototype.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},e.prototype.getLineRange=function(e,t){var n,o="number"==typeof e?e:this.lead.row,i=this.session.getFoldLine(o);return i?(o=i.start.row,n=i.end.row):n=o,!0===t?new s(o,0,n,this.session.getLine(n).length):new s(o,0,n+1,0)},e.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},e.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},e.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},e.prototype.wouldMoveIntoSoftTab=function(e,t,n){var o=e.column,i=e.column+t;return n<0&&(o=e.column-t,i=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(o,i).split(" ").length-1==t},e.prototype.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},e.prototype.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=o)}}this.moveCursorTo(t.row,t.column)},e.prototype.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},e.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},e.prototype.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),o=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(e,t,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(o)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,o=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(r)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},e.prototype.$shortWordEndIndex=function(e){var t,n=0,o=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&o.test(t);)n++;if(n<1)for(i.lastIndex=0;(t=e[n])&&!i.test(t);)if(i.lastIndex=0,n++,o.test(t)){if(n>2){n--;break}for(;(t=e[n])&&o.test(t);)n++;if(n>2)break}}return i.lastIndex=0,n},e.prototype.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),o=n.substring(t),i=this.session.getFoldAt(e,t,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(t==n.length){var r=this.doc.getLength();do{e++,o=this.doc.getLine(e)}while(e0&&/^\s*$/.test(o));n=o.length,/\s+$/.test(o)||(o="")}var r=i.stringReverse(o),s=this.$shortWordEndIndex(r);return this.moveCursorTo(t,n-s)},e.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},e.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},e.prototype.moveCursorBy=function(e,t){var n,o=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(o.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(o.column),o.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=o.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?o.column=this.$desiredColumn:this.$desiredColumn=o.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var i=this.session.lineWidgets[this.lead.row];e<0?e-=i.rowsAbove||0:e>0&&(e+=i.rowCount-(i.rowsAbove||0))}var r=this.session.screenToDocumentPosition(o.row+e,o.column,n);0!==e&&0===t&&r.row===this.lead.row&&(r.column,this.lead.column),this.moveCursorTo(r.row,r.column+t,0===t)},e.prototype.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},e.prototype.moveCursorTo=function(e,t,n){var o=this.session.getFoldAt(e,t,1);o&&(e=o.start.row,t=o.start.column),this.$keepDesiredColumnOnChange=!0;var i=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(i.charAt(t))&&i.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},e.prototype.moveCursorToScreen=function(e,t,n){var o=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(o.row,o.column,n)},e.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},e.prototype.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},e.prototype.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},e.prototype.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return s.fromPoints(t,n)}catch(e){return s.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},e.prototype.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},e.prototype.fromJSON=function(e){if(null==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=s.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},e.prototype.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0},e}();a.prototype.setSelectionAnchor=a.prototype.setAnchor,a.prototype.getSelectionAnchor=a.prototype.getAnchor,a.prototype.setSelectionRange=a.prototype.setRange,o.implement(a.prototype,r),t.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],(function(e,t,n){"use strict";var o=e("./lib/report_error").reportError,i=2e3,r=function(){function e(e){for(var t in this.splitRegex,this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],o=[],i=0,r=this.matchMappings[t]={defaultToken:"text"},s="g",a=[],l=0;l1?this.$applyToken:c.token),h>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+i+1)})):(h=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),r[i]=l,i+=h,o.push(u),c.onMatch||(c.onMatch=null)}}o.length||(r[0]=0,o.push("$")),a.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,s)}),this),this.regExps[t]=new RegExp("("+o.join(")|(")+")|($)",s)}}return e.prototype.$setMaxTokenCount=function(e){i=0|e},e.prototype.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var o=[],i=0,r=n.length;iu){var v=e.substring(u,m-f.length);d.type==p?d.value+=v:(d.type&&c.push(d),d={type:p,value:v})}for(var b=0;bi){for(h>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&n[0]!==o&&n.unshift("#tmp",o),{tokens:c,state:n.length?n:o}},e}();r.prototype.reportError=o,t.Tokenizer=r})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,n){"use strict";var o,i=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var o=e[n],i=0;i=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentTokenRow=function(){return this.$row},e.prototype.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},e.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},e.prototype.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new o(this.$row,t,this.$row,t+e.value.length)},e}();t.TokenIterator=i})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,n){"use strict";var o,i,r=e("../../lib/oop"),s=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,l=e("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],u=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],h={},d={'"':'"',"'":"'"},p=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,h.rangeCount!=e.multiSelect.rangeCount&&(h={rangeCount:e.multiSelect.rangeCount})),h[t])return o=h[t];o=h[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},g=function(e,t,n,o){var i=e.end.row-e.start.row;return{text:n+t+o,selection:[0,e.start.column+1,i,e.end.column+(i?0:1)]}};(i=function(e){e=e||{},this.add("braces","insertion",(function(t,n,r,s,a){var c=r.getCursorPosition(),u=s.doc.getLine(c.row);if("{"==a){p(r);var h=r.getSelectionRange(),d=s.doc.getTextRange(h);if(""!==d&&"{"!==d&&r.getWrapBehavioursEnabled())return g(h,d,"{","}");if(i.isSaneInsertion(r,s))return/[\]\}\)]/.test(u[c.column])||r.inMultiSelectMode||e.braces?(i.recordAutoInsert(r,s,"}"),{text:"{}",selection:[1,1]}):(i.recordMaybeInsert(r,s,"{"),{text:"{",selection:[1,1]})}else if("}"==a){if(p(r),"}"==u.substring(c.column,c.column+1)&&null!==s.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&i.isAutoInsertedClosing(c,u,a))return i.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==a||"\r\n"==a){p(r);var f="";if(i.isMaybeInsertedClosing(c,u)&&(f=l.stringRepeat("}",o.maybeInsertedBrackets),i.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var m=s.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!m)return null;var v=this.$getIndent(s.getLine(m.row))}else{if(!f)return void i.clearMaybeInsertedClosing();v=this.$getIndent(u)}var b=v+s.getTabString();return{text:"\n"+b+"\n"+v+f,selection:[1,b.length,1,b.length]}}i.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,i,r){var s=i.doc.getTextRange(r);if(!r.isMultiLine()&&"{"==s){if(p(n),"}"==i.doc.getLine(r.start.row).substring(r.end.column,r.end.column+1))return r.end.column++,r;o.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,n,o,r){if("("==r){p(n);var s=n.getSelectionRange(),a=o.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return g(s,a,"(",")");if(i.isSaneInsertion(n,o))return i.recordAutoInsert(n,o,")"),{text:"()",selection:[1,1]}}else if(")"==r){p(n);var l=n.getCursorPosition(),c=o.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1)&&null!==o.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&i.isAutoInsertedClosing(l,c,r))return i.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,o,i){var r=o.doc.getTextRange(i);if(!i.isMultiLine()&&"("==r&&(p(n),")"==o.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("brackets","insertion",(function(e,t,n,o,r){if("["==r){p(n);var s=n.getSelectionRange(),a=o.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return g(s,a,"[","]");if(i.isSaneInsertion(n,o))return i.recordAutoInsert(n,o,"]"),{text:"[]",selection:[1,1]}}else if("]"==r){p(n);var l=n.getCursorPosition(),c=o.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1)&&null!==o.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&i.isAutoInsertedClosing(l,c,r))return i.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,o,i){var r=o.doc.getTextRange(i);if(!i.isMultiLine()&&"["==r&&(p(n),"]"==o.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("string_dquotes","insertion",(function(e,t,n,o,i){var r=o.$mode.$quotes||d;if(1==i.length&&r[i]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(i))return;p(n);var s=i,a=n.getSelectionRange(),l=o.doc.getTextRange(a);if(!(""===l||1==l.length&&r[l])&&n.getWrapBehavioursEnabled())return g(a,l,s,s);if(!l){var c=n.getCursorPosition(),u=o.doc.getLine(c.row),h=u.substring(c.column-1,c.column),f=u.substring(c.column,c.column+1),m=o.getTokenAt(c.row,c.column),v=o.getTokenAt(c.row,c.column+1);if("\\"==h&&m&&/escape/.test(m.type))return null;var b,y=m&&/string|escape/.test(m.type),w=!v||/string|escape/.test(v.type);if(f==s)(b=y!==w)&&/string\.end/.test(v.type)&&(b=!1);else{if(y&&!w)return null;if(y&&w)return null;var k=o.$mode.tokenRe;k.lastIndex=0;var _=k.test(h);k.lastIndex=0;var x=k.test(f),C=o.$mode.$pairQuotesAfter;if(!(C&&C[s]&&C[s].test(h))&&_||x)return null;if(f&&!/[\s;,.})\]\\]/.test(f))return null;var S=u[c.column-2];if(h==s&&(S==s||k.test(S)))return null;b=!0}return{text:b?s+s:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,o,i){var r=o.$mode.$quotes||d,s=o.doc.getTextRange(i);if(!i.isMultiLine()&&r.hasOwnProperty(s)&&(p(n),o.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)==s))return i.end.column++,i})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,n,o,i){if("doc-start"===e&&("\n"===i||"\r\n"===i)&&n.selection.isEmpty()){var r=n.getCursorPosition(),s=o.doc.getLine(r.row),a=o.doc.getLine(r.row+1),l=this.$getIndent(s);if(/\s*\*/.test(a))return/^\s*\*/.test(s)?{text:i+l+"* ",selection:[1,3+l.length,1,3+l.length]}:{text:i+l+" * ",selection:[1,3+l.length,1,3+l.length]};if(/\/\*\*/.test(s.substring(0,r.column)))return{text:i+l+" * "+i+" "+l+"*/",selection:[1,4+l.length,1,4+l.length]}}}))}).isSaneInsertion=function(e,t){var n=e.getCursorPosition(),o=new a(t,n.row,n.column);if(!this.$matchTokenType(o.getCurrentToken()||"text",c)){if(/[)}\]]/.test(e.session.getLine(n.row)[n.column]))return!0;var i=new a(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",c))return!1}return o.stepForward(),o.getCurrentTokenRow()!==n.row||this.$matchTokenType(o.getCurrentToken()||"text",u)},i.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},i.recordAutoInsert=function(e,t,n){var i=e.getCursorPosition(),r=t.doc.getLine(i.row);this.isAutoInsertedClosing(i,r,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=i.row,o.autoInsertedLineEnd=n+r.substr(i.column),o.autoInsertedBrackets++},i.recordMaybeInsert=function(e,t,n){var i=e.getCursorPosition(),r=t.doc.getLine(i.row);this.isMaybeInsertedClosing(i,r)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=i.row,o.maybeInsertedLineStart=r.substr(0,i.column)+n,o.maybeInsertedLineEnd=r.substr(i.column),o.maybeInsertedBrackets++},i.isAutoInsertedClosing=function(e,t,n){return o.autoInsertedBrackets>0&&e.row===o.autoInsertedRow&&n===o.autoInsertedLineEnd[0]&&t.substr(e.column)===o.autoInsertedLineEnd},i.isMaybeInsertedClosing=function(e,t){return o.maybeInsertedBrackets>0&&e.row===o.maybeInsertedRow&&t.substr(e.column)===o.maybeInsertedLineEnd&&t.substr(0,e.column)==o.maybeInsertedLineStart},i.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},i.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},r.inherits(i,s),t.CstyleBehaviour=i})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){"use strict";for(var o=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],i=0,r=[],s=0;s2?o%l!=l-1:o%l==0})}else{if(!this.blockComment)return!1;var p=this.blockComment.start,g=this.blockComment.end,f=new RegExp("^(\\s*)(?:"+c.escapeRegExp(p)+")"),m=new RegExp("(?:"+c.escapeRegExp(g)+")\\s*$"),v=function(e,t){y(e,t)||r&&!/\S/.test(e)||(i.insertInLine({row:t,column:e.length},g),i.insertInLine({row:t,column:a},p))},b=function(e,t){var n;(n=e.match(m))&&i.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(f))&&i.removeInLine(t,n[1].length,n[0].length)},y=function(e,n){if(f.test(e))return!0;for(var o=t.getTokens(n),i=0;ie.length&&(k=e.length)})),a==1/0&&(a=k,r=!1,s=!1),u&&a%l!=0&&(a=Math.floor(a/l)*l),w(s?b:v)},this.toggleBlockComment=function(e,t,n,o){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var r,s,a=(f=new u(t,o.row,o.column)).getCurrentToken(),l=(t.selection,t.selection.toOrientedRange());if(a&&/comment/.test(a.type)){for(var c,d;a&&/comment/.test(a.type);){if(-1!=(m=a.value.indexOf(i.start))){var p=f.getCurrentTokenRow(),g=f.getCurrentTokenColumn()+m;c=new h(p,g,p,g+i.start.length);break}a=f.stepBackward()}var f;for(a=(f=new u(t,o.row,o.column)).getCurrentToken();a&&/comment/.test(a.type);){var m;if(-1!=(m=a.value.indexOf(i.end))){p=f.getCurrentTokenRow(),g=f.getCurrentTokenColumn()+m,d=new h(p,g,p,g+i.end.length);break}a=f.stepForward()}d&&t.remove(d),c&&(t.remove(c),r=c.start.row,s=-i.start.length)}else s=i.start.length,r=n.start.row,t.insert(n.end,i.end),t.insert(n.start,i.start);l.start.row==r&&(l.start.column+=s),l.end.row==r&&(l.end.column+=s),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var n=e[t],o=n.prototype.$id,r=i.$modes[o];r||(i.$modes[o]=r=new n),i.$modes[t]||(i.$modes[t]=r),this.$embeds.push(t),this.$modes[t]=r}var s=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],a=function(e){var t,n,o;o=(t=l)[n=s[e]],t[s[e]]=function(){return this.$delegator(n,arguments,o)}},l=this;for(t=0;tthis.row)){var t=function(e,t,n){var o="insert"==e.action,i=(o?1:-1)*(e.end.row-e.start.row),r=(o?1:-1)*(e.end.column-e.start.column),a=e.start,l=o?a:e.end;return s(t,a,n)?{row:t.row,column:t.column}:s(l,t,!n)?{row:t.row+i,column:t.column+(t.row==l.row?r:0)}:{row:a.row,column:a.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},e.prototype.setPosition=function(e,t,n){var o;if(o=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=o.row||this.column!=o.column){var i={row:this.row,column:this.column};this.row=o.row,this.column=o.column,this._signal("change",{old:i,value:o})}},e.prototype.detach=function(){this.document.off("change",this.$onChange)},e.prototype.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},e.prototype.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n},e}();function s(e,t,n){var o=n?e.column<=t.column:e.column=n&&(e=n-1,t=void 0);var o=this.getLine(e);return null==t&&(t=o.length),{row:e,column:t=Math.min(Math.max(t,0),o.length)}},e.prototype.clonePos=function(e){return{row:e.row,column:e.column}},e.prototype.pos=function(e,t){return{row:e,column:t}},e.prototype.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},e.prototype.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,o=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},e.prototype.replace=function(e,t){return e instanceof s||(e=s.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},e.prototype.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},e.prototype.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!s.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(i(this.$lines,e,t),this._signal("change",e)))},e.prototype.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==o&&(o=t),r<=o&&n.fireUpdateEvent(r,o)}}}return e.prototype.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},e.prototype.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},e.prototype.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},e.prototype.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},e.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},e.prototype.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var o=Array(n+1);o.unshift(t,1),this.lines.splice.apply(this.lines,o),this.states.splice.apply(this.states,o)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},e.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},e.prototype.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},e.prototype.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},e.prototype.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],o=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=o.state+""?(this.states[e]=o.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=o.tokens},e.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},e}();o.implement(r.prototype,i),t.BackgroundTokenizer=r})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,n){"use strict";var o=e("./lib/lang"),i=e("./range").Range,r=function(){function e(e,t,n){void 0===n&&(n="text"),this.setRegexp(e),this.clazz=t,this.type=n}return e.prototype.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},e.prototype.update=function(e,t,n,r){if(this.regExp)for(var s=r.firstRow,a=r.lastRow,l={},c=s;c<=a;c++){var u=this.cache[c];null==u&&((u=o.getMatchOffsets(n.getLine(c),this.regExp)).length>this.MAX_RANGES&&(u=u.slice(0,this.MAX_RANGES)),u=u.map((function(e){return new i(c,e.offset,c,e.offset+e.length)})),this.cache[c]=u.length?u:"");for(var h=u.length;h--;){var d=u[h].toScreenRange(n),p=d.toString();l[p]||(l[p]=!0,t.drawSingleLineMarker(e,d,this.clazz,r))}}},e}();r.prototype.MAX_RANGES=500,t.SearchHighlight=r})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=function(){function e(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return e.prototype.addSession=function(e){this.$session=e},e.prototype.add=function(e,t,n){if(!this.$fromUndo&&e!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===t||!this.lastDeltas){this.lastDeltas=[];var o=this.$undoStack.length;o>this.$undoDepth-1&&this.$undoStack.splice(0,o-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev}"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e)}},e.prototype.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},e.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},e.prototype.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var n=this.$undoStack,o=n.length;o--;){var i=n[o][0];if(i.id<=e)break;i.id0},e.prototype.canRedo=function(){return this.$redoStack.length>0},e.prototype.bookmark=function(e){null==e&&(e=this.$rev),this.mark=e},e.prototype.isAtBookmark=function(){return this.$rev===this.mark},e.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},e.prototype.fromJSON=function(e){this.reset(),this.$undoStack=e.$undoStack,this.$redoStack=e.$redoStack},e.prototype.$prettyPrint=function(e){return e?a(e):a(this.$undoStack)+"\n---\n"+a(this.$redoStack)},e}();o.prototype.hasUndo=o.prototype.canUndo,o.prototype.hasRedo=o.prototype.canRedo,o.prototype.isClean=o.prototype.isAtBookmark,o.prototype.markClean=o.prototype.bookmark;var i=e("./range").Range,r=i.comparePoints;function s(e){return{row:e.row,column:e.column}}function a(e){if(e=e||this,Array.isArray(e))return e.map(a).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(l).join("\n"):l(e.value)),e.start&&(t+=l(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function l(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var n="insert"==e.action,o="insert"==t.action;if(n&&o)if(r(t.start,e.end)>=0)d(t,e,-1);else{if(!(r(t.start,e.start)<=0))return null;d(e,t,1)}else if(n&&!o)if(r(t.start,e.end)>=0)d(t,e,-1);else{if(!(r(t.end,e.start)<=0))return null;d(e,t,-1)}else if(!n&&o)if(r(t.start,e.start)>=0)d(t,e,1);else{if(!(r(t.start,e.start)<=0))return null;d(e,t,1)}else if(!n&&!o)if(r(t.start,e.start)>=0)d(t,e,1);else{if(!(r(t.end,e.start)<=0))return null;d(e,t,-1)}return[t,e]}function u(e,t){for(var n=e.length;n--;)for(var o=0;o=0?d(e,t,-1):(r(e.start,t.start)<=0||d(e,i.fromPoints(t.start,e.start),-1),d(t,e,1));else if(!n&&o)r(t.start,e.end)>=0?d(t,e,-1):(r(t.start,e.start)<=0||d(t,i.fromPoints(e.start,t.start),-1),d(e,t,1));else if(!n&&!o)if(r(t.start,e.end)>=0)d(t,e,-1);else{var s,a;if(!(r(t.end,e.start)<=0))return r(e.start,t.start)<0&&(s=e,e=g(e,t.start)),r(e.end,t.end)>0&&(a=g(e,t.end)),p(t.end,e.start,e.end,-1),a&&!s&&(e.lines=a.lines,e.start=a.start,e.end=a.end,a=e),[t,s,a].filter(Boolean);d(e,t,-1)}return[t,e]}function d(e,t,n){p(e.start,t.start,t.end,n),p(e.end,t.start,t.end,n)}function p(e,t,n,o){e.row==(1==o?t:n).row&&(e.column+=o*(n.column-t.column)),e.row+=o*(n.row-t.row)}function g(e,t){var n=e.lines,o=e.end;e.end=s(t);var i=e.end.row-e.start.row,r=n.splice(i,n.length),a=i?t.column:t.column-e.start.column;return n.push(r[0].substring(0,a)),r[0]=r[0].substr(a),{start:s(t),end:o,lines:r,action:e.action}}function f(e,t){t=function(e){return{start:s(e.start),end:s(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var n=e.length;n--;){for(var o=e[n],i=0;ithis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},e.prototype.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},e.prototype.walk=function(e,t,n){var o,i,r=0,s=this.folds,a=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var l=o(e,s.start);return 0===a?t&&0!==l?-r-2:r:l>0||0===l&&!t?r:-r-1}}return-r-1},e.prototype.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var o=this.pointIndex(e.end,t,n);return o<0?o=-o-1:o++,this.ranges.splice(n,o-n,e)},e.prototype.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},e.prototype.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},e.prototype.merge=function(){for(var e,t=[],n=this.ranges,i=(n=n.sort((function(e,t){return o(e.start,t.start)})))[0],r=1;r=0},e.prototype.containsPoint=function(e){return this.pointIndex(e)>=0},e.prototype.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},e.prototype.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row=o);s++);if("insert"==e.action){for(var l=i-o,c=-t.column+n.column;so);s++)if(u.start.row==o&&u.start.column>=t.column&&(u.start.column==t.column&&this.$bias<=0||(u.start.column+=c,u.start.row+=l)),u.end.row==o&&u.end.column>=t.column){if(u.end.column==t.column&&this.$bias<0)continue;u.end.column==t.column&&c>0&&su.start.column&&u.end.column==r[s+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=l}}else for(l=o-i,c=t.column-n.column;si);s++)u.end.rowt.column)&&(u.end.column=t.column,u.end.row=t.row):(u.end.column+=c,u.end.row+=l):u.end.row>i&&(u.end.row+=l),u.start.rowt.column)&&(u.start.column=t.column,u.start.row=t.row):(u.start.column+=c,u.start.row+=l):u.start.row>i&&(u.start.row+=l);if(0!=l&&s=e)return i;if(i.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,o=0;for(t&&(o=n.indexOf(t)),-1==o&&(o=0);o=e)return i}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,o=t-e+1,i=0;i=t){a=e?o-=t-a:o=0);break}s>=e&&(o-=a>=e?s-a:s-e+1)}return o},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,o=this.$foldData,s=!1;e instanceof r?n=e:(n=new r(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column,h=this.getFoldAt(a,l,1),d=this.getFoldAt(c,u,-1);if(h&&d==h)return h.addSubFold(n);h&&!h.range.isStart(a,l)&&this.removeFold(h),d&&!d.range.isEnd(c,u)&&this.removeFold(d);var p=this.getFoldsInRange(n.range);p.length>0&&(this.removeFolds(p),n.collapseChildren||p.forEach((function(e){n.addSubFold(e)})));for(var g=0;g0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,i;if(null==e)n=new o(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)n=new o(e,0,e,this.getLine(e).length);else if("row"in e)n=o.fromPoints(e,e);else{if(Array.isArray(e))return i=[],e.forEach((function(e){i=i.concat(this.unfold(e))}),this),i;n=e}for(var r=i=this.getFoldsInRangeList(n);1==i.length&&o.comparePoints(i[0].start,n.start)<0&&o.comparePoints(i[0].end,n.end)>0;)this.expandFolds(i),i=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(i):this.expandFolds(i),r.length)return r},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,o,i){null==o&&(o=e.start.row),null==i&&(i=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var r=this.doc,s="";return e.walk((function(e,t,n,a){if(!(tu)break}while(r&&l.test(r.type)&&!/^comment.start/.test(r.type));r=i.stepBackward()}else r=i.getCurrentToken();return c.end.row=i.getCurrentTokenRow(),c.end.column=i.getCurrentTokenColumn(),/^comment.end/.test(r.type)||(c.end.column+=r.value.length-2),c}},this.foldAll=function(e,t,n,o){null==n&&(n=1e5);var i=this.foldWidgets;if(i){t=t||this.getLength();for(var r=e=e||0;r=e&&(r=s.end.row,s.collapseChildren=n,this.addFold("...",s))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var n=e.getTokens(t),o=0;o=0;){var r=n[i];if(null==r&&(r=n[i]=this.getFoldWidget(i)),"start"==r){var s=this.getFoldWidgetRange(i);if(o||(o=s),s&&s.end.row>=e)break}i--}return{range:-1!==i&&s,firstRange:o}},this.onFoldWidgetClick=function(e,t){t instanceof a&&(t=t.domEvent);var n={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var o=t.target||t.srcElement;o&&/ace_fold-widget/.test(o.className)&&(o.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),o=this.getLine(e),i="end"===n?-1:1,r=this.getFoldAt(e,-1===i?0:o.length,i);if(r)return t.children||t.all?this.removeFold(r):this.expandFold(r),r;var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(r=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(r.range))return this.removeFold(r),r;if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,c=a.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=s?s.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):s&&(t.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var o=this.getParentFoldRangeData(t,!0);if(n=o.range||o.firstRange){t=n.start.row;var i=this.getFoldAt(t,this.getLine(t).length,1);i?this.removeFold(i):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var o=Array(n+1);o.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,o)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var o=e("../token_iterator").TokenIterator,i=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var o=n.match(/([\(\[\{])|([\)\]\}])/);return o?o[1]?this.$findClosingBracket(o[1],e):this.$findOpeningBracket(o[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),o=!0,r=n.charAt(e.column-1),s=r&&r.match(/([\(\[\{])|([\)\]\}])/);if(s||(r=n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(/([\(\[\{])|([\)\]\}])/),o=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=i.fromPoints(e,a),o||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],e)))return null;t=i.fromPoints(a,e),o||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e,t){var n=this.getLine(e.row),o=/([\(\[\{])|([\)\]\}])/,r=!t&&n.charAt(e.column-1),s=r&&r.match(o);if(s||(r=(void 0===t||t)&&n.charAt(e.column),e={row:e.row,column:e.column+1},s=r&&r.match(o)),!s)return null;var a=new i(e.row,e.column-1,e.row,e.column),l=s[1]?this.$findClosingBracket(s[1],e):this.$findOpeningBracket(s[2],e);return l?[a,new i(l.row,l.column,l.row,l.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var i=this.$brackets[e],r=1,s=new o(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var l=t.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;l>=0;){var u=c.charAt(l);if(u==i){if(0==(r-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else u==e&&(r+=1);l-=1}do{a=s.stepBackward()}while(a&&!n.test(a.type));if(null==a)break;l=(c=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var i=this.$brackets[e],r=1,s=new o(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var l=t.column-s.getCurrentTokenColumn();;){for(var c=a.value,u=c.length;l"===t.value?o=!0:-1!==t.type.indexOf("tag-name")&&(n=!0))}while(t&&!n);return t},this.$findClosingTag=function(e,t){var n,o=t.value,r=t.value,s=0,a=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var l=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length),c=!1;do{if(n=t,t=e.stepForward()){if(">"===t.value&&!c){var u=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(-1!==t.type.indexOf("tag-name")){if(r===(o=t.value))if("<"===n.value)s++;else if(""!==t.value)return;var p=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else r===o&&"/>"===t.value&&--s<0&&(p=d=h=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),u=new i(l.end.row,l.end.column,l.end.row,l.end.column+1))}}while(t&&s>=0);if(a&&u&&h&&p&&l&&d)return{openTag:new i(a.start.row,a.start.column,u.end.row,u.end.column),closeTag:new i(h.start.row,h.start.column,p.end.row,p.end.column),openTagName:l,closeTagName:d}},this.$findOpeningTag=function(e,t){var n=e.getCurrentToken(),o=t.value,r=0,s=e.getCurrentTokenRow(),a=e.getCurrentTokenColumn(),l=a+2,c=new i(s,a,s,l);e.stepForward();var u=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length);if((t=e.stepForward())&&">"===t.value){var h=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);e.stepBackward(),e.stepBackward();do{if(t=n,s=e.getCurrentTokenRow(),l=(a=e.getCurrentTokenColumn())+t.value.length,n=e.stepBackward(),t)if(-1!==t.type.indexOf("tag-name")){if(o===t.value)if("<"===n.value){if(++r>0){var d=new i(s,a,s,l),p=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var g=new i(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else""===t.value){for(var f=0,m=n;m;){if(-1!==m.type.indexOf("tag-name")&&m.value===o){r--;break}if("<"===m.value)break;m=e.stepBackward(),f++}for(var v=0;vn&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},e.prototype.$getRowCacheIndex=function(e,t){for(var n=0,o=e.length-1;n<=o;){var i=n+o>>1,r=e[i];if(t>r)n=i+1;else{if(!(t=t);r++);return(n=o[r])?(n.index=r,n.start=i-n.value.length,n):null},e.prototype.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=i.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},e.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},e.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},e.prototype.getTabString=function(){return this.getUseSoftTabs()?i.stringRepeat(" ",this.getTabSize()):"\t"},e.prototype.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},e.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},e.prototype.setTabSize=function(e){this.setOption("tabSize",e)},e.prototype.getTabSize=function(){return this.$tabSize},e.prototype.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},e.prototype.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},e.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},e.prototype.setOverwrite=function(e){this.setOption("overwrite",e)},e.prototype.getOverwrite=function(){return this.$overwrite},e.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},e.prototype.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},e.prototype.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},e.prototype.getBreakpoints=function(){return this.$breakpoints},e.prototype.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(o=!!n.charAt(t-1).match(this.tokenRe)),o||(o=!!n.charAt(t).match(this.tokenRe)),o)var i=this.tokenRe;else i=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var r=t;if(r>0){do{r--}while(r>=0&&n.charAt(r).match(i));r++}for(var s=t;se&&(e=t.screenWidth)})),this.lineWidgetWidth=e},e.prototype.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,o=0,i=0,r=this.$foldData[i],s=r?r.start.row:1/0,a=t.length,l=0;ls){if((l=r.end.row+1)>=a)break;s=(r=this.$foldData[i++])?r.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>o&&(o=n[l])}this.screenWidth=o}},e.prototype.getLine=function(e){return this.doc.getLine(e)},e.prototype.getLines=function(e,t){return this.doc.getLines(e,t)},e.prototype.getLength=function(){return this.doc.getLength()},e.prototype.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},e.prototype.insert=function(e,t){return this.doc.insert(e,t)},e.prototype.remove=function(e){return this.doc.remove(e)},e.prototype.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},e.prototype.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=e.length-1;-1!=n;n--){var o=e[n];"insert"==o.action||"remove"==o.action?this.doc.revertDelta(o):o.folds&&this.addFolds(o.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},e.prototype.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=0;ne.end.column&&(r.start.column+=c),r.end.row==e.end.row&&r.end.column>e.end.column&&(r.end.column+=c)),s&&r.start.row>=e.end.row&&(r.start.row+=s,r.end.row+=s)}if(r.end=this.insert(r.start,o),i.length){var a=e.start,l=r.start,c=(s=l.row-a.row,l.column-a.column);this.addFolds(i.map((function(e){return(e=e.clone()).start.row==a.row&&(e.start.column+=c),e.end.row==a.row&&(e.end.column+=c),e.start.row+=s,e.end.row+=s,e})))}return r},e.prototype.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var o=e;o<=t;o++)this.doc.insertInLine({row:o,column:0},n)},e.prototype.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),o=this.getTabSize(),i=t.start.row;i<=t.end.row;++i){var r=this.getLine(i);n.start.row=i,n.end.row=i;for(var s=0;s0){var i;if((i=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;o=i-t}else e=this.$clipRowToDocument(e),o=(t=this.$clipRowToDocument(t))-e+1;var r=new u(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(r).map((function(e){return(e=e.clone()).start.row+=o,e.end.row+=o,e})),a=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+o,a),s.length&&this.addFolds(s),o},e.prototype.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},e.prototype.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},e.prototype.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},e.prototype.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},e.prototype.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},e.prototype.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},e.prototype.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},e.prototype.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},e.prototype.getUseWrapMode=function(){return this.$useWrapMode},e.prototype.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},e.prototype.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var o=this.$constrainWrapLimit(e,n.min,n.max);return o!=this.$wrapLimit&&o>1&&(this.$wrapLimit=o,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},e.prototype.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},e.prototype.getWrapLimit=function(){return this.$wrapLimit},e.prototype.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},e.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},e.prototype.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,o=e.start,i=e.end,r=o.row,s=i.row,a=s-r,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(r,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(f=this.getFoldLine(i.row)){f.addRemoveChars(i.row,i.column,o.column-i.column),f.shiftRow(-a);var h=this.getFoldLine(r);h&&h!==f&&(h.merge(f),f=h),u=c.indexOf(f)+1}for(;u=i.row&&f.shiftRow(-a);s=r}else{var d=Array(a);d.unshift(r,0);var p=t?this.$wrapData:this.$rowLengthCache;if(p.splice.apply(p,d),c=this.$foldData,u=0,f=this.getFoldLine(r)){var g=f.range.compareInside(o.row,o.column);0==g?(f=f.split(o.row,o.column))&&(f.shiftRow(a),f.addRemoveChars(s,0,i.column-o.column)):-1==g&&(f.addRemoveChars(r,0,i.column-o.column),f.shiftRow(a)),u=c.indexOf(f)+1}for(;u=r&&f.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a),(f=this.getFoldLine(r))&&f.addRemoveChars(r,o.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(r,s):this.$updateRowLengthCache(r,s),l},e.prototype.$updateRowLengthCache=function(e,t){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},e.prototype.$updateWrapData=function(e,t){var n,o,i=this.doc.getAllLines(),r=this.getTabSize(),s=this.$wrapData,a=this.$wrapLimit,l=e;for(t=Math.min(t,i.length-1);l<=t;)(o=this.getFoldLine(l,o))?(n=[],o.walk(function(e,t,o,r){var s;if(null!=e){(s=this.$getDisplayTokens(e,n.length))[0]=b;for(var a=1;at-h;){var d=r+t-h;if(e[d-1]>=k&&e[d]>=k)u(d);else if(e[d]!=b&&e[d]!=y){for(var p=Math.max(d-(t-(t>>2)),r-1);d>p&&e[d]p&&e[d]p&&e[d]==w;)d--}else for(;d>p&&e[d]p?u(++d):(e[d=r+t]==v&&d--,u(d-h))}else{for(;d!=r-1&&e[d]!=b;d--);if(d>r){u(d);continue}for(d=r+t;d39&&r<48||r>57&&r<64?o.push(w):r>=4352&&C(r)?o.push(m,v):o.push(m)}return o},e.prototype.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var o,i;for(null==t&&(t=1/0),n=n||0,i=0;i=4352&&C(o)?n+=2:n+=1,!(n>t));i++);return[n,i]},e.prototype.getRowLength=function(e){var t=1;return this.lineWidgets&&(t+=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0),this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+t:t},e.prototype.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},e.prototype.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0){a=c[u],r=this.$docRowCache[u];var d=e>c[h-1]}else d=!h;for(var p=this.getLength()-1,g=this.getNextFoldLine(r),f=g?g.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(r))>e||r>=p);)a+=l,++r>f&&(r=g.end.row+1,f=(g=this.getNextFoldLine(r,g))?g.start.row:1/0),d&&(this.$docRowCache.push(r),this.$screenRowCache.push(a));if(g&&g.start.row<=r)o=this.getFoldDisplayLine(g),r=g.start.row;else{if(a+l<=e||r>p)return{row:p,column:this.getLine(p).length};o=this.getLine(r),g=null}var m=0,v=Math.floor(e-a);if(this.$useWrapMode){var b=this.$wrapData[r];b&&(i=b[v],v>0&&b.length&&(m=b.indent,s=b[v-1]||b[b.length-1],o=o.substring(s)))}return void 0!==n&&this.$bidiHandler.isBidiRow(a+v,r,v)&&(t=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(o,t-m)[1],this.$useWrapMode&&s>=i&&(s=i-1),g?g.idxToPosition(s):{row:r,column:s}},e.prototype.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var o,i=0,r=null;(o=this.getFoldAt(e,t,1))&&(e=o.start.row,t=o.start.column);var s,a=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){a=l[c],i=this.$screenRowCache[c];var h=e>l[u-1]}else h=!u;for(var d=this.getNextFoldLine(a),p=d?d.start.row:1/0;a=p){if((s=d.end.row+1)>e)break;p=(d=this.getNextFoldLine(s,d))?d.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var g="";d&&a>=p?(g=this.getFoldDisplayLine(d,e,t),r=d.start.row):(g=this.getLine(e).substring(0,t),r=e);var f=0;if(this.$useWrapMode){var m=this.$wrapData[r];if(m){for(var v=0;g.length>=m[v];)i++,v++;g=g.substring(m[v-1]||0,g.length),f=v>0?m.indent:0}}return this.lineWidgets&&this.lineWidgets[a]&&this.lineWidgets[a].rowsAbove&&(i+=this.lineWidgets[a].rowsAbove),{row:i,column:f+this.$getStringScreenWidth(g)[0]}},e.prototype.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},e.prototype.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},e.prototype.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,o=0,i=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);oi&&(o=t.end.row+1,i=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;an);r++);return[o,r]})},e.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},e}();f.$uid=0,f.prototype.$modes=s.$modes,f.prototype.getValue=f.prototype.toString,f.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},f.prototype.$overwrite=!1,f.prototype.$mode=null,f.prototype.$modeId=null,f.prototype.$scrollTop=0,f.prototype.$scrollLeft=0,f.prototype.$wrapLimit=80,f.prototype.$useWrapMode=!1,f.prototype.$wrapLimitRange={min:null,max:null},f.prototype.lineWidgets=null,f.prototype.isFullWidth=C,o.implement(f.prototype,a);var m=1,v=2,b=3,y=4,w=9,k=10,_=11,x=12;function C(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),s.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){(e=parseInt(e))>0&&this.$tabSize!==e&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(e){this.setFoldStyle(e)},handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId},handlesSet:!0}}),t.EditSession=f})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var o=e("./lib/lang"),i=e("./lib/oop"),r=e("./range").Range,s=function(){function e(){this.$options={}}return e.prototype.set=function(e){return i.mixin(this.$options,e),this},e.prototype.getOptions=function(){return o.copyObject(this.$options)},e.prototype.setOptions=function(e){this.$options=e},e.prototype.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var o=null;return n.forEach((function(e,n,i,s){return o=new r(e,n,i,s),!(n==s&&t.start&&t.start.start&&0!=t.skipCurrent&&o.isEqual(t.start)&&(o=null,1))})),o},e.prototype.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),s=[],a=t.re;if(t.$isMultiLine){var l,c=a.length,u=i.length-c;e:for(var h=a.offset||0;h<=u;h++){for(var d=0;df||(s.push(l=new r(h,f,h+c-1,m)),c>2&&(h=h+c-2))}}else for(var v=0;vk&&s[d].end.row==_;)d--;for(s=s.slice(v,d+1),v=0,d=s.length;v=c;n--)if(p(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=u,c=l.row;n>=c;n--)if(p(n,Number.MAX_VALUE,e))return}};else h=function(e){var n=l.row;if(!p(n,l.column,e)){for(n+=1;n<=u;n++)if(p(n,0,e))return;if(0!=t.wrap)for(n=c,u=l.row;n<=u;n++)if(p(n,0,e))return}};if(t.$isMultiLine)var d=n.length,p=function(t,o,r){var s=i?t-d+1:t;if(!(s<0||s+d>e.getLength())){var a=e.getLine(s),l=a.search(n[0]);if(!(!i&&lo))return!!r(s,l,s+d-1,u)||void 0}}};else p=i?function(t,i,r){var a,l=e.getLine(t),c=[],u=0;for(n.lastIndex=0;a=n.exec(l);){var h=a[0].length;if(u=a.index,!h){if(u>=l.length)break;n.lastIndex=u+=o.skipEmptyMatch(l,u,s)}if(a.index+h>i)break;c.push(a.index,h)}for(var d=c.length-1;d>=0;d-=2){var p=c[d-1];if(r(t,p,t,p+(h=c[d])))return!0}}:function(t,i,r){var a,l,c=e.getLine(t);for(n.lastIndex=i;l=n.exec(c);){var u=l[0].length;if(r(t,a=l.index,t,a+u))return!0;if(!u&&(n.lastIndex=a+=o.skipEmptyMatch(c,a,s),a>=c.length))return!1}};return{forEach:h}},e}();t.Search=s})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=e("../lib/keys"),s=e("../lib/useragent"),a=r.KEY_MODS,l=function(){function e(e,t){this.$init(e,t,!1)}return e.prototype.$init=function(e,t,n){this.platform=t||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=n},e.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},e.prototype.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var o=this.commandKeyBinding;for(var i in o){var r=o[i];if(r==e)delete o[i];else if(Array.isArray(r)){var s=r.indexOf(e);-1!=s&&(r.splice(s,1),1==r.length&&(o[i]=r[0]))}}},e.prototype.bindKey=function(e,t,n){if("object"==typeof e&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var o="";if(-1!=e.indexOf(" ")){var i=e.split(/\s+/);e=i.pop(),i.forEach((function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;o+=(o?" ":"")+n,this._addCommandToBinding(o,"chainKeys")}),this),o+=" "}var r=this.parseKeys(e),s=a[r.hashId]+r.key;this._addCommandToBinding(o+s,t,n)}),this)},e.prototype._addCommandToBinding=function(e,t,n){var o,i=this.commandKeyBinding;if(t)if(!i[e]||this.$singleCommand)i[e]=t;else{Array.isArray(i[e])?-1!=(o=i[e].indexOf(t))&&i[e].splice(o,1):i[e]=[i[e]],"number"!=typeof n&&(n=c(t));var r=i[e];for(o=0;on);o++);r.splice(o,0,t)}else delete i[e]},e.prototype.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"==typeof n&&(n.name||(n.name=t),this.addCommand(n))}}),this)},e.prototype.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},e.prototype.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},e.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},e.prototype.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),o=r[n];if(r.FUNCTION_KEYS[o])n=r.FUNCTION_KEYS[o].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var i=0,s=t.length;s--;){var a=r.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;i|=a}return{key:n,hashId:i}},e.prototype.findKeyCommand=function(e,t){var n=a[e]+t;return this.commandKeyBinding[n]},e.prototype.handleKeyboard=function(e,t,n,o){if(!(o<0)){var i=a[t]+n,r=this.commandKeyBinding[i];return e.$keyChain&&(e.$keyChain+=" "+i,r=this.commandKeyBinding[e.$keyChain]||r),!r||"chainKeys"!=r&&"chainKeys"!=r[r.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||o>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-i.length-1)),{command:r}):(e.$keyChain=e.$keyChain||i,{command:"null"})}},e.prototype.getStatusText=function(e,t){return t.$keyChain||""},e}();function c(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}var u=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.$singleCommand=!0,o}return i(t,e),t}(l);u.call=function(e,t,n){l.prototype.$init.call(e,t,n,!0)},l.call=function(e,t,n){l.prototype.$init.call(e,t,n,!1)},t.HashHandler=u,t.MultiHashHandler=l})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=e("../lib/oop"),s=e("../keyboard/hash_handler").MultiHashHandler,a=e("../lib/event_emitter").EventEmitter,l=function(e){function t(t,n){var o=e.call(this,n,t)||this;return o.byName=o.commands,o.setDefaultHandler("exec",(function(e){return e.args?e.command.exec(e.editor,e.args,e.event,!1):e.command.exec(e.editor,{},e.event,!0)})),o}return i(t,e),t.prototype.exec=function(e,t,n){if(Array.isArray(e)){for(var o=e.length;o--;)if(this.exec(e[o],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t))return!1;var i={editor:t,command:e,args:n};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},t.prototype.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},t.prototype.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},t.prototype.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))},t}(s);r.implement(l.prototype,a),t.CommandManager=l})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,n){"use strict";var o=e("../lib/lang"),i=e("../config"),r=e("../range").Range;function s(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(e){i.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(e,t){"number"!=typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(o.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(e){e.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(e){e.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),i=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),s=e.session.doc.getLine(n.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=i.row+1;c++){var u=o.stringTrimLeft(o.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}i.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+a)):(s=e.session.doc.getLine(n.row).length>s?s+1:s,e.selection.moveCursorTo(n.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,o=e.selection.rangeList.ranges,i=[];o.length<1&&(o=[e.selection.getRange()]);for(var s=0;st[n].column&&n++,r.unshift(n,0),t.splice.apply(t,r),this.$updateRows()}}},e.prototype.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},e.prototype.$registerLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];return t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e},e.prototype.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=o.createElement("div"),e.el.innerHTML=e.html),e.text&&!e.el&&(e.el=o.createElement("div"),e.el.textContent=e.text),e.el&&(o.addCssClass(e.el,"ace_lineWidgetContainer"),e.className&&o.addCssClass(e.el,e.className),e.el.style.position="absolute",e.el.style.zIndex="5",t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex="3"),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var n=this.session.getFoldAt(e.row,0);if(e.$fold=n,n){var i=this.session.lineWidgets;e.row!=n.end.row||i[n.start.row]?e.hidden=!0:i[n.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},e.prototype.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(e){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},e.prototype.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],o=[];n;)o.push(n),n=n.$oldWidget;return o},e.prototype.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},e.prototype.measureWidgets=function(e,t){var n=this.session._changedWidgets,o=t.layerConfig;if(n&&n.length){for(var i=1/0,r=0;r0&&!o[i];)i--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=i;s<=r;s++){var a=o[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var c=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(c-=t.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.fixedWidth?a.el.style.right=t.scrollBar.getWidth()+"px":a.el.style.right=""}}}},e}();t.LineWidgets=i})),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],(function(e,t,n){"use strict";var o=e("../lib/keys"),i=e("../mouse/default_gutter_handler").GutterTooltip,r=function(){function e(e){this.editor=e,this.gutterLayer=e.renderer.$gutterLayer,this.element=e.renderer.$gutter,this.lines=e.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new i(this.editor)}return e.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},e.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},e.prototype.$onGutterKeyDown=function(e){if(this.annotationTooltip.isOpen)return e.preventDefault(),void(e.keyCode===o.escape&&this.annotationTooltip.hideTooltip());if(e.target===this.element){if(e.keyCode!=o.enter)return;e.preventDefault();var t=this.editor.getCursorPosition().row;return this.editor.isRowVisible(t)||this.editor.scrollToLine(t,!0,!0),void setTimeout(function(){var e=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),t=this.$findNearestFoldWidget(e),n=this.$findNearestAnnotation(e);if(null!==t||null!==n)return null===t&&null!==n?(this.activeRowIndex=n,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==t&&null===n?(this.activeRowIndex=t,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(n-e)0||e+t=0&&this.$isFoldWidgetVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(e+t))return e+t}return null},e.prototype.$findNearestAnnotation=function(e){if(this.$isAnnotationVisible(e))return e;for(var t=0;e-t>0||e+t=0&&this.$isAnnotationVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isAnnotationVisible(e+t))return e+t}return null},e.prototype.$focusFoldWidget=function(e){if(null!=e){var t=this.$getFoldWidget(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$focusAnnotation=function(e){if(null!=e){var t=this.$getAnnotation(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$blurFoldWidget=function(e){var t=this.$getFoldWidget(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$blurAnnotation=function(e){var t=this.$getAnnotation(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$moveFoldWidgetUp=function(){for(var e=this.activeRowIndex;e>0;)if(e--,this.$isFoldWidgetVisible(e))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=e,void this.$focusFoldWidget(this.activeRowIndex)},e.prototype.$moveFoldWidgetDown=function(){for(var e=this.activeRowIndex;e0;)if(e--,this.$isAnnotationVisible(e))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=e,void this.$focusAnnotation(this.activeRowIndex)},e.prototype.$moveAnnotationDown=function(){for(var e=this.activeRowIndex;e=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=e("./lib/oop"),r=e("./lib/dom"),s=e("./lib/lang"),a=e("./lib/useragent"),l=e("./keyboard/textinput").TextInput,c=e("./mouse/mouse_handler").MouseHandler,u=e("./mouse/fold_handler").FoldHandler,h=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,p=e("./search").Search,g=e("./range").Range,f=e("./lib/event_emitter").EventEmitter,m=e("./commands/command_manager").CommandManager,v=e("./commands/default_commands").commands,b=e("./config"),y=e("./token_iterator").TokenIterator,w=e("./line_widgets").LineWidgets,k=e("./keyboard/gutter_handler").GutterKeyboardHandler,_=e("./config").nls,x=e("./clipboard"),C=e("./lib/keys"),S=function(){function e(t,n,o){this.session,this.$toDestroy=[];var i=t.getContainerElement();this.container=i,this.renderer=t,this.id="editor"+ ++e.$uid,this.commands=new m(a.isMac?"mac":"win",v),"object"==typeof document&&(this.textInput=new l(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new u(this)),this.keyBinding=new h(this),this.$search=(new p).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(e,t){t._$emitInputEvent.schedule(31)})),this.setSession(n||o&&o.session||new d("")),b.resetOptions(this),o&&this.setOptions(o),b._signal("editor",this)}return e.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},e.prototype.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},e.prototype.endOperation=function(e){if(this.curOp&&this.session){if(e&&!1===e.returnValue||!this.session)return this.curOp=null;if(1==e&&this.curOp.command&&"mouse"==this.curOp.command.name)return;if(this._signal("beforeEndOperation"),!this.curOp)return;var t=this.curOp.command,n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var o=this.selection.getRange(),i=this.renderer.layerConfig;(o.start.row>=i.lastRow||o.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}var r=this.selection.toJSON();this.curOp.selectionAfter=r,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(r),this.prevOp=this.curOp,this.curOp=null}},e.prototype.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,o=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var i=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),o=o&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(t.args)),this.mergeNextCommand=!0}else o=o&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(o=!1),o?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},e.prototype.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e&&"ace"!=e){this.$keybindingId=e;var n=this;b.loadModule(["keybinding",e],(function(o){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(o&&o.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},e.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},e.prototype.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&!e.destroyed&&e.bgTokenizer.scheduleStart()}},e.prototype.getSession=function(){return this.session},e.prototype.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},e.prototype.getValue=function(){return this.session.getValue()},e.prototype.getSelection=function(){return this.selection},e.prototype.resize=function(e){this.renderer.onResize(e)},e.prototype.setTheme=function(e,t){this.renderer.setTheme(e,t)},e.prototype.getTheme=function(){return this.renderer.getTheme()},e.prototype.setStyle=function(e){this.renderer.setStyle(e)},e.prototype.unsetStyle=function(e){this.renderer.unsetStyle(e)},e.prototype.getFontSize=function(){return this.getOption("fontSize")||r.computedStyle(this.container).fontSize},e.prototype.setFontSize=function(e){this.setOption("fontSize",e)},e.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&!t.destroyed){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var n=e.getCursorPosition(),o=e.getKeyboardHandler(),i=o&&o.$getDirectionForHighlight&&o.$getDirectionForHighlight(e),r=t.getMatchingBracketRanges(n,i);if(!r){var s=new y(t,n.row,n.column).getCurrentToken();if(s&&/\b(?:tag-open|tag-name)/.test(s.type)){var a=t.getMatchingTags(n);a&&(r=[a.openTagName,a.closeTagName])}}if(!r&&t.$mode.getMatching&&(r=t.$mode.getMatching(e.session)),r){var l="ace_bracket";Array.isArray(r)?1==r.length&&(l="ace_error_bracket"):r=[r],2==r.length&&(0==g.comparePoints(r[0].end,r[1].start)?r=[g.fromPoints(r[0].start,r[1].end)]:0==g.comparePoints(r[0].start,r[1].end)&&(r=[g.fromPoints(r[1].start,r[0].end)])),t.$bracketHighlight={ranges:r,markerIds:r.map((function(e){return t.addMarker(e,l,"text")}))},e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}else e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}}),50)}},e.prototype.focus=function(){this.textInput.focus()},e.prototype.isFocused=function(){return this.textInput.isFocused()},e.prototype.blur=function(){this.textInput.blur()},e.prototype.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},e.prototype.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},e.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},e.prototype.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,t),this._signal("change",e),this.$cursorChange()},e.prototype.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},e.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},e.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},e.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},e.prototype.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(e=!1),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new g(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},e.prototype.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),o=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",o)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},e.prototype.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column,o=t.end.column,i=e.getLine(t.start.row),r=i.substring(n,o);if(!(r.length>5e3)&&/[\w\d]/.test(r)){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:r}),a=i.substring(n-1,o+1);if(s.test(a))return s}}},e.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},e.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},e.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},e.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},e.prototype.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},e.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},e.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},e.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},e.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},e.prototype.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),n=!1;if(!e&&this.$copyWithEmptySelection){n=!0;for(var o=this.selection.getAllRanges(),i=0;ia.search(/\S|$/)){var l=a.substr(i.column).search(/\S|$/);n.doc.removeInLine(i.row,i.column,i.column+l)}}this.clearSelection();var c=i.column,u=n.getState(i.row),h=(a=n.getLine(i.row),o.checkOutdent(u,a,e));if(n.insert(i,e),r&&r.selection&&(2==r.selection.length?this.selection.setSelectionRange(new g(i.row,c+r.selection[0],i.row,c+r.selection[1])):this.selection.setSelectionRange(new g(i.row+r.selection[0],r.selection[1],i.row+r.selection[2],r.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var d=o.getNextLineIndent(u,a.slice(0,i.column),n.getTabString());n.insert({row:i.row+1,column:0},d)}h&&o.autoOutdent(u,n,i.row)}},e.prototype.autoIndent=function(){for(var e=this.session,t=e.getMode(),n=this.selection.isEmpty()?[new g(0,0,e.doc.getLength()-1,0)]:this.selection.getAllRanges(),o="",i="",r="",s=e.getTabString(),a=0;a0&&(o=e.getState(u-1),i=e.getLine(u-1),r=t.getNextLineIndent(o,i,s));var h=e.getLine(u),d=t.$getIndent(h);if(r!==d){if(d.length>0){var p=new g(u,0,u,d.length);e.remove(p)}r.length>0&&e.insert({row:u,column:0},r)}t.autoOutdent(o,e,u)}},e.prototype.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var n=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(n):n(),this.endOperation()},e.prototype.applyComposition=function(e,t){var n;(t.extendLeft||t.extendRight)&&((n=this.selection.getRange()).start.column-=t.extendLeft,n.end.column+=t.extendRight,n.start.column<0&&(n.start.row--,n.start.column+=this.session.getLine(n.start.row).length+1),this.selection.setRange(n),e||n.isEmpty()||this.remove()),!e&&this.selection.isEmpty()||this.insert(e,!0),(t.restoreStart||t.restoreEnd)&&((n=this.selection.getRange()).start.column-=t.restoreStart,n.end.column-=t.restoreEnd,this.selection.setRange(n))},e.prototype.onCommandKey=function(e,t,n){return this.keyBinding.onCommandKey(e,t,n)},e.prototype.setOverwrite=function(e){this.session.setOverwrite(e)},e.prototype.getOverwrite=function(){return this.session.getOverwrite()},e.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},e.prototype.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},e.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},e.prototype.setDragDelay=function(e){this.setOption("dragDelay",e)},e.prototype.getDragDelay=function(){return this.getOption("dragDelay")},e.prototype.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},e.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},e.prototype.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},e.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},e.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},e.prototype.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},e.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},e.prototype.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},e.prototype.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},e.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},e.prototype.setHighlightIndentGuides=function(e){this.renderer.setHighlightIndentGuides(e)},e.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},e.prototype.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},e.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},e.prototype.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},e.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},e.prototype.setReadOnly=function(e){this.setOption("readOnly",e)},e.prototype.getReadOnly=function(){return this.getOption("readOnly")},e.prototype.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},e.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},e.prototype.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},e.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},e.prototype.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},e.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,o=n.getState(t.start.row),i=n.getMode().transformAction(o,"deletion",this,n,t);if(0===t.end.column){var r=n.getTextRange(t);if("\n"==r[r.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}i&&(t=i)}this.session.remove(t),this.clearSelection()},e.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},e.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},e.prototype.setGhostText=function(e,t){this.session.widgetManager||(this.session.widgetManager=new w(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(e,t)},e.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},e.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,o,i=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var i=new g(0,0,0,0);for(o=e.first;o<=e.last;o++){var r=t.getLine(o);i.start.row=o,i.end.row=o,i.end.column=r.length,t.replace(i,n[o-e.first])}},e.prototype.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},e.prototype.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},e.prototype.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var o=this.session.getLine(e);n.lastIndex=t)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},e.prototype.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,o=new g(t,n-1,t,n),i=this.session.getTextRange(o);if(!isNaN(parseFloat(i))&&isFinite(i)){var r=this.getNumberAt(t,n);if(r){var s=r.value.indexOf(".")>=0?r.start+r.value.indexOf(".")+1:r.end,a=r.start+r.value.length-s,l=parseFloat(r.value);l*=Math.pow(10,a),s!==r.end&&n=a&&r<=l&&(n=t,c.selection.clearSelection(),c.moveCursorTo(e,a+o),c.selection.selectTo(e,l+o)),a=l}));for(var u,h=this.$toggleWordPairs,d=0;d=l&&s<=c&&d.match(/((?:https?|ftp):\/\/[\S]+)/)){a=d.replace(/[\s:.,'";}\]]+$/,"");break}l=c}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return a},e.prototype.openLink=function(){var e=this.selection.getCursor(),t=this.findLinkAt(e.row,e.column);return t&&window.open(t,"_blank"),null!=t},e.prototype.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},e.prototype.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),o=e.isBackwards();if(n.isEmpty()){var i=n.start.row;t.duplicateLines(i,i)}else{var r=o?n.start:n.end,s=t.insert(r,t.getTextRange(n));n.start=r,n.end=s,e.setSelectionRange(n,o)}},e.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},e.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},e.prototype.moveText=function(e,t,n){return this.session.moveText(e,t,n)},e.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},e.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},e.prototype.$moveLines=function(e,t){var n,o,i=this.selection;if(!i.inMultiSelectMode||this.inVirtualSelectionMode){var r=i.toOrientedRange();n=this.$getSelectedRows(r),o=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(o=0),r.moveBy(o,0),i.fromOrientedRange(r)}else{var s=i.rangeList.ranges;i.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,l=0,c=s.length,u=0;up+1)break;p=g.last}for(u--,a=this.session.$moveLines(d,p,t?0:e),t&&-1==e&&(h=u+1);h<=u;)s[h].moveBy(a,0),h++;t||(a=0),l+=a}i.fromOrientedRange(i.ranges[0]),i.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},e.prototype.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},e.prototype.onCompositionStart=function(e){this.renderer.showComposition(e)},e.prototype.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},e.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},e.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},e.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},e.prototype.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},e.prototype.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},e.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},e.prototype.$moveByPage=function(e,t){var n=this.renderer,o=this.renderer.layerConfig,i=e*Math.floor(o.height/o.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(i,0)})):!1===t&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection());var r=n.scrollTop;n.scrollBy(0,i*o.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(r)},e.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},e.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},e.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},e.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},e.prototype.scrollPageDown=function(){this.$moveByPage(1)},e.prototype.scrollPageUp=function(){this.$moveByPage(-1)},e.prototype.scrollToRow=function(e){this.renderer.scrollToRow(e)},e.prototype.scrollToLine=function(e,t,n,o){this.renderer.scrollToLine(e,t,n,o)},e.prototype.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},e.prototype.getCursorPosition=function(){return this.selection.getCursor()},e.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},e.prototype.getSelectionRange=function(){return this.selection.getRange()},e.prototype.selectAll=function(){this.selection.selectAll()},e.prototype.clearSelection=function(){this.selection.clearSelection()},e.prototype.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},e.prototype.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},e.prototype.jumpToMatching=function(e,t){var n=this.getCursorPosition(),o=new y(this.session,n.row,n.column),i=o.getCurrentToken(),r=0;i&&-1!==i.type.indexOf("tag-name")&&(i=o.stepBackward());var s=i||o.stepForward();if(s){var a,l,c=!1,u={},h=n.column-s.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(s.value.match(/[{}()\[\]]/g)){for(;h1?u[s.value]++:"=0;--r)this.$tryReplace(n[r],e)&&o++;return this.selection.setSelectionRange(i),o},e.prototype.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},e.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},e.prototype.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&i.mixin(t,e);var o=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(o)||this.$search.$options.needle)||(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var r=this.$search.find(this.session);return t.preventScroll?r:r?(this.revealRange(r,n),r):(t.backwards?o.start=o.end:o.end=o.start,void this.selection.setRange(o))},e.prototype.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},e.prototype.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},e.prototype.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},e.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},e.prototype.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,o=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var r=this.on("changeSelection",(function(){o=!0})),s=this.renderer.on("beforeRender",(function(){o&&(t=n.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(o&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,r=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=r.top-s.offset;null!=(o=r.top>=0&&a+t.top<0||!(r.topwindow.innerHeight)&&null)&&(i.style.top=a+"px",i.style.left=r.left+"px",i.style.height=s.lineHeight+"px",i.scrollIntoView(o)),o=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",r),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},e.prototype.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,r.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},e.prototype.prompt=function(e,t,n){var o=this;b.loadModule("ace/ext/prompt",(function(i){i.prompt(o,e,t,n)}))},e}();S.$uid=0,S.prototype.curOp=null,S.prototype.prevOp={},S.prototype.$mergeableCommands=["backspace","del","insertstring"],S.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],i.implement(S.prototype,f),b.defineOptions(S.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.textInput.setReadOnly(e),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(e){this.textInput.setCopyWithEmptySelection(e)},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(e){this.session.setValue(e)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(e){this.setSession(e)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(e){this.renderer.$gutterLayer.setShowLineNumbers(e),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),e&&this.$relativeLineNumbers?E.attach(this):E.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?E.attach(this):E.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),r.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(e||this.renderer.placeholderNode)!e&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),r.addCssClass(this.container,"ace_hasPlaceholder");var t=r.createElement("div");t.className="ace_placeholder",t.textContent=this.$placeholder||"",this.renderer.placeholderNode=t,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(e){var t,n={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(e){e.blur(),e.renderer.scroller.focus()},readOnly:!0},o=function(e){if(e.target==this.renderer.scroller&&e.keyCode===C.enter){e.preventDefault();var t=this.getCursorPosition().row;this.isRowVisible(t)||this.scrollToLine(t,!0,!0),this.focus()}};e?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(a.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",_("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",_("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",o.bind(this)),this.commands.addCommand(n),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",_("editor")),this.renderer.$gutter.setAttribute("aria-label",_("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),t||(t=new k(this)),t.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",o.bind(this)),this.commands.removeCommand(n),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),t&&t.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var E={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"·":""))+""},getWidth:function(e,t,n){return Math.max(t.toString().length,(n.lastRow+1).toString().length,2)*n.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=S})),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("../lib/dom"),i=function(){function e(e,t){this.element=e,this.canvasHeight=t||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return e.prototype.moveContainer=function(e){o.translate(this.element,0,-e.firstRowScreen*e.lineHeight%this.canvasHeight-e.offset*this.$offsetCoefficient)},e.prototype.pageChanged=function(e,t){return Math.floor(e.firstRowScreen*e.lineHeight/this.canvasHeight)!==Math.floor(t.firstRowScreen*t.lineHeight/this.canvasHeight)},e.prototype.computeLineTop=function(e,t,n){var o=t.firstRowScreen*t.lineHeight,i=Math.floor(o/this.canvasHeight);return n.documentToScreenRow(e,0)*t.lineHeight-i*this.canvasHeight},e.prototype.computeLineHeight=function(e,t,n){return t.lineHeight*n.getRowLineCount(e)},e.prototype.getLength=function(){return this.cells.length},e.prototype.get=function(e){return this.cells[e]},e.prototype.shift=function(){this.$cacheCell(this.cells.shift())},e.prototype.pop=function(){this.$cacheCell(this.cells.pop())},e.prototype.push=function(e){if(Array.isArray(e)){this.cells.push.apply(this.cells,e);for(var t=o.createFragment(this.element),n=0;nr&&(l=i.end.row+1,r=(i=t.getNextFoldLine(l,i))?i.start.row:1/0),l>o){for(;this.$lines.getLength()>a+1;)this.$lines.pop();break}(s=this.$lines.get(++a))?s.row=l:(s=this.$lines.createCell(l,e,this.session,u),this.$lines.push(s)),this.$renderCell(s,e,i,l),l++}this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$updateGutterWidth=function(e){var t=this.session,n=t.gutterRenderer||this.$renderer,o=t.$firstLineNumber,i=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(i=t.getLength()+o-1);var r=n?n.getWidth(t,i,e):i.toString().length*e.characterWidth,s=this.$padding||this.$computePadding();(r+=s.left+s.right)===this.gutterWidth||isNaN(r)||(this.gutterWidth=r,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",r))},e.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},e.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var n=0;n=this.$cursorRow){if(o.row>this.$cursorRow){var i=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&i&&i.start.row==t[n-1].row))break;o=t[n-1]}o.element.className="ace_gutter-active-line "+o.element.className,this.$cursorCell=o;break}}}}},e.prototype.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var n=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),o=this.oldLastRow;if(this.oldLastRow=n,!t||o0;i--)this.$lines.shift();if(o>n)for(i=this.session.getFoldedRowCount(n+1,o);i>0;i--)this.$lines.pop();e.firstRowo&&this.$lines.push(this.$renderLines(e,o+1,n)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$renderLines=function(e,t,n){for(var o=[],i=t,r=this.session.getNextFoldLine(i),s=r?r.start.row:1/0;i>s&&(i=r.end.row+1,s=(r=this.session.getNextFoldLine(i,r))?r.start.row:1/0),!(i>n);){var a=this.$lines.createCell(i,e,this.session,u);this.$renderCell(a,e,r,i),o.push(a),i++}return o},e.prototype.$renderCell=function(e,t,n,i){var r=e.element,s=this.session,a=r.childNodes[0],c=r.childNodes[1],u=r.childNodes[2],h=u.firstChild,d=s.$firstLineNumber,p=s.$breakpoints,g=s.$decorations,f=s.gutterRenderer||this.$renderer,m=this.$showFoldWidgets&&s.foldWidgets,v=n?n.start.row:Number.MAX_VALUE,b=t.lineHeight+"px",y=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",w=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",k=(f?f.getText(s,i):i+d).toString();if(this.$highlightGutterLine&&(i==this.$cursorRow||n&&i=v&&this.$cursorRow<=n.end.row)&&(y+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),p[i]&&(y+=p[i]),g[i]&&(y+=g[i]),this.$annotations[i]&&i!==v&&(y+=this.$annotations[i].className),m){var _=m[i];null==_&&(_=m[i]=s.getFoldWidget(i))}if(_){var x="ace_fold-widget ace_"+_,C="start"==_&&i==v&&in.right-t.right?"foldWidgets":void 0},e}();function u(e){var t=document.createTextNode("");e.appendChild(t);var n=o.createElement("span");e.appendChild(n);var i=o.createElement("span");e.appendChild(i);var r=o.createElement("span");return i.appendChild(r),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer="",c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,i.implement(c.prototype,s),t.Gutter=c})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("../range").Range,i=e("../lib/dom"),r=function(){function e(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)}return e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setMarkers=function(e){this.markers=e},e.prototype.elt=function(e,t){var n=-1!=this.i&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=t,n.className=e},e.prototype.update=function(e){if(e){var t;for(var n in this.config=e,this.i=0,this.markers){var o=this.markers[n];if(o.range){var i=o.range.clipRows(e.firstRow,e.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),o.renderer){var r=this.$getTop(i.start.row,e),s=this.$padding+i.start.column*e.characterWidth;o.renderer(t,i,s,r,e)}else"fullLine"==o.type?this.drawFullLineMarker(t,i,o.clazz,e):"screenLine"==o.type?this.drawScreenLineMarker(t,i,o.clazz,e):i.isMultiLine()?"text"==o.type?this.drawTextMarker(t,i,o.clazz,e):this.drawMultiLineMarker(t,i,o.clazz,e):this.drawSingleLineMarker(t,i,o.clazz+" ace_start ace_br15",e)}else o.update(t,this,this.session,e)}if(-1!=this.i)for(;this.id?4:0)|(c==l?8:0)),i,c==l?0:1,r)},e.prototype.drawMultiLineMarker=function(e,t,n,o,i){var r=this.$padding,s=o.lineHeight,a=this.$getTop(t.start.row,o),l=r+t.start.column*o.characterWidth;if(i=i||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,n+" ace_br1 ace_start",o,null,i)):this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:0;top:"+a+"px;left:"+l+"px;"+(i||"")),this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,n+" ace_br12",o,null,i)}else{a=this.$getTop(t.end.row,o);var u=t.end.column*o.characterWidth;this.elt(n+" ace_br12","height:"+s+"px;width:"+u+"px;top:"+a+"px;left:"+r+"px;"+(i||""))}if(!((s=(t.end.row-t.start.row-1)*o.lineHeight)<=0)){a=this.$getTop(t.start.row+1,o);var h=(t.start.column?1:0)|(t.end.column?0:8);this.elt(n+(h?" ace_br"+h:""),"height:"+s+"px;right:0;top:"+a+"px;left:"+r+"px;"+(i||""))}},e.prototype.drawSingleLineMarker=function(e,t,n,o,i,r){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,o,i,r);var s=o.lineHeight,a=(t.end.column+(i||0)-t.start.column)*o.characterWidth,l=this.$getTop(t.start.row,o),c=this.$padding+t.start.column*o.characterWidth;this.elt(n,"height:"+s+"px;width:"+a+"px;top:"+l+"px;left:"+c+"px;"+(r||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,n,o,i,r){var s=o.lineHeight,a=this.$getTop(t.start.row,o),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(n,"height:"+s+"px;width:"+(e.width+(i||0))+"px;top:"+a+"px;left:"+(l+e.left)+"px;"+(r||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,n,o,i){var r=this.$getTop(t.start.row,o),s=o.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,o)-r),this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(i||""))},e.prototype.drawScreenLineMarker=function(e,t,n,o,i){var r=this.$getTop(t.start.row,o),s=o.lineHeight;this.elt(n,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(i||""))},e}();r.prototype.$padding=0,t.Marker=r})),ace.define("ace/layer/text_util",["require","exports","module"],(function(e,t,n){var o=new Set(["text","rparen","lparen"]);t.isTextToken=function(e){return o.has(e)}})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("../lib/dom"),r=e("../lib/lang"),s=e("./lines").Lines,a=e("../lib/event_emitter").EventEmitter,l=e("../config").nls,c=e("./text_util").isTextToken,u=function(){function e(e){this.dom=i,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return e.prototype.$updateEolChar=function(){var e=this.session.doc,t="\n"==e.getNewLineCharacter()&&"windows"!=e.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},e.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},e.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},e.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},e.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},e.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},e.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},e.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},e.prototype.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,"string"==typeof e?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},e.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},e.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides!==e&&(this.$highlightIndentGuides=e,e)},e.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;nu&&(a=l.end.row+1,u=(l=this.session.getNextFoldLine(a,l))?l.start.row:1/0),!(a>i);){var h=r[s++];if(h){this.dom.removeChildren(h),this.$renderLine(h,a,a==u&&l),c&&(h.style.top=this.$lines.computeLineTop(a,e,this.session)+"px");var d=e.lineHeight*this.session.getRowLength(a)+"px";h.style.height!=d&&(c=!0,h.style.height=d)}a++}if(c)for(;s0;i--)this.$lines.shift();if(t.lastRow>e.lastRow)for(i=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);i>0;i--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},e.prototype.$renderLinesFragment=function(e,t,n){for(var o=[],r=t,s=this.session.getNextFoldLine(r),a=s?s.start.row:1/0;r>a&&(r=s.end.row+1,a=(s=this.session.getNextFoldLine(r,s))?s.start.row:1/0),!(r>n);){var l=this.$lines.createCell(r,e,this.session),c=l.element;this.dom.removeChildren(c),i.setStyle(c.style,"height",this.$lines.computeLineHeight(r,e,this.session)+"px"),i.setStyle(c.style,"top",this.$lines.computeLineTop(r,e,this.session)+"px"),this.$renderLine(c,r,r==a&&s),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",o.push(l),r++}return o},e.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,n=e.lastRow,o=this.$lines;o.getLength();)o.pop();o.push(this.$renderLinesFragment(e,t,n))},e.prototype.$renderToken=function(e,t,n,o){for(var i,s=this,a=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,u=this.dom.createFragment(this.element),h=0;i=a.exec(o);){var d=i[1],p=i[2],g=i[3],f=i[4],m=i[5];if(s.showSpaces||!p){var v=h!=i.index?o.slice(h,i.index):"";if(h=i.index+i[0].length,v&&u.appendChild(this.dom.createTextNode(v,this.element)),d){var b=s.session.getScreenTabSize(t+i.index);u.appendChild(s.$tabStrings[b].cloneNode(!0)),t+=b-1}else p?s.showSpaces?((w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",w.textContent=r.stringRepeat(s.SPACE_CHAR,p.length),u.appendChild(w)):u.appendChild(this.dom.createTextNode(p,this.element)):g?((w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",w.textContent=r.stringRepeat(s.SPACE_CHAR,g.length),u.appendChild(w)):f?(t+=1,(w=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",w.className=s.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",w.textContent=s.showSpaces?s.SPACE_CHAR:f,u.appendChild(w)):m&&(t+=1,(w=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",w.className="ace_cjk",w.textContent=m,u.appendChild(w))}}if(u.appendChild(this.dom.createTextNode(h?o.slice(h):o,this.element)),c(n.type))e.appendChild(u);else{var y="ace_"+n.type.replace(/\./g," ace_"),w=this.dom.createElement("span");"fold"==n.type&&(w.style.width=n.value.length*this.config.characterWidth+"px",w.setAttribute("title",l("Unfold code"))),w.className=y,w.appendChild(u),e.appendChild(w)}return t+o.length},e.prototype.renderIndentGuide=function(e,t,n){var o=t.search(this.$indentGuideRe);if(o<=0||o>=n)return t;if(" "==t[0]){for(var i=(o-=o%this.tabSize)/this.tabSize,r=0;ri[r].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}if(!this.$highlightIndentGuideMarker.end&&""!==e[t.row]&&t.column===e[t.row].length)for(this.$highlightIndentGuideMarker.dir=1,r=t.row+1;r0)for(var o=0;o=this.$highlightIndentGuideMarker.start+1){if(o.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(o,t)}}else for(n=e.length-1;n>=0;n--)if(o=e[n],this.$highlightIndentGuideMarker.end&&o.row=s;)a=this.$renderToken(l,a,u,h.substring(0,s-o)),h=h.substring(s-o),o=s,l=this.$createLineElement(),e.appendChild(l),l.appendChild(this.dom.createTextNode(r.stringRepeat(" ",n.indent),this.element)),a=0,s=n[++i]||Number.MAX_VALUE;0!=h.length&&(o+=h.length,a=this.$renderToken(l,a,u,h))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(l,a,null,"",!0)},e.prototype.$renderSimpleLine=function(e,t){for(var n=0,o=0;othis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,i,r);n=this.$renderToken(e,n,i,r)}}},e.prototype.$renderOverflowMessage=function(e,t,n,o,i){n&&this.$renderToken(e,t,n,o.slice(0,this.MAX_LINE_LENGTH-t));var r=this.dom.createElement("span");r.className="ace_inline_button ace_keyword ace_toggle_wrap",r.textContent=i?"":"",e.appendChild(r)},e.prototype.$renderLine=function(e,t,n){if(n||0==n||(n=this.session.getFoldLine(t)),n)var o=this.$getFoldLineTokens(t,n);else o=this.session.getTokens(t);var i=e;if(o.length){var r=this.session.getRowSplitData(t);r&&r.length?(this.$renderWrappedLine(e,o,r),i=e.lastChild):(i=e,this.$useLineGroups()&&(i=this.$createLineElement(),e.appendChild(i)),this.$renderSimpleLine(i,o))}else this.$useLineGroups()&&(i=this.$createLineElement(),e.appendChild(i));if(this.showEOL&&i){n&&(t=n.end.row);var s=this.dom.createElement("span");s.className="ace_invisible ace_invisible_eol",s.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,i.appendChild(s)}},e.prototype.$getFoldLineTokens=function(e,t){var n=this.session,o=[],i=n.getTokens(e);return t.walk((function(e,t,r,s,a){null!=e?o.push({type:"fold",value:e}):(a&&(i=n.getTokens(t)),i.length&&function(e,t,n){for(var i=0,r=0;r+e[i].value.lengthn-t&&(s=s.substring(0,n-t)),o.push({type:e[i].type,value:s}),r=t+s.length,i+=1);rn?o.push({type:e[i].type,value:s.substring(0,n-r)}):o.push(e[i]),r+=s.length,i+=1}}(i,s,r))}),t.end.row,this.session.getLine(t.end.row).length),o},e.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},e}();u.prototype.EOF_CHAR="¶",u.prototype.EOL_CHAR_LF="¬",u.prototype.EOL_CHAR_CRLF="¤",u.prototype.EOL_CHAR=u.prototype.EOL_CHAR_LF,u.prototype.TAB_CHAR="—",u.prototype.SPACE_CHAR="·",u.prototype.$padding=0,u.prototype.MAX_LINE_LENGTH=1e4,u.prototype.showInvisibles=!1,u.prototype.showSpaces=!1,u.prototype.showTabs=!1,u.prototype.showEOL=!1,u.prototype.displayIndentGuides=!0,u.prototype.$highlightIndentGuides=!0,u.prototype.$tabStrings=[],u.prototype.destroy={},u.prototype.onChangeTabSize=u.prototype.$computeTabString,o.implement(u.prototype,a),t.Text=u})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var o=e("../lib/dom"),i=function(){function e(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),o.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return e.prototype.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)o.setStyle(t[n].style,"opacity",e?"":"0")},e.prototype.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&o.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},e.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,o.removeCssClass(this.element,"ace_animate-blinking")},e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},e.prototype.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},e.prototype.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,o.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},e.prototype.addCursor=function(){var e=o.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},e.prototype.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},e.prototype.hideCursor=function(){this.isVisible=!1,o.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.showCursor=function(){this.isVisible=!0,o.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,o.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&o.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),o.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},e.prototype.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},e.prototype.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||s.top<0)&&n>1)){var a=this.cursors[i++]||this.addCursor(),l=a.style;this.drawCursor?this.drawCursor(a,s,e,t[n],this.session):this.isCursorInView(s,e)?(o.setStyle(l,"display","block"),o.translate(a,s.left,s.top),o.setStyle(l,"width",Math.round(e.characterWidth)+"px"),o.setStyle(l,"height",e.lineHeight+"px")):o.setStyle(l,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=s,this.restartTimer()},e.prototype.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?o.addCssClass(this.element,"ace_overwrite-cursors"):o.removeCssClass(this.element,"ace_overwrite-cursors"))},e.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},e}();i.prototype.$padding=0,i.prototype.drawCursor=null,t.Cursor=i})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=e("./lib/oop"),s=e("./lib/dom"),a=e("./lib/event"),l=e("./lib/event_emitter").EventEmitter,c=32768,u=function(){function e(e,t){this.element=s.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+t,this.inner=s.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();r.implement(u.prototype,l);var h=function(e){function t(t,n){var o=e.call(this,t,"-v")||this;return o.scrollTop=0,o.scrollHeight=0,n.$scrollbarWidth=o.width=s.scrollbarWidth(t.ownerDocument),o.inner.style.width=o.element.style.width=(o.width||15)+5+"px",o.$minWidth=0,o}return i(t,e),t.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.element.style.height=e+"px"},t.prototype.setScrollHeight=function(e){this.scrollHeight=e,e>c?(this.coeff=c/e,e=c):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},t.prototype.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)},t}(u);h.prototype.setInnerHeight=h.prototype.setScrollHeight;var d=function(e){function t(t,n){var o=e.call(this,t,"-h")||this;return o.scrollLeft=0,o.height=n.$scrollbarWidth,o.inner.style.height=o.element.style.height=(o.height||15)+5+"px",o}return i(t,e),t.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.setWidth=function(e){this.element.style.width=e+"px"},t.prototype.setInnerWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)},t}(u);t.ScrollBar=h,t.ScrollBarV=h,t.ScrollBarH=d,t.VScrollBar=h,t.HScrollBar=d})),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=e("./lib/oop"),s=e("./lib/dom"),a=e("./lib/event"),l=e("./lib/event_emitter").EventEmitter;s.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var c=function(){function e(e,t){this.element=s.createElement("div"),this.element.className="ace_sb"+t,this.inner=s.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();r.implement(c.prototype,l);var u=function(e){function t(t,n){var o=e.call(this,t,"-v")||this;return o.scrollTop=0,o.scrollHeight=0,o.parent=t,o.width=o.VScrollWidth,o.renderer=n,o.inner.style.width=o.element.style.width=(o.width||15)+"px",o.$minWidth=0,o}return i(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,o=t.clientY,i=t.clientY,r=this.thumbTop;a.capture(this.inner,(function(e){o=e.clientY}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==o){var e=n.scrollTopFromThumbTop(r+o-i);e!==n.scrollTop&&n._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.height},t.prototype.scrollTopFromThumbTop=function(e){var t=e*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(t>>=0)<0?t=0:t>this.pageHeight-this.viewHeight&&(t=this.pageHeight-this.viewHeight),t},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.height=Math.max(0,e),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},t.prototype.setScrollHeight=function(e,t){(this.pageHeight!==e||t)&&(this.pageHeight=e,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},t.prototype.setScrollTop=function(e){this.scrollTop=e,e<0&&(e=0),this.thumbTop=e*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},t}(c);u.prototype.setInnerHeight=u.prototype.setScrollHeight;var h=function(e){function t(t,n){var o=e.call(this,t,"-h")||this;return o.scrollLeft=0,o.scrollWidth=0,o.height=o.HScrollHeight,o.inner.style.height=o.element.style.height=(o.height||12)+"px",o.renderer=n,o}return i(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,o=t.clientX,i=t.clientX,r=this.thumbLeft;a.capture(this.inner,(function(e){o=e.clientX}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==o){var e=n.scrollLeftFromThumbLeft(r+o-i);e!==n.scrollLeft&&n._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.scrollLeftFromThumbLeft=function(e){var t=e*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(t>>=0)<0?t=0:t>this.pageWidth-this.viewWidth&&(t=this.pageWidth-this.viewWidth),t},t.prototype.setWidth=function(e){this.width=Math.max(0,e),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},t.prototype.setScrollWidth=function(e,t){(this.pageWidth!==e||t)&&(this.pageWidth=e,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},t.prototype.setScrollLeft=function(e){this.scrollLeft=e,e<0&&(e=0),this.thumbLeft=e*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},t}(c);h.prototype.setInnerWidth=h.prototype.setScrollWidth,t.ScrollBar=u,t.ScrollBarV=u,t.ScrollBarH=h,t.VScrollBar=u,t.HScrollBar=h})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){"use strict";var o=e("./lib/event"),i=function(){function e(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var n=this;this._flush=function(e){n.pending=!1;var t=n.changes;if(t&&(o.blockIdle(100),n.changes=0,n.onRender(t)),n.changes){if(n.$recursionLimit--<0)return;n.schedule()}else n.$recursionLimit=2}}return e.prototype.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(o.nextFrame(this._flush),this.pending=!0)},e.prototype.clear=function(e){var t=this.changes;return this.changes=0,t},e}();t.RenderLoop=i})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){var o=e("../lib/oop"),i=e("../lib/dom"),r=e("../lib/lang"),s=e("../lib/event"),a=e("../lib/useragent"),l=e("../lib/event_emitter").EventEmitter,c=512,u="function"==typeof ResizeObserver,h=200,d=function(){function e(e){this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=r.stringRepeat("X",c),this.$characterSize={width:0,height:0},u?this.$addObserver():this.checkForSizeChanges()}return e.prototype.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",a.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},e.prototype.checkForSizeChanges=function(e){if(void 0===e&&(e=this.$measureSizes()),e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},e.prototype.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},e.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=s.onIdle((function t(){e.checkForSizeChanges(),s.onIdle(t,500)}),500)},e.prototype.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},e.prototype.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/c};return 0===t.width||0===t.height?null:t},e.prototype.$measureCharWidth=function(e){return this.$main.textContent=r.stringRepeat(e,c),this.$main.getBoundingClientRect().width/c},e.prototype.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},e.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},e.prototype.$getZoom=function(e){return e&&e.parentElement?(window.getComputedStyle(e).zoom||1)*this.$getZoom(e.parentElement):1},e.prototype.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=i.buildDom([e(0,0),e(h,0),e(0,h),e(h,h)],this.el)},e.prototype.transformCoordinates=function(e,t){function n(e,t,n){var o=e[1]*t[0]-e[0]*t[1];return[(-t[1]*n[0]+t[0]*n[1])/o,(+e[1]*n[0]-e[0]*n[1])/o]}function o(e,t){return[e[0]-t[0],e[1]-t[1]]}function i(e,t){return[e[0]+t[0],e[1]+t[1]]}function r(e,t){return[e*t[0],e*t[1]]}function s(e){var t=e.getBoundingClientRect();return[t.left,t.top]}e&&(e=r(1/this.$getZoom(this.el),e)),this.els||this.$initTransformMeasureNodes();var a=s(this.els[0]),l=s(this.els[1]),c=s(this.els[2]),u=s(this.els[3]),d=n(o(u,l),o(u,c),o(i(l,c),i(u,a))),p=r(1+d[0],o(l,a)),g=r(1+d[1],o(c,a));if(t){var f=t,m=d[0]*f[0]/h+d[1]*f[1]/h+1,v=i(r(f[0],p),r(f[1],g));return i(r(1/m/h,v),a)}var b=o(e,a),y=n(o(p,r(d[0],b)),o(g,r(d[1],b)),b);return r(h,y)},e}();d.prototype.$characterSize={width:0,height:0},o.implement(d.prototype,l),t.FontMetrics=d})),ace.define("ace/css/editor-css",["require","exports","module"],(function(e,t,n){n.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n white-space: pre;\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}'})),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){"use strict";var o=e("../lib/dom"),i=e("../lib/oop"),r=e("../lib/event_emitter").EventEmitter,s=function(){function e(e,t){this.canvas=o.createElement("canvas"),this.renderer=t,this.pixelRatio=1,this.maxHeight=t.layerConfig.maxHeight,this.lineHeight=t.layerConfig.lineHeight,this.canvasHeight=e.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=e.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},e.element.appendChild(this.canvas)}return e.prototype.$updateDecorators=function(e){var t=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;e&&(this.maxHeight=e.maxHeight,this.lineHeight=e.lineHeight,this.canvasHeight=e.height,(e.lastRow+1)*this.lineHeightt.priority?1:0}));for(var r=this.renderer.session.$foldData,s=0;sthis.canvasHeight&&(d=this.canvasHeight-this.halfMinDecorationHeight),u=Math.round(d-this.halfMinDecorationHeight),h=Math.round(d+this.halfMinDecorationHeight)}n.fillStyle=t[o[s].type]||null,n.fillRect(0,c,this.canvasWidth,h-u)}}var p=this.renderer.session.selection.getCursor();p&&(l=this.compensateFoldRows(p.row,r),c=Math.round((p.row-l)*this.lineHeight*this.heightRatio),n.fillStyle="rgba(0, 0, 0, 0.5)",n.fillRect(0,c,this.canvasWidth,2))},e.prototype.compensateFoldRows=function(e,t){var n=0;if(t&&t.length>0)for(var o=0;ot[o].start.row&&e=t[o].end.row&&(n+=t[o].end.row-t[o].start.row);return n},e}();i.implement(s.prototype,r),t.Decorator=s})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("./lib/oop"),i=e("./lib/dom"),r=e("./lib/lang"),s=e("./config"),a=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,u=e("./layer/cursor").Cursor,h=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,p=e("./scrollbar_custom").HScrollBar,g=e("./scrollbar_custom").VScrollBar,f=e("./renderloop").RenderLoop,m=e("./layer/font_metrics").FontMetrics,v=e("./lib/event_emitter").EventEmitter,b=e("./css/editor-css"),y=e("./layer/decorators").Decorator,w=e("./lib/useragent");i.importCssString(b,"ace_editor.css",!1);var k=function(){function e(e,t){var n=this;this.container=e||i.createElement("div"),i.addCssClass(this.container,"ace_editor"),i.HI_DPI&&i.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var o=this.$textLayer=new c(this.content);this.canvas=o.element,this.$markerFront=new l(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new m(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!w.isIOS,this.$loop=new f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return e.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),i.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},e.prototype.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},e.prototype.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},e.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},e.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},e.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},e.prototype.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},e.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},e.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},e.prototype.onResize=function(e,t,n,o){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var i=this.container;o||(o=i.clientHeight||i.scrollHeight),n||(n=i.clientWidth||i.scrollWidth);var r=this.$updateCachedSize(e,t,n,o);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!n&&!o)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(r|this.$changes,!0):this.$loop.schedule(r|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},e.prototype.$updateCachedSize=function(e,t,n,o){o-=this.$extraHeight||0;var r=0,s=this.$size,a={width:s.width,height:s.height,scrollerHeight:s.scrollerHeight,scrollerWidth:s.scrollerWidth};if(o&&(e||s.height!=o)&&(s.height=o,r|=this.CHANGE_SIZE,s.scrollerHeight=s.height,this.$horizScroll&&(s.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(s.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",r|=this.CHANGE_SCROLL),n&&(e||s.width!=n)){r|=this.CHANGE_SIZE,s.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,i.setStyle(this.scrollBarH.element.style,"left",t+"px"),i.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),s.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),i.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";i.setStyle(this.scrollBarH.element.style,"right",l),i.setStyle(this.scroller.style,"right",l),i.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(s.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(r|=this.CHANGE_FULL)}return s.$dirty=!n||!o,r&&this._signal("resize",a),r},e.prototype.onGutterResize=function(e){var t=this.$showGutter?e:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},e.prototype.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},e.prototype.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},e.prototype.getAnimatedScroll=function(){return this.$animatedScroll},e.prototype.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},e.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},e.prototype.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},e.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},e.prototype.setHighlightIndentGuides=function(e){this.setOption("highlightIndentGuides",e)},e.prototype.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},e.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},e.prototype.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},e.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},e.prototype.getShowGutter=function(){return this.getOption("showGutter")},e.prototype.setShowGutter=function(e){return this.setOption("showGutter",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=i.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},e.prototype.getContainerElement=function(){return this.container},e.prototype.getMouseEventTarget=function(){return this.scroller},e.prototype.getTextAreaContainer=function(){return this.container},e.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var n=this.$cursorLayer.$pixelPos;if(n){t&&t.markerRange&&(n=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var o=this.layerConfig,r=n.top,s=n.left;r-=o.offset;var a=t&&t.useTextareaForIME||w.isMobile?this.lineHeight:1;if(r<0||r>o.height-a)i.translate(this.textarea,0,0);else{var l=1,c=this.$size.height-a;if(t)if(t.useTextareaForIME){var u=this.textarea.value;l=this.characterWidth*this.session.$getStringScreenWidth(u)[0]}else r+=this.lineHeight+2;else r+=this.lineHeight;(s-=this.scrollLeft)>this.$size.scrollerWidth-l&&(s=this.$size.scrollerWidth-l),s+=this.gutterWidth+this.margin.left,i.setStyle(e,"height",a+"px"),i.setStyle(e,"width",l+"px"),i.translate(this.textarea,Math.min(s,this.$size.scrollerWidth-l),Math.min(r,c))}}}else i.translate(this.textarea,-100,0)}},e.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},e.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},e.prototype.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},e.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},e.prototype.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},e.prototype.setScrollMargin=function(e,t,n,o){var i=this.scrollMargin;i.top=0|e,i.bottom=0|t,i.right=0|o,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},e.prototype.setMargin=function(e,t,n,o){var i=this.margin;i.top=0|e,i.bottom=0|t,i.right=0|o,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},e.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},e.prototype.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},e.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},e.prototype.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},e.prototype.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},e.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},e.prototype.freeze=function(){this.$frozen=!0},e.prototype.unfreeze=function(){this.$frozen=!1},e.prototype.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var o=this.scrollTop+(n.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;o>0&&(this.scrollTop=o,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),i.translate(this.content,-this.scrollLeft,-n.offset);var r=n.width+2*this.$padding+"px",s=n.minHeight+"px";i.setStyle(this.content.style,"width",r),i.setStyle(this.content.style,"height",s)}if(e&this.CHANGE_H_SCROLL&&(i.translate(this.content,-this.scrollLeft,-n.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(n):this.$gutterLayer.scrollLines(n)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_LINES?((this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender",e)}else this.$changes|=e},e.prototype.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var o=!(n<=2*this.lineHeight)&&e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||o!=this.$vScroll){o!=this.$vScroll&&(this.$vScroll=o,this.scrollBarV.setVisible(o));var i=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,n),this.desiredHeight=n,this._signal("autosize")}},e.prototype.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,o=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),r=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-i-2*this.$padding<0),s=this.$horizScroll!==r;s&&(this.$horizScroll=r,this.scrollBarH.setVisible(r));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;o+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,o-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,i+2*this.$padding-t.scrollerWidth+u.right)));var h=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-o+c<0||this.scrollTop>u.top),d=a!==h;d&&(this.$vScroll=h,this.scrollBarV.setVisible(h));var p,g,f=this.scrollTop%this.lineHeight,m=Math.ceil(l/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-f)/this.lineHeight)),b=v+m,y=this.lineHeight;v=e.screenToDocumentRow(v,0);var w=e.getFoldLine(v);w&&(v=w.start.row),p=e.documentToScreenRow(v,0),g=e.getRowLength(v)*y,b=Math.min(e.screenToDocumentRow(b,0),e.getLength()-1),l=t.scrollerHeight+e.getRowLength(b)*y+g,f=this.scrollTop-p*y;var k=0;return(this.layerConfig.width!=i||s)&&(k=this.CHANGE_H_SCROLL),(s||d)&&(k|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),d&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:v,firstRowScreen:p,lastRow:b,lineHeight:y,characterWidth:this.characterWidth,minHeight:l,maxHeight:o,offset:f,gutterOffset:y?Math.max(0,Math.ceil((f+t.height-t.scrollerHeight)/y)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(i-this.$padding),k},e.prototype.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},e.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},e.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},e.prototype.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},e.prototype.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},e.prototype.updateBreakpoints=function(e){this._rows=e,this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},e.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},e.prototype.showCursor=function(){this.$cursorLayer.showCursor()},e.prototype.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},e.prototype.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var o=this.$cursorLayer.getPixelPosition(e),i=o.left,r=o.top,s=n&&n.top||0,a=n&&n.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+s>r?(t&&l+s>r+this.lineHeight&&(r-=t*this.$size.scrollerHeight),0===r&&(r=-this.scrollMargin.top),this.session.setScrollTop(r)):l+this.$size.scrollerHeight-a=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},e.prototype.pixelToScreenCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var o=this.$fontMetrics.transformCoordinates([e,t]);e=o[1]-this.gutterWidth-this.margin.left,t=o[0]}else n=this.scroller.getBoundingClientRect();var i=e+this.scrollLeft-n.left-this.$padding,r=i/this.characterWidth,s=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),a=this.$blockCursor?Math.floor(r):Math.round(r);return{row:s,column:a,side:r-a>0?1:-1,offsetX:i}},e.prototype.screenToTextCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var o=this.$fontMetrics.transformCoordinates([e,t]);e=o[1]-this.gutterWidth-this.margin.left,t=o[0]}else n=this.scroller.getBoundingClientRect();var i=e+this.scrollLeft-n.left-this.$padding,r=i/this.characterWidth,s=this.$blockCursor?Math.floor(r):Math.round(r),a=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(a,Math.max(s,0),i)},e.prototype.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),o=this.session.documentToScreenPosition(e,t),i=this.$padding+(this.session.$bidiHandler.isBidiRow(o.row,e)?this.session.$bidiHandler.getPosLeft(o.column):Math.round(o.column*this.characterWidth)),r=o.row*this.lineHeight;return{pageX:n.left+i-this.scrollLeft,pageY:n.top+r-this.scrollTop}},e.prototype.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},e.prototype.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),null==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},e.prototype.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},e.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),i.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},e.prototype.setGhostText=function(e,t){var n=this.session.selection.cursor,o=t||{row:n.row,column:n.column};this.removeGhostText();var i=e.split("\n");if(this.addToken(i[0],"ghost_text",o.row,o.column),this.$ghostText={text:e,position:{row:o.row,column:o.column}},i.length>1){this.$ghostTextWidget={text:i.slice(1).join("\n"),row:o.row,column:o.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var r=this.$cursorLayer.getPixelPosition(o,!0),s=this.container.getBoundingClientRect().height,a=i.length*this.lineHeight;if(a1||Math.abs(e.$size.height-o)>1?e.$resizeTimer.delay():e.$resizeTimer.cancel()})),this.$resizeObserver.observe(this.container)}},e}();k.prototype.CHANGE_CURSOR=1,k.prototype.CHANGE_MARKER=2,k.prototype.CHANGE_GUTTER=4,k.prototype.CHANGE_SCROLL=8,k.prototype.CHANGE_LINES=16,k.prototype.CHANGE_TEXT=32,k.prototype.CHANGE_SIZE=64,k.prototype.CHANGE_MARKER_BACK=128,k.prototype.CHANGE_MARKER_FRONT=256,k.prototype.CHANGE_FULL=512,k.prototype.CHANGE_H_SCROLL=1024,k.prototype.$changes=0,k.prototype.$padding=null,k.prototype.$frozen=!1,k.prototype.STEPS=8,o.implement(k.prototype,v),s.defineOptions(k.prototype,"renderer",{useResizeObserver:{set:function(e){!e&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):e&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(e){this.$gutterLayer.$useSvgGutterIcons=e},initialValue:!1},showFoldedAnnotations:{set:function(e){this.$gutterLayer.$showFoldedAnnotations=e},initialValue:!1},fadeFoldWidgets:{set:function(e){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(e){1==this.$textLayer.setHighlightIndentGuides(e)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(e){this.$gutterLayer.setHighlightGutterLine(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(e){this.$updateCustomScrollbar(e)},initialValue:!1},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!w.isMobile&&!w.isIE}}),t.VirtualRenderer=k})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("../lib/net"),r=e("../lib/event_emitter").EventEmitter,s=e("../config");function a(e){if("undefined"==typeof Worker)return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var t=function(e){var t="importScripts('"+i.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(e){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(t),n.getBlob("application/javascript")}}(e),n=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(n)}return new Worker(e)}var l=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){o.implement(this,r),this.$createWorkerFromOldConfig=function(t,n,o,i,r){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),s.get("packaged")||!e.toUrl)i=i||s.moduleUrl(n,"worker");else{var l=this.$normalizePath;i=i||l(e.toUrl("ace/worker/worker.js",null,"_"));var c={};t.forEach((function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}return this.$worker=a(i),r&&this.send("importScripts",r),this.$worker.postMessage({init:!0,tlns:c,module:n,classname:o}),this.$worker},this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return i.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var o=this.callbackId++;this.callbacks[o]=n,t.push(o)}this.send(e,t)},this.emit=function(e,t){try{t.data&&t.data.err&&(t.data.err={message:t.data.err.message,stack:t.data.err.stack,code:t.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:t.data}})}catch(e){console.error(e.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype),t.UIWorkerClient=function(e,t,n){var o=null,i=!1,a=Object.create(r),c=[],u=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),o&&(i?setTimeout(h):h())}});u.setEmitSync=function(e){i=e};var h=function(){var e=c.shift();e.command?o[e.command].apply(o,e.args):e.event&&a._signal(e.event,e.data)};return a.postMessage=function(e){u.onMessage({data:e})},a.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},a.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},s.loadModule(["worker",t],(function(e){for(o=new e[n](a);c.length;)h()})),u},t.WorkerClient=l,t.createWorker=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){"use strict";var o=e("./range").Range,i=e("./lib/event_emitter").EventEmitter,r=e("./lib/oop"),s=function(){function e(e,t,n,o,i,r){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=i,this.othersClass=r,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=o,this.$onCursorChange=function(){setTimeout((function(){s.onCursorChange()}))},this.$pos=n;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)}return e.prototype.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=n.addMarker(new o(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var o=t.createAnchor(n.row,n.column);o.$insertRight=!0,o.detach(),e.others.push(o)})),n.setUndoSelect(!1)},e.prototype.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new o(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},e.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,r=t.start.column-this.pos.column;if(this.updateAnchors(e),i&&(this.length+=n),i&&!this.session.$fromUndo)if("insert"===e.action)for(var s=this.others.length-1;s>=0;s--){var a={row:(l=this.others[s]).row,column:l.column+r};this.doc.insertMergedLines(a,e.lines)}else if("remove"===e.action)for(s=this.others.length-1;s>=0;s--){var l;a={row:(l=this.others[s]).row,column:l.column+r},this.doc.remove(new o(a.row,a.column,a.row,a.column-n))}this.$updating=!1,this.updateMarkers()}},e.prototype.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},e.prototype.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,i){t.removeMarker(n.markerId),n.markerId=t.addMarker(new o(n.row,n.column,n.row,n.column+e.length),i,null,!1)};n(this.pos,this.mainClass);for(var i=this.others.length;i--;)n(this.others[i],this.othersClass)}},e.prototype.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},e.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},e.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var o=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new o(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,n){var o=e("./range_list").RangeList,i=e("./range").Range,r=e("./selection").Selection,s=e("./mouse/multi_select_handler").onMouseDown,a=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search),h=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var o=this.rangeList.add(e);return this.$onAddRange(e),o.length&&this.$onRemoveRange(o),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var o=this.ranges.indexOf(e[n]);this.ranges.splice(o,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new o,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],n=0;n1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var o=this.session.documentToScreenPosition(this.cursor),r=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(o,r).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var o=[],r=e.column0;)b--;if(b>0)for(var y=0;o[y].isEmpty();)y++;for(var w=b;w>=y;w--)o[w].isEmpty()&&o.splice(w,1)}return o}}.call(r.prototype);var d=e("./editor").Editor;function p(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",s),e.commands.addCommands(c.defaultCommands),function(e){if(e.textInput){var t=e.textInput.getElement(),n=!1;a.addListener(t,"keydown",(function(t){var i=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&i?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&o()}),e),a.addListener(t,"keyup",o,e),a.addListener(t,"blur",o,e)}function o(t){n&&(e.renderer.setMouseCursor(""),n=!1)}}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var o=e[n];if(o.marker){this.session.removeMarker(o.marker);var i=t.indexOf(o);-1!=i&&t.splice(i,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?o=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?o=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),o=t.exec(n,e.args||{})):o=t.multiSelectAction(n,e.args||{});else{var o=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return o}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var o,i=n&&n.keepOrder,s=1==n||n&&n.$byLines,a=this.session,l=this.selection,c=l.rangeList,u=(i?l:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var h=l._eventRegistry;l._eventRegistry={};var d=new r(a);this.inVirtualSelectionMode=!0;for(var p=u.length;p--;){if(s)for(;p>0&&u[p].start.row==u[p-1].end.row;)p--;d.fromOrientedRange(u[p]),d.index=p,this.selection=a.selection=d;var g=e.exec?e.exec(this,t||{}):e(this,t||{});o||void 0===g||(o=g),d.toOrientedRange(u[p])}d.detach(),this.selection=a.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=h,l.mergeOverlappingRanges(),l.ranges[0]&&l.fromOrientedRange(l.ranges[0]);var f=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),f&&f.from==f.to&&this.renderer.animateScrolling(f.from),o}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],o=0;os&&(s=n.column),ou?e.insert(o,l.stringRepeat(" ",r-u)):e.remove(new i(o.row,o.column,o.row,o.column-r+u)),t.start.column=t.end.column=s,t.start.row=t.end.row=o.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),h=u.start.row,d=u.end.row,p=h==d;if(p){var g,f=this.session.getLength();do{g=this.session.getLine(d)}while(/[=:]/.test(g)&&++d0);h<0&&(h=0),d>=f&&(d=f-1)}var m=this.session.removeFullLines(h,d);m=this.$reAlignText(m,p),this.session.insert({row:h,column:0},m.join("\n")+"\n"),p||(u.start.column=0,u.end.column=m[m.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var n,o,i,r=!0,s=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,o=t[2].length,i=t[3].length,t):(n+o+i!=t[1].length+t[2].length+t[3].length&&(s=!1),n!=t[1].length&&(r=!1),n>t[1].length&&(n=t[1].length),ot[3].length&&(i=t[3].length),t):[e]})).map(t?c:r?s?function(e){return e[2]?a(n+o-e[2].length)+e[2]+a(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?a(n)+e[2]+a(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function a(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?a(n)+e[2]+a(o-e[2].length+i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=p,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){p(this),e?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../../range").Range,i=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);return this.foldingStartMarker.test(o)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(o)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var i=/\S/,r=e.getLine(t),s=r.search(i);if(-1!=s){for(var a=n||r.length,l=e.getLength(),c=t,u=t;++tc){var p=e.getLine(u).length;return new o(c,a,u,p)}}},this.openingBracketBlock=function(e,t,n,i,r){var s={row:n,column:i+1},a=e.$findClosingBracket(t,s,r);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=e.getLine(a.row).length),o.fromPoints(s,a)}},this.closingBracketBlock=function(e,t,n,i,r){var s={row:n,column:i},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,o.fromPoints(a,s)}}).call(i.prototype)})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],(function(e,t,n){"use strict";var o=e("../line_widgets").LineWidgets,i=e("../lib/dom"),r=e("../range").Range,s=e("../config").nls;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new o(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),l=a.row,c=n.widgetManager.getWidgetsAtRow(l).filter((function(e){return"errorMarker"==e.type}))[0];c?c.destroy():l-=t;var u,h=function(e,t,n){var o=e.getAnnotations().sort(r.comparePoints);if(o.length){var i=function(e,t,n){for(var o=0,i=e.length-1;o<=i;){var r=o+i>>1,s=n(t,e[r]);if(s>0)o=r+1;else{if(!(s<0))return r;i=r-1}}return-(o+1)}(o,{row:t,column:-1},r.comparePoints);i<0&&(i=-i-1),i>=o.length?i=n>0?0:o.length-1:0===i&&n<0&&(i=o.length-1);var s=o[i];if(s&&n){if(s.row===t){do{s=o[i+=n]}while(s&&s.row===t);if(!s)return o.slice()}var a=[];t=s.row;do{a[n<0?"unshift":"push"](s),s=o[i+=n]}while(s&&s.row==t);return a.length&&a}}}(n,l,t);if(h){var d=h[0];a.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,a.row=d.row,u=e.renderer.$gutterLayer.$annotations[a.row]}else{if(c)return;u={text:[s("Looks good!")],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var p={row:a.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},g=p.el.appendChild(i.createElement("div")),f=p.el.appendChild(i.createElement("div"));f.className="error_widget_arrow "+u.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;f.style.left=m+e.renderer.gutterWidth-5+"px",p.el.className="error_widget_wrapper",g.className="error_widget "+u.className,g.innerHTML=u.text.join("
    "),g.appendChild(i.createElement("div"));var v=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return p.destroy(),{command:"null"}};p.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(v),n.widgetManager.removeLineWidget(p),e.off("changeSelection",p.destroy),e.off("changeSession",p.destroy),e.off("mouseup",p.destroy),e.off("change",p.destroy))},e.keyBinding.addKeyboardHandler(v),e.on("changeSelection",p.destroy),e.on("changeSession",p.destroy),e.on("mouseup",p.destroy),e.on("change",p.destroy),e.session.widgetManager.addLineWidget(p),p.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:p.el.offsetHeight})},i.importCssString("\n .error_widget_wrapper {\n background: inherit;\n color: inherit;\n border:none\n }\n .error_widget {\n border-top: solid 2px;\n border-bottom: solid 2px;\n margin: 5px 0;\n padding: 10px 40px;\n white-space: pre-wrap;\n }\n .error_widget.ace_error, .error_widget_arrow.ace_error{\n border-color: #ff5a5a\n }\n .error_widget.ace_warning, .error_widget_arrow.ace_warning{\n border-color: #F1D817\n }\n .error_widget.ace_info, .error_widget_arrow.ace_info{\n border-color: #5a5a5a\n }\n .error_widget.ace_ok, .error_widget_arrow.ace_ok{\n border-color: #5aaa5a\n }\n .error_widget_arrow {\n position: absolute;\n border: solid 5px;\n border-top-color: transparent!important;\n border-right-color: transparent!important;\n border-left-color: transparent!important;\n top: -5px;\n }\n","error_marker.css",!1)})),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],(function(e,t,n){"use strict";e("./loader_build")(t);var o=e("./lib/dom"),i=e("./range").Range,r=e("./editor").Editor,s=e("./edit_session").EditSession,a=e("./undomanager").UndoManager,l=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.edit=function(e,n){if("string"==typeof e){var i=e;if(!(e=document.getElementById(i)))throw new Error("ace.edit can't find div #"+i)}if(e&&e.env&&e.env.editor instanceof r)return e.env.editor;var s="";if(e&&/input|textarea/i.test(e.tagName)){var a=e;s=a.value,e=o.createElement("pre"),a.parentNode.replaceChild(e,a)}else e&&(s=e.textContent,e.innerHTML="");var c=t.createEditSession(s),u=new r(new l(e),c,n),h={document:c,editor:u,onResize:u.resize.bind(u,null)};return a&&(h.textarea=a),u.on("destroy",(function(){h.editor.container.env=null})),u.container.env=u.env=h,u},t.createEditSession=function(e,t){var n=new s(e,t);return n.setUndoManager(new a),n},t.Range=i,t.Editor=r,t.EditSession=s,t.UndoManager=a,t.VirtualRenderer=l,t.version=t.config.version})),ace.require(["ace/ace"],(function(t){t&&(t.config.init(!0),t.define=ace.define);var n=function(){return this}();for(var o in n||"undefined"==typeof window||(n=window),n||"undefined"==typeof self||(n=self),n.ace||(n.ace=t),t)t.hasOwnProperty(o)&&(n.ace[o]=t[o]);n.ace.default=n.ace,e&&(e.exports=n.ace)}))},47:(e,t,n)=>{e=n.nmd(e),ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],(function(e,t,n){"use strict";var o=e("./lib/dom"),i=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,s=e("./lib/lang"),a=e("./range").Range,l=e("./range_list").RangeList,c=e("./keyboard/hash_handler").HashHandler,u=e("./tokenizer").Tokenizer,h=e("./clipboard"),d={CURRENT_WORD:function(e){return e.session.getTextRange(e.session.getWordRange())},SELECTION:function(e,t,n){var o=e.session.getTextRange();return n?o.replace(/\n\r?([ \t]*\S)/g,"\n"+n+"$1"):o},CURRENT_LINE:function(e){return e.session.getLine(e.getCursorPosition().row)},PREV_LINE:function(e){return e.session.getLine(e.getCursorPosition().row-1)},LINE_INDEX:function(e){return e.getCursorPosition().row},LINE_NUMBER:function(e){return e.getCursorPosition().row+1},SOFT_TABS:function(e){return e.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(e){return e.session.getTabSize()},CLIPBOARD:function(e){return h.getText&&h.getText()},FILENAME:function(e){return/[^/\\]*$/.exec(this.FILEPATH(e))[0]},FILENAME_BASE:function(e){return/[^/\\]*$/.exec(this.FILEPATH(e))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(e){return this.FILEPATH(e).replace(/[^/\\]*$/,"")},FILEPATH:function(e){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(e){var t=e.session.$mode||{};return t.blockComment&&t.blockComment.start||""},BLOCK_COMMENT_END:function(e){var t=e.session.$mode||{};return t.blockComment&&t.blockComment.end||""},LINE_COMMENT:function(e){return(e.session.$mode||{}).lineCommentStart||""},CURRENT_YEAR:p.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:p.bind(null,{year:"2-digit"}),CURRENT_MONTH:p.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:p.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:p.bind(null,{month:"short"}),CURRENT_DATE:p.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:p.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:p.bind(null,{weekday:"short"}),CURRENT_HOUR:p.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:p.bind(null,{minute:"2-digit"}),CURRENT_SECOND:p.bind(null,{second:"2-digit"})};function p(e){var t=(new Date).toLocaleString("en-us",e);return 1==t.length?"0"+t:t}d.SELECTED_TEXT=d.SELECTION;var g=function(){function e(){this.snippetMap={},this.snippetNameMap={},this.variables=d}return e.prototype.getTokenizer=function(){return e.$tokenizer||this.createTokenizer()},e.prototype.createTokenizer=function(){function t(e){return e=e.substr(1),/^\d+$/.test(e)?[{tabstopId:parseInt(e,10)}]:[{text:e}]}function n(e){return"(?:[^\\\\"+e+"]|\\\\.)"}var o={regex:"/("+n("/")+"+)/",onMatch:function(e,t,n){var o=n[0];return o.fmtString=!0,o.guard=e.slice(1,-1),o.flag="",""},next:"formatString"};return e.$tokenizer=new u({start:[{regex:/\\./,onMatch:function(e,t,n){var o=e[1];return("}"==o&&n.length||-1!="`$\\".indexOf(o))&&(e=o),[e]}},{regex:/}/,onMatch:function(e,t,n){return[n.length?n.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:t},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(e,n,o){var i=t(e.substr(1));return o.unshift(i[0]),i},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+n("\\|")+"*\\|",onMatch:function(e,t,n){var o=e.slice(1,-1).replace(/\\[,|\\]|,/g,(function(e){return 2==e.length?e[1]:"\0"})).split("\0").map((function(e){return{value:e}}));return n[0].choices=o,[o[0]]},next:"start"},o,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(e,t,n){return n.length&&n[0].expectElse?(n[0].expectElse=!1,n[0].ifEnd={elseEnd:n[0]},[n[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(e,t,n){var o=e[1];return"}"==o&&n.length||-1!="`$\\".indexOf(o)?e=o:"n"==o?e="\n":"t"==o?e="\t":-1!="ulULE".indexOf(o)&&(e={changeCase:o,local:o>"a"}),[e]}},{regex:"/\\w*}",onMatch:function(e,t,n){var o=n.shift();return o&&(o.flag=e.slice(1,-1)),this.next=o&&o.tabstopId?"start":"",[o||e]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(e,t,n){return[{text:e.slice(1)}]}},{regex:/\${\w+/,onMatch:function(e,t,n){var o={text:e.slice(2)};return n.unshift(o),[o]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(e,t,n){var o=n.shift();return this.next=o&&o.tabstopId?"start":"",[o||e]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(e,t,n){return n[0].formatFunction=e.slice(2,-1),[n.shift()]},next:"formatString"},o,{regex:/:[\?\-+]?/,onMatch:function(e,t,n){"+"==e[1]&&(n[0].ifEnd=n[0]),"?"==e[1]&&(n[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),e.$tokenizer},e.prototype.tokenizeTmSnippet=function(e,t){return this.getTokenizer().getLineTokens(e,t).tokens.map((function(e){return e.value||e}))},e.prototype.getVariableValue=function(e,t,n){if(/^\d+$/.test(t))return(this.variables.__||{})[t]||"";if(/^[A-Z]\d+$/.test(t))return(this.variables[t[0]+"__"]||{})[t.substr(1)]||"";if(t=t.replace(/^TM_/,""),!this.variables.hasOwnProperty(t))return"";var o=this.variables[t];return"function"==typeof o&&(o=this.variables[t](e,t,n)),null==o?"":o},e.prototype.tmStrFormat=function(e,t,n){if(!t.fmt)return e;var o=t.flag||"",i=t.guard;i=new RegExp(i,o.replace(/[^gim]/g,""));var r="string"==typeof t.fmt?this.tokenizeTmSnippet(t.fmt,"formatString"):t.fmt,s=this,a=e.replace(i,(function(){var e=s.variables.__;s.variables.__=[].slice.call(arguments);for(var t=s.resolveVariables(r,n),o="E",i=0;i=0&&r.splice(s,1)}}e.content?i(e):Array.isArray(e)&&e.forEach(i)},e.prototype.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],o={},i=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=i.exec(e);){if(t[1])try{o=JSON.parse(t[1]),n.push(o)}catch(e){}if(t[4])o.content=t[4].replace(/^\t/gm,""),n.push(o),o={};else{var r=t[2],s=t[3];if("regex"==r){var a=/\/((?:[^\/\\]|\\.)*)|$/g;o.guard=a.exec(s)[1],o.trigger=a.exec(s)[1],o.endTrigger=a.exec(s)[1],o.endGuard=a.exec(s)[1]}else"snippet"==r?(o.tabTrigger=s.match(/^\S*/)[0],o.name||(o.name=s)):r&&(o[r]=s)}}return n},e.prototype.getSnippetByName=function(e,t){var n,o=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var i=o[t];return i&&(n=i[e]),!!n}),this),n},e}();i.implement(g.prototype,r);var f=function(e,t,n){void 0===n&&(n={});var o=e.getCursorPosition(),i=e.session.getLine(o.row),r=e.session.getTabString(),s=i.match(/^\s*/)[0];o.column1?(b=t[t.length-1].length,v+=t.length-1):b+=e.length,y+=e}else e&&(e.start?e.end={row:v,column:b}:e.start={row:v,column:b})})),{text:y,tabstops:l,tokens:a}},m=function(){function e(e){if(this.index=0,this.ranges=[],this.tabstops=[],e.tabstopManager)return e.tabstopManager;e.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=s.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(e)}return e.prototype.attach=function(e){this.$openTabstops=null,this.selectedTabstop=null,this.editor=e,this.session=e.session,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},e.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off("change",this.$onChange),this.editor.off("changeSelection",this.$onChangeSelection),this.editor.off("changeSession",this.$onChangeSession),this.editor.commands.off("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},e.prototype.onChange=function(e){for(var t="r"==e.action[0],n=this.selectedTabstop||{},o=n.parents||{},i=this.tabstops.slice(),r=0;r2&&(this.tabstops.length&&r.push(r.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,r))},e.prototype.addTabstopMarkers=function(e){var t=this.session;e.forEach((function(e){e.markerId||(e.markerId=t.addMarker(e,"ace_snippet-marker","text"))}))},e.prototype.removeTabstopMarkers=function(e){var t=this.session;e.forEach((function(e){t.removeMarker(e.markerId),e.markerId=null}))},e.prototype.updateTabstopMarkers=function(){if(this.selectedTabstop){var e=this.selectedTabstop.snippetId;0===this.selectedTabstop.index&&e--,this.tabstops.forEach((function(t){t.snippetId===e?this.addTabstopMarkers(t):this.removeTabstopMarkers(t)}),this)}},e.prototype.removeRange=function(e){var t=e.tabstop.indexOf(e);-1!=t&&e.tabstop.splice(t,1),-1!=(t=this.ranges.indexOf(e))&&this.ranges.splice(t,1),-1!=(t=e.tabstop.rangeList.ranges.indexOf(e))&&e.tabstop.splice(t,1),this.session.removeMarker(e.markerId),e.tabstop.length||(-1!=(t=this.tabstops.indexOf(e.tabstop))&&this.tabstops.splice(t,1),this.tabstops.length||this.detach())},e}();m.prototype.keyboardHandler=new c,m.prototype.keyboardHandler.bindKeys({Tab:function(e){t.snippetManager&&t.snippetManager.expandWithTab(e)||(e.tabstopManager.tabNext(1),e.renderer.scrollCursorIntoView())},"Shift-Tab":function(e){e.tabstopManager.tabNext(-1),e.renderer.scrollCursorIntoView()},Esc:function(e){e.tabstopManager.detach()}});var v=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},b=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};o.importCssString("\n.ace_snippet-marker {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n background: rgba(194, 193, 208, 0.09);\n border: 1px dotted rgba(211, 208, 235, 0.62);\n position: absolute;\n}","snippets.css",!1),t.snippetManager=new g;var y=e("./editor").Editor;(function(){this.insertSnippet=function(e,n){return t.snippetManager.insertSnippet(this,e,n)},this.expandSnippet=function(e){return t.snippetManager.expandWithTab(this,e)}}).call(y.prototype)})),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/config","ace/lib/useragent"],(function(e,t,n){"use strict";var o=e("../virtual_renderer").VirtualRenderer,i=e("../editor").Editor,r=e("../range").Range,s=e("../lib/event"),a=e("../lib/lang"),l=e("../lib/dom"),c=e("../config").nls,u=e("./../lib/useragent"),h=function(e){return"suggest-aria-id:".concat(e)},d=u.isSafari?"menu":"listbox",p=u.isSafari?"menuitem":"option",g=u.isSafari?"aria-current":"aria-selected",f=function(e){var t=new o(e);t.$maxLines=4;var n=new i(t);return n.setHighlightActiveLine(!1),n.setShowPrintMargin(!1),n.renderer.setShowGutter(!1),n.renderer.setHighlightGutterLine(!1),n.$mouseHandler.$focusTimeout=0,n.$highlightTagPending=!0,n};l.importCssString('\n.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {\n background-color: #CAD6FA;\n z-index: 1;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {\n background-color: #3a674e;\n}\n.ace_editor.ace_autocomplete .ace_line-hover {\n border: 1px solid #abbffe;\n margin-top: -1px;\n background: rgba(233,233,253,0.4);\n position: absolute;\n z-index: 2;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_line-hover {\n border: 1px solid rgba(109, 150, 13, 0.8);\n background: rgba(58, 103, 78, 0.62);\n}\n.ace_completion-meta {\n opacity: 0.5;\n margin-left: 0.9em;\n}\n.ace_completion-message {\n margin-left: 0.9em;\n color: blue;\n}\n.ace_editor.ace_autocomplete .ace_completion-highlight{\n color: #2d69c7;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{\n color: #93ca12;\n}\n.ace_editor.ace_autocomplete {\n width: 300px;\n z-index: 200000;\n border: 1px lightgray solid;\n position: fixed;\n box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n line-height: 1.4;\n background: #fefefe;\n color: #111;\n}\n.ace_dark.ace_editor.ace_autocomplete {\n border: 1px #484747 solid;\n box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51);\n line-height: 1.4;\n background: #25282c;\n color: #c1c1c1;\n}\n.ace_autocomplete .ace_text-layer {\n width: calc(100% - 8px);\n}\n.ace_autocomplete .ace_line {\n display: flex;\n align-items: center;\n}\n.ace_autocomplete .ace_line > * {\n min-width: 0;\n flex: 0 0 auto;\n}\n.ace_autocomplete .ace_line .ace_ {\n flex: 0 1 auto;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.ace_autocomplete .ace_completion-spacer {\n flex: 1;\n}\n.ace_autocomplete.ace_loading:after {\n content: "";\n position: absolute;\n top: 0px;\n height: 2px;\n width: 8%;\n background: blue;\n z-index: 100;\n animation: ace_progress 3s infinite linear;\n animation-delay: 300ms;\n transform: translateX(-100%) scaleX(1);\n}\n@keyframes ace_progress {\n 0% { transform: translateX(-100%) scaleX(1) }\n 50% { transform: translateX(625%) scaleX(2) } \n 100% { transform: translateX(1500%) scaleX(3) } \n}\n@media (prefers-reduced-motion) {\n .ace_autocomplete.ace_loading:after {\n transform: translateX(625%) scaleX(2);\n animation: none;\n }\n}\n',"autocompletion.css",!1),t.AcePopup=function(e){var t=l.createElement("div"),n=f(t);e&&e.appendChild(t),t.style.display="none",n.renderer.content.style.cursor="default",n.renderer.setStyle("ace_autocomplete"),n.renderer.$textLayer.element.setAttribute("role",d),n.renderer.$textLayer.element.setAttribute("aria-roledescription",c("Autocomplete suggestions")),n.renderer.$textLayer.element.setAttribute("aria-label",c("Autocomplete suggestions")),n.renderer.textarea.setAttribute("aria-hidden","true"),n.setOption("displayIndentGuides",!1),n.setOption("dragDelay",150);var o,i=function(){};n.focus=i,n.$isFocused=!0,n.renderer.$cursorLayer.restartTimer=i,n.renderer.$cursorLayer.element.style.opacity="0",n.renderer.$maxLines=8,n.renderer.$keepTextAreaAtCursor=!1,n.setHighlightActiveLine(!1),n.session.highlight(""),n.session.$searchHighlight.clazz="ace_highlight-marker",n.on("mousedown",(function(e){var t=e.getDocumentPosition();n.selection.moveToPosition(t),m.start.row=m.end.row=t.row,e.stop()}));var u=new r(-1,0,-1,1/0),m=new r(-1,0,-1,1/0);m.id=n.session.addMarker(m,"ace_active-line","fullLine"),n.setSelectOnHover=function(e){e?u.id&&(n.session.removeMarker(u.id),u.id=null):u.id=n.session.addMarker(u,"ace_line-hover","fullLine")},n.setSelectOnHover(!1),n.on("mousemove",(function(e){if(o){if(o.x!=e.x||o.y!=e.y){(o=e).scrollTop=n.renderer.scrollTop,n.isMouseOver=!0;var t=o.getDocumentPosition().row;u.start.row!=t&&(u.id||n.setRow(t),b(t))}}else o=e})),n.renderer.on("beforeRender",(function(){if(o&&-1!=u.start.row){o.$pos=null;var e=o.getDocumentPosition().row;u.id||n.setRow(e),b(e,!0)}})),n.renderer.on("afterRender",(function(){var e=n.getRow(),t=n.renderer.$textLayer,o=t.element.childNodes[e-t.config.firstRow],i=document.activeElement;if(o!==n.selectedNode&&n.selectedNode&&(l.removeCssClass(n.selectedNode,"ace_selected"),i.removeAttribute("aria-activedescendant"),n.selectedNode.removeAttribute(g),n.selectedNode.removeAttribute("id")),n.selectedNode=o,o){l.addCssClass(o,"ace_selected");var r=h(e);o.id=r,t.element.setAttribute("aria-activedescendant",r),i.setAttribute("aria-activedescendant",r),o.setAttribute("role",p),o.setAttribute("aria-roledescription",c("item")),o.setAttribute("aria-label",n.getData(e).caption||n.getData(e).value),o.setAttribute("aria-setsize",n.data.length),o.setAttribute("aria-posinset",e+1),o.setAttribute("aria-describedby","doc-tooltip"),o.setAttribute(g,"true")}}));var v=function(){b(-1)},b=function(e,t){e!==u.start.row&&(u.start.row=u.end.row=e,t||n.session._emit("changeBackMarker"),n._emit("changeHoverMarker"))};n.getHoveredRow=function(){return u.start.row},s.addListener(n.container,"mouseout",(function(){n.isMouseOver=!1,v()})),n.on("hide",v),n.on("changeSelection",v),n.session.doc.getLength=function(){return n.data.length},n.session.doc.getLine=function(e){var t=n.data[e];return"string"==typeof t?t:t&&t.value||""};var y=n.session.bgTokenizer;return y.$tokenizeRow=function(e){var t=n.data[e],o=[];if(!t)return o;"string"==typeof t&&(t={value:t});var i=t.caption||t.value||t.name;function r(e,n){e&&o.push({type:(t.className||"")+(n||""),value:e})}for(var s=i.toLowerCase(),a=(n.filterText||"").toLowerCase(),l=0,c=0,u=0;u<=a.length;u++)if(u!=c&&(t.matchMask&1<=u?"bottom":"top"),"top"===i?(h.bottom=e.top-this.$borderSize,h.top=h.bottom-u):"bottom"===i&&(h.top=e.top+t+this.$borderSize,h.bottom=h.top+u);var g=h.top>=0&&h.bottom<=a;if(!r&&!g)return!1;c.$maxPixelHeight=g?null:"top"===i?p:d,"top"===i?(s.style.top="",s.style.bottom=a-h.bottom+"px",n.isTopdown=!1):(s.style.top=h.top+"px",s.style.bottom="",n.isTopdown=!0),s.style.display="";var f=e.left;return f+s.offsetWidth>l&&(f=l-s.offsetWidth),s.style.left=f+"px",s.style.right="",n.isOpen||(n.isOpen=!0,this._signal("show"),o=null),n.anchorPos=e,n.anchor=i,!0},n.show=function(e,t,n){this.tryShow(e,t,n?"bottom":void 0,!0)},n.goTo=function(e){var t=this.getRow(),n=this.session.getLength()-1;switch(e){case"up":t=t<=0?n:t-1;break;case"down":t=t>=n?-1:t+1;break;case"start":t=0;break;case"end":t=n}this.setRow(t)},n.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},n.$imageSize=0,n.$borderSize=1,n},t.$singleLineEditor=f,t.getAriaId=h})),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],(function(e,t,n){"use strict";var o=function(){function e(e){this.editor=e,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return e.prototype.setScreenReaderContent=function(e){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var e=this.popup.getRow(),t=this.popup.renderer.$textLayer,n=t.element.childNodes[e-t.config.firstRow];if(n){for(var o="doc-tooltip ",i=0;i=0&&n.test(e[r]);r--)i.push(e[r]);return i.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,n){n=n||o;for(var i=[],r=t;r0)for(var t=this.popup.getFirstVisibleRow();t<=this.popup.getLastVisibleRow();t++){var n=this.popup.getData(t);!n||e&&!n.hideInlinePreview||this.$seen(n)}},e.prototype.$onPopupShow=function(e){this.$onPopupChange(e),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},e.prototype.observeLayoutChanges=function(){if(!this.$elements&&this.editor){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var e=this.editor.container.parentNode,t=[];e;)t.push(e),e.addEventListener("scroll",this.onLayoutChange,{passive:!0}),e=e.parentNode;this.$elements=t}},e.prototype.unObserveLayoutChanges=function(){var e=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach((function(t){t.removeEventListener("scroll",e.onLayoutChange,{passive:!0})})),this.$elements=null},e.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},e.prototype.$updatePopupPosition=function(){var e=this.editor,t=e.renderer,n=t.layerConfig.lineHeight,o=t.$cursorLayer.getPixelPosition(this.base,!0);o.left-=this.popup.getTextLeftOffset();var i=e.container.getBoundingClientRect();o.top+=i.top-t.layerConfig.offset,o.left+=i.left-e.renderer.scrollLeft,o.left+=t.gutterWidth;var r={top:o.top,left:o.left};t.$ghostText&&t.$ghostTextWidget&&this.base.row===t.$ghostText.position.row&&(r.top+=t.$ghostTextWidget.el.offsetHeight);var s=e.container.getBoundingClientRect().bottom-n,a=sthis.filterText&&0===e.lastIndexOf(this.filterText,0))var t=this.filtered;else t=this.all;this.filterText=e,t=(t=this.filterCompletions(t,this.filterText)).sort((function(e,t){return t.exactMatch-e.exactMatch||t.$score-e.$score||(e.caption||e.value).localeCompare(t.caption||t.value)}));var n=null;t=t.filter((function(e){var t=e.snippet||e.caption||e.value;return t!==n&&(n=t,!0)})),this.filtered=t},e.prototype.filterCompletions=function(e,t){var n=[],o=t.toUpperCase(),i=t.toLowerCase();e:for(var r,s=0;r=e[s];s++){var a=!this.ignoreCaption&&r.caption||r.value||r.snippet;if(a){var l,c,u=-1,h=0,d=0;if(this.exactMatch){if(t!==a.substr(0,t.length))continue e}else{var p=a.toLowerCase().indexOf(i);if(p>-1)d=p;else for(var g=0;g=0&&(m<0||f0&&(-1===u&&(d+=10),d+=c,h|=1<",s.escapeHTML(e.caption),"","
    ",s.escapeHTML((t=e.snippet,n={},t.replace(/\${(\d+)(:(.*?))?}/g,(function(e,t,o,i){return n[t]=i||""})).replace(/\$(\d+?)/g,(function(e,t){return n[t]}))))].join(""))},id:"snippetCompleter"},h=[u,l,c];t.setCompleters=function(e){h.length=0,e&&h.push.apply(h,e)},t.addCompleter=function(e){h.push(e)},t.textCompleter=l,t.keyWordCompleter=c,t.snippetCompleter=u;var d,p={name:"expandSnippet",exec:function(e){return o.expandWithTab(e)},bindKey:"Tab"},g=function(e,t){f(t.session.$mode)},f=function(e){"string"==typeof e&&(e=r.$modes[e]),e&&(o.files||(o.files={}),m(e.$id,e.snippetFileId),e.modes&&e.modes.forEach(f))},m=function(e,t){t&&e&&!o.files[e]&&(o.files[e]={},r.loadModule(t,(function(t){t&&(o.files[e]=t,!t.snippets&&t.snippetText&&(t.snippets=o.parseSnippetFile(t.snippetText)),o.register(t.snippets||[],t.scope),t.includeScopes&&(o.snippetMap[t.scope].includeScopes=t.includeScopes,t.includeScopes.forEach((function(e){f("ace/mode/"+e)}))))})))},v=function(e){var t=e.editor,n=t.completer&&t.completer.activated;if("backspace"===e.command.name)n&&!a.getCompletionPrefix(t)&&t.completer.detach();else if("insertstring"===e.command.name&&!n){d=e;var o=e.editor.$liveAutocompletionDelay;o?b.delay(o):y(e)}},b=s.delayedCall((function(){y(d)}),0),y=function(e){var t=e.editor,n=a.getCompletionPrefix(t),o=a.triggerAutocomplete(t);if(n&&n.length>=t.$liveAutocompletionThreshold||o){var r=i.for(t);r.autoShown=!0,r.showPopup(t)}},w=e("../editor").Editor;e("../config").defineOptions(w.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.addCommand(i.startCommand)):this.commands.removeCommand(i.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.on("afterExec",v)):this.commands.off("afterExec",v)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(e){e?(this.commands.addCommand(p),this.on("changeMode",g),g(0,this)):(this.commands.removeCommand(p),this.off("changeMode",g))},value:!1}})})),ace.require(["ace/ext/language_tools"],(function(t){e&&(e.exports=t)}))},9:(e,t,n)=>{e=n.nmd(e),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],(function(e,t,n){"use strict";var o,i=e("./lib/oop"),r=(e("./lib/lang"),e("./lib/event_emitter").EventEmitter),s=e("./editor").Editor,a=e("./virtual_renderer").VirtualRenderer,l=e("./edit_session").EditSession;(function(){i.implement(this,r),this.$createEditor=function(){var e=document.createElement("div");e.className=this.$editorCSS,e.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(e);var t=new s(new a(e,this.$theme));return t.on("focus",function(){this._emit("focus",t)}.bind(this)),this.$editors.push(t),t.setFontSize(this.$fontSize),t},this.setSplits=function(e){var t;if(e<1)throw"The number of splits have to be > 0!";if(e!=this.$splits){if(e>this.$splits){for(;this.$splitse;)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach((function(t){t.setTheme(e)}))},this.setKeyboardHandler=function(e){this.$editors.forEach((function(t){t.setKeyboardHandler(e)}))},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize="",this.setFontSize=function(e){this.$fontSize=e,this.forEach((function(t){t.setFontSize(e)}))},this.$cloneSession=function(e){var t=new l(e.getDocument(),e.getMode()),n=e.getUndoManager();return t.setUndoManager(n),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var n;n=null==t?this.$cEditor:this.$editors[t];var o=this.$editors.some((function(t){return t.session===e}));return o&&(e=this.$cloneSession(e)),n.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){this.$orientation!=e&&(this.$orientation=e,this.resize())},this.resize=function(){var e,t=this.$container.clientWidth,n=this.$container.clientHeight;if(this.$orientation==this.BESIDE)for(var o=t/this.$splits,i=0;i{e=n.nmd(e),ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=(e("../lib/lang"),e("./text_highlight_rules").TextHighlightRules),r=t.supportType="align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index",s=t.supportFunction="rgb|rgba|url|attr|counter|counters",a=t.supportConstant="absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|flex-end|flex-start|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom",l=t.supportConstantColor="aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen",c=t.supportConstantFonts="arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace",u=t.numRe="\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))",h=t.pseudoElements="(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b",d=t.pseudoClasses="(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b",p=function(){var e=this.createKeywordMapper({"support.function":s,"support.constant":a,"support.type":r,"support.constant.color":l,"support.constant.fonts":c},"text",!0);this.$rules={start:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"ruleset"},{token:"paren.rparen",regex:"\\}"},{token:"string",regex:"@(?!viewport)",next:"media"},{token:"keyword",regex:"#[a-z0-9-_]+"},{token:"keyword",regex:"%"},{token:"variable",regex:"\\.[a-z0-9-_]+"},{token:"string",regex:":[a-z0-9-_]+"},{token:"constant.numeric",regex:u},{token:"constant",regex:"[a-z0-9-_]+"},{caseInsensitive:!0}],media:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"start"},{token:"paren.rparen",regex:"\\}",next:"start"},{token:"string",regex:";",next:"start"},{token:"keyword",regex:"(?:media|supports|document|charset|import|namespace|media|supports|document|page|font|keyframes|viewport|counter-style|font-feature-values|swash|ornaments|annotation|stylistic|styleset|character-variant)"}],comments:[{token:"comment",regex:"\\/\\*",push:[{token:"comment",regex:"\\*\\/",next:"pop"},{defaultToken:"comment"}]}],ruleset:[{regex:"-(webkit|ms|moz|o)-",token:"text"},{token:"punctuation.operator",regex:"[:;]"},{token:"paren.rparen",regex:"\\}",next:"start"},{include:["strings","url","comments"]},{token:["constant.numeric","keyword"],regex:"("+u+")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"},{token:"constant.numeric",regex:u},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:["punctuation","entity.other.attribute-name.pseudo-element.css"],regex:h},{token:["punctuation","entity.other.attribute-name.pseudo-class.css"],regex:d},{include:"url"},{token:e,regex:"\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"},{caseInsensitive:!0}],url:[{token:"support.function",regex:"(?:url(:?-prefix)?|domain|regexp)\\(",push:[{token:"support.function",regex:"\\)",next:"pop"},{defaultToken:"string"}]}],strings:[{token:"string.start",regex:"'",push:[{token:"string.end",regex:"'|$",next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:!0},{defaultToken:"string"}]},{token:"string.start",regex:'"',push:[{token:"string.end",regex:'"|$',next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:!0},{defaultToken:"string"}]}],escapes:[{token:"constant.language.escape",regex:/\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/}]},this.normalizeRules()};o.inherits(p,i),t.CssHighlightRules=p})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,r=e.findMatchingBracket({row:t,column:i});if(!r||r.row==t)return 0;var s=this.$getIndent(e.getLine(r.row));e.replace(new o(t,0,t,i-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/css_completions",["require","exports","module"],(function(e,t,n){"use strict";var o={background:{"#$0":1},"background-color":{"#$0":1,transparent:1,fixed:1},"background-image":{"url('/$0')":1},"background-repeat":{repeat:1,"repeat-x":1,"repeat-y":1,"no-repeat":1,inherit:1},"background-position":{bottom:2,center:2,left:2,right:2,top:2,inherit:2},"background-attachment":{scroll:1,fixed:1},"background-size":{cover:1,contain:1},"background-clip":{"border-box":1,"padding-box":1,"content-box":1},"background-origin":{"border-box":1,"padding-box":1,"content-box":1},border:{"solid $0":1,"dashed $0":1,"dotted $0":1,"#$0":1},"border-color":{"#$0":1},"border-style":{solid:2,dashed:2,dotted:2,double:2,groove:2,hidden:2,inherit:2,inset:2,none:2,outset:2,ridged:2},"border-collapse":{collapse:1,separate:1},bottom:{px:1,em:1,"%":1},clear:{left:1,right:1,both:1,none:1},color:{"#$0":1,"rgb(#$00,0,0)":1},cursor:{default:1,pointer:1,move:1,text:1,wait:1,help:1,progress:1,"n-resize":1,"ne-resize":1,"e-resize":1,"se-resize":1,"s-resize":1,"sw-resize":1,"w-resize":1,"nw-resize":1},display:{none:1,block:1,inline:1,"inline-block":1,"table-cell":1},"empty-cells":{show:1,hide:1},float:{left:1,right:1,none:1},"font-family":{Arial:2,"Comic Sans MS":2,Consolas:2,"Courier New":2,Courier:2,Georgia:2,Monospace:2,"Sans-Serif":2,"Segoe UI":2,Tahoma:2,"Times New Roman":2,"Trebuchet MS":2,Verdana:1},"font-size":{px:1,em:1,"%":1},"font-weight":{bold:1,normal:1},"font-style":{italic:1,normal:1},"font-variant":{normal:1,"small-caps":1},height:{px:1,em:1,"%":1},left:{px:1,em:1,"%":1},"letter-spacing":{normal:1},"line-height":{normal:1},"list-style-type":{none:1,disc:1,circle:1,square:1,decimal:1,"decimal-leading-zero":1,"lower-roman":1,"upper-roman":1,"lower-greek":1,"lower-latin":1,"upper-latin":1,georgian:1,"lower-alpha":1,"upper-alpha":1},margin:{px:1,em:1,"%":1},"margin-right":{px:1,em:1,"%":1},"margin-left":{px:1,em:1,"%":1},"margin-top":{px:1,em:1,"%":1},"margin-bottom":{px:1,em:1,"%":1},"max-height":{px:1,em:1,"%":1},"max-width":{px:1,em:1,"%":1},"min-height":{px:1,em:1,"%":1},"min-width":{px:1,em:1,"%":1},overflow:{hidden:1,visible:1,auto:1,scroll:1},"overflow-x":{hidden:1,visible:1,auto:1,scroll:1},"overflow-y":{hidden:1,visible:1,auto:1,scroll:1},padding:{px:1,em:1,"%":1},"padding-top":{px:1,em:1,"%":1},"padding-right":{px:1,em:1,"%":1},"padding-bottom":{px:1,em:1,"%":1},"padding-left":{px:1,em:1,"%":1},"page-break-after":{auto:1,always:1,avoid:1,left:1,right:1},"page-break-before":{auto:1,always:1,avoid:1,left:1,right:1},position:{absolute:1,relative:1,fixed:1,static:1},right:{px:1,em:1,"%":1},"table-layout":{fixed:1,auto:1},"text-decoration":{none:1,underline:1,"line-through":1,blink:1},"text-align":{left:1,right:1,center:1,justify:1},"text-transform":{capitalize:1,uppercase:1,lowercase:1,none:1},top:{px:1,em:1,"%":1},"vertical-align":{top:1,bottom:1},visibility:{hidden:1,visible:1},"white-space":{nowrap:1,normal:1,pre:1,"pre-line":1,"pre-wrap":1},width:{px:1,em:1,"%":1},"word-spacing":{normal:1},filter:{"alpha(opacity=$0100)":1},"text-shadow":{"$02px 2px 2px #777":1},"text-overflow":{"ellipsis-word":1,clip:1,ellipsis:1},"-moz-border-radius":1,"-moz-border-radius-topright":1,"-moz-border-radius-bottomright":1,"-moz-border-radius-topleft":1,"-moz-border-radius-bottomleft":1,"-webkit-border-radius":1,"-webkit-border-top-right-radius":1,"-webkit-border-top-left-radius":1,"-webkit-border-bottom-right-radius":1,"-webkit-border-bottom-left-radius":1,"-moz-box-shadow":1,"-webkit-box-shadow":1,transform:{"rotate($00deg)":1,"skew($00deg)":1},"-moz-transform":{"rotate($00deg)":1,"skew($00deg)":1},"-webkit-transform":{"rotate($00deg)":1,"skew($00deg)":1}},i=function(){};(function(){this.completionsDefined=!1,this.defineCompletions=function(){if(document){var e=document.createElement("c").style;for(var t in e)if("string"==typeof e[t]){var n=t.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()}));o.hasOwnProperty(n)||(o[n]=1)}}this.completionsDefined=!0},this.getCompletions=function(e,t,n,o){if(this.completionsDefined||this.defineCompletions(),"ruleset"===e||"ace/mode/scss"==t.$mode.$id){var i=t.getLine(n.row).substr(0,n.column),r=/\([^)]*$/.test(i);return r&&(i=i.substr(i.lastIndexOf("(")+1)),/:[^;]+$/.test(i)?(/([\w\-]+):[^:]*$/.test(i),this.getPropertyValueCompletions(e,t,n,o)):this.getPropertyCompletions(e,t,n,o,r)}return[]},this.getPropertyCompletions=function(e,t,n,i,r){return r=r||!1,Object.keys(o).map((function(e){return{caption:e,snippet:e+": $0"+(r?"":";"),meta:"property",score:1e6}}))},this.getPropertyValueCompletions=function(e,t,n,i){var r=t.getLine(n.row).substr(0,n.column),s=(/([\w\-]+):[^:]*$/.exec(r)||{})[1];if(!s)return[];var a=[];return s in o&&"object"==typeof o[s]&&(a=Object.keys(o[s])),a.map((function(e){return{caption:e,snippet:e,meta:"property value",score:1e6}}))}}).call(i.prototype),t.CssCompletions=i})),ace.define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=(e("../behaviour").Behaviour,e("./cstyle").CstyleBehaviour),r=e("../../token_iterator").TokenIterator,s=function(){this.inherit(i),this.add("colon","insertion",(function(e,t,n,o,i){if(":"===i&&n.selection.isEmpty()){var s=n.getCursorPosition(),a=new r(o,s.row,s.column),l=a.getCurrentToken();if(l&&l.value.match(/\s+/)&&(l=a.stepBackward()),l&&"support.type"===l.type){var c=o.doc.getLine(s.row);if(":"===c.substring(s.column,s.column+1))return{text:"",selection:[1,1]};if(/^(\s+[^;]|\s*$)/.test(c.substring(s.column)))return{text:":;",selection:[1,1]}}}})),this.add("colon","deletion",(function(e,t,n,o,i){var s=o.doc.getTextRange(i);if(!i.isMultiLine()&&":"===s){var a=n.getCursorPosition(),l=new r(o,a.row,a.column),c=l.getCurrentToken();if(c&&c.value.match(/\s+/)&&(c=l.stepBackward()),c&&"support.type"===c.type&&";"===o.doc.getLine(i.start.row).substring(i.end.column,i.end.column+1))return i.end.column++,i}})),this.add("semicolon","insertion",(function(e,t,n,o,i){if(";"===i&&n.selection.isEmpty()){var r=n.getCursorPosition();if(";"===o.doc.getLine(r.row).substring(r.column,r.column+1))return{text:"",selection:[1,1]}}})),this.add("!important","insertion",(function(e,t,n,o,i){if("!"===i&&n.selection.isEmpty()){var r=n.getCursorPosition(),s=o.doc.getLine(r.row);if(/^\s*(;|}|$)/.test(s.substring(r.column)))return{text:"!important",selection:[10,10]}}}))};o.inherits(s,i),t.CssBehaviour=s})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=e("../../range").Range,r=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(s,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(e,t,n,o){var i,r=e.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,n);if(i=r.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(i=r.match(this.foldingStopMarker))?(s=i.index+i[0].length,i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),o=n.search(/\S/),r=t,s=n.length,a=t+=1,l=e.getLength();++tc)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=r)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}a=t}}return new i(r,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),r=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new i(s,o,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/css",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/css_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/css_completions","ace/mode/behaviour/css","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,r=e("./css_highlight_rules").CssHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("../worker/worker_client").WorkerClient,l=e("./css_completions").CssCompletions,c=e("./behaviour/css").CssBehaviour,u=e("./folding/cstyle").FoldMode,h=function(){this.HighlightRules=r,this.$outdent=new s,this.$behaviour=new c,this.$completer=new l,this.foldingRules=new u};o.inherits(h,i),function(){this.foldingRules="cStyle",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e).tokens;return i.length&&"comment"==i[i.length-1].type||t.match(/^.*\{\s*$/)&&(o+=n),o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.getCompletions=function(e,t,n,o){return this.$completer.getCompletions(e,t,n,o)},this.createWorker=function(e){var t=new a(["ace"],"ace/mode/css_worker","Worker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/css",this.snippetFileId="ace/snippets/css"}.call(h.prototype),t.Mode=h})),ace.require(["ace/mode/css"],(function(t){e&&(e.exports=t)}))},1766:(e,t,n)=>{e=n.nmd(e),ace.define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:["comment.doc.tag","comment.doc.text","lparen.doc"],regex:"(@(?:param|member|typedef|property|namespace|var|const|callback))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:["rparen.doc","text.doc","variable.parameter.doc","lparen.doc","variable.parameter.doc","rparen.doc"],regex:/(})(\s*)(?:([\w=:\/\.]+)|(?:(\[)([\w=:\/\.]+)(\])))/,next:"pop"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","lparen.doc"],regex:"(@(?:returns?|yields|type|this|suppress|public|protected|private|package|modifies|implements|external|exception|throws|enum|define|extends))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:'(@(?:alias|memberof|instance|module|name|lends|namespace|external|this|template|requires|param|implements|function|extends|typedef|mixes|constructor|var|memberof\\!|event|listens|exports|class|constructs|interface|emits|fires|throws|const|callback|borrows|augments))(\\s+)(\\w[\\w#.:/~"\\-]*)?'},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:"(@method)(\\s+)(\\w[\\w.\\(\\)]*)"},{token:"comment.doc.tag",regex:"@access\\s+(?:private|public|protected)"},{token:"comment.doc.tag",regex:"@kind\\s+(?:class|constant|event|external|file|function|member|mixin|module|namespace|typedef)"},{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},r.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}],"doc-syntax":[{token:"operator.doc",regex:/[|:]/},{token:"paren.doc",regex:/[\[\]]/}]},this.normalizeRules()};o.inherits(r,i),r.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},r.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},r.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.JsDocCommentHighlightRules=r})),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/jsdoc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules,r=e("./text_highlight_rules").TextHighlightRules,s="[a-zA-Z\\$_¡-￿][a-zA-Z\\d\\$_¡-￿]*",a=function(e){var t=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),n="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[i.getStartRule("doc-start"),c("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+s+")(\\.)(prototype)(\\.)("+s+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function\\*?)(\\s+)("+s+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"from(?=\\s*('|\"))"},{token:"keyword",regex:"(?:case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void)\\b",next:"start"},{token:"support.constant",regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/},{token:t,regex:s},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:s},{regex:"",token:"empty",next:"no_regex"}],start:[i.getStartRule("doc-start"),c("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],default_parameter:[{token:"string",regex:"'(?=.)",push:[{token:"string",regex:"'|$",next:"pop"},{include:"qstring"}]},{token:"string",regex:'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{include:"qqstring"}]},{token:"constant.language",regex:"null|Infinity|NaN|undefined"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:"punctuation.operator",regex:",",next:"function_arguments"},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],function_arguments:[c("function_arguments"),{token:"variable.parameter",regex:s},{token:"punctuation.operator",regex:","},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(e,t,n){if(this.next="{"==e?this.nextState:"","{"==e&&n.length)n.unshift("start",t);else if("}"==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx")))return"paren.quasi.end";return"{"==e?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:n},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]},{token:["variable.parameter","text"],regex:"("+s+")(\\s*)(?=\\=>)"},{token:"paren.lparen",regex:"(\\()(?=.+\\s*=>)",next:"function_arguments"},{token:"variable.language",regex:"(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"}),this.$rules.function_arguments.unshift({token:"keyword.operator",regex:"=",next:"default_parameter"},{token:"keyword.operator",regex:"\\.{3}"}),this.$rules.property.unshift({token:"support.function",regex:"(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"},{token:"constant.language",regex:"(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"}),e&&0==e.jsx||l.call(this)),this.embedRules(i,"doc-",[i.getEndRule("no_regex")]),this.normalizeRules()};function l(){var e=s.replace("\\d","\\d\\-"),t={onMatch:function(e,t,n){var o="/"==e.charAt(1)?2:1;return 1==o?(t!=this.nextState?n.unshift(this.next,this.nextState,0):n.unshift(this.next),n[2]++):2==o&&t==this.nextState&&(n[1]--,(!n[1]||n[1]<0)&&(n.shift(),n.shift())),[{type:"meta.tag.punctuation."+(1==o?"":"end-")+"tag-open.xml",value:e.slice(0,o)},{type:"meta.tag.tag-name.xml",value:e.substr(o)}]},regex:"",onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||n[1]<0)&&n.splice(0,2)),this.next=n[0]||"start",[{type:this.token,value:e}]},nextState:"jsx"},n,c("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:e},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},t],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function c(e){return[{token:"comment",regex:/\/\*/,next:[i.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[i.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}o.inherits(a,r),t.JavaScriptHighlightRules=a})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,r=e.findMatchingBracket({row:t,column:i});if(!r||r.row==t)return 0;var s=this.$getIndent(e.getLine(r.row));e.replace(new o(t,0,t,i-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=e("../../range").Range,r=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(s,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(e,t,n,o){var i,r=e.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,n);if(i=r.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(i=r.match(this.foldingStopMarker))?(s=i.index+i[0].length,i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),o=n.search(/\S/),r=t,s=n.length,a=t+=1,l=e.getLength();++tc)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=r)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}a=t}}return new i(r,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),r=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new i(s,o,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,r=e("./javascript_highlight_rules").JavaScriptHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("../worker/worker_client").WorkerClient,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=r,this.$outdent=new s,this.$behaviour=new l,this.foldingRules=new c};o.inherits(u,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.$pairQuotesAfter={"`":/\w/},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),r=i.tokens,s=i.state;if(r.length&&"comment"==r[r.length-1].type)return o;if("start"==e||"no_regex"==e)(a=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/))&&(o+=n);else if("doc-start"==e){if("start"==s||"no_regex"==s)return"";var a;(a=t.match(/^\s*(\/?)\*/))&&(a[1]&&(o+=" "),o+="* ")}return o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/javascript",this.snippetFileId="ace/snippets/javascript"}.call(u.prototype),t.Mode=u})),ace.require(["ace/mode/javascript"],(function(t){e&&(e.exports=t)}))},8457:(e,t,n)=>{e=n.nmd(e),ace.define("ace/snippets/css.snippets",["require","exports","module"],(function(e,t,n){n.exports="snippet .\n\t${1} {\n\t\t${2}\n\t}\nsnippet !\n\t !important\nsnippet bdi:m+\n\t-moz-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\nsnippet bdi:m\n\t-moz-border-image: ${1};\nsnippet bdrz:m\n\t-moz-border-radius: ${1};\nsnippet bxsh:m+\n\t-moz-box-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\nsnippet bxsh:m\n\t-moz-box-shadow: ${1};\nsnippet bdi:w+\n\t-webkit-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\nsnippet bdi:w\n\t-webkit-border-image: ${1};\nsnippet bdrz:w\n\t-webkit-border-radius: ${1};\nsnippet bxsh:w+\n\t-webkit-box-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\nsnippet bxsh:w\n\t-webkit-box-shadow: ${1};\nsnippet @f\n\t@font-face {\n\t\tfont-family: ${1};\n\t\tsrc: url(${2});\n\t}\nsnippet @i\n\t@import url(${1});\nsnippet @m\n\t@media ${1:print} {\n\t\t${2}\n\t}\nsnippet bg+\n\tbackground: #${1:FFF} url(${2}) ${3:0} ${4:0} ${5:no-repeat};\nsnippet bga\n\tbackground-attachment: ${1};\nsnippet bga:f\n\tbackground-attachment: fixed;\nsnippet bga:s\n\tbackground-attachment: scroll;\nsnippet bgbk\n\tbackground-break: ${1};\nsnippet bgbk:bb\n\tbackground-break: bounding-box;\nsnippet bgbk:c\n\tbackground-break: continuous;\nsnippet bgbk:eb\n\tbackground-break: each-box;\nsnippet bgcp\n\tbackground-clip: ${1};\nsnippet bgcp:bb\n\tbackground-clip: border-box;\nsnippet bgcp:cb\n\tbackground-clip: content-box;\nsnippet bgcp:nc\n\tbackground-clip: no-clip;\nsnippet bgcp:pb\n\tbackground-clip: padding-box;\nsnippet bgc\n\tbackground-color: #${1:FFF};\nsnippet bgc:t\n\tbackground-color: transparent;\nsnippet bgi\n\tbackground-image: url(${1});\nsnippet bgi:n\n\tbackground-image: none;\nsnippet bgo\n\tbackground-origin: ${1};\nsnippet bgo:bb\n\tbackground-origin: border-box;\nsnippet bgo:cb\n\tbackground-origin: content-box;\nsnippet bgo:pb\n\tbackground-origin: padding-box;\nsnippet bgpx\n\tbackground-position-x: ${1};\nsnippet bgpy\n\tbackground-position-y: ${1};\nsnippet bgp\n\tbackground-position: ${1:0} ${2:0};\nsnippet bgr\n\tbackground-repeat: ${1};\nsnippet bgr:n\n\tbackground-repeat: no-repeat;\nsnippet bgr:x\n\tbackground-repeat: repeat-x;\nsnippet bgr:y\n\tbackground-repeat: repeat-y;\nsnippet bgr:r\n\tbackground-repeat: repeat;\nsnippet bgz\n\tbackground-size: ${1};\nsnippet bgz:a\n\tbackground-size: auto;\nsnippet bgz:ct\n\tbackground-size: contain;\nsnippet bgz:cv\n\tbackground-size: cover;\nsnippet bg\n\tbackground: ${1};\nsnippet bg:ie\n\tfilter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='${1}',sizingMethod='${2:crop}');\nsnippet bg:n\n\tbackground: none;\nsnippet bd+\n\tborder: ${1:1px} ${2:solid} #${3:000};\nsnippet bdb+\n\tborder-bottom: ${1:1px} ${2:solid} #${3:000};\nsnippet bdbc\n\tborder-bottom-color: #${1:000};\nsnippet bdbi\n\tborder-bottom-image: url(${1});\nsnippet bdbi:n\n\tborder-bottom-image: none;\nsnippet bdbli\n\tborder-bottom-left-image: url(${1});\nsnippet bdbli:c\n\tborder-bottom-left-image: continue;\nsnippet bdbli:n\n\tborder-bottom-left-image: none;\nsnippet bdblrz\n\tborder-bottom-left-radius: ${1};\nsnippet bdbri\n\tborder-bottom-right-image: url(${1});\nsnippet bdbri:c\n\tborder-bottom-right-image: continue;\nsnippet bdbri:n\n\tborder-bottom-right-image: none;\nsnippet bdbrrz\n\tborder-bottom-right-radius: ${1};\nsnippet bdbs\n\tborder-bottom-style: ${1};\nsnippet bdbs:n\n\tborder-bottom-style: none;\nsnippet bdbw\n\tborder-bottom-width: ${1};\nsnippet bdb\n\tborder-bottom: ${1};\nsnippet bdb:n\n\tborder-bottom: none;\nsnippet bdbk\n\tborder-break: ${1};\nsnippet bdbk:c\n\tborder-break: close;\nsnippet bdcl\n\tborder-collapse: ${1};\nsnippet bdcl:c\n\tborder-collapse: collapse;\nsnippet bdcl:s\n\tborder-collapse: separate;\nsnippet bdc\n\tborder-color: #${1:000};\nsnippet bdci\n\tborder-corner-image: url(${1});\nsnippet bdci:c\n\tborder-corner-image: continue;\nsnippet bdci:n\n\tborder-corner-image: none;\nsnippet bdf\n\tborder-fit: ${1};\nsnippet bdf:c\n\tborder-fit: clip;\nsnippet bdf:of\n\tborder-fit: overwrite;\nsnippet bdf:ow\n\tborder-fit: overwrite;\nsnippet bdf:r\n\tborder-fit: repeat;\nsnippet bdf:sc\n\tborder-fit: scale;\nsnippet bdf:sp\n\tborder-fit: space;\nsnippet bdf:st\n\tborder-fit: stretch;\nsnippet bdi\n\tborder-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\nsnippet bdi:n\n\tborder-image: none;\nsnippet bdl+\n\tborder-left: ${1:1px} ${2:solid} #${3:000};\nsnippet bdlc\n\tborder-left-color: #${1:000};\nsnippet bdli\n\tborder-left-image: url(${1});\nsnippet bdli:n\n\tborder-left-image: none;\nsnippet bdls\n\tborder-left-style: ${1};\nsnippet bdls:n\n\tborder-left-style: none;\nsnippet bdlw\n\tborder-left-width: ${1};\nsnippet bdl\n\tborder-left: ${1};\nsnippet bdl:n\n\tborder-left: none;\nsnippet bdlt\n\tborder-length: ${1};\nsnippet bdlt:a\n\tborder-length: auto;\nsnippet bdrz\n\tborder-radius: ${1};\nsnippet bdr+\n\tborder-right: ${1:1px} ${2:solid} #${3:000};\nsnippet bdrc\n\tborder-right-color: #${1:000};\nsnippet bdri\n\tborder-right-image: url(${1});\nsnippet bdri:n\n\tborder-right-image: none;\nsnippet bdrs\n\tborder-right-style: ${1};\nsnippet bdrs:n\n\tborder-right-style: none;\nsnippet bdrw\n\tborder-right-width: ${1};\nsnippet bdr\n\tborder-right: ${1};\nsnippet bdr:n\n\tborder-right: none;\nsnippet bdsp\n\tborder-spacing: ${1};\nsnippet bds\n\tborder-style: ${1};\nsnippet bds:ds\n\tborder-style: dashed;\nsnippet bds:dtds\n\tborder-style: dot-dash;\nsnippet bds:dtdtds\n\tborder-style: dot-dot-dash;\nsnippet bds:dt\n\tborder-style: dotted;\nsnippet bds:db\n\tborder-style: double;\nsnippet bds:g\n\tborder-style: groove;\nsnippet bds:h\n\tborder-style: hidden;\nsnippet bds:i\n\tborder-style: inset;\nsnippet bds:n\n\tborder-style: none;\nsnippet bds:o\n\tborder-style: outset;\nsnippet bds:r\n\tborder-style: ridge;\nsnippet bds:s\n\tborder-style: solid;\nsnippet bds:w\n\tborder-style: wave;\nsnippet bdt+\n\tborder-top: ${1:1px} ${2:solid} #${3:000};\nsnippet bdtc\n\tborder-top-color: #${1:000};\nsnippet bdti\n\tborder-top-image: url(${1});\nsnippet bdti:n\n\tborder-top-image: none;\nsnippet bdtli\n\tborder-top-left-image: url(${1});\nsnippet bdtli:c\n\tborder-corner-image: continue;\nsnippet bdtli:n\n\tborder-corner-image: none;\nsnippet bdtlrz\n\tborder-top-left-radius: ${1};\nsnippet bdtri\n\tborder-top-right-image: url(${1});\nsnippet bdtri:c\n\tborder-top-right-image: continue;\nsnippet bdtri:n\n\tborder-top-right-image: none;\nsnippet bdtrrz\n\tborder-top-right-radius: ${1};\nsnippet bdts\n\tborder-top-style: ${1};\nsnippet bdts:n\n\tborder-top-style: none;\nsnippet bdtw\n\tborder-top-width: ${1};\nsnippet bdt\n\tborder-top: ${1};\nsnippet bdt:n\n\tborder-top: none;\nsnippet bdw\n\tborder-width: ${1};\nsnippet bd\n\tborder: ${1};\nsnippet bd:n\n\tborder: none;\nsnippet b\n\tbottom: ${1};\nsnippet b:a\n\tbottom: auto;\nsnippet bxsh+\n\tbox-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\nsnippet bxsh\n\tbox-shadow: ${1};\nsnippet bxsh:n\n\tbox-shadow: none;\nsnippet bxz\n\tbox-sizing: ${1};\nsnippet bxz:bb\n\tbox-sizing: border-box;\nsnippet bxz:cb\n\tbox-sizing: content-box;\nsnippet cps\n\tcaption-side: ${1};\nsnippet cps:b\n\tcaption-side: bottom;\nsnippet cps:t\n\tcaption-side: top;\nsnippet cl\n\tclear: ${1};\nsnippet cl:b\n\tclear: both;\nsnippet cl:l\n\tclear: left;\nsnippet cl:n\n\tclear: none;\nsnippet cl:r\n\tclear: right;\nsnippet cp\n\tclip: ${1};\nsnippet cp:a\n\tclip: auto;\nsnippet cp:r\n\tclip: rect(${1:0} ${2:0} ${3:0} ${4:0});\nsnippet c\n\tcolor: #${1:000};\nsnippet ct\n\tcontent: ${1};\nsnippet ct:a\n\tcontent: attr(${1});\nsnippet ct:cq\n\tcontent: close-quote;\nsnippet ct:c\n\tcontent: counter(${1});\nsnippet ct:cs\n\tcontent: counters(${1});\nsnippet ct:ncq\n\tcontent: no-close-quote;\nsnippet ct:noq\n\tcontent: no-open-quote;\nsnippet ct:n\n\tcontent: normal;\nsnippet ct:oq\n\tcontent: open-quote;\nsnippet coi\n\tcounter-increment: ${1};\nsnippet cor\n\tcounter-reset: ${1};\nsnippet cur\n\tcursor: ${1};\nsnippet cur:a\n\tcursor: auto;\nsnippet cur:c\n\tcursor: crosshair;\nsnippet cur:d\n\tcursor: default;\nsnippet cur:ha\n\tcursor: hand;\nsnippet cur:he\n\tcursor: help;\nsnippet cur:m\n\tcursor: move;\nsnippet cur:p\n\tcursor: pointer;\nsnippet cur:t\n\tcursor: text;\nsnippet d\n\tdisplay: ${1};\nsnippet d:mib\n\tdisplay: -moz-inline-box;\nsnippet d:mis\n\tdisplay: -moz-inline-stack;\nsnippet d:b\n\tdisplay: block;\nsnippet d:cp\n\tdisplay: compact;\nsnippet d:ib\n\tdisplay: inline-block;\nsnippet d:itb\n\tdisplay: inline-table;\nsnippet d:i\n\tdisplay: inline;\nsnippet d:li\n\tdisplay: list-item;\nsnippet d:n\n\tdisplay: none;\nsnippet d:ri\n\tdisplay: run-in;\nsnippet d:tbcp\n\tdisplay: table-caption;\nsnippet d:tbc\n\tdisplay: table-cell;\nsnippet d:tbclg\n\tdisplay: table-column-group;\nsnippet d:tbcl\n\tdisplay: table-column;\nsnippet d:tbfg\n\tdisplay: table-footer-group;\nsnippet d:tbhg\n\tdisplay: table-header-group;\nsnippet d:tbrg\n\tdisplay: table-row-group;\nsnippet d:tbr\n\tdisplay: table-row;\nsnippet d:tb\n\tdisplay: table;\nsnippet ec\n\tempty-cells: ${1};\nsnippet ec:h\n\tempty-cells: hide;\nsnippet ec:s\n\tempty-cells: show;\nsnippet exp\n\texpression()\nsnippet fl\n\tfloat: ${1};\nsnippet fl:l\n\tfloat: left;\nsnippet fl:n\n\tfloat: none;\nsnippet fl:r\n\tfloat: right;\nsnippet f+\n\tfont: ${1:1em} ${2:Arial},${3:sans-serif};\nsnippet fef\n\tfont-effect: ${1};\nsnippet fef:eb\n\tfont-effect: emboss;\nsnippet fef:eg\n\tfont-effect: engrave;\nsnippet fef:n\n\tfont-effect: none;\nsnippet fef:o\n\tfont-effect: outline;\nsnippet femp\n\tfont-emphasize-position: ${1};\nsnippet femp:a\n\tfont-emphasize-position: after;\nsnippet femp:b\n\tfont-emphasize-position: before;\nsnippet fems\n\tfont-emphasize-style: ${1};\nsnippet fems:ac\n\tfont-emphasize-style: accent;\nsnippet fems:c\n\tfont-emphasize-style: circle;\nsnippet fems:ds\n\tfont-emphasize-style: disc;\nsnippet fems:dt\n\tfont-emphasize-style: dot;\nsnippet fems:n\n\tfont-emphasize-style: none;\nsnippet fem\n\tfont-emphasize: ${1};\nsnippet ff\n\tfont-family: ${1};\nsnippet ff:c\n\tfont-family: ${1:'Monotype Corsiva','Comic Sans MS'},cursive;\nsnippet ff:f\n\tfont-family: ${1:Capitals,Impact},fantasy;\nsnippet ff:m\n\tfont-family: ${1:Monaco,'Courier New'},monospace;\nsnippet ff:ss\n\tfont-family: ${1:Helvetica,Arial},sans-serif;\nsnippet ff:s\n\tfont-family: ${1:Georgia,'Times New Roman'},serif;\nsnippet fza\n\tfont-size-adjust: ${1};\nsnippet fza:n\n\tfont-size-adjust: none;\nsnippet fz\n\tfont-size: ${1};\nsnippet fsm\n\tfont-smooth: ${1};\nsnippet fsm:aw\n\tfont-smooth: always;\nsnippet fsm:a\n\tfont-smooth: auto;\nsnippet fsm:n\n\tfont-smooth: never;\nsnippet fst\n\tfont-stretch: ${1};\nsnippet fst:c\n\tfont-stretch: condensed;\nsnippet fst:e\n\tfont-stretch: expanded;\nsnippet fst:ec\n\tfont-stretch: extra-condensed;\nsnippet fst:ee\n\tfont-stretch: extra-expanded;\nsnippet fst:n\n\tfont-stretch: normal;\nsnippet fst:sc\n\tfont-stretch: semi-condensed;\nsnippet fst:se\n\tfont-stretch: semi-expanded;\nsnippet fst:uc\n\tfont-stretch: ultra-condensed;\nsnippet fst:ue\n\tfont-stretch: ultra-expanded;\nsnippet fs\n\tfont-style: ${1};\nsnippet fs:i\n\tfont-style: italic;\nsnippet fs:n\n\tfont-style: normal;\nsnippet fs:o\n\tfont-style: oblique;\nsnippet fv\n\tfont-variant: ${1};\nsnippet fv:n\n\tfont-variant: normal;\nsnippet fv:sc\n\tfont-variant: small-caps;\nsnippet fw\n\tfont-weight: ${1};\nsnippet fw:b\n\tfont-weight: bold;\nsnippet fw:br\n\tfont-weight: bolder;\nsnippet fw:lr\n\tfont-weight: lighter;\nsnippet fw:n\n\tfont-weight: normal;\nsnippet f\n\tfont: ${1};\nsnippet h\n\theight: ${1};\nsnippet h:a\n\theight: auto;\nsnippet l\n\tleft: ${1};\nsnippet l:a\n\tleft: auto;\nsnippet lts\n\tletter-spacing: ${1};\nsnippet lh\n\tline-height: ${1};\nsnippet lisi\n\tlist-style-image: url(${1});\nsnippet lisi:n\n\tlist-style-image: none;\nsnippet lisp\n\tlist-style-position: ${1};\nsnippet lisp:i\n\tlist-style-position: inside;\nsnippet lisp:o\n\tlist-style-position: outside;\nsnippet list\n\tlist-style-type: ${1};\nsnippet list:c\n\tlist-style-type: circle;\nsnippet list:dclz\n\tlist-style-type: decimal-leading-zero;\nsnippet list:dc\n\tlist-style-type: decimal;\nsnippet list:d\n\tlist-style-type: disc;\nsnippet list:lr\n\tlist-style-type: lower-roman;\nsnippet list:n\n\tlist-style-type: none;\nsnippet list:s\n\tlist-style-type: square;\nsnippet list:ur\n\tlist-style-type: upper-roman;\nsnippet lis\n\tlist-style: ${1};\nsnippet lis:n\n\tlist-style: none;\nsnippet mb\n\tmargin-bottom: ${1};\nsnippet mb:a\n\tmargin-bottom: auto;\nsnippet ml\n\tmargin-left: ${1};\nsnippet ml:a\n\tmargin-left: auto;\nsnippet mr\n\tmargin-right: ${1};\nsnippet mr:a\n\tmargin-right: auto;\nsnippet mt\n\tmargin-top: ${1};\nsnippet mt:a\n\tmargin-top: auto;\nsnippet m\n\tmargin: ${1};\nsnippet m:4\n\tmargin: ${1:0} ${2:0} ${3:0} ${4:0};\nsnippet m:3\n\tmargin: ${1:0} ${2:0} ${3:0};\nsnippet m:2\n\tmargin: ${1:0} ${2:0};\nsnippet m:0\n\tmargin: 0;\nsnippet m:a\n\tmargin: auto;\nsnippet mah\n\tmax-height: ${1};\nsnippet mah:n\n\tmax-height: none;\nsnippet maw\n\tmax-width: ${1};\nsnippet maw:n\n\tmax-width: none;\nsnippet mih\n\tmin-height: ${1};\nsnippet miw\n\tmin-width: ${1};\nsnippet op\n\topacity: ${1};\nsnippet op:ie\n\tfilter: progid:DXImageTransform.Microsoft.Alpha(Opacity=${1:100});\nsnippet op:ms\n\t-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=${1:100})';\nsnippet orp\n\torphans: ${1};\nsnippet o+\n\toutline: ${1:1px} ${2:solid} #${3:000};\nsnippet oc\n\toutline-color: ${1:#000};\nsnippet oc:i\n\toutline-color: invert;\nsnippet oo\n\toutline-offset: ${1};\nsnippet os\n\toutline-style: ${1};\nsnippet ow\n\toutline-width: ${1};\nsnippet o\n\toutline: ${1};\nsnippet o:n\n\toutline: none;\nsnippet ovs\n\toverflow-style: ${1};\nsnippet ovs:a\n\toverflow-style: auto;\nsnippet ovs:mq\n\toverflow-style: marquee;\nsnippet ovs:mv\n\toverflow-style: move;\nsnippet ovs:p\n\toverflow-style: panner;\nsnippet ovs:s\n\toverflow-style: scrollbar;\nsnippet ovx\n\toverflow-x: ${1};\nsnippet ovx:a\n\toverflow-x: auto;\nsnippet ovx:h\n\toverflow-x: hidden;\nsnippet ovx:s\n\toverflow-x: scroll;\nsnippet ovx:v\n\toverflow-x: visible;\nsnippet ovy\n\toverflow-y: ${1};\nsnippet ovy:a\n\toverflow-y: auto;\nsnippet ovy:h\n\toverflow-y: hidden;\nsnippet ovy:s\n\toverflow-y: scroll;\nsnippet ovy:v\n\toverflow-y: visible;\nsnippet ov\n\toverflow: ${1};\nsnippet ov:a\n\toverflow: auto;\nsnippet ov:h\n\toverflow: hidden;\nsnippet ov:s\n\toverflow: scroll;\nsnippet ov:v\n\toverflow: visible;\nsnippet pb\n\tpadding-bottom: ${1};\nsnippet pl\n\tpadding-left: ${1};\nsnippet pr\n\tpadding-right: ${1};\nsnippet pt\n\tpadding-top: ${1};\nsnippet p\n\tpadding: ${1};\nsnippet p:4\n\tpadding: ${1:0} ${2:0} ${3:0} ${4:0};\nsnippet p:3\n\tpadding: ${1:0} ${2:0} ${3:0};\nsnippet p:2\n\tpadding: ${1:0} ${2:0};\nsnippet p:0\n\tpadding: 0;\nsnippet pgba\n\tpage-break-after: ${1};\nsnippet pgba:aw\n\tpage-break-after: always;\nsnippet pgba:a\n\tpage-break-after: auto;\nsnippet pgba:l\n\tpage-break-after: left;\nsnippet pgba:r\n\tpage-break-after: right;\nsnippet pgbb\n\tpage-break-before: ${1};\nsnippet pgbb:aw\n\tpage-break-before: always;\nsnippet pgbb:a\n\tpage-break-before: auto;\nsnippet pgbb:l\n\tpage-break-before: left;\nsnippet pgbb:r\n\tpage-break-before: right;\nsnippet pgbi\n\tpage-break-inside: ${1};\nsnippet pgbi:a\n\tpage-break-inside: auto;\nsnippet pgbi:av\n\tpage-break-inside: avoid;\nsnippet pos\n\tposition: ${1};\nsnippet pos:a\n\tposition: absolute;\nsnippet pos:f\n\tposition: fixed;\nsnippet pos:r\n\tposition: relative;\nsnippet pos:s\n\tposition: static;\nsnippet q\n\tquotes: ${1};\nsnippet q:en\n\tquotes: '\\201C' '\\201D' '\\2018' '\\2019';\nsnippet q:n\n\tquotes: none;\nsnippet q:ru\n\tquotes: '\\00AB' '\\00BB' '\\201E' '\\201C';\nsnippet rz\n\tresize: ${1};\nsnippet rz:b\n\tresize: both;\nsnippet rz:h\n\tresize: horizontal;\nsnippet rz:n\n\tresize: none;\nsnippet rz:v\n\tresize: vertical;\nsnippet r\n\tright: ${1};\nsnippet r:a\n\tright: auto;\nsnippet tbl\n\ttable-layout: ${1};\nsnippet tbl:a\n\ttable-layout: auto;\nsnippet tbl:f\n\ttable-layout: fixed;\nsnippet tal\n\ttext-align-last: ${1};\nsnippet tal:a\n\ttext-align-last: auto;\nsnippet tal:c\n\ttext-align-last: center;\nsnippet tal:l\n\ttext-align-last: left;\nsnippet tal:r\n\ttext-align-last: right;\nsnippet ta\n\ttext-align: ${1};\nsnippet ta:c\n\ttext-align: center;\nsnippet ta:l\n\ttext-align: left;\nsnippet ta:r\n\ttext-align: right;\nsnippet td\n\ttext-decoration: ${1};\nsnippet td:l\n\ttext-decoration: line-through;\nsnippet td:n\n\ttext-decoration: none;\nsnippet td:o\n\ttext-decoration: overline;\nsnippet td:u\n\ttext-decoration: underline;\nsnippet te\n\ttext-emphasis: ${1};\nsnippet te:ac\n\ttext-emphasis: accent;\nsnippet te:a\n\ttext-emphasis: after;\nsnippet te:b\n\ttext-emphasis: before;\nsnippet te:c\n\ttext-emphasis: circle;\nsnippet te:ds\n\ttext-emphasis: disc;\nsnippet te:dt\n\ttext-emphasis: dot;\nsnippet te:n\n\ttext-emphasis: none;\nsnippet th\n\ttext-height: ${1};\nsnippet th:a\n\ttext-height: auto;\nsnippet th:f\n\ttext-height: font-size;\nsnippet th:m\n\ttext-height: max-size;\nsnippet th:t\n\ttext-height: text-size;\nsnippet ti\n\ttext-indent: ${1};\nsnippet ti:-\n\ttext-indent: -9999px;\nsnippet tj\n\ttext-justify: ${1};\nsnippet tj:a\n\ttext-justify: auto;\nsnippet tj:d\n\ttext-justify: distribute;\nsnippet tj:ic\n\ttext-justify: inter-cluster;\nsnippet tj:ii\n\ttext-justify: inter-ideograph;\nsnippet tj:iw\n\ttext-justify: inter-word;\nsnippet tj:k\n\ttext-justify: kashida;\nsnippet tj:t\n\ttext-justify: tibetan;\nsnippet to+\n\ttext-outline: ${1:0} ${2:0} #${3:000};\nsnippet to\n\ttext-outline: ${1};\nsnippet to:n\n\ttext-outline: none;\nsnippet tr\n\ttext-replace: ${1};\nsnippet tr:n\n\ttext-replace: none;\nsnippet tsh+\n\ttext-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\nsnippet tsh\n\ttext-shadow: ${1};\nsnippet tsh:n\n\ttext-shadow: none;\nsnippet tt\n\ttext-transform: ${1};\nsnippet tt:c\n\ttext-transform: capitalize;\nsnippet tt:l\n\ttext-transform: lowercase;\nsnippet tt:n\n\ttext-transform: none;\nsnippet tt:u\n\ttext-transform: uppercase;\nsnippet tw\n\ttext-wrap: ${1};\nsnippet tw:no\n\ttext-wrap: none;\nsnippet tw:n\n\ttext-wrap: normal;\nsnippet tw:s\n\ttext-wrap: suppress;\nsnippet tw:u\n\ttext-wrap: unrestricted;\nsnippet t\n\ttop: ${1};\nsnippet t:a\n\ttop: auto;\nsnippet va\n\tvertical-align: ${1};\nsnippet va:bl\n\tvertical-align: baseline;\nsnippet va:b\n\tvertical-align: bottom;\nsnippet va:m\n\tvertical-align: middle;\nsnippet va:sub\n\tvertical-align: sub;\nsnippet va:sup\n\tvertical-align: super;\nsnippet va:tb\n\tvertical-align: text-bottom;\nsnippet va:tt\n\tvertical-align: text-top;\nsnippet va:t\n\tvertical-align: top;\nsnippet v\n\tvisibility: ${1};\nsnippet v:c\n\tvisibility: collapse;\nsnippet v:h\n\tvisibility: hidden;\nsnippet v:v\n\tvisibility: visible;\nsnippet whsc\n\twhite-space-collapse: ${1};\nsnippet whsc:ba\n\twhite-space-collapse: break-all;\nsnippet whsc:bs\n\twhite-space-collapse: break-strict;\nsnippet whsc:k\n\twhite-space-collapse: keep-all;\nsnippet whsc:l\n\twhite-space-collapse: loose;\nsnippet whsc:n\n\twhite-space-collapse: normal;\nsnippet whs\n\twhite-space: ${1};\nsnippet whs:n\n\twhite-space: normal;\nsnippet whs:nw\n\twhite-space: nowrap;\nsnippet whs:pl\n\twhite-space: pre-line;\nsnippet whs:pw\n\twhite-space: pre-wrap;\nsnippet whs:p\n\twhite-space: pre;\nsnippet wid\n\twidows: ${1};\nsnippet w\n\twidth: ${1};\nsnippet w:a\n\twidth: auto;\nsnippet wob\n\tword-break: ${1};\nsnippet wob:ba\n\tword-break: break-all;\nsnippet wob:bs\n\tword-break: break-strict;\nsnippet wob:k\n\tword-break: keep-all;\nsnippet wob:l\n\tword-break: loose;\nsnippet wob:n\n\tword-break: normal;\nsnippet wos\n\tword-spacing: ${1};\nsnippet wow\n\tword-wrap: ${1};\nsnippet wow:no\n\tword-wrap: none;\nsnippet wow:n\n\tword-wrap: normal;\nsnippet wow:s\n\tword-wrap: suppress;\nsnippet wow:u\n\tword-wrap: unrestricted;\nsnippet z\n\tz-index: ${1};\nsnippet z:a\n\tz-index: auto;\nsnippet zoo\n\tzoom: 1;\n"})),ace.define("ace/snippets/css",["require","exports","module","ace/snippets/css.snippets"],(function(e,t,n){"use strict";t.snippetText=e("./css.snippets"),t.scope="css"})),ace.require(["ace/snippets/css"],(function(t){e&&(e.exports=t)}))},4139:(e,t,n)=>{e=n.nmd(e),ace.define("ace/snippets/javascript.snippets",["require","exports","module"],(function(e,t,n){n.exports='# Prototype\nsnippet proto\n\t${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {\n\t\t${4:// body...}\n\t};\n# Function\nsnippet fun\n\tfunction ${1?:function_name}(${2:argument}) {\n\t\t${3:// body...}\n\t}\n# Anonymous Function\nregex /((=)\\s*|(:)\\s*|(\\()|\\b)/f/(\\))?/\nsnippet f\n\tfunction${M1?: ${1:functionName}}($2) {\n\t\t${0:$TM_SELECTED_TEXT}\n\t}${M2?;}${M3?,}${M4?)}\n# Immediate function\ntrigger \\(?f\\(\nendTrigger \\)?\nsnippet f(\n\t(function(${1}) {\n\t\t${0:${TM_SELECTED_TEXT:/* code */}}\n\t}(${1}));\n# if\nsnippet if\n\tif (${1:true}) {\n\t\t${0}\n\t}\n# if ... else\nsnippet ife\n\tif (${1:true}) {\n\t\t${2}\n\t} else {\n\t\t${0}\n\t}\n# tertiary conditional\nsnippet ter\n\t${1:/* condition */} ? ${2:a} : ${3:b}\n# switch\nsnippet switch\n\tswitch (${1:expression}) {\n\t\tcase \'${3:case}\':\n\t\t\t${4:// code}\n\t\t\tbreak;\n\t\t${5}\n\t\tdefault:\n\t\t\t${2:// code}\n\t}\n# case\nsnippet case\n\tcase \'${1:case}\':\n\t\t${2:// code}\n\t\tbreak;\n\t${3}\n\n# while (...) {...}\nsnippet wh\n\twhile (${1:/* condition */}) {\n\t\t${0:/* code */}\n\t}\n# try\nsnippet try\n\ttry {\n\t\t${0:/* code */}\n\t} catch (e) {}\n# do...while\nsnippet do\n\tdo {\n\t\t${2:/* code */}\n\t} while (${1:/* condition */});\n# Object Method\nsnippet :f\nregex /([,{[])|^\\s*/:f/\n\t${1:method_name}: function(${2:attribute}) {\n\t\t${0}\n\t}${3:,}\n# setTimeout function\nsnippet setTimeout\nregex /\\b/st|timeout|setTimeo?u?t?/\n\tsetTimeout(function() {${3:$TM_SELECTED_TEXT}}, ${1:10});\n# Get Elements\nsnippet gett\n\tgetElementsBy${1:TagName}(\'${2}\')${3}\n# Get Element\nsnippet get\n\tgetElementBy${1:Id}(\'${2}\')${3}\n# console.log (Firebug)\nsnippet cl\n\tconsole.log(${1});\n# return\nsnippet ret\n\treturn ${1:result}\n# for (property in object ) { ... }\nsnippet fori\n\tfor (var ${1:prop} in ${2:Things}) {\n\t\t${0:$2[$1]}\n\t}\n# hasOwnProperty\nsnippet has\n\thasOwnProperty(${1})\n# docstring\nsnippet /**\n\t/**\n\t * ${1:description}\n\t *\n\t */\nsnippet @par\nregex /^\\s*\\*\\s*/@(para?m?)?/\n\t@param {${1:type}} ${2:name} ${3:description}\nsnippet @ret\n\t@return {${1:type}} ${2:description}\n# JSON.parse\nsnippet jsonp\n\tJSON.parse(${1:jstr});\n# JSON.stringify\nsnippet jsons\n\tJSON.stringify(${1:object});\n# self-defining function\nsnippet sdf\n\tvar ${1:function_name} = function(${2:argument}) {\n\t\t${3:// initial code ...}\n\n\t\t$1 = function($2) {\n\t\t\t${4:// main code}\n\t\t};\n\t}\n# singleton\nsnippet sing\n\tfunction ${1:Singleton} (${2:argument}) {\n\t\t// the cached instance\n\t\tvar instance;\n\n\t\t// rewrite the constructor\n\t\t$1 = function $1($2) {\n\t\t\treturn instance;\n\t\t};\n\t\t\n\t\t// carry over the prototype properties\n\t\t$1.prototype = this;\n\n\t\t// the instance\n\t\tinstance = new $1();\n\n\t\t// reset the constructor pointer\n\t\tinstance.constructor = $1;\n\n\t\t${3:// code ...}\n\n\t\treturn instance;\n\t}\n# class\nsnippet class\nregex /^\\s*/clas{0,2}/\n\tvar ${1:class} = function(${20}) {\n\t\t$40$0\n\t};\n\t\n\t(function() {\n\t\t${60:this.prop = ""}\n\t}).call(${1:class}.prototype);\n\t\n\texports.${1:class} = ${1:class};\n# \nsnippet for-\n\tfor (var ${1:i} = ${2:Things}.length; ${1:i}--; ) {\n\t\t${0:${2:Things}[${1:i}];}\n\t}\n# for (...) {...}\nsnippet for\n\tfor (var ${1:i} = 0; $1 < ${2:Things}.length; $1++) {\n\t\t${3:$2[$1]}$0\n\t}\n# for (...) {...} (Improved Native For-Loop)\nsnippet forr\n\tfor (var ${1:i} = ${2:Things}.length - 1; $1 >= 0; $1--) {\n\t\t${3:$2[$1]}$0\n\t}\n\n\n#modules\nsnippet def\n\tdefine(function(require, exports, module) {\n\t"use strict";\n\tvar ${1/.*\\///} = require("${1}");\n\t\n\t$TM_SELECTED_TEXT\n\t});\nsnippet req\nguard ^\\s*\n\tvar ${1/.*\\///} = require("${1}");\n\t$0\nsnippet requ\nguard ^\\s*\n\tvar ${1/.*\\/(.)/\\u$1/} = require("${1}").${1/.*\\/(.)/\\u$1/};\n\t$0\n'})),ace.define("ace/snippets/javascript",["require","exports","module","ace/snippets/javascript.snippets"],(function(e,t,n){"use strict";t.snippetText=e("./javascript.snippets"),t.scope="javascript"})),ace.require(["ace/snippets/javascript"],(function(t){e&&(e.exports=t)}))},8171:(e,t,n)=>{e=n.nmd(e),ace.require(["ace/snippets/text"],(function(t){e&&(e.exports=t)}))},9511:(e,t,n)=>{"use strict";var o=n(8075)("ArrayBuffer.prototype.byteLength",!0),i=n(4670);e.exports=function(e){return i(e)?o?o(e):e.byteLength:NaN}},8024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=function(){function e(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n{"use strict";var o=r(n(1278)),i=r(n(1625));function r(e){return e&&e.__esModule?e:{default:e}}t.A=(0,i.default)(o.default,{value:"onChange"})},9853:e=>{var t=.1,n="function"==typeof Float32Array;function o(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function r(e){return 3*e}function s(e,t,n){return((o(t,n)*e+i(t,n))*e+r(t))*e}function a(e,t,n){return 3*o(t,n)*e*e+2*i(t,n)*e+r(t)}function l(e){return e}e.exports=function(e,o,i,r){if(!(0<=e&&e<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===o&&i===r)return l;for(var c=n?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=s(u*t,e,i);return function(n){return 0===n?0:1===n?1:s(function(n){for(var o=0,r=1;10!==r&&c[r]<=n;++r)o+=t;--r;var l=o+(n-c[r])/(c[r+1]-c[r])*t,u=a(l,e,i);return u>=.001?function(e,t,n,o){for(var i=0;i<4;++i){var r=a(t,n,o);if(0===r)return t;t-=(s(t,n,o)-e)/r}return t}(n,l,e,i):0===u?l:function(e,t,n,o,i){var r,a,l=0;do{(r=s(a=t+(n-t)/2,o,i)-e)>0?n=a:t=a}while(Math.abs(r)>1e-7&&++l<10);return a}(n,o,o+t,e,i)}(n),o,r)}}},8075:(e,t,n)=>{"use strict";var o=n(453),i=n(487),r=i(o("String.prototype.indexOf"));e.exports=function(e,t){var n=o(e,!!t);return"function"==typeof n&&r(e,".prototype.")>-1?i(n):n}},487:(e,t,n)=>{"use strict";var o=n(6743),i=n(453),r=n(6897),s=n(9675),a=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||o.call(l,a),u=n(655),h=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new s("a function is required");var t=c(o,l,arguments);return r(t,1+h(0,e.length-(arguments.length-1)),!0)};var d=function(){return c(o,a,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},4982:(e,t,n)=>{"use strict";var o=n(6525),i=n(8075),r=n(3970),s=n(453),a=n(4552),l=n(920),c=n(7653),u=n(7244),h=n(4634),d=n(4670),p=n(2120),g=n(4035),f=n(7070),m=n(1189),v=n(1539),b=n(7638),y=n(5767),w=n(9511),k=i("SharedArrayBuffer.prototype.byteLength",!0),_=i("Date.prototype.getTime"),x=Object.getPrototypeOf,C=i("Object.prototype.toString"),S=s("%Set%",!0),E=i("Map.prototype.has",!0),A=i("Map.prototype.get",!0),T=i("Map.prototype.size",!0),$=i("Set.prototype.add",!0),M=i("Set.prototype.delete",!0),R=i("Set.prototype.has",!0),j=i("Set.prototype.size",!0);function O(e,t,n,o){for(var i,r=a(e);(i=r.next())&&!i.done;)if(D(t,i.value,n,o))return M(e,i.value),!0;return!1}function L(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function I(e,t,n,i,r,s){var a=L(n);if(null!=a)return a;var l=A(t,a),c=o({},r,{strict:!1});return!(void 0===l&&!E(t,a)||!D(i,l,c,s))&&!E(e,a)&&D(i,l,c,s)}function N(e,t,n){var o=L(n);return null!=o?o:R(t,o)&&!R(e,o)}function P(e,t,n,o,i,r){for(var s,l,c=a(e);(s=c.next())&&!s.done;)if(D(n,l=s.value,i,r)&&D(o,A(t,l),i,r))return M(e,l),!0;return!1}function D(e,t,n,i){var s=n||{};if(s.strict?c(e,t):e===t)return!0;if(v(e)!==v(t))return!1;if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return s.strict?c(e,t):e==t;var l,M=i.has(e),L=i.has(t);if(M&&L){if(i.get(e)===i.get(t))return!0}else l={};return M||i.set(e,l),L||i.set(t,l),function(e,t,n,i){var s,l;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(C(e)!==C(t))return!1;if(u(e)!==u(t))return!1;if(h(e)!==h(t))return!1;var c=e instanceof Error,v=t instanceof Error;if(c!==v)return!1;if((c||v)&&(e.name!==t.name||e.message!==t.message))return!1;var M=g(e),L=g(t);if(M!==L)return!1;if((M||L)&&(e.source!==t.source||r(e)!==r(t)))return!1;var z=p(e),F=p(t);if(z!==F)return!1;if((z||F)&&_(e)!==_(t))return!1;if(n.strict&&x&&x(e)!==x(t))return!1;var H=y(e),W=y(t);if(H!==W)return!1;if(H||W){if(e.length!==t.length)return!1;for(s=0;s=0;s--)if(Z[s]!=J[s])return!1;for(s=Z.length-1;s>=0;s--)if(!D(e[l=Z[s]],t[l],n,i))return!1;var X=b(e),Q=b(t);return X===Q&&("Set"===X||"Set"===Q?function(e,t,n,o){if(j(e)!==j(t))return!1;for(var i,r,s,l=a(e),c=a(t);(i=l.next())&&!i.done;)if(i.value&&"object"==typeof i.value)s||(s=new S),$(s,i.value);else if(!R(t,i.value)){if(n.strict)return!1;if(!N(e,t,i.value))return!1;s||(s=new S),$(s,i.value)}if(s){for(;(r=c.next())&&!r.done;)if(r.value&&"object"==typeof r.value){if(!O(s,r.value,n.strict,o))return!1}else if(!n.strict&&!R(e,r.value)&&!O(s,r.value,n.strict,o))return!1;return 0===j(s)}return!0}(e,t,n,i):"Map"!==X||function(e,t,n,i){if(T(e)!==T(t))return!1;for(var r,s,l,c,u,h,d=a(e),p=a(t);(r=d.next())&&!r.done;)if(c=r.value[0],u=r.value[1],c&&"object"==typeof c)l||(l=new S),$(l,c);else if(void 0===(h=A(t,c))&&!E(t,c)||!D(u,h,n,i)){if(n.strict)return!1;if(!I(e,t,c,u,n,i))return!1;l||(l=new S),$(l,c)}if(l){for(;(s=p.next())&&!s.done;)if(c=s.value[0],h=s.value[1],c&&"object"==typeof c){if(!P(l,e,c,h,n,i))return!1}else if(!(n.strict||e.has(c)&&D(A(e,c),h,n,i)||P(l,e,c,h,o({},n,{strict:!1}),i)))return!1;return 0===j(l)}return!0}(e,t,n,i))}(e,t,s,i)}function B(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0]||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))}e.exports=function(e,t,n){return D(e,t,n,l())}},41:(e,t,n)=>{"use strict";var o=n(655),i=n(8068),r=n(9675),s=n(5795);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new r("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!s&&s(e,t);if(o)o(e,t,{configurable:null===c&&h?h.configurable:!c,enumerable:null===a&&h?h.enumerable:!a,value:n,writable:null===l&&h?h.writable:!l});else{if(!u&&(a||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},8452:(e,t,n)=>{"use strict";var o=n(1189),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),r=Object.prototype.toString,s=Array.prototype.concat,a=n(41),l=n(592)(),c=function(e,t,n,o){if(t in e)if(!0===o){if(e[t]===n)return}else if("function"!=typeof(i=o)||"[object Function]"!==r.call(i)||!o())return;var i;l?a(e,t,n,!0):a(e,t,n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},r=o(t);i&&(r=s.call(r,Object.getOwnPropertySymbols(t)));for(var a=0;a{var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1;t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,o,i){void 0===i&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var r=i;if(null==e||null==n)throw new Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];void 0===o&&(o=!0);var s=o,a=this.diff_commonPrefix(e,n),l=e.substring(0,a);e=e.substring(a),n=n.substring(a),a=this.diff_commonSuffix(e,n);var c=e.substring(e.length-a);e=e.substring(0,e.length-a),n=n.substring(0,n.length-a);var u=this.diff_compute_(e,n,s,r);return l&&u.unshift(new t.Diff(0,l)),c&&u.push(new t.Diff(0,c)),this.diff_cleanupMerge(u),u},t.prototype.diff_compute_=function(e,o,i,r){var s;if(!e)return[new t.Diff(1,o)];if(!o)return[new t.Diff(n,e)];var a=e.length>o.length?e:o,l=e.length>o.length?o:e,c=a.indexOf(l);if(-1!=c)return s=[new t.Diff(1,a.substring(0,c)),new t.Diff(0,l),new t.Diff(1,a.substring(c+l.length))],e.length>o.length&&(s[0][0]=s[2][0]=n),s;if(1==l.length)return[new t.Diff(n,e),new t.Diff(1,o)];var u=this.diff_halfMatch_(e,o);if(u){var h=u[0],d=u[1],p=u[2],g=u[3],f=u[4],m=this.diff_main(h,p,i,r),v=this.diff_main(d,g,i,r);return m.concat([new t.Diff(0,f)],v)}return i&&e.length>100&&o.length>100?this.diff_lineMode_(e,o,r):this.diff_bisect_(e,o,r)},t.prototype.diff_lineMode_=function(e,o,i){var r=this.diff_linesToChars_(e,o);e=r.chars1,o=r.chars2;var s=r.lineArray,a=this.diff_main(e,o,!1,i);this.diff_charsToLines_(a,s),this.diff_cleanupSemantic(a),a.push(new t.Diff(0,""));for(var l=0,c=0,u=0,h="",d="";l=1&&u>=1){a.splice(l-c-u,c+u),l=l-c-u;for(var p=this.diff_main(h,d,!1,i),g=p.length-1;g>=0;g--)a.splice(l,0,p[g]);l+=p.length}u=0,c=0,h="",d=""}l++}return a.pop(),a},t.prototype.diff_bisect_=function(e,o,i){for(var r=e.length,s=o.length,a=Math.ceil((r+s)/2),l=a,c=2*a,u=new Array(c),h=new Array(c),d=0;di);y++){for(var w=-y+f;w<=y-m;w+=2){for(var k=l+w,_=(A=w==-y||w!=y&&u[k-1]r)m+=2;else if(_>s)f+=2;else if(g&&(S=l+p-w)>=0&&S=(C=r-h[S]))return this.diff_bisectSplit_(e,o,A,_,i)}for(var x=-y+v;x<=y-b;x+=2){for(var C,S=l+x,E=(C=x==-y||x!=y&&h[S-1]r)b+=2;else if(E>s)v+=2;else if(!g){var A;if((k=l+p-x)>=0&&k=(C=r-C))return this.diff_bisectSplit_(e,o,A,_,i)}}}return[new t.Diff(n,e),new t.Diff(1,o)]},t.prototype.diff_bisectSplit_=function(e,t,n,o,i){var r=e.substring(0,n),s=t.substring(0,o),a=e.substring(n),l=t.substring(o),c=this.diff_main(r,s,!1,i),u=this.diff_main(a,l,!1,i);return c.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],o={};function i(e){for(var t="",i=0,s=-1,a=n.length;so?e=e.substring(n-o):nt.length?e:t,o=e.length>t.length?t:e;if(n.length<4||2*o.length=e.length?[o,r,s,a,u]:null}var s,a,l,c,u,h=r(n,o,Math.ceil(n.length/4)),d=r(n,o,Math.ceil(n.length/2));return h||d?(s=d?h&&h[4].length>d[4].length?h:d:h,e.length>t.length?(a=s[0],l=s[1],c=s[2],u=s[3]):(c=s[0],u=s[1],a=s[2],l=s[3]),[a,l,c,u,s[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var o=!1,i=[],r=0,s=null,a=0,l=0,c=0,u=0,h=0;a0?i[r-1]:-1,l=0,c=0,u=0,h=0,s=null,o=!0)),a++;for(o&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),a=1;a=f?(g>=d.length/2||g>=p.length/2)&&(e.splice(a,0,new t.Diff(0,p.substring(0,g))),e[a-1][1]=d.substring(0,d.length-g),e[a+1][1]=p.substring(g),a++):(f>=d.length/2||f>=p.length/2)&&(e.splice(a,0,new t.Diff(0,d.substring(0,f))),e[a-1][0]=1,e[a-1][1]=p.substring(0,p.length-f),e[a+1][0]=n,e[a+1][1]=d.substring(f),a++),a++}a++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var o=e.charAt(e.length-1),i=n.charAt(0),r=o.match(t.nonAlphaNumericRegex_),s=i.match(t.nonAlphaNumericRegex_),a=r&&o.match(t.whitespaceRegex_),l=s&&i.match(t.whitespaceRegex_),c=a&&o.match(t.linebreakRegex_),u=l&&i.match(t.linebreakRegex_),h=c&&e.match(t.blanklineEndRegex_),d=u&&n.match(t.blanklineStartRegex_);return h||d?5:c||u?4:r&&!a&&l?3:a||l?2:r||s?1:0}for(var o=1;o=d&&(d=p,c=i,u=r,h=s)}e[o-1][1]!=c&&(c?e[o-1][1]=c:(e.splice(o-1,1),o--),e[o][1]=u,h?e[o+1][1]=h:(e.splice(o+1,1),o--))}o++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var o=!1,i=[],r=0,s=null,a=0,l=!1,c=!1,u=!1,h=!1;a0?i[r-1]:-1,u=h=!1),o=!0)),a++;o&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var o,i=0,r=0,s=0,a="",l="";i1?(0!==r&&0!==s&&(0!==(o=this.diff_commonPrefix(l,a))&&(i-r-s>0&&0==e[i-r-s-1][0]?e[i-r-s-1][1]+=l.substring(0,o):(e.splice(0,0,new t.Diff(0,l.substring(0,o))),i++),l=l.substring(o),a=a.substring(o)),0!==(o=this.diff_commonSuffix(l,a))&&(e[i][1]=l.substring(l.length-o)+e[i][1],l=l.substring(0,l.length-o),a=a.substring(0,a.length-o))),i-=r+s,e.splice(i,r+s),a.length&&(e.splice(i,0,new t.Diff(n,a)),i++),l.length&&(e.splice(i,0,new t.Diff(1,l)),i++),i++):0!==i&&0==e[i-1][0]?(e[i-1][1]+=e[i][1],e.splice(i,1)):i++,s=0,r=0,a="",l=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(i=1;it));o++)s=i,a=r;return e.length!=o&&e[o][0]===n?a:a+(t-s)},t.prototype.diff_prettyHtml=function(e){for(var t=[],o=/&/g,i=//g,s=/\n/g,a=0;a");switch(l){case 1:t[a]=''+c+"";break;case n:t[a]=''+c+"";break;case 0:t[a]=""+c+""}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var o=this.match_alphabet_(t),i=this;function r(e,o){var r=e/t.length,s=Math.abs(n-o);return i.Match_Distance?r+s/i.Match_Distance:s?1:r}var s=this.Match_Threshold,a=e.indexOf(t,n);-1!=a&&(s=Math.min(r(0,a),s),-1!=(a=e.lastIndexOf(t,n+t.length))&&(s=Math.min(r(0,a),s)));var l,c,u=1<=g;v--){var b=o[e.charAt(v-1)];if(m[v]=0===p?(m[v+1]<<1|1)&b:(m[v+1]<<1|1)&b|(h[v+1]|h[v])<<1|1|h[v+1],m[v]&u){var y=r(p,v-1);if(y<=s){if(s=y,!((a=v-1)>n))break;g=Math.max(1,2*n-a)}}}if(r(p+1,n)>s)break;h=m}return a},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(e&&"object"==typeof e&&void 0===o&&void 0===i)s=e,r=this.diff_text1(s);else if("string"==typeof e&&o&&"object"==typeof o&&void 0===i)r=e,s=o;else{if("string"!=typeof e||"string"!=typeof o||!i||"object"!=typeof i)throw new Error("Unknown call format to patch_make.");r=e,s=i}if(0===s.length)return[];for(var a=[],l=new t.patch_obj,c=0,u=0,h=0,d=r,p=r,g=0;g=2*this.Patch_Margin&&c&&(this.patch_addContext_(l,d),a.push(l),l=new t.patch_obj,c=0,d=p,u=h)}1!==f&&(u+=m.length),f!==n&&(h+=m.length)}return c&&(this.patch_addContext_(l,d),a.push(l)),a},t.prototype.patch_deepCopy=function(e){for(var n=[],o=0;othis.Match_MaxBits?-1!=(a=this.match_main(t,u.substring(0,this.Match_MaxBits),c))&&(-1==(h=this.match_main(t,u.substring(u.length-this.Match_MaxBits),c+u.length-this.Match_MaxBits))||a>=h)&&(a=-1):a=this.match_main(t,u,c),-1==a)r[s]=!1,i-=e[s].length2-e[s].length1;else if(r[s]=!0,i=a-c,u==(l=-1==h?t.substring(a,a+u.length):t.substring(a,h+this.Match_MaxBits)))t=t.substring(0,a)+this.diff_text2(e[s].diffs)+t.substring(a+u.length);else{var d=this.diff_main(u,l,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(d)/u.length>this.Patch_DeleteThreshold)r[s]=!1;else{this.diff_cleanupSemanticLossless(d);for(var p,g=0,f=0;fs[0][1].length){var a=n-s[0][1].length;s[0][1]=o.substring(s[0][1].length)+s[0][1],r.start1-=a,r.start2-=a,r.length1+=a,r.length2+=a}return 0==(s=(r=e[e.length-1]).diffs).length||0!=s[s.length-1][0]?(s.push(new t.Diff(0,o)),r.length1+=n,r.length2+=n):n>s[s.length-1][1].length&&(a=n-s[s.length-1][1].length,s[s.length-1][1]+=o.substring(0,a),r.length1+=a,r.length2+=a),o},t.prototype.patch_splitMax=function(e){for(var o=this.Match_MaxBits,i=0;i2*o?(c.length1+=d.length,s+=d.length,u=!1,c.diffs.push(new t.Diff(h,d)),r.diffs.shift()):(d=d.substring(0,o-c.length1-this.Patch_Margin),c.length1+=d.length,s+=d.length,0===h?(c.length2+=d.length,a+=d.length):u=!1,c.diffs.push(new t.Diff(h,d)),d==r.diffs[0][1]?r.diffs.shift():r.diffs[0][1]=r.diffs[0][1].substring(d.length))}l=(l=this.diff_text2(c.diffs)).substring(l.length-this.Patch_Margin);var p=this.diff_text1(r.diffs).substring(0,this.Patch_Margin);""!==p&&(c.length1+=p.length,c.length2+=p.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=p:c.diffs.push(new t.Diff(0,p))),u||e.splice(++i,0,c)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n{"use strict";var o=n(453)("%Object.defineProperty%",!0)||!1;if(o)try{o({},"a",{value:1})}catch(e){o=!1}e.exports=o},1237:e=>{"use strict";e.exports=EvalError},9383:e=>{"use strict";e.exports=Error},9290:e=>{"use strict";e.exports=RangeError},9538:e=>{"use strict";e.exports=ReferenceError},8068:e=>{"use strict";e.exports=SyntaxError},9675:e=>{"use strict";e.exports=TypeError},5345:e=>{"use strict";e.exports=URIError},2682:(e,t,n)=>{"use strict";var o=n(9600),i=Object.prototype.toString,r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!o(t))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=n),"[object Array]"===i.call(e)?function(e,t,n){for(var o=0,i=e.length;o{"use strict";var t=Object.prototype.toString,n=Math.max,o=function(e,t){for(var n=[],o=0;o{"use strict";var o=n(9353);e.exports=Function.prototype.bind||o},4462:e=>{"use strict";var t=function(){return"string"==typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(e){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n((function(){}),"name");return!!e&&!!e.configurable};var o=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof o&&""!==function(){}.bind().name},e.exports=t},453:(e,t,n)=>{"use strict";var o,i=n(9383),r=n(1237),s=n(9290),a=n(9538),l=n(8068),c=n(9675),u=n(5345),h=Function,d=function(e){try{return h('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var g=function(){throw new c},f=p?function(){try{return g}catch(e){try{return p(arguments,"callee").get}catch(e){return g}}}():g,m=n(4039)(),v=n(24)(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},w="undefined"!=typeof Uint8Array&&b?b(Uint8Array):o,k={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":m&&b?b([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?o:Atomics,"%BigInt%":"undefined"==typeof BigInt?o:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?o:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?o:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":r,"%Float32Array%":"undefined"==typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m&&b?b(b([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&m&&b?b((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?o:Promise,"%Proxy%":"undefined"==typeof Proxy?o:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&m&&b?b((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&b?b(""[Symbol.iterator]()):o,"%Symbol%":m?Symbol:o,"%SyntaxError%":l,"%ThrowTypeError%":f,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?o:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?o:WeakSet};if(b)try{null.error}catch(e){var _=b(b(e));k["%Error.prototype%"]=_}var x=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&b&&(n=b(i.prototype))}return k[t]=n,n},C={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=n(6743),E=n(9957),A=S.call(Function.call,Array.prototype.concat),T=S.call(Function.apply,Array.prototype.splice),$=S.call(Function.call,String.prototype.replace),M=S.call(Function.call,String.prototype.slice),R=S.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,L=function(e,t){var n,o=e;if(E(C,o)&&(o="%"+(n=C[o])[0]+"%"),E(k,o)){var i=k[o];if(i===y&&(i=x(o)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===R(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=M(e,0,1),n=M(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var o=[];return $(e,j,(function(e,t,n,i){o[o.length]=n?$(i,O,"$1"):t||e})),o}(e),o=n.length>0?n[0]:"",i=L("%"+o+"%",t),r=i.name,s=i.value,a=!1,u=i.alias;u&&(o=u[0],T(n,A([0,1],u)));for(var h=1,d=!0;h=n.length){var v=p(s,g);s=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:s[g]}else d=E(s,g),s=s[g];d&&!a&&(k[r]=s)}}return s}},5795:(e,t,n)=>{"use strict";var o=n(453)("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(e){o=null}e.exports=o},28:e=>{e.exports={control:(e,t)=>{let n=Object.assign(e,{cursor:"pointer",minHeight:40,borderRadius:3});return n=t.isFocused&&!t.isDisabled?Object.assign(n,{borderColor:"#007cba"}):Object.assign(n,{borderColor:"var(--wp-components-color-gray-600, #949494)","&:hover":{borderColor:""}}),t.isFocused&&(n=Object.assign(n,{boxShadow:"0 0 0 1px #007cba","&:hover":{borderColor:"#007cba"}})),n},singleValue:e=>Object.assign(e,{color:"var(--wp-components-color-foreground, #1e1e1e)"}),valueContainer:(e,t)=>{let n=Object.assign(e,{padding:0,paddingLeft:10});return t.isMulti&&(n=Object.assign(n,{paddingRight:7,paddingLeft:7})),n},input:e=>Object.assign(e,{margin:0,height:30,paddingTop:0,paddingBottom:0,input:{boxShadow:"none !important"}}),dropdownIndicator:e=>Object.assign(e,{padding:3,paddingRight:9,color:"var(--wp-components-color-foreground, #1e1e1e)","&:hover":{color:"var(--wp-components-color-foreground, #1e1e1e)"},svg:{width:12,height:12}}),clearIndicator:e=>Object.assign(e,{padding:5,svg:{width:15,height:15}}),indicatorSeparator:()=>!1,multiValue:e=>Object.assign(e,{padding:"3px 2px",margin:4,marginLeft:0,borderRadius:1,backgroundColor:"#ddd"}),multiValueLabel:e=>Object.assign(e,{padding:0,color:"#32373c",fontSize:"100%"}),multiValueRemove:e=>Object.assign(e,{padding:0,marginLeft:5,marginRight:5,marginTop:1,width:"auto",height:"auto",backgroundColor:"transparent",color:"inherit",justifyContent:"center",":hover":{backgroundColor:"transparent",color:"#e02e2e"},svg:{width:14,height:14}}),option:(e,t)=>{let n=Object.assign(e,{display:"flex",alignItems:"center",padding:"4px 10px"});return t.isFocused&&(n=Object.assign(n,{backgroundColor:"#efefef"})),n=t.isSelected?Object.assign(n,{backgroundColor:"#007cba"}):Object.assign(n,{color:"var(--wp-components-color-foreground, #1e1e1e)"}),n},menu:e=>Object.assign(e,{zIndex:2})}},9790:e=>{"use strict";var t="undefined"!=typeof BigInt&&BigInt;e.exports=function(){return"function"==typeof t&&"function"==typeof BigInt&&"bigint"==typeof t(42)&&"bigint"==typeof BigInt(42)}},592:(e,t,n)=>{"use strict";var o=n(655),i=function(){return!!o};i.hasArrayLengthDefineBug=function(){if(!o)return null;try{return 1!==o([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},24:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},4039:(e,t,n)=>{"use strict";var o="undefined"!=typeof Symbol&&Symbol,i=n(1333);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&i()}},1333:e=>{"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 i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9092:(e,t,n)=>{"use strict";var o=n(1333);e.exports=function(){return o()&&!!Symbol.toStringTag}},9957:(e,t,n)=>{"use strict";var o=Function.prototype.call,i=Object.prototype.hasOwnProperty,r=n(6743);e.exports=r.call(o,i)},4146:(e,t,n)=>{"use strict";var o=n(3404),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return o.isMemo(e)?s:a[e.$$typeof]||i}a[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[o.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(g){var i=p(n);i&&i!==g&&e(t,i,o)}var s=u(n);h&&(s=s.concat(h(n)));for(var a=l(t),f=l(n),m=0;m{"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case h:case r:case a:case s:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case f:case l:return e;default:return t}}case i:return t}}}function _(e){return k(e)===h}t.AsyncMode=u,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=l,t.Element=o,t.ForwardRef=d,t.Fragment=r,t.Lazy=m,t.Memo=f,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||k(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return k(e)===d},t.isFragment=function(e){return k(e)===r},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===f},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===a},t.isStrictMode=function(e){return k(e)===s},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===h||e===a||e===s||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=k},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},63:(e,t,n)=>{"use strict";var o=n(9957),i=n(920)(),r=n(9675),s={assert:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`O` is not an object");if("string"!=typeof t)throw new r("`slot` must be a string");if(i.assert(e),!s.has(e,t))throw new r("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`O` is not an object");if("string"!=typeof t)throw new r("`slot` must be a string");var n=i.get(e);return n&&n["$"+t]},has:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`O` is not an object");if("string"!=typeof t)throw new r("`slot` must be a string");var n=i.get(e);return!!n&&o(n,"$"+t)},set:function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`O` is not an object");if("string"!=typeof t)throw new r("`slot` must be a string");var o=i.get(e);o||(o={},i.set(e,o)),o["$"+t]=n}};Object.freeze&&Object.freeze(s),e.exports=s},311:e=>{"use strict";e.exports=function(e,t,n,o,i,r,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,r,s,a],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},7244:(e,t,n)=>{"use strict";var o=n(9092)(),i=n(8075)("Object.prototype.toString"),r=function(e){return!(o&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!r(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},a=function(){return r(arguments)}();r.isLegacyArguments=s,e.exports=a?r:s},4670:(e,t,n)=>{"use strict";var o=n(487),i=n(8075),r=n(453)("%ArrayBuffer%",!0),s=i("ArrayBuffer.prototype.byteLength",!0),a=i("Object.prototype.toString"),l=!!r&&!s&&new r(0).slice,c=!!l&&o(l);e.exports=s||c?function(e){if(!e||"object"!=typeof e)return!1;try{return s?s(e):c(e,0),!0}catch(e){return!1}}:r?function(e){return"[object ArrayBuffer]"===a(e)}:function(e){return!1}},9803:(e,t,n)=>{"use strict";if(n(9790)()){var o=BigInt.prototype.valueOf;e.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!=typeof e&&"function"!=typeof e&&("bigint"==typeof e||function(e){try{return o.call(e),!0}catch(e){}return!1}(e))}}else e.exports=function(e){return!1}},5128:(e,t,n)=>{"use strict";var o=n(8075),i=o("Boolean.prototype.toString"),r=o("Object.prototype.toString"),s=n(9092)();e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(s&&Symbol.toStringTag in e?function(e){try{return i(e),!0}catch(e){return!1}}(e):"[object Boolean]"===r(e))}},9600:e=>{"use strict";var t,n,o=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i((function(){throw 42}),null,t)}catch(e){e!==n&&(i=null)}else i=null;var r=/^\s*class\b/,s=function(e){try{var t=o.call(e);return r.test(t)}catch(e){return!1}},a=function(e){try{return!s(e)&&(o.call(e),!0)}catch(e){return!1}},l=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var d=document.all;l.call(d)===l.call(document.all)&&(h=function(e){if((u||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(h(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==n)return!1}return!s(e)&&a(e)}:function(e){if(h(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return a(e);if(s(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&a(e)}},2120:(e,t,n)=>{"use strict";var o=Date.prototype.getDay,i=Object.prototype.toString,r=n(9092)();e.exports=function(e){return"object"==typeof e&&null!==e&&(r?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Date]"===i.call(e))}},3802:e=>{"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;n||(t=function(e){return!1});var i=n?Map.prototype.has:null,r=o?Set.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e),r)try{r.call(e)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},1703:(e,t,n)=>{"use strict";var o=Number.prototype.toString,i=Object.prototype.toString,r=n(9092)();e.exports=function(e){return"number"==typeof e||"object"==typeof e&&(r?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Number]"===i.call(e))}},4035:(e,t,n)=>{"use strict";var o,i,r,s,a=n(8075),l=n(9092)();if(l){o=a("Object.prototype.hasOwnProperty"),i=a("RegExp.prototype.exec"),r={};var c=function(){throw r};s={toString:c,valueOf:c},"symbol"==typeof Symbol.toPrimitive&&(s[Symbol.toPrimitive]=c)}var u=a("Object.prototype.toString"),h=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!=typeof e)return!1;var t=h(e,"lastIndex");if(!t||!o(t,"value"))return!1;try{i(e,s)}catch(e){return e===r}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===u(e)}},256:e=>{"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;o||(t=function(e){return!1});var i=n?Map.prototype.has:null,r=o?Set.prototype.has:null;t||r||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(r.call(e),i)try{i.call(e)}catch(e){return!0}return e instanceof o}catch(e){}return!1}},7070:(e,t,n)=>{"use strict";var o=n(8075)("SharedArrayBuffer.prototype.byteLength",!0);e.exports=o?function(e){if(!e||"object"!=typeof e)return!1;try{return o(e),!0}catch(e){return!1}}:function(e){return!1}},4761:(e,t,n)=>{"use strict";var o=String.prototype.valueOf,i=Object.prototype.toString,r=n(9092)();e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(r?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object String]"===i.call(e))}},3612:(e,t,n)=>{"use strict";var o=Object.prototype.toString;if(n(4039)()){var i=Symbol.prototype.toString,r=/^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()&&r.test(i.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},7842:e=>{"use strict";var t,n="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,o="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;n||(t=function(e){return!1});var i=n?n.prototype.has:null,r=o?o.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e,i),r)try{r.call(e,r)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},2648:(e,t,n)=>{"use strict";var o=n(453),i=n(8075),r=o("%WeakSet%",!0),s=i("WeakSet.prototype.has",!0);if(s){var a=i("WeakMap.prototype.has",!0);e.exports=function(e){if(!e||"object"!=typeof e)return!1;try{if(s(e,s),a)try{a(e,a)}catch(e){return!0}return e instanceof r}catch(e){}return!1}}else e.exports=function(e){return!1}},4634:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},6762:(e,t,n)=>{var o,i="__lodash_hash_undefined__",r=1/0,s="[object Function]",a="[object GeneratorFunction]",l="[object Symbol]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,h=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,g=/^\[object .+?Constructor\]$/,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,m="object"==typeof self&&self&&self.Object===Object&&self,v=f||m||Function("return this")(),b=Array.prototype,y=Function.prototype,w=Object.prototype,k=v["__core-js_shared__"],_=(o=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",x=y.toString,C=w.hasOwnProperty,S=w.toString,E=RegExp("^"+x.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),A=v.Symbol,T=b.splice,$=D(v,"Map"),M=D(Object,"create"),R=A?A.prototype:void 0,j=R?R.toString:void 0;function O(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},L.prototype.set=function(e,t){var n=this.__data__,o=N(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new O,map:new($||L),string:new O}},I.prototype.delete=function(e){return P(this,e).delete(e)},I.prototype.get=function(e){return P(this,e).get(e)},I.prototype.has=function(e){return P(this,e).has(e)},I.prototype.set=function(e,t){return P(this,e).set(e,t),this};var B=F((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(V(e))return j?j.call(e):"";var t=e+"";return"0"==t&&1/e==-r?"-0":t}(t);var n=[];return h.test(e)&&n.push(""),e.replace(d,(function(e,t,o,i){n.push(o?i.replace(p,"$1"):t||e)})),n}));function z(e){if("string"==typeof e||V(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}function F(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],r=n.cache;if(r.has(i))return r.get(i);var s=e.apply(this,o);return n.cache=r.set(i,s),s};return n.cache=new(F.Cache||I),n}F.Cache=I;var H=Array.isArray;function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function V(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&S.call(e)==l}e.exports=function(e,t,n){var o=null==e?void 0:function(e,t){var n;t=function(e,t){if(H(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!V(e))||u.test(e)||!c.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:H(n=t)?n:B(n);for(var o=0,i=t.length;null!=e&&o{e=n.nmd(e);var o="__lodash_hash_undefined__",i=1,r=2,s=9007199254740991,a="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Function]",g="[object GeneratorFunction]",f="[object Map]",m="[object Number]",v="[object Null]",b="[object Object]",y="[object Promise]",w="[object Proxy]",k="[object RegExp]",_="[object Set]",x="[object String]",C="[object Undefined]",S="[object WeakMap]",E="[object ArrayBuffer]",A="[object DataView]",T=/^\[object .+?Constructor\]$/,$=/^(?:0|[1-9]\d*)$/,M={};M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M[a]=M[l]=M[E]=M[u]=M[A]=M[h]=M[d]=M[p]=M[f]=M[m]=M[b]=M[k]=M[_]=M[x]=M[S]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,j="object"==typeof self&&self&&self.Object===Object&&self,O=R||j||Function("return this")(),L=t&&!t.nodeType&&t,I=L&&e&&!e.nodeType&&e,N=I&&I.exports===L,P=N&&R.process,D=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),B=D&&D.isTypedArray;function z(e,t){for(var n=-1,o=null==e?0:e.length;++nc))return!1;var h=a.get(e);if(h&&a.get(t))return h==t;var d=-1,p=!0,g=n&r?new Ee:void 0;for(a.set(e,t),a.set(t,e);++d-1},Ce.prototype.set=function(e,t){var n=this.__data__,o=Te(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this},Se.prototype.clear=function(){this.size=0,this.__data__={hash:new xe,map:new(he||Ce),string:new xe}},Se.prototype.delete=function(e){var t=Le(this,e).delete(e);return this.size-=t?1:0,t},Se.prototype.get=function(e){return Le(this,e).get(e)},Se.prototype.has=function(e){return Le(this,e).has(e)},Se.prototype.set=function(e,t){var n=Le(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this},Ee.prototype.add=Ee.prototype.push=function(e){return this.__data__.set(e,o),this},Ee.prototype.has=function(e){return this.__data__.has(e)},Ae.prototype.clear=function(){this.__data__=new Ce,this.size=0},Ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ae.prototype.get=function(e){return this.__data__.get(e)},Ae.prototype.has=function(e){return this.__data__.has(e)},Ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ce){var o=n.__data__;if(!he||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Se(o)}return n.set(e,t),this.size=n.size,this};var Ne=ae?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var o=-1,i=null==t?0:t.length,r=0,s=[];++o-1&&e%1==0&&e-1&&e%1==0&&e<=s}function Ge(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qe(e){return null!=e&&"object"==typeof e}var Ke=B?function(e){return function(t){return e(t)}}(B):function(e){return qe(e)&&Ue(e.length)&&!!M[$e(e)]};function Ye(e){return null!=(t=e)&&Ue(t.length)&&!Ve(t)?function(e,t){var n=He(e),o=!n&&Fe(e),i=!n&&!o&&We(e),r=!n&&!o&&!i&&Ke(e),s=n||o||i||r,a=s?function(e,t){for(var n=-1,o=Array(e);++n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FORMAT_PLAIN=t.FORMAT_HTML=t.FORMATS=void 0;var n="html";t.FORMAT_HTML=n;var o="plain";t.FORMAT_PLAIN=o;var i=[n,o];t.FORMATS=i},7418:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LINE_ENDINGS=void 0,t.LINE_ENDINGS={POSIX:"\n",WIN32:"\r\n"}},7308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORTED_PLATFORMS=void 0,t.SUPPORTED_PLATFORMS={DARWIN:"darwin",LINUX:"linux",WIN32:"win32"}},5703:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNIT_WORDS=t.UNIT_WORD=t.UNIT_SENTENCES=t.UNIT_SENTENCE=t.UNIT_PARAGRAPHS=t.UNIT_PARAGRAPH=t.UNITS=void 0;var n="words";t.UNIT_WORDS=n;var o="word";t.UNIT_WORD=o;var i="sentences";t.UNIT_SENTENCES=i;var r="sentence";t.UNIT_SENTENCE=r;var s="paragraphs";t.UNIT_PARAGRAPHS=s;var a="paragraph";t.UNIT_PARAGRAPH=a;var l=[n,o,i,r,s,a];t.UNITS=l},1457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORDS=void 0,t.WORDS=["ad","adipisicing","aliqua","aliquip","amet","anim","aute","cillum","commodo","consectetur","consequat","culpa","cupidatat","deserunt","do","dolor","dolore","duis","ea","eiusmod","elit","enim","esse","est","et","eu","ex","excepteur","exercitation","fugiat","id","in","incididunt","ipsum","irure","labore","laboris","laborum","Lorem","magna","minim","mollit","nisi","non","nostrud","nulla","occaecat","officia","pariatur","proident","qui","quis","reprehenderit","sint","sit","sunt","tempor","ullamco","ut","velit","veniam","voluptate"]},7722:(e,t,n)=>{"use strict";Object.defineProperty(t,"E5",{enumerable:!0,get:function(){return i.default}});n(4364),n(5703),n(1457);var o,i=(o=n(941))&&o.__esModule?o:{default:o}},941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=n(4364),r=n(7418),s=(o=n(51))&&o.__esModule?o:{default:o},a=n(7371);function l(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.FORMAT_PLAIN,o=arguments.length>2?arguments[2]:void 0;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.format=n,this.suffix=o,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"generator",void 0),-1===i.FORMATS.indexOf(n.toLowerCase()))throw new Error("".concat(n," is an invalid format. Please use ").concat(i.FORMATS.join(" or "),"."));this.generator=new s.default(t)}var t,n;return t=e,(n=[{key:"getLineEnding",value:function(){return this.suffix?this.suffix:!(0,a.isReactNative)()&&(0,a.isNode)()&&(0,a.isWindows)()?r.LINE_ENDINGS.WIN32:r.LINE_ENDINGS.POSIX}},{key:"formatString",value:function(e){return this.format===i.FORMAT_HTML?"

    ".concat(e,"

    "):e}},{key:"formatStrings",value:function(e){var t=this;return e.map((function(e){return t.formatString(e)}))}},{key:"generateWords",value:function(e){return this.formatString(this.generator.generateRandomWords(e))}},{key:"generateSentences",value:function(e){return this.formatString(this.generator.generateRandomParagraph(e))}},{key:"generateParagraphs",value:function(e){var t=this.generator.generateRandomParagraph.bind(this.generator);return this.formatStrings((0,a.makeArrayOfStrings)(e,t)).join(this.getLineEnding())}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),u=c;t.default=u},51:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1457),i=n(7371);function r(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.sentencesPerParagraph,i=void 0===n?{max:7,min:3}:n,r=t.wordsPerSentence,a=void 0===r?{max:15,min:5}:r,l=t.random,c=(t.seed,t.words),u=void 0===c?o.WORDS:c;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"sentencesPerParagraph",void 0),s(this,"wordsPerSentence",void 0),s(this,"random",void 0),s(this,"words",void 0),i.min>i.max)throw new Error("Minimum number of sentences per paragraph (".concat(i.min,") cannot exceed maximum (").concat(i.max,")."));if(a.min>a.max)throw new Error("Minimum number of words per sentence (".concat(a.min,") cannot exceed maximum (").concat(a.max,")."));this.sentencesPerParagraph=i,this.words=u,this.wordsPerSentence=a,this.random=l||Math.random}var t,n;return t=e,(n=[{key:"generateRandomInteger",value:function(e,t){return Math.floor(this.random()*(t-e+1)+e)}},{key:"generateRandomWords",value:function(e){var t=this,n=this.wordsPerSentence,o=n.min,r=n.max,s=e||this.generateRandomInteger(o,r);return(0,i.makeArrayOfLength)(s).reduce((function(e,n){return"".concat(t.pluckRandomWord()," ").concat(e)}),"").trim()}},{key:"generateRandomSentence",value:function(e){return"".concat((0,i.capitalize)(this.generateRandomWords(e)),".")}},{key:"generateRandomParagraph",value:function(e){var t=this,n=this.sentencesPerParagraph,o=n.min,r=n.max,s=e||this.generateRandomInteger(o,r);return(0,i.makeArrayOfLength)(s).reduce((function(e,n){return"".concat(t.generateRandomSentence()," ").concat(e)}),"").trim()}},{key:"pluckRandomWord",value:function(){var e=this.words.length-1,t=this.generateRandomInteger(0,e);return this.words[t]}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=a},1589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){var t=e.trim();return t.charAt(0).toUpperCase()+t.slice(1)}},7371:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"isReactNative",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"isWindows",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"makeArrayOfLength",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"makeArrayOfStrings",{enumerable:!0,get:function(){return l.default}});var o=c(n(1589)),i=c(n(4355)),r=c(n(9515)),s=c(n(2830)),a=c(n(1701)),l=c(n(2011));function c(e){return e&&e.__esModule?e:{default:e}}},4355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){return!!e.exports}},9515:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){var e=!1;try{e="ReactNative"===navigator.product}catch(t){e=!1}return e}},2830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(7308);t.default=function(){var e=!1;try{e=process.platform===o.SUPPORTED_PLATFORMS.WIN32}catch(t){e=!1}return e}},1701:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.apply(null,Array(e)).map((function(e,t){return t}))}},2011:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=(o=n(1701))&&o.__esModule?o:{default:o};t.default=function(e,t){return(0,i.default)(e).map((function(){return t()}))}},8859:(e,t,n)=>{var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&l&&"function"==typeof l.get?l.get:null,u=a&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,f=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,b=String.prototype.slice,y=String.prototype.replace,w=String.prototype.toUpperCase,k=String.prototype.toLowerCase,_=RegExp.prototype.test,x=Array.prototype.concat,C=Array.prototype.join,S=Array.prototype.slice,E=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,M="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-E(-e):E(e);if(o!==e){var i=String(o),r=b.call(t,i.length+1);return y.call(i,n,"$&_")+"."+y.call(y.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var I=n(2634),N=I.custom,P=H(N)?N:null;function D(e,t,n){var o="double"===(n.quoteStyle||t)?'"':"'";return o+e+o}function B(e){return y.call(String(e),/"/g,""")}function z(e){return!("[object Array]"!==U(e)||R&&"object"==typeof e&&R in e)}function F(e){return!("[object RegExp]"!==U(e)||R&&"object"==typeof e&&R in e)}function H(e){if(M)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!$)return!1;try{return $.call(e),!0}catch(e){}return!1}e.exports=function e(t,o,i,a){var l=o||{};if(V(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=!V(l,"customInspect")||l.customInspect;if("boolean"!=typeof f&&"symbol"!==f)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return q(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return w?L(t,_):_}if("bigint"==typeof t){var E=String(t)+"n";return w?L(t,E):E}var T=void 0===l.depth?5:l.depth;if(void 0===i&&(i=0),i>=T&&T>0&&"object"==typeof t)return z(t)?"[Array]":"[Object]";var N,W=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=C.call(Array(e.indent+1)," ")}return{base:n,prev:C.call(Array(t+1),n)}}(l,i);if(void 0===a)a=[];else if(G(a,t)>=0)return"[Circular]";function K(t,n,o){if(n&&(a=S.call(a)).push(n),o){var r={depth:l.depth};return V(l,"quoteStyle")&&(r.quoteStyle=l.quoteStyle),e(t,r,i+1,a)}return e(t,l,i+1,a)}if("function"==typeof t&&!F(t)){var ee=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=Q(t,K);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+C.call(te,", ")+" }":"")}if(H(t)){var ne=M?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):$.call(t);return"object"!=typeof t||M?ne:Y(ne)}if((N=t)&&"object"==typeof N&&("undefined"!=typeof HTMLElement&&N instanceof HTMLElement||"string"==typeof N.nodeName&&"function"==typeof N.getAttribute)){for(var oe="<"+k.call(String(t.nodeName)),ie=t.attributes||[],re=0;re"}if(z(t)){if(0===t.length)return"[]";var se=Q(t,K);return W&&!function(e){for(var t=0;t=0)return!1;return!0}(se)?"["+X(se,W)+"]":"[ "+C.call(se,", ")+" ]"}if(function(e){return!("[object Error]"!==U(e)||R&&"object"==typeof e&&R in e)}(t)){var ae=Q(t,K);return"cause"in Error.prototype||!("cause"in t)||j.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+C.call(ae,", ")+" }":"{ ["+String(t)+"] "+C.call(x.call("[cause]: "+K(t.cause),ae),", ")+" }"}if("object"==typeof t&&f){if(P&&"function"==typeof t[P]&&I)return I(t,{depth:T-i});if("symbol"!==f&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!=typeof e)return!1;try{r.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var le=[];return s&&s.call(t,(function(e,n){le.push(K(n,t,!0)+" => "+K(e,t))})),J("Map",r.call(t),le,W)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return u&&u.call(t,(function(e){ce.push(K(e,t))})),J("Set",c.call(t),ce,W)}if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return!("[object Number]"!==U(e)||R&&"object"==typeof e&&R in e)}(t))return Y(K(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return Y(K(A.call(t)));if(function(e){return!("[object Boolean]"!==U(e)||R&&"object"==typeof e&&R in e)}(t))return Y(g.call(t));if(function(e){return!("[object String]"!==U(e)||R&&"object"==typeof e&&R in e)}(t))return Y(K(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==U(e)||R&&"object"==typeof e&&R in e)}(t)&&!F(t)){var ue=Q(t,K),he=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",pe=!he&&R&&Object(t)===t&&R in t?b.call(U(t),8,-1):de?"Object":"",ge=(he||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||de?"["+C.call(x.call([],pe||[],de||[]),": ")+"] ":"");return 0===ue.length?ge+"{}":W?ge+"{"+X(ue,W)+"}":ge+"{ "+C.call(ue,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return W.call(e,t)}function U(e){return f.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return q(b.call(e,0,t.maxStringLength),t)+o}return D(y.call(y.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,K),"single",t)}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Y(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function J(e,t,n,o){return e+" ("+t+") {"+(o?X(n,o):C.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+C.call(e,","+n)+"\n"+t.prev}function Q(e,t){var n=z(e),o=[];if(n){o.length=e.length;for(var i=0;i{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},7653:(e,t,n)=>{"use strict";var o=n(8452),i=n(487),r=n(9211),s=n(9394),a=n(6576),l=i(s(),Object);o(l,{getPolyfill:s,implementation:r,shim:a}),e.exports=l},9394:(e,t,n)=>{"use strict";var o=n(9211);e.exports=function(){return"function"==typeof Object.is?Object.is:o}},6576:(e,t,n)=>{"use strict";var o=n(9394),i=n(8452);e.exports=function(){var e=o();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},8875:(e,t,n)=>{"use strict";var o;if(!Object.keys){var i=Object.prototype.hasOwnProperty,r=Object.prototype.toString,s=n(1093),a=Object.prototype.propertyIsEnumerable,l=!a.call({toString:null},"toString"),c=a.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{h(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();o=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===r.call(e),o=s(e),a=t&&"[object String]"===r.call(e),d=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var g=c&&n;if(a&&e.length>0&&!i.call(e,0))for(var f=0;f0)for(var m=0;m{"use strict";var o=Array.prototype.slice,i=n(1093),r=Object.keys,s=r?function(e){return r(e)}:n(8875),a=Object.keys;s.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?a(o.call(e)):a(e)})}else Object.keys=s;return Object.keys||s},e.exports=s},1093:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),o="[object Arguments]"===n;return o||(o="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),o}},8403:(e,t,n)=>{"use strict";var o=n(1189),i=n(1333)(),r=n(8075),s=Object,a=r("Array.prototype.push"),l=r("Object.prototype.propertyIsEnumerable"),c=i?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=s(e);if(1===arguments.length)return n;for(var r=1;r{"use strict";var o=n(8452),i=n(487),r=n(8403),s=n(1514),a=n(984),l=i.apply(s()),c=function(e,t){return l(Object,arguments)};o(c,{getPolyfill:s,implementation:r,shim:a}),e.exports=c},1514:(e,t,n)=>{"use strict";var o=n(8403);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},o=0;o{"use strict";var o=n(8452),i=n(1514);e.exports=function(){var e=i();return o(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},6578:e=>{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},2694:(e,t,n)=>{"use strict";var o=n(6925);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,r,s){if(s!==o){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 t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:i};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4765:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:o}},5373:(e,t,n)=>{"use strict";var o=n(8636),i=n(2642),r=n(4765);e.exports={formats:r,parse:i,stringify:o}},2642:(e,t,n)=>{"use strict";var o=n(7720),i=Object.prototype.hasOwnProperty,r=Array.isArray,s={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,o){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(r),c=a?r.slice(0,a.index):r,u=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&null!==(a=s.exec(r))&&h=0;--r){var s,a=e[r];if("[]"===a&&n.parseArrays)s=[].concat(i);else{s=n.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(s=[])[u]=i:"__proto__"!==c&&(s[c]=i):s={0:i}}i=s}return i}(u,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return s;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?s.charset:e.charset;return{allowDots:void 0===e.allowDots?s.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:s.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:s.comma,decoder:"function"==typeof e.decoder?e.decoder:s.decoder,delimiter:"string"==typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:s.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,h),p=-1,g=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(m=r(m)?[m]:m),i.call(c,f)?c[f]=o.combine(c[f],m):c[f]=m}return c}(e,n):e,h=n.plainObjects?Object.create(null):{},d=Object.keys(u),p=0;p{"use strict";var o=n(920),i=n(7720),r=n(4765),s=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},h=Date.prototype.toISOString,d=r.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:r.formatters[d],indices:!1,serializeDate:function(e){return h.call(e)},skipNulls:!1,strictNullHandling:!1},g={},f=function e(t,n,r,s,a,c,h,d,f,m,v,b,y,w,k,_){for(var x,C=t,S=_,E=0,A=!1;void 0!==(S=S.get(g))&&!A;){var T=S.get(t);if(E+=1,void 0!==T){if(T===E)throw new RangeError("Cyclic object value");A=!0}void 0===S.get(g)&&(E=0)}if("function"==typeof d?C=d(n,C):C instanceof Date?C=v(C):"comma"===r&&l(C)&&(C=i.maybeMap(C,(function(e){return e instanceof Date?v(e):e}))),null===C){if(a)return h&&!w?h(n,p.encoder,k,"key",b):n;C=""}if("string"==typeof(x=C)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||i.isBuffer(C))return h?[y(w?n:h(n,p.encoder,k,"key",b))+"="+y(h(C,p.encoder,k,"value",b))]:[y(n)+"="+y(String(C))];var $,M=[];if(void 0===C)return M;if("comma"===r&&l(C))w&&h&&(C=i.maybeMap(C,h)),$=[{value:C.length>0?C.join(",")||null:void 0}];else if(l(d))$=d;else{var R=Object.keys(C);$=f?R.sort(f):R}for(var j=s&&l(C)&&1===C.length?n+"[]":n,O=0;O<$.length;++O){var L=$[O],I="object"==typeof L&&void 0!==L.value?L.value:C[L];if(!c||null!==I){var N=l(C)?"function"==typeof r?r(j,L):j:j+(m?"."+L:"["+L+"]");_.set(t,E);var P=o();P.set(g,_),u(M,e(I,N,r,s,a,c,"comma"===r&&w&&l(C)?null:h,d,f,m,v,b,y,w,k,P))}}return M};e.exports=function(e,t){var n,i=e,c=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=r.default;if(void 0!==e.format){if(!s.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o=r.formatters[n],i=p.filter;return("function"==typeof e.filter||l(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var h,d=[];if("object"!=typeof i||null===i)return"";h=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var g=a[h];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===g&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var v=o(),b=0;b0?k+w:""}},7720:(e,t,n)=>{"use strict";var o=n(4765),i=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var o=[],i=0;i=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||r===o.RFC1738&&(40===u||41===u)?l+=a.charAt(c):u<128?l+=s[u]:u<2048?l+=s[192|u>>6]+s[128|63&u]:u<55296||u>=57344?l+=s[224|u>>12]+s[128|u>>6&63]+s[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&a.charCodeAt(c)),l+=s[240|u>>18]+s[128|u>>12&63]+s[128|u>>6&63]+s[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(r(e)){for(var n=[],o=0;o0&&this.handleMarkers(_);var E=this.editor.$options;u.editorOptions.forEach((function(t){E.hasOwnProperty(t)?e.editor.setOption(t,e.props[t]):e.props[t]&&console.warn("ReactAce: editor option ".concat(t," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))})),this.handleOptions(this.props),Array.isArray(w)&&w.forEach((function(t){"string"==typeof t.exec?e.editor.commands.bindKey(t.bindKey,t.exec):e.editor.commands.addCommand(t)})),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),n&&(this.refEditor.className+=" "+n),y&&y(this.editor),this.editor.resize(),s&&this.editor.focus()},t.prototype.componentDidUpdate=function(e){for(var t=e,n=this.props,o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAceInstance=t.debounce=t.editorEvents=t.editorOptions=void 0,t.editorOptions=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"],t.editorEvents=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"],t.getAceInstance=function(){var e;return"undefined"==typeof window?(n.g.window={},e=n(952),delete n.g.window):window.ace?(e=window.ace).acequire=window.ace.require||window.ace.acequire:e=n(952),e},t.debounce=function(e,t){var n=null;return function(){var o=this,i=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(o,i)}),t)}}},470:(e,t,n)=>{"use strict";var o=n(5549);n(3091).default,n(4038).default,t.Ay=o.default},4038:function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n0&&e.handleMarkers(k,t),o=0;o{"use strict";var o=n(3206),i=n(9675),r=Object;e.exports=o((function(){if(null==this||this!==r(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e}),"get flags",!0)},3970:(e,t,n)=>{"use strict";var o=n(8452),i=n(487),r=n(7675),s=n(5330),a=n(3984),l=i(s());o(l,{getPolyfill:s,implementation:r,shim:a}),e.exports=l},5330:(e,t,n)=>{"use strict";var o=n(7675),i=n(8452).supportsDescriptors,r=Object.getOwnPropertyDescriptor;e.exports=function(){if(i&&"gim"===/a/gim.flags){var e=r(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return o}},3984:(e,t,n)=>{"use strict";var o=n(8452).supportsDescriptors,i=n(5330),r=Object.getOwnPropertyDescriptor,s=Object.defineProperty,a=TypeError,l=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!o||!l)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=i(),t=l(c),n=r(t,"flags");return n&&n.get===e||s(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},2491:(e,t,n)=>{var o,i,r;r=function(){var e,t,n=document,o=n.getElementsByTagName("head")[0],i=!1,r="push",s="readyState",a="onreadystatechange",l={},c={},u={},h={};function d(e,t){for(var n=0,o=e.length;n{"use strict";var o=n(453),i=n(41),r=n(592)(),s=n(5795),a=n(9675),l=o("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,c=!0;if("length"in e&&s){var u=s(e,"length");u&&!u.configurable&&(o=!1),u&&!u.writable&&(c=!1)}return(o||c||!n)&&(r?i(e,"length",t,!0,!0):i(e,"length",t)),e}},3206:(e,t,n)=>{"use strict";var o=n(41),i=n(592)(),r=n(4462).functionsHaveConfigurableNames(),s=n(9675);e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!r||(i?o(e,"name",t,!0,!0):o(e,"name",t)),e}},4217:(e,t,n)=>{e.exports=n(139)},139:(e,t)=>{function n(e){var t=0;if(0==e.length)return t;for(var n=0;n=t;)n=e%t,e=Math.floor(e/t),o.push(s(n));e>0&&o.push(s(e));for(var a=o.length-1;a>=0;a--)i+=o[a];return r+i}t.bitwise=n,t.binaryTransfer=o,t.unique=function(e){return o(n(e),61).replace("-","Z")},t.random=function(e){for(var t="",n=e||8,o=0;o{"use strict";var o=n(453),i=n(8075),r=n(8859),s=n(9675),a=o("%WeakMap%",!0),l=o("%Map%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),g=i("Map.prototype.has",!0),f=function(e,t){for(var n,o=e;null!==(n=o.next);o=n)if(n.key===t)return o.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,o={assert:function(e){if(!o.has(e))throw new s("Side channel does not contain "+r(e))},get:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(e)return c(e,o)}else if(l){if(t)return d(t,o)}else if(n)return function(e,t){var n=f(e,t);return n&&n.value}(n,o)},has:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(e)return h(e,o)}else if(l){if(t)return g(t,o)}else if(n)return function(e,t){return!!f(e,t)}(n,o);return!1},set:function(o,i){a&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new a),u(e,o,i)):l?(t||(t=new l),p(t,o,i)):(n||(n={key:{},next:null}),function(e,t,n){var o=f(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(n,o,i))}};return o}},2495:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(n,o){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(o="string"==typeof o?{replacement:o}:o||{}).locale]||{},r=void 0===o.replacement?"-":o.replacement,s=void 0===o.trim||o.trim,a=n.normalize().split("").reduce((function(t,n){var s=i[n];return void 0===s&&(s=e[n]),void 0===s&&(s=n),s===r&&(s=" "),t+s.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return o.strict&&(a=a.replace(/[^A-Za-z0-9\s]/g,"")),s&&(a=a.trim()),a=a.replace(/\s+/g,r),o.lower&&(a=a.toLowerCase()),a}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},1820:(e,t,n)=>{"use strict";var o=n(63),i=SyntaxError,r="object"==typeof StopIteration?StopIteration:null;e.exports=function(e){if(!r)throw new i("this environment lacks StopIteration");o.set(e,"[[Done]]",!1);var t={next:function(){var e=o.get(this,"[[Iterator]]"),t=o.get(e,"[[Done]]");try{return{done:t,value:t?void 0:e.next()}}catch(t){if(o.set(e,"[[Done]]",!0),t!==r)throw t;return{done:!0,value:void 0}}}};return o.set(t,"[[Iterator]]",e),t}},7098:function(e,t,n){"use strict";var o;!function(i){if("function"!=typeof r){var r=function(e){return e};r.nonNative=!0}const s=r("plaintext"),a=r("html"),l=r("comment"),c=/<(\w*)>/g,u=/<\/?([^\s\/>]+)/;function h(e,t,n){return p(e=e||"",d(t=t||[],n=n||""))}function d(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let n;for(;n=c.exec(e);)t.add(n[1])}else r.nonNative||"function"!=typeof e[r.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:s,tag_buffer:"",depth:0,in_quote_char:""}}function p(e,t){if("string"!=typeof e)throw new TypeError("'html' parameter must be a string");let n=t.allowable_tags,o=t.tag_replacement,i=t.state,r=t.tag_buffer,c=t.depth,u=t.in_quote_char,h="";for(let t=0,d=e.length;t":if(u)break;if(c){c--;break}u="",i=s,r+=">",n.has(g(r))?h+=r:h+=o,r="";break;case'"':case"'":u=d===u?"":u||d,r+=d;break;case"-":""===d?("--"==r.slice(-2)&&(i=s),r=""):r+=d)}return t.state=i,t.tag_buffer=r,t.depth=c,t.in_quote_char=u,h}function g(e){let t=u.exec(e);return t?t[1].toLowerCase():null}h.init_streaming_mode=function(e,t){let n=d(e=e||[],t=t||"");return function(e){return p(e||"",n)}},void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o)}()},8973:(e,t,n)=>{"use strict";t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:[],p=a.displayName||a.name||"Component",g=s.getType(a).propTypes,f=s.isReactComponent(a),m=Object.keys(l),v=["valueLink","checkedLink"].concat(m.map(s.defaultKey));h=s.uncontrolledPropTypes(l,g,p),(0,r.default)(f||!d.length,"[uncontrollable] stateless function components cannot pass through methods because they have no associated instances. Check component: "+p+", attempting to pass through methods: "+d.join(", ")),d=s.transform(d,(function(e,t){e[t]=function(){var e;return(e=this.refs.inner)[t].apply(e,arguments)}}),{});var b=(u=c=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.shouldComponentUpdate=function(){for(var t=arguments.length,n=Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{}),t)},b;function y(e,n){var o=s.getLinkName(e),i=this.props[l[e]];o&&w(this.props,o)&&!i&&(i=this.props[o].requestChange);for(var r=arguments.length,a=Array(r>2?r-2:0),c=2;c{"use strict";t.__esModule=!0;var o,i=(o=n(8973))&&o.__esModule?o:{default:o};t.default=(0,i.default)({shouldComponentUpdate:function(){return!this._notifying}},(function(e,t,n,o,i){n&&(e._notifying=!0,n.call.apply(n,[e,o].concat(i)),e._notifying=!1),e._values[t]=o,e.unmounted||e.forceUpdate()})),e.exports=t.default},2644:(e,t,n)=>{"use strict";t.__esModule=!0,t.version=void 0,t.uncontrolledPropTypes=function(e,t,n){return{}},t.getType=function(e){return r[0]>=15||0===r[0]&&r[1]>=13?e:e.type},t.getValue=function(e,t){var n=a(t);return n&&!s(e,t)&&s(e,n)?e[n].value:e[t]},t.getLinkName=a,t.defaultKey=function(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)},t.chain=function(e,t,n){return function(){for(var o=arguments.length,i=Array(o),r=0;r{"use strict";var o=n(4761),i=n(1703),r=n(5128),s=n(3612),a=n(9803);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:o(e)?"String":i(e)?"Number":r(e)?"Boolean":s(e)?"Symbol":a(e)?"BigInt":void 0}},5767:(e,t,n)=>{"use strict";var o=n(2682),i=n(9209),r=n(487),s=n(8075),a=n(5795),l=s("Object.prototype.toString"),c=n(9092)(),u="undefined"==typeof globalThis?n.g:globalThis,h=i(),d=s("String.prototype.slice"),p=Object.getPrototypeOf,g=s("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1?t:"Object"===t&&function(e){var t=!1;return o(f,(function(n,o){if(!t)try{n(e),t=d(o,1)}catch(e){}})),t}(e)}return a?function(e){var t=!1;return o(f,(function(n,o){if(!t)try{"$"+n(e)===o&&(t=d(o,1))}catch(e){}})),t}(e):null}},1609:e=>{"use strict";e.exports=window.React},2634:()=>{},9209:(e,t,n)=>{"use strict";var o=n(6578),i="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t{var n;!function(){"use strict";var o=function(){function e(){}function t(e,t){for(var n=t.length,o=0;o{var n;!function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e="",t=0;t{"use strict";var o=n(7244),i=n(1820);if(n(4039)()||n(1333)()){var r=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[r]?e[r]():o(e)?Array.prototype[r].call(e):void 0}}else{var s=n(4634),a=n(4761),l=n(453),c=l("%Map%",!0),u=l("%Set%",!0),h=n(8075),d=h("Array.prototype.push"),p=h("String.prototype.charCodeAt"),g=h("String.prototype.slice"),f=function(e){var t=0;return{next:function(){var n,o=t>=e.length;return o||(n=e[t],t+=1),{done:o,value:n}}}},m=function(e,t){if(s(e)||o(e))return f(e);if(a(e)){var n=0;return{next:function(){var t=function(e,t){if(t+1>=e.length)return t+1;var n=p(e,t);if(n<55296||n>56319)return t+1;var o=p(e,t+1);return o<56320||o>57343?t+1:t+2}(e,n),o=g(e,n,t);return n=t,{done:t>e.length,value:o}}}}return t&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(c||u){var v=n(3802),b=n(256),y=h("Map.prototype.forEach",!0),w=h("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var k=h("Map.prototype.iterator",!0),_=h("Set.prototype.iterator",!0);var x=h("Map.prototype.@@iterator",!0)||h("Map.prototype._es6-shim iterator_",!0),C=h("Set.prototype.@@iterator",!0)||h("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(v(e)){if(k)return i(k(e));if(x)return x(e);if(y){var t=[];return y(e,(function(e,n){d(t,[n,e])})),f(t)}}if(b(e)){if(_)return i(_(e));if(C)return C(e);if(w){var n=[];return w(e,(function(e){d(n,e)})),f(n)}}}(e)||m(e)}}else e.exports=function(e){if(null!=e)return m(e,!0)}}},7638:(e,t,n)=>{"use strict";var o=n(3802),i=n(256),r=n(7842),s=n(2648);e.exports=function(e){if(e&&"object"==typeof e){if(o(e))return"Map";if(i(e))return"Set";if(r(e))return"WeakMap";if(s(e))return"WeakSet"}return!1}}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.amdD=function(){throw new Error("define cannot be used indirect")},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var i=o.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=o[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"})(),(()=>{"use strict";var e={};n.r(e),n.d(e,{setDevice:()=>Je});var t={};n.r(t),n.d(t,{getDevice:()=>Xe});var o={};n.r(o),n.d(o,{addClass:()=>st,getActiveClass:()=>it,hasClass:()=>lt,removeClass:()=>at,replaceClass:()=>rt});var i={};n.r(i),n.d(i,{maybeDecode:()=>gt,maybeEncode:()=>pt});var r={};n.r(r),n.d(r,{getSpecificPropsFromStyles:()=>Gr,getStyle:()=>Hr,getStylesToReset:()=>Ur,getUpdatedStyles:()=>Vr,hasStyle:()=>Wr,prepareStyles:()=>Fr});var s={};n.r(s),n.d(s,{get:()=>qr});var a={};n.r(a),n.d(a,{get:()=>es});var l={};n.r(l),n.d(l,{DEFAULT:()=>gg,EasingBezierEditor:()=>vg,EasingControls:()=>bg,PRESETS:()=>fg});var c={};n.r(c),n.d(c,{DEFAULT:()=>kg,PRESETS:()=>_g,SpringControls:()=>Ag,SpringEditor:()=>Eg});var u={};n.r(u),n.d(u,{get:()=>Dg});var h={};n.r(h),n.d(h,{apiFetch:()=>zg,setImageTagData:()=>Fg});var d={};n.r(d),n.d(d,{API_FETCH:()=>Vg});var p={};n.r(p),n.d(p,{getImageTagData:()=>Kg});var g={};n.r(g),n.d(g,{getImageTagData:()=>Yg});var f={};n.r(f),n.d(f,{apiFetch:()=>Jg,setTemplateData:()=>Qg,setTemplates:()=>Xg});var m={};n.r(m),n.d(m,{API_FETCH:()=>ef});var v={};n.r(v),n.d(v,{getTemplateData:()=>nf,getTemplates:()=>tf});var b={};n.r(b),n.d(b,{getTemplateData:()=>rf,getTemplates:()=>of});var y={};n.r(y),n.d(y,{apiFetch:()=>af,setCustomCode:()=>lf,updateCustomCode:()=>cf});var w={};n.r(w),n.d(w,{API_FETCH:()=>uf});var k={};n.r(k),n.d(k,{getCustomCode:()=>hf});var _={};n.r(_),n.d(_,{getCustomCode:()=>df,updateCustomCode:()=>pf});var x={};n.r(x),n.d(x,{apiFetch:()=>ff,setCustomizerData:()=>mf});var C={};n.r(C),n.d(C,{API_FETCH:()=>vf});var S={};n.r(S),n.d(S,{getCustomizerData:()=>bf});var E={};n.r(E),n.d(E,{getCustomizerData:()=>yf});var A={};n.r(A),n.d(A,{apiFetch:()=>kf,setCustomFonts:()=>_f,updateCustomFonts:()=>xf});var T={};n.r(T),n.d(T,{API_FETCH:()=>Cf});var $={};n.r($),n.d($,{getCustomFonts:()=>Sf});var M={};n.r(M),n.d(M,{getCustomFonts:()=>Ef,updateCustomFonts:()=>Af});var R={};n.r(R),n.d(R,{apiFetch:()=>$f,setCustomTypography:()=>Mf,updateCustomTypography:()=>Rf});var j={};n.r(j),n.d(j,{API_FETCH:()=>jf});var O={};n.r(O),n.d(O,{getCustomTypography:()=>Of});var L={};n.r(L),n.d(L,{getCustomTypography:()=>Lf,updateCustomTypography:()=>If});var I={};n.r(I),n.d(I,{apiFetch:()=>Pf,setInstagramFeed:()=>Df,setInstagramProfile:()=>Bf});var N={};n.r(N),n.d(N,{API_FETCH:()=>zf});var P={};n.r(P),n.d(P,{getInstagramFeed:()=>Hf,getInstagramProfile:()=>Wf});var D={};n.r(D),n.d(D,{getInstagramFeed:()=>Vf,getInstagramProfile:()=>Uf});var B={};n.r(B),n.d(B,{apiFetch:()=>qf,setTwitterFeed:()=>Kf,setTwitterProfile:()=>Yf});var z={};n.r(z),n.d(z,{API_FETCH:()=>Zf});var F={};n.r(F),n.d(F,{getTwitterFeed:()=>Xf,getTwitterProfile:()=>Qf});var H={};n.r(H),n.d(H,{getTwitterFeed:()=>em,getTwitterProfile:()=>tm});var W={};n.r(W),n.d(W,{apiFetch:()=>om,setTOC:()=>im});var V={};n.r(V),n.d(V,{API_FETCH:()=>rm});var U={};n.r(U),n.d(U,{getTOC:()=>am});var G={};n.r(G),n.d(G,{getTOC:()=>lm});var q={};n.r(q),n.d(q,{metadata:()=>hm,name:()=>fm,settings:()=>mm});var K={};n.r(K),n.d(K,{metadata:()=>vm,name:()=>km,settings:()=>_m});var Y={};n.r(Y),n.d(Y,{metadata:()=>xm,name:()=>Em,settings:()=>Am});var Z={};n.r(Z),n.d(Z,{metadata:()=>Tm,name:()=>Lm,settings:()=>Im});var J={};n.r(J),n.d(J,{metadata:()=>Nm,name:()=>Fm,settings:()=>Hm});var X={};n.r(X),n.d(X,{metadata:()=>Wm,name:()=>Ym,settings:()=>Zm});var Q={};n.r(Q),n.d(Q,{metadata:()=>Jm,name:()=>Qm,settings:()=>ev});var ee={};n.r(ee),n.d(ee,{metadata:()=>tv,name:()=>ov,settings:()=>iv});var te={};n.r(te),n.d(te,{metadata:()=>rv,name:()=>hv,settings:()=>dv});var ne={};n.r(ne),n.d(ne,{metadata:()=>pv,name:()=>bv,settings:()=>yv});var oe={};n.r(oe),n.d(oe,{metadata:()=>wv,name:()=>xv,settings:()=>Cv});var ie={};n.r(ie),n.d(ie,{metadata:()=>Sv,name:()=>Nv,settings:()=>Pv});var re={};n.r(re),n.d(re,{metadata:()=>Dv,name:()=>Vv,settings:()=>Uv});var se={};n.r(se),n.d(se,{metadata:()=>Gv,name:()=>qv,settings:()=>Kv});var ae={};n.r(ae),n.d(ae,{metadata:()=>Yv,name:()=>Zv,settings:()=>Jv});var le={};n.r(le),n.d(le,{metadata:()=>Xv,name:()=>Qv,settings:()=>eb});var ce={};n.r(ce),n.d(ce,{metadata:()=>tb,name:()=>nb,settings:()=>ob});var ue={};n.r(ue),n.d(ue,{metadata:()=>ib,name:()=>rb,settings:()=>sb});var he={};n.r(he),n.d(he,{metadata:()=>ab,name:()=>lb,settings:()=>cb});var de={};n.r(de),n.d(de,{metadata:()=>ub,name:()=>hb,settings:()=>db});var pe={};n.r(pe),n.d(pe,{metadata:()=>pb,name:()=>gb,settings:()=>fb});var ge={};n.r(ge),n.d(ge,{metadata:()=>mb,name:()=>yb,settings:()=>wb});var fe={};n.r(fe),n.d(fe,{metadata:()=>kb,name:()=>_b,settings:()=>xb});var me={};n.r(me),n.d(me,{metadata:()=>Cb,name:()=>Sb,settings:()=>Eb});var ve={};n.r(ve),n.d(ve,{metadata:()=>Ab,name:()=>Tb,settings:()=>$b});var be={};n.r(be),n.d(be,{metadata:()=>Mb,name:()=>yy,settings:()=>wy});var ye={};n.r(ye),n.d(ye,{metadata:()=>ky,name:()=>My,settings:()=>Ry});var we={};n.r(we),n.d(we,{metadata:()=>jy,name:()=>iw,settings:()=>rw});var ke={};n.r(ke),n.d(ke,{metadata:()=>hw,name:()=>fw,settings:()=>mw,withClasses:()=>vw});var _e={};n.r(_e),n.d(_e,{metadata:()=>bw,name:()=>xw,settings:()=>Cw});var xe={};n.r(xe),n.d(xe,{metadata:()=>Sw,name:()=>jw,settings:()=>Ow});var Ce={};n.r(Ce),n.d(Ce,{metadata:()=>Lw,name:()=>Bw,settings:()=>zw});var Se={};n.r(Se),n.d(Se,{metadata:()=>Fw,name:()=>Vw,settings:()=>Uw});var Ee={};n.r(Ee),n.d(Ee,{metadata:()=>Gw,name:()=>qw,settings:()=>Kw});var Ae={};n.r(Ae),n.d(Ae,{metadata:()=>Yw,name:()=>Qw,settings:()=>ek});var Te={};n.r(Te),n.d(Te,{decode:()=>ik,encode:()=>ak,format:()=>lk,parse:()=>kk});var $e={};n.r($e),n.d($e,{Any:()=>xk,Cc:()=>Ck,Cf:()=>Sk,P:()=>_k,Z:()=>Ek});var Me={};n.r(Me),n.d(Me,{arrayReplaceAt:()=>Xk,assign:()=>Jk,escapeHtml:()=>u_,escapeRE:()=>d_,fromCodePoint:()=>e_,has:()=>Zk,isMdAsciiPunct:()=>m_,isPunctChar:()=>f_,isSpace:()=>p_,isString:()=>Kk,isValidEntityCode:()=>Qk,isWhiteSpace:()=>g_,lib:()=>b_,normalizeReference:()=>v_,unescapeAll:()=>r_,unescapeMd:()=>i_});var Re={};n.r(Re),n.d(Re,{parseLinkDestination:()=>w_,parseLinkLabel:()=>y_,parseLinkTitle:()=>k_});var je={};n.r(je),n.d(je,{metadata:()=>tk,name:()=>pC,settings:()=>gC});var Oe={};n.r(Oe),n.d(Oe,{metadata:()=>fC,name:()=>bC,settings:()=>yC});var Le={};n.r(Le),n.d(Le,{metadata:()=>wC,name:()=>_C,settings:()=>xC});var Ie={};n.r(Ie),n.d(Ie,{metadata:()=>CC,name:()=>EC,settings:()=>AC});var Ne={};n.r(Ne),n.d(Ne,{metadata:()=>TC,name:()=>IC,settings:()=>NC});var Pe={};n.r(Pe),n.d(Pe,{metadata:()=>PC,name:()=>BC,settings:()=>zC});var De={};n.r(De),n.d(De,{metadata:()=>FC,name:()=>KC,settings:()=>YC});var Be={};n.r(Be),n.d(Be,{metadata:()=>ZC,name:()=>eS,settings:()=>tS});var ze={};n.r(ze),n.d(ze,{metadata:()=>nS,name:()=>cS,settings:()=>uS});var Fe={};n.r(Fe),n.d(Fe,{metadata:()=>hS,name:()=>dS,settings:()=>pS});var He={};n.r(He),n.d(He,{metadata:()=>gS,name:()=>CS,settings:()=>SS});var We={};n.r(We),n.d(We,{metadata:()=>ES,name:()=>TS,settings:()=>$S});var Ve={};n.r(Ve),n.d(Ve,{name:()=>RS,settings:()=>jS});var Ue={};n.r(Ue),n.d(Ue,{name:()=>OS,settings:()=>LS});var Ge={};n.r(Ge),n.d(Ge,{name:()=>DS,settings:()=>BS});var qe={};n.r(qe),n.d(qe,{name:()=>zS,settings:()=>FS});var Ke=n(1609),Ye=n.n(Ke);const Ze=window.wp.data;function Je(e){return{type:"SET_DEVICE",device:e}}function Xe(e){return e.device}const Qe=(0,Ze.createReduxStore)("ghostkit/responsive",{reducer:function(e={device:""},t={}){return"SET_DEVICE"===t.type&&e.device!==t.device?{...e,device:t.device}:e},selectors:t,actions:e});function et(e,t,n){const o=e[t];return e.splice(t,1),e.splice(n,0,o),e}function tt(e){return"string"!=typeof e?e:(e=e.replace(/[a-z]([A-Z])+/g,(e=>`${e[0]}-${e.substring(1)}`)))&&e.toLowerCase?e.toLowerCase():e}(0,Ze.register)(Qe);const nt=window.wp.tokenList;var ot=n.n(nt);function it(e,t,n){const o=new(ot())(e);for(const e of o.values())if(-1!==e.indexOf(`${t}-`))return n?e.replace(`${t}-`,""):e;return""}function rt(e,t,n){const o=new(ot())(e),i=new RegExp(`${t}-`);for(const e of o.values())i.test(e)&&o.remove(e);return n&&o.add(`${t}-${n}`),o.value}function st(e,t){const n=new(ot())(e);return t&&n.add(t),n.value}function at(e,t){const n=new(ot())(e);for(const e of n.values())t===e&&n.remove(e);return n.value}function lt(e,t){const n=new(ot())(e);for(const e of n.values())if(t===e)return!0;return!1}function ct(e){return"object"!=typeof e?e:Object.keys(e).reduce((function(t,n){const o="object"==typeof e[n],i=o?ct(e[n]):e[n],r=o&&!Object.keys(i).length;return void 0===i||r?t:Object.assign(t,{[n]:i})}),{})}function ut(e){return"string"!=typeof e?e:e.split(/[.,/ \-_]/).map((e=>e&&e.length?e.replace(e[0],e[0].toUpperCase()):e)).join(" ")}const ht={},dt={};function pt(e){if(ht[e])return ht[e];let t={};if("object"==typeof e)return Object.keys(e).forEach((n=>{t[pt(n)]=pt(e[n])})),t;if(t=e,"string"==typeof t)try{t=t.replace(/--/gm,"_u002d__u002d_"),t=encodeURIComponent(t)}catch(e){console.warn(e)}return ht[e]=t,t}function gt(e){if(dt[e])return dt[e];let t={};if(Array.isArray(e)&&(t=[]),"object"==typeof e)return Object.keys(e).forEach((n=>{t[gt(n)]=gt(e[n])})),t;if(t=e,"string"==typeof t)try{t=decodeURIComponent(t),t=t.replace(/_u002d__u002d_/gm,"--")}catch(e){console.warn(e)}return dt[e]=t,t}var ft,mt,vt,bt,yt,wt,kt,_t,xt,Ct,St,Et,At,Tt,$t,Mt,Rt,jt,Ot,Lt,It,Nt,Pt,Dt,Bt,zt,Ft,Ht,Wt,Vt,Ut,Gt,qt,Kt,Yt,Zt,Jt,Xt,Qt,en,tn,nn,on,rn,sn,an,ln,cn,un,hn,dn,pn,gn,fn,mn,vn,bn,yn,wn,kn;function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;tt!==e))}var Ar=n(2495),Tr=n.n(Ar),$r=n(7098),Mr=n.n($r);const{getBlocks:Rr}=(0,Ze.select)("core/block-editor");function jr(e,t="none"){let n=[];return"none"===t&&(t=Rr()),t.forEach((t=>{t.clientId!==e&&t.attributes&&(t.attributes.anchor&&n.push(t.attributes.anchor),"ghostkit/tabs-tab-v2"!==t.name&&"ghostkit/accordion-item"!==t.name||!t.attributes.slug||n.push(t.attributes.slug)),t.innerBlocks&&t.innerBlocks.length&&(n=[...n,...jr(e,t.innerBlocks)])})),n}function Or(e,t){let n=!0;return t.forEach((t=>{t===e&&(n=!1)})),n}function Lr(e){return Tr()(Mr()(e),{replacement:"-",remove:/[*_+~()'"!?/\-—–−:@^|&#.,;%<>{}]/g,lower:!0})}function Ir(e,t){let n="",o=0;const i=jr(t);for(;!n||!Or(n,i);)n&&(o+=1),n=`${Lr(e)}${o?`-${o}`:""}`;return n}function Nr(e){return e&&"object"==typeof e&&!Array.isArray(e)}function Pr(e,...t){if(!t.length)return e;const n=t.shift();return Nr(e)&&Nr(n)&&Object.keys(n).forEach((t=>{Nr(n[t])?(e[t]||Object.assign(e,{[t]:{}}),Pr(e[t],n[t])):Object.assign(e,{[t]:n[t]})})),Pr(e,...t)}function Dr(e,t=1){const n=10**t;return Math.round(e*n)/n}function Br(e){return Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{})}const zr={...window.ghostkitVariables.media_sizes};function Fr(e){return gt(e)}function Hr(e,t,n=!1,o=!1){let i,r=Fr(e);return n&&(r=r?.[`media_${n}`]),o&&(r=r?.[o]),void 0!==r?.[t]&&(i=r?.[t]),i}function Wr(e,t,n=!1,o=!1){return void 0!==Hr(e,t,n,o)}function Vr(e,t,n=!1,o=!1){let i;return o&&(t={[o]:t}),n?(i={},i[`media_${n}`]=t):i=t,i=Pr({media_xl:{},media_lg:{},media_md:{},media_sm:{}},gt(e),i),pt(ct(i))}function Ur(e,t=!1,n=[""]){const o={};return n.forEach((e=>{e&&(o[e]={})})),["",...t?Object.keys(zr):[]].forEach((t=>{t&&(o[`media_${t}`]={},n.forEach((e=>{e&&(o[`media_${t}`][e]={})}))),e.forEach((e=>{n.forEach((n=>{t?n?o[`media_${t}`][n][e]=void 0:o[`media_${t}`][e]=void 0:n?o[n][e]=void 0:o[e]=void 0}))}))})),o}function Gr(e,t,n=!1,o=[""]){const i=Ur(t,n,o),r=gt(e||{});return["",...n?Object.keys(zr):[]].forEach((e=>{t.forEach((t=>{o.forEach((n=>{e?n?void 0!==r?.[`media_${e}`]?.[n]?.[t]&&(i[`media_${e}`][n][t]=r[`media_${e}`][n][t]):void 0!==r?.[`media_${e}`]?.[t]&&(i[`media_${e}`][t]=r[`media_${e}`][t]):n?void 0!==r?.[n]?.[t]&&(i[n][t]=r[n][t]):void 0!==r?.[t]&&(i[t]=r[t])}))}))})),pt(i)}function qr(){return{arrayMove:et,camelCaseToDash:tt,classesReplacer:o,compactObject:ct,dashCaseToTitle:ut,encodeDecode:i,getIcon:Cr,getParents:Sr,getSiblings:Er,getSlug:Lr,getUniqueSlug:Ir,merge:Pr,round:Dr,sortObject:Br,styles:r}}const Kr=(0,Ze.createReduxStore)("ghostkit/base/utils",{selectors:s,reducer:e=>e});(0,Ze.register)(Kr);const{ghostkitVariables:Yr}=window,Zr={...Yr.media_sizes};function Jr(){const{device:e}=(0,Ze.useSelect)((e=>{const{getDevice:t}=e("ghostkit/responsive");return{device:t()}})),{setDeviceType:t}=(0,Ze.useDispatch)("core/editor"),{setDevice:n}=(0,Ze.useDispatch)("ghostkit/responsive");return{device:e,setDevice:(...e)=>{n(...e),t("Desktop")},allDevices:Zr}}const Xr=window.lodash;function Qr(e){const{attributes:t,setAttributes:n}=e,o=t?.ghostkit||{},i=o?.styles||{};function r(e,t=!1,i=!1){const r=(0,Xr.cloneDeep)(o);void 0===r?.styles&&(r.styles={});const s=Vr(r.styles,e,t,i);r.styles=s,n({ghostkit:r})}return{styles:i,getStyles:function(){return Fr(i)},getStyle:function(e,t=!1,n=!1){return Hr(i,e,t,n)},hasStyle:function(e,t=!1,n=!1){return Wr(i,e,t,n)},setStyles:r,resetStyles:function(e,t=!1,n=[""]){r(Ur(e,t,n))}}}function es(){return{useResponsive:Jr,useStyles:Qr}}const ts=(0,Ze.createReduxStore)("ghostkit/base/hooks",{selectors:a,reducer:e=>e});function ns(){return(0,Ke.createElement)("span",{className:"ghostkit-component-active-indicator"})}(0,Ze.register)(ts);const os=window.wp.hooks;function is(e){const{name:t,children:n}=e;return(0,os.applyFilters)(t,n||"",e)}var rs=n(470),ss=(n(3158),n(1766),n(8457),n(4139),n(8171),n(47));function as(e){const{setOptions:t={},editorProps:n={},...o}=e;return(0,Ke.createElement)(rs.Ay,{className:"ghostkit-component-code-editor",theme:"textmate",onLoad:e=>{e.renderer.setScrollMargin(16,16,16,16),e.renderer.setPadding(16)},fontSize:12,showPrintMargin:!0,showGutter:!0,highlightActiveLine:!1,width:"100%",setOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,printMargin:!1,tabSize:2,useWorker:!1,...t},editorProps:{$blockScrolling:1/0,...n},...o})}var ls=n(8655),cs=n.n(ls);const us=window.wp.components;function hs(e){const{className:t}=e;return(0,Ke.createElement)(us.ColorIndicator,{...e,className:cs()("ghostkit-color-indicator",t)})}const ds=window.wp.blockEditor;function ps(e){const{value:t,alpha:n=!1,palette:o=!0,onChange:i=(()=>{})}=e,r=o?function(){if(ds.__experimentalUseMultipleOriginColorsAndGradients&&(0,ds.__experimentalUseMultipleOriginColorsAndGradients)())return(0,ds.__experimentalUseMultipleOriginColorsAndGradients)().colors;const{themeColors:e}=(0,Ze.useSelect)((e=>({themeColors:e("core/block-editor").getSettings().colors}))),t=[];return e&&e.length&&t.push({name:"Theme",colors:e}),t}():[];return(0,Ke.createElement)(is,{name:"ghostkit.component.color-palette",props:e},(0,Ke.createElement)(us.ColorPalette,{colors:r,value:t,enableAlpha:n,onChange:e=>{i(e)},__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0}))}const gs=window.ReactJSXRuntime;function fs(e){const{value:t,onChange:n,label:o,colorPalette:i=!0,alpha:r=!1,gradient:s=!1,afterDropdownContent:a}=e;return(0,gs.jsx)(us.BaseControl,{className:"ghostkit-component-color-picker-wrapper",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.Dropdown,{className:"ghostkit-component-color-picker__dropdown",contentClassName:"ghostkit-component-color-picker__dropdown-content",popoverProps:{placement:"left-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:n})=>(0,gs.jsxs)(us.Button,{className:cs()("ghostkit-component-color-toggle",e?"ghostkit-component-color-toggle-active":""),onClick:n,children:[(0,gs.jsx)("span",{className:"ghostkit-component-color-toggle-indicator",style:{background:t||""}}),(0,gs.jsx)("span",{className:"ghostkit-component-color-toggle-label",children:o})]}),renderContent:()=>(0,gs.jsxs)("div",{className:"ghostkit-component-color-picker",children:[(0,gs.jsx)(ps,{value:t,palette:i,alpha:r,gradient:s,onChange:e=>{n(e||"")}}),a||""]})})})}const ms=window.wp.date,vs=window.wp.element,bs=window.wp.i18n,{luxon:ys}=window;function ws(e){const[t,n]=(0,vs.useState)(!1),{value:o,onChange:i,label:r,is12Hour:s=!1}=e,a=(0,ms.getSettings)(),l=a.formats.datetime||"F j, Y g:i a";return(0,gs.jsx)(us.BaseControl,{id:r,label:r,className:"ghostkit-components-date-time-picker",__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)("div",{children:[(0,gs.jsx)(us.Button,{isLink:!0,onClick:()=>n(!t),children:o?`${(0,ms.dateI18n)(l,o)} ${a.timezone.abbr||a.timezone.string||`UTC${a.timezone.offset}`}`:(0,bs.__)("Select Date","ghostkit")}),t?(0,gs.jsx)(us.Popover,{className:"ghostkit-components-date-time-picker-popover",onClose:()=>n(!1),children:(0,gs.jsx)(us.DateTimePicker,{label:r,currentDate:ys.DateTime.fromISO(o).isValid?o:"",onChange:i,is12Hour:s})}):null]})})}function ks(e){const{label:t,className:n,contentClassName:o,onClick:i,open:r,onToggle:s,children:a}=e;return(0,gs.jsx)(us.BaseControl,{className:"ghostkit-component-dropdown-picker-wrapper",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.Dropdown,{className:cs()("ghostkit-component-dropdown-picker__dropdown",n),contentClassName:cs()("ghostkit-component-dropdown-picker__dropdown-content",o),popoverProps:{placement:"left-start",offset:36,shift:!0},open:r,onToggle:s,renderToggle:({isOpen:e,onToggle:n})=>(0,gs.jsx)(us.Button,{className:cs()("ghostkit-component-dropdown-picker-toggle",e?"ghostkit-component-dropdown-picker-toggle-active":""),onClick:t=>{i?i(n,e,t):n()},children:(0,gs.jsx)("span",{className:"ghostkit-component-dropdown-picker-toggle-label",children:t})}),renderContent:()=>a})})}const _s=".editor-styles-wrapper";function xs(e){const{styles:t}=e,n=(0,vs.useMemo)((()=>{const e=(0,ds.transformStyles)([{css:t}],_s);let n="";return(0,Xr.map)((0,Xr.compact)(e),(e=>{n+=e})),n}),[t]);return(0,Ke.createElement)("style",{dangerouslySetInnerHTML:{__html:n}})}function Cs(e){const{isHover:t,onChange:n,checkActive:o=(()=>!1)}=e;return(0,Ke.createElement)(us.Button,{className:"ghostkit-control-element-state-toggle",onClick:()=>{n(!t)}},Cr("icon-pointer"),o()&&(0,Ke.createElement)(ns,null),t&&(0,Ke.createElement)("span",null,(0,bs.__)(":hover","ghostkit")))}const Ss={};function Es(e){const{value:t,onChange:n,label:o,image:i}=e;let r="";if(!i)return null;if(r=function(e){if(void 0!==Ss[e])return Ss[e];let t=/]*?src\s*=\s*['"]([^'"]*?)['"][^>]*?>/g.exec(e);if(t&&t[1])return Ss[e]=t[1],t[1];const n=/]*?style\s*=\s*['"]([^'"]*?)['"][^>]*?>/g.exec(e);return n&&n[1]&&(t=n[1].replace('background-image: url("',"").replace("background-image: url("","").replace('");',"").replace("");",""),t)?(Ss[e]=t,t):(Ss[e]=!1,!1)}(i),!r)return null;const s=function(e){const t=e.split(" "),n={x:.5,y:.5};return t[0]?(t[1]||t.push(t[0]),n.x=Math.max(Math.min(parseFloat(t[0])/100,1),0),n.y=Math.max(Math.min(parseFloat(t[1])/100,1),0),n):n}(t);return(0,gs.jsx)(us.FocalPointPicker,{label:o,url:r,value:s,onChange:e=>{n(`${parseInt(100*e.x,10)}% ${parseInt(100*e.y,10)}%`)},__nextHasNoMarginBottom:!0})}var As=n(28),Ts=n.n(As);function $s(e){return $s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$s(e)}function Ms(e){var t=function(e,t){if("object"!=$s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=$s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$s(t)?t:String(t)}function Rs(e,t,n){return(t=Ms(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Os(e){for(var t=1;t0?Hs(Xs,--Zs):0,Ks--,10===Js&&(Ks=1,qs--),Js}function na(){return Js=Zs2||sa(Js)>3?"":" "}function ha(e,t){for(;--t&&na()&&!(Js<48||Js>102||Js>57&&Js<65||Js>70&&Js<97););return ra(e,ia()+(t<6&&32==oa()&&32==na()))}function da(e){for(;na();)switch(Js){case e:return Zs;case 34:case 39:34!==e&&39!==e&&da(Js);break;case 40:41===e&&da(e);break;case 92:na()}return Zs}function pa(e,t){for(;na()&&e+Js!==57&&(e+Js!==84||47!==oa()););return"/*"+ra(t,Zs-1)+"*"+Ps(47===e?e:na())}function ga(e){for(;!sa(oa());)na();return ra(e,Zs)}var fa="-ms-",ma="-moz-",va="-webkit-",ba="comm",ya="rule",wa="decl",ka="@keyframes";function _a(e,t){for(var n="",o=Us(e),i=0;i0&&Vs(x)-h&&Gs(p>32?Ta(x+";",o,n,h-1):Ta(zs(x," ","")+";",o,n,h-2),l);break;case 59:x+=";";default:if(Gs(_=Ea(x,t,n,c,u,i,a,y,w=[],k=[],h),r),123===b)if(0===u)Sa(x,t,_,_,w,r,h,a,k);else switch(99===d&&110===Hs(x,3)?100:d){case 100:case 108:case 109:case 115:Sa(e,_,_,o&&Gs(Ea(e,_,_,0,0,i,a,y,i,w=[],h),k),i,k,h,a,o?w:k);break;default:Sa(x,_,_,_,[""],k,0,a,k)}}c=u=p=0,f=v=1,y=x="",h=s;break;case 58:h=1+Vs(x),p=g;default:if(f<1)if(123==b)--f;else if(125==b&&0==f++&&125==ta())continue;switch(x+=Ps(b),b*f){case 38:v=u>0?1:(x+="\f",-1);break;case 44:a[c++]=(Vs(x)-1)*v,v=1;break;case 64:45===oa()&&(x+=ca(na())),d=oa(),u=h=Vs(y=x+=ga(ia())),b++;break;case 45:45===g&&2==Vs(x)&&(f=0)}}return r}function Ea(e,t,n,o,i,r,s,a,l,c,u){for(var h=i-1,d=0===i?r:[""],p=Us(d),g=0,f=0,m=0;g0?d[v]+" "+b:zs(b,/&\f/g,d[v])))&&(l[m++]=y);return Qs(e,t,n,0===i?ya:a,l,c,u)}function Aa(e,t,n){return Qs(e,t,n,ba,Ps(Js),Ws(e,2,-2),0)}function Ta(e,t,n,o){return Qs(e,t,n,wa,Ws(e,0,o),Ws(e,o+1,-1),o)}var $a=function(e,t,n){for(var o=0,i=0;o=i,i=oa(),38===o&&12===i&&(t[n]=1),!sa(i);)na();return ra(e,Zs)},Ma=new WeakMap,Ra=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ma.get(n))&&!o){Ma.set(e,!0);for(var i=[],r=function(e,t){return la(function(e,t){var n=-1,o=44;do{switch(sa(o)){case 0:38===o&&12===oa()&&(t[n]=1),e[n]+=$a(Zs-1,t,n);break;case 2:e[n]+=ca(o);break;case 4:if(44===o){e[++n]=58===oa()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ps(o)}}while(o=na());return e}(aa(e),t))}(t,i),s=n.props,a=0,l=0;a6)switch(Hs(e,t+1)){case 109:if(45!==Hs(e,t+4))break;case 102:return zs(e,/(.+:)(.+)-([^]+)/,"$1"+va+"$2-$3$1"+ma+(108==Hs(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Fs(e,"stretch")?Oa(zs(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Hs(e,t+1))break;case 6444:switch(Hs(e,Vs(e)-3-(~Fs(e,"!important")&&10))){case 107:return zs(e,":",":"+va)+e;case 101:return zs(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+va+(45===Hs(e,14)?"inline-":"")+"box$3$1"+va+"$2$3$1"+fa+"$2box$3")+e}break;case 5936:switch(Hs(e,t+11)){case 114:return va+e+fa+zs(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return va+e+fa+zs(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return va+e+fa+zs(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return va+e+fa+e+e}return e}var La=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case wa:e.return=Oa(e.value,e.length);break;case ka:return _a([ea(e,{value:zs(e.value,"@","@"+va)})],o);case ya:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return _a([ea(e,{props:[zs(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return _a([ea(e,{props:[zs(t,/:(plac\w+)/,":"+va+"input-$1")]}),ea(e,{props:[zs(t,/:(plac\w+)/,":-moz-$1")]}),ea(e,{props:[zs(t,/:(plac\w+)/,fa+"input-$1")]})],o)}return""}))}}],Ia=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,r=e.stylisPlugins||La,s={},a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++o,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Ga}},Ya=!!Ke.useInsertionEffect&&Ke.useInsertionEffect,Za=Ya||function(e){return e()},Ja=(Ya||Ke.useLayoutEffect,{}.hasOwnProperty),Xa=Ke.createContext("undefined"!=typeof HTMLElement?Ia({key:"css"}):null);Xa.Provider;var Qa=function(e){return(0,Ke.forwardRef)((function(t,n){var o=(0,Ke.useContext)(Xa);return e(t,o,n)}))},el=Ke.createContext({}),tl="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",nl=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;return Na(t,n,o),Za((function(){return function(e,t,n){Na(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+o:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}(t,n,o)})),null},ol=Qa((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[tl],r=[o],s="";"string"==typeof e.className?s=function(e,t,n){var o="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):o+=n+" "})),o}(t.registered,r,e.className):null!=e.className&&(s=e.className+" ");var a=Ka(r,void 0,Ke.useContext(el));s+=t.key+"-"+a.name;var l={};for(var c in e)Ja.call(e,c)&&"css"!==c&&c!==tl&&(l[c]=e[c]);return l.ref=n,l.className=s,Ke.createElement(Ke.Fragment,null,Ke.createElement(nl,{cache:t,serialized:a,isStringTag:"string"==typeof i}),Ke.createElement(i,l))})),il=ol,rl=(n(4146),function(e,t){var n=arguments;if(null==t||!Ja.call(t,"css"))return Ke.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=il,i[1]=function(e,t){var n={};for(var o in t)Ja.call(t,o)&&(n[o]=t[o]);return n[tl]=e,n}(e,t);for(var r=2;re.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const hl=window.ReactDOM,dl=Math.min,pl=Math.max,gl=Math.round,fl=Math.floor,ml=e=>({x:e,y:e});function vl(e){return wl(e)?(e.nodeName||"").toLowerCase():"#document"}function bl(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function yl(e){var t;return null==(t=(wl(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function wl(e){return e instanceof Node||e instanceof bl(e).Node}function kl(e){return e instanceof Element||e instanceof bl(e).Element}function _l(e){return e instanceof HTMLElement||e instanceof bl(e).HTMLElement}function xl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof bl(e).ShadowRoot)}function Cl(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=Sl(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function Sl(e){return bl(e).getComputedStyle(e)}function El(e){const t=function(e){if("html"===vl(e))return e;const t=e.assignedSlot||e.parentNode||xl(e)&&e.host||yl(e);return xl(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(vl(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:_l(t)&&Cl(t)?t:El(t)}function Al(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=El(e),r=i===(null==(o=e.ownerDocument)?void 0:o.body),s=bl(i);return r?t.concat(s,s.visualViewport||[],Cl(i)?i:[],s.frameElement&&n?Al(s.frameElement):[]):t.concat(i,Al(i,[],n))}function Tl(e){return kl(e)?e:e.contextElement}function $l(e){const t=Tl(e);if(!_l(t))return ml(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:r}=function(e){const t=Sl(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=_l(e),r=i?e.offsetWidth:n,s=i?e.offsetHeight:o,a=gl(n)!==r||gl(o)!==s;return a&&(n=r,o=s),{width:n,height:o,$:a}}(t);let s=(r?gl(n.width):n.width)/o,a=(r?gl(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Ml=ml(0);function Rl(e){const t=bl(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ml}function jl(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),r=Tl(e);let s=ml(1);t&&(o?kl(o)&&(s=$l(o)):s=$l(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==bl(e))&&t}(r,n,o)?Rl(r):ml(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,u=i.width/s.x,h=i.height/s.y;if(r){const e=bl(r),t=o&&kl(o)?bl(o):o;let n=e,i=n.frameElement;for(;i&&o&&t!==n;){const e=$l(i),t=i.getBoundingClientRect(),o=Sl(i),r=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,h*=e.y,l+=r,c+=s,n=bl(i),i=n.frameElement}}return d={width:u,height:h,x:l,y:c},{...d,top:d.y,left:d.x,right:d.x+d.width,bottom:d.y+d.height};var d}const Ol=Ke.useLayoutEffect;var Ll=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Il=function(){};function Nl(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Pl(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i-1}function Hl(e){return Fl(e)?window.pageYOffset:e.scrollTop}function Wl(e,t){Fl(e)?window.scrollTo(0,t):e.scrollTop=t}function Vl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Il,i=Hl(e),r=t-i,s=0;!function t(){var a,l=r*((a=(a=s+=10)/n-1)*a*a+1)+i;Wl(e,l),sn.bottom?Wl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):o.top-i=g)return{placement:"bottom",maxHeight:t};if(C>=g&&!s)return r&&Vl(l,S,A),{placement:"bottom",maxHeight:t};if(!s&&C>=o||s&&_>=o)return r&&Vl(l,S,A),{placement:"bottom",maxHeight:s?_-y:C-y};if("auto"===i||s){var T=t,$=s?k:x;return $>=o&&(T=Math.min($-y-a,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return r&&Wl(l,S),{placement:"bottom",maxHeight:t};break;case"top":if(k>=g)return{placement:"top",maxHeight:t};if(x>=g&&!s)return r&&Vl(l,E,A),{placement:"top",maxHeight:t};if(!s&&x>=o||s&&k>=o){var M=t;return(!s&&x>=o||s&&k>=o)&&(M=s?k-w:x-w),r&&Vl(l,E,A),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:m});d(a.maxHeight),f(a.placement),null==l||l(a.placement)}}),[o,i,r,s,n,l,m]),t({ref:c,placerProps:Os(Os({},e),{},{placement:g||ic(i),maxHeight:h})})},ac=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return Os({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},lc=ac,cc=ac,uc=["size"],hc=["innerProps","isRtl","size"],dc={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},pc=function(e){var t=e.size,n=ul(e,uc);return rl("svg",Ls({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:dc},n))},gc=function(e){return rl(pc,Ls({size:20},e),rl("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},fc=function(e){return rl(pc,Ls({size:20},e),rl("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},mc=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return Os({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*i,":hover":{color:n?r.neutral80:r.neutral40}})},vc=mc,bc=mc,yc=function(){var e=sl.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(tc||(nc=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],oc||(oc=nc.slice(0)),tc=Object.freeze(Object.defineProperties(nc,{raw:{value:Object.freeze(oc)}})))),wc=function(e){var t=e.delay,n=e.offset;return rl("span",{css:sl({animation:"".concat(yc," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},kc=["data"],_c=["innerRef","isDisabled","isHidden","inputClassName"],xc={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Cc={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Os({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},xc)},Sc=function(e){return Os({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},xc)},Ec=function(e){var t=e.children,n=e.innerProps;return rl("div",n,t)},Ac={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({},zl(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||rl(gc,null))},Control:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.innerRef,r=e.innerProps,s=e.menuIsOpen;return rl("div",Ls({ref:i},zl(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),r,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({},zl(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||rl(fc,null))},DownChevron:fc,CrossIcon:gc,Group:function(e){var t=e.children,n=e.cx,o=e.getStyles,i=e.getClassNames,r=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return rl("div",Ls({},zl(e,"group",{group:!0}),a),rl(r,Ls({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:i,cx:n}),l),rl("div",null,t))},GroupHeading:function(e){var t=Bl(e);t.data;var n=ul(t,kc);return rl("div",Ls({},zl(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({},zl(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return rl("span",Ls({},t,zl(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,o=Bl(e),i=o.innerRef,r=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=ul(o,_c);return rl("div",Ls({},zl(e,"input",{"input-container":!0}),{"data-value":n||""}),rl("input",Ls({className:t({input:!0},a),ref:i,style:Sc(s),disabled:r},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,i=void 0===o?4:o,r=ul(e,hc);return rl("div",Ls({},zl(Os(Os({},r),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),rl(wc,{delay:0,offset:n}),rl(wc,{delay:160,offset:!0}),rl(wc,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return rl("div",Ls({},zl(e,"menu",{menu:!0}),{ref:n},o),t)},MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,i=e.isMulti;return rl("div",Ls({},zl(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,i=e.innerProps,r=e.menuPlacement,s=e.menuPosition,a=(0,Ke.useRef)(null),l=(0,Ke.useRef)(null),c=cl((0,Ke.useState)(ic(r)),2),u=c[0],h=c[1],d=(0,Ke.useMemo)((function(){return{setPortalPlacement:h}}),[]),p=cl((0,Ke.useState)(null),2),g=p[0],f=p[1],m=(0,Ke.useCallback)((function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===s?0:window.pageYOffset,n=e[u]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||f({offset:n,rect:e})}}),[o,s,u,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);Ol((function(){m()}),[m]);var v=(0,Ke.useCallback)((function(){"function"==typeof l.current&&(l.current(),l.current=null),o&&a.current&&(l.current=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=Tl(e),u=i||r?[...c?Al(c):[],...Al(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)}));const h=c&&a?function(e,t){let n,o=null;const i=yl(e);function r(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),r();const{left:c,top:u,width:h,height:d}=e.getBoundingClientRect();if(a||t(),!h||!d)return;const p={rootMargin:-fl(u)+"px "+-fl(i.clientWidth-(c+h))+"px "+-fl(i.clientHeight-(u+d))+"px "+-fl(c)+"px",threshold:pl(0,dl(1,l))||1};let g=!0;function f(e){const t=e[0].intersectionRatio;if(t!==l){if(!g)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),100)}g=!1}try{o=new IntersectionObserver(f,{...p,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(f,p)}o.observe(e)}(!0),r}(c,n):null;let d,p=-1,g=null;s&&(g=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),c&&!l&&g.observe(c),g.observe(t));let f=l?jl(e):null;return l&&function t(){const o=jl(e);!f||o.x===f.x&&o.y===f.y&&o.width===f.width&&o.height===f.height||n(),f=o,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)})),null==h||h(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(d)}}(o,a.current,m,{elementResize:"ResizeObserver"in window}))}),[o,m]);Ol((function(){v()}),[v]);var b=(0,Ke.useCallback)((function(e){a.current=e,v()}),[v]);if(!t&&"fixed"!==s||!g)return null;var y=rl("div",Ls({ref:b},zl(Os(Os({},e),{},{offset:g.offset,position:s,rect:g.rect}),"menuPortal",{"menu-portal":!0}),i),n);return rl(rc.Provider,{value:d},t?(0,hl.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,i=ul(e,ec);return rl("div",Ls({},zl(Os(Os({},i),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,i=ul(e,Ql);return rl("div",Ls({},zl(Os(Os({},i),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:function(e){var t=e.children,n=e.components,o=e.data,i=e.innerProps,r=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return rl(l,{data:o,innerProps:Os(Os({},zl(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),i),selectProps:a},rl(c,{data:o,innerProps:Os({},zl(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),rl(u,{data:o,innerProps:Os(Os({},zl(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},MultiValueContainer:Ec,MultiValueLabel:Ec,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({role:"button"},n),t||rl(gc,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.innerRef,s=e.innerProps;return rl("div",Ls({},zl(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":i}),{ref:r,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({},zl(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,i=e.isRtl;return rl("div",Ls({},zl(e,"container",{"--is-disabled":o,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return rl("div",Ls({},zl(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,i=e.hasValue;return rl("div",Ls({},zl(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),n),t)}},Tc=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function $c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(e,t){for(var n=0;n1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(o,r?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,i=e.label,r=void 0===i?"":i,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(r," focused, ").concat(u(s,n),".");if("menu"===t&&c){var h=a?" disabled":"",d="".concat(l?" selected":"").concat(h);return"".concat(r).concat(d,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Vc=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,r=e.isFocused,s=e.selectValue,a=e.selectProps,l=e.id,c=e.isAppleDevice,u=a.ariaLiveMessages,h=a.getOptionLabel,d=a.inputValue,p=a.isMulti,g=a.isOptionDisabled,f=a.isSearchable,m=a.menuIsOpen,v=a.options,b=a.screenReaderStatus,y=a.tabSelectsValue,w=a.isLoading,k=a["aria-label"],_=a["aria-live"],x=(0,Ke.useMemo)((function(){return Os(Os({},Wc),u||{})}),[u]),C=(0,Ke.useMemo)((function(){var e,n="";if(t&&x.onChange){var o=t.option,i=t.options,r=t.removedValue,a=t.removedValues,l=t.value,c=r||o||(e=l,Array.isArray(e)?null:e),u=c?h(c):"",d=i||a||void 0,p=d?d.map(h):[],f=Os({isDisabled:c&&g(c,s),label:u,labels:p},t);n=x.onChange(f)}return n}),[t,x,g,s,h]),S=(0,Ke.useMemo)((function(){var e="",t=n||o,r=!!(n&&s&&s.includes(n));if(t&&x.onFocus){var a={focused:t,label:h(t),isDisabled:g(t,s),isSelected:r,options:i,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=x.onFocus(a)}return e}),[n,o,h,g,x,i,s,c]),E=(0,Ke.useMemo)((function(){var e="";if(m&&v.length&&!w&&x.onFilter){var t=b({count:i.length});e=x.onFilter({inputValue:d,resultsMessage:t})}return e}),[i,d,m,x,v,b,w]),A="initial-input-focus"===(null==t?void 0:t.action),T=(0,Ke.useMemo)((function(){var e="";if(x.guidance){var t=o?"value":m?"menu":"input";e=x.guidance({"aria-label":k,context:t,isDisabled:n&&g(n,s),isMulti:p,isSearchable:f,tabSelectsValue:y,isInitialFocus:A})}return e}),[k,n,o,p,g,f,m,x,s,y,A]),$=rl(Ke.Fragment,null,rl("span",{id:"aria-selection"},C),rl("span",{id:"aria-focused"},S),rl("span",{id:"aria-results"},E),rl("span",{id:"aria-guidance"},T));return rl(Ke.Fragment,null,rl(Hc,{id:l},A&&$),rl(Hc,{"aria-live":_,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!A&&$))},Uc=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Gc=new RegExp("["+Uc.map((function(e){return e.letters})).join("")+"]","g"),qc={},Kc=0;Kc1?t-1:0),o=1;o0,f=h-d-u,m=!1;f>t&&s.current&&(o&&o(e),s.current=!1),g&&a.current&&(r&&r(e),a.current=!1),g&&t>f?(n&&!s.current&&n(e),p.scrollTop=h,m=!0,s.current=!0):!g&&-t>u&&(i&&!a.current&&i(e),p.scrollTop=0,m=!0,a.current=!0),m&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,i,r]),h=(0,Ke.useCallback)((function(e){u(e,e.deltaY)}),[u]),d=(0,Ke.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),p=(0,Ke.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;u(e,t)}),[u]),g=(0,Ke.useCallback)((function(e){if(e){var t=!!Zl&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",p,t)}}),[p,d,h]),f=(0,Ke.useCallback)((function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",p,!1))}),[p,d,h]);return(0,Ke.useEffect)((function(){if(t){var e=c.current;return g(e),function(){f(e)}}}),[t,g,f]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),r=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,i=(0,Ke.useRef)({}),r=(0,Ke.useRef)(null),s=(0,Ke.useCallback)((function(e){if(cu){var t=document.body,n=t&&t.style;if(o&&ou.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&uu<1){var r=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(iu).forEach((function(e){var t=iu[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(a,"px"))}t&&lu()&&(t.addEventListener("touchmove",ru,hu),e&&(e.addEventListener("touchstart",au,hu),e.addEventListener("touchmove",su,hu))),uu+=1}}),[o]),a=(0,Ke.useCallback)((function(e){if(cu){var t=document.body,n=t&&t.style;uu=Math.max(uu-1,0),o&&uu<1&&ou.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&lu()&&(t.removeEventListener("touchmove",ru,hu),e&&(e.removeEventListener("touchstart",au,hu),e.removeEventListener("touchmove",su,hu)))}}),[o]);return(0,Ke.useEffect)((function(){if(t){var e=r.current;return s(e),function(){a(e)}}}),[t,s,a]),function(e){r.current=e}}({isEnabled:n});return rl(Ke.Fragment,null,n&&rl("div",{onClick:du,css:pu}),t((function(e){i(e),r(e)})))}var fu={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},mu=function(e){var t=e.name,n=e.onFocus;return rl("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:fu,value:"",onChange:function(){}})};function vu(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function bu(){return vu(/^Mac/i)}var yu={clearIndicator:bc,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.theme,r=i.colors,s=i.borderRadius;return Os({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?r.neutral5:r.neutral0,borderColor:n?r.neutral10:o?r.primary:r.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(r.primary):void 0,"&:hover":{borderColor:o?r.primary:r.neutral30}})},dropdownIndicator:vc,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,i=n.spacing;return Os({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return Os({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?r.neutral10:r.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,r=i.spacing,s=i.colors;return Os(Os({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Cc),t?{}:{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,i=e.theme,r=i.colors,s=i.spacing.baseUnit;return Os({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*s})},loadingMessage:cc,menu:function(e,t){var n,o=e.placement,i=e.theme,r=i.borderRadius,s=i.spacing,a=i.colors;return Os((Rs(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Rs(n,"position","absolute"),Rs(n,"width","100%"),Rs(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:r,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return Os({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors;return Os({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:r.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,r=e.cropWithEllipsis;return Os({overflow:"hidden",textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors,s=e.isFocused;return Os({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:s?r.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}})},noOptionsMessage:lc,option:function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.theme,s=r.spacing,a=r.colors;return Os({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return Os({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,r=o.colors;return Os({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?r.neutral40:r.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,r=e.selectProps.controlShouldRenderValue;return Os({alignItems:"center",display:o&&i&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},wu={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},ku={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Gl(),captureMenuScroll:!Gl(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=Os({ignoreCase:!0,ignoreAccents:!0,stringify:eu,trim:!0,matchFrom:"any"},void 0),o=n.ignoreCase,i=n.ignoreAccents,r=n.stringify,s=n.trim,a=n.matchFrom,l=s?Qc(t):t,c=s?Qc(r(e)):r(e);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),i&&(l=Xc(l),c=Jc(c)),"start"===a?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function _u(e,t,n,o){return{type:"option",data:t,isDisabled:Mu(e,t,n),isSelected:Ru(e,t,n),label:Tu(e,t),value:$u(e,t),index:o}}function xu(e,t){return e.options.map((function(n,o){if("options"in n){var i=n.options.map((function(n,o){return _u(e,n,t,o)})).filter((function(t){return Eu(e,t)}));return i.length>0?{type:"group",data:n,options:i,index:o}:void 0}var r=_u(e,n,t,o);return Eu(e,r)?r:void 0})).filter(Jl)}function Cu(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Dc(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Su(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,Dc(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function Eu(e,t){var n=e.inputValue,o=void 0===n?"":n,i=t.data,r=t.isSelected,s=t.label,a=t.value;return(!Ou(e)||!r)&&ju(e,{label:s,value:a,data:i},o)}var Au=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Tu=function(e,t){return e.getOptionLabel(t)},$u=function(e,t){return e.getOptionValue(t)};function Mu(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ru(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=$u(e,t);return n.some((function(t){return $u(e,t)===o}))}function ju(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Ou=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Lu=1,Iu=function(e){Oc(i,e);var t,n,o=(t=i,n=Ic(),function(){var e,o=Lc(t);if(n){var i=Lc(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return Pc(this,e)});function i(e){var t;if($c(this,i),(t=o.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=bu()||vu(/^iPhone/i)||vu(/^iPad/i)||bu()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var o=t.props,i=o.onChange,r=o.name;n.name=r,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,o){var i=t.props,r=i.closeMenuOnSelect,s=i.isMulti,a=i.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:a}),r&&(t.setState({inputIsHiddenAfterUpdate:!s}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:o})},t.selectOption=function(e){var n=t.props,o=n.blurInputOnSelect,i=n.isMulti,r=n.name,s=t.state.selectValue,a=i&&t.isOptionSelected(e,s),l=t.isOptionDisabled(e,s);if(a){var c=t.getOptionValue(e);t.setValue(s.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(l)return void t.ariaOnChange(e,{action:"select-option",option:e,name:r});i?t.setValue([].concat(Dc(s),[e]),"select-option",e):t.setValue(e,"select-option")}o&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,o=t.state.selectValue,i=t.getOptionValue(e),r=o.filter((function(e){return t.getOptionValue(e)!==i})),s=Xl(n,r,r[0]||null);t.onChange(s,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Xl(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,o=n[n.length-1],i=n.slice(0,n.length-1),r=Xl(e,i,i[0]||null);t.onChange(r,{action:"pop-value",removedValue:o})},t.getFocusedOptionId=function(e){return Au(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return Su(xu(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),o=0;o5||r>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,o=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(o,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return Ou(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,o=n.isMulti,i=n.backspaceRemovesValue,r=n.escapeClearsValue,s=n.inputValue,a=n.isClearable,l=n.isDisabled,c=n.menuIsOpen,u=n.onKeyDown,h=n.tabSelectsValue,d=n.openMenuOnFocus,p=t.state,g=p.focusedOption,f=p.focusedValue,m=p.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!o||s)return;t.focusValue("previous");break;case"ArrowRight":if(!o||s)return;t.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)t.removeValue(f);else{if(!i)return;o?t.popValue():a&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!h||!g||d&&t.isOptionSelected(g,m))return;t.selectOption(g);break;case"Enter":if(229===e.keyCode)break;if(c){if(!g)return;if(t.isComposing)return;t.selectOption(g);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:s}),t.onMenuClose()):a&&r&&t.clearValue();break;case" ":if(s)return;if(!c){t.openMenu("first");break}if(!g)return;t.selectOption(g);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++Lu),t.state.selectValue=Dl(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),s=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[s],t.state.focusedOptionId=Au(n,r[s])}return t}return Rc(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ul(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&o&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ul(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,i=n.isFocused,r=this.buildFocusableOptions(),s="first"===e?0:r.length-1;if(!this.props.isMulti){var a=r.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[s],focusedOptionId:this.getFocusedOptionId(r[s])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(o);o||(i=-1);var r=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===i?0:-1===i?r:i-1;break;case"next":i>-1&&i0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var i=0,r=o.indexOf(n);n||(r=-1),"up"===e?i=r>0?r-1:o.length-1:"down"===e?i=(r+1)%o.length:"pageup"===e?(i=r-t)<0&&(i=0):"pagedown"===e?(i=r+t)>o.length-1&&(i=o.length-1):"last"===e&&(i=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(wu):Os(Os({},wu),this.props.theme):wu}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,i=this.getValue,r=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:r,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Mu(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ru(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ju(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,r=e.tabIndex,s=e.form,a=e.menuIsOpen,l=e.required,c=this.getComponents().Input,u=this.state,h=u.inputIsHidden,d=u.ariaSelection,p=this.commonProps,g=o||this.getElementId("input"),f=Os(Os(Os({"aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":l,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?Ke.createElement(c,Ls({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:r,form:s,type:"text",value:i},f)):Ke.createElement(nu,Ls({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Il,onFocus:this.onInputFocus,disabled:t,tabIndex:r,inputMode:"none",form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,r=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,l=this.commonProps,c=this.props,u=c.controlShouldRenderValue,h=c.isDisabled,d=c.isMulti,p=c.inputValue,g=c.placeholder,f=this.state,m=f.selectValue,v=f.focusedValue,b=f.isFocused;if(!this.hasValue()||!u)return p?null:Ke.createElement(a,Ls({},l,{key:"placeholder",isDisabled:h,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),g);if(d)return m.map((function(t,s){var a=t===v,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return Ke.createElement(n,Ls({},l,{components:{Container:o,Label:i,Remove:r},isFocused:a,isDisabled:h,key:c,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(p)return null;var y=m[0];return Ke.createElement(s,Ls({},l,{data:y,isDisabled:h}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,r=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Ke.createElement(e,Ls({},t,{innerProps:s,isFocused:r}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,r=this.state.isFocused;return e&&i?Ke.createElement(e,Ls({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:r})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,r=this.state.isFocused;return Ke.createElement(n,Ls({},o,{isDisabled:i,isFocused:r}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Ke.createElement(e,Ls({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,r=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,u=this.commonProps,h=this.state.focusedOption,d=this.props,p=d.captureMenuScroll,g=d.inputValue,f=d.isLoading,m=d.loadingMessage,v=d.minMenuHeight,b=d.maxMenuHeight,y=d.menuIsOpen,w=d.menuPlacement,k=d.menuPosition,_=d.menuPortalTarget,x=d.menuShouldBlockScroll,C=d.menuShouldScrollIntoView,S=d.noOptionsMessage,E=d.onMenuScrollToTop,A=d.onMenuScrollToBottom;if(!y)return null;var T,$=function(t,n){var o=t.type,i=t.data,r=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,d=h===i,p=r?void 0:function(){return e.onOptionHover(i)},g=r?void 0:function(){return e.selectOption(i)},f="".concat(e.getElementId("option"),"-").concat(n),m={id:f,onClick:g,onMouseMove:p,onMouseOver:p,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:s};return Ke.createElement(c,Ls({},u,{innerProps:m,data:i,isDisabled:r,isSelected:s,key:f,label:a,type:o,value:l,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,r=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),l="".concat(a,"-heading");return Ke.createElement(n,Ls({},u,{key:a,data:i,options:r,Heading:o,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return $(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return $(t,"".concat(t.index))}));else if(f){var M=m({inputValue:g});if(null===M)return null;T=Ke.createElement(a,u,M)}else{var R=S({inputValue:g});if(null===R)return null;T=Ke.createElement(l,u,R)}var j={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:k,menuShouldScrollIntoView:C},O=Ke.createElement(sc,Ls({},u,j),(function(t){var n=t.ref,o=t.placerProps,s=o.placement,a=o.maxHeight;return Ke.createElement(i,Ls({},u,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),Ke.createElement(gu,{captureEnabled:p,onTopArrive:E,onBottomArrive:A,lockEnabled:x},(function(t){return Ke.createElement(r,Ls({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:f,maxHeight:a,focusedOption:h}),T)})))}));return _||"fixed"===k?Ke.createElement(s,Ls({},u,{appendTo:_,controlElement:this.controlRef,menuPlacement:w,menuPosition:k}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,r=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!o)return Ke.createElement(mu,{name:r,onFocus:this.onValueInputFocus});if(r&&!o){if(i){if(n){var l=a.map((function(t){return e.getOptionValue(t)})).join(n);return Ke.createElement("input",{name:r,type:"hidden",value:l})}var c=a.length>0?a.map((function(t,n){return Ke.createElement("input",{key:"i-".concat(n),name:r,type:"hidden",value:e.getOptionValue(t)})})):Ke.createElement("input",{name:r,type:"hidden",value:""});return Ke.createElement("div",null,c)}var u=a[0]?this.getOptionValue(a[0]):"";return Ke.createElement("input",{name:r,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,r=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return Ke.createElement(Vc,Ls({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:r,selectValue:s,focusableOptions:a,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,r=this.props,s=r.className,a=r.id,l=r.isDisabled,c=r.menuIsOpen,u=this.state.isFocused,h=this.commonProps=this.getCommonProps();return Ke.createElement(o,Ls({},h,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:u}),this.renderLiveRegion(),Ke.createElement(t,Ls({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:u,menuIsOpen:c}),Ke.createElement(i,Ls({},h,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),Ke.createElement(n,Ls({},h,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,r=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,h=e.menuIsOpen,d=e.inputValue,p=e.isMulti,g=Dl(u),f={};if(n&&(u!==n.value||c!==n.options||h!==n.menuIsOpen||d!==n.inputValue)){var m=h?function(e,t){return Cu(xu(e,t))}(e,g):[],v=h?Su(xu(e,g),"".concat(l,"-option")):[],b=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o-1?n:t[0]}(t,m);f={selectValue:g,focusedOption:y,focusedOptionId:Au(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var w=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},k=r,_=s&&a;return s&&!_&&(k={value:Xl(p,g,g[0]||null),options:g,action:"initial-input-focus"},_=!a),"initial-input-focus"===(null==r?void 0:r.action)&&(k=null),Os(Os(Os({},f),w),{},{prevProps:e,ariaSelection:k,prevWasFocused:_})}}]),i}(Ke.Component);Iu.defaultProps=ku;var Nu=(0,Ke.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,i=void 0!==o&&o,r=e.defaultValue,s=void 0===r?null:r,a=e.inputValue,l=e.menuIsOpen,c=e.onChange,u=e.onInputChange,h=e.onMenuClose,d=e.onMenuOpen,p=e.value,g=ul(e,Tc),f=cl((0,Ke.useState)(void 0!==a?a:n),2),m=f[0],v=f[1],b=cl((0,Ke.useState)(void 0!==l?l:i),2),y=b[0],w=b[1],k=cl((0,Ke.useState)(void 0!==p?p:s),2),_=k[0],x=k[1],C=(0,Ke.useCallback)((function(e,t){"function"==typeof c&&c(e,t),x(e)}),[c]),S=(0,Ke.useCallback)((function(e,t){var n;"function"==typeof u&&(n=u(e,t)),v(void 0!==n?n:e)}),[u]),E=(0,Ke.useCallback)((function(){"function"==typeof d&&d(),w(!0)}),[d]),A=(0,Ke.useCallback)((function(){"function"==typeof h&&h(),w(!1)}),[h]),T=void 0!==a?a:m,$=void 0!==l?l:y,M=void 0!==p?p:_;return Os(Os({},g),{},{inputValue:T,menuIsOpen:$,onChange:C,onInputChange:S,onMenuClose:A,onMenuOpen:E,value:M})}(e);return Ke.createElement(Iu,Ls({ref:t},n))})),Pu=Nu;function Du(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Bu(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function zu(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function Fu(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==i){var r=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+r+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=Du,t.componentWillReceiveProps=Bu),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=zu;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,o)}}return e}function Hu(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t=0&&l===a&&c())}var Uu=function(){function e(t){var n=t.cellCount,o=t.cellSizeGetter,i=t.estimatedCellSize;$c(this,e),Rs(this,"_cellSizeAndPositionData",{}),Rs(this,"_lastMeasuredIndex",-1),Rs(this,"_lastBatchedIndex",-1),Rs(this,"_cellCount",void 0),Rs(this,"_cellSizeGetter",void 0),Rs(this,"_estimatedCellSize",void 0),this._cellSizeGetter=o,this._cellCount=n,this._estimatedCellSize=i}return Rc(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize,o=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=n,this._cellSizeGetter=o}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,o=this._lastMeasuredIndex+1;o<=e;o++){var i=this._cellSizeGetter({index:o});if(void 0===i||isNaN(i))throw Error("Invalid size returned for cell ".concat(o," of value ").concat(i));null===i?(this._cellSizeAndPositionData[o]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[o]={offset:n,size:i},n+=i,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,o=e.containerSize,i=e.currentOffset,r=e.targetIndex;if(o<=0)return 0;var s,a=this.getSizeAndPositionOfCell(r),l=a.offset,c=l-o+a.size;switch(n){case"start":s=l;break;case"end":s=c;break;case"center":s=l-(o-a.size)/2;break;default:s=Math.max(c,Math.min(l,i))}var u=this.getTotalSize();return Math.max(0,Math.min(u-o,s))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;if(0===this.getTotalSize())return{};var o=n+t,i=this._findNearestCell(n),r=this.getSizeAndPositionOfCell(i);n=r.offset+r.size;for(var s=i;nn&&(e=o-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var n=1;e=e?this._binarySearch(n,0,e):this._exponentialSearch(n,e)}}]),e}(),Gu=function(){function e(t){var n=t.maxScrollSize,o=void 0===n?"undefined"!=typeof window&&window.chrome?16777100:15e5:n,i=ul(t,["maxScrollSize"]);$c(this,e),Rs(this,"_cellSizeAndPositionManager",void 0),Rs(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new Uu(i),this._maxScrollSize=o}return Rc(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize(),r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:i});return Math.round(r*(i-o))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,o=e.containerSize,i=e.currentOffset,r=e.targetIndex;i=this._safeOffsetToOffset({containerSize:o,offset:i});var s=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:o,currentOffset:i,targetIndex:r});return this._offsetToSafeOffset({containerSize:o,offset:s})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,o=e.totalSize;return o<=t?0:n/(o-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(o===i)return n;var r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(r*(i-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(o===i)return n;var r=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:i});return Math.round(r*(o-t))}}]),e}();function qu(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var o=n.callback,i=n.indices,r=Object.keys(i),s=!e||r.every((function(e){var t=i[e];return Array.isArray(t)?t.length>0:t>=0})),a=r.length!==Object.keys(t).length||r.some((function(e){var n=t[e],o=i[e];return Array.isArray(o)?n.join(",")!==o.join(","):n!==o}));t=i,s&&a&&o(i)}}function Ku(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,o=e.previousCellsCount,i=e.previousCellSize,r=e.previousScrollToAlignment,s=e.previousScrollToIndex,a=e.previousSize,l=e.scrollOffset,c=e.scrollToAlignment,u=e.scrollToIndex,h=e.size,d=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,g=n.getCellCount(),f=u>=0&&u0&&(hn.getTotalSize()-h&&p(g-1)}const Yu=!("undefined"==typeof window||!window.document||!window.document.createElement);var Zu,Ju;function Xu(e){if((!Zu&&0!==Zu||e)&&Yu){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Zu=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Zu}var Qu,eh,th=(Ju="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||Ju.webkitRequestAnimationFrame||Ju.mozRequestAnimationFrame||Ju.oRequestAnimationFrame||Ju.msRequestAnimationFrame||function(e){return Ju.setTimeout(e,1e3/60)},nh=Ju.cancelAnimationFrame||Ju.webkitCancelAnimationFrame||Ju.mozCancelAnimationFrame||Ju.oCancelAnimationFrame||Ju.msCancelAnimationFrame||function(e){Ju.clearTimeout(e)},oh=th,ih=nh,rh=function(e){return ih(e.id)},sh=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var o={id:oh((function i(){Date.now()-n>=t?e.call():o.id=oh(i)}))};return o};function ah(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function lh(e){for(var t=1;t0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return Oc(t,e),Rc(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?this.props.scrollToAlignment:t,o=e.columnIndex,i=void 0===o?this.props.scrollToColumn:o,r=e.rowIndex,s=void 0===r?this.props.scrollToRow:r,a=lh({},this.props,{scrollToAlignment:n,scrollToColumn:i,scrollToRow:s});return{scrollLeft:this._getCalculatedScrollLeft(a),scrollTop:this._getCalculatedScrollTop(a)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,n=void 0===t?0:t,o=e.scrollTop,i=void 0===o?0:o;if(!(i<0)){this._debounceScrollEnded();var r=this.props,s=r.autoHeight,a=r.autoWidth,l=r.height,c=r.width,u=this.state.instanceProps,h=u.scrollbarSize,d=u.rowSizeAndPositionManager.getTotalSize(),p=u.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,p-c+h),n),f=Math.min(Math.max(0,d-l+h),i);if(this.state.scrollLeft!==g||this.state.scrollTop!==f){var m={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:f!==this.state.scrollTop?f>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};s||(m.scrollTop=f),a||(m.scrollLeft=g),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:f,totalColumnsWidth:p,totalRowsHeight:d})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount,o=this.state.instanceProps;o.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),o.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o,r=this.props,s=r.scrollToColumn,a=r.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=s>=0&&(1===this.state.scrollDirectionHorizontal?n<=s:n>=s),this._recomputeScrollTopFlag=a>=0&&(1===this.state.scrollDirectionVertical?i<=a:i>=a),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,o=this.props.columnCount,i=this.props;o>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(lh({},i,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(lh({},i,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,o=e.height,i=e.scrollLeft,r=e.scrollToColumn,s=e.scrollTop,a=e.scrollToRow,l=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var t=lh({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof i&&i>=0||"number"==typeof s&&s>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:i,scrollTop:s});u&&(u.needToResetStyleCache=!1,this.setState(u))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var h=o>0&&l>0;r>=0&&h&&this._updateScrollLeftForScrollToColumn(),a>=0&&h&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:s||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var n=this,o=this.props,i=o.autoHeight,r=o.autoWidth,s=o.columnCount,a=o.height,l=o.rowCount,c=o.scrollToAlignment,u=o.scrollToColumn,h=o.scrollToRow,d=o.width,p=this.state,g=p.scrollLeft,f=p.scrollPositionChangeReason,m=p.scrollTop,v=p.instanceProps;this._handleInvalidatedGridSize();var b=s>0&&0===e.columnCount||l>0&&0===e.rowCount;f===ch&&(!r&&g>=0&&(g!==this._scrollingContainer.scrollLeft||b)&&(this._scrollingContainer.scrollLeft=g),!i&&m>=0&&(m!==this._scrollingContainer.scrollTop||b)&&(this._scrollingContainer.scrollTop=m));var y=(0===e.width||0===e.height)&&a>0&&d>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):Ku({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:d,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):Ku({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:m,scrollToAlignment:c,scrollToIndex:h,size:a,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),g!==t.scrollLeft||m!==t.scrollTop){var w=v.rowSizeAndPositionManager.getTotalSize(),k=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:m,totalColumnsWidth:k,totalRowsHeight:w})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&rh(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,n=e.autoHeight,o=e.autoWidth,i=e.className,r=e.containerProps,s=e.containerRole,a=e.containerStyle,l=e.height,c=e.id,u=e.noContentRenderer,h=e.role,d=e.style,p=e.tabIndex,g=e.width,f=this.state,m=f.instanceProps,v=f.needToResetStyleCache,b=this._isScrolling(),y={boxSizing:"border-box",direction:"ltr",height:n?"auto":l,position:"relative",width:o?"auto":g,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=m.columnSizeAndPositionManager.getTotalSize(),k=m.rowSizeAndPositionManager.getTotalSize(),_=k>l?m.scrollbarSize:0,x=w>g?m.scrollbarSize:0;x===this._horizontalScrollBarSize&&_===this._verticalScrollBarSize||(this._horizontalScrollBarSize=x,this._verticalScrollBarSize=_,this._scrollbarPresenceChanged=!0),y.overflowX=w+_<=g?"hidden":"auto",y.overflowY=k+x<=l?"hidden":"auto";var C=this._childrenToDisplay,S=0===C.length&&l>0&&g>0;return Ke.createElement("div",Ls({ref:this._setScrollingContainerRef},r,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Wu("ReactVirtualized__Grid",i),id:c,onScroll:this._onScroll,role:h,style:lh({},y,{},d),tabIndex:p}),C.length>0&&Ke.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:lh({width:t?"auto":w,height:k,maxWidth:w,maxHeight:k,overflow:"hidden",pointerEvents:b?"none":"",position:"relative"},a)},C),S&&u())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,o=e.cellRangeRenderer,i=e.columnCount,r=e.deferredMeasurementCache,s=e.height,a=e.overscanColumnCount,l=e.overscanIndicesGetter,c=e.overscanRowCount,u=e.rowCount,h=e.width,d=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,g=t.scrollDirectionVertical,f=t.instanceProps,m=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,b=this._isScrolling(e,t);if(this._childrenToDisplay=[],s>0&&h>0){var y=f.columnSizeAndPositionManager.getVisibleCellRange({containerSize:h,offset:v}),w=f.rowSizeAndPositionManager.getVisibleCellRange({containerSize:s,offset:m}),k=f.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:h,offset:v}),_=f.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:s,offset:m});this._renderedColumnStartIndex=y.start,this._renderedColumnStopIndex=y.stop,this._renderedRowStartIndex=w.start,this._renderedRowStopIndex=w.stop;var x=l({direction:"horizontal",cellCount:i,overscanCellsCount:a,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),C=l({direction:"vertical",cellCount:u,overscanCellsCount:c,scrollDirection:g,startIndex:"number"==typeof w.start?w.start:0,stopIndex:"number"==typeof w.stop?w.stop:-1}),S=x.overscanStartIndex,E=x.overscanStopIndex,A=C.overscanStartIndex,T=C.overscanStopIndex;if(r){if(!r.hasFixedHeight())for(var $=A;$<=T;$++)if(!r.has($,0)){S=0,E=i-1;break}if(!r.hasFixedWidth())for(var M=S;M<=E;M++)if(!r.has(0,M)){A=0,T=u-1;break}}this._childrenToDisplay=o({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:f.columnSizeAndPositionManager,columnStartIndex:S,columnStopIndex:E,deferredMeasurementCache:r,horizontalOffsetAdjustment:k,isScrolling:b,isScrollingOptOut:d,parent:this,rowSizeAndPositionManager:f.rowSizeAndPositionManager,rowStartIndex:A,rowStopIndex:T,scrollLeft:v,scrollTop:m,styleCache:this._styleCache,verticalOffsetAdjustment:_,visibleColumnIndices:y,visibleRowIndices:w}),this._columnStartIndex=S,this._columnStopIndex=E,this._rowStartIndex=A,this._rowStopIndex=T}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&rh(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=sh(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,o=e.scrollTop,i=e.totalColumnsWidth,r=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,o=e.scrollTop,s=t.props,a=s.height;(0,s.onScroll)({clientHeight:a,clientWidth:s.width,scrollHeight:r,scrollLeft:n,scrollTop:o,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,o=e.scrollTop,i=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:o});i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=t._getScrollLeftForScrollToColumnStateUpdate(e,n);o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var o=this._rowStartIndex;o<=this._rowStopIndex;o++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var r="".concat(o,"-").concat(i);this._styleCache[r]=e[r],n&&(this._cellCache[r]=t[r])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=t._getScrollTopForScrollToRowStateUpdate(e,n);o&&(o.needToResetStyleCache=!1,this.setState(o))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var o={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(o.scrollLeft=0,o.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(o,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var i,r,s=n.instanceProps;return o.needToResetStyleCache=!1,e.columnWidth===s.prevColumnWidth&&e.rowHeight===s.prevRowHeight||(o.needToResetStyleCache=!0),s.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),s.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==s.prevColumnCount&&0!==s.prevRowCount||(s.prevColumnCount=0,s.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===s.prevIsScrolling&&Object.assign(o,{isScrolling:!1}),Vu({cellCount:s.prevColumnCount,cellSize:"number"==typeof s.prevColumnWidth?s.prevColumnWidth:null,computeMetadataCallback:function(){return s.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:s.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),Vu({cellCount:s.prevRowCount,cellSize:"number"==typeof s.prevRowHeight?s.prevRowHeight:null,computeMetadataCallback:function(){return s.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:s.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){r=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),s.prevColumnCount=e.columnCount,s.prevColumnWidth=e.columnWidth,s.prevIsScrolling=!0===e.isScrolling,s.prevRowCount=e.rowCount,s.prevRowHeight=e.rowHeight,s.prevScrollToColumn=e.scrollToColumn,s.prevScrollToRow=e.scrollToRow,s.scrollbarSize=e.getScrollbarSize(),void 0===s.scrollbarSize?(s.scrollbarSizeMeasured=!1,s.scrollbarSize=0):s.scrollbarSizeMeasured=!0,o.instanceProps=s,lh({},o,{},i,{},r)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,n=e.scrollLeft,o=e.scrollTop,i={scrollPositionChangeReason:ch};return"number"==typeof n&&n>=0&&(i.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,i.scrollLeft=n),"number"==typeof o&&o>=0&&(i.scrollDirectionVertical=o>t.scrollTop?1:-1,i.scrollTop=o),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof o&&o>=0&&o!==t.scrollTop?i:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var n=e.columnCount,o=e.height,i=e.scrollToAlignment,r=e.scrollToColumn,s=e.width,a=t.scrollLeft,l=t.instanceProps;if(n>0){var c=n-1,u=r<0?c:Math.min(c,r),h=l.rowSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&h>o?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:s-d,currentOffset:a,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var o=n.scrollLeft,i=t._getCalculatedScrollLeft(e,n);return"number"==typeof i&&i>=0&&o!==i?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:i,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,o=e.rowCount,i=e.scrollToAlignment,r=e.scrollToRow,s=e.width,a=t.scrollTop,l=t.instanceProps;if(o>0){var c=o-1,u=r<0?c:Math.min(c,r),h=l.columnSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&h>s?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:n-d,currentOffset:a,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var o=n.scrollTop,i=t._getCalculatedScrollTop(e,n);return"number"==typeof i&&i>=0&&o!==i?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:i}):{}}}]),t}(Ke.PureComponent),Rs(Qu,"propTypes",null),eh);Rs(uh,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,n=e.cellRenderer,o=e.columnSizeAndPositionManager,i=e.columnStartIndex,r=e.columnStopIndex,s=e.deferredMeasurementCache,a=e.horizontalOffsetAdjustment,l=e.isScrolling,c=e.isScrollingOptOut,u=e.parent,h=e.rowSizeAndPositionManager,d=e.rowStartIndex,p=e.rowStopIndex,g=e.styleCache,f=e.verticalOffsetAdjustment,m=e.visibleColumnIndices,v=e.visibleRowIndices,b=[],y=o.areOffsetsAdjusted()||h.areOffsetsAdjusted(),w=!l&&!y,k=d;k<=p;k++)for(var _=h.getSizeAndPositionOfCell(k),x=i;x<=r;x++){var C=o.getSizeAndPositionOfCell(x),S=x>=m.start&&x<=m.stop&&k>=v.start&&k<=v.stop,E="".concat(k,"-").concat(x),A=void 0;w&&g[E]?A=g[E]:s&&!s.has(k,x)?A={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(A={height:_.size,left:C.offset+a,position:"absolute",top:_.offset+f,width:C.size},g[E]=A);var T={columnIndex:x,isScrolling:l,isVisible:S,key:E,parent:u,rowIndex:k,style:A},$=void 0;!c&&!l||a||f?$=n(T):(t[E]||(t[E]=n(T)),$=t[E]),null!=$&&!1!==$&&b.push($)}return b},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:Xu,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,n=e.overscanCellsCount,o=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return 1===o?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(t-1,r+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(t-1,r)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Fu(uh);const hh=uh;function dh(e){var t=e.cellCount,n=e.overscanCellsCount,o=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return n=Math.max(1,n),1===o?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(t-1,r+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(t-1,r+1)}}var ph,gh;function fh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var mh,vh,bh=(gh=ph=function(e){function t(){var e,n;$c(this,t);for(var o=arguments.length,i=new Array(o),r=0;r div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=t.head||t.getElementsByTagName("head")[0],i=t.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(t.createTextNode(n)),o.appendChild(i)}}(r),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=r.createElement("div")).className="resize-triggers";var c='
    ';if(window.trustedTypes){var u=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return c}});t.__resizeTriggers__.innerHTML=u.createHTML("")}else t.__resizeTriggers__.innerHTML=c;t.appendChild(t.__resizeTriggers__),a(t),t.addEventListener("scroll",l,!0),h&&(t.__resizeTriggers__.__animationListener__=function(e){e.animationName==m&&a(t)},t.__resizeTriggers__.addEventListener(h,t.__resizeTriggers__.__animationListener__))}t.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(i)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(h,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function wh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function kh(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};$c(this,e),Rs(this,"_cellHeightCache",{}),Rs(this,"_cellWidthCache",{}),Rs(this,"_columnWidthCache",{}),Rs(this,"_rowHeightCache",{}),Rs(this,"_defaultHeight",void 0),Rs(this,"_defaultWidth",void 0),Rs(this,"_minHeight",void 0),Rs(this,"_minWidth",void 0),Rs(this,"_keyMapper",void 0),Rs(this,"_hasFixedHeight",void 0),Rs(this,"_hasFixedWidth",void 0),Rs(this,"_columnCount",0),Rs(this,"_rowCount",0),Rs(this,"columnWidth",(function(e){var n=e.index,o=t._keyMapper(0,n);return void 0!==t._columnWidthCache[o]?t._columnWidthCache[o]:t._defaultWidth})),Rs(this,"rowHeight",(function(e){var n=e.index,o=t._keyMapper(n,0);return void 0!==t._rowHeightCache[o]?t._rowHeightCache[o]:t._defaultHeight}));var o=n.defaultHeight,i=n.defaultWidth,r=n.fixedHeight,s=n.fixedWidth,a=n.keyMapper,l=n.minHeight,c=n.minWidth;this._hasFixedHeight=!0===r,this._hasFixedWidth=!0===s,this._minHeight=l||0,this._minWidth=c||0,this._keyMapper=a||Ah,this._defaultHeight=Math.max(this._minHeight,"number"==typeof o?o:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof i?i:100)}return Rc(e,[{key:"clear",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);delete this._cellHeightCache[n],delete this._cellWidthCache[n],this._updateCachedColumnAndRowSizes(e,t)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]?Math.max(this._minHeight,this._cellHeightCache[n]):this._defaultHeight}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var n=this._keyMapper(e,t);return void 0!==this._cellWidthCache[n]?Math.max(this._minWidth,this._cellWidthCache[n]):this._defaultWidth}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]}},{key:"set",value:function(e,t,n,o){var i=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[i]=o,this._cellWidthCache[i]=n,this._updateCachedColumnAndRowSizes(e,t)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,t){if(!this._hasFixedWidth){for(var n=0,o=0;o=0){var u=t.getScrollPositionForCell({align:i,cellIndex:r,height:o,scrollLeft:l,scrollTop:c,width:s});u.scrollLeft===l&&u.scrollTop===c||n._setScrollPosition(u)}})),Rs(Nc(n),"_onScroll",(function(e){if(e.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var t=n.props,o=t.cellLayoutManager,i=t.height,r=t.isScrollingChange,s=t.width,a=n._scrollbarSize,l=o.getTotalSize(),c=l.height,u=l.width,h=Math.max(0,Math.min(u-s+a,e.target.scrollLeft)),d=Math.max(0,Math.min(c-i+a,e.target.scrollTop));if(n.state.scrollLeft!==h||n.state.scrollTop!==d){var p=e.cancelable?"observed":Mh;n.state.isScrolling||r(!0),n.setState({isScrolling:!0,scrollLeft:h,scrollPositionChangeReason:p,scrollTop:d})}n._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:d,totalWidth:u,totalHeight:c})}})),n._scrollbarSize=Xu(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return Oc(t,e),Rc(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.scrollLeft,o=e.scrollToCell,i=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Xu(),this._scrollbarSizeMeasured=!0,this.setState({})),o>=0?this._updateScrollPositionForScrollToCell():(n>=0||i>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:i}),this._invokeOnSectionRenderedHelper();var r=t.getTotalSize(),s=r.height,a=r.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:i||0,totalHeight:s,totalWidth:a})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,o=n.height,i=n.scrollToAlignment,r=n.scrollToCell,s=n.width,a=this.state,l=a.scrollLeft,c=a.scrollPositionChangeReason,u=a.scrollTop;c===Mh&&(l>=0&&l!==t.scrollLeft&&l!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=l),u>=0&&u!==t.scrollTop&&u!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=u)),o===e.height&&i===e.scrollToAlignment&&r===e.scrollToCell&&s===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,n=e.cellCount,o=e.cellLayoutManager,i=e.className,r=e.height,s=e.horizontalOverscanSize,a=e.id,l=e.noContentRenderer,c=e.style,u=e.verticalOverscanSize,h=e.width,d=this.state,p=d.isScrolling,g=d.scrollLeft,f=d.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==o||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=o,this._calculateSizeAndPositionDataOnNextUpdate=!1,o.calculateSizeAndPositionData());var m=o.getTotalSize(),v=m.height,b=m.width,y=Math.max(0,g-s),w=Math.max(0,f-u),k=Math.min(b,g+h+s),_=Math.min(v,f+r+u),x=r>0&&h>0?o.cellRenderers({height:_-w,isScrolling:p,width:k-y,x:y,y:w}):[],C={boxSizing:"border-box",direction:"ltr",height:t?"auto":r,position:"relative",WebkitOverflowScrolling:"touch",width:h,willChange:"transform"},S=v>r?this._scrollbarSize:0,E=b>h?this._scrollbarSize:0;return C.overflowX=b+S<=h?"hidden":"auto",C.overflowY=v+E<=r?"hidden":"auto",Ke.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Wu("ReactVirtualized__Collection",i),id:a,onScroll:this._onScroll,role:"grid",style:$h({},C,{},c),tabIndex:0},n>0&&Ke.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:v,maxHeight:v,maxWidth:b,overflow:"hidden",pointerEvents:p?"none":"",width:b}},x),0===n&&l())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout((function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})}),150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,o=e.scrollTop,i=e.totalHeight,r=e.totalWidth;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,o=e.scrollTop,s=t.props,a=s.height;(0,s.onScroll)({clientHeight:a,clientWidth:s.width,scrollHeight:i,scrollLeft:n,scrollTop:o,scrollWidth:r})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,o={scrollPositionChangeReason:Mh};t>=0&&(o.scrollLeft=t),n>=0&&(o.scrollTop=n),(t>=0&&t!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(o)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:Mh}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:Mh}}}]),t}(Ke.PureComponent);Rs(Rh,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),Rh.propTypes={},Fu(Rh);const jh=Rh;var Oh=function(){function e(t){var n=t.height,o=t.width,i=t.x,r=t.y;$c(this,e),this.height=n,this.width=o,this.x=i,this.y=r,this._indexMap={},this._indices=[]}return Rc(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),Lh=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;$c(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return Rc(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,o=e.x,i=e.y,r={};return this.getSections({height:t,width:n,x:o,y:i}).forEach((function(e){return e.getCellIndices().forEach((function(e){r[e]=e}))})),Object.keys(r).map((function(e){return r[e]}))}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,n=e.width,o=e.x,i=e.y,r=Math.floor(o/this._sectionSize),s=Math.floor((o+n-1)/this._sectionSize),a=Math.floor(i/this._sectionSize),l=Math.floor((i+t-1)/this._sectionSize),c=[],u=r;u<=s;u++)for(var h=a;h<=l;h++){var d="".concat(u,".").concat(h);this._sections[d]||(this._sections[d]=new Oh({height:this._sectionSize,width:this._sectionSize,x:u*this._sectionSize,y:h*this._sectionSize})),c.push(this._sections[d])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map((function(t){return e._sections[t].toString()}))}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,n=e.index;this._cellMetadata[n]=t,this.getSections(t).forEach((function(e){return e.addCellIndex({index:n})}))}}]),e}();function Ih(e){var t=e.align,n=void 0===t?"auto":t,o=e.cellOffset,i=e.cellSize,r=e.containerSize,s=e.currentOffset,a=o,l=a-r+i;switch(n){case"start":return a;case"end":return l;case"center":return a-(r-i)/2;default:return Math.max(l,Math.min(a,s))}}var Nh=function(e){function t(e,n){var o;return $c(this,t),(o=Pc(this,Lc(t).call(this,e,n)))._cellMetadata=[],o._lastRenderedCellIndices=[],o._cellCache=[],o._isScrollingChange=o._isScrollingChange.bind(Nc(o)),o._setCollectionViewRef=o._setCollectionViewRef.bind(Nc(o)),o}return Oc(t,e),Rc(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=Ls({},this.props);return Ke.createElement(jh,Ls({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,n=e.cellSizeAndPositionGetter,o=[],i=new Lh(e.sectionSize),r=0,s=0,a=0;a=0&&nn.lastRenderedStopIndex||n.stopIndex1&&void 0!==arguments[1]?arguments[1]:0,n="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;n?n.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)}))}))}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,n=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=n,this._doStuff(t,n)}},{key:"_doStuff",value:function(e,t){var n,o=this,i=this.props,r=i.isRowLoaded,s=i.minimumBatchSize,a=i.rowCount,l=i.threshold,c=function(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,o=e.rowCount,i=e.stopIndex,r=[],s=null,a=null,l=e.startIndex;l<=i;l++)t({index:l})?null!==a&&(r.push({startIndex:s,stopIndex:a}),s=a=null):(a=l,null===s&&(s=l));if(null!==a){for(var c=Math.min(Math.max(a,s+n-1),o-1),u=a+1;u<=c&&!t({index:u});u++)a=u;r.push({startIndex:s,stopIndex:a})}if(r.length)for(var h=r[0];h.stopIndex-h.startIndex+10;){var d=h.startIndex-1;if(t({index:d}))break;h.startIndex=d}return r}({isRowLoaded:r,minimumBatchSize:s,rowCount:a,startIndex:Math.max(0,e-l),stopIndex:Math.min(a-1,t+l)}),u=(n=[]).concat.apply(n,Dc(c.map((function(e){return[e.startIndex,e.stopIndex]}))));this._loadMoreRowsMemoizer({callback:function(){o._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(Ke.PureComponent);Rs(Ph,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Ph.propTypes={};var Dh,Bh,zh=(Bh=Dh=function(e){function t(){var e,n;$c(this,t);for(var o=arguments.length,i=new Array(o),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,r=Wu("ReactVirtualized__List",t);return Ke.createElement(hh,Ls({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:r,columnWidth:i,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(Ke.PureComponent),Rs(Dh,"propTypes",null),Bh);Rs(zh,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:dh,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const Fh=function(e,t,n,o,i){return"function"==typeof n?function(e,t,n,o,i){for(var r=n+1;t<=n;){var s=t+n>>>1;i(e[s],o)>=0?(r=s,n=s-1):t=s+1}return r}(e,void 0===o?0:0|o,void 0===i?e.length-1:0|i,t,n):function(e,t,n,o){for(var i=n+1;t<=n;){var r=t+n>>>1;e[r]>=o?(i=r,n=r-1):t=r+1}return i}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)};function Hh(e,t,n,o,i){this.mid=e,this.left=t,this.right=n,this.leftPoints=o,this.rightPoints=i,this.count=(t?t.count:0)+(n?n.count:0)+o.length}var Wh=Hh.prototype;function Vh(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function Uh(e,t){var n=ed(t);e.mid=n.mid,e.left=n.left,e.right=n.right,e.leftPoints=n.leftPoints,e.rightPoints=n.rightPoints,e.count=n.count}function Gh(e,t){var n=e.intervals([]);n.push(t),Uh(e,n)}function qh(e,t){var n=e.intervals([]),o=n.indexOf(t);return o<0?0:(n.splice(o,1),Uh(e,n),1)}function Kh(e,t,n){for(var o=0;o=0&&e[o][1]>=t;--o){var i=n(e[o]);if(i)return i}}function Zh(e,t){for(var n=0;n>1],i=[],r=[],s=[];for(n=0;n3*(t+1)?Gh(this,e):this.left.insert(e):this.left=ed([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Gh(this,e):this.right.insert(e):this.right=ed([e]);else{var n=Fh(this.leftPoints,e,Xh),o=Fh(this.rightPoints,e,Qh);this.leftPoints.splice(n,0,e),this.rightPoints.splice(o,0,e)}},Wh.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1)?qh(this,e):2===(r=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===r&&(this.count-=1),r):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?qh(this,e):2===(r=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===r&&(this.count-=1),r):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,o=this.left;o.right;)n=o,o=o.right;if(n===this)o.right=this.right;else{var i=this.left,r=this.right;n.count-=o.count,n.right=o.left,o.left=i,o.right=r}Vh(this,o),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Vh(this,this.left):Vh(this,this.right);return 1}for(i=Fh(this.leftPoints,e,Xh);ithis.mid?this.right&&(n=this.right.queryPoint(e,t))?n:Yh(this.rightPoints,e,t):Zh(this.leftPoints,t);var n},Wh.queryInterval=function(e,t,n){var o;return ethis.mid&&this.right&&(o=this.right.queryInterval(e,t,n))?o:tthis.mid?Yh(this.rightPoints,e,n):Zh(this.leftPoints,n)};var nd=td.prototype;nd.insert=function(e){this.root?this.root.insert(e):this.root=new Hh(e[0],null,null,[e],[e])},nd.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},nd.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},nd.queryInterval=function(e,t,n){if(e<=t&&this.root)return this.root.queryInterval(e,t,n)},Object.defineProperty(nd,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(nd,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var od,id,rd=function(){function e(){$c(this,e),Rs(this,"_columnSizeMap",{}),Rs(this,"_intervalTree",new td(null)),Rs(this,"_leftMap",{})}return Rc(e,[{key:"estimateTotalHeight",value:function(e,t,n){var o=e-this.count;return this.tallestColumnSize+Math.ceil(o/t)*n}},{key:"range",value:function(e,t,n){var o=this;this._intervalTree.queryInterval(e,e+t,(function(e){var t=cl(e,3),i=t[0],r=(t[1],t[2]);return n(r,o._leftMap[r],i)}))}},{key:"setPosition",value:function(e,t,n,o){this._intervalTree.insert([n,n+o,e]),this._leftMap[e]=t;var i=this._columnSizeMap,r=i[t];i[t]=void 0===r?n+o:Math.max(r,n+o)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var o=e[n];t=0===t?o:Math.min(t,o)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var o=e[n];t=Math.max(t,o)}return t}}]),e}();function sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ad(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};$c(this,e),Rs(this,"_cellMeasurerCache",void 0),Rs(this,"_columnIndexOffset",void 0),Rs(this,"_rowIndexOffset",void 0),Rs(this,"columnWidth",(function(e){var n=e.index;t._cellMeasurerCache.columnWidth({index:n+t._columnIndexOffset})})),Rs(this,"rowHeight",(function(e){var n=e.index;t._cellMeasurerCache.rowHeight({index:n+t._rowIndexOffset})}));var o=n.cellMeasurerCache,i=n.columnIndexOffset,r=void 0===i?0:i,s=n.rowIndexOffset,a=void 0===s?0:s;this._cellMeasurerCache=o,this._columnIndexOffset=r,this._rowIndexOffset=a}return Rc(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,n,o){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,n,o)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function hd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function dd(e){for(var t=1;t0?new ud({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,o._deferredMeasurementCacheBottomRightGrid=r>0||s>0?new ud({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:s}):i,o._deferredMeasurementCacheTopRightGrid=r>0?new ud({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:0}):i),o}return Oc(t,e),Rc(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o,r=this.props,s=r.fixedColumnCount,a=r.fixedRowCount,l=Math.max(0,n-s),c=Math.max(0,i-a);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:l,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:i}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:l,rowIndex:i}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,n=e.scrollTop;if(t>0||n>0){var o={};t>0&&(o.scrollLeft=t),n>0&&(o.scrollTop=n),this.setState(o)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,n=e.onSectionRendered,o=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),i=(e.scrollTop,e.scrollToRow),r=ul(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var s=this.state,a=s.scrollLeft,l=s.scrollTop;return Ke.createElement("div",{style:this._containerOuterStyle},Ke.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(r),this._renderTopRightGrid(dd({},r,{onScroll:t,scrollLeft:a}))),Ke.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(dd({},r,{onScroll:t,scrollTop:l})),this._renderBottomRightGrid(dd({},r,{onScroll:t,onSectionRendered:n,scrollLeft:a,scrollToColumn:o,scrollToRow:i,scrollTop:l}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,n=e.columnWidth;if(null==this._leftGridWidth)if("function"==typeof n){for(var o=0,i=0;i=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(Ke.PureComponent);Rs(pd,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),pd.propTypes={},Fu(pd);var gd=function(e){function t(e,n){var o;return $c(this,t),(o=Pc(this,Lc(t).call(this,e,n))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},o._onScroll=o._onScroll.bind(Nc(o)),o}return Oc(t,e),Rc(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,o=t.clientWidth,i=t.scrollHeight,r=t.scrollLeft,s=t.scrollTop,a=t.scrollWidth;return e({clientHeight:n,clientWidth:o,onScroll:this._onScroll,scrollHeight:i,scrollLeft:r,scrollTop:s,scrollWidth:a})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,o=e.scrollHeight,i=e.scrollLeft,r=e.scrollTop,s=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:o,scrollLeft:i,scrollTop:r,scrollWidth:s})}}]),t}(Ke.PureComponent);function fd(e){var t=e.className,n=e.columns,o=e.style;return Ke.createElement("div",{className:t,role:"row",style:o},n)}gd.propTypes={},fd.propTypes=null;const md={ASC:"ASC",DESC:"DESC"};function vd(e){var t=e.sortDirection,n=Wu("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===md.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===md.DESC});return Ke.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===md.ASC?Ke.createElement("path",{d:"M7 14l5-5 5 5z"}):Ke.createElement("path",{d:"M7 10l5 5 5-5z"}),Ke.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function bd(e){var t=e.dataKey,n=e.label,o=e.sortBy,i=e.sortDirection,r=o===t,s=[Ke.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof n?n:null},n)];return r&&s.push(Ke.createElement(vd,{key:"SortIndicator",sortDirection:i})),s}function yd(e){var t=e.className,n=e.columns,o=e.index,i=e.key,r=e.onRowClick,s=e.onRowDoubleClick,a=e.onRowMouseOut,l=e.onRowMouseOver,c=e.onRowRightClick,u=e.rowData,h=e.style,d={"aria-rowindex":o+1};return(r||s||a||l||c)&&(d["aria-label"]="row",d.tabIndex=0,r&&(d.onClick=function(e){return r({event:e,index:o,rowData:u})}),s&&(d.onDoubleClick=function(e){return s({event:e,index:o,rowData:u})}),a&&(d.onMouseOut=function(e){return a({event:e,index:o,rowData:u})}),l&&(d.onMouseOver=function(e){return l({event:e,index:o,rowData:u})}),c&&(d.onContextMenu=function(e){return c({event:e,index:o,rowData:u})})),Ke.createElement("div",Ls({},d,{className:t,key:i,role:"row",style:h}),n)}vd.propTypes={},bd.propTypes=null,yd.propTypes=null;var wd=function(e){function t(){return $c(this,t),Pc(this,Lc(t).apply(this,arguments))}return Oc(t,e),t}(Ke.Component);function kd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _d(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,i=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=(0,hl.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,o=t.className,i=t.disableHeader,r=t.gridClassName,s=t.gridStyle,a=t.headerHeight,l=t.headerRowRenderer,c=t.height,u=t.id,h=t.noRowsRenderer,d=t.rowClassName,p=t.rowStyle,g=t.scrollToIndex,f=t.style,m=t.width,v=this.state.scrollbarWidth,b=i?c:c-a,y="function"==typeof d?d({index:-1}):d,w="function"==typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],Ke.Children.toArray(n).forEach((function(t,n){var o=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[n]=_d({overflow:"hidden"},o)})),Ke.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":Ke.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:Wu("ReactVirtualized__Table",o),id:u,role:"grid",style:f},!i&&l({className:Wu("ReactVirtualized__Table__headerRow",y),columns:this._getHeaderColumns(),style:_d({height:a,overflow:"hidden",paddingRight:v,width:m},w)}),Ke.createElement(hh,Ls({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Wu("ReactVirtualized__Table__Grid",r),cellRenderer:this._createRow,columnWidth:m,columnCount:1,height:b,id:void 0,noContentRenderer:h,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:v,scrollToRow:g,style:_d({},s,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,o=e.isScrolling,i=e.parent,r=e.rowData,s=e.rowIndex,a=this.props.onColumnClick,l=t.props,c=l.cellDataGetter,u=l.cellRenderer,h=l.className,d=l.columnData,p=l.dataKey,g=l.id,f=u({cellData:c({columnData:d,dataKey:p,rowData:r}),columnData:d,columnIndex:n,dataKey:p,isScrolling:o,parent:i,rowData:r,rowIndex:s}),m=this._cachedColumnStyles[n],v="string"==typeof f?f:null;return Ke.createElement("div",{"aria-colindex":n+1,"aria-describedby":g,className:Wu("ReactVirtualized__Table__rowColumn",h),key:"Row"+s+"-Col"+n,onClick:function(e){a&&a({columnData:d,dataKey:p,event:e})},role:"gridcell",style:m,title:v},f)}},{key:"_createHeader",value:function(e){var t,n,o,i,r,s=e.column,a=e.index,l=this.props,c=l.headerClassName,u=l.headerStyle,h=l.onHeaderClick,d=l.sort,p=l.sortBy,g=l.sortDirection,f=s.props,m=f.columnData,v=f.dataKey,b=f.defaultSortDirection,y=f.disableSort,w=f.headerRenderer,k=f.id,_=f.label,x=!y&&d,C=Wu("ReactVirtualized__Table__headerColumn",c,s.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),S=this._getFlexStyleForColumn(s,_d({},u,{},s.props.headerStyle)),E=w({columnData:m,dataKey:v,disableSort:y,label:_,sortBy:p,sortDirection:g});if(x||h){var A=p!==v?b:g===md.DESC?md.ASC:md.DESC,T=function(e){x&&d({defaultSortDirection:b,event:e,sortBy:v,sortDirection:A}),h&&h({columnData:m,dataKey:v,event:e})};r=s.props["aria-label"]||_||v,i="none",o=0,t=T,n=function(e){"Enter"!==e.key&&" "!==e.key||T(e)}}return p===v&&(i=g===md.ASC?"ascending":"descending"),Ke.createElement("div",{"aria-label":r,"aria-sort":i,className:C,id:k,key:"Header-Col"+a,onClick:t,onKeyDown:n,role:"columnheader",style:S,tabIndex:o},E)}},{key:"_createRow",value:function(e){var t=this,n=e.rowIndex,o=e.isScrolling,i=e.key,r=e.parent,s=e.style,a=this.props,l=a.children,c=a.onRowClick,u=a.onRowDoubleClick,h=a.onRowRightClick,d=a.onRowMouseOver,p=a.onRowMouseOut,g=a.rowClassName,f=a.rowGetter,m=a.rowRenderer,v=a.rowStyle,b=this.state.scrollbarWidth,y="function"==typeof g?g({index:n}):g,w="function"==typeof v?v({index:n}):v,k=f({index:n}),_=Ke.Children.toArray(l).map((function(e,i){return t._createColumn({column:e,columnIndex:i,isScrolling:o,parent:r,rowData:k,rowIndex:n,scrollbarWidth:b})})),x=Wu("ReactVirtualized__Table__row",y),C=_d({},s,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:b},w);return m({className:x,columns:_,index:n,isScrolling:o,key:i,onRowClick:c,onRowDoubleClick:u,onRowRightClick:h,onRowMouseOver:d,onRowMouseOut:p,rowData:k,style:C})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),o=_d({},t,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(o.maxWidth=e.props.maxWidth),e.props.minWidth&&(o.minWidth=e.props.minWidth),o}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,n=t.children;return(t.disableHeader?[]:Ke.Children.toArray(n)).map((function(t,n){return e._createHeader({column:t,index:n})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.scrollHeight,o=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:n,scrollTop:o})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,o=e.rowStartIndex,i=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:o,stopIndex:i})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(Ke.PureComponent);Rs(xd,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:dh,overscanRowCount:10,rowRenderer:yd,headerRowRenderer:fd,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),xd.propTypes={};var Cd=[],Sd=null,Ed=null;function Ad(){Ed&&(Ed=null,document.body&&null!=Sd&&(document.body.style.pointerEvents=Sd),Sd=null)}function Td(){Ad(),Cd.forEach((function(e){return e.__resetIsScrolling()}))}function $d(e){e.currentTarget===window&&null==Sd&&document.body&&(Sd=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){Ed&&rh(Ed);var e=0;Cd.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),Ed=sh(Td,e)}(),Cd.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function Md(e,t){Cd.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",$d),Cd.push(e)}function Rd(e,t){(Cd=Cd.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",$d),Ed&&(rh(Ed),Ad()))}var jd,Od,Ld=function(e){return e===window},Id=function(e){return e.getBoundingClientRect()};function Nd(e,t){if(e){if(Ld(e)){var n=window,o=n.innerHeight,i=n.innerWidth;return{height:"number"==typeof o?o:0,width:"number"==typeof i?i:0}}return Id(e)}return{height:t.serverHeight,width:t.serverWidth}}function Pd(e){return Ld(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var Bd=function(){return"undefined"!=typeof window?window:void 0},zd=(Od=jd=function(e){function t(){var e,n;$c(this,t);for(var o=arguments.length,i=new Array(o),r=0;r0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,o=n.height,i=n.width,r=this._child||hl.findDOMNode(this);if(r instanceof Element&&e){var s=function(e,t){if(Ld(t)&&document.documentElement){var n=document.documentElement,o=Id(e),i=Id(n);return{top:o.top-i.top,left:o.left-i.left}}var r=Pd(t),s=Id(e),a=Id(t);return{top:s.top+r.top-a.top,left:s.left+r.left-a.left}}(r,e);this._positionFromTop=s.top,this._positionFromLeft=s.left}var a=Nd(e,this.props);o===a.height&&i===a.width||(this.setState({height:a.height,width:a.width}),t({height:a.height,width:a.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=yh(),this.updatePosition(e),e&&(Md(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.scrollElement,o=e.scrollElement;o!==n&&null!=o&&null!=n&&(this.updatePosition(n),Rd(this,o),Md(this,n),this._unregisterResizeListener(o),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(Rd(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.isScrolling,o=t.scrollTop,i=t.scrollLeft,r=t.height,s=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:r,isScrolling:n,scrollLeft:i,scrollTop:o,width:s})}}]),t}(Ke.PureComponent),Rs(jd,"propTypes",null),Od);Rs(zd,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Bd(),serverHeight:0,serverWidth:0});const Fd=26;function Hd(e){const{children:t,maxHeight:n}=e;return t.length?(0,Ke.createElement)(_h,{disableHeight:!0},(({width:e})=>(0,Ke.createElement)(zh,{height:n,rowCount:t.length,rowHeight:Fd,rowRenderer:({index:e,key:n,style:o})=>(0,Ke.createElement)("div",{key:n,style:o},t[e]),width:e}))):null}const{Option:Wd}=Ac;function Vd(e){return(0,Ke.createElement)(Wd,{...e},e?.data?.icon||"",e.data.label)}function Ud(e){const{className:t,...n}=e,o={...e.grouped?{groupHeaderHeight:50}:{},...n},i=e?.options?.length>30;return(0,Ke.createElement)(Pu,{styles:{...Ts(),option(e,t){const n=Ts().option(e,t);return n["> svg"]={width:"24px",height:"auto",marginRight:"5px"},n}},components:{...i?{MenuList:Hd}:{},Option:Vd},className:cs()("ghostkit-control-select",t),...o})}const{fonts:Gd}=window.GHOSTKIT,qd=void 0!==Gd["google-fonts"].fonts?Gd["google-fonts"].fonts[0].name:"";function Kd(){const e=[];return void 0!==Gd["google-fonts"]&&void 0!==Gd["google-fonts"].fonts&&Object.keys(Gd["google-fonts"].fonts).forEach((t=>{e.push({value:Gd["google-fonts"].fonts[t].name,label:Gd["google-fonts"].fonts[t].name})})),e}class Yd extends vs.Component{constructor(e){super(e);const{fontWeightOptions:t,styleOptions:n}=this.getFontWeightAndStyleOptions(qd);this.state={isLoading:!0,name:qd,weight:["400"],style:"normal",fontFamilyOptions:Kd(),fontWeightOptions:t,styleOptions:n,error:"",isEdit:!1,editKey:null,notice:""}}componentDidMount(){this.setState({isLoading:!1})}getFontWeightAndStyleOptions(e,t="normal"){const n=[],o=function(e){const t={normal:[],italic:[]};if(void 0!==Gd["google-fonts"]&&void 0!==Gd["google-fonts"].fonts){const n=Gd["google-fonts"].fonts.find((t=>t.name===e)),{widths:o}=n;Object.keys(o).forEach((e=>{const n={value:o[e].replace("i",""),label:o[e].replace("i","")};-1===o[e].indexOf("i")?t.normal.push(n):t.italic.push(n)}))}return t}(e),i="normal"===t?o.normal:o.italic;return o.normal.length>0&&n.push({value:"normal",label:(0,bs.__)("Normal","ghostkit")}),o.italic.length>0&&n.push({value:"italic",label:(0,bs.__)("Italic","ghostkit")}),{fontWeightOptions:i,styleOptions:n}}renderEditor(){const{fontFamilyOptions:e,fontWeightOptions:t,styleOptions:n,style:o,name:i,weight:r,error:s,notice:a,isEdit:l,editKey:c}=this.state,{customFonts:u,updateFonts:h}=this.props;return(0,gs.jsx)("div",{className:"editor-styles-wrapper",children:(0,gs.jsxs)("div",{className:"ghostkit-settings-fonts-google-form",children:[l?null:(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Font","ghostkit"),label:(0,bs.__)("Font","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(Ud,{value:{value:i,label:i},onChange:e=>{let t=this.getFontWeightAndStyleOptions(e.value,o);const n=[];let i=!1;0===t.fontWeightOptions.length&&(i="normal"===o?"italic":"normal",t=this.getFontWeightAndStyleOptions(e.value,i)),Object.keys(r).forEach((e=>{void 0!==t.fontWeightOptions.find((e=>e.value===r))&&n.push(r[e])})),0===n.length&&0!==t.fontWeightOptions.length&&n.push(t.fontWeightOptions[0].value),this.setState({name:e.value,style:i||o,weight:n,fontWeightOptions:t.fontWeightOptions,styleOptions:t.styleOptions})},options:e,placeholder:(0,bs.__)("--- Select ---","ghostkit")})}),(0,gs.jsx)(us.SelectControl,{multiple:!0,label:(0,bs.__)("Weight","ghostkit"),value:r,onChange:e=>{this.setState({weight:e})},options:t,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Style","ghostkit"),value:o,onChange:e=>{this.setState({style:e})},options:n,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),s?(0,gs.jsx)("div",{className:"ghostkit-settings-fonts-google-form-error",children:s}):null,a?(0,gs.jsx)("div",{className:"ghostkit-settings-fonts-google-form-notice",children:a}):null,l?(0,gs.jsx)(us.Button,{variant:"primary",onClick:()=>{let e=!1;if(Object.keys(u.google).forEach((t=>{u.google[t].name===i&&u.google[t].style===o&&t!==c&&(e=!0)})),i&&c&&!e){h({google:{...u.google,[c]:{name:this.state.name,weight:this.state.weight,style:this.state.style}}});const e=this.getFontWeightAndStyleOptions(qd);this.setState({name:qd,weight:["400"],style:"normal",fontWeightOptions:e.fontWeightOptions,styleOptions:e.styleOptions,error:"",isEdit:!1,editKey:null,notice:(0,bs.__)("The font has been successfully edited","ghostkit")})}else this.state.name?e&&this.setState({error:(0,bs.__)("The font has already been added with style.","ghostkit")}):this.setState({error:(0,bs.__)("You should specify the `Name` to add new font.","ghostkit")})},children:(0,bs.__)("Edit Font","ghostkit")}):(0,gs.jsx)(us.Button,{variant:"primary",onClick:()=>{let e=!1;if(Object.keys(u.google).forEach((t=>{u.google[t].name===i&&u.google[t].style===o&&(e=!0)})),i&&!e){h({google:{...u.google,[Math.random().toString(36).substr(2,9)]:{name:this.state.name,weight:this.state.weight,style:this.state.style}}});const e=this.getFontWeightAndStyleOptions(qd);this.setState({name:qd,weight:["400"],style:"normal",fontWeightOptions:e.fontWeightOptions,styleOptions:e.styleOptions,error:"",notice:"",isEdit:!1})}else this.state.name?e&&this.setState({error:(0,bs.__)("The font has already been added. To edit, use the font edit button in the table.","ghostkit")}):this.setState({error:(0,bs.__)("You should specify the `Name` to add new font.","ghostkit")})},children:(0,bs.__)("Add Font","ghostkit")})]})})}render(){const{isLoading:e,isEdit:t,editKey:n}=this.state,{customFonts:o,updateFonts:i}=this.props;return(0,gs.jsxs)("div",{className:e?"ghostkit-settings-fonts-loading":"",children:[e?(0,gs.jsx)(us.Spinner,{}):"",t?"":this.renderEditor(),o.google&&Object.keys(o.google).length?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)("br",{}),(0,gs.jsxs)("table",{className:"widefat fixed striped",children:[(0,gs.jsx)("thead",{children:(0,gs.jsxs)("tr",{children:[(0,gs.jsx)("td",{children:(0,bs.__)("Font Family","ghostkit")}),(0,gs.jsx)("td",{children:(0,bs.__)("Font Weights","ghostkit")}),(0,gs.jsx)("td",{children:(0,bs.__)("Font Style","ghostkit")}),(0,gs.jsx)("td",{children:(0,bs.__)("Actions","ghostkit")})]})}),(0,gs.jsx)("tbody",{children:Object.keys(o.google).map((e=>(0,gs.jsxs)(vs.Fragment,{children:[(0,gs.jsxs)("tr",{children:[(0,gs.jsx)("td",{children:o.google[e].name}),(0,gs.jsx)("td",{children:Object.keys(o.google[e].weight).map((t=>(t=Number(t),(0,gs.jsxs)(vs.Fragment,{children:[o.google[e].weight[t],Number(o.google[e].weight.length)===t+1?"":", "]},o.google[e].name+e+t))))}),(0,gs.jsx)("td",{children:o.google[e].style}),(0,gs.jsxs)("td",{children:[(0,gs.jsx)(us.Button,{isLink:!0,onClick:()=>{const t={...o.google};delete t[e],i({google:{...t}})},children:(0,bs.__)("Remove","ghostkit")})," | ",(0,gs.jsx)(us.Button,{isLink:!0,onClick:()=>{const t={...o.google},n=this.getFontWeightAndStyleOptions(t[e].name,t[e].style);this.setState({name:t[e].name,style:t[e].style,weight:t[e].weight,fontWeightOptions:n.fontWeightOptions,styleOptions:n.styleOptions,isEdit:!0,editKey:e})},children:(0,bs.__)("Edit","ghostkit")})]})]}),t&&n===e?(0,gs.jsx)("tr",{children:(0,gs.jsx)("td",{colSpan:4,children:this.renderEditor()})}):null]},o.google[e].name+e)))})]})]}):null]})}}const Zd=Yd,{GHOSTKIT:Jd}=window;function Xd(e){const{icons:t,settings:n}=Jd;Object.keys(t).forEach((o=>{(void 0===n[`icon_pack_${o}`]||n[`icon_pack_${o}`])&&e(t[o])}))}function Qd(e){const{iconData:t,onClick:n,active:o}=e;return(0,gs.jsx)(tp.Preview,{className:cs()("ghostkit-component-icon-picker-button",o?"ghostkit-component-icon-picker-button-active":""),onClick:n,data:t})}const ep={};function tp(e){const{value:t,label:n,onChange:o,insideInspector:i}=e;return(0,gs.jsx)(us.BaseControl,{className:"ghostkit-component-icon-picker-wrapper",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>o(pt(e)),value:gt(t),insideInspector:i,renderToggle:({isOpen:e,onToggle:o})=>(0,gs.jsxs)(us.Button,{className:cs()("ghostkit-component-icon-picker-toggle",e?"ghostkit-component-icon-picker-toggle-active":""),onClick:o,children:[(0,gs.jsx)(tp.Preview,{className:"ghostkit-component-icon-picker-toggle-indicator",name:gt(t),alwaysRender:!0}),(0,gs.jsx)("span",{className:"ghostkit-component-icon-picker-toggle-label",children:n})]})})})}function np(e){const{value:t,options:n,itemsPerRow:o=2,onChange:i,label:r}=e;return(0,gs.jsx)(us.BaseControl,{id:r,label:r,className:cs()("ghostkit-component-image-picker",`ghostkit-component-image-picker-${o}`),__nextHasNoMarginBottom:!0,children:n.map((e=>(0,gs.jsxs)("button",{onClick:()=>{i(e.value)},className:cs()("ghostkit-component-image-picker-item",t===e.value?"ghostkit-component-image-picker-item-active":"",e.className),children:[e.image&&"string"==typeof e.image?(0,gs.jsx)("img",{src:e.image,alt:e.label||e.value}):null,e.image&&"string"!=typeof e.image?e.image:"",e.label?(0,gs.jsx)("span",{children:e.label}):""]},`image-pircker-${e.value}`)))})}function op(e){const{onClick:t,isActive:n}=e;return(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("!important","ghostkit")},(0,Ke.createElement)(us.Button,{className:cs()("ghostkit-control-important-toggle",n&&"is-active"),onClick:()=>{t(!n)}},"!"))}tp.Dropdown=function(e){const t=(0,vs.useRef)(),{onChange:n,value:o,label:i,className:r,renderToggle:s,insideInspector:a}=e,[l,c]=(0,vs.useState)(""),[u,h]=(0,vs.useState)(ep),[d,p]=(0,vs.useState)(!1);(0,vs.useEffect)((()=>{t.current=new Eh({defaultHeight:65,fixedWidth:!0})}),[]),(0,vs.useEffect)((()=>{t.current&&t.current.clearAll()}));const g=(0,gs.jsx)(us.Dropdown,{className:r,contentClassName:"ghostkit-component-icon-picker-content",renderToggle:s,focusOnMount:!1,renderContent:()=>function(){const e=[{key:"form",render:(0,gs.jsxs)(vs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Search Icon","ghostkit"),value:gt(l),onChange:e=>c(pt(e)),placeholder:(0,bs.__)("Type to Search…","ghostkit"),autoComplete:"off",autoFocus:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsxs)("div",{className:"ghostkit-component-icon-picker-input-output",children:[d?(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Icon Output","ghostkit"),value:o,onChange:e=>{n(e)},placeholder:(0,bs.__)("Icon Output","ghostkit"),autoComplete:"off",__nextHasNoMarginBottom:!0}):(0,gs.jsx)(us.Button,{variant:"secondary",onClick:()=>p(!0),style:{marginRight:5},children:(0,bs.__)("Customize Icon","ghostkit")}),(0,gs.jsx)(us.Button,{variant:"secondary",disabled:!o,onClick:()=>n(""),children:(0,bs.__)("Reset","ghostkit")})]})]},"form")}];Xd((t=>{const i=void 0===u[t.name]||u[t.name],r=l.toLowerCase(),s=t.icons.filter((e=>!(r&&!(r&&e.keys.indexOf(r.toLowerCase())>-1)))).map((e=>{const t=function(e){let t="";return e.keys&&(t=ut(e.keys.split(",")[0])),t}(e),i=(0,gs.jsx)(Qd,{active:gt(e.svg)===gt(o),iconData:e,onClick:()=>{n(gt(e.svg))}});return t?(0,gs.jsx)(us.Tooltip,{text:t,children:(0,gs.jsx)("div",{children:i})},gt(e.svg)):i}));if(!s.length)return;if(e.push({key:`title-${t.name}`,render:(0,gs.jsx)("div",{className:cs()("components-panel__body ghostkit-component-icon-picker-list-panel-toggle",i?"is-opened":""),children:(0,gs.jsx)("h2",{className:"components-panel__body-title",children:(0,gs.jsxs)(us.Button,{className:"components-panel__body-toggle",onClick:()=>{h({...u,[t.name]:!i})},"aria-expanded":i,children:[(0,gs.jsx)("span",{"aria-hidden":"true",children:i?(0,gs.jsxs)(us.SVG,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,gs.jsx)(us.G,{children:(0,gs.jsx)(us.Path,{fill:"none",d:"M0,0h24v24H0V0z"})}),(0,gs.jsx)(us.G,{children:(0,gs.jsx)(us.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"})})]}):(0,gs.jsxs)(us.SVG,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,gs.jsx)(us.G,{children:(0,gs.jsx)(us.Path,{fill:"none",d:"M0,0h24v24H0V0z"})}),(0,gs.jsx)(us.G,{children:(0,gs.jsx)(us.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})})]})}),t.name]})})})}),!i)return;let a=[];s.forEach(((t,n)=>{a.push(t),3!==a.length&&s.length!==n+1||(e.push({key:"icons",render:(0,gs.jsx)("div",{className:"ghostkit-component-icon-picker-list",children:a})}),a=[])}))})),1===e.length&&e.push({key:"icons",render:(0,bs.__)("No icons found.","ghostkit")});const i=(0,gs.jsx)(_h,{children:({width:n,height:o})=>(0,gs.jsx)(zh,{className:"ghostkit-component-icon-picker-list-wrap",width:n,height:o,rowCount:e.length,rowHeight:t?.current?.rowHeight,rowRenderer:n=>{const{index:o,style:i,parent:r,key:s}=n;return(0,gs.jsx)(Sh,{cache:t?.current,columnIndex:0,rowIndex:o,parent:r,children:()=>(0,gs.jsx)("div",{style:i,children:e[o].render||""})},s)}})},"autosizer-"+(d?"1":"0"));return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)("div",{className:"ghostkit-component-icon-picker-sizer"}),(0,gs.jsx)("div",{className:"ghostkit-component-icon-picker",children:i})]})}(),...a?{popoverProps:{placement:"left-start",offset:36,shift:!0}}:{}});return i?(0,gs.jsx)(us.BaseControl,{id:i,label:i,className:r,__nextHasNoMarginBottom:!0,children:g}):g},tp.Preview=function(e){const{onClick:t,className:n,alwaysRender:o=!1}=e;let{data:i,name:r}=e;!i&&r&&Xd((e=>{e.icons.forEach((e=>{!i&&e.svg&&(e.svg===r||e.fallback&&e.fallback===r&&e.svg)&&(e.svg?i=e:r=e.class)}))}));let s="";return i&&i.svg?s=i.svg:(r||i&&i.class)&&(s=r||i.class),s||o?(0,gs.jsx)(tp.Render,{name:gt(s),tag:"span",className:cs()(n,"ghostkit-component-icon-picker-preview",t?"ghostkit-component-icon-picker-preview-clickable":""),onClick:t,onKeyPress:()=>{},role:"button",tabIndex:0,alwaysRender:o}):null},tp.Render=function(e){const{tag:t="span",name:n,alwaysRender:o=!1,...i}=e,r=t;let s="";const a=gt(n);return a&&/^`),s||o?(0,gs.jsx)(r,{dangerouslySetInnerHTML:{__html:s},...i}):null};const ip={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function rp(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function sp(e,t,n,o=.15){return 0===o?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):en?+rp(e-n,n-t,o)+n:e}function ap(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function cp(e){for(var t=1;t0,i=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);ip.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[r,s]=t._movement,[a,l]=n.threshold,{_step:c,values:u}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(r)>=a&&u[0]),!1===c[1]&&(c[1]=Math.abs(s)>=l&&u[1])):(!1===c[0]&&(c[0]=Math.abs(r)>=a&&Math.sign(r)*a),!1===c[1]&&(c[1]=Math.abs(s)>=l&&Math.sign(s)*l)),t.intentional=!1!==c[0]||!1!==c[1],!t.intentional)return;const h=[0,0];if(n.hasCustomTransform){const[e,t]=u;h[0]=!1!==c[0]?e-c[0]:0,h[1]=!1!==c[1]?t-c[1]:0}else h[0]=!1!==c[0]?r-c[0]:0,h[1]=!1!==c[1]?s-c[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(h);const d=t.offset,p=t._active&&!t._blocked||t.active;p&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=o[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=kp(n.bounds,t)),this.setup&&this.setup()),t.movement=h,this.computeOffset()));const[g,f]=t.offset,[[m,v],[b,y]]=t._bounds;t.overflow=[gv?1:0,fy?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);const w=t._active&&n.rubberband||[0,0];if(t.offset=function(e,[t,n],[o,i]){const[[r,s],[a,l]]=e;return[sp(t,r,s,o),sp(n,a,l,i)]}(t._bounds,t.offset,w),t.delta=ip.sub(t.offset,d),this.computeMovement(),p&&(!t.last||i>32)){t.delta=ip.sub(t.offset,d);const e=t.delta.map(Math.abs);ip.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&i>0&&(t.velocity=[e[0]/i,e[1]/i],t.timeDelta=i)}}emit(){const e=this.state,t=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;const o=this.handler(cp(cp(cp({},t),e),{},{[this.aliasKey]:e.values}));void 0!==o&&(e.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class Ep extends Sp{constructor(...e){super(...e),ap(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=ip.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=ip.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const t=this.state,n=this.config;if(!t.axis&&e){const o="object"==typeof n.axisThreshold?n.axisThreshold[mp(e)]:n.axisThreshold;t.axis=function([e,t],n){const o=Math.abs(e),i=Math.abs(t);return o>i&&o>n?"x":i>o&&i>n?"y":void 0}(t._movement,o)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}const Ap=e=>e,Tp={enabled:(e=!0)=>e,eventOptions:(e,t,n)=>cp(cp({},n.shared.eventOptions),e),preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return ip.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?ip.toVector(e):void 0,transform(e,t,n){const o=e||n.shared.transform;return this.hasCustomTransform=!!o,o||Ap},threshold:e=>ip.toVector(e,0)},$p=cp(cp({},Tp),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold:(e=0)=>e,bounds(e={}){if("function"==typeof e)return t=>$p.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:o=-1/0,bottom:i=1/0}=e;return[[t,n],[o,i]]}}),Mp={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]},Rp="undefined"!=typeof window&&window.document&&window.document.createElement;function jp(){return Rp&&"ontouchstart"in window}const Op={isBrowser:Rp,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:jp(),touchscreen:jp()||Rp&&window.navigator.maxTouchPoints>1,pointer:Rp&&"onpointerdown"in window,pointerLock:Rp&&"exitPointerLock"in window.document},Lp={mouse:0,touch:0,pen:8},Ip=cp(cp({},$p),{},{device(e,t,{pointer:{touch:n=!1,lock:o=!1,mouse:i=!1}={}}){return this.pointerLock=o&&Op.pointerLock,Op.touch&&n?"touch":this.pointerLock?"mouse":Op.pointer&&!i?"pointer":Op.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,Op.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:o=1,keys:i=!0}={}}){return this.pointerButtons=o,this.keys=i,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:o=3,axis:i}){const r=ip.toVector(e,n?o:i?1:0);return this.filterTaps=n,this.tapsThreshold=o,r},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(ip.toVector(e)),distance:this.transform(ip.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?cp(cp({},Lp),e):Lp,keyboardDisplacement:(e=10)=>e});cp(cp({},Tp),{},{device(e,t,{shared:n,pointer:{touch:o=!1}={}}){if(n.target&&!Op.touch&&Op.gesture)return"gesture";if(Op.touch&&o)return"touch";if(Op.touchscreen){if(Op.pointer)return"pointer";if(Op.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:o={}}){const i=e=>{const t=Cp(kp(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},r=e=>{const t=Cp(kp(o,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof o?[i(),r()]:e=>[i(e),r(e)]},threshold(e,t,n){return this.lockDirection="lock"===n.axis,ip.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e,pinchOnWheel:(e=!0)=>e}),cp(cp({},$p),{},{mouseOnly:(e=!0)=>e}),cp(cp({},$p),{},{mouseOnly:(e=!0)=>e});const Np=new Map,Pp=new Map,Dp={key:"drag",engine:class extends Ep{constructor(...e){super(...e),ap(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),o={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=$p.bounds(o)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout((()=>{this.compute(),this.emit()}),0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const t=this.config,n=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;const o=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),o&&o.size>1&&n._pointerActive||(this.start(e),this.setupPointer(e),n._pointerId=bp(e),n._pointerActive=!0,this.computeValues(yp(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==mp(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){const t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const t=this.state,n=this.config;if(!t._pointerActive)return;const o=bp(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;const i=yp(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=ip.sub(i,t._values),this.computeValues(i)),ip.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional?(this.timeoutStore.remove("dragDelay"),t.active=!1,void this.startPointerDrag(e)):n.preventScrollAxis&&!t._preventScroll?t.axis?t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis?(t._active=!1,void this.clean()):(this.timeoutStore.remove("startPointerDrag"),void this.startPointerDrag(e)):void 0:void this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){}const t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;const o=bp(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[i,r]=t._distance;if(t.tap=i<=n.tapsThreshold&&r<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,o]=t._delta,[i,r]=t._movement,[s,a]=n.swipe.velocity,[l,c]=n.swipe.distance,u=n.swipe.duration;if(t.elapsedTimes&&Math.abs(i)>l&&(t.swipe[0]=Math.sign(e)),u>a&&Math.abs(r)>c&&(t.swipe[1]=Math.sign(o))}}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){const t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e);const t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",(()=>{this.state._step=[0,0],this.startPointerDrag(e)}),this.config.delay)}keyDown(e){const t=Mp[e.key];if(t){const n=this.state,o=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=t(this.config.keyboardDisplacement,o),n._keyboardActive=!0,ip.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in Mp&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:Ip};const Bp={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=(Op.isBrowser?window:void 0))=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},zp=["target","eventOptions","window","enabled","transform"];function Fp(e={},t){const n={};for(const[o,i]of Object.entries(t))switch(typeof i){case"function":n[o]=i.call(n,e[o],o,e);break;case"object":n[o]=Fp(e[o],i);break;case"boolean":i&&(n[o]=e[o])}return n}class Hp{constructor(e,t){ap(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,o,i){const r=this._listeners,s=function(e,t=""){const n=up[e];return e+(n&&n[t]||t)}(t,n),a=cp(cp({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),i);e.addEventListener(s,o,a);const l=()=>{e.removeEventListener(s,o,a),r.delete(l)};return r.add(l),l}clean(){this._listeners.forEach((e=>e())),this._listeners.clear()}}class Wp{constructor(){ap(this,"_timeouts",new Map)}add(e,t,n=140,...o){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...o))}remove(e){const t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach((e=>{window.clearTimeout(e)})),this._timeouts.clear()}}class Vp{constructor(e){var t,n;ap(this,"gestures",new Set),ap(this,"_targetEventStore",new Hp(this)),ap(this,"gestureEventStores",{}),ap(this,"gestureTimeoutStores",{}),ap(this,"handlers",{}),ap(this,"config",{}),ap(this,"pointerIds",new Set),ap(this,"touchIds",new Set),ap(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),t=this,(n=e).drag&&Up(t,"drag"),n.wheel&&Up(t,"wheel"),n.scroll&&Up(t,"scroll"),n.move&&Up(t,"move"),n.pinch&&Up(t,"pinch"),n.hover&&Up(t,"hover")}setEventIds(e){return fp(e)?(this.touchIds=new Set(function(e){return function(e){return Array.from(e.touches).filter((t=>{var n,o;return t.target===e.currentTarget||(null===(n=e.currentTarget)||void 0===n||null===(o=n.contains)||void 0===o?void 0:o.call(n,t.target))}))}(e).map((e=>e.identifier))}(e)),this.touchIds):"pointerId"in e?("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds):void 0}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t,n={}){const o=e,{target:i,eventOptions:r,window:s,enabled:a,transform:l}=o,c=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(o,zp);if(n.shared=Fp({target:i,eventOptions:r,window:s,enabled:a,transform:l},Bp),t){const e=Pp.get(t);n[t]=Fp(cp({shared:n.shared},c),e)}else for(const e in c){const t=Pp.get(e);t&&(n[e]=Fp(cp({shared:n.shared},c[e]),t))}return n}(e,t,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const t=this.config.shared,n={};let o;if(!t.target||(o=t.target(),o)){if(t.enabled){for(const t of this.gestures){const i=this.config[t],r=Gp(n,i.eventOptions,!!o);i.enabled&&new(Np.get(t))(this,e,t).bind(r)}const i=Gp(n,t.eventOptions,!!o);for(const t in this.nativeHandlers)i(t,"",(n=>this.nativeHandlers[t](cp(cp({},this.state.shared),{},{event:n,args:e}))),void 0,!0)}for(const e in n)n[e]=xp(...n[e]);if(!o)return n;for(const e in n){const{device:t,capture:i,passive:r}=gp(e);this._targetEventStore.add(o,t,"",n[e],{capture:i,passive:r})}}}}function Up(e,t){e.gestures.add(t),e.gestureEventStores[t]=new Hp(e,t),e.gestureTimeoutStores[t]=new Wp}const Gp=(e,t,n)=>(o,i,r,s={},a=!1)=>{var l,c;const u=null!==(l=s.capture)&&void 0!==l?l:t.capture,h=null!==(c=s.passive)&&void 0!==c?c:t.passive;let d=a?o:function(e,t="",n=!1){const o=up[e],i=o&&o[t]||t;return"on"+hp(e)+hp(i)+(function(e=!1,t){return e&&!dp.includes(t)}(n,i)?"Capture":"")}(o,i,u);n&&h&&(d+="Passive"),e[d]=e[d]||[],e[d].push(r)};function qp(e,t){var n;return n=Dp,Np.set(n.key,n.engine),Pp.set(n.key,n.resolver),function(e,t={},n,o){const i=Ye().useMemo((()=>new Vp(e)),[]);if(i.applyHandlers(e,o),i.applyConfig(t,n),Ye().useEffect(i.effect.bind(i)),Ye().useEffect((()=>i.clean.bind(i)),[]),void 0===t.target)return i.bind.bind(i)}({drag:e},t||{},"drag")}const Kp=["px","%","rem","em","vh","vw","vmin","vmax","ex","cm","mm","in","pt","pc","ch"],Yp=e=>e.toString().includes(".")?e.toString().split(".").pop().length:0;function Zp(e){const{label:t,help:n,icon:o,placeholder:i,value:r,step:s,defaultUnit:a,expandOnFocus:l,autoComplete:c,className:u,onChange:h}=e,d=(0,vs.useRef)(),[p,g]=(0,vs.useState)(!1);function f(e,t){let n=e;s&&(n*=s),t&&(n*=10);const o=function(){let e=parseFloat(r),t="";if(r!==`${e}`){const n=(r||"").match(new RegExp(`${e}(${Kp.join("|")})`,"i"));n&&n[1]&&(t=n[1])}return Number.isNaN(e)&&(e=0,void 0!==a&&(t=a)),{num:e,unit:t,full:r}}();if(void 0!==o.full&&`${o.num}${o.unit}`!==o.full)return;n=o.num+n;const i=Yp(n);i>10&&(n=function(e,t){const n=Math.pow(10,t||0);return Math.round(e*n)/n}(n,i-1)),h(n+o.unit)}const m=qp((e=>{const{event:t,dragging:n,_direction:o,shiftKey:i}=e;n&&(t.stopPropagation(),f(-1*o[1],i))}),{axis:"y",threshold:10,enabled:!0,pointer:{capture:!1}});let v="ghostkit-component-input-drag-no-icon";return void 0!==o&&(v="ghostkit-component-input-drag-has-icon"),(0,gs.jsxs)("div",{className:cs()(v,p&&l&&r&&r.length>=l&&"ghostkit-component-input-drag-expand",u),children:[o,(0,gs.jsx)(us.TextControl,{...m(),ref:d,label:t,help:n,placeholder:i,value:r||"",onKeyDown:function(e){switch(e.keyCode){case 40:e.preventDefault(),f(-1,e.shiftKey);break;case 38:e.preventDefault(),f(1,e.shiftKey)}},onChange:e=>{h(e)},onFocus:()=>{g(!0)},onBlur:()=>{g(!1)},className:"ghostkit-component-input-drag",autoComplete:c,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}function Jp(e){const{checkActive:t=(()=>!1)}=e,[n,o]=(0,vs.useState)(!1),{allDevices:i,device:r,setDevice:s}=Jr();(0,vs.useEffect)((()=>{function e(e){e.target.closest(".ghostkit-control-responsive-toggle")||o(!1)}return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}));const a=[],l=[Cr("tabs-mobile"),Cr("tabs-tablet"),Cr("tabs-laptop"),Cr("tabs-desktop"),Cr("tabs-tv")];let c=l[l.length-1],u="0",h=!1;return[...Object.keys(i),""].forEach(((e,n)=>{e===r&&(c=l[n],u=100*(1+n-l.length)/l.length+"%",u=`calc(${u} + ${l.length-n-1}px)`);const o=e&&t&&t(e);h=h||o,a.unshift({name:e,title:(0,Ke.createElement)(us.Tooltip,{text:e?(0,bs.sprintf)((0,bs.__)("Devices with screen width <= %s","ghostkit"),`${i[e]}px`):(0,bs.__)("All devices","ghostkit")},(0,Ke.createElement)("span",{className:"ghostkit-control-responsive-toggle-icon"},l[n],o&&(0,Ke.createElement)(ns,null)))})})),(0,Ke.createElement)("div",{className:"ghostkit-control-responsive-toggle"},(0,Ke.createElement)(us.Button,{className:"ghostkit-control-responsive-toggle-button",onClick:()=>{o(!0)}},c,h&&(0,Ke.createElement)(ns,null)),(0,Ke.createElement)("div",{className:cs()("ghostkit-control-responsive-toggle-dropdown",n&&"is-open"),style:{transform:`translateY(${u})`}},a.map((e=>(0,Ke.createElement)(us.Button,{key:e.name,className:cs()(e.name===r&&"is-active"),onClick:()=>{s(e.name),o(!1)}},e.title)))))}const Xp=()=>{};function Qp(e){const{className:t,children:n,...o}=e;return(0,gs.jsx)(us.BaseControl,{className:cs()("ghostkit-component-input-group",t),__nextHasNoMarginBottom:!0,...o,children:(0,gs.jsx)("div",{className:"ghostkit-component-input-group-wrapper",children:n})})}function eg(e){if(e.children)return(0,gs.jsx)(Qp,{...e});const{label:t,inputs:n,hasValue:o=Xp,getValue:i=Xp,onChange:r=Xp,withResponsive:s,withState:a,withImportant:l,expandOnFocus:c,className:u,...h}=e,[d,p]=(0,vs.useState)(!1),{device:g}=Jr();return(0,gs.jsx)(us.BaseControl,{id:n[0].name,className:cs()("ghostkit-component-input-group",u),label:(0,gs.jsxs)(gs.Fragment,{children:[t,s&&(0,gs.jsx)(Jp,{checkActive:e=>n.some((t=>o(t.name,e,d)))}),a&&(0,gs.jsx)(Cs,{isHover:d,onChange:()=>{p(!d)},checkActive:()=>n.some((e=>o(e.name,g,!0)))})]}),__nextHasNoMarginBottom:!0,...h,children:(0,gs.jsx)("div",{className:"ghostkit-component-input-group-wrapper",children:n.map((e=>{let t=i(e.name,g,d),n=!1;return l&&(n=/ !important$/.test(t),n&&(t=t.replace(/ !important$/,""))),(0,gs.jsxs)("div",{className:"ghostkit-component-input-group-item",children:[(0,gs.jsx)(Zp,{id:e.name,help:e.label,value:t,onChange:t=>{t=t?`${t}${n?" !important":""}`:void 0,r(e.name,t,g,d)},expandOnFocus:c,autoComplete:"off"}),l&&void 0!==t&&(0,gs.jsx)(op,{onClick:n=>{if(t){const o=`${t}${n?" !important":""}`;r(e.name,o,g,d)}},isActive:n})]},e.name)}))})})}const tg=us.__experimentalUnitControl;function ng(e){const{attributes:t,hasAspectRatio:n=!0,hasSizeSelectors:o=!0,hasOriginalOption:i=!0,onChangeAspectRatio:r,onChangeWidth:s,onChangeHeight:a,onChangeResolution:l}=e,{aspectRatio:c,width:u,height:h,resolution:d}=t,p=[];i&&p.push({label:"Original",value:""}),p.push({label:"Square - 1:1",value:"1:1"},{label:"Standard - 4:3",value:"4:3"},{label:"Portrait - 3:4",value:"3:4"},{label:"Classic - 3:2",value:"3:2"},{label:"Classic Portrait - 2:3",value:"2:3"},{label:"Wide - 16:9",value:"16:9"},{label:"Ultra Wide - 21:9",value:"21:9"},{label:"Tall - 9:16",value:"9:16"}),u&&h&&p.push({label:"Custom",value:"custom",hidden:!0});const g=(0,Ze.useSelect)((e=>e("core/block-editor").getSettings())),[f,m]=(0,vs.useState)(!1);return(0,vs.useEffect)((()=>{m(!(!u||!h)&&"custom")}),[]),(0,gs.jsxs)(gs.Fragment,{children:[n&&(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Aspect Ratio","ghostkit"),value:f||c,onChange:e=>{m(!1);const{label:t}=p.find((t=>t.value===e));r(e,t),u&&h&&a("")},options:p,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),o&&(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)("div",{style:{display:"flex",gap:10},children:[(0,gs.jsx)(tg,{value:u,placeholder:(0,bs.__)("Auto","ghostkit"),label:(0,bs.__)("Width","ghostkit"),onChange:e=>{s(parseFloat(e)?e:""),m(!(!e||!h)&&"custom")},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(tg,{value:h,placeholder:(0,bs.__)("Auto","ghostkit"),label:(0,bs.__)("Height","ghostkit"),onChange:e=>{a(parseFloat(e)?e:""),m(!(!u||!e)&&"custom")},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),!d&&(0,gs.jsx)("div",{style:{marginTop:"-22px"}})]}),d&&g?.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:d,onChange:l,options:g.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]})}function og(e){let t="ghostkit-component-modal";return e.position&&(t=cs()(t,`ghostkit-component-modal-position-${e.position}`)),e.size&&(t=cs()(t,`ghostkit-component-modal-size-${e.size}`)),t=cs()(t,e.className),(0,Ke.createElement)(us.Modal,{...e,className:t},e.children)}function ig(e){const{className:t,...n}=e;return(0,Ke.createElement)(us.Notice,{className:cs()("ghostkit-component-notice",t),...n})}function rg({allowCustomMin:e,allowCustomMax:t,label:n,...o}){const[i,r]=(0,vs.useState)(parseFloat(o.min)||0),[s,a]=(0,vs.useState)(parseFloat(o.max)||100);return(0,vs.useEffect)((()=>{e&&o.value&&o.values&&a(o.value)}),[o.value]),e||t?(0,gs.jsxs)(us.BaseControl,{id:n,label:n,className:"ghostkit-component-range-control",__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(us.RangeControl,{...o,min:i,max:s,withInputField:!1,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{type:"number",value:o.value,min:i,max:s,step:o.step,onChange:n=>{const r=""===n?void 0:parseFloat(n);!e&&ns?o.onChange(s):o.onChange(r)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):(0,gs.jsx)(us.RangeControl,{...o,label:n,min:i,max:s,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}function sg(e){const[t,n]=(0,vs.useState)(-1),{onRemove:o,show:i,style:r,tooltipText:s=(0,bs.__)("Remove Block?","ghostkit"),tooltipRemoveText:a=(0,bs.__)("Remove","ghostkit"),tooltipCancelText:l=(0,bs.__)("Cancel","ghostkit")}=e;return i?(0,Ke.createElement)(us.Button,{className:"ghostkit-component-remove-button",onClick:()=>{-1===t&&n(0)},style:r},0===t?(0,Ke.createElement)(us.Popover,{className:"ghostkit-component-remove-button-confirm",onClose:()=>{n(-1)},onFocusOutside:()=>{n(-1)}},s,(0,Ke.createElement)(us.Button,{className:"ghostkit-component-remove-button-confirm-yep",onClick:o},a),(0,Ke.createElement)(us.Button,{className:"ghostkit-component-remove-button-confirm-nope",onClick:()=>{n(-1)}},l)):null,Cr("icon-trash")):null}function ag(e){const{children:t}=e,n=e?.active||e?.filledTabs||{},{allDevices:o,device:i,setDevice:r}=Jr(),s=[],a=[Cr("tabs-mobile"),Cr("tabs-tablet"),Cr("tabs-laptop"),Cr("tabs-desktop"),Cr("tabs-tv")];return[...Object.keys(o),""].forEach(((e,t)=>{s.unshift({name:e,title:(0,Ke.createElement)(us.Tooltip,{text:e?(0,bs.sprintf)((0,bs.__)("Devices with screen width <= %s","ghostkit"),`${o[e]}px`):(0,bs.__)("All devices","ghostkit")},(0,Ke.createElement)("span",{className:"ghostkit-control-tabs-icon"},a[t],n&&n[e]?(0,Ke.createElement)(ns,null):""))})})),(0,Ke.createElement)("div",{className:"ghostkit-control-tabs ghostkit-control-tabs-wide"},(0,Ke.createElement)("div",{className:"components-tab-panel__tabs"},s.map((e=>(0,Ke.createElement)(us.Button,{key:e.name,className:cs()("ghostkit-control-tabs-tab",e.name===i&&"is-active"),onClick:()=>{r(e.name)}},e.title)))),t({name:i}))}function lg(e){const{label:t,value:n,options:o,onChange:i,isBlock:r,isAdaptiveWidth:s,isDeselectable:a}=e;return us.__experimentalToggleGroupControl&&us.__experimentalToggleGroupControlOption?(0,gs.jsx)(us.BaseControl,{id:t,label:t,className:cs()("ghostkit-control-toggle-group",e.className),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.__experimentalToggleGroupControl,{value:n,onChange:i,isBlock:r,isAdaptiveWidth:s,isDeselectable:a,hideLabelFromVision:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,children:o.map((e=>e.icon?(0,gs.jsx)(us.__experimentalToggleGroupControlOptionIcon,{value:e.value,icon:e.icon,label:e.label,disabled:e.disabled},e.value):(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:e.value,label:e.label,disabled:e.disabled},e.value)))})}):(0,gs.jsx)(us.BaseControl,{id:t,label:t,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.ButtonGroup,{className:"ghostkit-control-toggle-group",children:o.map((e=>(0,gs.jsx)(us.Button,{variant:n===e.value?"primary":"",isPressed:n===e.value,disabled:e.disabled,onClick:()=>{i(e.value)},children:e.label},e.value)))})})}var cg=n(4798);const ug=window.wp.compose,{Motion:{animate:hg,spring:dg}}=window;function pg(e){const{label:t,options:n}=e,o=(0,vs.useRef)(),i=(0,vs.useRef)(),r=(0,vs.useRef)();function s(){r?.current&&r.current.stop(),i.current&&(r.current=hg(i.current,{x:0},{duration:0}))}function a(e){s(),setTimeout((()=>{if(o.current&&i.current){const t={};"easing"===e?.type?(t.type="tween",t.ease=e.easing,t.duration=e.duration):"spring"===e?.type&&(t.type=dg,t.stiffness=e.stiffness,t.damping=e.damping,t.mass=e.mass);const n=window.getComputedStyle(o.current);let s=o.current.clientWidth;s-=i.current.clientWidth,s-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),r.current=hg(i.current,{x:`${s}px`},t)}}),1)}const l=(0,vs.useCallback)((0,ug.useDebounce)(a,1e3),[]);return(0,vs.useEffect)((()=>{s(),l(n)}),[o,i,n,l]),(0,gs.jsx)(us.BaseControl,{id:t,label:t,className:"ghostkit-component-transition-preview-wrapper",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.Button,{className:"ghostkit-component-transition-preview",ref:o,onClick:e=>{e.preventDefault(),a(n)},children:(0,gs.jsx)("span",{ref:i})})})}const gg={easing:[.42,0,.58,1],delay:0,duration:.9},fg={linear:{label:(0,bs.__)("Linear","ghostkit"),easing:[0,0,1,1],delay:0,duration:.9},"ease-in":{label:(0,bs.__)("Ease In","ghostkit"),easing:[.42,0,1,1],delay:0,duration:.9},"ease-out":{label:(0,bs.__)("Ease Out","ghostkit"),easing:[0,0,.58,1],delay:0,duration:.9},"ease-in-out":{label:(0,bs.__)("Ease In Out","ghostkit"),easing:[.42,0,.58,1],delay:0,duration:.9},"ease-in-back":{label:(0,bs.__)("Ease In Back","ghostkit"),easing:[.36,0,.66,-.56],delay:0,duration:.9},"ease-out-back":{label:(0,bs.__)("Ease Out Back","ghostkit"),easing:[.34,1.56,.64,1],delay:0,duration:.9},"ease-in-out-back":{label:(0,bs.__)("Ease In Out Back","ghostkit"),easing:[.68,-.6,.32,1.6],delay:0,duration:.9}},mg=us.__stableNumberControl||us.__experimentalNumberControl;function vg(e){const{value:t,onChange:n,variant:o="",backgroundColor:i}=e;let r={value:t,width:228,height:140,padding:[25,55,25,55],background:"transparent",color:"#ccc",gridColor:"transparent",curveColor:"#bfbfbf",progressColor:"#ccc",handleColor:"var(--wp-admin-theme-color)",curveWidth:2,handleRadius:6,handleStroke:2,textStyle:{display:"none"},onChange(e){n&&n(e)}};return"preview"===o&&(r={...r,readOnly:!0,width:20,height:20,padding:[3,3,3,3],curveColor:"#fff",curveWidth:1.5}),(0,gs.jsx)("div",{className:cs()("ghostkit-component-bezier-editor",o&&`ghostkit-component-bezier-editor-${o}`),style:i?{backgroundColor:i}:{},children:(0,gs.jsx)(cg.A,{...r})})}function bg(e){const{value:t,onChange:n,enableDelayControl:o=!0}=e,[i,r]=(0,vs.useState)();function s(e){e.easing&&e.easing.length&&(e.easing[0]=Math.max(Math.min(e.easing[0],1),0),e.easing[2]=Math.max(Math.min(e.easing[2],1),0)),n({...t,...e})}let a=t?.easing;a&&4===a.length||(a=gg.easing),(0,vs.useEffect)((()=>{let e="custom";Object.keys(fg).forEach((t=>{const n=fg[t].easing;JSON.stringify(a)===JSON.stringify(n)&&(e=t)})),r(e)}),[i,a]);const l=[..."custom"===i?[{value:"custom",label:(0,bs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(fg).map((e=>({value:e,label:fg[e].label})))],c={value:i,label:i};function u(e){const t=e.clipboardData.getData("text");if(!t)return;const n=t.split(",");if(!n||4!==n.length)return;n[0]=n[0].replace(/^cubic-bezier/,"").replace(/^\(/,""),n[3]=n[3].replace(/\)$/,"");const o=n.map((e=>parseFloat(e)));o&&4===o.length&&(e.preventDefault(),s({easing:o}))}return c.value&&l.forEach((e=>{c.value===e.value&&(c.label=e.label)})),(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Ud,{value:c,onChange:({value:e})=>{fg?.[e]?.easing&&s({easing:fg[e].easing})},options:l,isSearchable:!1}),(0,gs.jsx)(vg,{value:a,onChange:e=>{s({easing:e.map((e=>Dr(e,2)))})}}),(0,gs.jsxs)(us.BaseControl,{id:(0,bs.__)("Bezier","ghostkit"),label:(0,bs.__)("Bezier","ghostkit"),className:"ghostkit-component-easing-controls-bezier",__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(mg,{value:a[0],onChange:e=>s({easing:[Dr(parseFloat(e),2),a[1],a[2],a[3]]}),onPaste:e=>u(e),min:0,max:1,step:.01}),(0,gs.jsx)(mg,{value:a[1],onChange:e=>s({easing:[a[0],Dr(parseFloat(e),2),a[2],a[3]]}),onPaste:e=>u(e),min:-5,max:5,step:.01}),(0,gs.jsx)(mg,{value:a[2],onChange:e=>s({easing:[a[0],a[1],Dr(parseFloat(e),2),a[3]]}),onPaste:e=>u(e),min:0,max:1,step:.01}),(0,gs.jsx)(mg,{value:a[3],onChange:e=>s({easing:[a[0],a[1],a[2],Dr(parseFloat(e),2)]}),onPaste:e=>u(e),min:-5,max:5,step:.01})]}),(0,gs.jsx)(mg,{label:(0,bs.__)("Duration","ghostkit"),suffix:"s ",value:t?.duration||0,onChange:e=>s({duration:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"90px",min:0,max:10,step:.01}),o&&(0,gs.jsx)(mg,{label:(0,bs.__)("Delay","ghostkit"),suffix:"s ",value:t?.delay||0,onChange:e=>s({delay:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"90px",min:0,max:10,step:.01}),(0,gs.jsx)(pg,{label:(0,bs.__)("Preview","ghostkit"),options:{type:"easing",duration:t?.duration||0,easing:a}})]})}const yg={fade:{label:(0,bs.__)("Fade In","ghostkit"),icon:Cr("sr-fade"),data:{opacity:0}},zoom:{label:(0,bs.__)("Zoom In","ghostkit"),icon:Cr("sr-zoom"),data:{scale:.9}},"zoom-up":{label:(0,bs.__)("Zoom In From Bottom","ghostkit"),icon:Cr("sr-zoom-from-bottom"),data:{y:50,scale:.9}},"zoom-left":{label:(0,bs.__)("Zoom In From Left","ghostkit"),icon:Cr("sr-zoom-from-left"),data:{x:-50,scale:.9}},"zoom-right":{label:(0,bs.__)("Zoom In From Right","ghostkit"),icon:Cr("sr-zoom-from-right"),data:{x:50,scale:.9}}};function wg(e){const{label:t,value:n,onChange:o}=e,[i,r]=(0,vs.useState)();(0,vs.useEffect)((()=>{let e="custom";const t={...n||{}};t?.transition&&delete t.transition,Object.keys(yg).forEach((n=>{const o={...yg[n].data};o?.transition&&delete o.transition,JSON.stringify(t)===JSON.stringify(o)&&(e=n)})),r(e)}),[i,n]);const s=[..."custom"===i?[{value:"custom",label:(0,bs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(yg).map((e=>({value:e,label:yg[e].label,icon:yg[e].icon})))],a={value:i,label:i};return a.value&&s.forEach((e=>{a.value===e.value&&(a.label=e.label)})),(0,Ke.createElement)(Ud,{label:t,value:a,onChange:e=>{yg?.[e.value]?.data&&o(yg[e.value].data)},options:s,isSearchable:!1})}const kg={stiffness:300,damping:35,mass:2,delay:0},_g={default:{label:(0,bs.__)("Default","ghostkit"),stiffness:300,damping:35,mass:2,delay:0},gentle:{label:(0,bs.__)("Gentle","ghostkit"),stiffness:100,damping:14,mass:1,delay:0},wobbly:{label:(0,bs.__)("Wobbly","ghostkit"),stiffness:200,damping:10,mass:1,delay:0},slow:{label:(0,bs.__)("Slow","ghostkit"),stiffness:8,damping:4,mass:1,delay:0},molasses:{label:(0,bs.__)("Molasses","ghostkit"),stiffness:10,damping:20,mass:4,delay:0}},xg=us.__stableNumberControl||us.__experimentalNumberControl,Cg=us.__stableGrid||us.__experimentalGrid,{Motion:{spring:Sg}}=window;function Eg(e){const{value:t,variant:n="",backgroundColor:o}=e,[i,r]=(0,vs.useState)(""),[s,a]=(0,vs.useState)(null);let l={width:228,height:140,padding:10,curveColor:"#bfbfbf",curveWidth:2,framesLength:2e3};return"preview"===n&&(l={...l,width:20,height:20,padding:3,curveColor:"#fff",curveWidth:1.5}),(0,vs.useEffect)((()=>{const e=Sg({stiffness:t?.stiffness,damping:t?.damping,mass:t?.mass,keyframes:[0,l.framesLength]}),n=l.width-2*l.padding,o=l.height-2*l.padding,i=[];for(let t=0;t<=l.framesLength;t++){const r=(l.framesLength-e.next(t).value)/l.framesLength,s=Dr(t/l.framesLength*n,4)+l.padding,a=Dr(r*o/2,4)+o/2+l.padding;i.push([s,a])}let s=`M${l.padding}`;for(let e=0,t=i.length;e{let e="custom";Object.keys(_g).forEach((n=>{t?.stiffness===_g[n].stiffness&&t?.damping===_g[n].damping&&t?.mass===_g[n].mass&&(e=n)})),r(e)}),[i,t]);const a=[..."custom"===i?[{value:"custom",label:(0,bs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(_g).map((e=>({value:e,label:_g[e].label})))],l={value:i,label:i};return l.value&&a.forEach((e=>{l.value===e.value&&(l.label=e.label)})),(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Ud,{value:l,onChange:({value:e})=>{_g?.[e]?.stiffness&&s({stiffness:_g[e].stiffness,damping:_g[e].damping,mass:_g[e].mass})},options:a,isSearchable:!1}),(0,gs.jsx)(Eg,{value:t}),(0,gs.jsxs)(Cg,{columns:3,children:[(0,gs.jsx)(xg,{label:(0,bs.__)("Stiffness","ghostkit"),value:t?.stiffness,onChange:e=>s({stiffness:parseFloat(e)}),min:1,max:1e3,step:1}),(0,gs.jsx)(xg,{label:(0,bs.__)("Damping","ghostkit"),value:t?.damping,onChange:e=>s({damping:parseFloat(e)}),min:0,max:100,step:.1}),(0,gs.jsx)(xg,{label:(0,bs.__)("Mass","ghostkit"),value:t?.mass,onChange:e=>s({mass:parseFloat(e)}),min:0,max:10,step:.05})]}),o&&(0,gs.jsx)(xg,{label:(0,bs.__)("Delay","ghostkit"),suffix:"s ",value:t?.delay||0,onChange:e=>s({delay:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"90px",min:0,max:10,step:.01}),(0,gs.jsx)(pg,{label:(0,bs.__)("Preview","ghostkit"),options:{type:"spring",stiffness:t?.stiffness,damping:t?.damping,mass:t?.mass}})]})}function Tg(e){const{label:t,value:n,onChange:o,enableEasing:i=!0,enableSpring:r=!0,enableDelayControl:s=!0,allowReset:a=!1}=e,[l,c]=(0,vs.useState)(!1);let u=n?.easing;u&&4===u.length||(u=gg.easing);let h="";const d=a&&n&&(0,gs.jsx)("span",{className:"ghostkit-component-transition-selector-reset",onClick:e=>{e.preventDefault(),e.stopPropagation(),c(!1),o(void 0)},onKeyDown:()=>{},role:"button",tabIndex:0,children:(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",children:(0,gs.jsx)("path",{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})});return h="easing"===n?.type?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(vg,{variant:"preview",value:u}),(0,bs.__)("Easing","ghostkit"),d]}):"spring"===n?.type?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Eg,{variant:"preview",value:n}),(0,bs.__)("Spring","ghostkit"),d]}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Eg,{variant:"preview",value:{type:"spring",stiffness:930,damping:40,mass:6,delay:0},backgroundColor:"#c3c3c3"}),(0,bs.__)("Add…","ghostkit")]}),!(!i&&!r)&&(0,gs.jsx)(us.BaseControl,{id:t,label:t,__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)(ks,{label:h,className:"ghostkit-component-transition-selector",contentClassName:"ghostkit-component-transition-selector-content",isOpenTransition:l,onToggle:e=>{c(e)},onClick:e=>{if("spring"===n?.type||"easing"===n?.type)e();else{const e={type:"spring",...kg};delete e.label,o(e)}},children:[i&&r&&(0,gs.jsx)(lg,{value:n?.type||"spring",options:[{label:(0,bs.__)("Easing","ghostkit"),value:"easing"},{label:(0,bs.__)("Spring","ghostkit"),value:"spring"}],onChange:e=>{const t="easing"===e?{type:"easing",...gg}:{type:"spring",...kg};delete t.label,o(t)},isBlock:!0}),r&&"easing"!==n?.type&&(0,gs.jsx)(Ag,{value:n,onChange:e=>{o(e)},enableDelayControl:s}),i&&"easing"===n?.type&&(0,gs.jsx)(bg,{value:n,onChange:e=>{o(e)},enableDelayControl:s})]})})}const{GHOSTKIT:$g}=window,{version:Mg}=window.ghostkitVariables;function Rg(e){return""===e?(0,bs.__)("Default Site Font","ghostkit"):e}function jg(e){let t="";switch(e){case"":t=(0,bs.__)("Default","ghostkit");break;case"100":t=(0,bs.__)("Thin","ghostkit");break;case"100i":t=(0,bs.__)("Thin Italic","ghostkit");break;case"200":t=(0,bs.__)("Extra Light","ghostkit");break;case"200i":t=(0,bs.__)("Extra Light Italic","ghostkit");break;case"300":t=(0,bs.__)("Light","ghostkit");break;case"300i":t=(0,bs.__)("Light Italic","ghostkit");break;case"400":t=(0,bs.__)("Regular","ghostkit");break;case"400i":t=(0,bs.__)("Regular Italic","ghostkit");break;case"500":t=(0,bs.__)("Medium","ghostkit");break;case"500i":t=(0,bs.__)("Medium Italic","ghostkit");break;case"600":t=(0,bs.__)("Semi Bold","ghostkit");break;case"600i":t=(0,bs.__)("Semi Bold Italic","ghostkit");break;case"700":t=(0,bs.__)("Bold","ghostkit");break;case"700i":t=(0,bs.__)("Bold Italic","ghostkit");break;case"800":t=(0,bs.__)("Extra Bold","ghostkit");break;case"800i":t=(0,bs.__)("Extra Bold Italic","ghostkit");break;case"900":t=(0,bs.__)("Black","ghostkit");break;case"900i":t=(0,bs.__)("Black Italic","ghostkit")}return t}function Og(e,t){const{fonts:n}=$g,o=[];return""!==e&&""!==t&&void 0!==e&&void 0!==t&&void 0!==n[t]&&Object.keys(n[t].fonts).forEach((i=>{n[t].fonts[i].name===e&&Object.keys(n[t].fonts[i].widths).forEach((e=>{const r=n[t].fonts[i].widths[e];o.push({value:r,label:jg(r)})}))})),o}class Lg extends vs.Component{render(){let{fontFamilyCategory:e}=this.props;e="default"===e?"google-fonts":e;const{onChange:t,placeholders:n,label:o,fontFamily:i,fontWeight:r,fontSize:s,lineHeight:a,letterSpacing:l,childOf:c,fontWeights:u=Og(Rg(i),e)}=this.props,h=`icon-typography-${e}`,d=(0,os.applyFilters)("ghostkit.typography.allow.fonts","adobe-fonts"!==e&&"custom-fonts"!==e,e),p={value:i,label:Rg(i),fontFamilyCategory:e},g={value:r,label:jg(r)},f=void 0===s?"":s,m=function(e="google-fonts"){const{fonts:t}=$g,n=[];return Object.keys(t).forEach((o=>{Object.keys(t[o].fonts).forEach((i=>{const r=t[o].fonts[i];let s=r.name;"default"===o&&(s=""),e!==o&&"default"!==o||n.push({value:s,label:r.label||r.name,fontFamilyCategory:o})}))})),n}(e);return p.value&&m.forEach((e=>{p.value===e.value&&(p.label=e.label)})),(0,Ke.createElement)("div",{className:"ghostkit-typography"+(c?` ghostkit-typography-child ghostkit-typography-child-of-${c}`:"")},(0,Ke.createElement)("h4",null,o),(0,Ke.createElement)("div",{className:"ghostkit-control-typography"},void 0!==e?(0,Ke.createElement)(us.DropdownMenu,{icon:Cr(h,!1),label:(0,bs.__)("Font Family Category","ghostkit"),popoverProps:{position:"bottom right"},menuProps:{className:"ghostkit-typography-font-category-control-menu"},toggleProps:{className:"ghostkit-typography-font-category-control-toggle"},hasArrowIndicator:!0},(({onClose:e})=>(0,Ke.createElement)(us.MenuGroup,null,(0,Ke.createElement)(us.MenuItem,{icon:Cr("icon-typography-google-fonts",!1),onClick:()=>{t({fontFamilyCategory:"google-fonts",fontFamily:"",fontWeight:""}),e()}},(0,bs.__)("Google Fonts","ghostkit")),(0,Ke.createElement)(us.MenuItem,{icon:Cr("icon-typography-adobe-fonts",!1),onClick:()=>{t({fontFamilyCategory:"adobe-fonts",fontFamily:"",fontWeight:""}),e()}},(0,bs.__)("Adobe Fonts","ghostkit"),(0,Ke.createElement)("span",{className:"ghostkit-typography-badge-pro"},(0,bs.__)("PRO","ghostkit"))),(0,Ke.createElement)(us.MenuItem,{icon:Cr("icon-typography-custom-fonts",!1),onClick:()=>{t({fontFamilyCategory:"custom-fonts",fontFamily:"",fontWeight:""}),e()}},(0,bs.__)("Custom Fonts","ghostkit"),(0,Ke.createElement)("span",{className:"ghostkit-typography-badge-pro"},(0,bs.__)("PRO","ghostkit")))))):null,(0,Ke.createElement)(is,{name:"ghostkit.typography.fontFamilySelector.info",props:this.props},"adobe-fonts"===e?(0,Ke.createElement)("div",{className:"ghostkit-typography-information-control ghostkit-typography-font-control"},(0,bs.__)("Adobe Fonts available for Pro users only. Read more about Ghost Kit Pro plugin here - ","ghostkit"),(0,Ke.createElement)(us.ExternalLink,{href:`https://www.ghostkit.io/pricing/?utm_source=plugin&utm_medium=settings&utm_campaign=adobe_fonts&utm_content=${Mg}`},"https://www.ghostkit.io/pricing/")):null,"custom-fonts"===e?(0,Ke.createElement)("div",{className:"ghostkit-typography-information-control ghostkit-typography-font-control"},(0,bs.__)("Custom Fonts available for Pro users only. Read more about Ghost Kit Pro plugin here - ","ghostkit"),(0,Ke.createElement)(us.ExternalLink,{href:`https://www.ghostkit.io/pricing/?utm_source=plugin&utm_medium=settings&utm_campaign=custom_fonts&utm_content=${Mg}`},"https://www.ghostkit.io/pricing/")):null),void 0!==i&&d?(0,Ke.createElement)("div",{className:"ghostkit-typography-font-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Font Family","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Ud,{value:p,onChange:n=>{t({fontFamily:n&&n.value?n.value:"",fontWeight:n&&n.value?"400":"",fontFamilyCategory:e})},options:m,placeholder:(0,bs.__)("--- Select Font Family ---","ghostkit"),className:"ghostkit-typography-font-selector",menuPosition:"fixed"})))):null,void 0!==r&&d?(0,Ke.createElement)("div",{className:"ghostkit-typography-weight-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Font Weight","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Ud,{value:g,onChange:e=>{t({fontWeight:e&&e.value?e.value:""})},options:u,placeholder:(0,bs.__)("--- Select Weight ---","ghostkit"),className:"ghostkit-typography-weight-selector",classNamePrefix:"ghostkit-typography-weight-selector",menuPosition:"fixed"})))):null,void 0!==s?(0,Ke.createElement)("div",{className:"ghostkit-typography-size-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Font Size","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Zp,{value:f,placeholder:n["font-size"],onChange:e=>{t({fontSize:e})},autoComplete:"off",icon:Cr("icon-typography-font-size"),defaultUnit:"px"})))):null,void 0!==a?(0,Ke.createElement)("div",{className:"ghostkit-typography-line-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Line Height","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Zp,{value:a,placeholder:n["line-height"],onChange:e=>{t({lineHeight:e})},autoComplete:"off",icon:Cr("icon-typography-line-height"),step:.1})))):null,void 0!==l?(0,Ke.createElement)("div",{className:"ghostkit-typography-letter-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Letter Spacing","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Zp,{value:l,placeholder:n["letter-spacing"],onChange:e=>{t({letterSpacing:e})},autoComplete:"off",icon:Cr("icon-typography-letter-spacing"),defaultUnit:"em",step:.01})))):null))}}const Ig=window.wp.keycodes,Ng="noreferrer noopener";function Pg(e){const[t,n]=(0,vs.useState)(!1),{rel:o,target:i,url:r,ariaLabel:s,toolbarSettings:a=!0,inspectorSettings:l=!0,blockControlsGroup:c="block",isSelected:u}=e;function h(t){const n={rel:o,target:i,url:r,ariaLabel:s,...t};if(i!==n.target){let e=n.rel;n.target&&!n.rel?e=Ng:n.target||n.rel!==Ng||(e=void 0),n.rel=e}e.onChange(n)}function d(e){n(void 0!==e?e:!t)}function p(){return(0,gs.jsx)(ds.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:r,opensInNewTab:"_blank"===i},onChange:({url:e="",opensInNewTab:t})=>{h({url:e,target:t?"_blank":""})},onRemove:()=>{h({url:"",target:"",rel:""}),d(!1)}})}return(0,gs.jsxs)(gs.Fragment,{children:[a?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{group:c,children:(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarButton,{name:"link",icon:(0,gs.jsx)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false",children:(0,gs.jsx)("path",{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})}),title:(0,bs.__)("Link"),shortcut:Ig.displayShortcut.primary("k"),onClick:()=>d()})})}),u&&(0,gs.jsx)(us.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[Ig.rawShortcut.primary("k")]:d}}),t?(0,gs.jsx)(us.Popover,{position:"bottom center",onClose:()=>d(!1),children:p()}):null]}):null,l?(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Link Settings"),initialOpen:!1,className:"ghostkit-components-url-picker-inspector",children:[p(),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Link Rel"),value:o||"",onChange:e=>{h({rel:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Accessible Label"),value:s||"",onChange:e=>{h({ariaLabel:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}):null]})}function Dg(){return{ActiveIndicator:ns,ApplyFilters:is,CodeEditor:as,ColorIndicator:hs,ColorPalette:ps,ColorPicker:fs,DateTimePicker:ws,DropdownPicker:ks,EditorStyles:xs,ElementStateToggle:Cs,FocalPointPicker:Es,GoogleFonts:Zd,IconPicker:tp,ImagePicker:np,ImportantToggle:op,InputDrag:Zp,InputGroup:eg,MediaSizeSelector:ng,Modal:og,Notice:ig,RangeControl:rg,RemoveButton:sg,ResponsiveTabPanel:ag,ResponsiveToggle:Jp,Select:Ud,ToggleGroup:lg,transitionEasingControls:l,TransitionPresetsControl:wg,TransitionPreview:pg,TransitionSelector:Tg,transitionSpringControls:c,Typography:Lg,URLPicker:Pg}}const Bg=(0,Ze.createReduxStore)("ghostkit/base/components",{selectors:u,reducer:e=>e});function zg(e){return{type:"API_FETCH",request:e}}function Fg(e,t){return{type:"SET_IMAGE_TAG_DATA",query:e,image:t}}(0,Ze.register)(Bg);const Hg=window.wp.apiFetch;var Wg=n.n(Hg);function Vg({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}var Ug=n(5373),Gg=n.n(Ug);function qg({id:e,...t}){const n=Gg().stringify(t,{encode:!1});return`/ghostkit/v1/get_attachment_image/${e}${n?`?${n}`:""}`}function*Kg(e){const t=qg(e);return Fg(t,yield zg({path:t}))}function Yg(e,t){const n=qg(t);return e.images[n]}const Zg=(0,Ze.createReduxStore)("ghostkit/base/images",{reducer:function(e={images:{}},t={}){return"SET_IMAGE_TAG_DATA"===t.type?(!e.images[t.query]&&t.image&&(e.images[t.query]=t.image),e):e},selectors:g,actions:h,controls:d,resolvers:p});function Jg(e){return{type:"API_FETCH",request:e}}function Xg(e){return{type:"SET_TEMPLATES",templates:e}}function Qg(e){return{type:"SET_TEMPLATE_DATA",data:e}}function ef({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Zg);function*tf(){return Xg(yield Jg({path:"/ghostkit/v1/get_templates/"}))}function*nf(e){const t=`/ghostkit/v1/get_template_data/?id=${e}`,n=yield Jg({path:t});return n.id||(n.id=e),Qg(n)}function of(e){return e.templates}function rf(e,t){return e.templatesData[t]}const sf=(0,Ze.createReduxStore)("ghostkit/plugins/templates",{reducer:function(e={templates:!1,templatesData:{}},t={}){switch(t.type){case"SET_TEMPLATES":!e.templates&&t.templates&&(e.templates=t.templates);break;case"SET_TEMPLATE_DATA":t.templatesData&&t.templatesData.id&&!e.templatesData[t.templatesData.id]&&(e.templatesData[t.templatesData.id]=t.templatesData)}return e},selectors:b,actions:f,controls:m,resolvers:v});function af(e){return{type:"API_FETCH",request:e}}function lf(e){return{type:"SET_CUSTOM_CODE",data:e}}function cf(e){return{type:"UPDATE_CUSTOM_CODE",data:e}}function uf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(sf);function*hf(){return lf(yield af({path:"/ghostkit/v1/get_custom_code/"}))}function df(e){return e.data}function pf(e){return e.data}const gf=(0,Ze.createReduxStore)("ghostkit/plugins/custom-code",{reducer:function(e={data:!1},t={}){return"SET_CUSTOM_CODE"===t.type&&t.data?e.data?{data:(0,Xr.merge)(e.data,t.data)}:{data:t.data}:e},selectors:_,actions:y,controls:w,resolvers:k});function ff(e){return{type:"API_FETCH",request:e}}function mf(e,t){return{type:"SET_CUSTOMIZER_DATA",query:e,data:t}}function vf({request:e}){return Wg()(e).catch((async t=>t&&t.error&&"no_options_found"===t.error_code?(await async function(){return new Promise((e=>{const t=document.createElement("iframe");t.style.display="none",t.onload=()=>{t.parentNode.removeChild(t),e()},t.src=`${window.GHOSTKIT.adminUrl}customize.php`,document.body.appendChild(t)}))}(),Wg()(e)):t)).catch((e=>!(!e||!e.error||"no_options_found"!==e.error_code)&&{response:{},error:!1,success:!0})).then((e=>e&&e.success&&e.response?e.response:{}))}(0,Ze.register)(gf);function*bf(){const e="/ghostkit/v1/get_customizer/";return mf(e,yield ff({path:e}))}function yf(e){return e.data}const wf=(0,Ze.createReduxStore)("ghostkit/plugins/customizer",{reducer:function(e={data:!1},t={}){return"SET_CUSTOMIZER_DATA"===t.type&&!e.data&&t.data?{data:t.data}:e},selectors:E,actions:x,controls:C,resolvers:S});function kf(e){return{type:"API_FETCH",request:e}}function _f(e){return{type:"SET_CUSTOM_FONTS",data:e}}function xf(e){return{type:"UPDATE_CUSTOM_FONTS",data:e}}function Cf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(wf);function*Sf(){return _f(yield kf({path:"/ghostkit/v1/get_custom_fonts/"}))}function Ef(e){return e.data}function Af(e){return e.data}const Tf=(0,Ze.createReduxStore)("ghostkit/plugins/fonts",{reducer:function(e={data:!1},t={}){if("SET_CUSTOM_FONTS"===t.type&&t.data){if(e.data){let n=(0,Xr.merge)(e.data,t.data);return t.data.google&&t.data.google&&(n.google=t.data.google),n=(0,os.applyFilters)("ghostkit.store.fonts.reducer.result",n,t),{data:n}}return{data:t.data}}return e},selectors:M,actions:A,controls:T,resolvers:$});function $f(e){return{type:"API_FETCH",request:e}}function Mf(e){return{type:"SET_CUSTOM_TYPOGRAPHY",data:e}}function Rf(e){return{type:"UPDATE_CUSTOM_TYPOGRAPHY",data:e}}function jf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Tf);function*Of(){return Mf(yield $f({path:"/ghostkit/v1/get_custom_typography/"}))}function Lf(e){return e.data}function If(e){return e.data}const Nf=(0,Ze.createReduxStore)("ghostkit/plugins/typography",{reducer:function(e={data:!1},t={}){return"SET_CUSTOM_TYPOGRAPHY"===t.type&&t.data?e.data?{data:(0,Xr.merge)(e.data,t.data)}:{data:t.data}:e},selectors:L,actions:R,controls:j,resolvers:O});function Pf(e){return{type:"API_FETCH",request:e}}function Df(e,t){return{type:"SET_INSTAGRAM_FEED",query:e,feed:t}}function Bf(e,t){return{type:"SET_INSTAGRAM_PROFILE",query:e,profile:t}}function zf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Nf);function Ff(e,t){const n=Gg().stringify(t,{encode:!1});return`/ghostkit/v1/get_instagram_${e}/${n?`?${n}`:""}`}function*Hf(e){const t=Ff("feed",e);return Df(t,yield Pf({path:t}))}function*Wf(e){const t=Ff("profile",e);return Bf(t,yield Pf({path:t}))}function Vf(e,t){const n=Ff("feed",t);return e.feeds[n]}function Uf(e,t){const n=Ff("profile",t);return e.profiles[n]}const Gf=(0,Ze.createReduxStore)("ghostkit/blocks/instagram",{reducer:function(e={feeds:{},profiles:{}},t={}){switch(t.type){case"SET_INSTAGRAM_FEED":!e.feeds[t.query]&&t.feed&&(e.feeds[t.query]=t.feed);break;case"SET_INSTAGRAM_PROFILE":!e.profiles[t.query]&&t.profile&&(e.profiles[t.query]=t.profile)}return e},selectors:D,actions:I,controls:N,resolvers:P});function qf(e){return{type:"API_FETCH",request:e}}function Kf(e,t){return{type:"SET_TWITTER_FEED",query:e,feed:t}}function Yf(e,t){return{type:"SET_TWITTER_PROFILE",query:e,profile:t}}function Zf({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Gf);function Jf(e,t){const n=Gg().stringify(t,{encode:!1});return`/ghostkit/v1/get_twitter_${e}/${n?`?${n}`:""}`}function*Xf(e){const t=Jf("feed",e);return Kf(t,yield qf({path:t}))}function*Qf(e){const t=Jf("profile",e);return Yf(t,yield qf({path:t}))}function em(e,t){const n=Jf("feed",t);return e.feeds[n]}function tm(e,t){const n=Jf("profile",t);return e.profiles[n]}const nm=(0,Ze.createReduxStore)("ghostkit/blocks/twitter",{reducer:function(e={feeds:{},profiles:{}},t={}){switch(t.type){case"SET_TWITTER_FEED":!e.feeds[t.query]&&t.feed&&(e.feeds[t.query]=t.feed);break;case"SET_TWITTER_PROFILE":!e.profiles[t.query]&&t.profile&&(e.profiles[t.query]=t.profile)}return e},selectors:H,actions:B,controls:z,resolvers:F});function om(e){return{type:"API_FETCH",request:e}}function im(e,t){return{type:"SET_TOC",query:e,toc:t}}function rm({request:e}){return Wg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(nm);function sm(e){const t=Gg().stringify(e,{encode:!0});return"/ghostkit/v1/get_table_of_contents/"+(t?`?${t}`:"")}function*am(e){const t=sm(e);return im(t,yield om({path:t}))}function lm(e,t){const n=sm(t);return e.toc[n]}const cm=(0,Ze.createReduxStore)("ghostkit/blocks/table-of-contents",{reducer:function(e={toc:{}},t={}){return"SET_TOC"===t.type&&!e.toc[t.query]&&t.toc&&(e.toc[t.query]=t.toc),e},selectors:G,actions:W,controls:V,resolvers:U});(0,Ze.register)(cm);const um=window.wp.blocks,hm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/accordion","category":"ghostkit","title":"Accordion","description":"Toggle the visibility of content across your project.","keywords":["accordion","collapsible","collapse"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"itemsCount":{"type":"number","default":2},"collapseOne":{"type":"boolean","default":false},"collapseTitleTag":{"type":"string","default":"div"}},"providesContext":{"ghostkit/collapseTitleTag":"collapseTitleTag"}}'),dm="ghostkit/accordion-item",{name:pm}=hm,gm={from:[{type:"block",blocks:["ghostkit/tabs-v2"],transform(e,t){const{tabsData:n,tabActive:o}=e;return(0,um.createBlock)("ghostkit/accordion",{itemsCount:t.length},t.map(((e,t)=>(0,um.createBlock)("ghostkit/accordion-item",{heading:n[t]?n[t].title:(0,bs.__)("Accordion Item","ghostkit"),active:!!n[t]&&n[t].slug===o},e.innerBlocks))))}}]},{name:fm}=hm,mm={icon:Cr("block-accordion",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/accordion/"},example:{innerBlocks:[{name:"ghostkit/accordion-item",attributes:{active:!0,heading:"Accordion Item 1",itemNumber:1},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},{name:"ghostkit/accordion-item",attributes:{active:!1,heading:"Accordion Item 2",itemNumber:2}}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{itemsCount:r,collapseOne:s,collapseTitleTag:a}=t,{isSelectedBlockInRoot:l,count:c}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,hasSelectedInnerBlock:n,getBlockCount:i}=e("core/block-editor");return{isSelectedBlockInRoot:t(o)||n(o,!0),count:i(o)}}),[o]);(0,vs.useEffect)((()=>{c!==r&&n({itemsCount:c})}),[c,r,n]);const{insertBlock:u}=(0,Ze.useDispatch)("core/block-editor");i=cs()(i,"ghostkit-accordion"),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const h=(0,ds.useBlockProps)(),d=(0,ds.useInnerBlocksProps)({className:i},{allowedBlocks:[dm],template:[[dm],[dm]]});return(0,gs.jsxs)("div",{...h,children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Collapse one item only","ghostkit"),checked:!!s,onChange:e=>n({collapseOne:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Collapse Title HTML Element","ghostkit"),value:a,options:[{value:"div",label:(0,bs.__)("Default (
    )","ghostkit")},{value:"h1",label:(0,bs.__)("

    ","ghostkit")},{value:"h2",label:(0,bs.__)("

    ","ghostkit")},{value:"h3",label:(0,bs.__)("

    ","ghostkit")},{value:"h4",label:(0,bs.__)("

    ","ghostkit")},{value:"h5",label:(0,bs.__)("

    ","ghostkit")},{value:"h6",label:(0,bs.__)("
    ","ghostkit")}],onChange:e=>n({collapseTitleTag:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}),(0,gs.jsx)("div",{...d}),l?(0,gs.jsx)("div",{className:"ghostkit-accordion-add-item",children:(0,gs.jsx)(us.Button,{variant:"secondary",icon:(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img",focusable:"false",children:(0,gs.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})}),onClick:()=>{u((0,um.createBlock)(dm),void 0,o)},children:(0,bs.__)("Add Accordion Item","ghostkit")})}):null]})},save:function(e){const{itemsCount:t,collapseOne:n}=e.attributes;let o=cs()("ghostkit-accordion",`ghostkit-accordion-${t}`,n&&"ghostkit-accordion-collapse-one");o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:pm,...e});const i=ds.useBlockProps.save({className:o}),r=ds.useInnerBlocksProps.save(i);return(0,Ke.createElement)("div",{...r})},transforms:gm},vm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/accordion-item","parent":["ghostkit/accordion"],"category":"ghostkit","title":"Item","description":"A single item within a accordion block.","supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"reusable":false,"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"usesContext":["ghostkit/collapseTitleTag"],"attributes":{"heading":{"type":"string","source":"html","selector":".ghostkit-accordion-item-label","default":"Accordion Item"},"titleTag":{"type":"string","default":"div"},"slug":{"type":"string"},"active":{"type":"boolean","default":false}}}'),{name:bm}=vm,ym=[{...vm,save:function(e){const{attributes:t}=e,{heading:n,active:o,slug:i,titleTag:r}=t;let s=cs()("ghostkit-accordion-item",o&&"ghostkit-accordion-item-active");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:bm,...e});const a=r||"div",l=ds.useBlockProps.save({className:s}),c=ds.useInnerBlocksProps.save({className:"ghostkit-accordion-item-content"});return(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(a,{className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)("a",{href:`#${i}`},(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-accordion-item-label",tagName:"span",value:n}),(0,Ke.createElement)("span",{className:"ghostkit-accordion-item-collapse"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"}))))),(0,Ke.createElement)("div",{...c}))}},{...vm,save:class extends vs.Component{render(){const{attributes:e}=this.props,{heading:t,active:n,slug:o}=e;let i=cs()("ghostkit-accordion-item",n&&"ghostkit-accordion-item-active");return i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:bm,...this.props}),(0,Ke.createElement)("div",{className:i},(0,Ke.createElement)("a",{href:`#${o}`,className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-accordion-item-label",tagName:"span",value:t}),(0,Ke.createElement)("span",{className:"ghostkit-accordion-item-collapse"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"})))),(0,Ke.createElement)("div",{className:"ghostkit-accordion-item-content"},(0,Ke.createElement)(ds.InnerBlocks.Content,null)))}}}],{name:wm}=vm,{name:km}=vm,_m={icon:Cr("block-accordion-item",!0),edit:function(e){const{attributes:t,setAttributes:n,context:o,clientId:i}=e,{heading:r,slug:s,active:a,titleTag:l}=t,c=(0,vs.useRef)(),u=o["ghostkit/collapseTitleTag"]||"div";(0,vs.useEffect)((()=>{if(c.current){const e=Ir(`accordion ${r}`,i);n({slug:e})}else c.current=!0}),[r,s]),(0,vs.useEffect)((()=>{l!==u&&n({titleTag:u})}),[u,n,l]);let h=cs()(t.className,"ghostkit-accordion-item",a&&"ghostkit-accordion-item-active");h=(0,os.applyFilters)("ghostkit.editor.className",h,e);const{hasChildBlocks:d}=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return{hasChildBlocks:!!t&&t.getBlockOrder(i).length>0}}),[i]),p=l||"div",g=(0,ds.useBlockProps)({className:h,"data-accordion":s}),f=(0,ds.useInnerBlocksProps)({id:`${s}-content`,className:"ghostkit-accordion-item-content"},{templateLock:!1,renderAppender:d?void 0:ds.InnerBlocks.ButtonBlockAppender});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:Cr("block-accordion-collapse"),label:(0,bs.__)("Collapse","ghostkit"),onClick:()=>n({active:!a}),isActive:a}))),(0,Ke.createElement)("div",{...g},(0,Ke.createElement)(p,{className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)(ds.RichText,{tagName:"div",id:`${s}-button`,className:"ghostkit-accordion-item-label",placeholder:(0,bs.__)("Write label…","ghostkit"),value:r,onChange:e=>{n({heading:e})},withoutInteractiveFormatting:!0}),(0,Ke.createElement)("button",{className:"ghostkit-accordion-item-collapse",onClick:()=>n({active:!a})},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"})))),(0,Ke.createElement)("div",{...f})))},save:function(e){const{attributes:t}=e,{heading:n,active:o,slug:i,titleTag:r}=t;let s=cs()("ghostkit-accordion-item",o&&"ghostkit-accordion-item-active");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:wm,...e});const a=r||"div",l=ds.useBlockProps.save({className:s,"data-accordion":i}),c=ds.useInnerBlocksProps.save({id:`${i}-content`,className:"ghostkit-accordion-item-content",role:"region","aria-labelledby":`${i}-button`});return(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(a,{className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)("button",{type:"button",id:`${i}-button`,"aria-expanded":o?"true":"false","aria-controls":`${i}-content`},(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-accordion-item-label",tagName:"span",value:n}),(0,Ke.createElement)("span",{className:"ghostkit-accordion-item-collapse"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"}))))),(0,Ke.createElement)("div",{...c}))},deprecated:ym},xm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/alert","category":"ghostkit","title":"Alert","description":"Provide contextual feedback messages for user actions.","keywords":["alert","notification"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"color":{"type":"string"},"hoverColor":{"type":"string"},"icon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.8681%204.0311C12.7806%203.87815%2012.6542%203.75104%2012.5018%203.66263C12.3494%203.57422%2012.1763%203.52766%2012.0001%203.52766C11.8239%203.52766%2011.6508%203.57422%2011.4984%203.66263C11.346%203.75104%2011.2196%203.87815%2011.1321%204.0311L3.14706%2018.0041C3.06016%2018.1562%203.01475%2018.3285%203.01539%2018.5037C3.01602%2018.6789%203.06268%2018.8509%203.15068%2019.0024C3.23868%2019.1539%203.36494%2019.2796%203.51682%2019.367C3.66869%2019.4543%203.84085%2019.5002%204.01606%2019.5001H19.9841C20.1593%2019.5002%2020.3315%2019.4543%2020.4833%2019.367C20.6352%2019.2796%2020.7615%2019.1539%2020.8495%2019.0024C20.9375%2018.8509%2020.9841%2018.6789%2020.9848%2018.5037C20.9854%2018.3285%2020.94%2018.1562%2020.8531%2018.0041L12.8681%204.0301V4.0311ZM9.83006%203.2871C10.7901%201.6071%2013.2121%201.6071%2014.1721%203.2871L22.1561%2017.2601C23.1081%2018.9261%2021.9051%2021.0001%2019.9861%2021.0001H4.01406C2.09506%2021.0001%200.892055%2018.9261%201.84406%2017.2601L9.82906%203.2871H9.83006ZM12.0001%207.9631C12.199%207.9631%2012.3898%208.04212%2012.5304%208.18277C12.6711%208.32342%2012.7501%208.51419%2012.7501%208.7131V12.2501C12.7501%2012.449%2012.6711%2012.6398%2012.5304%2012.7804C12.3898%2012.9211%2012.199%2013.0001%2012.0001%2013.0001C11.8012%2013.0001%2011.6104%2012.9211%2011.4698%2012.7804C11.3291%2012.6398%2011.2501%2012.449%2011.2501%2012.2501V8.7131C11.2501%208.51419%2011.3291%208.32342%2011.4698%208.18277C11.6104%208.04212%2011.8012%207.9631%2012.0001%207.9631ZM12.0001%2015.0001C11.7349%2015.0001%2011.4805%2015.1055%2011.293%2015.293C11.1055%2015.4805%2011.0001%2015.7349%2011.0001%2016.0001C11.0001%2016.2653%2011.1055%2016.5197%2011.293%2016.7072C11.4805%2016.8948%2011.7349%2017.0001%2012.0001%2017.0001C12.2653%2017.0001%2012.5197%2016.8948%2012.7072%2016.7072C12.8947%2016.5197%2013.0001%2016.2653%2013.0001%2016.0001C13.0001%2015.7349%2012.8947%2015.4805%2012.7072%2015.293C12.5197%2015.1055%2012.2653%2015.0001%2012.0001%2015.0001Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"iconSize":{"type":"number"},"hideButton":{"type":"boolean","default":false}}}'),{name:Cm}=xm,Sm={from:[{type:"block",blocks:["ghostkit/counter-box"],transform:(e,t)=>(0,um.createBlock)("ghostkit/alert",{iconSize:e.numberSize,color:e.numberColor,hoverColor:e.hoverNumberColor},t)},{type:"block",blocks:["ghostkit/icon-box"],transform:(e,t)=>(0,um.createBlock)("ghostkit/alert",{iconSize:e.iconSize,color:e.iconColor,hoverColor:e.hoverIconColor},t)}]},{name:Em}=xm,Am={icon:Cr("block-alert",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/alert/",customStylesCallback(e){const t={"--gkt-alert__border-color":e.color||void 0,"--gkt-alert--icon__font-size":void 0,"--gkt-alert--icon__color":e.color||void 0,"&:hover":{"--gkt-alert__border-color":e.hoverColor||void 0,"--gkt-alert--icon__color":e.hoverColor||void 0}};return void 0!==e.iconSize&&""!==e.iconSize&&(t["--gkt-alert--icon__font-size"]=`${e.iconSize}px`),t}},example:{attributes:{color:"#E47F3B",ghostkit:{id:"example-alert"},className:"ghostkit-custom-example-alert"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},edit:function(e){const{attributes:t,setAttributes:n}=e;let{className:o=""}=e;const{color:i,hoverColor:r,icon:s,iconSize:a,hideButton:l}=t,c=(0,Ze.useSelect)((t=>{const n=t("core/block-editor");return!!n&&n.getBlockOrder(e.clientId).length>0}),[e.clientId]);o=cs()("ghostkit-alert",o),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const u=(0,ds.useBlockProps)({className:o}),h=(0,ds.useInnerBlocksProps)({className:"ghostkit-alert-content"},{renderAppender:c?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarDropdownMenu,{icon:"info",label:(0,bs.__)("Type","ghostkit"),controls:[{title:(0,bs.__)("Primary","ghostkit"),icon:"editor-help",isActive:"#2E77C3"===i,onClick:()=>n({color:"#2E77C3"})},{title:(0,bs.__)("Success","ghostkit"),icon:"marker",isActive:"#22CF6E"===i,onClick:()=>n({color:"#22CF6E"})},{title:(0,bs.__)("Danger","ghostkit"),icon:"dismiss",isActive:"#DC3232"===i,onClick:()=>n({color:"#DC3232"})},{title:(0,bs.__)("Warning","ghostkit"),icon:"warning",isActive:"#E47F3B"===i,onClick:()=>n({color:"#E47F3B"})},{title:(0,bs.__)("Info","ghostkit"),icon:"info",isActive:"#2DC7E8"===i,onClick:()=>n({color:"#2DC7E8"})}]})})}),(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,gs.jsx)(rg,{label:(0,bs.__)("Icon Size","ghostkit"),value:a,onChange:e=>n({iconSize:e}),min:20,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Dismiss button","ghostkit"),checked:!!l,onChange:e=>n({hideButton:e}),__nextHasNoMarginBottom:!0})}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:i})]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Color","ghostkit"),value:o?r:i,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0})})}})})]}),(0,gs.jsxs)("div",{...u,children:[s?(0,gs.jsx)("div",{className:"ghostkit-alert-icon",children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null,(0,gs.jsx)("div",{...h}),l?(0,gs.jsx)("div",{className:"ghostkit-alert-hide-button",children:(0,gs.jsx)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M6.21967 6.21967C6.51256 5.92678 6.98744 5.92678 7.28033 6.21967L12 10.9393L16.7197 6.21967C17.0126 5.92678 17.4874 5.92678 17.7803 6.21967C18.0732 6.51256 18.0732 6.98744 17.7803 7.28033L13.0607 12L17.7803 16.7197C18.0732 17.0126 18.0732 17.4874 17.7803 17.7803C17.4874 18.0732 17.0126 18.0732 16.7197 17.7803L12 13.0607L7.28033 17.7803C6.98744 18.0732 6.51256 18.0732 6.21967 17.7803C5.92678 17.4874 5.92678 17.0126 6.21967 16.7197L10.9393 12L6.21967 7.28033C5.92678 6.98744 5.92678 6.51256 6.21967 6.21967Z",fill:"currentColor"})})}):null]})]})},save:function(e){const{icon:t,hideButton:n}=e.attributes;let o="ghostkit-alert";o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:Cm,...e});const i=ds.useBlockProps.save({className:o}),r=ds.useInnerBlocksProps.save({className:"ghostkit-alert-content"});return(0,Ke.createElement)("div",{...i},t?(0,Ke.createElement)(tp.Render,{name:t,tag:"div",className:"ghostkit-alert-icon"}):null,(0,Ke.createElement)("div",{...r}),n?(0,Ke.createElement)("div",{className:"ghostkit-alert-hide-button"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M6.21967 6.21967C6.51256 5.92678 6.98744 5.92678 7.28033 6.21967L12 10.9393L16.7197 6.21967C17.0126 5.92678 17.4874 5.92678 17.7803 6.21967C18.0732 6.51256 18.0732 6.98744 17.7803 7.28033L13.0607 12L17.7803 16.7197C18.0732 17.0126 18.0732 17.4874 17.7803 17.7803C17.4874 18.0732 17.0126 18.0732 16.7197 17.7803L12 13.0607L7.28033 17.7803C6.98744 18.0732 6.51256 18.0732 6.21967 17.7803C5.92678 17.4874 5.92678 17.0126 6.21967 16.7197L10.9393 12L6.21967 7.28033C5.92678 6.98744 5.92678 6.51256 6.21967 6.21967Z",fill:"currentColor"}))):null)},transforms:Sm},Tm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/button","category":"ghostkit","title":"Buttons","description":"Change important links to buttons to get more click rate.","keywords":["btn","button"],"supports":{"html":false,"className":false,"anchor":true},"attributes":{"align":{"type":"string","default":"none"},"count":{"type":"number","default":1},"gap":{"type":"string","default":"md"},"gapCustom":{"type":"number"},"gapCustomVertical":{"type":"number"}}}'),$m={no:0,sm:15,md:30,lg:45};function Mm(e){const{gap:t,gapCustom:n,gapVerticalCustom:o,allowVerticalGap:i,onChange:r}=e;return(0,gs.jsxs)(us.BaseControl,{id:(0,bs.__)("Gap","ghostkit"),label:(0,bs.__)("Gap","ghostkit"),className:"ghostkit-components-gap-settings",__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(lg,{value:t,options:[{label:(0,bs.__)("None","ghostkit"),value:"no"},{label:(0,bs.__)("S","ghostkit"),value:"sm"},{label:(0,bs.__)("M","ghostkit"),value:"md"},{label:(0,bs.__)("L","ghostkit"),value:"lg"},{label:(0,gs.jsx)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false",children:(0,gs.jsx)("path",{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z",fill:"currentColor"})}),value:"custom"}],onChange:e=>{const n={gap:e};"custom"===e&&"custom"!==t&&void 0!==$m[t]&&(n.gapCustom=$m[t]),"custom"!==e&&(n.gapVerticalCustom=void 0),r(n)},isBlock:!0}),"custom"===t?(0,gs.jsxs)("div",{className:"ghostkit-components-gap-settings-custom",children:[(0,gs.jsx)(us.TextControl,{type:"number",help:i?(0,bs.__)("Horizontal","ghostkit"):"",value:n,onChange:e=>r({gapCustom:""===e?void 0:parseFloat(e)}),min:0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),i?(0,gs.jsx)(us.TextControl,{type:"number",help:(0,bs.__)("Vertical","ghostkit"),placeholder:n,value:o,onChange:e=>r({gapVerticalCustom:""===e?void 0:parseFloat(e)}),min:0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}):null]})}const Rm="ghostkit/button-single",{name:jm}=Tm,Om={from:[{type:"block",blocks:["core/button"],transform:e=>(0,um.createBlock)("ghostkit/button",{align:e.align,count:1},[(0,um.createBlock)("ghostkit/button-single",{url:e.url,text:e.text})])}]},{name:Lm}=Tm,Im={icon:Cr("block-buttons",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/button/",customStylesCallback(e){const{gap:t,gapCustom:n,gapVerticalCustom:o}=e,i={"--gkt-button__gap":void 0,"--gkt-button__gap-vertical":void 0};if("custom"===t){if(void 0!==n){const e=n?"px":"%";i["--gkt-button__gap"]=`${n}${e}`}if(void 0!==o){const e=o?"px":"%";i["--gkt-button__gap-vertical"]=`${o}${e}`}}return i}},example:{attributes:{count:2,align:"center",gap:"lg"},innerBlocks:[{name:"ghostkit/button-single",attributes:{text:"Button 1",size:"xl",color:"#0366d6",ghostkit:{id:"example-button-1"},className:"ghostkit-custom-example-button-1"}},{name:"ghostkit/button-single",attributes:{text:"Button 2",size:"xl",color:"#2F1747",icon:'',borderRadius:50,ghostkit:{id:"example-button-2"},className:"ghostkit-custom-example-button-2"}}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{align:r,gap:s,gapCustom:a,gapVerticalCustom:l,count:c}=t,{block:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{getBlock:t,isBlockSelected:n,hasSelectedInnerBlock:i}=e("core/block-editor");return{block:t(o),isSelectedBlockInRoot:n(o)||i(o,!0)}}),[]),{insertBlock:d}=(0,Ze.useDispatch)("core/block-editor");(0,vs.useEffect)((()=>{u&&u.innerBlocks&&c!==u.innerBlocks.length&&n({count:u.innerBlocks.length})}),[u,u?.innerBlocks?.length,c,n]),i=cs()("ghostkit-button-wrapper",!!s&&`ghostkit-button-wrapper-gap-${s}`,!(!r||"none"===r)&&`ghostkit-button-wrapper-align-${r}`,i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const p=(0,ds.useBlockProps)({className:i}),{children:g,...f}=(0,ds.useInnerBlocksProps)({className:"ghostkit-button-wrapper-inner"},{allowedBlocks:[Rm],template:[[Rm]],orientation:"horizontal",directInsert:!0,templateInsertUpdatesSelection:!0,renderAppender:h?()=>(0,gs.jsx)(us.Tooltip,{text:(0,bs.__)("Add Button","ghostkit"),children:(0,gs.jsx)(us.Button,{className:"block-list-appender__toggle block-editor-button-block-appender",icon:(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",children:(0,gs.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})}),onClick:()=>{d((0,um.createBlock)(Rm),void 0,o)}})}):void 0});return(0,gs.jsxs)("div",{...p,children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:r,onChange:e=>n({align:e}),controls:["left","center","right"]})}),(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(Mm,{gap:s,gapCustom:a,gapVerticalCustom:l,onChange:e=>{n(e)},allowVerticalGap:!0}),(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Align","ghostkit"),label:(0,bs.__)("Align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:r,onChange:e=>n({align:e}),controls:["left","center","right"],isCollapsed:!1})})})]})}),(0,gs.jsx)("div",{...f,children:g})]})},save:function(e){const{align:t,gap:n}=e.attributes;let o=cs()("ghostkit-button-wrapper",!!n&&`ghostkit-button-wrapper-gap-${n}`,!(!t||"none"===t)&&`ghostkit-button-wrapper-align-${t}`);o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:jm,...e});const i=ds.useBlockProps.save({className:o}),{children:r,...s}=ds.useInnerBlocksProps.save({className:"ghostkit-button-wrapper-inner"});return(0,Ke.createElement)("div",{...i},(0,Ke.createElement)("div",{...s},r))},transforms:Om},Nm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/button-single","parent":["ghostkit/button","ghostkit/form","ghostkit/form-submit-button"],"category":"ghostkit","title":"Button","description":"A single button within a buttons wrapper block.","supports":{"html":false,"className":false,"anchor":true,"reusable":false},"attributes":{"tagName":{"type":"string"},"url":{"type":"string","source":"attribute","selector":"a.ghostkit-button","attribute":"href"},"ariaLabel":{"type":"string","source":"attribute","selector":"a.ghostkit-button","attribute":"aria-label"},"target":{"type":"string","source":"attribute","selector":"a.ghostkit-button","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a.ghostkit-button","attribute":"rel"},"text":{"type":"string","source":"html","selector":".ghostkit-button .ghostkit-button-text","default":"Button"},"hideText":{"type":"boolean","default":false},"icon":{"type":"string","default":""},"iconPosition":{"type":"string","default":"left"},"size":{"type":"string","default":"md"},"color":{"type":"string"},"textColor":{"type":"string"},"borderRadius":{"type":"number"},"borderWeight":{"type":"number"},"borderColor":{"type":"string"},"focusOutlineWeight":{"type":"number"},"hoverColor":{"type":"string"},"hoverTextColor":{"type":"string"},"hoverBorderColor":{"type":"string"},"focusOutlineColor":{"type":"string","default":"rgba(3, 102, 214, 0.5)"}}}'),{name:Pm}=Nm,Dm=[{...Nm,attributes:{tagName:{type:"string"},url:{type:"string",source:"attribute",selector:"a.ghostkit-button",attribute:"href"},target:{type:"string",source:"attribute",selector:"a.ghostkit-button",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a.ghostkit-button",attribute:"rel"},text:{type:"string",source:"html",selector:".ghostkit-button .ghostkit-button-text",default:"Button"},hideText:{type:"boolean",default:!1},icon:{type:"string",default:""},iconPosition:{type:"string",default:"left"},size:{type:"string",default:"md"},color:{type:"string"},textColor:{type:"string"},borderRadius:{type:"number"},borderWeight:{type:"number"},borderColor:{type:"string"},focusOutlineWeight:{type:"number"},hoverColor:{type:"string"},hoverTextColor:{type:"string"},hoverBorderColor:{type:"string"},focusOutlineColor:{type:"string",default:"rgba(3, 102, 214, 0.5)"}},save:function(e){const{tagName:t,text:n,icon:o,iconPosition:i,hideText:r,url:s,target:a,rel:l,size:c,focusOutlineWeight:u,focusOutlineColor:h}=e.attributes;let d=cs()("ghostkit-button",c&&`ghostkit-button-${c}`,r&&"ghostkit-button-icon-only");u&&h&&(d=cs()(d,"ghostkit-button-with-outline")),d=(0,os.applyFilters)("ghostkit.blocks.className",d,{name:Pm,...e});const p=[];r||p.push((0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-button-text",value:n,key:"button-text"})),o&&p.unshift((0,Ke.createElement)(tp.Render,{name:o,tag:"span",className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===i?"right":"left"),key:"button-icon"}));const g=t||(s?"a":"span"),f=ds.useBlockProps.save({className:d,..."a"===g?{href:s,target:a||!1,rel:l||!1}:{}});return(0,Ke.createElement)(g,{...f},p)}}],Bm=[{label:"XS",value:"xs"},{label:"S",value:"sm"},{label:"M",value:"md"},{label:"L",value:"lg"},{label:"XL",value:"xl"}],{name:zm}=Nm,{name:Fm}=Nm,Hm={icon:Cr("block-button",!0),ghostkit:{customStylesCallback(e){const t={"--gkt-button__background-color":e.color||void 0,"--gkt-button__color":e.textColor||void 0,"--gkt-button__border-radius":void 0,"--gkt-button__border-width":void 0,"--gkt-button__border-color":e.borderColor||void 0,"--gkt-button-hover__background-color":e.hoverColor||void 0,"--gkt-button-hover__color":e.hoverTextColor||void 0,"--gkt-button-hover__border-color":e.hoverBorderColor||void 0,"--gkt-button-focus__background-color":e.hoverColor||void 0,"--gkt-button-focus__color":e.hoverTextColor||void 0,"--gkt-button-focus__box-shadow":void 0};return void 0!==e.borderRadius&&""!==e.borderRadius&&(t["--gkt-button__border-radius"]=`${e.borderRadius}px`),void 0!==e.borderWeight&&""!==e.borderWeight&&(t["--gkt-button__border-width"]=`${e.borderWeight}px`),void 0!==e.focusOutlineWeight&&e.focusOutlineColor&&(t["--gkt-button-focus__box-shadow"]=`0 0 0 ${e.focusOutlineWeight}px ${e.focusOutlineColor}`),t}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{tagName:i,text:r,icon:s,iconPosition:a,hideText:l,url:c,ariaLabel:u,target:h,rel:d,size:p,color:g,textColor:f,borderRadius:m,borderWeight:v,borderColor:b,focusOutlineWeight:y,focusOutlineColor:w,hoverColor:k,hoverTextColor:_,hoverBorderColor:x}=t;let{className:C=""}=t;const[S,E]=(0,vs.useState)("normal");(0,vs.useEffect)((()=>{o||E("normal")}),[o]);let A=!1,T=!1,$=!1;o&&(A=!0,"hover"===S?(A=!1,T=!0):"focus"===S&&(A=!1,$=!0)),C=cs()("ghostkit-button",p&&`ghostkit-button-${p}`,l&&"ghostkit-button-icon-only",A&&"ghostkit-button-is-normal-state",T&&"ghostkit-button-is-hover-state",$&&"ghostkit-button-is-focus-state",C),y&&w&&(C=cs()(C,"ghostkit-button-with-outline")),C=(0,os.applyFilters)("ghostkit.editor.className",C,e);const M=[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}];y&&w&&M.push({name:"focus",title:(0,bs.__)("Focus","ghostkit"),className:"ghostkit-control-tabs-tab"});const R=(0,ds.useBlockProps)({className:C});return(0,gs.jsxs)("div",{...R,children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)("div",{className:"blocks-size__main",children:(0,gs.jsx)(lg,{value:p,options:Bm,onChange:e=>{n({size:e})}})})}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Corner Radius","ghostkit"),value:m,min:0,max:50,onChange:e=>n({borderRadius:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Border Size","ghostkit"),value:v,min:0,max:6,onChange:e=>n({borderWeight:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Focus Outline Size","ghostkit"),value:y,min:0,max:6,onChange:e=>n({focusOutlineWeight:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Icon Only","ghostkit"),checked:!!l,onChange:e=>n({hideText:e}),__nextHasNoMarginBottom:!0}):null,s&&!l?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Icon Position","ghostkit"),value:a,options:[{value:"left",label:(0,bs.__)("Left","ghostkit")},{value:"right",label:(0,bs.__)("Right","ghostkit")}],onChange:e=>n({iconPosition:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:g}),(0,gs.jsx)(hs,{colorValue:f}),v?(0,gs.jsx)(hs,{colorValue:b}):null,y&&w?(0,gs.jsx)(hs,{colorValue:w}):null]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:M,onSelect:e=>{E(e)},children:t=>{const o="hover"===t.name;return"focus"===t.name?(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"focusOutlineColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Outline","ghostkit"),value:w,onChange:e=>n({focusOutlineColor:e}),alpha:!0})}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Background","ghostkit"),value:o?k:g,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0,gradient:!0})}),(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverTextColor":"textColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Text","ghostkit"),value:o?_:f,onChange:e=>n(o?{hoverTextColor:e}:{textColor:e}),alpha:!0})}),v?(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverBorderColor":"borderColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Border","ghostkit"),value:o?x:b,onChange:e=>n(o?{hoverBorderColor:e}:{borderColor:e}),alpha:!0})}):null]})}})})]}),i&&"a"!==i?null:(0,gs.jsx)(Pg,{url:c,rel:d,ariaLabel:u,target:h,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),s?(0,gs.jsx)("div",{className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===a?"right":"left"),children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null,l?null:(0,gs.jsx)(ds.RichText,{placeholder:(0,bs.__)("Write text…","ghostkit"),value:r,onChange:e=>n({text:e}),isSelected:o,withoutInteractiveFormatting:!0})]})},save:function(e){const{tagName:t,text:n,icon:o,iconPosition:i,hideText:r,url:s,ariaLabel:a,target:l,rel:c,size:u,focusOutlineWeight:h,focusOutlineColor:d}=e.attributes;let p=cs()("ghostkit-button",u&&`ghostkit-button-${u}`,r&&"ghostkit-button-icon-only");h&&d&&(p=cs()(p,"ghostkit-button-with-outline")),p=(0,os.applyFilters)("ghostkit.blocks.className",p,{name:zm,...e});const g=[];r||g.push((0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-button-text",value:n,key:"button-text"})),o&&g.unshift((0,Ke.createElement)(tp.Render,{name:o,tag:"span",className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===i?"right":"left"),key:"button-icon"}));const f=t||(s?"a":"span"),m=ds.useBlockProps.save({className:p,..."a"===f?{href:s,target:l||null,rel:c||null,"aria-label":a||null}:{}});return(0,Ke.createElement)(f,{...m},g)},deprecated:Dm},Wm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/carousel","category":"ghostkit","title":"Carousel","description":"Carousel for any type of content - images or other blocks.","keywords":["carousel","slider"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"effect":{"type":"string","default":"slide"},"speed":{"type":"number","default":0.2},"autoplay":{"type":"number","default":4},"autoplayHoverPause":{"type":"boolean","default":false},"slidesPerView":{"type":"number","default":3},"centeredSlides":{"type":"boolean","default":true},"loop":{"type":"boolean","default":true},"freeScroll":{"type":"boolean","default":false},"fadeEdges":{"type":"boolean","default":false},"fadeEdgesSize":{"type":"number","default":12},"showArrows":{"type":"boolean","default":true},"arrowPrevIcon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.7803%2017.7803C14.4874%2018.0732%2014.0126%2018.0732%2013.7197%2017.7803L8.4697%2012.5303C8.1768%2012.2374%208.1768%2011.7626%208.4697%2011.4697L13.7197%206.21967C14.0126%205.92678%2014.4874%205.92678%2014.7803%206.21967C15.0732%206.51256%2015.0732%206.98744%2014.7803%207.28033L10.0607%2012L14.7803%2016.7197C15.0732%2017.0126%2015.0732%2017.4874%2014.7803%2017.7803Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"arrowNextIcon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9.21967%206.2197C9.51256%205.9268%209.98744%205.9268%2010.2803%206.2197L15.5303%2011.4697C15.8232%2011.7626%2015.8232%2012.2374%2015.5303%2012.5303L10.2803%2017.7803C9.98744%2018.0732%209.51256%2018.0732%209.21967%2017.7803C8.92678%2017.4874%208.92678%2017.0126%209.21967%2016.7197L13.9393%2012L9.21967%207.2803C8.92678%206.9874%208.92678%206.5126%209.21967%206.2197Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"showBullets":{"type":"boolean","default":true},"dynamicBullets":{"type":"boolean","default":true},"gap":{"type":"number","default":15}}}'),Vm=us.NumberControl||us.__experimentalNumberControl,Um="ghostkit/carousel-slide";var Gm=n(6942),qm=n.n(Gm);const{name:Km}=Wm,{name:Ym}=Wm,Zm={icon:Cr("block-carousel",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/carousel/",customStylesCallback(e){const{fadeEdges:t,fadeEdgesSize:n}=e,o={"--gkt-carousel--fade-edges__size":void 0};return t&&void 0!==n&&""!==n&&(o["--gkt-carousel--fade-edges__size"]=`${n}%`),o}},example:{attributes:{slides:3},innerBlocks:[{name:"ghostkit/carousel-slide",innerBlocks:[{name:"core/image",attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"}}]},{name:"ghostkit/carousel-slide",innerBlocks:[{name:"core/image",attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}}]},{name:"ghostkit/carousel-slide"}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{effect:r,speed:s,autoplay:a,autoplayHoverPause:l,slidesPerView:c,centeredSlides:u,loop:h,freeScroll:d,fadeEdges:p,fadeEdgesSize:g,showArrows:f,arrowPrevIcon:m,arrowNextIcon:v,showBullets:b,dynamicBullets:y,gap:w}=t,{getBlocks:k,slidesCount:_,block:x}=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return{getBlocks:t.getBlocks,slidesCount:t.getBlockCount(o),block:t.getBlock(o)}})),{removeBlock:C,replaceInnerBlocks:S}=(0,Ze.useDispatch)("core/block-editor");i=cs()(i,"ghostkit-carousel",p&&"ghostkit-carousel-fade-edges"),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const E=(0,ds.useBlockProps)({className:i}),A=(0,ds.useInnerBlocksProps)({className:"ghostkit-carousel-items"},{template:[[Um],[Um],[Um]],allowedBlocks:[Um],templateLock:!1,orientation:"horizontal"});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Settings","ghostkit"),children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Slides","ghostkit"),value:_,onChange:e=>{if(e<1)C(x.clientId);else if(e>_){const t=e-_,n=[...k(x.clientId)];for(let e=1;e<=t;e+=1)n.push((0,um.createBlock)(Um,{size:3}));S(x.clientId,n,!1)}else if(e<_){const t=[...k(x.clientId)];t.splice(e,_-e),S(x.clientId,t,!1)}},min:2,max:20,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"fade"!==r?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Slides per view","ghostkit"),value:c,onChange:e=>n({slidesPerView:e}),min:1,max:8,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Gap","ghostkit"),value:w,onChange:e=>n({gap:e}),min:0,max:60,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(lg,{label:(0,bs.__)("Effect","ghostkit"),value:r,options:[{value:"slide",label:(0,bs.__)("Slide","ghostkit")},{value:"coverflow",label:(0,bs.__)("Coverflow","ghostkit")},{value:"fade",label:(0,bs.__)("Fade","ghostkit")}],onChange:e=>{n({effect:e})},isBlock:!0}),(0,gs.jsx)("div",{style:{borderTop:"1px solid #E0E0E0",marginBottom:"16px"}}),(0,gs.jsx)(rg,{label:(0,bs.__)("Speed (seconds)","ghostkit"),suffix:"s ",value:s,onChange:e=>n({speed:e}),min:0,max:10,step:.1,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Autoplay (seconds)","ghostkit"),value:a,onChange:e=>n({autoplay:e}),min:0,max:20,step:.3,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),a?(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Pause autoplay on mouse over","ghostkit"),checked:!!l,onChange:e=>n({autoplayHoverPause:e}),__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)("div",{style:{borderTop:"1px solid #E0E0E0",marginBottom:"16px"}}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Centered Slides","ghostkit"),checked:!!u,onChange:e=>n({centeredSlides:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Loop","ghostkit"),checked:!!h,onChange:e=>n({loop:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Free Scroll","ghostkit"),checked:!!d,onChange:e=>n({freeScroll:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Fade Edges","ghostkit"),checked:!!p,onChange:e=>n({fadeEdges:e}),__nextHasNoMarginBottom:!0}),p&&(0,gs.jsx)(Vm,{label:(0,bs.__)("Fade Edges Size","ghostkit"),suffix:"% ",value:g,onChange:e=>n({fadeEdgesSize:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"100px",disableUnits:!0,min:0,max:50})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Arrow","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show","ghostkit"),checked:!!f,onChange:e=>n({showArrows:e}),__nextHasNoMarginBottom:!0}),f?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Prev icon","ghostkit"),value:m,onChange:e=>n({arrowPrevIcon:e}),insideInspector:!0}),(0,gs.jsx)(tp,{label:(0,bs.__)("Next icon","ghostkit"),value:v,onChange:e=>n({arrowNextIcon:e}),insideInspector:!0})]}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Bullets","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show","ghostkit"),checked:!!b,onChange:e=>n({showBullets:e}),__nextHasNoMarginBottom:!0}),b?(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Dynamic","ghostkit"),checked:!!y,onChange:e=>n({dynamicBullets:e}),__nextHasNoMarginBottom:!0}):null]})]}),(0,gs.jsx)("div",{...E,children:(0,gs.jsx)("div",{className:"block-editor-inner-blocks",children:(0,gs.jsx)("div",{...A})})}),(0,gs.jsx)(xs,{styles:`\n [data-block="${e.clientId}"] > .ghostkit-carousel {\n --gkt-carousel-gap: ${w}px;\n --gkt-carousel-slides-per-view: ${"fade"===r?1:c};\n }\n `})]})},save:function(e){const{effect:t,speed:n,autoplay:o,autoplayHoverPause:i,slidesPerView:r,centeredSlides:s,loop:a,freeScroll:l,fadeEdges:c,showArrows:u,arrowPrevIcon:h,arrowNextIcon:d,showBullets:p,dynamicBullets:g,gap:f}=e.attributes;let m=qm()("ghostkit-carousel",c&&"ghostkit-carousel-fade-edges");m=(0,os.applyFilters)("ghostkit.blocks.className",m,{name:Km,...e});const v={"data-effect":t,"data-speed":n,"data-autoplay":o,"data-autoplay-hover-pause":o&&i?"true":null,"data-slides-per-view":r,"data-centered-slides":s?"true":"false","data-loop":a?"true":"false","data-free-scroll":l?"true":"false","data-show-arrows":u?"true":"false","data-show-bullets":p?"true":"false","data-dynamic-bullets":g?"true":"false","data-gap":f},b=ds.useBlockProps.save({className:m,...v}),y=ds.useInnerBlocksProps.save({className:"ghostkit-carousel-items"});return(0,Ke.createElement)("div",{...b},(0,Ke.createElement)("div",{...y}),h?(0,Ke.createElement)(tp.Render,{name:h,tag:"div",className:"ghostkit-carousel-arrow-prev-icon"}):null,d?(0,Ke.createElement)(tp.Render,{name:d,tag:"div",className:"ghostkit-carousel-arrow-next-icon"}):null)}},Jm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/carousel-slide","parent":["ghostkit/carousel"],"category":"ghostkit","title":"Slide","description":"A single slide within a carousel block.","supports":{"html":false,"className":false,"anchor":true,"reusable":false,"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true}}'),{name:Xm}=Jm,{name:Qm}=Jm,ev={icon:Cr("block-carousel-slide",!0),edit:function(e){const{attributes:t,clientId:n}=e;let{className:o}=t;const i=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return!!t&&t.getBlockOrder(n).length>0}),[n]);o=cs()(o,"ghostkit-carousel-slide"),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const r=(0,ds.useBlockProps)({className:o}),s=(0,ds.useInnerBlocksProps)(r,{renderAppender:i?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,Ke.createElement)("div",{...s})},save:function(e){let t="ghostkit-carousel-slide";t=(0,os.applyFilters)("ghostkit.blocks.className",t,{name:Xm,...e});const n=ds.useBlockProps.save({className:t}),o=ds.useInnerBlocksProps.save(n);return(0,Ke.createElement)("div",{...o})}},tv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/changelog","category":"ghostkit","title":"Changelog","description":"Show the changes log of your product.","keywords":["changelog","log"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"version":{"type":"string","default":""},"date":{"type":"string","default":""}}}'),{name:nv}=tv,{name:ov}=tv,iv={icon:Cr("block-changelog",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/changelog/"},example:{attributes:{version:"1.0.0",date:(new Date).toLocaleDateString()},innerBlocks:[{name:"core/list",attributes:{className:"is-style-none"},innerBlocks:[{name:"core/list-item",attributes:{content:`${(0,bs.__)("Added","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}},{name:"core/list-item",attributes:{content:`${(0,bs.__)("Fixed","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}},{name:"core/list-item",attributes:{content:`${(0,bs.__)("Improved","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}}]}]},edit:function(e){const{attributes:t,setAttributes:n}=e;let{className:o=""}=e;const{version:i,date:r}=t;o=cs()("ghostkit-changelog",o),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const s=(0,ds.useBlockProps)({className:o}),a=(0,ds.useInnerBlocksProps)({className:"ghostkit-changelog-inner"},{templateLock:!1,template:[["core/list",{className:"is-style-none"},[["core/list-item",{content:`${(0,bs.__)("Added","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}],["core/list-item",{content:`${(0,bs.__)("Fixed","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}],["core/list-item",{content:`${(0,bs.__)("Improved","ghostkit")}${(0,bs.__)("Something","ghostkit")}`}]]]]});return(0,Ke.createElement)("div",{...s},(0,Ke.createElement)("div",{className:"ghostkit-changelog-version"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"span",placeholder:(0,bs.__)("1.0.0","ghostkit"),value:i,onChange:e=>n({version:e})})),(0,Ke.createElement)("div",{className:"ghostkit-changelog-date"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"h2",placeholder:(new Date).toLocaleDateString(),value:r,onChange:e=>n({date:e}),style:{margin:0}})),(0,Ke.createElement)("div",{className:"ghostkit-changelog-more"},(0,Ke.createElement)("div",{...a})))},save:function(e){const{version:t,date:n}=e.attributes;let o="ghostkit-changelog";o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:nv,...e});const i=ds.useBlockProps.save({className:o}),r=ds.useInnerBlocksProps.save({className:"ghostkit-changelog-more"});return(0,Ke.createElement)("div",{...i},ds.RichText.isEmpty(t)?null:(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-changelog-version",value:t}),ds.RichText.isEmpty(n)?null:(0,Ke.createElement)(ds.RichText.Content,{tagName:"h2",className:"ghostkit-changelog-date",value:n}),(0,Ke.createElement)("div",{...r}))}},rv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/countdown","category":"ghostkit","title":"Countdown","description":"Countdown timer for upcoming event.","keywords":["timer","count","number"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"date":{"type":"string"},"units":{"type":"array","default":["days","hours","minutes","seconds"]},"unitsAlign":{"type":"string"},"numberFontSize":{"type":"number"},"labelFontSize":{"type":"number"},"numberColor":{"type":"string"},"labelColor":{"type":"string"}}}'),sv=(()=>{const e=1,t=2,n=4,o=8,i=16,r=32,s=64,a=128,l=a|s|i|o|n|t,c=a|s|r|i|o|n|t|e,u=1e3,h=60,d=60,p=24,g=p*d*h*u,f=7,m=12,{ceil:v}=Math,{floor:b}=Math;function y(e,t){const n=e.getTime();return e.setMonth(e.getMonth()+t),Math.round((e.getTime()-n)/g)}function w(e){const t=e.getTime(),n=new Date(t);return n.setMonth(e.getMonth()+1),Math.round((n.getTime()-t)/g)}function k(e,t){if(t=t instanceof Date||null!==t&&Number.isFinite(t)?new Date(+t):new Date,!e)return t;let n=+e.value||0;return n?(t.setTime(t.getTime()+n),t):(n=+e.milliseconds||0,n&&t.setMilliseconds(t.getMilliseconds()+n),n=+e.seconds||0,n&&t.setSeconds(t.getSeconds()+n),n=+e.minutes||0,n&&t.setMinutes(t.getMinutes()+n),n=+e.hours||0,n&&t.setHours(t.getHours()+n),n=+e.weeks||0,n&&(n*=f),n+=+e.days||0,n&&t.setDate(t.getDate()+n),n=+e.months||0,n&&t.setMonth(t.getMonth()+n),n+=+e.years||0,n&&t.setFullYear(t.getFullYear()+n),t)}function _(){}function x(e,t,n,o,i,r){return e[n]>=0&&(t+=e[n],delete e[n]),1+(t/=i)<=1?0:e[o]>=0?(e[o]=+(e[o]+t).toFixed(r),function(e,t){switch(t){case"seconds":if(e.seconds!==h||Number.isNaN(e.minutes))return;e.minutes+=1,e.seconds=0;case"minutes":if(e.minutes!==d||Number.isNaN(e.hours))return;e.hours+=1,e.minutes=0;case"hours":if(e.hours!==p||Number.isNaN(e.days))return;e.days+=1,e.hours=0;case"days":if(e.days!==f||Number.isNaN(e.weeks))return;e.weeks+=1,e.days=0;case"weeks":if(e.weeks!==w(e.refMonth)/f||Number.isNaN(e.months))return;e.months+=1,e.weeks=0;case"months":if(e.months!==m||Number.isNaN(e.years))return;e.years+=1,e.months=0}}(e,o),0):t}function C(l,c,k,_,C,S){const E=new Date;if(c=c||E,k=k||E,l.start=c,l.end=k,l.units=_,l.value=k.getTime()-c.getTime(),l.value<0){const e=k;k=c,c=e}l.refMonth=new Date(c.getFullYear(),c.getMonth(),15,12,0,0);try{l.years=k.getFullYear()-c.getFullYear(),l.months=k.getMonth()-c.getMonth(),l.weeks=0,l.days=k.getDate()-c.getDate(),l.hours=k.getHours()-c.getHours(),l.minutes=k.getMinutes()-c.getMinutes(),l.seconds=k.getSeconds()-c.getSeconds(),l.milliseconds=k.getMilliseconds()-c.getMilliseconds(),function(e){let t;for(e.milliseconds<0?(t=v(-e.milliseconds/u),e.seconds-=t,e.milliseconds+=t*u):e.milliseconds>=u&&(e.seconds+=b(e.milliseconds/u),e.milliseconds%=u),e.seconds<0?(t=v(-e.seconds/h),e.minutes-=t,e.seconds+=t*h):e.seconds>=h&&(e.minutes+=b(e.seconds/h),e.seconds%=h),e.minutes<0?(t=v(-e.minutes/d),e.hours-=t,e.minutes+=t*d):e.minutes>=d&&(e.hours+=b(e.minutes/d),e.minutes%=d),e.hours<0?(t=v(-e.hours/p),e.days-=t,e.hours+=t*p):e.hours>=p&&(e.days+=b(e.hours/p),e.hours%=p);e.days<0;)e.months-=1,e.days+=y(e.refMonth,1);e.days>=f&&(e.weeks+=b(e.days/f),e.days%=f),e.months<0?(t=v(-e.months/m),e.years-=t,e.months+=t*m):e.months>=m&&(e.years+=b(e.months/m),e.months%=m)}(l),function(l,c,v,k){let _=0;!(c&a)||_>=v?(l.months+=l.years*m,delete l.years):l.years&&(_+=1),!(c&s)||_>=v?(l.months&&(l.days+=y(l.refMonth,l.months)),delete l.months,l.days>=f&&(l.weeks+=b(l.days/f),l.days%=f)):l.months&&(_+=1),!(c&r)||_>=v?(l.days+=l.weeks*f,delete l.weeks):l.weeks&&(_+=1),!(c&i)||_>=v?(l.hours+=l.days*p,delete l.days):l.days&&(_+=1),!(c&o)||_>=v?(l.minutes+=l.hours*d,delete l.hours):l.hours&&(_+=1),!(c&n)||_>=v?(l.seconds+=l.minutes*h,delete l.minutes):l.minutes&&(_+=1),!(c&t)||_>=v?(l.milliseconds+=l.seconds*u,delete l.seconds):l.seconds&&(_+=1),c&e&&!(_>=v)||function(e,t){let n=x(e,0,"milliseconds","seconds",u,t);if(n&&(n=x(e,n,"seconds","minutes",h,t),n&&(n=x(e,n,"minutes","hours",d,t),n&&(n=x(e,n,"hours","days",p,t),n&&(n=x(e,n,"days","weeks",f,t),n&&(n=x(e,n,"weeks","months",w(e.refMonth)/f,t),n&&(n=x(e,n,"months","years",function(e){const t=e.getTime(),n=new Date(t);return n.setFullYear(e.getFullYear()+1),Math.round((n.getTime()-t)/g)}(e.refMonth)/w(e.refMonth),t),n&&n)))))))throw new Error("Fractional unit overflow")}(l,k)}(l,_,C,S)}finally{delete l.refMonth}return l}function S(e,t,n,o){const i=n.length>0?n.length:NaN;o=o>0?o<20?Math.round(o):20:0;let r=null;e instanceof Date||(null!==e&&Number.isFinite(e)?e=new Date(+e):("object"==typeof r&&(r=e),e=null));let s=null;if(t instanceof Date||(null!==t&&Number.isFinite(t)?t=new Date(+t):("object"==typeof t&&(s=t),t=null)),r&&(e=k(r,t)),s&&(t=k(s,e)),!e&&!t)return new _;const a=function(e){let t=~c;return e.forEach((e=>{S[e.toUpperCase()]&&(t|=S[e.toUpperCase()])})),t=+t||l,t}(n);return C(new _,e,t,a,i,o)}return S.MILLISECONDS=e,S.SECONDS=t,S.MINUTES=n,S.HOURS=o,S.DAYS=i,S.WEEKS=r,S.MONTHS=s,S.YEARS=a,S.DEFAULTS=l,S.ALL=c,S.getDelay=function(e=[]){return-1!==e.indexOf("milliseconds")?u/30:-1!==e.indexOf("seconds")?u:-1!==e.indexOf("minutes")?u*h:-1!==e.indexOf("hours")?u*h*d:-1!==e.indexOf("days")?u*h*d*p:u*h*d*p*f},S.formatUnit=(e,t)=>{switch(t){case"years":t=(0,bs._n)("Year","Years",e,"ghostkit");break;case"months":t=(0,bs._n)("Month","Months",e,"ghostkit");break;case"weeks":t=(0,bs._n)("Week","Weeks",e,"ghostkit");break;case"days":t=(0,bs._n)("Day","Days",e,"ghostkit");break;case"hours":t=(0,bs._n)("Hour","Hours",e,"ghostkit");break;case"minutes":t=(0,bs._n)("Minute","Minutes",e,"ghostkit");break;case"seconds":t=(0,bs._n)("Second","Seconds",e,"ghostkit")}return{number:e=`${e<10?"0":""}${e}`,label:t}},S})(),av="yyyy-LL-dd'T'HH:mm:ss",{GHOSTKIT:lv,luxon:cv}=window,{name:uv}=rv,{name:hv}=rv,dv={icon:Cr("block-countdown",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/countdown/",customStylesCallback(e){const t={"--gkt-countdown--unit-number__font-size":void 0,"--gkt-countdown--unit-number__color":e.numberColor||void 0,"--gkt-countdown--unit-label__font-size":void 0,"--gkt-countdown--unit-label__color":e.labelColor||void 0};return void 0!==e.numberFontSize&&""!==e.numberFontSize&&(t["--gkt-countdown--unit-number__font-size"]=`${e.numberFontSize}px`),void 0!==e.labelFontSize&&""!==e.labelFontSize&&(t["--gkt-countdown--unit-label__font-size"]=`${e.labelFontSize}px`),t}},example:{attributes:{units:["hours","minutes","seconds"],unitsAlign:"center",ghostkit:{id:"example-countdown"},className:"ghostkit-custom-example-countdown"}},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e,{date:i,units:r,unitsAlign:s,numberFontSize:a,labelFontSize:l,numberColor:c,labelColor:u}=t;let{className:h=""}=e;function d(e,t){const n=cv.DateTime.fromISO(e).toFormat(av),o=new Date(cv.DateTime.now().setZone(lv.timezone).toFormat(av)),i=sv(new Date(n),o,t,0);return{formattedDate:n,delay:sv.getDelay(t),...i}}const[p,g]=(0,vs.useState)(!!i&&d(i,r)),f=(0,vs.useRef)(!1),{isSelectedBlockInRoot:m}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,hasSelectedInnerBlock:n}=e("core/block-editor");return{isSelectedBlockInRoot:t(o)||n(o,!0)}}),[o]);function v(e,t){const o=d(e,t);g(o),o.formattedDate!==i&&n({date:o.formattedDate})}(0,vs.useEffect)((()=>{if(i)v(i,r);else{const e=new Date,t=new Date;t.setDate(e.getDate()+1),v(cv.DateTime.fromJSDate(t).toFormat(av),r)}}),[]),(0,vs.useEffect)((()=>{clearInterval(f.current),p&&(f.current=setInterval((()=>{if(!i||!r||!r.length)return;const e=d(i,r);g(e)}),p.delay))}),[p]),h=cs()("ghostkit-countdown",s&&`ghostkit-countdown-units-align-${s}`,h),h=(0,os.applyFilters)("ghostkit.editor.className",h,e);const b=(0,ds.useBlockProps)({className:h}),y=(0,ds.useInnerBlocksProps)({className:"ghostkit-countdown-expire-action-content"},{template:[["core/paragraph",{content:(0,bs.__)("This countdown has been ended already!","ghostkit")}]],templateLock:!1});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(ws,{label:(0,bs.__)("End Date","ghostkit"),value:i,onChange:e=>v(e,r)}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Display Units","ghostkit"),value:r,onChange:e=>{n({units:e}),v(i,e)},multiple:!0,options:[{label:(0,bs.__)("Years","ghostkit"),value:"years"},{label:(0,bs.__)("Months","ghostkit"),value:"months"},{label:(0,bs.__)("Weeks","ghostkit"),value:"weeks"},{label:(0,bs.__)("Days","ghostkit"),value:"days"},{label:(0,bs.__)("Hours","ghostkit"),value:"hours"},{label:(0,bs.__)("Minutes","ghostkit"),value:"minutes"},{label:(0,bs.__)("Seconds","ghostkit"),value:"seconds"}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Number Font Size","ghostkit"),value:a,onChange:e=>n({numberFontSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Label Font Size","ghostkit"),value:l,onChange:e=>n({labelFontSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(fs,{label:(0,bs.__)("Number Color","ghostkit"),value:c,onChange:e=>n({numberColor:e}),alpha:!0}),(0,gs.jsx)(fs,{label:(0,bs.__)("Label Color","ghostkit"),value:u,onChange:e=>n({labelColor:e}),alpha:!0})]})]}),(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Units Align Left","ghostkit"),onClick:()=>n({unitsAlign:"left"}),isActive:"left"===s}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Units Align Center","ghostkit"),onClick:()=>n({unitsAlign:"center"}),isActive:"center"===s}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Units Align Right","ghostkit"),onClick:()=>n({unitsAlign:"right"}),isActive:"right"===s})]})}),(0,gs.jsx)("div",{...b,children:r.map((e=>{let t=!1;if(p&&void 0!==p[e]){const n=p.value>=0;t=sv.formatUnit(n?0:p[e],e)}return(0,gs.jsxs)("div",{className:cs()("ghostkit-countdown-unit",`ghostkit-countdown-unit-${e}`),children:[(0,gs.jsx)("span",{className:"ghostkit-countdown-unit-number",children:t?t.number:"00"}),(0,gs.jsx)("span",{className:"ghostkit-countdown-unit-label",children:t?t.label:e})]},e)}))}),m?(0,gs.jsxs)("div",{className:"ghostkit-countdown-expire-action",children:[(0,gs.jsx)("div",{className:"ghostkit-countdown-expire-action-label",children:(0,bs.__)("Display content after expiration:","ghostkit")}),(0,gs.jsx)("div",{...y})]}):null]})},save:function(e){const{attributes:t}=e,{date:n,units:o,unitsAlign:i}=t;let r=cs()("ghostkit-countdown",i&&`ghostkit-countdown-units-align-${i}`);r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:uv,...e});const s=ds.useBlockProps.save({className:r,"data-date":n}),a=ds.useInnerBlocksProps.save({className:"ghostkit-countdown-expire-action"});return(0,Ke.createElement)("div",{...s},o.map((e=>(0,Ke.createElement)("div",{key:e,className:cs()("ghostkit-countdown-unit",`ghostkit-countdown-unit-${e}`)},(0,Ke.createElement)("span",{className:"ghostkit-countdown-unit-number"},"00"),(0,Ke.createElement)("span",{className:"ghostkit-countdown-unit-label"},e)))),(0,Ke.createElement)("div",{...a}))}},pv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/counter-box","category":"ghostkit","title":"Number Box","description":"Show your progress and rewards using counting numbers.","keywords":["number","counter"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"number":{"type":"string","source":"html","selector":".ghostkit-counter-box-number-wrap","default":"77"},"animateInViewport":{"type":"boolean","default":false},"animateInViewportFrom":{"type":"number","default":0},"numberPosition":{"type":"string","default":"top"},"numberAlign":{"type":"string"},"numberSize":{"type":"number"},"showContent":{"type":"boolean","default":true},"numberColor":{"type":"string"},"hoverNumberColor":{"type":"string"},"url":{"type":"string"},"ariaLabel":{"type":"string"},"target":{"type":"string"},"rel":{"type":"string"}}}'),{name:gv}=pv,fv=[{...pv,attributes:{number:{type:"string",source:"html",selector:".ghostkit-counter-box-number-wrap",default:"77"},animateInViewport:{type:"boolean",default:!1},animateInViewportFrom:{type:"number",default:0},numberPosition:{type:"string",default:"top"},numberSize:{type:"number"},showContent:{type:"boolean",default:!0},numberColor:{type:"string"},hoverNumberColor:{type:"string"},url:{type:"string"},target:{type:"string"},rel:{type:"string"}},save:class extends vs.Component{render(){const{number:e,animateInViewport:t,numberPosition:n,showContent:o,url:i,target:r,rel:s}=this.props.attributes;let{animateInViewportFrom:a}=this.props.attributes;a=parseFloat(a);let l=cs()("ghostkit-counter-box",i&&"ghostkit-counter-box-with-link");l=(0,os.applyFilters)("ghostkit.blocks.className",l,{name:gv,...this.props});const c=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${n||"left"}`);return(0,Ke.createElement)("div",{className:l},i?(0,Ke.createElement)("a",{className:"ghostkit-counter-box-link",href:i,target:r||!1,rel:s||!1},(0,Ke.createElement)("span",null)):null,(0,Ke.createElement)("div",{className:c},(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-counter-box-number-wrap"+(t?" ghostkit-count-up":""),value:e,"data-count-from":t&&a?a:null})),o?(0,Ke.createElement)("div",{className:"ghostkit-counter-box-content"},(0,Ke.createElement)(ds.InnerBlocks.Content,null)):null)}}}],{name:mv}=pv,vv={from:[{type:"block",blocks:["ghostkit/icon-box"],transform:(e,t)=>(0,um.createBlock)("ghostkit/counter-box",{numberPosition:e.iconPosition,numberSize:e.iconSize,showContent:e.showContent,numberColor:e.iconColor,hoverNumberColor:e.hoverIconColoe},t)},{type:"block",blocks:["ghostkit/alert"],transform:(e,t)=>(0,um.createBlock)("ghostkit/counter-box",{numberSize:e.iconSize,numberColor:e.color,hoverNumberColor:e.hoverColor},t)}]},{name:bv}=pv,yv={icon:Cr("block-counter-box",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/number-box/",customStylesCallback(e){const t={"--gkt-counter-box--number__font-size":void 0,"--gkt-counter-box--number__color":e.numberColor||void 0,"&:hover":{"--gkt-counter-box--number__color":e.hoverNumberColor||void 0}};return void 0!==e.numberSize&&""!==e.numberSize&&(t["--gkt-counter-box--number__font-size"]=`${e.numberSize}px`),t}},example:{attributes:{number:"77",numberColor:"#0366d6",ghostkit:{id:"example-counter-box"},className:"ghostkit-custom-example-counter-box"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e;let{className:r=""}=e;const s=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return!!t&&t.getBlockOrder(i).length>0}),[i]),{number:a,animateInViewport:l,animateInViewportFrom:c,numberPosition:u,numberAlign:h,numberSize:d,showContent:p,numberColor:g,hoverNumberColor:f,url:m,ariaLabel:v,target:b,rel:y}=t;r=cs()("ghostkit-counter-box",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const w=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${u||"left"}`,"top"===u?`ghostkit-counter-box-number-top-align-${h||"center"}`:""),k=(0,ds.useBlockProps)({className:r}),_=(0,ds.useInnerBlocksProps)({className:"ghostkit-counter-box-content"},{renderAppender:s?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1}),x=(0,bs.__)("Number Position","ghostkit");return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Number Size","ghostkit"),value:d,onChange:e=>n({numberSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.BaseControl,{id:x,label:x,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsxs)(us.Toolbar,{label:x,children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Top","ghostkit"),onClick:()=>n({numberPosition:"top"}),isActive:"top"===u}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Left","ghostkit"),onClick:()=>n({numberPosition:"left"}),isActive:"left"===u}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Right","ghostkit"),onClick:()=>n({numberPosition:"right"}),isActive:"right"===u})]})})}),"top"===u?(0,gs.jsx)(lg,{label:(0,bs.__)("Number Alignment","ghostkit"),value:h||"center",options:[{icon:Cr("icon-horizontal-start"),label:(0,bs.__)("Start","ghostkit"),value:"left"},{icon:Cr("icon-horizontal-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-horizontal-end"),label:(0,bs.__)("End","ghostkit"),value:"right"}],onChange:e=>{n({numberAlign:e})}}):null]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Content","ghostkit"),checked:!!p,onChange:e=>n({showContent:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Animate in viewport","ghostkit"),checked:!!l,onChange:e=>n({animateInViewport:e}),__nextHasNoMarginBottom:!0}),l?(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Animate from","ghostkit"),type:"number",value:c,onChange:e=>n({animateInViewportFrom:parseInt(e,10)}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:g})]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverNumberColor":"numberColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Color","ghostkit"),value:o?f:g,onChange:e=>n(o?{hoverNumberColor:e}:{numberColor:e}),alpha:!0,gradient:!0})})}})})]}),(0,gs.jsx)(Pg,{url:m,rel:y,ariaLabel:v,target:b,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Top","ghostkit"),onClick:()=>n({numberPosition:"top"}),isActive:"top"===u}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Left","ghostkit"),onClick:()=>n({numberPosition:"left"}),isActive:"left"===u}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Right","ghostkit"),onClick:()=>n({numberPosition:"right"}),isActive:"right"===u})]})}),(0,gs.jsxs)("div",{...k,children:[(0,gs.jsx)("div",{className:w,children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-counter-box-number-wrap",placeholder:(0,bs.__)("Write number…","ghostkit"),value:a,onChange:e=>n({number:e}),withoutInteractiveFormatting:!0})}),p?(0,gs.jsx)("div",{..._}):null]})]})},save:function(e){const{attributes:t}=e,{number:n,animateInViewport:o,numberPosition:i,numberAlign:r,showContent:s,url:a,ariaLabel:l,target:c,rel:u}=t;let{animateInViewportFrom:h}=t;h=parseFloat(h);let d=cs()("ghostkit-counter-box",a&&"ghostkit-counter-box-with-link");d=(0,os.applyFilters)("ghostkit.blocks.className",d,{name:mv,...e});const p=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${i||"left"}`,"top"===i?`ghostkit-counter-box-number-top-align-${r||"center"}`:""),g=ds.useBlockProps.save({className:d}),f=ds.useInnerBlocksProps.save({className:"ghostkit-counter-box-content"});return(0,Ke.createElement)("div",{...g},a?(0,Ke.createElement)("a",{className:"ghostkit-counter-box-link",href:a,target:c||null,rel:u||null,"aria-label":l||null},(0,Ke.createElement)("span",null)):null,(0,Ke.createElement)("div",{className:p},(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-counter-box-number-wrap"+(o?" ghostkit-count-up":""),value:n,"data-count-from":o&&h?h:null})),s?(0,Ke.createElement)("div",{...f}):null)},transforms:vv,deprecated:fv},wv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/divider","category":"ghostkit","title":"Divider","description":"Divide your long texts and blocks.","keywords":["divider","spacer"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"type":{"type":"string","default":"solid"},"size":{"type":"number","default":2},"icon":{"type":"string","default":""},"iconSize":{"type":"number"},"color":{"type":"string"},"iconColor":{"type":"string"},"hoverColor":{"type":"string"},"hoverIconColor":{"type":"string"}}}'),{name:kv}=wv,_v={from:[{type:"block",blocks:["core/separator"],transform:()=>(0,um.createBlock)("ghostkit/divider")}],to:[{type:"block",blocks:["core/separator"],transform:()=>(0,um.createBlock)("core/separator")}]},{name:xv}=wv,Cv={icon:Cr("block-divider",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/divider/",customStylesCallback(e){const t={"--gkt-divider__border-width":void 0,"--gkt-divider__border-color":e.color,"--gkt-divider--icon__font-size":void 0,"--gkt-divider--icon__color":e.iconColor,"&:hover":{"--gkt-divider__border-color":e.hoverColor||void 0,"--gkt-divider--icon__color":e.hoverIconColor||void 0}};return void 0!==e.size&&""!==e.size&&(t["--gkt-divider__border-width"]=`${e.size}px`),void 0!==e.iconSize&&""!==e.iconSize&&(t["--gkt-divider--icon__font-size"]=`${e.iconSize}px`),t}},example:{attributes:{size:4,icon:'',iconSize:40,color:"#a7a9ab",iconColor:"#a7a9ab",ghostkit:{id:"example-divider"},className:"ghostkit-custom-example-divider"}},edit:function(e){const{attributes:t,setAttributes:n}=e;let{className:o=""}=e;const{type:i,size:r,icon:s,iconSize:a,color:l,iconColor:c,hoverColor:u,hoverIconColor:h}=t;o=cs()("ghostkit-divider",`ghostkit-divider-type-${i}`,o),s&&(o=cs()(o,"ghostkit-divider-with-icon")),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const d=(0,ds.useBlockProps)({className:o});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarDropdownMenu,{icon:Cr("border-solid"),label:(0,bs.__)("Type","ghostkit"),controls:[{label:(0,bs.__)("Line","ghostkit"),icon:Cr("border-solid"),isActive:"solid"===i,onClick:()=>n({type:"solid"})},{label:(0,bs.__)("Dashed","ghostkit"),icon:Cr("border-dashed"),isActive:"dashed"===i,onClick:()=>n({type:"dashed"})},{label:(0,bs.__)("Dotted","ghostkit"),icon:Cr("border-dotted"),isActive:"dotted"===i,onClick:()=>n({type:"dotted"})},{label:(0,bs.__)("Double","ghostkit"),icon:Cr("border-double"),isActive:"double"===i,onClick:()=>n({type:"double"})}]})})}),(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Type","ghostkit"),value:i,options:[{value:"solid",label:(0,bs.__)("Line","ghostkit")},{value:"dashed",label:(0,bs.__)("Dashed","ghostkit")},{value:"dotted",label:(0,bs.__)("Dotted","ghostkit")},{value:"double",label:(0,bs.__)("Double","ghostkit")}],onChange:e=>n({type:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Size","ghostkit"),value:r,onChange:e=>n({size:e}),min:1,max:7,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,gs.jsx)(rg,{label:(0,bs.__)("Icon Size","ghostkit"),value:a,onChange:e=>n({iconSize:e}),min:10,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:l}),s?(0,gs.jsx)(hs,{colorValue:c}):null]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Divider","ghostkit"),value:o?u:l,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0})}),s?(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverIconColor":"iconColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Icon","ghostkit"),value:o?h:c,onChange:e=>n(o?{hoverIconColor:e}:{iconColor:e}),alpha:!0})}):null]})}})})]}),(0,gs.jsx)("div",{...d,children:s?(0,gs.jsx)("div",{className:"ghostkit-divider-icon",children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null})]})},save:function(e){const{icon:t,type:n}=e.attributes;let o=`ghostkit-divider ghostkit-divider-type-${n}`;t&&(o=cs()(o,"ghostkit-divider-with-icon")),o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:kv,...e});const i=ds.useBlockProps.save({className:o});return(0,Ke.createElement)("div",{...i},t?(0,Ke.createElement)(tp.Render,{name:t,tag:"div",className:"ghostkit-divider-icon"}):null)},transforms:_v},Sv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form","category":"ghostkit","title":"Form","description":"Add contact form to your page with reCaptcha.","keywords":["form","contact"],"supports":{"html":false,"className":false,"anchor":false,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true}}');function Ev(e,t,n){var o,i=n||{},r=i.noTrailing,s=void 0!==r&&r,a=i.noLeading,l=void 0!==a&&a,c=i.debounceMode,u=void 0===c?void 0:c,h=!1,d=0;function p(){o&&clearTimeout(o)}function g(){for(var n=arguments.length,i=new Array(n),r=0;re?l?(d=Date.now(),s||(o=setTimeout(u?f:g,e))):g():!0!==s&&(o=setTimeout(u?f:g,void 0===u?e-c:e)))}return g.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),h=!n},g}function Av(e,t,n){var o=(n||{}).atBegin;return Ev(e,t,{debounceMode:!1!==(void 0!==o&&o)})}const{GHOSTKIT:Tv}=window,$v=!Tv.googleReCaptchaAPISiteKey||!Tv.googleReCaptchaAPISecretKey,Mv=Av(1500,((e,t)=>{Wg()({path:"/ghostkit/v1/update_google_recaptcha_keys",method:"POST",data:{site_key:e,secret_key:t}})}));function Rv(){const[e,t]=(0,vs.useState)(Tv.googleReCaptchaAPISiteKey),[n,o]=(0,vs.useState)(Tv.googleReCaptchaAPISecretKey);return(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Google reCAPTCHA","ghostkit"),initialOpen:$v,children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Site Key","ghostkit"),value:e,onChange:e=>{t(e),Mv(e,n)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Secret Key","ghostkit"),value:n,onChange:t=>{o(t),Mv(e,t)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,bs.__)("Protect your form from spam using Google reCAPTCHA v3.","ghostkit")}),(0,gs.jsx)("p",{children:(0,gs.jsx)(us.ExternalLink,{href:"https://www.google.com/recaptcha/about/",children:(0,bs.__)("Generate Keys","ghostkit")})})]})}const jv=[["ghostkit/form-field-name",{slug:"field_name"}],["ghostkit/form-field-email",{slug:"field_email",required:!0}],["ghostkit/form-field-text",{slug:"field_subject",label:(0,bs.__)("Subject","ghostkit"),required:!0}],["ghostkit/form-field-textarea",{slug:"field_message",label:(0,bs.__)("Message","ghostkit"),required:!0}],["ghostkit/form-submit-button"]],Ov=["core/paragraph","core/heading","core/list","core/divider","core/columns","ghostkit/divider","ghostkit/grid"];function Lv(e){let t=[];return e.innerBlocks&&e.innerBlocks.length&&e.innerBlocks.forEach((e=>{e.name&&/^ghostkit\/form-field/g.test(e.name)&&t.push({clientId:e.clientId,name:e.name,type:e.name.replace(/^ghostkit\/form-field-/g,""),attributes:e.attributes}),e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...Lv(e)])})),t}function Iv(e,t){let n=`field_${e.type}`,o=100,i=0;for(;void 0!==t[e.type][n]&&o>0;)i+=1,o-=1,n=`field_${e.type}_${i}`;return n}const{name:Nv}=Sv,Pv={icon:Cr("block-form",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/form/"},example:{innerBlocks:[{name:"ghostkit/form-field-email",attributes:{required:!0}},{name:"ghostkit/form-field-text",attributes:{required:!0,nameFields:"first-last",description:(0,bs.__)("First","ghostkit"),descriptionLast:(0,bs.__)("Last","ghostkit")}},{name:"ghostkit/form-field-textarea",attributes:{label:(0,bs.__)("Message","ghostkit"),placeholder:(0,bs.__)("Write your message here…","ghostkit")}},{name:"ghostkit/form-submit-button"}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{mailAllow:r,mailTo:s,mailSubject:a,mailFrom:l,mailReplyTo:c,mailMessage:u,confirmationType:h,confirmationMessage:d,confirmationRedirect:p}=t,{isSelectedBlockInRoot:g,allFieldsData:f}=(0,Ze.useSelect)((e=>{const{getBlock:t,isBlockSelected:n,hasSelectedInnerBlock:i}=e("core/block-editor");return{allFieldsData:Lv(t(o)),isSelectedBlockInRoot:n(o)||i(o,!0)}}),[o]),{updateBlockAttributes:m}=(0,Ze.useDispatch)("core/block-editor"),v=Ev(200,(()=>{!function(){const e={};f.forEach((t=>{if(e[t.type]||(e[t.type]={}),t.attributes.slug)if(void 0!==e[t.type][t.attributes.slug]){const n=Iv(t,e);e[t.type][n]=!0,m(t.clientId,{slug:n})}else e[t.type][t.attributes.slug]=!0})),f.forEach((t=>{if(e[t.type]||(e[t.type]={}),!t.attributes.slug){const n=Iv(t,e);e[t.type][n]=!0,m(t.clientId,{slug:n})}}))}()}));(0,vs.useEffect)((()=>{v()})),i=cs()(i,"ghostkit-form"),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const b=(0,ds.useBlockProps)({className:i}),{children:y,...w}=(0,ds.useInnerBlocksProps)(b,{template:jv,allowedBlocks:Ov,renderAppender:()=>null});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Mail","ghostkit"),children:[r?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Send To Email Address","ghostkit"),value:s,onChange:e=>n({mailTo:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Subject","ghostkit"),value:a,onChange:e=>n({mailSubject:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("From","ghostkit"),value:l,onChange:e=>n({mailFrom:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Reply To","ghostkit"),value:c,onChange:e=>n({mailReplyTo:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Message","ghostkit"),value:u,onChange:e=>n({mailMessage:e}),__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Send Email","ghostkit"),label:(0,bs.__)("Send Email","ghostkit"),help:(0,bs.__)("In case if you don't want to receive email messages from this form, you may disable sending emails functionality."),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.ToggleControl,{Label:(0,bs.__)("Yes","ghostkit"),checked:!!r,onChange:()=>n({mailAllow:!r}),__nextHasNoMarginBottom:!0})})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Confirmation","ghostkit"),children:[(0,gs.jsx)(lg,{label:(0,bs.__)("Type","ghostkit"),value:h,options:[{label:(0,bs.__)("Message","ghostkit"),value:"message"},{label:(0,bs.__)("Redirect","ghostkit"),value:"redirect"}],onChange:e=>{n({confirmationType:e})},isDeselectable:!0}),h&&"message"!==h?null:(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Message","ghostkit"),value:d,onChange:e=>n({confirmationMessage:e}),__nextHasNoMarginBottom:!0}),"redirect"===h?(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Redirect URL","ghostkit"),value:p,onChange:e=>n({confirmationRedirect:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)(Rv,{})]}),(0,gs.jsxs)("div",{...w,children:[y,g?(0,gs.jsx)(ds.InnerBlocks.ButtonBlockAppender,{}):null]})]})},save:function(){return ds.useInnerBlocksProps.save().children}},Dv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-checkbox","parent":["ghostkit/form"],"category":"ghostkit","title":"Checkbox","description":"Form field checkbox.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}');function Bv(e){const t=["id","placeholder","default","min","max","step","multiple","required","for"],n={tabIndex:-1,onFocus(e){e.target.blur()}};return Object.keys(e).forEach((o=>{let i=e[o];void 0!==i&&("slug"===o&&(o="id"),-1!==t.indexOf(o)&&("boolean"==typeof i&&(i=!!i&&o),"default"===o&&(o="value"),!1!==i&&(n[o]=i)))})),n}function zv(e){const{attributes:t,setAttributes:n,hideLabelCustom:o,hideDescriptionCustom:i,requiredCustom:r,placeholderCustom:s,defaultCustom:a,slugCustom:l}=e,{slug:c,label:u,description:h,hideLabel:d,hideDescription:p,required:g,placeholder:f,default:m}=t,v=o||(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Hide Label","ghostkit"),checked:d,onChange:()=>n({hideLabel:!d}),__nextHasNoMarginBottom:!0}),b=i||(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Hide Description","ghostkit"),checked:p,onChange:()=>n({hideDescription:!p}),__nextHasNoMarginBottom:!0});return(0,gs.jsxs)(gs.Fragment,{children:[l||(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Slug","ghostkit"),help:(0,bs.__)("Slug is used in form field [name] attribute.","ghostkit"),value:c,onChange:()=>{},readOnly:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),s||(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Placeholder","ghostkit"),value:f,onChange:e=>n({placeholder:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),a||(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Default","ghostkit"),value:m,onChange:e=>n({default:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),r||(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Required","ghostkit"),checked:g,onChange:()=>n({required:!g}),__nextHasNoMarginBottom:!0}),u?v:"",h?b:""]})}function Fv(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{description:i,hideDescription:r}=t;return i||o?r&&!o?null:(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:i,placeholder:(0,bs.__)("Write description…","ghostkit"),onChange:e=>n({description:e})}):null}function Hv(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{label:i,hideLabel:r}=t;return i||o?r&&!o?null:(0,Ke.createElement)("label",{className:"ghostkit-form-field-label"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"span",value:i,placeholder:(0,bs.__)("Write label…","ghostkit"),onChange:e=>n({label:e})}),t.required?(0,Ke.createElement)("span",{className:"required"},"*"):""):null}function Wv(e){const{options:t,onChange:n,multiple:o}=e;return(0,gs.jsxs)("div",{className:"ghostkit-field-options",children:[t.map(((e,i)=>{const r=`option-${i}`;return(0,gs.jsxs)("div",{className:"ghostkit-field-options-item",children:[(0,gs.jsx)("input",{type:o?"checkbox":"radio",checked:e.selected,onClick:()=>{const r=[...t];r[i].selected=!e.selected,o||r.forEach(((e,t)=>{i!==t&&(r[t].selected=!1)})),n(r)}}),(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Write label…","ghostkit"),value:e.value,onChange:e=>{const o=[...t];o[i].value=e,o[i].label=e,n(o)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.Button,{onClick:()=>{if(t.length>1){const e=[...t];e.splice(i,1),n(e)}},className:"components-icon-button",children:(0,gs.jsx)("svg",{"aria-hidden":"true",role:"img",focusable:"false",className:"dashicon dashicons-trash",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:(0,gs.jsx)("path",{d:"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"})})})]},r)})),(0,gs.jsxs)(us.Button,{onClick:()=>{n([...t,{value:"",label:"",selected:!1}])},className:"components-icon-button",children:[(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img",focusable:"false",children:(0,gs.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})})," ",(0,bs.__)("Add Option","ghostkit")]})]})}const{name:Vv}=Dv,Uv={icon:Cr("block-form-field-checkbox",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{slug:i,inline:r}=t;let{options:s}=t,{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-checkbox",r&&"ghostkit-form-field-checkbox-inline",a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e),s&&s.length||(s=[{label:"",value:"",selected:!1}]);const l=(0,ds.useBlockProps)({className:a});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Inline","ghostkit"),checked:r,onChange:()=>n({inline:!r}),__nextHasNoMarginBottom:!0})]})}),(0,gs.jsxs)("div",{...l,children:[(0,gs.jsx)(Hv,{...e}),o?(0,gs.jsx)(Wv,{options:s,onChange:e=>n({options:e}),multiple:!0}):(0,gs.jsx)("div",{className:"ghostkit-form-field-checkbox-items",children:s.map(((e,n)=>{const o=`${i}-item-${n}`;return(0,gs.jsxs)("label",{htmlFor:o,className:"ghostkit-form-field-checkbox-item",children:[(0,gs.jsx)("input",{type:"checkbox",checked:e.selected,onChange:()=>{},...Bv(t)}),e.label]},o)}))}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Gv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-date","parent":["ghostkit/form"],"category":"ghostkit","title":"Date","description":"Form field date.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:qv}=Gv,Kv={icon:Cr("block-form-field-date",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{min:o,max:i,default:r}=t;let{className:s=""}=e;s=cs()("ghostkit-form-field ghostkit-form-field-date",s),s=(0,os.applyFilters)("ghostkit.editor.className",s,e);const a=(0,gs.jsx)(us.TextControl,{type:"date",label:(0,bs.__)("Default","ghostkit"),value:r,onChange:e=>n({default:e}),max:i,min:o,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),l=(0,ds.useBlockProps)({className:s});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e,defaultCustom:a})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Date Settings","ghostkit"),children:[(0,gs.jsx)(us.TextControl,{type:"date",label:(0,bs.__)("Min","ghostkit"),value:o,onChange:e=>n({min:e}),max:i,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{type:"date",label:(0,bs.__)("Max","ghostkit"),value:i,onChange:e=>n({max:e}),min:o,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})]}),(0,gs.jsxs)("div",{...l,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"date",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Yv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-email","parent":["ghostkit/form"],"category":"ghostkit","title":"Email","description":"Form field email.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:Zv}=Yv,Jv={icon:Cr("block-form-field-email",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{description:o,emailConfirmation:i,descriptionConfirmation:r,placeholderConfirmation:s,defaultConfirmation:a}=t;let{className:l=""}=e;l=cs()("ghostkit-form-field ghostkit-form-field-email",l),l=(0,os.applyFilters)("ghostkit.editor.className",l,e);const c=(0,ds.useBlockProps)({className:l});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Email Confirmation","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Yes","ghostkit"),checked:i,onChange:()=>{n(i?{emailConfirmation:!i}:{emailConfirmation:!i,description:o||(0,bs.__)("Email","ghostkit"),descriptionConfirmation:r||(0,bs.__)("Confirm Email","ghostkit")})},__nextHasNoMarginBottom:!0}),i?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Placeholder","ghostkit"),value:s,onChange:e=>n({placeholderConfirmation:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Default","ghostkit"),value:a,onChange:e=>n({defaultConfirmation:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null]})]}),(0,gs.jsxs)("div",{...c,children:[(0,gs.jsx)(Hv,{...e}),i?(0,gs.jsxs)("div",{className:"ghostkit-form-field-row",children:[(0,gs.jsxs)("div",{className:"ghostkit-form-field-email-primary",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]}),(0,gs.jsxs)("div",{className:"ghostkit-form-field-email-confirm",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv({slug:t.slug?`${t.slug}-confirmation`:null,placeholder:t.placeholderConfirmation,default:t.defaultConfirmation,required:t.required})}),(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:r,placeholder:(0,bs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionConfirmation:e})})]})]}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})]})},save:function(){return null}},Xv=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-hidden","parent":["ghostkit/form"],"category":"ghostkit","title":"Hidden","description":"Form field hidden.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:Qv}=Xv,eb={icon:Cr("block-form-field-hidden",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{default:o}=e;let{className:i=""}=e;i=cs()("ghostkit-form-field ghostkit-form-field-hidden",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const r=(0,ds.useBlockProps)({className:i});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Value","ghostkit"),value:o,onChange:e=>n({default:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}),(0,gs.jsxs)("div",{...r,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"text",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)})]})]})},save:function(){return null}},tb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-name","parent":["ghostkit/form"],"category":"ghostkit","title":"Name","description":"Form field name.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:nb}=tb,ob={icon:Cr("block-form-field-name",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{description:o,nameFields:i,descriptionLast:r,placeholderLast:s,defaultLast:a,descriptionMiddle:l,placeholderMiddle:c,defaultMiddle:u}=t;let{className:h=""}=e;h=cs()("ghostkit-form-field ghostkit-form-field-name","first-middle-last"===i||"first-last"===i?"ghostkit-form-field-name-with-last":"","first-middle-last"===i?"ghostkit-form-field-name-with-middle":"",h),h=(0,os.applyFilters)("ghostkit.editor.className",h,e);const d=(0,ds.useBlockProps)({className:h});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Name Fields","ghostkit"),children:[(0,gs.jsx)(us.SelectControl,{options:[{label:"First",value:"first"},{label:"First Last",value:"first-last"},{label:"First Middle Last",value:"first-middle-last"}],value:i,onChange:e=>{n("first-last"===e?{nameFields:e,description:o||(0,bs.__)("First","ghostkit"),descriptionLast:r||(0,bs.__)("Last","ghostkit")}:"first-middle-last"===e?{nameFields:e,description:o||(0,bs.__)("First","ghostkit"),descriptionLast:r||(0,bs.__)("Last","ghostkit"),descriptionMiddle:l||(0,bs.__)("Middle","ghostkit")}:{nameFields:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"first-middle-last"===i?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Middle Placeholder","ghostkit"),value:c,onChange:e=>n({placeholderMiddle:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Middle Default","ghostkit"),value:u,onChange:e=>n({defaultMiddle:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null,"first-middle-last"===i||"first-last"===i?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Last Placeholder","ghostkit"),value:s,onChange:e=>n({placeholderLast:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Last Default","ghostkit"),value:a,onChange:e=>n({defaultLast:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null]})]}),(0,gs.jsxs)("div",{...d,children:[(0,gs.jsx)(Hv,{...e}),"first-middle-last"===i||"first-last"===i?(0,gs.jsxs)("div",{className:"ghostkit-form-field-row",children:[(0,gs.jsxs)("div",{className:"ghostkit-form-field-name-first",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]}),"first-middle-last"===i?(0,gs.jsxs)("div",{className:"ghostkit-form-field-name-middle",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv({slug:t.slug?`${t.slug}-middle`:null,placeholder:t.placeholderMiddle,default:t.defaultMiddle,required:t.required})}),(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:l,placeholder:(0,bs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionMiddle:e})})]}):null,"first-middle-last"===i||"first-last"===i?(0,gs.jsxs)("div",{className:"ghostkit-form-field-name-last",children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv({slug:t.slug?`${t.slug}-last`:null,placeholder:t.placeholderLast,default:t.defaultLast,required:t.required})}),(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:r,placeholder:(0,bs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionLast:e})})]}):null]}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{type:"email",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})]})},save:function(){return null}},ib=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-number","parent":["ghostkit/form"],"category":"ghostkit","title":"Number","description":"Form field number.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:rb}=ib,sb={icon:Cr("block-form-field-number",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{min:o,max:i,step:r,default:s}=t;let{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-number",a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e);const l=(0,gs.jsx)(us.TextControl,{type:"number",label:(0,bs.__)("Default","ghostkit"),value:s,onChange:e=>n({default:e}),step:r,max:i,min:o,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),c=(0,ds.useBlockProps)({className:a});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e,defaultCustom:l})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Number Settings","ghostkit"),children:[(0,gs.jsx)(us.TextControl,{type:"number",label:(0,bs.__)("Min","ghostkit"),value:o,onChange:e=>n({min:e}),step:r,max:i,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{type:"number",label:(0,bs.__)("Max","ghostkit"),value:i,onChange:e=>n({max:e}),step:r,min:o,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{type:"number",label:(0,bs.__)("Step","ghostkit"),value:r,onChange:e=>n({step:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})]}),(0,gs.jsxs)("div",{...c,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"number",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},ab=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-phone","parent":["ghostkit/form"],"category":"ghostkit","title":"Phone","description":"Form field phone.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:lb}=ab,cb={icon:Cr("block-form-field-phone",!0),edit:function(e){const{attributes:t}=e;let{className:n=""}=e;n=cs()("ghostkit-form-field ghostkit-form-field-phone",n),n=(0,os.applyFilters)("ghostkit.editor.className",n,e);const o=(0,ds.useBlockProps)({className:n});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})})}),(0,gs.jsxs)("div",{...o,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"tel",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},ub=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-radio","parent":["ghostkit/form"],"category":"ghostkit","title":"Radio","description":"Form field radio.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:hb}=ub,db={icon:Cr("block-form-field-radio",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{slug:i,inline:r}=t;let{options:s}=t,{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-radio",r&&"ghostkit-form-field-radio-inline",a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e),s&&s.length||(s=[{label:"",value:"",selected:!1}]);let l="";s.forEach((e=>{!l&&e.selected&&(l=e.value)}));const c=(0,ds.useBlockProps)({className:a});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Inline","ghostkit"),checked:r,onChange:()=>n({inline:!r}),__nextHasNoMarginBottom:!0})]})}),(0,gs.jsxs)("div",{...c,children:[(0,gs.jsx)(Hv,{...e}),o?(0,gs.jsx)(Wv,{options:s,onChange:e=>n({options:e})}):(0,gs.jsx)("div",{className:"ghostkit-form-field-radio-items",children:s.map(((e,n)=>{const o=`${i}-item-${n}`;return(0,gs.jsxs)("label",{htmlFor:o,className:"ghostkit-form-field-radio-item",children:[(0,gs.jsx)("input",{type:"radio",checked:l===e.value,onChange:()=>{},...Bv(t)}),e.label]},o)}))}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},pb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-select","parent":["ghostkit/form"],"category":"ghostkit","title":"Select","description":"Form field select.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:gb}=pb,fb={icon:Cr("block-form-field-select",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{multiple:i}=t;let{options:r}=t,{className:s=""}=e;s=cs()("ghostkit-form-field ghostkit-form-field-select",s),s=(0,os.applyFilters)("ghostkit.editor.className",s,e),r&&r.length||(r=[{label:"",value:"",selected:!1}]);let a=i?[]:"";r.forEach((e=>{i&&e.selected?a.push(e.value):i||a||!e.selected||(a=e.value)}));const l=(0,ds.useBlockProps)({className:s});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Multiple","ghostkit"),checked:i,onChange:()=>{if(i){const e=[...r];let t=!1;e.forEach(((n,o)=>{n.selected&&(t&&(e[o].selected=!1),t=!0)})),n({multiple:!i,options:e})}else n({multiple:!i})},__nextHasNoMarginBottom:!0})]})}),(0,gs.jsxs)("div",{...l,children:[(0,gs.jsx)(Hv,{...e}),o?(0,gs.jsx)(Wv,{options:r,multiple:i,onChange:e=>n({options:e})}):(0,gs.jsx)(us.SelectControl,{...Bv(t),value:a,options:(()=>{if(!i){let e=!0;if(Object.keys(r).forEach((t=>{t.selected&&(e=!1)})),e)return[{label:(0,bs.__)("--- Select ---","ghostkit"),value:"",selected:!0},...r]}return r})(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},mb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-submit-button","parent":["ghostkit/form"],"category":"ghostkit","title":"Submit Button","description":"Form submit button.","supports":{"html":false,"className":false,"anchor":true,"reusable":false},"attributes":{"align":{"type":"string","default":"none"}}}');function vb(e){let t=[];return e.innerBlocks&&e.innerBlocks.length&&e.innerBlocks.forEach((e=>{e.name&&"ghostkit/button-single"===e.name&&t.push(e),e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...vb(e)])})),t}const{name:bb}=mb,{name:yb}=mb,wb={icon:Cr("block-buttons",!0),edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{align:r}=t,{updateBlockAttributes:s}=(0,Ze.useDispatch)("core/block-editor"),{blockData:a}=(0,Ze.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return{blockData:t(o)}}),[o]),l=Ev(200,function(){(vb(a)||[]).forEach((e=>{e.attributes.tagName&&"button"===e.attributes.tagName||s(e.clientId,{tagName:"button"})}))}.bind(this));(0,vs.useEffect)((()=>{l()})),i=cs()("ghostkit-form-submit-button",!(!r||"none"===r)&&`ghostkit-form-submit-button-align-${r}`,i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const c=(0,ds.useBlockProps)({className:i}),u=(0,ds.useInnerBlocksProps)(c,{template:[["ghostkit/button-single",{text:(0,bs.__)("Submit","ghostkit"),tagName:"button",focusOutlineWeight:2}]],allowedBlocks:["ghostkit/button-single"],templateLock:"all"});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:r,onChange:e=>n({align:e}),controls:["left","center","right"]})}),(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Align","ghostkit"),label:(0,bs.__)("Align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:r,onChange:e=>n({align:e}),controls:["left","center","right"],isCollapsed:!1})})})})}),(0,gs.jsx)("div",{...u})]})},save:function(e){const{align:t}=e.attributes;let n=cs()("ghostkit-form-submit-button",!(!t||"none"===t)&&`ghostkit-form-submit-button-align-${t}`);n=(0,os.applyFilters)("ghostkit.blocks.className",n,{name:bb,...e});const o=ds.useBlockProps.save({className:n}),i=ds.useInnerBlocksProps.save(o);return(0,Ke.createElement)("div",{...i})}},kb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-text","parent":["ghostkit/form"],"category":"ghostkit","title":"Text","description":"Form field text.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:_b}=kb,xb={icon:Cr("block-form-field-text",!0),edit:function(e){const{attributes:t}=e;let{className:n=""}=e;n=cs()("ghostkit-form-field ghostkit-form-field-text",n),n=(0,os.applyFilters)("ghostkit.editor.className",n,e);const o=(0,ds.useBlockProps)({className:n});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})})}),(0,gs.jsxs)("div",{...o,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Cb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-textarea","parent":["ghostkit/form"],"category":"ghostkit","title":"Textarea","description":"Form field textarea.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:Sb}=Cb,Eb={icon:Cr("block-form-field-textarea",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{default:o}=t;let{className:i=""}=e;i=cs()("ghostkit-form-field ghostkit-form-field-textarea",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const r=(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Default","ghostkit"),value:o,onChange:e=>n({default:e}),__nextHasNoMarginBottom:!0}),s=(0,ds.useBlockProps)({className:i});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e,defaultCustom:r})})}),(0,gs.jsxs)("div",{...s,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextareaControl,{__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Ab=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/form-field-url","parent":["ghostkit/form"],"category":"ghostkit","title":"URL","description":"Form field url.","supports":{"html":false,"className":false,"anchor":true,"reusable":false}}'),{name:Tb}=Ab,$b={icon:Cr("block-form-field-url",!0),edit:function(e){const{attributes:t}=e;let{className:n=""}=e;n=cs()("ghostkit-form-field ghostkit-form-field-url",n),n=(0,os.applyFilters)("ghostkit.editor.className",n,e);const o=(0,ds.useBlockProps)({className:n});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(zv,{...e})})}),(0,gs.jsxs)("div",{...o,children:[(0,gs.jsx)(Hv,{...e}),(0,gs.jsx)(us.TextControl,{type:"url",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,...Bv(t)}),(0,gs.jsx)(Fv,{...e})]})]})},save:function(){return null}},Mb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/gif","category":"ghostkit","title":"GIF","description":"Search for and insert an animated image.","keywords":["animated","giphy","image"],"supports":{"html":false,"className":false,"anchor":true},"attributes":{"searchText":{"type":"string"},"url":{"attribute":"src","selector":"img","source":"attribute","type":"string"},"srcset":{"attribute":"srcset","selector":"img","source":"attribute","type":"string"},"alt":{"attribute":"alt","selector":"img","source":"attribute","type":"string","default":""},"caption":{"type":"string","source":"html","selector":"figcaption"},"width":{"type":"number"},"height":{"type":"number"}}}'),Rb={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let jb;const Ob=new Uint8Array(16);function Lb(){if(!jb&&(jb="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!jb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return jb(Ob)}const Ib=[];for(let e=0;e<256;++e)Ib.push((e+256).toString(16).slice(1));const Nb=function(e,t,n){if(Rb.randomUUID&&!t&&!e)return Rb.randomUUID();const o=(e=e||{}).random||(e.rng||Lb)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return function(e,t=0){return Ib[e[t+0]]+Ib[e[t+1]]+Ib[e[t+2]]+Ib[e[t+3]]+"-"+Ib[e[t+4]]+Ib[e[t+5]]+"-"+Ib[e[t+6]]+Ib[e[t+7]]+"-"+Ib[e[t+8]]+Ib[e[t+9]]+"-"+Ib[e[t+10]]+Ib[e[t+11]]+Ib[e[t+12]]+Ib[e[t+13]]+Ib[e[t+14]]+Ib[e[t+15]]}(o)};Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Pb={ENABLED:"undefined"!=typeof window&&"undefined"!=typeof location&&-1!==location.search.indexOf("giphy-debug"),LEVEL:0,PREFIX:"GiphyJS",debug:(...e)=>{Pb.ENABLED&&Pb.LEVEL<=0&&console.debug(Pb.PREFIX,...e)},info:(...e)=>{Pb.ENABLED&&Pb.LEVEL<=1&&console.info(Pb.PREFIX,...e)},warn:(...e)=>{Pb.ENABLED&&Pb.LEVEL<=2&&console.warn(Pb.PREFIX,...e)},error:(...e)=>{Pb.ENABLED&&Pb.LEVEL<=3&&console.error(Pb.PREFIX,...e)}},Db="",Bb=()=>{if(!Db){try{Db=sessionStorage.getItem("giphyPingbackId")}catch(e){}if(!Db){const e=(new Date).getTime().toString(16);try{Db=`${e}${Nb().replace(/-/g,"")}`.substring(0,16)}catch(e){Db=(()=>{let e="";for(let t=0;t<16;t++)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return e})()}try{sessionStorage.setItem("giphyPingbackId",Db)}catch(e){}}}return Db},zb=(new Promise((e=>{"undefined"==typeof Image&&e(!1);const t=new Image;t.onload=()=>{e(!0)},t.onerror=()=>{e(!1)},t.src="data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA"})),("undefined"!=typeof window?window:global)||{});zb._GIPHY_SDK_HEADERS_=zb._GIPHY_SDK_HEADERS_||(zb.Headers?new zb.Headers({"X-GIPHY-SDK-PLATFORM":"web"}):void 0);var Fb,Hb,Wb,Vb=()=>zb._GIPHY_SDK_HEADERS_,Ub=(e,t)=>{var n;return null==(n=Vb())?void 0:n.set(e,t)},Gb=Object.defineProperty,qb=Object.defineProperties,Kb=Object.getOwnPropertyDescriptors,Yb=Object.getOwnPropertyNames,Zb=Object.getOwnPropertySymbols,Jb=Object.prototype.hasOwnProperty,Xb=Object.prototype.propertyIsEnumerable,Qb=(e,t,n)=>t in e?Gb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ey=(e,t)=>{for(var n in t||(t={}))Jb.call(t,n)&&Qb(e,n,t[n]);if(Zb)for(var n of Zb(t))Xb.call(t,n)&&Qb(e,n,t[n]);return e},ty=(e,t)=>qb(e,Kb(t)),ny=(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,t)=>("undefined"!=typeof require?require:e)[t]}):e)((function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')})),oy=(Fb={"package.json"(e,t){t.exports={scripts:{lint:"run -T eslint . --ext .ts,.tsx",clean:"rm -rf ./dist",dev:"parcel public/test.html",docs:"typedoc src/index.ts",build:"run -T tsup src/index.ts --format cjs,esm --dts && run -T publint",prepublish:"npm run clean && npm run build",test:"run -T jest --config ./jestconfig.js","test:watch":"run -T jest --config ./jestconfig.js --watchAll"},name:"@giphy/js-fetch-api",version:"5.4.0",description:"Javascript API to fetch gifs and stickers from the GIPHY API.",homepage:"https://github.com/Giphy/giphy-js/tree/master/packages/fetch-api",main:"dist/index.cjs",types:"dist/index.d.ts",module:"dist/index.js",type:"module",sideEffects:!1,exports:{".":{types:"./dist/index.d.ts",import:"./dist/index.js",require:"./dist/index.cjs"},"./package.json":"./package.json"},files:["dist/","src/**/*"],license:"MIT",publishConfig:{access:"public"},dependencies:{"@giphy/js-types":"*","@giphy/js-util":"*"},devDependencies:{"jest-fetch-mock":"^3.0.3","parcel-bundler":"latest",typedoc:"^0.20.37","typedoc-thunder-theme":"^0.0.3",typescript:"^5.0.4"}}}},function(){return Hb||(0,Fb[Yb(Fb)[0]])((Hb={exports:{}}).exports,Hb),Hb.exports}),iy=["is_anonymous","is_community","is_featured","is_hidden","is_indexable","is_preserve_size","is_realtime","is_removed","is_sticker","is_dynamic"],ry=["suppress_chrome","is_public","is_verified"],sy=e=>t=>e[t]=!!e[t],ay=e=>"string"==typeof e?e:e.text,ly=e=>{const t=ey({},e);t.id=String(t.id),t.tags=(t.tags||[]).map(ay),iy.forEach(sy(t)),Object.keys(t.images||{}).forEach((e=>{const n=t.images[e];n.width=parseInt(n.width),n.height=parseInt(n.height)}));const{user:n}=t;if(n){const e=ey({},n);ry.forEach(sy(e)),t.user=e}return t},cy=e=>(e.data=ly(e.data),e),uy=e=>(e.data=e.data.map((e=>ly(e))),e),hy=(("undefined"!=typeof window?window:global)||{}).GIPHY_API_URL||"https://api.giphy.com/v1/",dy=class extends Error{constructor(e,t,n=0,o=""){super(e),this.url=t,this.status=n,this.statusText=o}},py=e=>e,gy={},fy=function(e,t={}){const{apiVersion:n=1,noCache:o=!1,normalizer:i=py}=t,r=hy.replace(/\/v\d+\/$/,`/v${n}/`);if((()=>{const e=Date.now();Object.keys(gy).forEach((t=>{const n=gy[t].isError?6e3:6e4;e-gy[t].ts>=n&&delete gy[t]}))})(),!gy[e]||o){const t=`${r}${e}`,n=()=>{return n=this,o=null,r=function*(){var n;let o;try{const r=yield fetch(t,{method:"get"});if(r.ok){const e=yield r.json();if(null==(n=e.meta)?void 0:n.response_id)return i(e);throw{message:"synthetic response"}}{let n="Error fetching";try{const e=yield r.json();e.message&&(n=e.message)}catch(e){}gy[e]&&(gy[e].isError=!0),o=new dy(`@giphy/js-fetch-api: ${n}`,t,r.status,r.statusText)}}catch(n){o=new dy(n.message,t),gy[e]&&(gy[e].isError=!0)}throw o},new Promise(((e,t)=>{var i=e=>{try{a(r.next(e))}catch(e){t(e)}},s=e=>{try{a(r.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())}));var n,o,r};gy[e]={request:n(),ts:Date.now()}}return gy[e].request},my=e=>e&&e.type?e.type:"gifs";if(void 0!==ny){const{version:e}=oy();(null==(Wb=Vb())?void 0:Wb.get("X-GIPHY-SDK-NAME"))||(Ub("X-GIPHY-SDK-NAME","FetchAPI"),Ub("X-GIPHY-SDK-VERSION",e))}const vy=new class{constructor(e,t={}){this.getQS=(e={})=>new URLSearchParams(ey(ty(ey({},e),{api_key:this.apiKey,pingback_id:Bb()}),this.qsParams)).toString(),this.apiKey=e,this.qsParams=t}categories(e){return fy(`gifs/categories?${this.getQS(e)}`)}gif(e,t){const n=(null==t?void 0:t.internal)?"internal/":"";return fy(`${n}gifs/${e}?${this.getQS()}`,{normalizer:cy})}gifs(e,t){return Array.isArray(e)?fy(`gifs?${this.getQS({ids:e.join(",")})}`,{normalizer:uy}):fy(`gifs/categories/${e}/${t}?${this.getQS()}`,{normalizer:uy})}emoji(e){return fy(`emoji?${this.getQS(e)}`,{normalizer:uy})}emojiDefaultVariations(e){return fy(`emoji?${this.getQS(e)}`,{apiVersion:2,normalizer:uy})}emojiVariations(e){return fy(`emoji/${e}/variations?${this.getQS()}`,{apiVersion:2,normalizer:uy})}animate(e,t={}){const n=this.getQS(ty(ey({},t),{m:e}));return fy(`text/animate?${n}`,{normalizer:uy})}search(e,t={}){const n=t.channel?`@${t.channel} ${e}`:e;let o;"text"===t.type&&(o=!0);const i=this.getQS(ty(ey({rating:"pg-13"},t),{q:n,excludeDynamicResults:o}));return fy(`${my(t)}/search?${i}`,{normalizer:uy})}subcategories(e,t){return fy(`gifs/categories/${e}?${this.getQS(t)}`)}trending(e={}){return fy(`${my(e)}/trending?${this.getQS(ey({rating:"pg-13"},e))}`,{normalizer:uy})}random(e){return fy(`${my(e)}/random?${this.getQS(ey({rating:"pg-13"},e))}`,{noCache:!0,normalizer:cy})}related(e,t={}){const{type:n="gifs"}=t;return fy(`${n}/related?${this.getQS(ey({gif_id:e,rating:"pg-13"},t))}`,{normalizer:uy})}channels(e,t={}){return fy(`channels/search?${this.getQS(ey({q:e,rating:"pg-13"},t))}`)}}("Qm6AupESs2abqy7fSeHNQ892EWSS28r8");function by(e,t){const n=e.split(t);return n[n.length-1]}const{name:yy}=Mb,wy={icon:Cr("block-gif",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/gif/"},edit:function(e){const{attributes:t,isSelected:n,setAttributes:o}=e;let{className:i}=e;const{caption:r,url:s,srcset:a,alt:l,width:c,height:u,searchText:h}=t,[d,p]=(0,vs.useState)(null),[g,f]=(0,vs.useState)(!1);function m(e){e.preventDefault(),function(){f(!0);const e=function(){let e=null;-1!==h.indexOf("//giphy.com/gifs")&&(e=by(by(h,"/"),"-")),-1!==h.indexOf("//i.giphy.com")&&(e=by(h,"/").replace(".gif",""));const t=h.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return t&&(e=t[1]),e?{id:e}:{search:h}}();let t=!1;t=e.id?vy.gifs([e.id]):vy.search(e.search||"",{sort:"relevant",limit:10}),t.then((e=>{if(f(!1),e.meta&&e.meta.status&&200===e.meta.status){const t=void 0!==e.data.images?[e.data]:e.data;if(!t[0].images)return;p(t)}}))}()}const v=(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)("form",{className:"ghostkit-gif-input-container",onSubmit:m,children:[(0,gs.jsx)(us.TextControl,{className:"ghostkit-gif-input",placeholder:(0,bs.__)("Enter search terms, e.g. cat…","ghostkit"),onChange:e=>o({searchText:e}),value:h,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.Button,{variant:"secondary",onClick:e=>{m(e)},children:(0,bs.__)("Search","ghostkit")})]}),g&&(0,gs.jsx)(us.Spinner,{}),!g&&d&&d.length>1&&(0,gs.jsx)("div",{className:"ghostkit-gif-thumbnails-container",children:d.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,gs.jsx)("button",{className:"ghostkit-gif-thumbnail-container",onClick:()=>{!function(e){const{images:t}=e;let n="";["preview_gif","downsized_small","downsized_medium","downsized_large","downsized"].forEach((e=>{t[e]&&t[e].url&&!new RegExp(` ${t[e].width}w`).test(n)&&(n+=`${n?", ":""}${t[e].url} ${t[e].width}w`)})),o({url:t.original.url,srcset:n,caption:e.title,alt:e.title,width:parseInt(t.original.width,10),height:parseInt(t.original.height,10)})}(e)},style:t,children:" "},e.id)}))})]});i=cs()("ghostkit-gif",i);const b=(0,ds.useBlockProps)({className:i});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{className:"components-panel__body-gif-branding",children:(0,gs.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22",children:[(0,gs.jsx)("path",{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),(0,gs.jsx)("path",{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})]})}),s?(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Image settings","ghostkit"),children:[v,(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:l,onChange:e=>o({alt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0})]}):null]}),(0,gs.jsx)("figure",{...b,children:s?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)("img",{src:s,srcSet:a,alt:l,width:c,height:u}),(!ds.RichText.isEmpty(r)||n)&&!!s&&(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,className:"ghostkit-gif-caption",onChange:e=>o({caption:e}),placeholder:(0,bs.__)("Write caption…","jetpack"),tagName:"figcaption",value:r})]}):(0,gs.jsx)(us.Placeholder,{className:"ghostkit-gif-placeholder",icon:Cr("block-gif"),label:(0,bs.__)("GIF","ghostkit"),instructions:(0,bs.__)("Search for a term or paste a Giphy URL","ghostkit"),children:v})})]})},save:function(e){const{url:t,srcset:n,alt:o,width:i,height:r,caption:s}=e.attributes;let{className:a}=e.attributes;a=cs()("ghostkit-gif",a);const l=ds.useBlockProps.save({className:a});return(0,Ke.createElement)("figure",{...l},(0,Ke.createElement)("img",{src:t,srcSet:n,alt:o,width:i,height:r}),ds.RichText.isEmpty(s)?null:(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-gif-caption",tagName:"figcaption",value:s}))}},ky=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/gist","category":"ghostkit","title":"GitHub Gist","description":"Embed code parts form GitHub Gist to your site or documentation.","keywords":["github","gist"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"url":{"type":"string","default":""},"file":{"type":"string","default":""},"caption":{"type":"string","default":""},"showFooter":{"type":"boolean","default":true},"showLineNumbers":{"type":"boolean","default":true}}}');function _y(e,t,n,o=(()=>{})){const{currentDoc:i}=function(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}(n),r=i.getElementsByTagName("head")[0],s=document.getElementById(t);if(s)if(i.getElementById(t))o();else{if("js"===e){const e=i.createElement("script");e.id=t,e.type="text/javascript",e.src=s.src,e.onload=o,r.appendChild(e)}if("css"===e){const e=i.createElement("link");e.id=t,e.rel="stylesheet",e.href=s.href,r.appendChild(e)}}}const xy=window.jQuery;var Cy=n.n(xy);const Sy={};function Ey(e){const{url:t,label:n,value:o,onChange:i,isToolbar:r,className:s}=e,[a,l]=(0,vs.useState)([""]);function c(e){a.toString()!==e.toString()&&l(e)}return(0,vs.useEffect)((()=>{let e=t;const n=/^https:\/\/gist.github.com?.+\/(.+)/g.exec(e);n&&void 0!==n[1]&&(e=`https://gist.github.com/${n[1].split("#")[0]}.json`,Cy().ajax({url:e,dataType:"jsonp",timeout:2e4,beforeSend(){if(Sy[e])return Sy[e].then((e=>{c([""].concat(e.files))}),(()=>{c([""])})),!1;Sy[e]=Cy().Deferred()},success(t){Sy[e]&&Sy[e].resolve(t),c([""].concat(t.files))},error(){c([""])}}))})),r?(0,gs.jsx)(us.DropdownMenu,{icon:"media-default",label:n,controls:a.map((e=>({title:e||(0,bs.__)("Show all files","ghostkit"),isActive:e===o,onClick:()=>i(e)}))),className:s}):(0,gs.jsx)(us.SelectControl,{label:n,value:o,options:a.map((e=>({value:e,label:e||(0,bs.__)("Show all files","ghostkit")}))),onChange:i,className:s,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}const{gistSimple:Ay}=window,{name:Ty}=ky,$y={from:[{type:"raw",priority:1,isMatch:e=>{const t="P"===e.nodeName&&/^https:\/\/gist.github.com?.+\/(.+)/g.exec(e.textContent);return!(!t||void 0===t[1])},transform:e=>(0,um.createBlock)("ghostkit/gist",{url:e.textContent.trim()})}]},{name:My}=ky,Ry={icon:Cr("block-gist",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/github-gist/"},example:{attributes:{url:"https://gist.github.com/nk-o/fc0422389f3baa4e66d243b6f0c0ef1a",file:"example.php"}},transforms:$y,edit:function(e){const{attributes:t,setAttributes:n}=e,{url:o,file:i,caption:r,showFooter:s,showLineNumbers:a}=t,[l,c]=(0,vs.useState)(t.url),u=(0,vs.useRef)(),h=(0,vs.useRef)(),d=(0,vs.useRef)();let{className:p=""}=e;function g(e,t=1e3){c(e),clearTimeout(d.current),d.current=setTimeout((()=>{n({url:e})}),t)}(0,vs.useEffect)((()=>{!function(){if(!o||!u?.current)return;const e=function(){if(o){const e=/^https:\/\/gist.github.com?.+\/(.+)/g.exec(o);if(e&&void 0!==e[1])return e[1].split("#")[0]}return!1}();if(!e)return;if(void 0===Ay)return void console.warn((0,bs.__)("Gist Simple plugin is not defined.","ghostkit"));const t=e+i+r+(s?1:0)+(a?1:0);t!==h?.current&&(h.current=t,setTimeout((()=>{u.current.GistSimple&&u.current.GistSimple.destroy(),Ay(u.current,{id:e,file:i,caption:r,showFooter:s,showLineNumbers:a})}),0))}()})),(0,vs.useEffect)((()=>{u?.current&&_y("css","gist-simple-css",u.current)}),[u]),p=cs()("ghostkit-gist",p),p=(0,os.applyFilters)("ghostkit.editor.className",p,e);const f=(0,ds.useBlockProps)({className:p});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("URL","ghostkit"),type:"url",value:l,onChange:e=>g(e),onKeyDown:e=>{13===e.keyCode&&g(l,0)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(Ey,{label:(0,bs.__)("File","ghostkit"),url:o,value:i,onChange:e=>n({file:e})})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Caption","ghostkit"),value:r,onChange:e=>n({caption:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show footer","ghostkit"),checked:!!s,onChange:e=>n({showFooter:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show line numbers","ghostkit"),checked:!!a,onChange:e=>n({showLineNumbers:e}),__nextHasNoMarginBottom:!0})]})]}),(0,gs.jsxs)("div",{...f,children:[o?null:(0,gs.jsxs)(us.Placeholder,{icon:Cr("block-gist"),label:(0,bs.__)("Gist URL","ghostkit"),className:p,children:[(0,gs.jsx)(us.TextControl,{placeholder:"https://gist.github.com/...",value:l,onChange:e=>g(e),onKeyDown:e=>{13===e.keyCode&&g(l,0)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ExternalLink,{href:"https://gist.github.com/",children:(0,bs.__)("Visit GitHub Gist Site","ghostkit")})]}),o?(0,gs.jsx)("div",{ref:u,className:p,"data-url":o,"data-file":i,"data-caption":r,"data-show-footer":s?"true":"false","data-show-line-numbers":a?"true":"false"}):null]})]})},save:function(e){const{url:t,file:n,caption:o,showFooter:i,showLineNumbers:r}=e.attributes;let s="ghostkit-gist";s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:Ty,...e});const a=ds.useBlockProps.save({className:s,"data-url":t,"data-file":n,"data-caption":o,"data-show-footer":i?"true":"false","data-show-line-numbers":r?"true":"false"});return(0,Ke.createElement)("div",{...a})}},jy=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/google-maps","category":"ghostkit","title":"Google Maps","description":"Show maps with custom styles, markers and settings.","keywords":["maps","google"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"lat":{"type":"number","default":40.7127753},"lng":{"type":"number","default":-74.0059728},"zoom":{"type":"number","default":10},"height":{"type":"number","default":350},"showZoomButtons":{"type":"boolean","default":true},"showMapTypeButtons":{"type":"boolean","default":true},"showStreetViewButton":{"type":"boolean","default":true},"showFullscreenButton":{"type":"boolean","default":true},"optionScrollWheel":{"type":"boolean","default":true},"gestureHandling":{"type":"string","default":"greedy"},"optionDraggable":{"type":"boolean","default":true},"style":{"type":"string","default":"default"},"styleCustom":{"type":"string","default":""},"markers":{"type":"array","default":[]},"fullHeight":{"type":"boolean","default":false}}}');var Oy,Ly;function Iy(){return Iy=Object.assign?Object.assign.bind():function(e){for(var t=1;t${i}
    `),r&&(e+=r),p=new window.google.maps.InfoWindow({content:e}),d.addListener("click",(()=>{p.open(t,d)}))}return{marker:d,infoWindow:p}}function Wy(e){const{apiUrl:t,options:n,markers:o,onChangeMarkers:i}=e,[r,s]=(0,vs.useState)(null),a=(0,vs.useRef)(null),l=(0,vs.useRef)(null);return(0,vs.useEffect)((()=>{a.current&&(r?r.setOptions(n):function(e,t,n){const{markers:o,apiUrl:i=`${Fy}&key=${zy}`,onZoomChange:r,onCenterChange:s,...a}=t;Dy()(i,(()=>{By.trigger(e,"prepare.googleMaps.gkt",{options:t});const i=new window.google.maps.Map(e,a),l=e.getAttribute("data-gesture-handling");i&&"cooperative"===l&&i.setOptions({gestureHandling:l,scrollwheel:t.scrollwheel?null:t.scrollwheel}),o&&o.length&&o.forEach((e=>{Hy({map:i,lat:e.lat,lng:e.lng,title:e.title,description:e.infoWindowText,iconURL:e.iconUrl,iconWidth:e.iconWidth,iconHeight:e.iconHeight})})),r&&i.addListener("zoom_changed",(()=>{r(i.getZoom())})),s&&i.addListener("center_changed",(()=>{s(i.getCenter())})),By.trigger(e,"prepared.googleMaps.gkt",{options:t,instance:i}),n&&n(i)}))}(a.current,{apiUrl:t,...n},(e=>{s(e)})))}),[t,r,n]),(0,vs.useEffect)((()=>{r&&o&&o.length&&(l.current?.length&&l.current.forEach((e=>{e.setMap(null)})),l.current=[],o.forEach(((e,t)=>{let n=null,s=null,a=null;if(e.iconImageURL&&e.iconImageCustomWidth&&e.iconImageWidth&&e.iconImageHeight){const t=e.iconImageCustomWidth*(e.iconImageHeight/e.iconImageWidth);n=e.iconImageURL,s=e.iconImageCustomWidth,a=t}const{marker:c}=Hy({map:r,lat:e.lat,lng:e.lng,title:e.title,description:e.infoWindowText,iconURL:n,iconWidth:s,iconHeight:a,draggable:!0});l.current.push(c),window.google.maps.event.addListener(c,"dragend",(e=>{const n=e.latLng.lat(),r=e.latLng.lng(),s=Object.assign([],o);s[t].lat=n,s[t].lng=r,i(s)}))})))}),[t,r,n,o,i]),(0,Ke.createElement)("div",{ref:a,className:"ghostkit-google-maps-wrap",style:{minHeight:"100%"}})}const Vy=n.p+"images/style-bright.b03a3ba1.png",Uy=n.p+"images/style-custom.69181fd3.png",Gy=n.p+"images/style-dark.9fb1c8ca.png",qy=n.p+"images/style-default.d929fa91.png",Ky=n.p+"images/style-light.49c19432.png",Yy=n.p+"images/style-pale-dawn.2dd7ae39.png",Zy=[{value:"default",label:(0,bs.__)("Default","ghostkit"),image:qy,json:[]},{value:"bright",label:(0,bs.__)("Bright","ghostkit"),image:Vy,json:[{featureType:"all",elementType:"all",stylers:[{saturation:"32"},{lightness:"-3"},{visibility:"on"},{weight:"1.18"}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{saturation:"-70"},{lightness:"14"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{saturation:"100"},{lightness:"-14"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"off"},{lightness:"12"}]}]},{value:"light",label:(0,bs.__)("Light","ghostkit"),image:Ky,json:[{featureType:"administrative",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"geometry",stylers:[{visibility:"on"},{color:"#e3e3e3"}]},{featureType:"landscape.natural",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"all",stylers:[{color:"#cccccc"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"labels.text",stylers:[{visibility:"on"}]},{featureType:"transit.station.airport",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"transit.station.airport",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#FFFFFF"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"on"}]}]},{value:"dark",label:(0,bs.__)("Dark","ghostkit"),image:Gy,json:[{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#707070"},{lightness:40}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#424242"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{lightness:17},{color:"#484848"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{lightness:29},{weight:.2},{color:"#ff0000"},{visibility:"off"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]}]},{value:"pale_dawn",label:(0,bs.__)("Pale Dawn","ghostkit"),image:Yy,json:[{featureType:"administrative",elementType:"all",stylers:[{visibility:"on"},{lightness:33}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f2e5d4"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#c5dac6"}]},{featureType:"poi.park",elementType:"labels",stylers:[{visibility:"on"},{lightness:20}]},{featureType:"road",elementType:"all",stylers:[{lightness:20}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#c5c6c6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#e4d7c6"}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#fbfaf7"}]},{featureType:"water",elementType:"all",stylers:[{visibility:"on"},{color:"#acbcc9"}]}]},{value:"custom",label:(0,bs.__)("Custom","ghostkit"),image:Uy}];function Jy(e){const{label:t,placeholder:n,className:o,onChange:i}=e,r=(0,vs.useRef)(null),[s,a]=(0,vs.useState)("");return(0,vs.useEffect)((()=>{if(!r?.current||!window?.google?.maps?.places)return;const e=new window.google.maps.places.SearchBox(r.current);e.addListener("places_changed",(()=>{const t=e.getPlaces();i&&(i(t),t&&t[0]&&a(t[0].formatted_address))}))}),[r,i]),(0,gs.jsx)("div",{className:o,children:(0,gs.jsx)(us.TextControl,{ref:r,label:t,placeholder:n,value:s,onChange:e=>{a(e)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}const{GHOSTKIT:Xy}=window,Qy=`${Xy.googleMapsAPIUrl}&libraries=geometry,drawing,places`;let ew=!1;function tw(e){let t=[];try{t=JSON.parse(gt(e))}catch(e){return[]}return t}function nw(e){const{googleMapURL:t,title:n,address:o,addresses:i,lat:r,lng:s,iconImageURL:a,iconImageCustomWidth:l,infoWindowText:c,onChange:u}=e,h=a?(0,gs.jsx)("img",{src:a,width:l,alt:""}):(0,gs.jsx)("img",{src:"https://maps.gstatic.com/mapfiles/api-3/images/spotlight-poi3_hdpi.png",width:"27",alt:""});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Title","ghostkit"),value:n,onChange:e=>{u({title:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(Jy,{googleMapURL:t,label:(0,bs.__)("Address","ghostkit"),value:o||i[r+s]||"",onChange:e=>{e&&e[0]&&u({address:e[0].formatted_address,lat:e[0].geometry.location.lat(),lng:e[0].geometry.location.lng()})},className:"ghostkit-google-maps-search-box"}),(0,gs.jsxs)("div",{className:"ghostkit-google-maps-marker-options-content-icon",children:[h,(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{e&&e.url&&u({iconImageID:e.id,iconImageURL:e.url,iconImageCustomWidth:Math.min(100,e.width),iconImageWidth:e.width,iconImageHeight:e.height})},allowedTypes:["image"],value:a||!1,render:({open:e})=>(0,gs.jsx)(us.Button,{variant:"secondary",onClick:e,children:(0,bs.__)("Change Icon","ghostkit")})})]}),l?(0,gs.jsx)("div",{children:(0,gs.jsx)(us.Button,{className:"ghostkit-google-maps-icon-reset",onClick:()=>{u({iconImageID:"",iconImageURL:"",iconImageCustomWidth:"",iconImageWidth:"",iconImageHeight:""})},children:(0,bs.__)("Reset Icon to Default","ghostkit")})}):null,l?(0,gs.jsx)("div",{children:(0,gs.jsx)(rg,{label:(0,bs.__)("Marker Width","ghostkit"),value:l,onChange:e=>u({iconImageCustomWidth:e}),min:10,max:100,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}):null,(0,gs.jsx)(us.BaseControl,{label:(0,bs.__)("Info Window Text","ghostkit"),className:"ghostkit-google-maps-marker-options-content-info-window-text",id:"ghostkit-google-maps-marker-content-info-window-text",__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(ds.RichText,{value:c,multiline:!0,placeholder:(0,bs.__)("Write text…","ghostkit"),onChange:e=>{u({infoWindowText:e})},onRemove:()=>{u({infoWindowText:""})}})})]})}const{name:ow}=jy,{name:iw}=jy,rw={icon:Cr("block-google-maps",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/google-maps/"},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,toggleSelection:i}=e;let{className:r=""}=e;const{height:s,zoom:a,lat:l,lng:c,showZoomButtons:u,showMapTypeButtons:h,showStreetViewButton:d,showFullscreenButton:p,optionScrollWheel:g,optionDraggable:f,gestureHandling:m,markers:v,fullHeight:b,style:y,styleCustom:w}=t,[k,_]=(0,vs.useState)(t.apiKey),[x,C]=(0,vs.useState)(Xy.googleMapsAPIKey),[S,E]=(0,vs.useState)({});function A(e,t){v&&v.length>0&&(v.forEach(((n,o)=>{n.address||e.lat!==n.lat||e.lng!==n.lng||(v[o].address=t,S[e.lat+e.lng]=t)})),E(S))}(0,vs.useEffect)((()=>{(ew||window.google&&window.google.maps&&window.google.maps.Geocoder)&&(ew=new window.google.maps.Geocoder),ew&&v&&v.length>0&&v.forEach((e=>{e.address||(S[e.lat+e.lng]?A({lat:e.lat,lng:e.lng},S[e.lat+e.lng]):ew.geocode({location:{lat:e.lat,lng:e.lng}},((t,n)=>{"OK"===n&&t.length&&A({lat:e.lat,lng:e.lng},t[0].formatted_address)})))}))}));const T=Av(600,(e=>{Xy.googleMapsAPIKey=e,_(e)})),$=Av(3e3,(e=>{Wg()({path:"/ghostkit/v1/update_google_maps_api_key",method:"POST",data:{key:e}})}));function M(){return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(np,{value:gt(y),options:Zy,onChange:e=>{let t=w;"default"===e?t="":"custom"!==e&&Zy.forEach((n=>{e===n.value&&(t=JSON.stringify(n.json))})),n({style:e,styleCustom:pt(t)})}}),"custom"===y?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextareaControl,{placeholder:(0,bs.__)("Enter Style JSON","ghostkit"),value:gt(w),onChange:e=>n({styleCustom:pt(e)}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,gs.jsxs)("em",{children:[(0,bs.__)("You can use custom styles presets from the","ghostkit")," ",(0,gs.jsx)(us.ExternalLink,{href:"https://snazzymaps.com/",children:(0,bs.__)("Snazzy Maps","ghostkit")}),"."]})})]}):null]})}function R(){return(0,gs.jsx)(Wy,{apiUrl:`${Qy}&key=${pt(x)}`,markers:v,onChangeMarkers:e=>{n({markers:e})},options:{styles:w?tw(w):[],zoom:a,center:{lat:l,lng:c},zoomControl:u,zoomControlOpt:{style:"DEFAULT",position:"RIGHT_BOTTOM"},mapTypeControl:h,streetViewControl:d,fullscreenControl:p,gestureHandling:"cooperative",scrollwheel:!1,draggable:f,onZoomChange:Av(500,(e=>n({zoom:e}))),onCenterChange:Av(500,(e=>n({lat:e.lat(),lng:e.lng()})))}},k+v.length)}r=cs()("ghostkit-google-maps",r),b&&(r=cs()(r,"ghostkit-google-maps-fullheight")),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const j=(0,ds.useBlockProps)({className:r});return(0,gs.jsxs)(gs.Fragment,{children:[x?(0,gs.jsxs)(ds.BlockControls,{children:[(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-fullheight"),title:(0,bs.__)("Full Height","ghostkit"),onClick:()=>n({fullHeight:!b}),isActive:b})}),(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-marker"),title:(0,bs.__)("Add Marker","ghostkit"),onClick:()=>{n({markers:[...v,{lat:l,lng:c}]})}}),(0,gs.jsx)(us.Dropdown,{renderToggle:({onToggle:e})=>(0,gs.jsx)(us.Button,{label:(0,bs.__)("Style","ghostkit"),icon:Cr("icon-map"),className:"components-toolbar__control",onClick:e}),renderContent:()=>(0,gs.jsx)("div",{style:{minWidth:260},children:M()})})]})]}):null,(0,gs.jsx)(ds.InspectorControls,{group:"styles",children:(0,gs.jsx)(us.PanelBody,{title:(0,bs.__)("Styles","ghostkit"),children:M()})}),(0,gs.jsxs)(ds.InspectorControls,{children:[x?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:b?(0,bs.__)("Minimal Height","ghostkit"):(0,bs.__)("Height","ghostkit"),value:s,onChange:e=>n({height:e}),min:100,max:800,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Zoom","ghostkit"),value:a,onChange:e=>n({zoom:e}),min:1,max:18,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Markers","ghostkit"),children:[v&&v.length>0?(0,gs.jsx)("ul",{className:"ghostkit-google-maps-markers",children:v.map(((e,t)=>(0,gs.jsxs)(ks,{label:e.title||(0,bs.__)("Marker","ghostkit"),contentClassName:"ghostkit-component-google-maps-markers",children:[(0,gs.jsx)(nw,{index:t,googleMapURL:`${Qy}&key=${pt(x)}`,address:e.address,addresses:S,lat:e.lat,lng:e.lng,title:e.title,iconImageURL:e.iconImageURL,iconImageCustomWidth:e.iconImageCustomWidth,infoWindowText:e.infoWindowText,onChange:e=>{const o=Object.assign([],v);o[t]={...o[t],...e},n({markers:o})}}),(0,gs.jsx)(us.Button,{onClick:()=>{const e=Object.assign([],v);e.splice(t,1),n({markers:e})},className:"ghostkit-google-maps-marker-remove",children:(0,bs.__)("Remove Marker","ghostkit")})]},t)))}):null,(0,gs.jsx)(us.Button,{variant:"secondary",onClick:()=>{n({markers:[...v,{lat:l,lng:c}]})},children:(0,bs.__)("+ Add Marker","ghostkit")})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Options","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Zoom Buttons","ghostkit"),checked:!!u,onChange:e=>n({showZoomButtons:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Map Type Buttons","ghostkit"),checked:!!h,onChange:e=>n({showMapTypeButtons:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Street View Button","ghostkit"),checked:!!d,onChange:e=>n({showStreetViewButton:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Fullscreen Button","ghostkit"),checked:!!p,onChange:e=>n({showFullscreenButton:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Scroll Wheel","ghostkit"),checked:!!g,onChange:e=>n({optionScrollWheel:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Draggable","ghostkit"),checked:!!f,onChange:e=>n({optionDraggable:e}),__nextHasNoMarginBottom:!0}),g||f?(0,gs.jsx)(us.ToggleControl,{label:g&&f?(0,bs.__)("Better Scroll & Draggable","ghostkit"):g?(0,bs.__)("Better Scroll","ghostkit"):f?(0,bs.__)("Better Draggable","ghostkit"):"",help:g&&f?(0,bs.__)("Scroll with pressed Ctrl or ⌘ key to zoom. Draggable with two fingers.","ghostkit"):g?(0,bs.__)("Scroll with pressed Ctrl or ⌘ key to zoom.","ghostkit"):f?(0,bs.__)("Draggable with two fingers.","ghostkit"):"",checked:"cooperative"===m,onChange:()=>{n({gestureHandling:"greedy"===m?"cooperative":"greedy"})},__nextHasNoMarginBottom:!0}):null]})]}):null,(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("API Key","ghostkit"),initialOpen:!x,children:[(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Enter API Key","ghostkit"),value:x,onChange:e=>{C(e),T(e),$(e)},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,gs.jsxs)("em",{children:[(0,bs.__)("A valid API key is required to use Google Maps. How to get API key","ghostkit")," ",(0,gs.jsx)(us.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",children:(0,bs.__)("read here","ghostkit")}),"."]})}),(0,gs.jsx)("p",{children:(0,gs.jsx)("em",{children:(0,bs.__)("This key will be used in all Google Maps blocks on your site.","ghostkit")})})]})]}),(0,gs.jsx)("div",{...j,children:x?(0,gs.jsxs)(gs.Fragment,{children:[b?R():(0,gs.jsx)(us.ResizableBox,{className:cs()({"is-selected":o}),size:{width:"100%",height:s},style:{minHeight:s},minHeight:"100",enable:{bottom:!0},onResizeStart:()=>{i(!1)},onResizeStop:(e,t,o,r)=>{n({height:parseInt(s+r.height,10)}),i(!0)},children:R()}),o?(0,gs.jsxs)("div",{className:"ghostkit-google-maps-search",children:[(0,gs.jsx)(Jy,{googleMapURL:`${Qy}&key=${pt(x)}`,label:(0,bs.__)("Center Map","ghostkit"),placeholder:(0,bs.__)("Enter search query","ghostkit"),onChange:e=>{e&&e[0]&&n({lat:e[0].geometry.location.lat(),lng:e[0].geometry.location.lng()})},className:"ghostkit-google-maps-search-box"}),(0,gs.jsx)("div",{className:"ghostkit-google-maps-search-note",children:(0,gs.jsx)("p",{children:(0,gs.jsx)("small",{children:(0,bs.__)("You can also drag the map to change the center coordinates.","ghostkit")})})})]}):null]}):(0,gs.jsxs)("div",{className:"ghostkit-google-maps-placeholder",style:{minHeight:s},children:[(0,gs.jsx)(Ny,{}),(0,gs.jsxs)("div",{className:"ghostkit-google-maps-placeholder-key",children:[(0,gs.jsx)("div",{children:(0,gs.jsx)("strong",{children:(0,bs.__)("Google Maps API Key Required","ghostkit")})}),(0,gs.jsx)("div",{children:(0,gs.jsx)("small",{children:(0,bs.__)("Add an API key in block settings.","ghostkit")})})]})]})})]})},save:function(e){const{height:t,zoom:n,lat:o,lng:i,showZoomButtons:r,showMapTypeButtons:s,showStreetViewButton:a,showFullscreenButton:l,optionScrollWheel:c,gestureHandling:u,optionDraggable:h,styleCustom:d,markers:p,fullHeight:g}=e.attributes;let f="ghostkit-google-maps";g&&(f=cs()(f,"ghostkit-google-maps-fullheight")),f=(0,os.applyFilters)("ghostkit.blocks.className",f,{name:ow,...e});const m={className:f,style:{minHeight:t},"data-lat":o,"data-lng":i,"data-zoom":n,"data-show-zoom-buttons":r?"true":"false","data-show-map-type-buttons":s?"true":"false","data-show-street-view-button":a?"true":"false","data-show-fullscreen-button":l?"true":"false","data-option-scroll-wheel":c?"true":"false","data-option-draggable":h?"true":"false","data-styles":gt(d)};"greedy"!==u&&(m["data-gesture-handling"]=u);const v=ds.useBlockProps.save(m);return(0,Ke.createElement)("div",{...v},p?p.map(((e,t)=>{const n=e.iconImageURL&&e.iconImageCustomWidth&&e.iconImageWidth&&e.iconImageHeight,o={"data-title":e.title,"data-lat":e.lat,"data-lng":e.lng,"data-address":e.address};if(n){const t=e.iconImageCustomWidth*(e.iconImageHeight/e.iconImageWidth);o["data-icon-url"]=e.iconImageURL,o["data-icon-width"]=e.iconImageCustomWidth,o["data-icon-height"]=t}e.infoWindowText&&!ds.RichText.isEmpty(e.infoWindowText)&&(o.children=(0,Ke.createElement)("div",{key:"ghostkit-pro-google-maps-marker-info-window-text",className:"ghostkit-pro-google-maps-marker-info-window-text",style:{display:"none"}},(0,Ke.createElement)(ds.RichText.Content,{value:e.infoWindowText})));const i=`marker-${t}`;return(0,Ke.createElement)("div",{key:i,className:"ghostkit-google-maps-marker",...o})})):"")}},sw={};function aw(e){if(sw[e])return sw[e];let t=e;t&&/^u003c/g.test(t)&&(t=t.replace(/u003c/g,"<").replace(/u003e/g,">").replace(/u0022/g,'"').replace(/u0026/g,"&")),t=gt(t),t=t.replace("url("","url('"),t=t.replace("");","');"),t=t.replace(/)<[^<]*)*<\/script>/gi,"");const n=/(\w+)\s*=\s*["']?((?:.(?!["']?\s+(?:\S+)=|\s*\/?[>"']))+.)["']?/gi;return t=t.replace(//gi,((e,t)=>`{const o=t.toLowerCase();return o.startsWith("on")||"src"===o&&/^(javascript|data):/i.test(n)?"":e}))}>`)),sw[e]=t,t}function lw(e){const{attributes:t,setAttributes:n}=e,{awb_color:o,awb_type:i,awb_image:r,awb_imageTag:s,awb_imageSizes:a,awb_imageSize:l,awb_imageBackgroundSize:c,awb_imageBackgroundPosition:u}=t;function h(e){const t={};Object.keys(e).forEach((n=>{t[`awb_${n}`]=e[n]})),n(t)}const{fetchedImageTag:d}=(0,Ze.useSelect)((e=>{if(!r)return!1;const t={id:r,size:l,attr:{class:"jarallax-img"}};return"pattern"===c&&(t.div_tag=!0),{fetchedImageTag:e("ghostkit/base/images").getImageTagData(t)}}));return(0,vs.useEffect)((()=>{d&&pt(d)!==s&&h({imageTag:pt(d)})})),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Background","ghostkit"),initialOpen:!1,children:[(0,gs.jsx)(lg,{value:"video"===i||"yt_vm_video"===i?"yt_vm_video":i,options:[{label:(0,bs.__)("Color","ghostkit"),value:"color"},{label:(0,bs.__)("Image","ghostkit"),value:"image"},{label:(0,bs.__)("Video","ghostkit"),value:"yt_vm_video"}],onChange:e=>{h({type:e})}}),"image"===i?(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Image","ghostkit"),initialOpen:"image"===i,children:[r&&s?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{!function(e,t){t({image:"",imageSizes:""}),wp.media.attachment(e.id).fetch().then((n=>{if(n&&n.sizes){const{url:o}=n.sizes["post-thumbnail"]||n.sizes.medium||n.sizes.medium_large||n.sizes.full;o&&t({image:e.id,imageSizes:n.sizes})}}))}(e,h)},allowedTypes:["image"],value:r,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select image","ghostkit")})}),r&&s?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(Es,{value:u,image:aw(s),onChange:e=>h({imageBackgroundPosition:e}),__nextHasNoMarginBottom:!0}),a?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Size","ghostkit"),value:l,options:(()=>{const e=[];return Object.keys(a).forEach((t=>{e.push({value:t,label:ut(t)})})),e})(),onChange:e=>h({imageSize:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Background size","ghostkit"),value:c,options:[{label:(0,bs.__)("Cover","ghostkit"),value:"cover"},{label:(0,bs.__)("Contain","ghostkit"),value:"contain"},{label:(0,bs.__)("Pattern","ghostkit"),value:"pattern"}],onChange:e=>h({imageBackgroundSize:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.Button,{isLink:!0,onClick:e=>{h({image:"",imageTag:"",imageSizes:""}),e.preventDefault()},children:(0,bs.__)("Remove image","ghostkit")})]}):null]}):null,"color"===i?(0,gs.jsx)(fs,{label:(0,bs.__)("Background Color","ghostkit"),value:o,onChange:e=>h({color:e}),alpha:!0}):(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Overlay","ghostkit"),(0,gs.jsx)(hs,{colorValue:o})]}),initialOpen:"color"===i,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Background Color","ghostkit"),value:o,onChange:e=>h({color:e}),alpha:!0})}),(0,gs.jsx)("p",{children:(0,bs.__)("Install AWB plugin to set video backgrounds and images with parallax support.","ghostkit")}),(0,gs.jsx)(us.ExternalLink,{className:"components-button is-button is-secondary is-small",href:"https://wordpress.org/plugins/advanced-backgrounds/",children:(0,bs.__)("Install","ghostkit")})]})}function cw(e,t){if((0,um.hasBlockSupport)(t.name,"awb",!1)){const{awb_color:e,awb_type:n,awb_imageTag:o}=t.attributes;let i=!1;return"color"===n&&e&&(i=!0),"image"===n&&(e||o)&&(i=!0),i?(0,gs.jsxs)("div",{className:"awb-gutenberg-preview-block",children:[e?(0,gs.jsx)("div",{className:"nk-awb-overlay",style:{"background-color":e}}):null,"image"===n&&o?(0,gs.jsx)("div",{className:"nk-awb-inner",dangerouslySetInnerHTML:{__html:aw(o)}}):null]}):null}return e}function uw(e,t){if((0,um.hasBlockSupport)(t.name,"awb",!1)){const{awb_color:e,awb_type:n,awb_imageBackgroundSize:o,awb_imageBackgroundPosition:i}=t.attributes;let{awb_imageTag:r}=t.attributes,s=!1;if("color"===n&&e&&(s=!0),"image"===n&&(e||r)&&(s=!0),s){const t={"data-awb-type":n};return"image"===n&&(o&&(t["data-awb-image-background-size"]=o),i&&(t["data-awb-image-background-position"]=i)),"image"===n&&r&&(r=aw(r)),(0,gs.jsx)("div",{className:"nk-awb",children:(0,gs.jsxs)("div",{className:"nk-awb-wrap",...t,children:[e?(0,gs.jsx)("div",{className:"nk-awb-overlay",style:{"background-color":e}}):null,"image"===n&&r?(0,gs.jsx)("div",{className:"nk-awb-inner",dangerouslySetInnerHTML:{__html:r}}):null]})})}return null}return e}(0,os.addFilter)("blocks.registerBlockType","ghostkit/grid/awb/additional-attributes",(function(e){"ghostkit/grid"!==e.name&&"ghostkit/grid-column"!==e.name||(e.supports.awb=!0);let t=!1;return(0,um.hasBlockSupport)(e,"awb",!1)&&(t=!0),t&&(e.attributes.awb_type={type:"string",default:"color"},e.attributes.awb_align={type:"string"},e.attributes.awb_color={type:"string",default:""},e.attributes.awb_image={type:"number",default:""},e.attributes.awb_imageTag={type:"string",default:""},e.attributes.awb_imageSizes={type:"object",default:""},e.attributes.awb_imageSize={type:"string",default:"full"},e.attributes.awb_imageBackgroundSize={type:"string",default:"cover"},e.attributes.awb_imageBackgroundPosition={type:"string",default:"50% 50%"}),e})),(0,os.addFilter)("ghostkit.editor.controls","ghostkit/grid/awb/addBackgroundControls",(function(e,t){return"background"===t.attribute&&(0,um.hasBlockSupport)(t.props.name,"awb",!1)?(0,gs.jsx)(lw,{...t.props}):e})),(0,os.addFilter)("ghostkit.editor.grid.background","ghostkit/grid/awb/addEditorBackground",cw),(0,os.addFilter)("ghostkit.editor.grid-column.background","ghostkit/grid-column/awb/addEditorBackground",cw),(0,os.addFilter)("ghostkit.blocks.grid.background","ghostkit/grid/addSaveBackground",uw),(0,os.addFilter)("ghostkit.blocks.grid-column.background","ghostkit/grid-column/addSaveBackground",uw);const hw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/grid","category":"ghostkit","title":"Advanced Columns","description":"Responsive grid block to build layouts of all shapes and sizes thanks to a twelve column system. Visual columns size and order change.","keywords":["row","columns","section"],"supports":{"awb":true,"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"padding":["vertical"],"margin":["vertical"],"__experimentalDefaultControls":{"padding":false,"margin":false}}},"attributes":{"isTemplatesModalOnly":{"type":"boolean"},"gap":{"type":"string","default":"md"},"gapCustom":{"type":"number"},"gapVerticalCustom":{"type":"number"},"verticalAlign":{"type":"string"},"horizontalAlign":{"type":"string"}}}');function dw(e){const{awb_image:t,awb_imageBackgroundSize:n,awb_imageBackgroundPosition:o}=e,i={"> .nk-awb .jarallax-img":{"object-fit":void 0,"object-position":void 0,"background-repeat":void 0,"background-position":void 0,"font-family":void 0}};return t&&("pattern"!==n?(n&&(i["> .nk-awb .jarallax-img"]["object-fit"]=n),o&&(i["> .nk-awb .jarallax-img"]["object-position"]=o)):(n&&(i["> .nk-awb .jarallax-img"]["background-repeat"]="repeat"),n&&(i["> .nk-awb .jarallax-img"]["background-position"]=o))),i}const{name:pw}=hw,gw={from:[{type:"block",blocks:["core/columns"],transform:(e,t)=>(0,um.createBlock)("ghostkit/grid",{columns:e.columns},t.map((e=>(0,um.createBlock)("ghostkit/grid-column",{},e.innerBlocks))))}]},{name:fw}=hw,mw={icon:Cr("block-grid",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/advanced-columns/",customStylesCallback(e){const{gap:t,gapCustom:n,gapVerticalCustom:o}=e,i={"--gkt-grid__gap":void 0,"--gkt-grid__gap-vertical":void 0,...dw(e)};if("custom"===t){if(void 0!==n&&""!==n){const e=n?"px":"%";i["--gkt-grid__gap"]=`${n}${e}`}if(void 0!==o&&""!==o){const e=o?"px":"%";i["--gkt-grid__gap-vertical"]=`${o}${e}`}}return i},customStylesFilter:(e,t,n,o)=>(n&&o?.ghostkit?.id&&(e=e.replace(new RegExp("> .nk-awb .jarallax-img","g"),"> .awb-gutenberg-preview-block .jarallax-img")),e)},example:{attributes:{columns:2},innerBlocks:[{name:"ghostkit/grid-column",innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},{name:"ghostkit/grid-column",innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]}]},edit:function(e){const{clientId:t,attributes:n,setAttributes:o}=e,{gap:i,gapCustom:r,gapVerticalCustom:s,verticalAlign:a,horizontalAlign:l}=n,{removeBlock:c,replaceInnerBlocks:u}=(0,Ze.useDispatch)("core/block-editor"),{getBlocks:h,columnsCount:d}=(0,Ze.useSelect)((e=>{const{getBlockCount:n}=e("core/block-editor");return{getBlocks:e("core/block-editor").getBlocks,columnsCount:n(t)}}),[]);function p(e){const t=[],n=e.split("-");return n.forEach((e=>{const o={size:e};"a"===e?o.size="auto":"g"===e&&(o.size="grow"),2===n.length&&(o.md_size="12"),3===n.length&&(o.lg_size="12"),4===n.length&&(o.md_size="12",o.lg_size="6"),5===n.length&&(o.sm_size="12",o.md_size="5",o.lg_size="4"),6===n.length&&(o.sm_size="6",o.md_size="4",o.lg_size="3"),t.push(o)})),t}function g(){let n=["12","6-6","4-4-4","3-3-3-3","5-7","7-5","3-3-6","3-6-3","6-3-3","2-8-2","g-g-g-g-g","2-2-2-2-2-2"];n=(0,os.applyFilters)("ghostkit.editor.grid.layouts",n,e);const o=(0,os.applyFilters)("ghostkit.editor.grid.templatesModal","",e);return(0,gs.jsxs)(us.Placeholder,{icon:Cr("block-grid"),label:(0,bs.__)("Advanced Columns","ghostkit"),instructions:(0,bs.__)("Select one layout to get started.","ghostkit"),className:"ghostkit-select-layout",children:[(0,gs.jsx)("div",{className:"ghostkit-grid-layout-preview",children:n.map((e=>{const n=p(e);return(0,gs.jsx)(us.Button,{className:"ghostkit-grid-layout-preview-btn ghostkit-grid",onClick:()=>function(e){const n=p(e),o=[];n.forEach((e=>{o.push((0,um.createBlock)("ghostkit/grid-column",e))})),u(t,o,!1)}(e),children:n.map(((t,n)=>{const o=`layout-${e}-col-${n}`;return(0,gs.jsx)("div",{className:cs()("ghostkit-col",`ghostkit-col-${t.size}`)},o)}))},`layout-${e}`)}))}),o]})}let f=cs()("ghostkit-grid",`ghostkit-grid-gap-${i}`,!!a&&`ghostkit-grid-align-items-${a}`,!!l&&`ghostkit-grid-justify-content-${l}`);const m=(0,os.applyFilters)("ghostkit.editor.grid.background","",e);m&&(f=cs()(f,"ghostkit-grid-with-bg")),f=(0,os.applyFilters)("ghostkit.editor.className",f,e);const v=(0,ds.useBlockProps)({className:f}),{children:b,...y}=(0,ds.useInnerBlocksProps)(v,{allowedBlocks:["ghostkit/grid-column"],orientation:"horizontal",renderAppender:!1});return(0,gs.jsxs)("div",{...y,children:[d>0?(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-top"),title:(0,bs.__)("Content Vertical Start","ghostkit"),onClick:()=>o({verticalAlign:""}),isActive:""===a}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-center"),title:(0,bs.__)("Content Vertical Center","ghostkit"),onClick:()=>o({verticalAlign:"center"}),isActive:"center"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-bottom"),title:(0,bs.__)("Content Vertical End","ghostkit"),onClick:()=>o({verticalAlign:"end"}),isActive:"end"===a})]})}):null,(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"columns",props:e,children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(rg,{label:(0,bs.__)("Columns","ghostkit"),value:d,onChange:e=>function(e){if(e<1)c(t);else if(e>d){const n=e-d,o=[...h(t)];for(let e=1;e<=n;e+=1)o.push((0,um.createBlock)("ghostkit/grid-column",{size:3}));u(t,o,!1)}else if(e0?(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(lg,{label:(0,bs.__)("Vertical alignment","ghostkit"),value:a,options:[{icon:Cr("icon-vertical-top"),label:(0,bs.__)("Top","ghostkit"),value:""},{icon:Cr("icon-vertical-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-vertical-bottom"),label:(0,bs.__)("Bottom","ghostkit"),value:"end"}],onChange:e=>{o({verticalAlign:e})},isDeselectable:!0,isAdaptiveWidth:!0}),(0,gs.jsx)(lg,{label:(0,bs.__)("Horizontal alignment","ghostkit"),value:l,options:[{icon:Cr("icon-horizontal-start"),label:(0,bs.__)("Start","ghostkit"),value:""},{icon:Cr("icon-horizontal-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-horizontal-end"),label:(0,bs.__)("End","ghostkit"),value:"end"},{icon:Cr("icon-horizontal-around"),label:(0,bs.__)("Around","ghostkit"),value:"around"},{icon:Cr("icon-horizontal-between"),label:(0,bs.__)("Space Between","ghostkit"),value:"between"}],onChange:e=>{o({horizontalAlign:e})},isDeselectable:!0})]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(Mm,{gap:i,gapCustom:r,gapVerticalCustom:s,onChange:e=>{o(e)},allowVerticalGap:!0})})]}):null,(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)("div",{className:"ghostkit-background-controls",children:(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"background",props:e})})}),d>0?(0,gs.jsxs)(gs.Fragment,{children:[m,(0,gs.jsx)("div",{className:"ghostkit-grid-inner",children:b})]}):(0,gs.jsx)(g,{})]})},save:function(e){const{verticalAlign:t,horizontalAlign:n,gap:o}=e.attributes;let i=cs()("ghostkit-grid",`ghostkit-grid-gap-${o}`,!!t&&`ghostkit-grid-align-items-${t}`,!!n&&`ghostkit-grid-justify-content-${n}`);const r=(0,os.applyFilters)("ghostkit.blocks.grid.background","",{name:pw,...e});r&&(i=cs()(i,"ghostkit-grid-with-bg")),i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:pw,...e});const s=ds.useBlockProps.save({className:i}),{children:a,...l}=ds.useInnerBlocksProps.save(s);return(0,Ke.createElement)("div",{...l},r,(0,Ke.createElement)("div",{className:"ghostkit-grid-inner"},a))},transforms:gw},vw=(0,ug.createHigherOrderComponent)((e=>function(t){const{name:n}=t;return"ghostkit/grid"===n&&t.attributes.isTemplatesModalOnly?(0,Ke.createElement)(e,{...t,"data-ghostkit-grid-templates-modal-only":"true"}):(0,Ke.createElement)(e,{...t})}));(0,os.addFilter)("editor.BlockListBlock","ghostkit/grid/with-classes",vw);const bw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/grid-column","parent":["ghostkit/grid"],"category":"ghostkit","title":"Column","description":"A single column within a grid block.","supports":{"awb":true,"ghostkit":{"styles":{"customSelector":".ghostkit-grid &"}},"html":false,"className":false,"anchor":true,"reusable":false,"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"sm_size":{"type":"string","default":""},"sm_order":{"type":"string","default":""},"sm_verticalAlign":{"type":"string","default":""},"md_size":{"type":"string","default":""},"md_order":{"type":"string","default":""},"md_verticalAlign":{"type":"string","default":""},"lg_size":{"type":"string","default":""},"lg_order":{"type":"string","default":""},"lg_verticalAlign":{"type":"string","default":""},"xl_size":{"type":"string","default":""},"xl_order":{"type":"string","default":""},"xl_verticalAlign":{"type":"string","default":""},"size":{"type":"string","default":"auto"},"order":{"type":"string","default":""},"verticalAlign":{"type":"string","default":""},"stickyContent":{"type":"string","default":""},"stickyContentOffset":{"type":"number","default":0}}}');function yw(e){const{attributes:t}=e;let n="ghostkit-col";return Object.keys(t).forEach((e=>{if(t[e]){let o=e.split("_")[0],i=e.split("_")[1];if(i||(i=o,o=""),i&&("size"===i||"order"===i||"verticalAlign"===i)){switch(o=o&&`-${o}`,i){case"size":i="";break;case"order":i=`-${i}`;break;case"verticalAlign":i="-align-self"}n=cs()(n,`ghostkit-col${i}${o||""}${"auto"!==t[e]?`-${t[e]}`:""}`)}}})),t.stickyContent&&void 0!==t.stickyContentOffset&&(n=cs()(n,`ghostkit-col-sticky-${t.stickyContent}`)),n=(0,os.applyFilters)("ghostkit.editor.className",n,e),n}const ww=function(){const e=[{label:(0,bs.__)("Inherit from larger","ghostkit"),value:""},{label:(0,bs.__)("Auto","ghostkit"),value:"auto"},{label:(0,bs.__)("Grow","ghostkit"),value:"grow"}];for(let t=1;t<=12;t+=1)e.push({label:(0,bs.sprintf)(1===t?(0,bs.__)("%d Column (%s)","ghostkit"):(0,bs.__)("%d Columns (%s)","ghostkit"),t,Math.round(100*t/12*100)/100+"%"),value:t});return e},kw=function(e=12){const t=[{label:(0,bs.__)("Inherit from larger","ghostkit"),value:""},{label:(0,bs.__)("Auto","ghostkit"),value:"auto"},{label:(0,bs.__)("First","ghostkit"),value:"first"}];for(let n=1;n<=e;n+=1)t.push({label:n,value:n});return t.push({label:(0,bs.__)("Last","ghostkit"),value:"last"}),t},{name:_w}=bw,{name:xw}=bw,Cw={icon:Cr("block-grid-column",!0),ghostkit:{customStylesCallback(e){const{stickyContent:t,stickyContentOffset:n}=e,o={"--gkt-grid--column-sticky__offset":void 0,...dw(e)};return t&&void 0!==n&&""!==n&&(o["--gkt-grid--column-sticky__offset"]=`${n}px`),o},customStylesFilter:(e,t,n,o)=>(n&&o?.ghostkit?.id&&(e=e.replace(new RegExp("> .nk-awb .jarallax-img","g"),"> .awb-gutenberg-preview-block .jarallax-img")),e)},edit:function(e){const{clientId:t,attributes:n,setAttributes:o}=e,{stickyContent:i,stickyContentOffset:r}=n,{device:s}=Jr(),{hasChildBlocks:a}=(0,Ze.useSelect)((e=>{const n=e("core/block-editor");return{hasChildBlocks:!!n&&n.getBlockOrder(t).length>0}}),[t]),l=(0,os.applyFilters)("ghostkit.editor.grid-column.background","",e),c=(0,ds.useBlockProps)({className:cs()(e.attributes.className,yw(e))}),u=(0,ds.useInnerBlocksProps)({className:"ghostkit-col-content"},{templateLock:!1,renderAppender:a?void 0:ds.InnerBlocks.ButtonBlockAppender});let h="size",d="order",p="verticalAlign";return s&&(h=`${s}_${h}`,d=`${s}_${d}`,p=`${s}_${p}`),(0,gs.jsxs)("div",{...c,children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"columnSettings",props:e,children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Size","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!n[`${e}_size`]})]}),value:n[h],onChange:e=>{o({[h]:e})},options:ww(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Order","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!n[`${e}_order`]})]}),value:n[d],onChange:e=>{o({[d]:e})},options:kw(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(lg,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Vertical Alignment","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!n[`${e}_verticalAlign`]})]}),value:n[p],options:[{icon:Cr("icon-vertical-top"),label:(0,bs.__)("Top","ghostkit"),value:""},{icon:Cr("icon-vertical-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-vertical-bottom"),label:(0,bs.__)("Bottom","ghostkit"),value:"end"}],onChange:e=>{o({[p]:e})},isDeselectable:!0})]})}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(lg,{label:(0,bs.__)("Sticky Content","ghostkit"),value:i,options:[{label:(0,bs.__)("Top","ghostkit"),value:"top"},{label:(0,bs.__)("Bottom","ghostkit"),value:"bottom"}],onChange:e=>{o({stickyContent:e})},isDeselectable:!0}),i?(0,gs.jsx)(rg,{label:(0,bs.__)("Sticky Offset","ghostkit"),value:r,onChange:e=>o({stickyContentOffset:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null]}),(0,gs.jsx)("div",{className:"ghostkit-background-controls",children:(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"background",props:e})})]}),l,(0,gs.jsx)("div",{...u})]})},save:function(e){let t=yw(e);const n=(0,os.applyFilters)("ghostkit.blocks.grid-column.background","",{name:_w,...e});n&&(t=cs()(t,"ghostkit-col-with-bg"));const o=ds.useBlockProps.save({className:t}),i=ds.useInnerBlocksProps.save({className:"ghostkit-col-content"});return(0,Ke.createElement)("div",{...o},n,(0,Ke.createElement)("div",{...i}))}},Sw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/icon","category":"ghostkit","title":"Icon","description":"Insert SVG icons","keywords":["icon","picker","svg"],"attributes":{"icon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.5965%2015.3206C17.0994%2014.6244%2017.4472%2013.8088%2017.5894%2012.9245H21C20.8198%2014.7391%2020.102%2016.3955%2019.0082%2017.7322L16.5965%2015.3206Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M15.3206%2016.5965C14.6244%2017.0994%2013.8088%2017.4472%2012.9245%2017.5894V21C14.7391%2020.8198%2016.3955%2020.102%2017.7322%2019.0082L15.3206%2016.5965Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M12.0223%206.38335C14.8295%206.38335%2017.1576%208.43463%2017.5894%2011.12H21C20.5473%206.5608%2016.7006%203%2012.0223%203C7.03941%203%203%207.03941%203%2012.0223C3%2016.7006%206.5608%2020.5473%2011.12%2021V17.5894C8.43463%2017.1576%206.38335%2014.8295%206.38335%2012.0223C6.38335%208.90798%208.90798%206.38335%2012.0223%206.38335Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"width":{"type":"string","default":"50px"},"justify":{"type":"string","default":"center"},"flipH":{"type":"boolean"},"flipV":{"type":"boolean"},"color":{"type":"string"},"backgroundColor":{"type":"string"},"backgroundGradient":{"type":"string"},"url":{"type":"string"},"rel":{"type":"string"},"target":{"type":"string"},"ariaLabel":{"type":"string"}},"supports":{"ghostkit":{"styles":{"customSelector":"& .ghostkit-icon-inner"}},"html":false,"className":false,"anchor":true,"align":["wide","full","left","center","right"]}}');function Ew(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{url:i,rel:r,ariaLabel:s,target:a}=t;return(0,Ke.createElement)(Pg,{url:i,rel:r,ariaLabel:s,target:a,onChange:e=>n(e),isSelected:o,toolbarSettings:!0,inspectorSettings:!0})}function Aw({attributes:e,setAttributes:t,isSelected:n}){const{justify:o,flipH:i,flipV:r}=e,s=Cr("icon-horizontal-start"),a=Cr("icon-horizontal-center"),l=Cr("icon-horizontal-end"),c=[{title:(0,bs.__)("Justify Icon Start","ghostkit"),icon:s,isActive:"start"===o,onClick:()=>t({justify:"start"})},{title:(0,bs.__)("Justify Icon Center","ghostkit"),icon:a,isActive:"center"===o,onClick:()=>t({justify:"center"})},{title:(0,bs.__)("Justify Icon End","ghostkit"),icon:l,isActive:"end"===o,onClick:()=>t({justify:"end"})}];let u;return u="start"===o?s:"center"===o?a:l,(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,{group:"block"},(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:u,label:(0,bs.__)("Justify Icon","ghostkit"),controls:c}))),(0,Ke.createElement)(Ew,{attributes:e,setAttributes:t,isSelected:n}),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:Cr("icon-flip-horizontal"),title:(0,bs.__)("Flip Horizontal","ghostkit"),onClick:()=>t({flipH:!i}),isActive:i}),(0,Ke.createElement)(us.ToolbarButton,{icon:Cr("icon-flip-vertical"),title:(0,bs.__)("Flip Vertical","ghostkit"),onClick:()=>t({flipV:!r}),isActive:r}))))}function Tw(e){const{attributes:t,setAttributes:n,clientId:o}=e,{color:i,backgroundColor:r,backgroundGradient:s}=t,a=(0,ds.__experimentalUseMultipleOriginColorsAndGradients)();return a.hasColorsOrGradients?(0,Ke.createElement)(ds.InspectorControls,{group:"color"},(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:i,label:(0,bs.__)("Icon","ghostkit"),onColorChange:e=>{n({color:e})},isShownByDefault:!0,resetAllFilter:()=>({color:void 0})},{colorValue:r,gradientValue:s,label:(0,bs.__)("Background","ghostkit"),onColorChange:e=>{n({backgroundColor:e})},onGradientChange:e=>{n({backgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({backgroundColor:void 0,backgroundGradient:void 0})}],panelId:o,...a})):null}function $w({attributes:e,setAttributes:t}){const{icon:n,width:o}=e;return(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:n,onChange:e=>t({icon:e}),insideInspector:!0}),(0,gs.jsx)(us.__experimentalUnitControl,{label:(0,bs.__)("Width","ghostkit"),placeholder:(0,bs.__)("Auto","ghostkit"),value:o,onChange:e=>t({width:e}),labelPosition:"edge",min:0,__unstableInputWidth:"70px",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})})}const{name:Mw}=Sw;function Rw({attributes:e}){const{icon:t,url:n,target:o,ariaLabel:i,rel:r}=e,s=n?"a":"div",a={};return"a"===s&&(a.href=n,a.target=o||null,a.rel=r||null,a.ariaLabel=i||null),(0,Ke.createElement)(tp.Render,{...a,name:t,tag:s,className:"ghostkit-icon-inner"})}const{name:jw}=Sw,Ow={icon:Cr("block-icon",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/icon/",customStylesCallback(e){const{justify:t,width:n,color:o,backgroundColor:i,backgroundGradient:r}=e,s={"--gkt-icon__color":o||void 0,"--gkt-icon__background":i||r||void 0,"--gkt-icon__width":void 0,"--gkt-icon__justify":void 0};return"start"===t?s["--gkt-icon__justify"]="flex-start":"end"===t&&(s["--gkt-icon__justify"]="flex-end"),void 0!==n&&""!==n&&(s["--gkt-icon__width"]=n),s}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e,{flipV:r,flipH:s}=t;let{className:a=""}=e;a=cs()("ghostkit-icon",{"ghostkit-icon-flip-vertical":r,"ghostkit-icon-flip-horizontal":s},a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e);const l=(0,ds.useBlockProps)({className:a});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)($w,{attributes:t,setAttributes:n}),(0,Ke.createElement)(Tw,{attributes:t,setAttributes:n,clientId:i}),(0,Ke.createElement)(Aw,{attributes:t,setAttributes:n,isSelected:o}),(0,Ke.createElement)("span",{...l},(0,Ke.createElement)(tp.Preview,{tag:"div",name:t.icon,className:"ghostkit-icon-inner"})))},save:function(e){const{attributes:t}=e,{flipV:n,flipH:o}=t;let i=cs()("ghostkit-icon",{"ghostkit-icon-flip-vertical":n,"ghostkit-icon-flip-horizontal":o});i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:Mw,...e});const r=ds.useBlockProps.save({className:i});return(0,Ke.createElement)("div",{...r},(0,Ke.createElement)(Rw,{attributes:e.attributes}))}},Lw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/icon-box","category":"ghostkit","title":"Icon Box","description":"Icons are one of the best visual replacement for text descriptions.","keywords":["icon","icon-box"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"icon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.7813%209.75C16.7813%207.10939%2014.6406%204.96875%2012%204.96875C9.35939%204.96875%207.21875%207.10939%207.21875%209.75C7.21875%2012.3906%209.35939%2014.5312%2012%2014.5312C14.6406%2014.5312%2016.7813%2012.3906%2016.7813%209.75Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8.15625%2018C10.6023%2019.25%2013.3977%2019.25%2015.8437%2018%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E"},"iconPosition":{"type":"string","default":"left"},"iconAlign":{"type":"string"},"iconSize":{"type":"number"},"showContent":{"type":"boolean","default":true},"iconColor":{"type":"string"},"hoverIconColor":{"type":"string"},"url":{"type":"string"},"ariaLabel":{"type":"string"},"target":{"type":"string"},"rel":{"type":"string"}}}'),{name:Iw}=Lw,Nw=[{...Lw,attributes:{icon:{type:"string",default:"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.7813%209.75C16.7813%207.10939%2014.6406%204.96875%2012%204.96875C9.35939%204.96875%207.21875%207.10939%207.21875%209.75C7.21875%2012.3906%209.35939%2014.5312%2012%2014.5312C14.6406%2014.5312%2016.7813%2012.3906%2016.7813%209.75Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8.15625%2018C10.6023%2019.25%2013.3977%2019.25%2015.8437%2018%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E"},iconPosition:{type:"string",default:"left"},iconSize:{type:"number"},showContent:{type:"boolean",default:!0},iconColor:{type:"string"},hoverIconColor:{type:"string"},url:{type:"string"},target:{type:"string"},rel:{type:"string"}},save:class extends vs.Component{render(){const{icon:e,iconPosition:t,showContent:n,url:o,target:i,rel:r}=this.props.attributes;let s=cs()("ghostkit-icon-box",o&&"ghostkit-icon-box-with-link");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:Iw,...this.props});const a=cs()("ghostkit-icon-box-icon",`ghostkit-icon-box-icon-align-${t||"left"}`);return(0,Ke.createElement)("div",{className:s},o?(0,Ke.createElement)("a",{className:"ghostkit-icon-box-link",href:o,target:i||!1,rel:r||!1},(0,Ke.createElement)("span",null)):null,e?(0,Ke.createElement)(tp.Render,{name:e,tag:"div",className:a}):null,n?(0,Ke.createElement)("div",{className:"ghostkit-icon-box-content"},(0,Ke.createElement)(ds.InnerBlocks.Content,null)):null)}}}],{name:Pw}=Lw,Dw={from:[{type:"block",blocks:["ghostkit/counter-box"],transform:(e,t)=>(0,um.createBlock)("ghostkit/icon-box",{iconPosition:e.numberPosition,iconSize:e.numberSize,showContent:e.showContent,iconColor:e.numberColor,hoverIconColor:e.hoverNumberColor},t)},{type:"block",blocks:["ghostkit/alert"],transform:(e,t)=>(0,um.createBlock)("ghostkit/icon-box",{icon:e.icon,iconSize:e.iconSize,iconColor:e.color,hoverIconColor:e.hoverColor},t)}]},{name:Bw}=Lw,zw={icon:Cr("block-icon-box",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/icon/",customStylesCallback(e){const t={"--gkt-icon-box--icon__font-size":void 0,"--gkt-icon-box--icon__color":e.iconColor||void 0,"&:hover":{"--gkt-icon-box--icon__color":e.hoverIconColor||void 0}};return void 0!==e.iconSize&&""!==e.iconSize&&(t["--gkt-icon-box--icon__font-size"]=`${e.iconSize}px`),t}},example:{attributes:{icon:'',iconColor:"#0366d6",ghostkit:{id:"example-icon-box"},className:"ghostkit-custom-example-icon-box"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e;let{className:r=""}=e;const{icon:s,iconPosition:a,iconAlign:l,iconSize:c,showContent:u,iconColor:h,hoverIconColor:d,url:p,ariaLabel:g,target:f,rel:m}=t,v=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return!!t&&t.getBlockOrder(i).length>0}),[i]);r=cs()("ghostkit-icon-box",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const b=cs()("ghostkit-icon-box-icon",`ghostkit-icon-box-icon-align-${a||"left"}`,"top"===a?`ghostkit-icon-box-icon-top-align-${l||"center"}`:""),y=(0,ds.useBlockProps)({className:r}),w=(0,ds.useInnerBlocksProps)({className:"ghostkit-icon-box-content"},{renderAppender:v?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1}),k=(0,bs.__)("Icon Position","ghostkit");return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Icon Size","ghostkit"),value:c,onChange:e=>n({iconSize:e}),min:20,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.BaseControl,{id:k,label:k,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsxs)(us.Toolbar,{label:k,children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Top","ghostkit"),onClick:()=>n({iconPosition:"top"}),isActive:"top"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Left","ghostkit"),onClick:()=>n({iconPosition:"left"}),isActive:"left"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Right","ghostkit"),onClick:()=>n({iconPosition:"right"}),isActive:"right"===a})]})})}),"top"===a?(0,gs.jsx)(lg,{label:(0,bs.__)("Icon Alignment","ghostkit"),value:l||"center",options:[{icon:Cr("icon-horizontal-start"),label:(0,bs.__)("Start","ghostkit"),value:"left"},{icon:Cr("icon-horizontal-center"),label:(0,bs.__)("Center","ghostkit"),value:"center"},{icon:Cr("icon-horizontal-end"),label:(0,bs.__)("End","ghostkit"),value:"right"}],onChange:e=>{n({iconAlign:e})}}):null]}):null]}),!u||s?(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Content","ghostkit"),checked:!!u,onChange:e=>n({showContent:e}),__nextHasNoMarginBottom:!0})}):null,(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:h})]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverIconColor":"iconColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Icon","ghostkit"),value:o?d:h,onChange:e=>n(o?{hoverIconColor:e}:{iconColor:e}),alpha:!0,gradient:!0})})}})})]}),(0,gs.jsx)(Pg,{url:p,rel:m,ariaLabel:g,target:f,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),s?(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:"align-center",title:(0,bs.__)("Top","ghostkit"),onClick:()=>n({iconPosition:"top"}),isActive:"top"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-left",title:(0,bs.__)("Left","ghostkit"),onClick:()=>n({iconPosition:"left"}),isActive:"left"===a}),(0,gs.jsx)(us.ToolbarButton,{icon:"align-right",title:(0,bs.__)("Right","ghostkit"),onClick:()=>n({iconPosition:"right"}),isActive:"right"===a})]})}):null,(0,gs.jsxs)("div",{...y,children:[s?(0,gs.jsx)("div",{className:b,children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null,u?(0,gs.jsx)("div",{...w}):null]})]})},save:function(e){const{icon:t,iconPosition:n,iconAlign:o,showContent:i,url:r,ariaLabel:s,target:a,rel:l}=e.attributes;let c=cs()("ghostkit-icon-box",r&&"ghostkit-icon-box-with-link");c=(0,os.applyFilters)("ghostkit.blocks.className",c,{name:Pw,...e});const u=cs()("ghostkit-icon-box-icon",`ghostkit-icon-box-icon-align-${n||"left"}`,"top"===n?`ghostkit-icon-box-icon-top-align-${o||"center"}`:""),h=ds.useBlockProps.save({className:c}),d=ds.useInnerBlocksProps.save({className:"ghostkit-icon-box-content"});return(0,Ke.createElement)("div",{...h},r?(0,Ke.createElement)("a",{className:"ghostkit-icon-box-link",href:r,target:a||null,rel:l||null,"aria-label":s||null},(0,Ke.createElement)("span",null)):null,t?(0,Ke.createElement)(tp.Render,{name:t,tag:"div",className:u}):null,i?(0,Ke.createElement)("div",{...d}):null)},transforms:Dw,deprecated:Nw},Fw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/image-compare","category":"ghostkit","title":"Image Compare","description":"Compare two images with a slider.","keywords":["image","compare","before","after"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"align":{"type":"string"},"position":{"type":"number","default":50},"direction":{"type":"string"},"trigger":{"type":"string"},"beforeId":{"type":"number"},"beforeUrl":{"attribute":"src","selector":".ghostkit-image-compare-image-before img","source":"attribute","type":"string"},"beforeAlt":{"attribute":"alt","selector":".ghostkit-image-compare-image-before img","source":"attribute","type":"string","default":""},"beforeWidth":{"type":"number"},"beforeHeight":{"type":"number"},"beforeSizeSlug":{"type":"string"},"afterId":{"type":"number"},"afterUrl":{"attribute":"src","selector":".ghostkit-image-compare-image-after img","source":"attribute","type":"string"},"afterAlt":{"attribute":"alt","selector":".ghostkit-image-compare-image-after img","source":"attribute","type":"string","default":""},"afterWidth":{"type":"number"},"afterHeight":{"type":"number"},"afterSizeSlug":{"type":"string"},"showLabels":{"type":"boolean","default":false},"labelBeforeText":{"type":"string","source":"html","selector":".ghostkit-image-compare-image-before-label","default":"Before"},"labelAfterText":{"type":"string","source":"html","selector":".ghostkit-image-compare-image-after-label","default":"After"},"labelAlign":{"type":"string","default":"end"},"colorDivider":{"type":"string"},"colorDividerIcon":{"type":"string"},"caption":{"type":"string","source":"html","selector":"figcaption"}}}'),Hw=["image"],Ww="large",{name:Vw}=Fw,Uw={icon:Cr("block-image-compare",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/image-compare/",customStylesCallback(e){const t={"--gkt-image-compare__position":void 0,"--gkt-image-compare--divider__background-color":e.colorDivider||void 0,"--gkt-image-compare--divider-icons__color":e.colorDividerIcon||void 0};return void 0!==e.position&&""!==e.position&&(t["--gkt-image-compare__position"]=`${e.position}%`),t}},edit:function(e){const{attributes:t,isSelected:n,setAttributes:o}=e;let{className:i}=e;const{position:r,direction:s,trigger:a,caption:l,showLabels:c,labelBeforeText:u,labelAfterText:h,labelAlign:d,beforeId:p,beforeUrl:g,beforeAlt:f,beforeWidth:m,beforeHeight:v,beforeSizeSlug:b,afterId:y,afterUrl:w,afterAlt:k,afterWidth:_,afterHeight:x,afterSizeSlug:C,colorDivider:S,colorDividerIcon:E}=t,{editorSettings:A,beforeImage:T,afterImage:$}=(0,Ze.useSelect)((e=>{const{getSettings:t}=e("core/block-editor"),{getMedia:o}=e("core");return{editorSettings:t(),beforeImage:p&&n?o(p):null,afterImage:y&&n?o(y):null}})),M=t=>{const{noticeOperations:n}=e;n.removeAllNotices(),n.createErrorNotice(t)},R=(e="before")=>t[`${e}Url`]?(0,gs.jsx)("img",{src:t[`${e}Url`],alt:t[`${e}Alt`],className:t[`${e}Id`]?`wp-image-${t[`${e}Id`]}`:null,width:t[`${e}Width`],height:t[`${e}Height`]}):null,j=(e="before",n={},i=!1)=>{const r={[`${e}SizeSlug`]:i=i||t[`${e}SizeSlug`]||Ww,[`${e}Id`]:n.id,[`${e}Url`]:n.url||n.source_url,[`${e}Alt`]:n.alt||n.alt_text,[`${e}Width`]:n.width||(n.media_details&&n.media_details.width?n.media_details.width:void 0),[`${e}Height`]:n.height||(n.media_details&&n.media_details.height?n.media_details.height:void 0)};let s=n.sizes&&n.sizes[i];!s&&n.media_details&&n.media_details.sizes&&n.media_details.sizes[i]&&(s=n.media_details.sizes[i]),s&&(s.url&&(r[`${e}Url`]=s.url),s.source_url&&(r[`${e}Url`]=s.source_url),s.width&&(r[`${e}Width`]=s.width),s.height&&(r[`${e}Height`]=s.height)),o(r)},O=Cr("vertical"===s?"icon-horizontal-start":"icon-vertical-top"),L=Cr("vertical"===s?"icon-horizontal-center":"icon-vertical-center"),I=Cr("vertical"===s?"icon-horizontal-end":"icon-vertical-bottom");i=cs()("ghostkit-image-compare","vertical"===s&&"ghostkit-image-compare-vertical",!(!c||!d)&&`ghostkit-image-compare-labels-align-${d}`,i);const N=(0,ds.useBlockProps)({className:i}),P="vertical"===s?(0,bs.__)("Horizontal Align","ghostkit"):(0,bs.__)("Vertical Align","ghostkit");return(0,gs.jsxs)(gs.Fragment,{children:[g&&w?(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(us.ToolbarGroup,{children:(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-flip-vertical"),title:(0,bs.__)("Vertical","ghostkit"),onClick:()=>o({direction:"vertical"===s?"":"vertical"}),isActive:"vertical"===s})})}):null,(0,gs.jsxs)(ds.InspectorControls,{children:[g&&w?(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("General","ghostkit"),children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Start Position","ghostkit"),value:r,min:0,max:100,onChange:e=>o({position:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsxs)(us.__experimentalToggleGroupControl,{label:(0,bs.__)("Direction","ghostkit"),onChange:e=>o({direction:e}),value:s||"",isBlock:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:"",label:(0,bs.__)("Horizontal","ghostkit")}),(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:"vertical",label:(0,bs.__)("Vertical","ghostkit")})]}),(0,gs.jsxs)(us.__experimentalToggleGroupControl,{label:(0,bs.__)("Trigger","ghostkit"),onChange:e=>o({trigger:e}),value:a||"",isBlock:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:"",label:(0,bs.__)("Click","ghostkit")}),(0,gs.jsx)(us.__experimentalToggleGroupControlOption,{value:"hover",label:(0,bs.__)("Hover","ghostkit")})]})]}):null,(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Labels","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Labels","ghostkit"),checked:!!c,onChange:e=>o({showLabels:e}),__nextHasNoMarginBottom:!0}),c&&(0,gs.jsx)(us.BaseControl,{id:P,label:P,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsxs)(us.Toolbar,{label:"vertical"===s?(0,bs.__)("Horizontal Align","ghostkit"):(0,bs.__)("Vertical Align","ghostkit"),children:[(0,gs.jsx)(us.ToolbarButton,{icon:O,title:(0,bs.__)("Start","ghostkit"),onClick:()=>o({labelAlign:"start"}),isActive:"start"===d}),(0,gs.jsx)(us.ToolbarButton,{icon:L,title:(0,bs.__)("Center","ghostkit"),onClick:()=>o({labelAlign:"center"}),isActive:"center"===d}),(0,gs.jsx)(us.ToolbarButton,{icon:I,title:(0,bs.__)("End","ghostkit"),onClick:()=>o({labelAlign:"end"}),isActive:"end"===d})]})})})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Before Image Settings","ghostkit"),children:[p?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{j("before",e)},allowedTypes:["image"],value:p,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select Image","ghostkit")})}),p?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{j("before",e)},allowedTypes:["image"],value:p,render:({open:e})=>(0,gs.jsx)(us.BaseControl,{help:(0,bs.__)("Click the image to edit or update","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:g,alt:f,width:m,height:v})})})}),(0,gs.jsx)("div",{style:{marginTop:-20}}),(0,gs.jsx)(us.Button,{isLink:!0,onClick:e=>{o({beforeId:"",beforeUrl:"",beforeAlt:"",beforeWidth:"",beforeHeight:""}),e.preventDefault()},className:"button button-secondary",children:(0,bs.__)("Remove Image","ghostkit")}),(0,gs.jsx)("div",{style:{marginBottom:13}}),A&&A.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:b||Ww,onChange:e=>{j("before",T,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:f,onChange:e=>o({beforeAlt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0})]}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("After Image Settings","ghostkit"),children:[y?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{j("after",e)},allowedTypes:["image"],value:y,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select Image","ghostkit")})}),y?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{j("after",e)},allowedTypes:["image"],value:y,render:({open:e})=>(0,gs.jsx)(us.BaseControl,{help:(0,bs.__)("Click the image to edit or update","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:w,alt:k,width:_,height:x})})})}),(0,gs.jsx)("div",{style:{marginTop:-20}}),(0,gs.jsx)(us.Button,{isLink:!0,onClick:e=>{o({afterId:"",afterUrl:"",afterAlt:"",afterWidth:"",afterHeight:""}),e.preventDefault()},className:"button button-secondary",children:(0,bs.__)("Remove Image","ghostkit")}),(0,gs.jsx)("div",{style:{marginBottom:13}}),A&&A.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:C||Ww,onChange:e=>{j("after",$,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:k,onChange:e=>o({afterAlt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0})]}):null]})]}),(0,gs.jsx)(ds.InspectorControls,{group:"styles",children:(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Color","ghostkit"),children:[(0,gs.jsx)(fs,{label:(0,bs.__)("Divider","ghostkit"),value:S,onChange:e=>o({colorDivider:e}),alpha:!0}),(0,gs.jsx)(fs,{label:(0,bs.__)("Divider Icon","ghostkit"),value:E,onChange:e=>o({colorDividerIcon:e}),alpha:!0})]})}),g&&w?(0,gs.jsxs)("figure",{...N,children:[(0,gs.jsxs)("div",{className:"ghostkit-image-compare-images",children:[(0,gs.jsxs)("div",{className:"ghostkit-image-compare-image-before",children:[R("before"),!c||ds.RichText.isEmpty(u)&&!n?null:(0,gs.jsx)("div",{className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-before-label",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>o({labelBeforeText:e}),value:u,placeholder:(0,bs.__)("Before label…","ghostkit")})})]}),(0,gs.jsxs)("div",{className:"ghostkit-image-compare-image-after",children:[R("after"),!c||ds.RichText.isEmpty(h)&&!n?null:(0,gs.jsx)("div",{className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-after-label",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>o({labelAfterText:e}),value:h,placeholder:(0,bs.__)("After label…","ghostkit")})})]}),(0,gs.jsxs)("div",{className:"ghostkit-image-compare-images-divider",children:[(0,gs.jsx)("div",{className:"ghostkit-image-compare-images-divider-button-arrow-left",children:(0,gs.jsx)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M14.7803 17.7803C14.4874 18.0732 14.0126 18.0732 13.7197 17.7803L8.4697 12.5303C8.1768 12.2374 8.1768 11.7626 8.4697 11.4697L13.7197 6.21967C14.0126 5.92678 14.4874 5.92678 14.7803 6.21967C15.0732 6.51256 15.0732 6.98744 14.7803 7.28033L10.0607 12L14.7803 16.7197C15.0732 17.0126 15.0732 17.4874 14.7803 17.7803Z",fill:"currentColor"})})}),(0,gs.jsx)("div",{className:"ghostkit-image-compare-images-divider-button-arrow-right",children:(0,gs.jsx)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"})})})]})]}),(!ds.RichText.isEmpty(l)||n)&&(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,className:"ghostkit-image-compare-caption",onChange:e=>o({caption:e}),placeholder:(0,bs.__)("Write caption…","jetpack"),tagName:"figcaption",value:l})]}):(0,gs.jsx)("div",{...N,children:(0,gs.jsxs)(us.Placeholder,{className:"ghostkit-image-compare-placeholder",icon:Cr("block-image-compare"),label:(0,bs.__)("Image Compare","ghostkit"),instructions:(0,bs.__)("Select images to compare","ghostkit"),children:[R("before")?(0,gs.jsx)("div",{className:"components-placeholder",children:R("before")}):(0,gs.jsx)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,bs.__)("Image Before","ghostkit"),name:(0,bs.__)("image","ghostkit")},onSelect:e=>{j("before",e)},accept:"image/*",allowedTypes:Hw,disableMaxUploadErrorMessages:!0,onError:M}),R("after")?(0,gs.jsx)("div",{className:"components-placeholder",children:R("after")}):(0,gs.jsx)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,bs.__)("Image After","ghostkit"),name:(0,bs.__)("image","ghostkit")},value:!!w&&{src:w},onSelect:e=>{j("after",e)},accept:"image/*",allowedTypes:Hw,disableMaxUploadErrorMessages:!0,onError:M})]})})]})},save:function(e){const{attributes:t}=e,{direction:n,trigger:o,caption:i,showLabels:r,labelBeforeText:s,labelAfterText:a,labelAlign:l,beforeId:c,beforeUrl:u,beforeAlt:h,beforeWidth:d,beforeHeight:p,afterId:g,afterUrl:f,afterAlt:m,afterWidth:v,afterHeight:b}=t;if(!u||!f)return null;let{className:y}=t;y=cs()("ghostkit-image-compare","vertical"===n&&"ghostkit-image-compare-vertical",!!o&&`ghostkit-image-compare-trigger-${o}`,!(!r||!l)&&`ghostkit-image-compare-labels-align-${l}`,y);const w=ds.useBlockProps.save({className:y});return(0,Ke.createElement)("figure",{...w},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images"},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-before"},(0,Ke.createElement)("img",{src:u,alt:h,className:c?`wp-image-${c}`:null,width:d,height:p}),r&&!ds.RichText.isEmpty(s)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-before-label",value:s}):null),(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-after"},(0,Ke.createElement)("img",{src:f,alt:m,className:g?`wp-image-${g}`:null,width:v,height:b}),r&&!ds.RichText.isEmpty(a)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-after-label",value:a}):null),(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images-divider"},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images-divider-button-arrow-left"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M14.7803 17.7803C14.4874 18.0732 14.0126 18.0732 13.7197 17.7803L8.4697 12.5303C8.1768 12.2374 8.1768 11.7626 8.4697 11.4697L13.7197 6.21967C14.0126 5.92678 14.4874 5.92678 14.7803 6.21967C15.0732 6.51256 15.0732 6.98744 14.7803 7.28033L10.0607 12L14.7803 16.7197C15.0732 17.0126 15.0732 17.4874 14.7803 17.7803Z",fill:"currentColor"}))),(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images-divider-button-arrow-right"},(0,Ke.createElement)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M9.21967 6.2197C9.51256 5.9268 9.98744 5.9268 10.2803 6.2197L15.5303 11.4697C15.8232 11.7626 15.8232 12.2374 15.5303 12.5303L10.2803 17.7803C9.98744 18.0732 9.51256 18.0732 9.21967 17.7803C8.92678 17.4874 8.92678 17.0126 9.21967 16.7197L13.9393 12L9.21967 7.2803C8.92678 6.9874 8.92678 6.5126 9.21967 6.2197Z",fill:"currentColor"}))))),ds.RichText.isEmpty(i)?null:(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-image-compare-caption",tagName:"figcaption",value:i}))}},Gw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/instagram","category":"ghostkit","title":"Instagram","description":"Show Instagram feed and user data.","keywords":["instagram"],"supports":{"inserter":false,"html":false,"className":false,"align":["wide","full"]},"attributes":{"accessToken":{"type":"string"},"count":{"type":"number","default":8},"columns":{"type":"number","default":4},"gap":{"type":"string","default":"sm"},"gapCustom":{"type":"number"},"showProfile":{"type":"boolean","default":true},"showProfileAvatar":{"type":"boolean","default":true},"profileAvatarSize":{"type":"number","default":70},"showProfileName":{"type":"boolean","default":true},"showProfileStats":{"type":"boolean","default":true},"showProfileBio":{"type":"boolean","default":true},"showProfileWebsite":{"type":"boolean","default":true}}}'),{name:qw}=Gw,Kw={icon:Cr("block-instagram",!0),ghostkit:{customStylesCallback(e){const{gap:t,gapCustom:n}=e,o={"--gkt-instagram--photos__gap":void 0};if("custom"===t&&void 0!==n&&""!==n){const e=n?"px":"%";o["--gkt-instagram--photos__gap"]=`${n}${e}`}return o}},edit:function(e){const{setAttributes:t,attributes:n}=e;let{className:o}=e;const{accessToken:i,count:r,columns:s,gap:a,gapCustom:l,showProfileAvatar:c,profileAvatarSize:u,showProfileName:h,showProfileStats:d,showProfileBio:p,showProfileWebsite:g}=n,{instagramFeed:f,instagramProfile:m}=(0,Ze.useSelect)((e=>!!i&&{instagramFeed:e("ghostkit/blocks/instagram").getInstagramFeed({access_token:i,count:r}),instagramProfile:e("ghostkit/blocks/instagram").getInstagramProfile({access_token:i})})),v=n.showProfile&&(h||c||p||g||d);o=cs()("ghostkit-instagram",a&&`ghostkit-instagram-gap-${a}`,s&&`ghostkit-instagram-columns-${s}`,o),o=(0,os.applyFilters)("ghostkit.editor.className",o,e);const b=(0,ds.useBlockProps)({className:o});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[i?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Photos Number","ghostkit"),value:r,onChange:e=>t({count:e}),min:1,max:20,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Columns","ghostkit"),value:s,onChange:e=>t({columns:e}),min:1,max:8,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(Mm,{gap:a,gapCustom:l,onChange:e=>{t(e)}})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Profile Info","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Profile Info","ghostkit"),checked:!!n.showProfile,onChange:e=>t({showProfile:e}),__nextHasNoMarginBottom:!0}),n.showProfile?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Avatar","ghostkit"),checked:!!c,onChange:e=>t({showProfileAvatar:e}),__nextHasNoMarginBottom:!0}),c?(0,gs.jsx)(rg,{label:(0,bs.__)("Avatar Size","ghostkit"),value:u,onChange:e=>t({profileAvatarSize:e}),min:30,max:150,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Name","ghostkit"),checked:!!h,onChange:e=>t({showProfileName:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Stats","ghostkit"),checked:!!d,onChange:e=>t({showProfileStats:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show BIO","ghostkit"),checked:!!p,onChange:e=>t({showProfileBio:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Website","ghostkit"),checked:!!g,onChange:e=>t({showProfileWebsite:e}),__nextHasNoMarginBottom:!0})]}):null]})]}):null,(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("API Data","ghostkit"),initialOpen:!i,children:[(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Access Token","ghostkit"),value:i,onChange:e=>t({accessToken:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,gs.jsxs)("em",{children:[(0,bs.__)("A valid Access Token is required to use Instagram feed. How to get token","ghostkit")," ",(0,gs.jsx)(us.ExternalLink,{href:"http://instagram.pixelunion.net/",children:"http://instagram.pixelunion.net/"})]})})]})]}),(0,gs.jsxs)("div",{...b,children:[i&&v&&m&&m.data?(0,gs.jsxs)("div",{className:"ghostkit-instagram-profile",children:[c&&m.data.profile_picture?(0,gs.jsx)("div",{className:"ghostkit-instagram-profile-avatar",children:(0,gs.jsx)("img",{src:m.data.profile_picture,alt:m.data.full_name,width:u,height:u})}):null,(0,gs.jsxs)("div",{className:"ghostkit-instagram-profile-side",children:[h&&m.data.username?(0,gs.jsx)("div",{className:"ghostkit-instagram-profile-name",children:m.data.username}):null,d&&m.data.counts?(0,gs.jsxs)("div",{className:"ghostkit-instagram-profile-stats",children:[(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:m.data.counts.media})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Posts","ghostkit")})]}),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:m.data.counts.followed_by})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Followers","ghostkit")})]}),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:m.data.counts.follows})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Following","ghostkit")})]})]}):null,p&&m.data.bio?(0,gs.jsxs)("div",{className:"ghostkit-instagram-profile-bio",children:[(0,gs.jsx)("h2",{children:m.data.full_name}),(0,gs.jsx)("div",{children:m.data.bio})]}):null,g&&m.data.website?(0,gs.jsx)("div",{className:"ghostkit-instagram-profile-website",children:(0,gs.jsx)("a",{href:m.data.website,children:m.data.website})}):null]})]}):null,i&&f&&f.data?(0,gs.jsx)("div",{className:"ghostkit-instagram-items",children:f.data.map(((e,t)=>{const n=`instagram-item-${t}`;return(0,gs.jsx)("div",{className:"ghostkit-instagram-item",children:(0,gs.jsx)("span",{children:(0,gs.jsx)("img",{src:e.images.standard_resolution.url,width:e.images.standard_resolution.width,height:e.images.standard_resolution.height,alt:e.caption||""})})},n)}))}):null,!i||f&&f.data?null:(0,gs.jsx)("div",{className:"ghostkit-instagram-spinner",children:(0,gs.jsx)(us.Spinner,{})}),i?null:(0,gs.jsx)(us.Placeholder,{icon:Cr("block-instagram"),label:(0,bs.__)("Instagram","ghostkit"),instructions:(0,bs.__)("A valid Access Token is required to use Instagram feed. You can fill it in the block settings in Inspector.","ghostkit"),className:o})]})]})},save:function(){return null}},Yw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/lottie","category":"ghostkit","title":"Lottie Animation","description":"Add Lottie SVG animations.","keywords":["lottie","animation","svg"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full","left","center","right"]},"attributes":{"fileId":{"type":"number"},"fileUrl":{"type":"string"},"fileWidth":{"type":"number"},"fileHeight":{"type":"number"},"direction":{"type":"number","default":1},"trigger":{"type":"string"},"loop":{"type":"boolean","default":true},"speed":{"type":"number","default":1},"width":{"type":"string","default":"100%"}}}');function Zw(e){const{url:t,trigger:n,speed:o,loop:i,direction:r,isSelected:s,onLoad:a=(()=>{})}=e,l=(0,vs.useRef)(null);return(0,vs.useEffect)((()=>{const e=l.current;function t(e){a(e)}return e.addEventListener("load",t),_y("js","lottie-player-js",e),()=>{e.removeEventListener("load",t)}}),[l]),(0,Ke.createElement)("lottie-player",{key:`lottie-${n}-${o}-${i}-${r}`,ref:l,src:t,direction:r,background:"transparent",mode:"normal",..."scroll"!==n?{speed:o}:{},..."scroll"!==n&&i?{loop:"loop"}:{},...!n||s?{autoplay:"autoplay"}:{},..."hover"===n?{hover:"hover"}:{},style:{width:"100%",height:"auto"}})}const Jw=us.UnitControl||us.__experimentalUnitControl,{name:Xw}=Yw,{name:Qw}=Yw,ek={icon:Cr("block-lottie",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/lottie/"},example:{attributes:{fileUrl:"https://assets4.lottiefiles.com/packages/lf20_obhph3sh.json"}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e;let{className:i=""}=e;const{fileUrl:r,fileWidth:s,fileHeight:a,trigger:l,loop:c,direction:u,speed:h,width:d}=t,[p,g]=(0,vs.useState)(d.endsWith("%"));i=cs()("ghostkit-lottie",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const f=(0,ds.useBlockProps)({className:i,"data-trigger":l,style:s&&a?{"--gkt-lottie__ar":`${s} / ${a}`,"--gkt-lottie__width":d}:{}});return(0,gs.jsxs)(gs.Fragment,{children:[r?(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Play Animation On","ghostkit"),value:l,options:[{label:(0,bs.__)("Page Load","ghostkit"),value:""},{label:(0,bs.__)("Viewport","ghostkit"),value:"viewport"},{label:(0,bs.__)("Hover","ghostkit"),value:"hover"},{label:(0,bs.__)("Click","ghostkit"),value:"click"},{label:(0,bs.__)("Scroll","ghostkit"),value:"scroll"}],onChange:e=>n({trigger:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"scroll"!==l?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Speed","otter-blocks"),value:h,onChange:e=>n({speed:e}),step:.1,min:0,max:10,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Loop","ghostkit"),checked:!!c,onChange:()=>n({loop:!c}),__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Reverse","ghostkit"),checked:-1===u,onChange:()=>{n({direction:1===u?-1:1})},__nextHasNoMarginBottom:!0}),(0,gs.jsx)(Jw,{label:(0,bs.__)("Width","ghostkit"),value:d,onChange:e=>n({width:e}),onUnitChange:e=>g("%"===e),labelPosition:"edge",units:[{value:"px",label:"px"},{value:"%",label:"%"}],min:0,max:p?100:1/0,__unstableInputWidth:"70px",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Lottie File","ghostkit"),value:r,disabled:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.Button,{variant:"secondary",onClick:()=>{n({fileId:void 0,fileUrl:void 0,fileWidth:void 0,fileHeight:void 0})},children:(0,bs.__)("Clear","ghostkit")})]})]}):null,(0,gs.jsx)("div",{...f,children:r?(0,gs.jsx)(Zw,{url:r,trigger:l,speed:h,loop:c,direction:u,isSelected:o,onLoad:e=>{const t=e?.target?._lottie?.animationData?.w,o=e?.target?._lottie?.animationData?.h;t&&o&&(t!==s||o!==a)&&n({fileWidth:t,fileHeight:o})}}):(0,gs.jsx)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,bs.__)("Lottie JSON","ghostkit"),name:(0,bs.__)("lottie","ghostkit"),instructions:(0,bs.__)("Upload a JSON file or pick one from your media library.")},onSelect:e=>{n({fileId:e.id,fileUrl:e.url})},onSelectURL:e=>{n({fileId:void 0,fileUrl:e})},accept:["application/json"],allowedTypes:["application/json"],disableMaxUploadErrorMessages:!0,onError:()=>{n({fileId:void 0,fileUrl:void 0})}})})]})},save:function(e){const{fileUrl:t,fileWidth:n,fileHeight:o,trigger:i,loop:r,direction:s,speed:a,width:l}=e.attributes;let c="ghostkit-lottie";c=(0,os.applyFilters)("ghostkit.blocks.className",c,{name:Xw,...e});const u=ds.useBlockProps.save({className:c,"data-trigger":i,style:n&&o?{"--gkt-lottie__ar":`${n} / ${o}`,"--gkt-lottie__width":l}:{}});return(0,Ke.createElement)("div",{...u},(0,Ke.createElement)("lottie-player",{src:t,direction:s,background:"transparent",mode:"normal",..."scroll"!==i?{speed:a}:{},..."scroll"!==i&&r?{loop:"loop"}:{},...i?{}:{autoplay:"autoplay"},..."hover"===i?{hover:"hover"}:{},style:{width:"100%",height:"auto"}}))}},tk=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/markdown","category":"ghostkit","title":"Markdown","description":"Lightweight markup language with plain-text-formatting syntax.","keywords":["formatting","markup","md"],"supports":{"html":false,"className":false,"anchor":true},"attributes":{"content":{"type":"string"}}}'),nk={};function ok(e,t){"string"!=typeof t&&(t=ok.defaultChars);const n=function(e){let t=nk[e];if(t)return t;t=nk[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n=55296&&e<=57343?"���":String.fromCharCode(e),o+=6;continue}}if(240==(248&r)&&o+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),o+=9;continue}}t+="�"}}return t}))}ok.defaultChars=";/?:@&=+$,#",ok.componentChars="";const ik=ok,rk={};function sk(e,t,n){"string"!=typeof t&&(n=t,t=sk.defaultChars),void 0===n&&(n=!0);const o=function(e){let t=rk[e];if(t)return t;t=rk[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&t+1=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[t])}return i}sk.defaultChars=";/?:@&=+$,-_.!~*'()#",sk.componentChars="-_.!~*'()";const ak=sk;function lk(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function ck(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const uk=/^([a-z0-9.+-]+:)/i,hk=/:[0-9]*$/,dk=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,pk=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),gk=["'"].concat(pk),fk=["%","/","?",";","#"].concat(gk),mk=["/","?","#"],vk=/^[+a-z0-9A-Z_-]{0,63}$/,bk=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,yk={javascript:!0,"javascript:":!0},wk={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};ck.prototype.parse=function(e,t){let n,o,i,r=e;if(r=r.trim(),!t&&1===e.split("#").length){const e=dk.exec(r);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let s=uk.exec(r);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,r=r.substr(s.length)),(t||s||r.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===r.substr(0,2),!i||s&&yk[s]||(r=r.substr(2),this.slashes=!0)),!yk[s]&&(i||s&&!wk[s])){let e,t,n=-1;for(let e=0;e127?o+="x":o+=n[e];if(!o.match(vk)){const o=e.slice(0,t),i=e.slice(t+1),s=n.match(bk);s&&(o.push(s[1]),i.unshift(s[2])),i.length&&(r=i.join(".")+r),this.hostname=o.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=r.indexOf("#");-1!==a&&(this.hash=r.substr(a),r=r.slice(0,a));const l=r.indexOf("?");return-1!==l&&(this.search=r.substr(l),r=r.slice(0,l)),r&&(this.pathname=r),wk[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},ck.prototype.parseHost=function(e){let t=hk.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const kk=function(e,t){if(e&&e instanceof ck)return e;const n=new ck;return n.parse(e,t),n},_k=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,xk=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ck=/[\0-\x1F\x7F-\x9F]/,Sk=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ek=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ak=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),Tk=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var $k;const Mk=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Rk=null!==($k=String.fromCodePoint)&&void 0!==$k?$k:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var jk,Ok,Lk,Ik,Nk;function Pk(e){return e>=jk.ZERO&&e<=jk.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(jk||(jk={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Ok||(Ok={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(Lk||(Lk={})),(Nk=Ik||(Ik={}))[Nk.Legacy=0]="Legacy",Nk[Nk.Strict=1]="Strict",Nk[Nk.Attribute=2]="Attribute";class Dk{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Lk.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ik.Strict}startEntity(e){this.decodeMode=e,this.state=Lk.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Lk.EntityStart:return e.charCodeAt(t)===jk.NUM?(this.state=Lk.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Lk.NamedEntity,this.stateNamedEntity(e,t));case Lk.NumericStart:return this.stateNumericStart(e,t);case Lk.NumericDecimal:return this.stateNumericDecimal(e,t);case Lk.NumericHex:return this.stateNumericHex(e,t);case Lk.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===jk.LOWER_X?(this.state=Lk.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Lk.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,o){if(t!==n){const i=n-t;this.result=this.result*Math.pow(o,i)+parseInt(e.substr(t,i),o),this.consumed+=i}}stateNumericHex(e,t){const n=t;for(;t=jk.UPPER_A&&o<=jk.UPPER_F||o>=jk.LOWER_A&&o<=jk.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}var o;return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=Mk.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==jk.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let o=n[this.treeIndex],i=(o&Ok.VALUE_LENGTH)>>14;for(;t=jk.UPPER_A&&e<=jk.UPPER_Z||e>=jk.LOWER_A&&e<=jk.LOWER_Z||Pk(e)}(r)))?0:this.emitNotTerminatedNamedEntity();if(o=n[this.treeIndex],i=(o&Ok.VALUE_LENGTH)>>14,0!==i){if(s===jk.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ik.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var r;return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,o=(n[t]&Ok.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,o,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:o}=this;return this.emitCodePoint(1===t?o[e]&~Ok.VALUE_LENGTH:o[e+1],n),3===t&&this.emitCodePoint(o[e+2],n),n}end(){var e;switch(this.state){case Lk.NamedEntity:return 0===this.result||this.decodeMode===Ik.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Lk.NumericDecimal:return this.emitNumericEntity(0,2);case Lk.NumericHex:return this.emitNumericEntity(0,3);case Lk.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Lk.EntityStart:return 0}}}function Bk(e){let t="";const n=new Dk(e,(e=>t+=Rk(e)));return function(e,o){let i=0,r=0;for(;(r=e.indexOf("&",r))>=0;){t+=e.slice(i,r),n.startEntity(o);const s=n.write(e,r+1);if(s<0){i=r+n.end();break}i=r+s,r=0===s?i+1:i}const s=t+e.slice(i);return t="",s}}function zk(e,t,n,o){const i=(t&Ok.BRANCH_LENGTH)>>7,r=t&Ok.JUMP_TABLE;if(0===i)return 0!==r&&o===r?n:-1;if(r){const t=o-r;return t<0||t>=i?-1:e[n+t]-1}let s=n,a=s+i-1;for(;s<=a;){const t=s+a>>>1,n=e[t];if(no))return e[t+i];a=t-1}}return-1}const Fk=Bk(Ak);function Hk(e,t=Ik.Legacy){return Fk(e,t)}function Wk(e){for(let t=1;t'"]/g,Vk),Uk(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Uk(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(Gk||(Gk={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(qk||(qk={}));const Yk=Object.prototype.hasOwnProperty;function Zk(e,t){return Yk.call(e,t)}function Jk(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function Xk(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Qk(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function e_(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const t_=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,n_=new RegExp(t_.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),o_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function i_(e){return e.indexOf("\\")<0?e:e.replace(t_,"$1")}function r_(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(n_,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&o_.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Qk(n)?e_(n):e}const n=Hk(e);return n!==e?n:e}(e,n)}))}const s_=/[&<>"]/,a_=/[&<>"]/g,l_={"&":"&","<":"<",">":">",'"':"""};function c_(e){return l_[e]}function u_(e){return s_.test(e)?e.replace(a_,c_):e}const h_=/[.?*+^$[\]\\(){}|-]/g;function d_(e){return e.replace(h_,"\\$&")}function p_(e){switch(e){case 9:case 32:return!0}return!1}function g_(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function f_(e){return _k.test(e)}function m_(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function v_(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const b_={mdurl:Te,ucmicro:$e};function y_(e,t,n){let o,i,r,s;const a=e.posMax,l=e.pos;for(e.pos=t+1,o=1;e.pos32))return r;if(41===o){if(0===s)break;s--}i++}return t===i||0!==s||(r.str=r_(e.slice(t,i)),r.pos=i,r.ok=!0),r}function k_(e,t,n){let o,i,r=0,s=t;const a={ok:!1,pos:0,lines:0,str:""};if(s>=n)return a;if(i=e.charCodeAt(s),34!==i&&39!==i&&40!==i)return a;for(s++,40===i&&(i=41);s"+u_(r.content)+""},x_.code_block=function(e,t,n,o,i){const r=e[t];return""+u_(e[t].content)+"\n"},x_.fence=function(e,t,n,o,i){const r=e[t],s=r.info?r_(r.info).trim():"";let a,l="",c="";if(s){const e=s.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(a=n.highlight&&n.highlight(r.content,l,c)||u_(r.content),0===a.indexOf("${a}\n`}return`
    ${a}
    \n`},x_.image=function(e,t,n,o,i){const r=e[t];return r.attrs[r.attrIndex("alt")][1]=i.renderInlineAsText(r.children,n,o),i.renderToken(e,t,n)},x_.hardbreak=function(e,t,n){return n.xhtmlOut?"
    \n":"
    \n"},x_.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},x_.text=function(e,t){return u_(e[t].content)},x_.html_block=function(e,t){return e[t].content},x_.html_inline=function(e,t){return e[t].content},C_.prototype.renderAttrs=function(e){let t,n,o;if(!e.attrs)return"";for(o="",t=0,n=e.attrs.length;t\n":">",i},C_.prototype.renderInline=function(e,t,n){let o="";const i=this.rules;for(let r=0,s=e.length;r=0&&(n=this.attrs[t][1]),n},T_.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};const $_=T_;function M_(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}M_.prototype.Token=$_;const R_=M_,j_=/\r\n?|\n/g,O_=/\0/g;function L_(e){return/^<\/a\s*>/i.test(e)}const I_=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,N_=/\((c|tm|r)\)/i,P_=/\((c|tm|r)\)/gi,D_={c:"©",r:"®",tm:"™"};function B_(e,t){return D_[t.toLowerCase()]}function z_(e){let t=0;for(let n=e.length-1;n>=0;n--){const o=e[n];"text"!==o.type||t||(o.content=o.content.replace(P_,B_)),"link_open"===o.type&&"auto"===o.info&&t--,"link_close"===o.type&&"auto"===o.info&&t++}}function F_(e){let t=0;for(let n=e.length-1;n>=0;n--){const o=e[n];"text"!==o.type||t||I_.test(o.content)&&(o.content=o.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===o.type&&"auto"===o.info&&t--,"link_close"===o.type&&"auto"===o.info&&t++}}const H_=/['"]/,W_=/['"]/g;function V_(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function U_(e,t){let n;const o=[];for(let i=0;i=0&&!(o[n].level<=s);n--);if(o.length=n+1,"text"!==r.type)continue;let a=r.content,l=0,c=a.length;e:for(;l=0)g=a.charCodeAt(u.index-1);else for(n=i-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let f=32;if(l=48&&g<=57&&(d=h=!1),h&&d&&(h=m,d=v),h||d){if(d)for(n=o.length-1;n>=0;n--){let h=o[n];if(o[n].level=0;s--){const a=i[s];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&r>0&&r--,L_(a.content)&&r++),!(r>0)&&"text"===a.type&&e.md.linkify.test(a.content)){const n=a.content;let r=e.md.linkify.match(n);const l=[];let c=a.level,u=0;r.length>0&&0===r[0].index&&s>0&&"text_special"===i[s-1].type&&(r=r.slice(1));for(let t=0;tu){const t=new e.Token("text","",0);t.content=n.slice(u,a),t.level=c,l.push(t)}const h=new e.Token("link_open","a",1);h.attrs=[["href",i]],h.level=c++,h.markup="linkify",h.info="auto",l.push(h);const d=new e.Token("text","",0);d.content=s,d.level=c,l.push(d);const p=new e.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",l.push(p),u=r[t].lastIndex}if(u=0;t--)"inline"===e.tokens[t].type&&(N_.test(e.tokens[t].content)&&z_(e.tokens[t].children),I_.test(e.tokens[t].content)&&F_(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&H_.test(e.tokens[t].content)&&U_(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const o=e.tokens,i=o.length;for(let e=0;e0&&this.level++,this.tokens.push(o),o},Y_.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Y_.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!p_(this.src.charCodeAt(--e)))return e+1;return e},Y_.prototype.skipChars=function(e,t){for(let n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},Y_.prototype.getLines=function(e,t,n,o){if(e>=t)return"";const i=new Array(t-e);for(let r=0,s=e;sn?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return i.join("")},Y_.prototype.Token=$_;const Z_=Y_;function J_(e,t){const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o)}function X_(e){const t=[],n=e.length;let o=0,i=e.charCodeAt(o),r=!1,s=0,a="";for(;o=o)return-1;let r=e.src.charCodeAt(i++);if(r<48||r>57)return-1;for(;;){if(i>=o)return-1;if(r=e.src.charCodeAt(i++),!(r>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-n>=10)return-1}return i`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",nx="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ox=new RegExp("^(?:"+tx+"|"+nx+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),ix=new RegExp("^(?:"+tx+"|"+nx+")"),rx=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(ix.source+"\\s*$"),/^$/,!1]],sx=[["table",function(e,t,n,o){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let r=e.bMarks[i]+e.tShift[i];if(r>=e.eMarks[i])return!1;const s=e.src.charCodeAt(r++);if(124!==s&&45!==s&&58!==s)return!1;if(r>=e.eMarks[i])return!1;const a=e.src.charCodeAt(r++);if(124!==a&&45!==a&&58!==a&&!p_(a))return!1;if(45===s&&p_(a))return!1;for(;r=4)return!1;c=X_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const h=c.length;if(0===h||h!==u.length)return!1;if(o)return!0;const d=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),g=[t,0];e.push("table_open","table",1).map=g,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t=4)break;c=X_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),i===t+2&&(e.push("tbody_open","tbody",1).map=f=[t+2,0]),e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t=4))break;o++,i=o}e.line=i;const r=e.push("code_block","code",0);return r.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",r.map=[t,e.line],!0}],["fence",function(e,t,n,o){let i=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>r)return!1;const s=e.src.charCodeAt(i);if(126!==s&&96!==s)return!1;let a=i;i=e.skipChars(i,s);let l=i-a;if(l<3)return!1;const c=e.src.slice(a,i),u=e.src.slice(i,r);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(o)return!0;let h=t,d=!1;for(;!(h++,h>=n||(i=a=e.bMarks[h]+e.tShift[h],r=e.eMarks[h],i=4||(i=e.skipChars(i,s),i-a=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(o)return!0;const a=[],l=[],c=[],u=[],h=e.md.block.ruler.getRules("blockquote"),d=e.parentType;e.parentType="blockquote";let p,g=!1;for(p=t;p=r)break;if(62===e.src.charCodeAt(i++)&&!t){let t,n,o=e.sCount[p]+1;32===e.src.charCodeAt(i)?(i++,o++,n=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[p]+o)%4==3?(i++,o++,n=!1):n=!0):t=!1;let s=o;for(a.push(e.bMarks[p]),e.bMarks[p]=i;i=r,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(t?1:0),c.push(e.sCount[p]),e.sCount[p]=s-o,u.push(e.tShift[p]),e.tShift[p]=i-e.bMarks[p];continue}if(g)break;let o=!1;for(let t=0,i=h.length;t";const v=[t,0];m.map=v,e.md.block.tokenize(e,t,p),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=s,e.parentType=d,v[1]=e.line;for(let n=0;n=4)return!1;let r=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(r++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;r=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(p=!0),(d=ex(e,l))>=0){if(u=!0,s=e.bMarks[l]+e.tShift[l],h=Number(e.src.slice(s,d-1)),p&&1!==h)return!1}else{if(!((d=Q_(e,l))>=0))return!1;u=!1}if(p&&e.skipSpaces(d)>=e.eMarks[l])return!1;if(o)return!0;const g=e.src.charCodeAt(d-1),f=e.tokens.length;u?(a=e.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=e.push("bullet_list_open","ul",1);const m=[l,0];a.map=m,a.markup=String.fromCharCode(g);let v=!1;const b=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";l=i?1:o-t,p>4&&(p=1);const f=t+p;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(g);const m=[l,0];a.map=m,u&&(a.info=e.src.slice(s,d-1));const y=e.tight,w=e.tShift[l],k=e.sCount[l],_=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=f,e.tight=!0,e.tShift[l]=h-e.bMarks[l],e.sCount[l]=o,h>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!v||(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=_,e.tShift[l]=w,e.sCount[l]=k,e.tight=y,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(g),l=e.line,m[1]=l,l>=n)break;if(e.sCount[l]=4)break;let x=!1;for(let t=0,o=b.length;t=4)return!1;if(91!==e.src.charCodeAt(r))return!1;for(;++r3)continue;if(e.sCount[a]<0)continue;let t=!1;for(let n=0,o=c.length;n=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let s=e.src.slice(i,r),a=0;for(;a=4)return!1;let s=e.src.charCodeAt(i);if(35!==s||i>=r)return!1;let a=1;for(s=e.src.charCodeAt(++i);35===s&&i6||ii&&p_(e.src.charCodeAt(l-1))&&(r=l),e.line=t+1;const c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=e.src.slice(i,r).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const o=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let r,s=0,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let t=e.bMarks[a]+e.tShift[a];const n=e.eMarks[a];if(t=n))){s=61===r?1:2;break}}if(e.sCount[a]<0)continue;let t=!1;for(let i=0,r=o.length;i3)continue;if(e.sCount[r]<0)continue;let t=!1;for(let i=0,s=o.length;i=n))&&!(e.sCount[s]=r){e.line=n;break}const t=e.line;let l=!1;for(let r=0;r=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),s=e.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},cx.prototype.scanDelims=function(e,t){let n,o,i=!0,r=!0;const s=this.posMax,a=this.src.charCodeAt(e),l=e>0?this.src.charCodeAt(e-1):32;let c=e;for(;c?@[]^_`{|}~-".split("").forEach((function(e){px[e.charCodeAt(0)]=1}));const fx={tokenize:function(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(126!==o)return!1;const i=e.scanDelims(e.pos,!0);let r=i.length;const s=String.fromCharCode(o);if(r<2)return!1;let a;r%2&&(a=e.push("text","",0),a.content=s,r--);for(let t=0;t=0;n--){const o=t[n];if(95!==o.marker&&42!==o.marker)continue;if(-1===o.end)continue;const i=t[o.end],r=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===i.token+1,s=String.fromCharCode(o.marker),a=e.tokens[o.token];a.type=r?"strong_open":"em_open",a.tag=r?"strong":"em",a.nesting=1,a.markup=r?s+s:s,a.content="";const l=e.tokens[i.token];l.type=r?"strong_close":"em_close",l.tag=r?"strong":"em",l.nesting=-1,l.markup=r?s+s:s,l.content="",r&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--)}}const vx={tokenize:function(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(95!==o&&42!==o)return!1;const i=e.scanDelims(e.pos,42===o);for(let t=0;t\x00-\x20]*)$/,wx=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,kx=/^&([a-z][a-z0-9]{1,31});/i;function xx(e){const t={},n=e.length;if(!n)return;let o=0,i=-2;const r=[];for(let s=0;sa;l-=r[l]+1){const t=e[l];if(t.marker===n.marker&&t.open&&t.end<0){let o=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(o=!0)),!o){const o=l>0&&!e[l-1].open?r[l-1]+1:0;r[s]=s-l+o,r[l]=o,n.open=!1,t.end=s,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const Cx=[["text",function(e,t){let n=e.pos;for(;n0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const o=e.pending.match(dx);if(!o)return!1;const i=o[1],r=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!r)return!1;let s=r.url;if(s.length<=i.length)return!1;s=s.replace(/\*+$/,"");const a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const t=e.push("link_open","a",1);t.attrs=[["href",a]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(s);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=s.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const o=e.pending.length-1,i=e.posMax;if(!t)if(o>=0&&32===e.pending.charCodeAt(o))if(o>=1&&32===e.pending.charCodeAt(o-1)){let t=o-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n=o)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&t<=57343&&(r+=e.src[n+1],n++)}const s="\\"+r;if(!t){const t=e.push("text_special","",0);i<256&&0!==px[i]?t.content=r:t.content=s,t.markup=s,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const o=n;n++;const i=e.posMax;for(;n=h)return!1;if(l=g,i=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),i.ok){for(s=e.md.normalizeLink(i.str),e.md.validateLink(s)?g=i.pos:s="",l=g;g=h||41!==e.src.charCodeAt(g))&&(c=!0),g++}if(c){if(void 0===e.env.references)return!1;if(g=0?o=e.src.slice(l,g++):g=p+1):g=p+1,o||(o=e.src.slice(d,p)),r=e.env.references[v_(o)],!r)return e.pos=u,!1;s=r.href,a=r.title}if(!t){e.pos=d,e.posMax=p;const t=[["href",s]];e.push("link_open","a",1).attrs=t,a&&t.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=h,!0}],["image",function(e,t){let n,o,i,r,s,a,l,c,u="";const h=e.pos,d=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const p=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(r=g+1,r=d)return!1;for(c=r,a=e.md.helpers.parseLinkDestination(e.src,r,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?r=a.pos:u=""),c=r;r=d||41!==e.src.charCodeAt(r))return e.pos=h,!1;r++}else{if(void 0===e.env.references)return!1;if(r=0?i=e.src.slice(c,r++):r=g+1):r=g+1,i||(i=e.src.slice(p,g)),s=e.env.references[v_(i)],!s)return e.pos=h,!1;u=s.href,l=s.title}if(!t){o=e.src.slice(p,g);const t=[];e.md.inline.parse(o,e.md,e.env,t);const n=e.push("image","img",0),i=[["src",u],["alt",""]];n.attrs=i,n.children=t,n.content=o,l&&i.push(["title",l])}return e.pos=r,e.posMax=d,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const o=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const r=e.src.slice(o+1,n);if(yx.test(r)){const n=e.md.normalizeLink(r);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(r);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=r.length+2,!0}if(bx.test(r)){const n=e.md.normalizeLink("mailto:"+r);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(r);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=r.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,o=e.pos;if(60!==e.src.charCodeAt(o)||o+2>=n)return!1;const i=e.src.charCodeAt(o+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const r=e.src.slice(o).match(ox);if(!r)return!1;if(!t){const t=e.push("html_inline","",0);t.content=r[0],s=t.content,/^\s]/i.test(s)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var s;return e.pos+=r[0].length,!0}],["entity",function(e,t){const n=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=o)return!1;if(35===e.src.charCodeAt(n+1)){const o=e.src.slice(n).match(wx);if(o){if(!t){const t="x"===o[1][0].toLowerCase()?parseInt(o[1].slice(1),16):parseInt(o[1],10),n=e.push("text_special","",0);n.content=Qk(t)?e_(t):e_(65533),n.markup=o[0],n.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(kx);if(o){const n=Hk(o[0]);if(n!==o[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=o[0],t.info="entity"}return e.pos+=o[0].length,!0}}}return!1}]],Sx=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;xx(e.delimiters);for(let e=0;e0&&o++,"text"===i[t].type&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;s||e.pos++,r[t]=e.pos},Ex.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,o=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(s){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Ex.prototype.parse=function(e,t,n,o){const i=new this.State(e,t,n,o);this.tokenize(i);const r=this.ruler2.getRules(""),s=r.length;for(let e=0;e=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},Lx="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Ix="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Nx(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=xk.source,t.src_Cc=Ck.source,t.src_Z=Ek.source,t.src_P=_k.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(Lx),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");const i=[];function r(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const n=e.__schemas__[t];if(null===n)return;const o={validate:null,link:null};if(e.__compiled__[t]=o,"[object Object]"===$x(n))return"[object RegExp]"!==$x(n.validate)?Mx(n.validate)?o.validate=n.validate:r(t,n):o.validate=function(e){return function(t,n){const o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}(n.validate),void(Mx(n.normalize)?o.normalize=n.normalize:n.normalize?r(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===$x(e)}(n)?r(t,n):i.push(t)})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const s=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Rx).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Px(e,t){const n=e.__index__,o=e.__last_index__,i=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=i,this.text=i,this.url=i}function Dx(e,t){const n=new Px(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Bx(e,t){if(!(this instanceof Bx))return new Bx(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||jx.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Tx({},jx,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Tx({},Ox,e),this.__compiled__={},this.__tlds__=Ix,this.__tlds_replaced__=!1,this.re={},Nx(this)}Bx.prototype.add=function(e,t){return this.__schemas__[e]=t,Nx(this),this},Bx.prototype.set=function(e){return this.__opts__=Tx(this.__opts__,e),this},Bx.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,o,i,r,s,a,l,c;if(this.re.schema_test.test(e))for(a=this.re.schema_search,a.lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(o=e.match(this.re.email_fuzzy))&&(r=o.index+o[1].length,s=o.index+o[0].length,(this.__index__<0||rthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=r,this.__last_index__=s))),this.__index__>=0},Bx.prototype.pretest=function(e){return this.re.pretest.test(e)},Bx.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Bx.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(Dx(this,n)),n=this.__last_index__);let o=n?e.slice(n):e;for(;this.test(o);)t.push(Dx(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},Bx.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,Dx(this,0)):null},Bx.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),Nx(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Nx(this),this)},Bx.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Bx.prototype.onCompile=function(){};const zx=Bx,Fx=2147483647,Hx=36,Wx=/^xn--/,Vx=/[^\0-\x7F]/,Ux=/[\x2E\u3002\uFF0E\uFF61]/g,Gx={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},qx=Math.floor,Kx=String.fromCharCode;function Yx(e){throw new RangeError(Gx[e])}function Zx(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}((e=e.replace(Ux,".")).split("."),t).join(".");return o+i}function Jx(e){const t=[];let n=0;const o=e.length;for(;n=55296&&i<=56319&&n>1,e+=qx(e/t);e>455;o+=Hx)e=qx(e/35);return qx(o+36*e/(e+38))},eC=function(e){const t=[],n=e.length;let o=0,i=128,r=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let n=0;n=128&&Yx("not-basic"),t.push(e.charCodeAt(n));for(let l=s>0?s+1:0;l=n&&Yx("invalid-input");const s=(a=e.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:Hx;s>=Hx&&Yx("invalid-input"),s>qx((Fx-o)/t)&&Yx("overflow"),o+=s*t;const c=i<=r?1:i>=r+26?26:i-r;if(sqx(Fx/u)&&Yx("overflow"),t*=u}const c=t.length+1;r=Qx(o-s,c,0==s),qx(o/c)>Fx-i&&Yx("overflow"),i+=qx(o/c),o%=c,t.splice(o++,0,i)}var a;return String.fromCodePoint(...t)},tC=function(e){const t=[],n=(e=Jx(e)).length;let o=128,i=0,r=72;for(const n of e)n<128&&t.push(Kx(n));const s=t.length;let a=s;for(s&&t.push("-");a=o&&tqx((Fx-i)/l)&&Yx("overflow"),i+=(n-o)*l,o=n;for(const n of e)if(nFx&&Yx("overflow"),n===o){let e=i;for(let n=Hx;;n+=Hx){const o=n<=r?1:n>=r+26?26:n-r;if(eString.fromCodePoint(...e)},decode:eC,encode:tC,toASCII:function(e){return Zx(e,(function(e){return Vx.test(e)?"xn--"+tC(e):e}))},toUnicode:function(e){return Zx(e,(function(e){return Wx.test(e)?eC(e.slice(4).toLowerCase()):e}))}},oC={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},iC=/^(vbscript|javascript|file|data):/,rC=/^data:image\/(gif|png|jpeg|webp);/;function sC(e){const t=e.trim().toLowerCase();return!iC.test(t)||rC.test(t)}const aC=["http:","https:","mailto:"];function lC(e){const t=kk(e,!0);if(t.hostname&&(!t.protocol||aC.indexOf(t.protocol)>=0))try{t.hostname=nC.toASCII(t.hostname)}catch(e){}return ak(lk(t))}function cC(e){const t=kk(e,!0);if(t.hostname&&(!t.protocol||aC.indexOf(t.protocol)>=0))try{t.hostname=nC.toUnicode(t.hostname)}catch(e){}return ik(lk(t),ik.defaultChars+"%")}function uC(e,t){if(!(this instanceof uC))return new uC(e,t);t||Kk(e)||(t=e||{},e="default"),this.inline=new Ax,this.block=new lx,this.core=new K_,this.renderer=new S_,this.linkify=new zx,this.validateLink=sC,this.normalizeLink=lC,this.normalizeLinkText=cC,this.utils=Me,this.helpers=Jk({},Re),this.options={},this.configure(e),t&&this.set(t)}uC.prototype.set=function(e){return Jk(this.options,e),this},uC.prototype.configure=function(e){const t=this;if(Kk(e)){const t=e;if(!(e=oC[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},uC.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const o=e.filter((function(e){return n.indexOf(e)<0}));if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this},uC.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const o=e.filter((function(e){return n.indexOf(e)<0}));if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this},uC.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},uC.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},uC.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},uC.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},uC.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const hC=new uC;function dC(e){const{content:t,...n}=e;return(0,Ke.createElement)(vs.RawHTML,{onClick:e=>{"A"===e.target.nodeName&&(window.confirm((0,bs.__)("Are you sure you wish to leave this page?","ghostkit"))||e.preventDefault())},...n},t&&t.length?hC.render(t):"")}const{name:pC}=tk,gC={icon:Cr("block-markdown",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/markdown/"},example:{attributes:{content:"test **bold**"}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{content:i}=t;let{className:r}=e;const[s,a]=(0,vs.useState)("editor"),l=(0,vs.useRef)();(0,vs.useEffect)((()=>{o||"preview"!==s||a("editor")}),[o,s]),(0,vs.useEffect)((()=>{o&&"editor"===s&&l?.current&&l?.current?.focus?.()}),[l,o,s]);const{currentBlockId:c}=(0,Ze.useSelect)((e=>({currentBlockId:e("core/block-editor").getSelectedBlockClientId()}))),{removeBlocks:u}=(0,Ze.useDispatch)("core/block-editor");r=cs()("ghostkit-markdown",r);const h=(0,ds.useBlockProps)({className:r});return o||i&&""!==i.trim()?(0,Ke.createElement)("div",{...h},(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{className:cs()("components-button components-tab-button","editor"===s&&"is-pressed"),onClick:()=>a("editor")},(0,Ke.createElement)("span",null,(0,bs.__)("Markdown","ghostkit"))),(0,Ke.createElement)(us.ToolbarButton,{className:cs()("components-button components-tab-button","preview"===s&&"is-pressed"),onClick:()=>a("preview")},(0,Ke.createElement)("span",null,(0,bs.__)("Preview","ghostkit"))))),"preview"!==s&&o?(0,Ke.createElement)(ds.PlainText,{onChange:e=>{n({content:e})},onKeyDown:e=>{8===e.keyCode&&""===i&&(u(c),e.preventDefault())},"aria-label":(0,bs.__)("Markdown","ghostkit"),ref:l,value:i}):(0,Ke.createElement)(dC,{content:i})):(0,Ke.createElement)("div",{...h},(0,Ke.createElement)("p",null,(0,bs.__)("Write your _Markdown_ **here**…","ghostkit")))},save:function(e){const{attributes:t}=e,{content:n}=t;let{className:o}=t;o=cs()("ghostkit-markdown",o);const i=ds.useBlockProps.save({className:o});return(0,Ke.createElement)(dC,{content:n,...i})}},fC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/pricing-table","category":"ghostkit","title":"Pricing Table","description":"Sell your products or services and show all features.","keywords":["pricing","table"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"count":{"type":"number","default":2},"gap":{"type":"string","default":"md"},"gapCustom":{"type":"number"},"verticalAlign":{"type":"string","default":"center"},"horizontalAlign":{"type":"string","default":"center"}}}'),mC="ghostkit/pricing-table-item",{name:vC}=fC,{name:bC}=fC,yC={icon:Cr("block-pricing-table",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/pricing-table/",customStylesCallback(e){const{gap:t,gapCustom:n}=e,o={"--gkt-pricing-table__gap":void 0};if("custom"===t&&void 0!==n&&""!==n){const e=n?"px":"%";o["--gkt-pricing-table__gap"]=`${n}${e}`}return o}},example:{attributes:{count:2},innerBlocks:[{name:"ghostkit/pricing-table-item",attributes:{title:"Standard",price:"$49",features:"
  • Feature 1
  • Feature 2
  • ",showPopular:!0},innerBlocks:[{name:"ghostkit/button",attributes:{align:"center"},innerBlocks:[{name:"ghostkit/button-single",attributes:{text:"Purchase"}}]}]},{name:"ghostkit/pricing-table-item",attributes:{title:"Developers",price:"$99",features:"
  • Feature 1
  • Feature 2
  • "},innerBlocks:[{name:"ghostkit/button",attributes:{align:"center"},innerBlocks:[{name:"ghostkit/button-single",attributes:{text:"Purchase"}}]}]}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{count:r,gap:s,gapCustom:a,verticalAlign:l,horizontalAlign:c}=t,{itemsCount:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,getBlockCount:n,hasSelectedInnerBlock:i}=e("core/block-editor");return{itemsCount:n(o),isSelectedBlockInRoot:t(o)||i(o,!0)}})),{insertBlock:d}=(0,Ze.useDispatch)("core/block-editor");(0,vs.useEffect)((()=>{r!==u&&n({count:u})}),[r,u,n]),i=cs()(i,"ghostkit-pricing-table",`ghostkit-pricing-table-gap-${s}`,!!r&&`ghostkit-pricing-table-items-${r}`,!!l&&`ghostkit-pricing-table-align-vertical-${l}`,!!c&&`ghostkit-pricing-table-align-horizontal-${c}`),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const p=(0,ds.useBlockProps)({className:i}),{children:g,...f}=(0,ds.useInnerBlocksProps)({className:"ghostkit-pricing-table-inner"},{template:[[mC],[mC]],allowedBlocks:[mC],orientation:"horizontal",renderAppender:!1});return(0,gs.jsxs)("div",{...p,children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsx)(ds.AlignmentToolbar,{value:c,onChange:e=>n({horizontalAlign:e})})}),(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-top"),title:(0,bs.__)("ItemsVertical Start","ghostkit"),onClick:()=>n({verticalAlign:""}),isActive:""===l}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-center"),title:(0,bs.__)("ItemsVertical Center","ghostkit"),onClick:()=>n({verticalAlign:"center"}),isActive:"center"===l}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-bottom"),title:(0,bs.__)("ItemsVertical End","ghostkit"),onClick:()=>n({verticalAlign:"end"}),isActive:"end"===l})]})}),(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Vertical align","ghostkit"),label:(0,bs.__)("Vertical align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsxs)(us.Toolbar,{label:(0,bs.__)("Vertical align","ghostkit"),children:[(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-top"),title:(0,bs.__)("ItemsVertical Start","ghostkit"),onClick:()=>n({verticalAlign:""}),isActive:""===l}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-center"),title:(0,bs.__)("ItemsVertical Center","ghostkit"),onClick:()=>n({verticalAlign:"center"}),isActive:"center"===l}),(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-vertical-bottom"),title:(0,bs.__)("ItemsVertical End","ghostkit"),onClick:()=>n({verticalAlign:"end"}),isActive:"end"===l})]})})}),(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Horizontal align","ghostkit"),label:(0,bs.__)("Horizontal align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsx)(ds.AlignmentToolbar,{value:c,onChange:e=>n({horizontalAlign:e}),isCollapsed:!1})})})]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(Mm,{gap:s,gapCustom:a,onChange:e=>{n(e)}})})]}),(0,gs.jsxs)("div",{...f,children:[g,h&&r<6?(0,gs.jsx)("div",{className:"ghostkit-pricing-table-add-item",children:(0,gs.jsx)(us.Button,{variant:"secondary",icon:(0,gs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img",focusable:"false",children:(0,gs.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})}),onClick:()=>{d((0,um.createBlock)("ghostkit/pricing-table-item"),void 0,o)},children:(0,bs.__)("Add Pricing Table","ghostkit")})}):null]})]})},save:function(e){const{count:t,gap:n,verticalAlign:o,horizontalAlign:i}=e.attributes;let r=cs()("ghostkit-pricing-table",`ghostkit-pricing-table-gap-${n}`,!!t&&`ghostkit-pricing-table-items-${t}`,!!o&&`ghostkit-pricing-table-align-vertical-${o}`,!!i&&`ghostkit-pricing-table-align-horizontal-${i}`);r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:vC,...e});const s=ds.useBlockProps.save({className:r}),a=ds.useInnerBlocksProps.save({className:"ghostkit-pricing-table-inner"});return(0,Ke.createElement)("div",{...s},(0,Ke.createElement)("div",{...a}))}},wC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/pricing-table-item","parent":["ghostkit/pricing-table"],"category":"ghostkit","title":"Pricing Table Item","description":"A single item within a pricing table block.","supports":{"html":false,"className":false,"anchor":true,"reusable":false},"attributes":{"popularText":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-popular-badge","default":"Popular"},"title":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-title","default":"Standard"},"price":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-price-amount","default":"77"},"priceCurrency":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-price-currency","default":"$"},"priceRepeat":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-price-repeat"},"description":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-description"},"features":{"type":"string","source":"html","selector":".ghostkit-pricing-table-item-features","default":"
  • Feature 1
  • Feature 2
  • "},"showPopular":{"type":"boolean","default":false},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showPriceCurrency":{"type":"boolean","default":true},"showPriceRepeat":{"type":"boolean","default":true},"showDescription":{"type":"boolean","default":false},"showFeatures":{"type":"boolean","default":true},"showButton":{"type":"boolean","default":true}}}'),{name:kC}=wC,{name:_C}=wC,xC={icon:Cr("block-pricing-table",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{popularText:i,title:r,price:s,priceCurrency:a,priceRepeat:l,description:c,features:u,showPopular:h,showTitle:d,showPrice:p,showPriceCurrency:g,showPriceRepeat:f,showDescription:m,showFeatures:v,showButton:b}=t;let y=cs()("ghostkit-pricing-table-item-wrap",h&&"ghostkit-pricing-table-item-popular");y=(0,os.applyFilters)("ghostkit.editor.className",y,e);const w=(0,ds.useBlockProps)({className:y}),k=(0,ds.useInnerBlocksProps)({className:"ghostkit-pricing-table-item-button-wrapper"},{template:[["ghostkit/button",{align:"center"},[["ghostkit/button-single",{text:"Purchase"}]]]],templateLock:"all",allowedBlocks:["ghostkit/button"]});return(0,gs.jsxs)("div",{...w,children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsxs)(us.BaseControl,{__nextHasNoMarginBottom:!0,children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Popular Badge","ghostkit"),checked:!!h,onChange:e=>n({showPopular:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Title","ghostkit"),checked:!!d,onChange:e=>n({showTitle:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Price","ghostkit"),checked:!!p,onChange:e=>n({showPrice:e}),__nextHasNoMarginBottom:!0}),p?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Price Currency","ghostkit"),checked:!!g,onChange:e=>n({showPriceCurrency:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Price Repeat","ghostkit"),checked:!!f,onChange:e=>n({showPriceRepeat:e}),__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Description","ghostkit"),checked:!!m,onChange:e=>n({showDescription:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Features","ghostkit"),checked:!!v,onChange:e=>n({showFeatures:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Button","ghostkit"),checked:!!b,onChange:e=>n({showButton:e}),__nextHasNoMarginBottom:!0})]})})}),(0,gs.jsxs)("div",{className:"ghostkit-pricing-table-item",children:[d?(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"h3",className:"ghostkit-pricing-table-item-title",onChange:e=>n({title:e}),value:r,placeholder:(0,bs.__)("Plan","ghostkit"),withoutInteractiveFormatting:!0}):null,p?(0,gs.jsxs)("div",{className:"ghostkit-pricing-table-item-price",children:[!g||ds.RichText.isEmpty(a)&&!o?null:(0,gs.jsx)("div",{className:"ghostkit-pricing-table-item-price-currency",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({priceCurrency:e}),value:a,placeholder:(0,bs.__)("$","ghostkit"),withoutInteractiveFormatting:!0})}),(0,gs.jsx)("div",{className:"ghostkit-pricing-table-item-price-amount",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({price:e}),value:s,placeholder:"77",withoutInteractiveFormatting:!0})}),!f||ds.RichText.isEmpty(l)&&!o?null:(0,gs.jsx)("div",{className:"ghostkit-pricing-table-item-price-repeat",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({priceRepeat:e}),value:l,placeholder:(0,bs.__)("/mo","ghostkit"),withoutInteractiveFormatting:!0})})]}):null,!m||ds.RichText.isEmpty(c)&&!o?null:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-pricing-table-item-description",onChange:e=>n({description:e}),value:c,placeholder:(0,bs.__)("Description","ghostkit"),withoutInteractiveFormatting:!0}),!v||ds.RichText.isEmpty(u)&&!o?null:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"ul",multiline:"li",className:"ghostkit-pricing-table-item-features",onChange:e=>n({features:e}),value:u,placeholder:(0,bs.__)("Add features","ghostkit")}),b?(0,gs.jsx)("div",{...k}):null,!h||ds.RichText.isEmpty(i)&&!o?null:(0,gs.jsx)("div",{className:"ghostkit-pricing-table-item-popular-badge",children:(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({popularText:e}),value:i,placeholder:(0,bs.__)("Popular","ghostkit"),withoutInteractiveFormatting:!0})})]})]})},save:function(e){const{popularText:t,title:n,price:o,description:i,priceCurrency:r,priceRepeat:s,features:a,showPopular:l,showTitle:c,showPrice:u,showPriceCurrency:h,showPriceRepeat:d,showDescription:p,showFeatures:g,showButton:f}=e.attributes;let m=cs()("ghostkit-pricing-table-item",l&&"ghostkit-pricing-table-item-popular");m=(0,os.applyFilters)("ghostkit.blocks.className",m,{name:kC,...e});const v=ds.useBlockProps.save({className:"ghostkit-pricing-table-item-wrap"}),b=ds.useInnerBlocksProps.save({className:"ghostkit-pricing-table-item-button-wrapper"});return(0,Ke.createElement)("div",{...v},(0,Ke.createElement)("div",{className:m},c&&!ds.RichText.isEmpty(n)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"h3",className:"ghostkit-pricing-table-item-title",value:n}):null,u&&!ds.RichText.isEmpty(o)?(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price"},h&&!ds.RichText.isEmpty(r)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-pricing-table-item-price-currency",value:r}):null,(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-pricing-table-item-price-amount",value:o}),d&&!ds.RichText.isEmpty(s)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-pricing-table-item-price-repeat",value:s}):null):null,p&&!ds.RichText.isEmpty(i)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-pricing-table-item-description",value:i}):null,g&&!ds.RichText.isEmpty(a)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"ul",className:"ghostkit-pricing-table-item-features",value:a}):null,f?(0,Ke.createElement)("div",{...b}):null,l&&!ds.RichText.isEmpty(t)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-pricing-table-item-popular-badge",value:t}):null))}},CC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/progress","category":"ghostkit","title":"Progress","description":"Show the progress of your work, skills or earnings.","keywords":["progress","bar"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"caption":{"type":"string","source":"html","selector":".ghostkit-progress-caption","default":"Progress Caption"},"height":{"type":"number","default":15},"percent":{"type":"number","default":75},"borderRadius":{"type":"number"},"striped":{"type":"boolean","default":true},"animateInViewport":{"type":"boolean","default":false},"showCount":{"type":"boolean","default":false},"countPrefix":{"type":"string","default":""},"countSuffix":{"type":"string","default":"%"},"color":{"type":"string"},"backgroundColor":{"type":"string"},"hoverColor":{"type":"string"},"hoverBackgroundColor":{"type":"string"}}}'),{name:SC}=CC,{name:EC}=CC,AC={icon:Cr("block-progress",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/progress/",customStylesCallback(e){const t={"--gkt-progress__height":void 0,"--gkt-progress__border-radius":void 0,"--gkt-progress__background-color":e.backgroundColor||void 0,"--gkt-progress--bar__width":void 0,"--gkt-progress--bar__background-color":e.color||void 0,"&:hover":{"--gkt-progress--bar__background-color":e.hoverColor||void 0,"--gkt-progress__background-color":e.hoverBackgroundColor||void 0}};return void 0!==e.height&&""!==e.height&&(t["--gkt-progress__height"]=`${e.height}px`),void 0!==e.borderRadius&&""!==e.borderRadius&&(t["--gkt-progress__border-radius"]=`${e.borderRadius}px`),void 0!==e.percent&&""!==e.percent&&(t["--gkt-progress--bar__width"]=`${e.percent}%`),t}},example:{attributes:{ghostkit:{id:"example-progress"},className:"ghostkit-custom-example-progress"}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,toggleSelection:i}=e;let{className:r=""}=e;const{caption:s,height:a,percent:l,borderRadius:c,striped:u,animateInViewport:h,showCount:d,countPrefix:p,countSuffix:g,color:f,backgroundColor:m,hoverColor:v,hoverBackgroundColor:b}=t;r=cs()("ghostkit-progress",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const y=(0,ds.useBlockProps)({className:r});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Height","ghostkit"),value:a||"",onChange:e=>n({height:e}),min:1,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Percent","ghostkit"),value:l||"",onChange:e=>n({percent:e}),min:0,max:100,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,bs.__)("Corner Radius","ghostkit"),value:c,min:0,max:10,onChange:e=>n({borderRadius:e}),allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Count","ghostkit"),checked:!!d,onChange:e=>n({showCount:e}),__nextHasNoMarginBottom:!0}),d?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Count Prefix","ghostkit"),value:p,onChange:e=>n({countPrefix:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Count Suffix","ghostkit"),value:g,onChange:e=>n({countSuffix:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Striped","ghostkit"),checked:!!u,onChange:e=>n({striped:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Animate in viewport","ghostkit"),checked:!!h,onChange:e=>n({animateInViewport:e}),__nextHasNoMarginBottom:!0})]}),(0,gs.jsx)(us.PanelBody,{title:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Colors","ghostkit"),(0,gs.jsx)(hs,{colorValue:f}),(0,gs.jsx)(hs,{colorValue:m})]}),initialOpen:!1,children:(0,gs.jsx)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,bs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,bs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}],children:t=>{const o="hover"===t.name;return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Bar","ghostkit"),value:o?v:f,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0,gradient:!0})}),(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:o?"hoverBackgroundColor":"backgroundColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Background","ghostkit"),value:o?b:m,onChange:e=>n(o?{hoverBackgroundColor:e}:{backgroundColor:e}),alpha:!0,gradient:!0})})]})}})})]}),(0,gs.jsxs)("div",{...y,children:[!ds.RichText.isEmpty(s)||o?(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-progress-caption",placeholder:(0,bs.__)("Write caption…","ghostkit"),value:s,onChange:e=>n({caption:e})}):null,d?(0,gs.jsx)("div",{className:"ghostkit-progress-bar-count",style:{width:`${l}%`},children:(0,gs.jsxs)("div",{children:[p,l,g]})}):null,(0,gs.jsx)(us.ResizableBox,{className:cs()({"is-selected":o}),size:{width:"100%",height:a},minWidth:"0%",maxWidth:"100%",minHeight:"1",enable:{bottom:!0},onResizeStart:()=>{i(!1)},onResizeStop:(e,t,o,r)=>{n({height:parseInt(a+r.height,10)}),i(!0)},children:(0,gs.jsx)("div",{className:cs()({"ghostkit-progress-wrap":!0,"ghostkit-progress-bar-striped":u}),children:(0,gs.jsx)(us.ResizableBox,{className:cs()("ghostkit-progress-bar",{"is-selected":o}),size:{width:`${l}%`},minWidth:"0%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",enable:{right:!0},onResizeStart:()=>{i(!1)},onResizeStop:(e,t,o,r)=>{n({percent:Math.min(100,Math.max(0,l+parseInt(100*r.width/o.parentNode.getBoundingClientRect().width,10)))}),i(!0)}})})})]})]})},save:function(e){const{caption:t,percent:n,striped:o,showCount:i,countPrefix:r,countSuffix:s,animateInViewport:a}=e.attributes;let l="ghostkit-progress";l=(0,os.applyFilters)("ghostkit.blocks.className",l,{name:SC,...e});const c=ds.useBlockProps.save({className:l});return(0,Ke.createElement)("div",{...c},ds.RichText.isEmpty(t)?null:(0,Ke.createElement)("div",{className:"ghostkit-progress-caption"},(0,Ke.createElement)(ds.RichText.Content,{value:t})),i?(0,Ke.createElement)("div",{className:"ghostkit-progress-bar-count",style:{width:`${n}%`}},(0,Ke.createElement)("div",null,(0,Ke.createElement)("span",null,r),(0,Ke.createElement)("span",null,n),(0,Ke.createElement)("span",null,s))):null,(0,Ke.createElement)("div",{className:cs()("ghostkit-progress-wrap",o&&"ghostkit-progress-bar-striped")},(0,Ke.createElement)("div",{className:cs()("ghostkit-progress-bar",a&&"ghostkit-count-up"),role:"progressbar","aria-valuenow":n,"aria-valuemin":"0","aria-valuemax":"100"})))}},TC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/shape-divider","category":"ghostkit","title":"Shape Divider","description":"Decorations for section shapes.","keywords":["shape","svg","spacer"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"align":{"type":"string","default":"full"},"svg":{"type":"string"},"flipVertical":{"type":"boolean","default":false},"flipHorizontal":{"type":"boolean","default":false},"sm_height":{"type":"string","default":""},"sm_width":{"type":"string","default":""},"md_height":{"type":"string","default":""},"md_width":{"type":"string","default":""},"lg_height":{"type":"string","default":""},"lg_width":{"type":"string","default":""},"xl_height":{"type":"string","default":""},"xl_width":{"type":"string","default":""},"height":{"type":"string","default":"150"},"width":{"type":"string","default":"100"},"color":{"type":"string"}}}');function $C(e){const{title:t,children:n}=e,[o,i]=(0,vs.useState)(e.collapsed);return(0,Ke.createElement)("div",{className:cs()("ghostkit-pro-component-note",o&&"ghostkit-pro-component-note-collapsed")},(0,Ke.createElement)("div",{className:"ghostkit-pro-component-note-inner"},t&&(0,Ke.createElement)("h3",null,t),o&&(0,Ke.createElement)(us.Button,{onClick:()=>{i(!o)}},Cr("icon-arrow-right")),!o&&n&&(0,Ke.createElement)("div",null,n)))}$C.Button=function(e){const{children:t}=e;return(0,Ke.createElement)("a",{className:"ghostkit-pro-component-note-button",...e},t)};const{GHOSTKIT:MC}=window,{version:RC}=window.ghostkitVariables,{shapes:jC}=MC;function OC(e){let t={allow_flip_vertical:!0,allow_flip_horizontal:!0},n=!1;return Object.keys(jC).forEach((o=>{const i=jC[o];Object.keys(i.shapes).forEach((o=>{const r=i.shapes[o];r.svg&&r.svg===gt(e)&&!n&&(t=r,n=!0)}))})),t}const{name:LC}=TC,{name:IC}=TC,NC={icon:Cr("block-shape-divider",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/shape-divider/",customStylesCallback(e){const t={"--gkt-shape-divider__color":e.color||void 0,svg:{width:void 0,height:void 0},media_sm:{svg:{width:void 0,height:void 0}},media_md:{svg:{width:void 0,height:void 0}},media_lg:{svg:{width:void 0,height:void 0}},media_xl:{svg:{width:void 0,height:void 0}}};return Object.keys(e).forEach((n=>{if(void 0!==e[n]&&""!==e[n]){let o=n.split("_")[0],i=n.split("_")[1];i||(i=o,o=""),!i||"height"!==i&&"width"!==i||("height"===i&&o?t[`media_${o}`].svg.height=`${e[n]}px`:"height"===i?t.svg.height=`${e[n]}px`:"width"===i&&o?t[`media_${o}`].svg.width=`${e[n]}%`:"width"===i&&(t.svg.width=`${e[n]}%`))}})),t}},example:{attributes:{svg:'',ghostkit:{id:"example-shape-divider"},className:"ghostkit-custom-example-shape-divider"}},edit:function(e){const{attributes:t,setAttributes:n}=e,{svg:o,flipVertical:i,flipHorizontal:r,color:s}=t;let{className:a=""}=e;const{device:l}=Jr();function c(){return(0,gs.jsx)("div",{className:"ghostkit-shape-divider-control-styles",children:Object.keys(jC).map((e=>{const t=jC[e],a=[];return Object.keys(t.shapes).forEach((n=>{const o=t.shapes[n];a.push({label:o.label,value:o.svg,image:(0,gs.jsx)("div",{className:"ghostkit-shape-divider",style:{"--gkt-shape-divider__color":s},dangerouslySetInnerHTML:{__html:o.svg}}),className:`ghostkit-shape-divider-control-styles-item-${e}-${o.name}`})})),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("h3",{children:t.name}),(0,gs.jsx)(np,{value:gt(o),options:a,onChange:e=>{const t=OC(e);n({svg:pt(e),flipVertical:!!t.allow_flip_vertical&&i,flipHorizontal:!!t.allow_flip_horizontal&&r})}}),(0,gs.jsxs)($C,{title:(0,bs.__)("Pro Shapes","ghostkit"),children:[(0,gs.jsx)("p",{children:(0,bs.__)("Additional 30 shapes available in the Ghost Kit Pro plugin only","ghostkit")}),(0,gs.jsx)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/blocks/shape-divider/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_shapes&utm_content=${RC}`,children:(0,bs.__)("Read More","ghostkit")})]})]},e)}))})}(0,vs.useEffect)((()=>{if(!o){const e={};Object.keys(jC).forEach((t=>{const n=jC[t];Object.keys(n.shapes).forEach((t=>{const o=n.shapes[t];o.svg&&!e.svg&&(e.svg=o.svg)}))})),e.ghostkitSpacings={marginTop:"0",marginBottom:"0","!important":!0},n(e)}}),[]);const u=OC(o);a=cs()("ghostkit-shape-divider",{"ghostkit-shape-divider-flip-vertical":u.allow_flip_vertical&&i,"ghostkit-shape-divider-flip-horizontal":u.allow_flip_horizontal&&r},a),a=(0,os.applyFilters)("ghostkit.editor.className",a,e);const h=(0,ds.useBlockProps)({className:a,dangerouslySetInnerHTML:{__html:gt(o)}});let d="height",p="width";return l&&(d=`${l}_${d}`,p=`${l}_${p}`),(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.BlockControls,{children:(0,gs.jsxs)(us.ToolbarGroup,{children:[u.allow_flip_vertical?(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-flip-vertical"),title:(0,bs.__)("Vertical Flip","ghostkit"),onClick:()=>n({flipVertical:!i}),isActive:i}):null,u.allow_flip_horizontal?(0,gs.jsx)(us.ToolbarButton,{icon:Cr("icon-flip-horizontal"),title:(0,bs.__)("Horizontal Flip","ghostkit"),onClick:()=>n({flipHorizontal:!r}),isActive:r}):null,(0,gs.jsx)(us.Dropdown,{renderToggle:({onToggle:e})=>(0,gs.jsx)(us.ToolbarButton,{label:(0,bs.__)("Shapes","ghostkit"),icon:"edit",className:"components-toolbar__control",onClick:e}),renderContent:()=>(0,gs.jsx)("div",{style:{minWidth:260},children:c()})})]})}),(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{title:(0,bs.__)("Style","ghostkit"),children:c()}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Size","ghostkit"),children:[(0,gs.jsx)(rg,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Height","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!t[`${e}_height`]})]}),value:t[d]?parseInt(t[d],10):"",onChange:e=>{n({[d]:`${"number"==typeof e?e:""}`})},min:1,max:700,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(rg,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Width","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>!!t[`${e}_width`]})]}),value:t[p]?parseInt(t[p],10):"",onChange:e=>{n({[p]:`${"number"==typeof e?e:""}`})},min:100,max:400,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(fs,{label:(0,bs.__)("Color","ghostkit"),value:s,onChange:e=>n({color:e}),alpha:!0})})]}),(0,gs.jsx)("div",{...h})]})},save:function(e){const{svg:t,flipVertical:n,flipHorizontal:o}=e.attributes;let i=cs()("ghostkit-shape-divider",{"ghostkit-shape-divider-flip-vertical":n,"ghostkit-shape-divider-flip-horizontal":o});i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:LC,...e});const r=ds.useBlockProps.save({className:i,dangerouslySetInnerHTML:{__html:gt(t)}});return(0,Ke.createElement)("div",{...r})}},PC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/table-of-contents","category":"ghostkit","title":"Table of Contents","description":"Summarize your post with a list of headings. Add HTML anchors to Heading blocks to link them here.","keywords":["table of contents","toc","summary","document outline"],"supports":{"html":false,"className":false,"align":["wide","full"],"multiple":false},"attributes":{"title":{"type":"string","default":"Table of Contents"},"listStyle":{"type":"string","default":"ol-styled"},"allowedHeaders":{"type":"array","default":[2,3,4]}}}');function DC(e,t){let n=[];return t&&t.length&&e.forEach((e=>{"core/heading"===e.name&&t.indexOf(e.attributes.level)>-1&&e?.attributes?.anchor&&n.push({level:e.attributes.level,content:e.attributes?.content?.originalHTML||e.attributes?.content||"",anchor:""}),e.innerBlocks&&e.innerBlocks.length&&(n=[...n,...DC(e.innerBlocks,t)])})),n}const{name:BC}=PC,zC={icon:Cr("block-table-of-contents",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/table-of-contents/"},edit:function(e){const t=(0,vs.useRef)();let{className:n}=e;const{setAttributes:o,attributes:i,isSelected:r}=e,{title:s,allowedHeaders:a,listStyle:l}=i,{headings:c,tocHTML:u}=(0,Ze.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor"),n=DC(t(),a);return{headings:n,tocHTML:e("ghostkit/blocks/table-of-contents").getTOC({headings:n,allowedHeaders:a,listStyle:l})}}));n=cs()("ghostkit-toc",n),n=(0,os.applyFilters)("ghostkit.editor.className",n,e),c&&c.length&&u&&(!t.current||t.current!==u)&&(t.current=u);const h=(0,ds.useBlockProps)({className:n});return(0,gs.jsxs)("div",{...h,children:[(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Allowed Headers","ghostkit"),value:a,options:[{value:1,label:(0,bs.__)("Heading 1","ghostkit")},{value:2,label:(0,bs.__)("Heading 2","ghostkit")},{value:3,label:(0,bs.__)("Heading 3","ghostkit")},{value:4,label:(0,bs.__)("Heading 4","ghostkit")},{value:5,label:(0,bs.__)("Heading 5","ghostkit")},{value:6,label:(0,bs.__)("Heading 6","ghostkit")}],onChange:e=>{o({allowedHeaders:e.map((e=>parseInt(e,10)))})},multiple:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("List Style","ghostkit"),value:l,options:[{value:"ol",label:(0,bs.__)("Numbered List","ghostkit")},{value:"ul",label:(0,bs.__)("Dotted List","ghostkit")},{value:"ol-styled",label:(0,bs.__)("Numbered List Styled","ghostkit")},{value:"ul-styled",label:(0,bs.__)("Dotted List Styled","ghostkit")}],onChange:e=>o({listStyle:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}),c&&c.length?(0,gs.jsxs)(gs.Fragment,{children:[!ds.RichText.isEmpty(s)||r?(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"h5",className:"ghostkit-toc-title",placeholder:(0,bs.__)("Write title…","ghostkit"),format:"string",value:s,onChange:e=>o({title:e})}):null,u?null:(0,gs.jsx)("div",{className:cs()("ghostkit-toc-spinner",!u&&!t.current&&"ghostkit-toc-spinner-relative"),children:(0,gs.jsx)(us.Spinner,{})}),u||t.current?(0,gs.jsx)(us.Disabled,{children:(0,gs.jsx)("div",{className:"ghostkit-toc-list block-library-list",children:(0,gs.jsx)(vs.RawHTML,{children:u||t.current})})}):null]}):(0,gs.jsx)(us.Placeholder,{icon:Cr("block-table-of-contents"),label:(0,bs.__)("Table of Contents","ghostkit"),instructions:(0,bs.__)("Start adding Heading blocks to create a table of contents. Headings with HTML anchors will be linked here.","ghostkit")})]})},save:function(){return null}},FC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/tabs-v2","category":"ghostkit","title":"Tabs","description":"Separate content on the tabs with titles.","keywords":["tabs","tab"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"tabActive":{"type":"string","default":"tab-1"},"trigger":{"type":"string"},"buttonsVerticalAlign":{"type":"boolean","default":false},"buttonsAlign":{"type":"string","default":"start"},"tabsData":{"type":"array","default":[{"slug":"tab-1","title":"Tab 1"},{"slug":"tab-2","title":"Tab 2"}]}},"providesContext":{"ghostkit/tabActive":"tabActive"},"styles":[{"name":"default","label":"Tabs","isDefault":true},{"name":"pills","label":"Pills"},{"name":"radio","label":"Radio Buttons"}]}'),{name:HC}=FC,WC=[{...FC,save:function(e){const{tabActive:t,trigger:n,buttonsVerticalAlign:o,buttonsAlign:i,tabsData:r=[]}=e.attributes;let s=cs()("ghostkit-tabs",o&&"ghostkit-tabs-buttons-vertical",n&&`ghostkit-tabs-buttons-trigger-${n}`);s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:HC,...e});const a=ds.useBlockProps.save({className:s,"data-tab-active":t}),l=ds.useInnerBlocksProps.save({className:"ghostkit-tabs-content"});return(0,Ke.createElement)("div",{...a},(0,Ke.createElement)("div",{className:cs()("ghostkit-tabs-buttons",`ghostkit-tabs-buttons-align-${i}`)},r.map((e=>(0,Ke.createElement)(ds.RichText.Content,{tagName:"a",href:`#${e.slug}`,className:"ghostkit-tabs-buttons-item",key:`tab_button_${e.slug}`,value:e.title})))),(0,Ke.createElement)("div",{...l}))}}];function VC({attributes:e,setAttributes:t}){const{buttonsAlign:n,buttonsVerticalAlign:o}=e,i={start:{icon:Cr("icon-horizontal-start"),label:(0,bs.__)("Buttons Justify Start","ghostkit")},center:{icon:Cr("icon-horizontal-center"),label:(0,bs.__)("Buttons Justify Center","ghostkit")},end:{icon:Cr("icon-horizontal-end"),label:(0,bs.__)("Buttons Justify End","ghostkit")},stretch:{icon:Cr("icon-horizontal-stretch"),label:(0,bs.__)("Buttons Justify Stretch","ghostkit")}};o&&(i.start.icon=Cr("icon-vertical-top"),i.start.label=(0,bs.__)("Buttons Vertical Start","ghostkit"),i.center.icon=Cr("icon-vertical-center"),i.center.label=(0,bs.__)("Buttons Vertical Center","ghostkit"),i.end.icon=Cr("icon-vertical-bottom"),i.end.label=(0,bs.__)("Buttons Vertical End","ghostkit"),i.stretch=void 0);const r=[];Object.entries(i).forEach((e=>{e[1]&&r.push({title:e[1].label,icon:e[1].icon,isActive:n===e[0],onClick:()=>t({buttonsAlign:e[0]})})}));const s=o?(0,bs.__)("Buttons Vertical Align","ghostkit"):(0,bs.__)("Buttons Justify Align","ghostkit");return(0,Ke.createElement)(ds.BlockControls,{group:"block"},(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:i[n].icon,label:s,controls:r})))}function UC({attributes:e,setAttributes:t}){const{trigger:n,buttonsAlign:o,buttonsVerticalAlign:i}=e;return(0,gs.jsx)(ds.InspectorControls,{children:(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Select Tab Trigger","ghostkit"),value:n,options:[{value:"",label:(0,bs.__)("Click","ghostkit")},{value:"hover",label:(0,bs.__)("Hover","ghostkit")}],onChange:e=>{t({trigger:e})},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Vertical Tabs","ghostkit"),checked:!!i,onChange:e=>{t({buttonsVerticalAlign:e}),e&&"stretch"===o&&t({buttonsAlign:"start"})},__nextHasNoMarginBottom:!0})]})})}const{name:GC}=FC,qC={from:[{type:"block",blocks:["ghostkit/accordion"],transform(e,t){const n=[];let o="";return t.forEach((e=>{const t=Ir(`tab-${e.attributes.heading}`,e.clientId);!o&&e.attributes.active&&(o=t),n.push({slug:t,title:e.attributes.heading})})),o||(o=n[0].slug),(0,um.createBlock)("ghostkit/tabs-v2",{tabsData:n,tabActive:o},n.map(((e,n)=>(0,um.createBlock)("ghostkit/tabs-tab-v2",{slug:e.slug},t[n]?t[n].innerBlocks:""))))}}]},{name:KC}=FC,YC={icon:Cr("block-tabs",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/tabs/"},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:i=""}=e;const{tabActive:r,buttonsVerticalAlign:s,buttonsAlign:a,tabsData:l=[]}=t,{getBlocks:c,block:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{getBlock:t,getBlocks:n,isBlockSelected:i,hasSelectedInnerBlock:r}=e("core/block-editor");return{getBlocks:n,block:t(o),isSelectedBlockInRoot:i(o)||r(o,!0)}})),{updateBlockAttributes:d,removeBlock:p,replaceInnerBlocks:g}=(0,Ze.useDispatch)("core/block-editor");i=cs()(i,"ghostkit-tabs",s&&"ghostkit-tabs-buttons-vertical"),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const f=(0,ds.useBlockProps)({className:i}),m=(0,ds.useInnerBlocksProps)({className:"ghostkit-tabs-content"},{template:l.map((e=>["ghostkit/tabs-tab-v2",e])),templateLock:"all",allowedBlocks:["ghostkit/tabs-tab-v2"]});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(VC,{attributes:t,setAttributes:n}),(0,Ke.createElement)(UC,{attributes:t,setAttributes:n}),(0,Ke.createElement)("div",{...f},(0,Ke.createElement)("div",{className:cs()("ghostkit-tabs-buttons",`ghostkit-tabs-buttons-align-${a}`),role:"tablist","aria-orientation":s?"vertical":"horizontal"},l.map(((e,t)=>{const{slug:o,title:i}=e,s=r===o,a=`tab_button_${t}`;return(0,Ke.createElement)("div",{id:`${o}-button`,className:cs()("ghostkit-tabs-buttons-item",s&&"ghostkit-tabs-buttons-item-active"),role:"tab",key:a},(0,Ke.createElement)(ds.RichText,{tagName:"span",placeholder:(0,bs.__)("Tab label","ghostkit"),value:i,onFocus:()=>n({tabActive:o}),onChange:e=>{((e,t)=>{const o=u.innerBlocks;if(o[t]){const i=Ir(`tab ${e}`,o[t].clientId),r=l.map(((n,o)=>t===o?{...n,title:e,slug:i}:n));n({tabActive:i,tabsData:r}),d(o[t].clientId,{slug:i})}})(e,t)},withoutInteractiveFormatting:!0}),(0,Ke.createElement)(sg,{show:h,tooltipText:(0,bs.__)("Remove tab?","ghostkit"),onRemove:()=>{(e=>{if(u.innerBlocks.length<=1)p(u.clientId);else if(u.innerBlocks[e]&&(p(u.innerBlocks[e].clientId),l[e])){const t=[...l];t.splice(e,1);const o=[...c(u.clientId)];o.splice(e,1),g(u.clientId,o,!1),n({tabsData:t})}})(t)}}))})),h?(0,Ke.createElement)(us.Tooltip,{text:(0,bs.__)("Add Tab","ghostkit")},(0,Ke.createElement)(us.Button,{icon:(0,Ke.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img",focusable:"false"},(0,Ke.createElement)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),onClick:()=>{const e=[...l],t=l.length+1;e.push({slug:`tab-${t}`,title:`Tab ${t}`});const i=(0,um.createBlock)("ghostkit/tabs-tab-v2",{slug:`tab-${t}`,title:`Tab ${t}`});let r=c(o);r=[...r,i],g(o,r,!1),n({tabsData:e})}})):null),(0,Ke.createElement)("div",{...m})))},save:function(e){const{tabActive:t,trigger:n,buttonsVerticalAlign:o,buttonsAlign:i,tabsData:r=[]}=e.attributes;let s=cs()("ghostkit-tabs",o&&"ghostkit-tabs-buttons-vertical",n&&`ghostkit-tabs-buttons-trigger-${n}`);s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:GC,...e});const a=ds.useBlockProps.save({className:s}),l=ds.useInnerBlocksProps.save({className:"ghostkit-tabs-content"});return(0,Ke.createElement)("div",{...a},(0,Ke.createElement)("div",{className:cs()("ghostkit-tabs-buttons",`ghostkit-tabs-buttons-align-${i}`),role:"tablist","aria-orientation":o?"vertical":"horizontal"},r.map((e=>(0,Ke.createElement)(ds.RichText.Content,{tagName:"button",id:`${e.slug}-button`,className:cs()("ghostkit-tabs-buttons-item",t===e.slug&&"ghostkit-tabs-buttons-item-active"),type:"button",role:"tab","data-tab":e.slug,"aria-controls":`${e.slug}-content`,"aria-selected":t===e.slug&&"true",key:`tab_button_${e.slug}`,value:e.title})))),(0,Ke.createElement)("div",{...l}))},transforms:qC,deprecated:WC},ZC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/tabs-tab-v2","parent":["ghostkit/tabs-v2"],"category":"ghostkit","title":"Tab","description":"A single tab within a tabs block.","supports":{"html":false,"className":false,"anchor":true,"reusable":false,"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"slug":{"type":"string"},"active":{"type":"boolean"}},"usesContext":["ghostkit/tabActive","ghostkit/buttonsVerticalAlign"]}'),{name:JC}=ZC,XC=[{...ZC,save:function(e){const{slug:t}=e.attributes;let n="ghostkit-tab";n=(0,os.applyFilters)("ghostkit.blocks.className",n,{name:JC,...e});const o=ds.useBlockProps.save({className:n,"data-tab":t}),i=ds.useInnerBlocksProps.save(o);return(0,Ke.createElement)("div",{...i})}}],{name:QC}=ZC,{name:eS}=ZC,tS={icon:Cr("block-tab",!0),edit:function(e){const{clientId:t,attributes:n,setAttributes:o,context:i}=e,{slug:r,active:s,anchor:a}=n,{"ghostkit/tabActive":l}=i;let{className:c=""}=e;(0,vs.useEffect)((()=>{l!==r||s?l!==r&&s&&o({active:!1}):o({active:!0})}),[s,o,r,l]),(0,vs.useEffect)((()=>{a!==`${r}-content`&&o({anchor:`${r}-content`})}),[r,a,o]);const u=(0,Ze.useSelect)((e=>{const n=e("core/block-editor");return!!n&&n.getBlockOrder(t).length>0}),[t]);c=cs()(c,"ghostkit-tab",l===r&&"ghostkit-tab-active"),c=(0,os.applyFilters)("ghostkit.editor.className",c,e);const h=(0,ds.useBlockProps)({className:c,tabIndex:0,role:"tabpanel","aria-labelledby":r,"data-tab":r}),d=(0,ds.useInnerBlocksProps)(h,{renderAppender:u?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,Ke.createElement)("div",{...d})},save:function(e){const{slug:t,active:n}=e.attributes;let o=cs()("ghostkit-tab",n&&"ghostkit-tab-active");o=(0,os.applyFilters)("ghostkit.blocks.className",o,{name:QC,...e});const i=ds.useBlockProps.save({className:o,tabIndex:0,role:"tabpanel","aria-labelledby":`${t}-button`,"data-tab":t}),r=ds.useInnerBlocksProps.save(i);return(0,Ke.createElement)("div",{...r})},deprecated:XC},nS=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/testimonial","category":"ghostkit","title":"Testimonial","description":"Show how your users love your products and what saying.","keywords":["testimonial","blockquote","quote"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"],"spacing":{"blockGap":true,"__experimentalDefaultControls":{"blockGap":true}},"__experimentalLayout":true,"layout":true},"attributes":{"icon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.5954%2010.708C15.7931%205.55696%2021.1071%205%2021.1071%205L21.3565%205.16714C18.945%206.72641%2019.0559%208.98169%2019.0559%208.98169C19.0559%208.98169%2022.1211%209.70495%2022.7979%2012.2673C23.5186%2014.996%2022.2158%2017.2944%2020.4141%2018.3373C18.1801%2019.6305%2015.4248%2018.9499%2014.0389%2017.0008C12.6134%2014.996%2012.8469%2012.4623%2013.5954%2010.708Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M1.59537%2010.708C3.79305%205.55696%209.10709%205%209.10709%205L9.35651%205.16714C6.945%206.72641%207.05592%208.98169%207.05592%208.98169C7.05592%208.98169%2010.1211%209.70495%2010.7979%2012.2673C11.5186%2014.996%2010.2158%2017.2944%208.41413%2018.3373C6.18005%2019.6305%203.42475%2018.9499%202.03887%2017.0008C0.61344%2014.996%200.846929%2012.4623%201.59537%2010.708Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"photoId":{"type":"number"},"photoUrl":{"attribute":"src","selector":".ghostkit-testimonial-photo img","source":"attribute","type":"string"},"photoAlt":{"attribute":"alt","selector":".ghostkit-testimonial-photo img","source":"attribute","type":"string","default":""},"photoWidth":{"type":"number"},"photoHeight":{"type":"number"},"photoSizeSlug":{"type":"string"},"name":{"type":"string","source":"html","selector":".ghostkit-testimonial-name","default":"Katrina Craft"},"source":{"type":"string","source":"html","selector":".ghostkit-testimonial-source","default":"Designer"},"stars":{"type":"number"},"starsIcon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.6724%202.66808C12.5461%202.41207%2012.2853%202.25%2011.9998%202.25C11.7144%202.25%2011.4536%202.41207%2011.3273%202.66808L8.56287%208.26941L2.38143%209.16762C2.09892%209.20868%201.86421%209.40656%201.77599%209.67807C1.68777%209.94958%201.76134%2010.2476%201.96577%2010.4469L6.4387%2014.8069L5.38279%2020.9634C5.33453%2021.2448%205.45019%2021.5291%205.68115%2021.6969C5.91211%2021.8647%206.21831%2021.8869%206.471%2021.754L11.9998%2018.8473L17.5287%2021.754C17.7814%2021.8869%2018.0876%2021.8647%2018.3185%2021.6969C18.5495%2021.5291%2018.6652%2021.2448%2018.6169%2020.9634L17.561%2014.8069L22.0339%2010.4469C22.2383%2010.2476%2022.3119%209.94958%2022.2237%209.67807C22.1355%209.40656%2021.9008%209.20868%2021.6183%209.16762L15.4368%208.26941L12.6724%202.66808Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},"url":{"type":"string"},"ariaLabel":{"type":"string"},"target":{"type":"string"},"rel":{"type":"string"}}}'),{name:oS}=nS,iS=[{...nS,attributes:{icon:{type:"string",default:"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.5954%2010.708C15.7931%205.55696%2021.1071%205%2021.1071%205L21.3565%205.16714C18.945%206.72641%2019.0559%208.98169%2019.0559%208.98169C19.0559%208.98169%2022.1211%209.70495%2022.7979%2012.2673C23.5186%2014.996%2022.2158%2017.2944%2020.4141%2018.3373C18.1801%2019.6305%2015.4248%2018.9499%2014.0389%2017.0008C12.6134%2014.996%2012.8469%2012.4623%2013.5954%2010.708Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M1.59537%2010.708C3.79305%205.55696%209.10709%205%209.10709%205L9.35651%205.16714C6.945%206.72641%207.05592%208.98169%207.05592%208.98169C7.05592%208.98169%2010.1211%209.70495%2010.7979%2012.2673C11.5186%2014.996%2010.2158%2017.2944%208.41413%2018.3373C6.18005%2019.6305%203.42475%2018.9499%202.03887%2017.0008C0.61344%2014.996%200.846929%2012.4623%201.59537%2010.708Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},photoId:{type:"number"},photoUrl:{attribute:"src",selector:".ghostkit-testimonial-photo img",source:"attribute",type:"string"},photoAlt:{attribute:"alt",selector:".ghostkit-testimonial-photo img",source:"attribute",type:"string",default:""},photoWidth:{type:"number"},photoHeight:{type:"number"},photoSizeSlug:{type:"string"},name:{type:"string",source:"html",selector:".ghostkit-testimonial-name",default:"Katrina Craft"},source:{type:"string",source:"html",selector:".ghostkit-testimonial-source",default:"Designer"},stars:{type:"number"},starsIcon:{type:"string",default:"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.6724%202.66808C12.5461%202.41207%2012.2853%202.25%2011.9998%202.25C11.7144%202.25%2011.4536%202.41207%2011.3273%202.66808L8.56287%208.26941L2.38143%209.16762C2.09892%209.20868%201.86421%209.40656%201.77599%209.67807C1.68777%209.94958%201.76134%2010.2476%201.96577%2010.4469L6.4387%2014.8069L5.38279%2020.9634C5.33453%2021.2448%205.45019%2021.5291%205.68115%2021.6969C5.91211%2021.8647%206.21831%2021.8869%206.471%2021.754L11.9998%2018.8473L17.5287%2021.754C17.7814%2021.8869%2018.0876%2021.8647%2018.3185%2021.6969C18.5495%2021.5291%2018.6652%2021.2448%2018.6169%2020.9634L17.561%2014.8069L22.0339%2010.4469C22.2383%2010.2476%2022.3119%209.94958%2022.2237%209.67807C22.1355%209.40656%2021.9008%209.20868%2021.6183%209.16762L15.4368%208.26941L12.6724%202.66808Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"},url:{type:"string"},target:{type:"string"},rel:{type:"string"}},save:class extends vs.Component{render(){const{attributes:e}=this.props,{photoId:t,photoUrl:n,photoAlt:o,photoWidth:i,photoHeight:r,icon:s,source:a,stars:l,starsIcon:c,url:u,target:h,rel:d}=e;let p=cs()("ghostkit-testimonial",u&&"ghostkit-testimonial-with-link");return p=(0,os.applyFilters)("ghostkit.blocks.className",p,{name:oS,...this.props}),(0,Ke.createElement)("div",{className:p},u?(0,Ke.createElement)("a",{className:"ghostkit-testimonial-link",href:u,target:h||!1,rel:d||!1},(0,Ke.createElement)("span",null)):null,s?(0,Ke.createElement)(tp.Render,{name:s,tag:"div",className:"ghostkit-testimonial-icon"}):null,(0,Ke.createElement)("div",{className:"ghostkit-testimonial-content"},(0,Ke.createElement)(ds.InnerBlocks.Content,null)),n?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-photo"},(0,Ke.createElement)("img",{src:n,alt:o,className:t?`wp-image-${t}`:null,width:i,height:r})):null,ds.RichText.isEmpty(e.name)&&ds.RichText.isEmpty(a)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-meta"},ds.RichText.isEmpty(e.name)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-name"},(0,Ke.createElement)(ds.RichText.Content,{value:e.name})),ds.RichText.isEmpty(a)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-source"},(0,Ke.createElement)(ds.RichText.Content,{value:a}))),"number"==typeof l&&c?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars"},(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-wrap"},(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-front",style:{width:100*l/5+"%"}},(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c}),(0,Ke.createElement)(tp.Render,{name:c})))):null)}}}],rS="thumbnail",{name:sS}=nS,aS=window.wp.richText,lS={from:[{type:"block",blocks:["core/quote","core/pullquote"],transform(e){const t=(0,aS.split)((0,aS.create)({html:e.value,multilineTag:"p"}),aS.__UNSTABLE_LINE_SEPARATOR);return(0,um.createBlock)("ghostkit/testimonial",{source:e.citation||""},t.map((e=>(0,um.createBlock)("core/paragraph",{content:(0,aS.toHTMLString)({value:e})}))))}}]},{name:cS}=nS,uS={icon:Cr("block-testimonial",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/testimonial/"},example:{attributes:{photo:1,photoUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}}]},edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e;let{className:r=""}=e;const{icon:s,source:a,photoId:l,photoUrl:c,photoAlt:u,photoWidth:h,photoHeight:d,photoSizeSlug:p,stars:g,starsIcon:f,url:m,ariaLabel:v,target:b,rel:y}=t,{hasChildBlocks:w,editorSettings:k,photoImage:_}=(0,Ze.useSelect)((e=>{const n=e("core/block-editor"),{getMedia:r}=e("core");return{hasChildBlocks:!!n&&n.getBlockOrder(i).length>0,editorSettings:n.getSettings(),photoImage:t.photoId&&o?r(t.photoId):null}})),x=(e,o=!1)=>{o=o||t.photoSizeSlug||rS;const i={photoId:e.id,photoUrl:e.url||e.source_url,photoAlt:e.alt||e.alt_text,photoWidth:e.width||(e.media_details&&e.media_details.width?e.media_details.width:void 0),photoHeight:e.height||(e.media_details&&e.media_details.height?e.media_details.height:void 0),photoSizeSlug:o};let r=e.sizes&&e.sizes[o];!r&&e.media_details&&e.media_details.sizes&&e.media_details.sizes[o]&&(r=e.media_details.sizes[o]),r&&(r.url&&(i.photoUrl=r.url),r.source_url&&(i.photoUrl=r.source_url),r.width&&(i.photoWidth=r.width),r.height&&(i.photoHeight=r.height)),n(i)};r=cs()("ghostkit-testimonial",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const C=(0,ds.useBlockProps)({className:r}),S=(0,ds.useInnerBlocksProps)({},{renderAppender:w?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Photo","ghostkit"),children:[l?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{x(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select Image","ghostkit")})}),l?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{x(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,gs.jsx)(us.BaseControl,{help:(0,bs.__)("Click the image to edit or update","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:c,alt:u,width:h,height:d})})})}),(0,gs.jsx)("div",{style:{marginTop:-20}}),(0,gs.jsx)(us.Button,{isLink:!0,onClick:e=>{n({photoId:"",photoUrl:"",photoAlt:"",photoWidth:"",photoHeight:""}),e.preventDefault()},className:"button button-secondary",children:(0,bs.__)("Remove Image","ghostkit")}),(0,gs.jsx)("div",{style:{marginBottom:13}}),k&&k.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:p||rS,onChange:e=>{x(_,e)},options:k.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:u,onChange:e=>n({photoAlt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0})]}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Stars","ghostkit"),children:[(0,gs.jsx)(rg,{value:g,min:0,max:5,step:.5,beforeIcon:"star-filled",allowReset:!0,onChange:e=>n({stars:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"number"==typeof g?(0,gs.jsx)(tp,{label:(0,bs.__)("Icon","ghostkit"),value:f,onChange:e=>n({starsIcon:e}),insideInspector:!0}):null]})]}),(0,gs.jsx)(Pg,{url:m,rel:y,ariaLabel:v,target:b,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),(0,gs.jsxs)("div",{...C,children:[s?(0,gs.jsx)("div",{className:"ghostkit-testimonial-icon",children:(0,gs.jsx)(tp.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,gs.jsx)(tp.Preview,{onClick:e,name:s})})}):null,(0,gs.jsx)("div",{className:"ghostkit-testimonial-content",children:(0,gs.jsx)("div",{...S})}),(0,gs.jsxs)("div",{className:"ghostkit-testimonial-photo",children:[l?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{x(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,children:(0,gs.jsx)("span",{className:"dashicons dashicons-format-image"})})}),l?(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{x(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:c,alt:u,width:h,height:d})})}):null]}),(0,gs.jsxs)("div",{className:"ghostkit-testimonial-meta",children:[(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-testimonial-name",placeholder:(0,bs.__)("Write name…","ghostkit"),value:t.name,onChange:e=>n({name:e})}),(0,gs.jsx)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-testimonial-source",placeholder:(0,bs.__)("Write source…","ghostkit"),value:a,onChange:e=>n({source:e})})]}),"number"==typeof g&&f?(0,gs.jsx)("div",{className:"ghostkit-testimonial-stars",children:(0,gs.jsxs)("div",{className:"ghostkit-testimonial-stars-wrap",children:[(0,gs.jsxs)("div",{className:"ghostkit-testimonial-stars-front",style:{width:100*g/5+"%"},children:[(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f})]}),(0,gs.jsxs)("div",{className:"ghostkit-testimonial-stars-back",children:[(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f}),(0,gs.jsx)(tp.Preview,{name:f})]})]})}):null]})]})},save:function(e){const{attributes:t}=e,{photoId:n,photoUrl:o,photoAlt:i,photoWidth:r,photoHeight:s,icon:a,source:l,stars:c,starsIcon:u,url:h,ariaLabel:d,target:p,rel:g}=t;let f=cs()("ghostkit-testimonial",h&&"ghostkit-testimonial-with-link");f=(0,os.applyFilters)("ghostkit.blocks.className",f,{name:sS,...e});const m=ds.useBlockProps.save({className:f}),v=ds.useInnerBlocksProps.save({className:"ghostkit-testimonial-content"});return(0,Ke.createElement)("div",{...m},h?(0,Ke.createElement)("a",{className:"ghostkit-testimonial-link",href:h,target:p||null,rel:g||null,"aria-label":d||null},(0,Ke.createElement)("span",null)):null,a?(0,Ke.createElement)(tp.Render,{name:a,tag:"div",className:"ghostkit-testimonial-icon"}):null,(0,Ke.createElement)("div",{...v}),o?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-photo"},(0,Ke.createElement)("img",{src:o,alt:i,className:n?`wp-image-${n}`:null,width:r,height:s})):null,ds.RichText.isEmpty(t.name)&&ds.RichText.isEmpty(l)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-meta"},ds.RichText.isEmpty(t.name)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-name"},(0,Ke.createElement)(ds.RichText.Content,{value:t.name})),ds.RichText.isEmpty(l)?null:(0,Ke.createElement)("div",{className:"ghostkit-testimonial-source"},(0,Ke.createElement)(ds.RichText.Content,{value:l}))),"number"==typeof c&&u?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars"},(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-wrap"},(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-front",style:{width:100*c/5+"%"}},(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u}),(0,Ke.createElement)(tp.Render,{name:u})))):null)},transforms:lS,deprecated:iS},hS=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/twitter","category":"ghostkit","title":"Twitter","description":"Show Twitter feed and user data.","keywords":["twitter"],"supports":{"inserter":false,"html":false,"className":false,"align":["wide","full"]},"attributes":{"consumerKey":{"type":"string"},"consumerSecret":{"type":"string"},"accessToken":{"type":"string"},"accessTokenSecret":{"type":"string"},"userName":{"type":"string","default":"nkdevv"},"count":{"type":"number","default":3},"showReplies":{"type":"boolean","default":false},"showRetweets":{"type":"boolean","default":true},"showFeedAvatar":{"type":"boolean","default":true},"feedAvatarSize":{"type":"number","default":48},"showFeedName":{"type":"boolean","default":true},"showFeedDate":{"type":"boolean","default":true},"feedTextMode":{"type":"string"},"feedTextConvertLinks":{"type":"string","default":"links_media"},"showFeedActions":{"type":"boolean","default":true},"showProfile":{"type":"boolean","default":true},"showProfileAvatar":{"type":"boolean","default":true},"profileAvatarSize":{"type":"number","default":70},"showProfileName":{"type":"boolean","default":true},"showProfileStats":{"type":"boolean","default":true},"showProfileDescription":{"type":"boolean","default":true},"showProfileWebsite":{"type":"boolean","default":true},"showProfileLocation":{"type":"boolean","default":true}}}'),{name:dS}=hS,pS={icon:Cr("block-twitter",!0),ghostkit:{},edit:function e(t){const{setAttributes:n,attributes:o}=t;let{className:i}=t;const{consumerKey:r,consumerSecret:s,accessToken:a,accessTokenSecret:l,userName:c,count:u,showReplies:h,showRetweets:d,showFeedAvatar:p,feedAvatarSize:g,showFeedName:f,showFeedDate:m,feedTextMode:v,feedTextConvertLinks:b,showFeedActions:y,showProfile:w,showProfileAvatar:k,profileAvatarSize:_,showProfileName:x,showProfileStats:C,showProfileDescription:S,showProfileWebsite:E,showProfileLocation:A}=o,{twitterFeed:T,twitterProfile:$}=(0,Ze.useSelect)((e=>{if(!(r&&s&&a&&l&&c))return!1;const t={consumer_key:r,consumer_secret:s,access_token:a,access_token_secret:l,screen_name:c};return{twitterFeed:e("ghostkit/blocks/twitter").getTwitterFeed({count:u,exclude_replies:h?"false":"true",include_rts:d?"true":"false",tweet_mode_extended:"full"===v?"true":"false",...t}),twitterProfile:e("ghostkit/blocks/twitter").getTwitterProfile(t)}}))(e);i=cs()("ghostkit-twitter",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,t);const M=r&&s&&a&&l&&c;return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsxs)(ds.InspectorControls,{children:[M?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.PanelBody,{children:(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Username","ghostkit"),value:c,onChange:e=>n({userName:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Feed","ghostkit"),children:[(0,gs.jsx)(rg,{label:(0,bs.__)("Tweets Number","ghostkit"),value:u,onChange:e=>n({count:e}),min:1,max:20,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Replies","ghostkit"),checked:!!h,onChange:e=>n({showReplies:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Retweets","ghostkit"),checked:!!d,onChange:e=>n({showRetweets:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Avatar","ghostkit"),checked:!!p,onChange:e=>n({showFeedAvatar:e}),__nextHasNoMarginBottom:!0}),p?(0,gs.jsx)(rg,{label:(0,bs.__)("Avatar Size","ghostkit"),value:g,onChange:e=>n({feedAvatarSize:e}),min:10,max:100,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Name","ghostkit"),checked:!!f,onChange:e=>n({showFeedName:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Date","ghostkit"),checked:!!m,onChange:e=>n({showFeedDate:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Actions","ghostkit"),checked:!!y,onChange:e=>n({showFeedActions:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Text Mode","ghostkit"),value:v,options:[{value:"",label:(0,bs.__)("Short","ghostkit")},{value:"full",label:(0,bs.__)("Full","ghostkit")}],onChange:e=>n({feedTextMode:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Convert Text Links","ghostkit"),value:b,options:[{value:"links_media",label:(0,bs.__)("Links + Media","ghostkit")},{value:"links",label:(0,bs.__)("Links","ghostkit")},{value:"no",label:(0,bs.__)("No Convert","ghostkit")}],onChange:e=>n({feedTextConvertLinks:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Profile","ghostkit"),children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Profile","ghostkit"),checked:!!w,onChange:e=>n({showProfile:e}),__nextHasNoMarginBottom:!0}),w?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Avatar","ghostkit"),checked:!!k,onChange:e=>n({showProfileAvatar:e}),__nextHasNoMarginBottom:!0}),k?(0,gs.jsx)(rg,{label:(0,bs.__)("Avatar Size","ghostkit"),value:_,onChange:e=>n({profileAvatarSize:e}),min:30,max:150,allowCustomMin:!0,allowCustomMax:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Name","ghostkit"),checked:!!x,onChange:e=>n({showProfileName:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Stats","ghostkit"),checked:!!C,onChange:e=>n({showProfileStats:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Description","ghostkit"),checked:!!S,onChange:e=>n({showProfileDescription:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Website","ghostkit"),checked:!!E,onChange:e=>n({showProfileWebsite:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Show Location","ghostkit"),checked:!!A,onChange:e=>n({showProfileLocation:e}),__nextHasNoMarginBottom:!0})]}):null]})]}):null,(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("API Data","ghostkit"),initialOpen:!M,children:[(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Consumer Key","ghostkit"),value:r,onChange:e=>n({consumerKey:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Consumer Secret","ghostkit"),value:s,onChange:e=>n({consumerSecret:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Access Token","ghostkit"),value:a,onChange:e=>n({accessToken:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.TextControl,{placeholder:(0,bs.__)("Access Token Secret","ghostkit"),value:l,onChange:e=>n({accessTokenSecret:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("p",{children:(0,gs.jsxs)("em",{children:[(0,bs.__)("A valid API data is required to use Twitter feed. How to get it","ghostkit")," ",(0,gs.jsx)(us.ExternalLink,{href:"http://www.gabfirethemes.com/create-twitter-api-key/",children:"http://www.gabfirethemes.com/create-twitter-api-key/"})]})})]})]}),(0,gs.jsxs)("div",{className:i,children:[M&&w&&$?(0,gs.jsxs)("div",{className:"ghostkit-twitter-profile",children:[k&&$.profile_images_https?(0,gs.jsx)("div",{className:"ghostkit-twitter-profile-avatar",children:(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`,children:(0,gs.jsx)("img",{src:$.profile_images_https.original,alt:$.fullName,width:_,height:_})})}):null,(0,gs.jsxs)("div",{className:"ghostkit-twitter-profile-side",children:[x&&$.name?(0,gs.jsxs)("div",{className:"ghostkit-twitter-profile-name",children:[(0,gs.jsxs)("h2",{className:"ghostkit-twitter-profile-fullname",children:[(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`,children:$.name}),$.verified?(0,gs.jsx)("span",{className:"ghostkit-twitter-profile-verified",children:(0,bs.__)("Verified account","ghostkit")}):null]}),(0,gs.jsx)("h3",{className:"ghostkit-twitter-profile-username",children:(0,gs.jsxs)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`,children:["@",$.screen_name]})})]}):null,C?(0,gs.jsxs)("div",{className:"ghostkit-twitter-profile-stats",children:[(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:$.statuses_count_short})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Tweets","ghostkit")})]}),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:$.friends_count_short})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Following","ghostkit")})]}),(0,gs.jsxs)("div",{children:[(0,gs.jsx)("strong",{children:$.followers_count_short})," ",(0,gs.jsx)("span",{children:(0,bs.__)("Followers","ghostkit")})]})]}):null,S&&$.description_entitled?(0,gs.jsx)("div",{className:"ghostkit-twitter-profile-description",dangerouslySetInnerHTML:{__html:$.description_entitled}}):null,E&&$.url_entitled?(0,gs.jsx)("div",{className:"ghostkit-twitter-profile-website",dangerouslySetInnerHTML:{__html:` ${$.url_entitled}`}}):null,A&&$.location?(0,gs.jsx)("div",{className:"ghostkit-twitter-profile-location",dangerouslySetInnerHTML:{__html:` ${$.location}`}}):null]})]}):null,M&&T?(0,gs.jsx)("div",{className:"ghostkit-twitter-items",children:T.map(((e,t)=>{const n=e;let o=!1;e.retweeted_status&&(e=e.retweeted_status,o=!0);const i=`twitter-item-${t}`;return(0,gs.jsxs)("div",{className:"ghostkit-twitter-item",children:[p?(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-avatar",children:[o&&(0,gs.jsx)("br",{}),(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/`,children:(0,gs.jsx)("img",{src:e.user.profile_images_https.bigger,alt:e.user.screen_name,width:g,height:g})})]}):null,(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-content",children:[o?(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-retweeted",children:[(0,gs.jsx)("span",{className:"ghostkit-twitter-item-retweeted-icon",dangerouslySetInnerHTML:{__html:''}}),(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${n.user.screen_name}/`,children:(0,gs.jsx)("strong",{children:n.user.name})}),(0,bs.__)("Retweeted","ghostkit")]}):null,f||m?(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-meta",children:[f?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-meta-name",children:(0,gs.jsxs)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/`,children:[(0,gs.jsx)("strong",{children:e.user.name})," ",e.user.verified?(0,gs.jsx)("span",{className:"ghostkit-twitter-item-meta-name-verified",children:(0,bs.__)("Verified account","ghostkit")}):null," ",(0,gs.jsxs)("span",{children:["@",e.user.screen_name]})]})}):null,m?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-meta-date",children:(0,gs.jsx)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`,children:e.date_formatted})}):null]}):null,"links_media"===b?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text_entitled}}):null,"links"===b?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text_entitled_no_media}}):null,"links_media"!==b&&"links"!==b?(0,gs.jsx)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text}}):null,y?(0,gs.jsxs)("div",{className:"ghostkit-twitter-item-actions",children:[(0,gs.jsx)("div",{className:"ghostkit-twitter-item-actions-retweet",children:(0,gs.jsx)("a",{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`,target:"_blank",rel:"noopener noreferrer",dangerouslySetInnerHTML:{__html:''+(e.retweet_count_short?`${e.retweet_count_short}`:"")}})}),(0,gs.jsx)("div",{className:"ghostkit-twitter-item-actions-like",children:(0,gs.jsxs)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`,children:[(0,gs.jsx)("svg",{className:"ghostkit-svg-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M7.25 5C5.41421 5 3.5 6.66421 3.5 9C3.5 11.7695 5.57359 14.3251 7.86118 16.2727C8.98201 17.2269 10.1066 17.9947 10.9527 18.5245C11.375 18.7889 11.726 18.9928 11.9699 19.1298C11.9801 19.1356 11.9901 19.1412 12 19.1467C12.0098 19.1412 12.0199 19.1356 12.0301 19.1298C12.274 18.9928 12.625 18.7889 13.0473 18.5245C13.8934 17.9947 15.018 17.2269 16.1388 16.2727C18.4264 14.3251 20.5 11.7695 20.5 9C20.5 6.66421 18.5858 5 16.75 5C14.8879 5 13.3816 6.22683 12.7115 8.23717C12.6094 8.54343 12.3228 8.75 12 8.75C11.6772 8.75 11.3906 8.54343 11.2885 8.23717C10.6184 6.22683 9.11212 5 7.25 5ZM12 20C11.6574 20.6672 11.6572 20.6671 11.6569 20.6669L11.6479 20.6623L11.6251 20.6504C11.6057 20.6402 11.5777 20.6254 11.5418 20.6062C11.4699 20.5676 11.3662 20.5112 11.2352 20.4376C10.9732 20.2904 10.6016 20.0744 10.1567 19.7958C9.26844 19.2397 8.08049 18.4294 6.88882 17.4148C4.5514 15.4249 2 12.4805 2 9C2 5.83579 4.58579 3.5 7.25 3.5C9.30732 3.5 10.9728 4.57857 12 6.23441C13.0272 4.57857 14.6927 3.5 16.75 3.5C19.4142 3.5 22 5.83579 22 9C22 12.4805 19.4486 15.4249 17.1112 17.4148C15.9195 18.4294 14.7316 19.2397 13.8433 19.7958C13.3984 20.0744 13.0268 20.2904 12.7648 20.4376C12.6338 20.5112 12.5301 20.5676 12.4582 20.6062C12.4223 20.6254 12.3943 20.6402 12.3749 20.6504L12.3521 20.6623L12.3431 20.6669C12.3428 20.6671 12.3426 20.6672 12 20ZM12 20L12.3426 20.6672C12.1276 20.7776 11.8724 20.7776 11.6574 20.6672L12 20Z",fill:"currentColor"})}),e.favorite_count_short?(0,gs.jsx)("span",{children:e.favorite_count_short}):null]})})]}):null]})]},i)}))}):null,M&&!T?(0,gs.jsx)("div",{className:"ghostkit-twitter-spinner",children:(0,gs.jsx)(us.Spinner,{})}):null,M?null:(0,gs.jsx)(us.Placeholder,{icon:Cr("block-twitter"),label:(0,bs.__)("Twitter","ghostkit"),instructions:(0,bs.__)("A valid API data is required to use Twitter feed. You can fill it in the block settings in Inspector.","ghostkit"),className:i})]})]})},save:function(){return null}},gS=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/video","category":"ghostkit","title":"Video","description":"Plain and Fullscreen YouTube, Vimeo and Self-Hosted videos.","keywords":["video","youtube","vimeo"],"supports":{"html":false,"className":false,"anchor":true,"align":["wide","full"]},"attributes":{"type":{"type":"string","default":"yt_vm_video"},"video":{"type":"string","default":""},"videoPosterPreview":{"type":"string","default":""},"videoMp4":{"type":"string","default":""},"videoMp4Id":{"type":"number"},"videoOgv":{"type":"string","default":""},"videoOgvId":{"type":"number"},"videoWebm":{"type":"string","default":""},"videoWebmId":{"type":"number"},"videoAspectRatio":{"type":"string","default":"16:9"},"videoVolume":{"type":"number","default":100},"videoAutoplay":{"type":"boolean","default":false},"videoAutopause":{"type":"boolean","default":false},"videoLoop":{"type":"boolean","default":false},"videoBackgroundColor":{"type":"string","default":"#010101"},"videoBackgroundGradient":{"type":"string"},"iconPlay":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%204.83167C5%204.0405%205.87525%203.56266%206.54076%203.99049L17.6915%2011.1588C18.3038%2011.5525%2018.3038%2012.4475%2017.6915%2012.8412L6.54076%2020.0095C5.87525%2020.4373%205%2019.9595%205%2019.1683V4.83167Z%22%20fill%3D%22currentColor%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"},"iconLoading":{"type":"string","default":"%3Cspan%20class%3D%22ghostkit-svg-icon%20ghostkit-icon-spinner%22%3E%3C%2Fspan%3E"},"posterId":{"type":"number","default":""},"posterUrl":{"attribute":"src","selector":".ghostkit-video-poster img","source":"attribute","type":"string"},"posterAlt":{"attribute":"alt","selector":".ghostkit-video-poster img","source":"attribute","type":"string","default":""},"posterWidth":{"type":"number"},"posterHeight":{"type":"number"},"posterSizeSlug":{"type":"string"},"clickAction":{"type":"string","default":"plain"},"fullscreenVideoBackgroundColor":{"type":"string"},"fullscreenVideoBackgroundGradient":{"type":"string"},"fullscreenBackgroundColor":{"type":"string"},"fullscreenBackgroundGradient":{"type":"string"},"fullscreenActionCloseIcon":{"type":"string","default":"%3Csvg%20class%3D%22ghostkit-svg-icon%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.21967%206.21967C6.51256%205.92678%206.98744%205.92678%207.28033%206.21967L12%2010.9393L16.7197%206.21967C17.0126%205.92678%2017.4874%205.92678%2017.7803%206.21967C18.0732%206.51256%2018.0732%206.98744%2017.7803%207.28033L13.0607%2012L17.7803%2016.7197C18.0732%2017.0126%2018.0732%2017.4874%2017.7803%2017.7803C17.4874%2018.0732%2017.0126%2018.0732%2016.7197%2017.7803L12%2013.0607L7.28033%2017.7803C6.98744%2018.0732%206.51256%2018.0732%206.21967%2017.7803C5.92678%2017.4874%205.92678%2017.0126%206.21967%2016.7197L10.9393%2012L6.21967%207.28033C5.92678%206.98744%205.92678%206.51256%206.21967%206.21967Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"}}}');function fS(e){const{attributes:t,setAttributes:n,clientId:o}=e,{type:i,clickAction:r,videoBackgroundColor:s,videoBackgroundGradient:a,fullscreenVideoBackgroundColor:l,fullscreenVideoBackgroundGradient:c,fullscreenBackgroundColor:u,fullscreenBackgroundGradient:h,className:d}=t,p=(0,ds.__experimentalUseMultipleOriginColorsAndGradients)(),g=p.hasColorsOrGradients,f=lt(d,"is-style-icon-only"),m="video"===i&&"plain"===r&&!f,v="video"===i&&"fullscreen"===r,b="fullscreen"===r;return g&&m||g&&v||g&&"yt_vm_video"===i&&b?(0,Ke.createElement)(ds.InspectorControls,{group:"color"},m&&(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:s,gradientValue:a,label:(0,bs.__)("Video Background","ghostkit"),onColorChange:e=>{n({videoBackgroundColor:e})},onGradientChange:e=>{n({videoBackgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({videoBackgroundColor:void 0,videoBackgroundGradient:void 0})}],panelId:o,...p}),v&&(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:l,gradientValue:c,label:(0,bs.__)("Video Fullscreen Background","ghostkit"),onColorChange:e=>{n({fullscreenVideoBackgroundColor:e})},onGradientChange:e=>{n({fullscreenVideoBackgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({fullscreenVideoBackgroundColor:void 0,fullscreenVideoBackgroundGradient:void 0})}],panelId:o,...p}),b&&(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:u,gradientValue:h,label:(0,bs.__)("Fullscreen Background","ghostkit"),onColorChange:e=>{n({fullscreenBackgroundColor:e})},onGradientChange:e=>{n({fullscreenBackgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({fullscreenBackgroundColor:void 0})}],panelId:o,...p})):null}function mS({nameAttributes:e,setAttributes:t,children:n=(0,bs.__)("Clear Media","ghostkit")}){return(0,Ke.createElement)(us.PanelRow,null,(0,Ke.createElement)(us.Button,{variant:"secondary",size:"small",onClick:n=>{const o={};e.forEach((e=>{o[e]=""})),t(o),n.preventDefault()},className:"is-small",style:{marginLeft:"auto"}},n))}const vS="full";function bS(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{type:i,video:r,videoMp4:s,videoOgv:a,videoWebm:l,videoAspectRatio:c,videoVolume:u,videoAutoplay:h,videoAutopause:d,videoLoop:p,videoBackgroundColor:g,iconPlay:f,iconLoading:m,posterId:v,posterUrl:b,posterAlt:y,posterWidth:w,posterHeight:k,posterSizeSlug:_,clickAction:x,fullscreenBackgroundColor:C,fullscreenActionCloseIcon:S,className:E}=t,{editorSettings:A,posterImage:T}=(0,Ze.useSelect)((e=>{const{getSettings:t}=e("core/block-editor"),{getMedia:n}=e("core");return{editorSettings:t(),posterImage:v&&o?n(v):null}}));function $(e,t=!1){t=t||_||vS;const o={posterId:e.id,posterUrl:e.url||e.source_url,posterAlt:e.alt||e.alt_text,posterWidth:e.width||(e.media_details&&e.media_details.width?e.media_details.width:void 0),posterHeight:e.height||(e.media_details&&e.media_details.height?e.media_details.height:void 0),posterSizeSlug:t};let i=e.sizes&&e.sizes[t];!i&&e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]&&(i=e.media_details.sizes[t]),i&&(i.url&&(o.posterUrl=i.url),i.source_url&&(o.posterUrl=i.source_url),i.width&&(o.posterWidth=i.width),i.height&&(o.posterHeight=i.height)),n(o)}let M="center";lt(E,"ghostkit-video-style-icon-only-align-left")?M="left":lt(E,"ghostkit-video-style-icon-only-align-right")&&(M="right");const R=(e,t)=>{n({[t[0]]:"",[t[1]]:""}),wp.media.attachment(e.id).fetch().then((({url:e,id:o})=>{n({[t[0]]:e,[t[1]]:o})}))};return(0,gs.jsxs)(ds.InspectorControls,{children:[(0,gs.jsxs)(us.PanelBody,{children:[(0,gs.jsx)(lg,{value:i,options:[{label:(0,bs.__)("YouTube / Vimeo","ghostkit"),value:"yt_vm_video"},{label:(0,bs.__)("Self Hosted","ghostkit"),value:"video"}],onChange:e=>n({type:e}),isBlock:!0}),"yt_vm_video"===i&&(0,gs.jsx)(us.TextControl,{label:(0,bs.__)("Video URL","ghostkit"),type:"url",value:r,onChange:e=>n({video:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"video"===i&&(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Select Video","ghostkit"),label:(0,bs.__)("Select Video","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)("div",{style:{display:"flex",gap:"10px"},children:[!s&&(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{R(e,["videoMp4","videoMp4Id"])},allowedTypes:["video/mp4","video/m4v"],value:s,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("MP4","ghostkit")})}),!a&&(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{R(e,["videoOgv","videoOgvId"])},allowedTypes:["video/ogg","video/ogv"],value:a,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("OGV","ghostkit")})}),!l&&(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{R(e,["videoWebm","videoWebmId"])},allowedTypes:["video/webm"],value:l,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("WEBM","ghostkit")})})]})}),"video"===i&&(s||a||l)?(0,gs.jsxs)(us.BaseControl,{id:(0,bs.__)("Preview","ghostkit"),label:(0,bs.__)("Preview","ghostkit"),__nextHasNoMarginBottom:!0,children:[(0,gs.jsxs)("video",{controls:!0,style:{aspectRatio:"16/9",backgroundColor:g},children:[s?(0,gs.jsx)("source",{src:s,type:"video/mp4"}):null,a?(0,gs.jsx)("source",{src:a,type:"video/ogg"}):null,l?(0,gs.jsx)("source",{src:l,type:"video/webm"}):null]}),(0,gs.jsxs)("span",{children:[s?.substring(s.lastIndexOf("/")+1),a?.substring(a.lastIndexOf("/")+1),l?.substring(l.lastIndexOf("/")+1)]}),(0,gs.jsx)(mS,{nameAttributes:["videoWebm","videoWebmId","videoOgv","videoOgvId","videoMp4","videoMp4Id"],setAttributes:n}),(0,gs.jsx)("div",{style:{marginBottom:"-8px"}})]}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Settings","ghostkit"),children:[(0,gs.jsx)(ng,{attributes:{aspectRatio:c},hasOriginalOption:!1,hasSizeSelectors:!1,onChangeAspectRatio:e=>n({videoAspectRatio:e})}),(0,gs.jsx)(rg,{label:(0,bs.__)("Volume","ghostkit"),value:u,min:0,max:100,onChange:e=>n({videoVolume:e}),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(tp,{label:(0,bs.__)("Play Icon","ghostkit"),value:f,onChange:e=>n({iconPlay:e}),insideInspector:!0}),(0,gs.jsx)(tp,{label:(0,bs.__)("Loading Icon","ghostkit"),value:m,onChange:e=>n({iconLoading:e}),insideInspector:!0}),lt(E,"is-style-icon-only")?(0,gs.jsx)(us.BaseControl,{id:(0,bs.__)("Icon Align","ghostkit"),label:(0,bs.__)("Icon Align","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("div",{children:(0,gs.jsx)(ds.BlockAlignmentToolbar,{value:M,onChange:e=>{let t=E;t=at(t,"ghostkit-video-style-icon-only-align-right"),t=at(t,"ghostkit-video-style-icon-only-align-left"),"left"!==e&&"right"!==e||(t=st(t,`ghostkit-video-style-icon-only-align-${e}`)),E!==t&&n({className:t})},controls:["left","center","right"],isCollapsed:!1})})}):null]}),(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Click Action","ghostkit"),children:[(0,gs.jsx)(lg,{value:x,options:[{label:(0,bs.__)("Plain","ghostkit"),value:"plain",disabled:lt(E,"is-style-icon-only")},{label:(0,bs.__)("Fullscreen","ghostkit"),value:"fullscreen"}],onChange:e=>n({clickAction:e}),isBlock:!0}),"fullscreen"===x?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(is,{name:"ghostkit.editor.controls",attribute:"fullscreenBackgroundColor",props:e,children:(0,gs.jsx)(fs,{label:(0,bs.__)("Fullscreen Background","ghostkit"),value:C,onChange:e=>n({fullscreenBackgroundColor:e}),alpha:!0})}),(0,gs.jsx)(tp,{label:(0,bs.__)("Fullscreen Close Icon","ghostkit"),value:S,onChange:e=>n({fullscreenActionCloseIcon:e}),insideInspector:!0})]}):(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Autoplay","ghostkit"),help:(0,bs.__)("Automatically play video when block reaches the viewport. The video will be play muted due to browser Autoplay policy.","ghostkit"),checked:!!h,onChange:e=>n({videoAutoplay:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Autopause","ghostkit"),help:(0,bs.__)("Automatically pause video when block out of the viewport.","ghostkit"),checked:!!d,onChange:e=>n({videoAutopause:e}),__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.ToggleControl,{label:(0,bs.__)("Loop","ghostkit"),checked:!!p,onChange:e=>n({videoLoop:e}),__nextHasNoMarginBottom:!0})]})]}),lt(E,"is-style-icon-only")?null:(0,gs.jsxs)(us.PanelBody,{title:(0,bs.__)("Poster Image","ghostkit"),children:[v?null:(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{$(e)},allowedTypes:["image"],value:v,render:({open:e})=>(0,gs.jsx)(us.Button,{onClick:e,variant:"primary",children:(0,bs.__)("Select Image","ghostkit")})}),v?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ds.MediaUpload,{onSelect:e=>{$(e)},allowedTypes:["image"],value:v,render:({open:e})=>(0,gs.jsx)(us.BaseControl,{help:(0,bs.__)("Click the image to edit or update","ghostkit"),__nextHasNoMarginBottom:!0,children:(0,gs.jsx)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"},children:(0,gs.jsx)("img",{src:b,alt:y,width:w,height:k})})})}),(0,gs.jsx)(us.TextareaControl,{label:(0,bs.__)("Alt text (alternative text)"),value:y,onChange:e=>n({posterAlt:e}),help:(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree",children:(0,bs.__)("Describe the purpose of the image","ghostkit")}),(0,bs.__)("Leave empty if the image is purely decorative.","ghostkit")]}),__nextHasNoMarginBottom:!0}),A?.imageSizes?(0,gs.jsx)(us.SelectControl,{label:(0,bs.__)("Resolution","ghostkit"),help:(0,bs.__)("Select the size of the source image.","ghostkit"),value:_||vS,onChange:e=>{$(T,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name}))),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}):null,(0,gs.jsx)("div",{style:{marginTop:"-10px"}}),(0,gs.jsx)(mS,{nameAttributes:["posterId","posterUrl","posterAlt","posterWidth","posterHeight"],setAttributes:n})]}):null]})]})}const yS={};let wS;const{name:kS}=gS;function _S(e){let t="16-9";const{video:n,videoAspectRatio:o}=e;let{className:i}=e;return"21:9"===o?t="21-9":"4:3"===o?t="4-3":"3:2"===o&&(t="3-2"),t&&(i=`wp-embed-aspect-${t} wp-has-aspect-ratio ${i}`),{url:n,className:i}}const xS={from:[{type:"block",blocks:["core-embed/youtube","core-embed/vimeo"],isMatch:e=>e&&e.type&&"video"===e.type,transform(e){let t="16:9";const{url:n,className:o}=e;return o&&/wp-embed-aspect-21-9/.test(o)?t="21:9":o&&/wp-embed-aspect-4-3/.test(o)?t="4:3":o&&/wp-embed-aspect-3-2/.test(o)&&(t="3:2"),(0,um.createBlock)("ghostkit/video",{video:n,videoAspectRatio:t})}},{type:"block",blocks:["core/video"],isMatch:e=>e&&e.id,transform(e){const{id:t,src:n,muted:o}=e,i={type:"video",videoVolume:o?0:100};return/\.ogv$|\.ogg$/.test(n)?(i.videoOgv=n,i.videoOgvId=t):/\.webm$/.test(n)?(i.videoWebm=n,i.videoWebmId=t):(i.videoMp4=n,i.videoMp4Id=t),(0,um.createBlock)("ghostkit/video",i)}}],to:[{type:"block",blocks:["core-embed/youtube"],isMatch:e=>e&&e.type&&"yt_vm_video"===e.type&&e.video&&function(e){const t=e.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/);return!(!t||11!==t[1].length)&&t[1]}(e.video),transform:e=>(0,um.createBlock)("core-embed/youtube",_S(e))},{type:"block",blocks:["core-embed/vimeo"],isMatch:e=>e&&e.type&&"yt_vm_video"===e.type&&e.video&&function(e){const t=e.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!t||!t[3])&&t[3]}(e.video),transform:e=>(0,um.createBlock)("core-embed/vimeo",_S(e))},{type:"block",blocks:["core/video"],isMatch:e=>e&&e.type&&"video"===e.type&&(e.videoMp4Id||e.videoOgvId||e.videoWebmId)&&(e.videoMp4||e.videoOgv||e.videoWebm),transform:e=>(0,um.createBlock)("core/video",{id:e.videoMp4Id||e.videoOgvId||e.videoWebmId,src:e.videoMp4||e.videoOgv||e.videoWebm,muted:0===e.videoVolume})}]},{name:CS}=gS,SS={icon:Cr("block-video",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/video/",customStylesCallback(e){const{videoBackgroundColor:t,videoBackgroundGradient:n}=e;return{video:{"background-color":t||void 0,"background-image":n||void 0}}}},example:{attributes:{poster:1,posterUrl:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"}},styles:[{name:"default",label:(0,bs.__)("Plain","ghostkit"),isDefault:!0},{name:"icon-only",label:(0,bs.__)("Icon Only","ghostkit")}],edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:i}=e,{type:r,video:s,videoPosterPreview:a,videoAspectRatio:l,iconPlay:c,posterId:u,posterUrl:h,posterAlt:d,posterWidth:p,posterHeight:g,clickAction:f,className:m}=t;(0,vs.useEffect)((()=>{!u&&"yt_vm_video"===r&&s&&function(e,t){yS[e]?t(yS[e]):void 0!==window.VideoWorker?(clearTimeout(wS),wS=setTimeout((()=>{const n=new window.VideoWorker(e);n.isValid()?n.getImageURL((n=>{yS[e]=n,t(n)})):t("")}),500)):t("")}(s,(e=>{e!==a&&n({videoPosterPreview:e})}))})),(0,vs.useEffect)((()=>{"plain"===f&&m&<(m,"is-style-icon-only")&&n({clickAction:"fullscreen"})}),[f,m]),(0,vs.useEffect)((()=>{if(m&&!lt(m,"is-style-icon-only")){let e=m;e=at(e,"ghostkit-video-style-icon-only-align-right"),e=at(e,"ghostkit-video-style-icon-only-align-left"),m!==e&&n({className:e})}}),[m]);const v=(0,ds.useBlockProps)({className:(0,os.applyFilters)("ghostkit.editor.className","ghostkit-video",e),"data-video-aspect-ratio":l});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(fS,{attributes:t,setAttributes:n,clientId:i}),(0,Ke.createElement)(bS,{attributes:t,setAttributes:n,isSelected:o}),(0,Ke.createElement)("div",{...v},h&&!lt(m,"is-style-icon-only")?(0,Ke.createElement)("div",{className:"ghostkit-video-poster"},(0,Ke.createElement)("img",{src:h,alt:d,width:p,height:g})):null,h||"yt_vm_video"!==r||!a||lt(m,"is-style-icon-only")?null:(0,Ke.createElement)("div",{className:"ghostkit-video-poster"},(0,Ke.createElement)("img",{src:a,alt:""})),c?(0,Ke.createElement)("div",{className:"ghostkit-video-play-icon"},(0,Ke.createElement)(tp.Dropdown,{onChange:e=>n({iconPlay:e}),value:c,renderToggle:({onToggle:e})=>(0,Ke.createElement)(tp.Preview,{onClick:e,name:c})})):null))},save:function(e){const{attributes:t}=e,{type:n,video:o,videoMp4:i,videoOgv:r,videoWebm:s,videoAspectRatio:a,videoVolume:l,videoAutoplay:c,videoAutopause:u,videoLoop:h,iconPlay:d,iconLoading:p,posterId:g,posterUrl:f,posterAlt:m,posterWidth:v,posterHeight:b,clickAction:y,fullscreenActionCloseIcon:w,fullscreenVideoBackgroundColor:k,fullscreenVideoBackgroundGradient:_,fullscreenBackgroundColor:x,fullscreenBackgroundGradient:C,className:S}=t,E={className:"ghostkit-video"};E.className=(0,os.applyFilters)("ghostkit.blocks.className",E.className,{name:kS,...e}),E["data-video-type"]=n,E["data-video"]="","video"===n?(i&&(E["data-video"]+=`mp4:${i}`),r&&(E["data-video"]+=`${E["data-video"].length?",":""}ogv:${r}`),s&&(E["data-video"]+=`${E["data-video"].length?",":""}webm:${s}`)):E["data-video"]=o,E["data-video-aspect-ratio"]=a,E["data-video-volume"]=l,E["data-click-action"]=y,"fullscreen"===y?(E["data-fullscreen-video-background-color"]=k,E["data-fullscreen-video-background-gradient"]=_,E["data-fullscreen-background-color"]=x,E["data-fullscreen-background-gradient"]=C):(c&&(E["data-video-autoplay"]="true"),u&&(E["data-video-autopause"]="true"),h&&(E["data-video-loop"]="true"));const A=ds.useBlockProps.save(E);return(0,Ke.createElement)("div",{...A},f&&!lt(S,"is-style-icon-only")?(0,Ke.createElement)("div",{className:"ghostkit-video-poster"},(0,Ke.createElement)("img",{src:f,alt:m,className:g?`wp-image-${g}`:null,width:v,height:b})):null,d?(0,Ke.createElement)(tp.Render,{name:d,tag:"div",className:"ghostkit-video-play-icon"}):null,p?(0,Ke.createElement)(tp.Render,{name:p,tag:"div",className:"ghostkit-video-loading-icon"}):null,"fullscreen"===y&&w?(0,Ke.createElement)(tp.Render,{name:w,tag:"div",className:"ghostkit-video-fullscreen-close-icon"}):null)},transforms:xS},ES=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"ghostkit/widgetized-area","category":"ghostkit","title":"Widgetized Area","description":"Select registered sidebars and put it in any place.","keywords":["widget","sidebar"],"supports":{"html":false,"className":false,"align":["wide","full"]},"attributes":{"id":{"type":"string"}}}'),{GHOSTKIT:AS}=window,{name:TS}=ES,$S={icon:Cr("block-widgetized-area",!0),ghostkit:{},edit:function(e){const{setAttributes:t,attributes:n}=e;let{className:o}=e;const{id:i}=n;o=cs()("ghostkit-widgetized-area",o);const r=(0,ds.useBlockProps)({className:o});return(0,gs.jsx)("div",{...r,children:(0,gs.jsx)(us.Placeholder,{icon:Cr("block-widgetized-area"),label:(0,bs.__)("Widgetized Area","ghostkit"),children:(0,gs.jsx)(us.SelectControl,{value:i,onChange:e=>t({id:e}),options:(()=>{const e=[{label:(0,bs.__)("--- Select Sidebar ---","ghostkit"),value:""}];return AS.sidebars&&Object.keys(AS.sidebars).forEach((t=>{e.push({label:AS.sidebars[t].name,value:AS.sidebars[t].id})})),e})(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})})},save:function(){return null}};function MS(e){const{children:t,contentRef:n,settings:o}=e,i=(0,ds.useCachedTruthy)((0,aS.useAnchor)({editableContentElement:n.current,settings:o}));return(0,Ke.createElement)(us.Popover,{className:"ghostkit-format-badge-popover ghostkit-component-color-picker__dropdown-content",anchor:i},t)}document.addEventListener("DOMContentLoaded",(()=>{[ke,_e,Ie,Z,J,oe,Ne,Y,xe,Ce,Se,te,ne,q,K,De,Be,He,X,Q,Oe,Le,ze,Pe,Fe,Ee,Ae,je,we,ye,ee,We,be,ie,fe,ae,ce,ve,he,ue,se,me,pe,re,de,le,ge].forEach((({name:e,settings:t})=>{(0,um.registerBlockType)(e,t)}))}));const RS="ghostkit/badge",jS={title:(0,bs.__)("Badge","ghostkit"),tagName:"span",className:"ghostkit-badge",attributes:{style:"style"},edit:function(e){const{isActive:t,value:n,contentRef:o,onChange:i}=e,[r,s]=(0,vs.useState)(!1);function a(e,t){const o={};e&&(o.style=`background: ${e};`),t&&(o.style?o.style+=" ":o.style="",o.style+=`color: ${t};`);const r=e?aS.applyFormat:aS.toggleFormat;i(r(n,{type:RS,attributes:o}))}(0,vs.useEffect)((()=>{!t&&r&&s(!1)}),[t,r]);let l={};return t&&(l=function(){const{attributes:e}=(0,aS.getActiveFormat)(n,RS);return e&&e.style?function(e=""){return e.split(";").reduce(((e,t)=>{if(t){let[n,o]=t.split(":");n&&(n=n.trim()),o&&(o=o.trim()),"color"===n&&(e.color=o),"background"===n&&(e.background=o)}return e}),{})}(e.style):{}}()),(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextToolbarButton,{icon:Cr("icon-badge"),title:(0,bs.__)("Badge","ghostkit"),onClick:()=>{t||a(),s(!r)},isActive:t}),t&&r?(0,Ke.createElement)(MS,{value:n,name:RS,contentRef:o},(0,Ke.createElement)(us.TabPanel,{tabs:[{name:"background",title:"Background"},{name:"text",title:"Text"}],initialTabName:"background"},(e=>"text"===e.name?(0,Ke.createElement)(ps,{label:(0,bs.__)("Text","ghostkit"),value:l?.color||"",onChange:e=>{a(l?.background||"",e)},alpha:!0}):(0,Ke.createElement)(ps,{label:(0,bs.__)("Background","ghostkit"),value:l?.background||"",onChange:e=>{a(e,l?.color||"")},alpha:!0,gradient:!0})))):null)}},OS="ghostkit/mark",LS={title:(0,bs.__)("Highlight","ghostkit"),tagName:"mark",className:"ghostkit-highlight",edit:function(e){const{value:t,onChange:n,isActive:o}=e;function i(){n((0,aS.toggleFormat)(t,{type:OS}))}return o?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextShortcut,{type:"access",character:"m",onUse:()=>i()}),(0,Ke.createElement)(ds.RichTextToolbarButton,{shortcutCharacter:"m",shortcutType:"access",title:(0,bs.__)("Highlight","ghostkit"),icon:Cr("icon-felt-pen"),onClick:()=>i(),isActive:o})):null}};var IS=n(7722);const NS=JSON.parse('["lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit","exercitationem","perferendis","perspiciatis","laborum","eveniet","sunt","iure","nam","nobis","eum","cum","officiis","excepturi","odio","consectetur","quasi","aut","quisquam","vel","eligendi","itaque","non","odit","tempore","quaerat","dignissimos","facilis","neque","nihil","expedita","vitae","vero","ipsum","nisi","animi","cumque","pariatur","velit","modi","natus","iusto","eaque","sequi","illo","sed","ex","et","voluptatibus","tempora","veritatis","ratione","assumenda","incidunt","nostrum","placeat","aliquid","fuga","provident","praesentium","rem","necessitatibus","suscipit","adipisci","quidem","possimus","voluptas","debitis","sint","accusantium","unde","sapiente","voluptate","qui","aspernatur","laudantium","soluta","amet","quo","aliquam","saepe","culpa","libero","ipsa","dicta","reiciendis","nesciunt","doloribus","autem","impedit","minima","maiores","repudiandae","ipsam","obcaecati","ullam","enim","totam","delectus","ducimus","quis","voluptates","dolores","molestiae","harum","dolorem","quia","voluptatem","molestias","magni","distinctio","omnis","illum","dolorum","voluptatum","ea","quas","quam","corporis","quae","blanditiis","atque","deserunt","laboriosam","earum","consequuntur","hic","cupiditate","quibusdam","accusamus","ut","rerum","error","minus","eius","ab","ad","nemo","fugit","officia","at","in","id","quos","reprehenderit","numquam","iste","fugiat","sit","inventore","beatae","repellendus","magnam","recusandae","quod","explicabo","doloremque","aperiam","consequatur","asperiores","commodi","optio","dolor","labore","temporibus","repellat","veniam","architecto","est","esse","mollitia","nulla","a","similique","eos","alias","dolore","tenetur","deleniti","porro","facere","maxime","corrupti"]');function PS(e,t){return Math.floor(Math.random()*(t-e)+e)}const DS="ghostkit/lorem-ipsum",BS={title:(0,bs.__)("Lorem Ipsum","ghostkit"),tagName:"span",className:"ghostkit-lorem-ipsum",__unstableInputRule(e){const{start:t,text:n}=e,o=n[t-1];if(t<7)return e;if(" "!==o)return e;const i=n.lastIndexOf("lorem",t),r=t,s=r-i;if(-1===i)return e;if(s<7||s>9)return e;const a=n.substring(i,r).match(/^lorem(\d+) $/);if(!a||!a[1])return e;const l=parseInt(a[1],10),c=function({count:e,startWithUppercase:t=!1,endWithComma:n=!1}){let o=new IS.E5({words:NS}).generateWords(e);const i=function(e){if(e.length<2)return e;const t=(e=e.slice()).length,n=/,$/;let o=0;o=t>3&&t<=6?PS(0,1):t>6&&t<=12?PS(0,2):PS(1,4);for(let i,r=0;r5});return(0,aS.insert)(e,c,i,r)},edit:null},zS="ghostkit/uppercase",FS={title:(0,bs.__)("Uppercase","ghostkit"),tagName:"span",className:"ghostkit-text-uppercase",edit:function(e){const{value:t,onChange:n,isActive:o}=e;function i(){n((0,aS.toggleFormat)(t,{type:zS}))}return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextShortcut,{type:"access",character:"u",onUse:()=>i()}),(0,Ke.createElement)(ds.RichTextToolbarButton,{shortcutCharacter:"u",shortcutType:"access",title:(0,bs.__)("Uppercase","ghostkit"),icon:Cr("icon-text-uppercase"),onClick:()=>i(),isActive:o}))}};function HS(e){if("object"==typeof e){const t=(0,Xr.cloneDeep)(e),n={};return Object.keys(t).forEach((e=>{n[tt(e)]=HS(t[e])})),n}return e}function WS(e){const{attributes:t}=e,{ghostkitId:n,ghostkitClassname:o,ghostkitStyles:i,ghostkitCustomCSS:r,ghostkitPosition:s,ghostkitSpacings:a,ghostkitFrame:l}=t,c={};if(n||o||i||r||s||a||l){c.ghostkitId=void 0,c.ghostkitClassname=void 0,c.ghostkitStyles=void 0,c.ghostkitCustomCSS=void 0,c.ghostkitPosition=void 0,c.ghostkitSpacings=void 0,c.ghostkitFrame=void 0;const e=(0,Xr.cloneDeep)(t?.ghostkit||{});n&&!e?.id&&(e.id=n),r&&!e?.styles?.custom&&(void 0===e?.styles&&(e.styles={}),e.styles.custom=r),i&&Object.keys(i).length&&(void 0===e?.styles&&(e.styles={}),Object.keys(i).forEach((t=>{e.styles=(0,Xr.merge)(e.styles,i[t])}))),e.styles&&(e.styles=HS(e.styles)),c.ghostkit=e}return c}function VS(e){const{setAttributes:t}=e;return(0,vs.useEffect)((()=>{setTimeout((()=>{let n={};const o=function(e){const{name:t,attributes:n}=e,{ghostkitSR:o}=n,i={};if(((0,um.hasBlockSupport)(t,["ghostkit","effects","reveal"])||!0===(0,um.getBlockSupport)(t,["ghostkit","effects"]))&&o){const e={effect:"",direction:"",distance:50,scale:.9,duration:900,delay:0},t=o.split(";");let r=t[0];if(r){let n=r.split("-");2===n.length?(r=n[0],n=n[1]):n="",e.effect=r,e.direction=n,t.length>1&&t.forEach((t=>{const n=t.split(":");if(2===n.length){const t=n[0],o=n[1];e[t]=o}})),e.distance=parseFloat(e.distance),e.scale=parseFloat(e.scale),e.duration=parseFloat(e.duration),e.delay=parseFloat(e.delay)}const s={...n?.ghostkit||{}};if(!s?.effects?.reveal){const e=function(e){let t=(e=e.split(";"))[0],n=50,o=1,i=t.split("-");if(2===i.length)switch(t=i[0],i=i[1],i){case"up":i="bottom";break;case"down":i="top";break;case"right":i="right";break;case"left":i="left"}else i="center",n=0;"zoom"===t&&(o=.9);const r={distance:n,x:0,y:0,opacity:0,scale:o,duration:900,delay:0,easing:[.5,0,0,1]};if(e.length>1&&e.forEach((e=>{const t=e.split(":");2===t.length&&(r[t[0]]=t[1])})),r.distance&&i)switch(i){case"bottom":r.y=parseFloat(r.distance);break;case"top":r.y=-parseFloat(r.distance);break;case"right":r.x=parseFloat(r.distance);break;case"left":r.x=-parseFloat(r.distance)}return delete r.distance,r.scale=parseFloat(r.scale),r.duration=parseFloat(r.duration)/1e3,r.delay=parseFloat(r.delay)/1e3,r}(o),t={x:e.x,y:e.y,opacity:e.opacity,scale:e.scale,transition:{type:"easing",duration:e.duration,delay:e.delay,easing:e.easing}};s?.effects||(s.effects={}),s.effects.reveal=t,i.ghostkit=s}i.ghostkitSR=void 0}return i}(e),i=WS(e);o&&(n=(0,Xr.merge)(n,o)),i&&(n=(0,Xr.merge)(n,i)),Object.keys(n).length&&t(n)}),0)}),[]),null}[qe,Ve,Ge,Ue].forEach((({name:e,settings:t})=>{(0,aS.registerFormatType)(e,t)})),(0,os.addFilter)("blocks.getSaveContent.extraProps","ghostkit/sr/save-props",(function(e,t,n){return n.ghostkitSR&&(e["data-ghostkit-sr"]=n.ghostkitSR),e}));const US=(0,ug.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(VS,{...t}))}),"withInspectorControl");(0,os.addFilter)("editor.BlockEdit","ghostkit/deprecated/extensions",US),(0,os.addFilter)("blocks.registerBlockType","ghostkit/deprecated/extensions/additional-attributes",(function(e){return e.attributes.ghostkitId||(e.attributes.ghostkitId={type:"string"}),e.attributes.ghostkitClassname||(e.attributes.ghostkitClassname={type:"string"}),e.attributes.ghostkitStyles||(e.attributes.ghostkitStyles={type:"object"}),e.attributes.ghostkitSR||(e.attributes.ghostkitSR={type:"string"}),e.attributes.ghostkitCustomCSS||(e.attributes.ghostkitCustomCSS={type:"string"}),e.attributes.ghostkitPosition||(e.attributes.ghostkitPosition={type:"object"}),e.attributes.ghostkitSpacings||(e.attributes.ghostkitSpacings={type:"object"}),e.attributes.ghostkitFrame||(e.attributes.ghostkitFrame={type:"object"}),e}));const{pro:GS}=window.GHOSTKIT,{version:qS}=window.ghostkitVariables;function KS(){return(0,Ke.createElement)($C,{title:(0,bs.__)("Attributes","ghostkit")},(0,Ke.createElement)("p",null,(0,bs.__)("Adding custom attributes to block available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/attributes/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_attributes&utm_content=${qS}`},(0,bs.__)("Read More","ghostkit")))}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/attributes/inspector",(function(e,{props:t}){const{name:n}=t;return(0,um.hasBlockSupport)(n,["ghostkit","attributes"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"advanced"},(0,Ke.createElement)(is,{name:"ghostkit.extension.attributes.controls",props:t}))):e})),(0,os.addFilter)("ghostkit.extension.attributes.controls","ghostkit/extension/attributes/controls",((e,{props:t})=>GS?e:(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(KS,{...t}))));var YS=n(4982),ZS=n.n(YS),JS=n(4217);const XS=["border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","border-radius","bottom","top","left","right","font-size","height","width","min-height","min-width","max-height","max-width","margin-left","margin-right","margin-top","margin-bottom","margin","padding-left","padding-right","padding-top","padding-bottom","padding","outline-width"];function QS(e={},t="",n=!0){const o={};let i="";return Object.keys(e).forEach((r=>{if(null!==e[r]&&"object"==typeof e[r])if(/^media_/.test(r))i+=`${i?" ":""}@media #{ghostkitvar:${r}} { ${QS(e[r],t,n)} }`;else if(/^@supports/.test(r))i+=`${i?" ":""}${r} { ${QS(e[r],t,n)} }`;else{let o=t;o=o?-1!==r.indexOf("&")?r.replace(/&/g,o):`${o} ${r}`:r,i+=(i?" ":"")+QS(e[r],o,n)}else if(void 0!==e[r]&&!1!==e[r]){n&&(t=(t=t.replace(/>/g,">")).replace(/{i="custom"===e?`${o[e]}${i?` ${i}`:""}`:`${e} {${o[e]} }${i?` ${i}`:""}`})),i}function eE(e){const t={};return Object.keys(e).forEach((n=>{if(void 0!==e[n])if("object"!=typeof e[n]||Array.isArray(e[n])||null===e[n])t[n]=e[n];else{const o=eE(e[n]);o&&Object.keys(o).length&&(t[n]=o)}})),t}function tE(e=!1){let t=[];return e?(e.forEach((e=>{t.push(e),e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...tE(e.innerBlocks)])})),t):t}function nE(e){const{setAttributes:t,attributes:n,clientId:o,name:i}=e,{ghostkit:r,className:s}=n,a=(0,um.getBlockSupport)(i,["ghostkit","styles","customSelector"]),{allBlocks:l,blockSettings:c}=(0,Ze.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor");return{allBlocks:t(),blockSettings:(0,um.getBlockType)(i)}}),[i]),u=(0,vs.useCallback)((e=>{let t=r?.id;if(!t||e){const n={};if(e&&tE(l).forEach((e=>{e.clientId&&e?.attributes?.ghostkit?.id&&(n[e.attributes.ghostkit.id]=e.clientId,e.clientId!==o&&e.attributes.ghostkit.id===t&&(t=""))})),o&&!t){let e=t||"",i=10;for(;!e||void 0!==n[e]&&n[e]!==o&&i>0;)e=JS.unique(o),i-=1;e&&void 0===n[e]&&(n[e]=o),e!==t&&(t=e)}}return t||!1}),[r,l,o]),h=(0,vs.useCallback)((o=>{const i={},a=(0,os.applyFilters)("ghostkit.blocks.customStyles",c.ghostkit&&c.ghostkit.customStylesCallback?c.ghostkit.customStylesCallback(n,e):{},e),l=a&&Object.keys(a).length,h=r?.styles&&Object.keys(r.styles).length;let d=!l&&!h;if(l||h){let e=(0,Xr.cloneDeep)(r?.styles||{});l&&(e=Pr(e,pt(a))),e&&(e=eE(e));const t=Object.keys(e).length&&u(o);if(t){if(t!==r?.id&&(i.ghostkit||(i.ghostkit=(0,Xr.cloneDeep)(r||{})),i.ghostkit.id=t),!lt(s,`ghostkit-custom-${t}`)){const e=rt(s,"ghostkit-custom",t);e!==s&&(i.className=e)}ZS()(r?.styles,e)||(i.ghostkit||(i.ghostkit=(0,Xr.cloneDeep)(r||{})),i.ghostkit.styles=e)}else d=!0}if(d){const e=rt(s,"ghostkit-custom","")||void 0;e!==s&&(i.className=e||void 0),(r?.styles||r?.id)&&(i.ghostkit||(i.ghostkit=(0,Xr.cloneDeep)(r||{})),i?.ghostkit?.styles&&delete i.ghostkit.styles,i?.ghostkit?.id&&delete i.ghostkit.id),i?.ghostkit&&!Object.keys(i.ghostkit).length&&(i.ghostkit=void 0)}Object.keys(i).length&&t(i)}),[c,n,r,e,s,t]),d=Ev(60,h),p=(0,vs.useRef)(!1);(0,vs.useEffect)((()=>{p.current?d():(p.current=!0,h(!0))}),[n]);let g="";if(r?.id){if(r?.styles&&Object.keys(r?.styles).length){let e=`.ghostkit-custom-${r?.id}`;a&&(e=a.replace("&",e)),g+=(g?" ":"")+QS(gt({[e]:r?.styles}),"",!1)}g&&c&&c.ghostkit&&c.ghostkit.customStylesFilter&&(g=c.ghostkit.customStylesFilter(g,gt(n?.ghostkit?.styles),!0,n))}return g=(0,os.applyFilters)("ghostkit.editor.customStylesOutput",g,e),g?(0,gs.jsx)(xs,{styles:window.GHOSTKIT.replaceVars(g)}):null}const oE=(0,ug.createHigherOrderComponent)((e=>function(t){return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(e,{...t}),(0,gs.jsx)(nE,{...t})]})}),"withNewAttrs");(0,os.addFilter)("editor.BlockEdit","ghostkit/styles/additional-attributes",oE);const iE={x:0,y:0,opacity:1,scale:1,rotate:0,transition:{type:"spring",...kg}},rE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,sE=us.__stableNumberControl||us.__experimentalNumberControl,aE=us.__stableGrid||us.__experimentalGrid,{version:lE}=window.ghostkitVariables;function cE(e){const{attributes:t,setAttributes:n,clientId:o}=e,i=t?.ghostkit?.effects?.reveal;function r(e,n){return void 0===t?.ghostkit?.effects?.reveal?.[e]?n:t.ghostkit.effects.reveal[e]}function s(e,o=!1){const i=(0,Xr.cloneDeep)(t?.ghostkit||{});void 0===i?.effects&&(i.effects={}),(o||void 0===i?.effects?.reveal)&&(i.effects.reveal?.transition?i.effects.reveal={transition:i.effects.reveal.transition}:i.effects.reveal={}),Object.keys(e).forEach((t=>{i.effects.reveal[t]=e[t]})),n({ghostkit:i})}return(0,Ke.createElement)(rE,{label:(0,bs.__)("Reveal","ghostkit"),hasValue:()=>!!i,onSelect:()=>{if(void 0===t?.ghostkit?.effects?.reveal){const e=(0,Xr.cloneDeep)(t?.ghostkit||{});e.effects={...e.effects,reveal:{opacity:0}},n({ghostkit:e})}},onDeselect:()=>{if(void 0!==t?.ghostkit?.effects?.reveal){const e=(0,Xr.cloneDeep)(t?.ghostkit||{});delete e?.effects?.reveal,n({ghostkit:e})}},isShownByDefault:!1},(0,Ke.createElement)(ks,{label:(0,bs.__)("Reveal","ghostkit"),contentClassName:"ghostkit-component-effects-reveal"},(0,Ke.createElement)(xs,{styles:`\n [data-block="${o}"] {\n transform: translateX(${r("x",iE.x)}px) translateY(${r("y",iE.y)}px) scale(${r("scale",iE.scale)}) rotate(${r("rotate",iE.rotate)}deg);\n opacity: ${Math.max(.1,r("opacity",iE.opacity))};\n }\n `}),(0,Ke.createElement)(wg,{value:i,onChange:e=>{s(e,!0)}}),(0,Ke.createElement)(aE,{columns:2},(0,Ke.createElement)(sE,{label:(0,bs.__)("X","ghostkit"),value:r("x"),placeholder:iE.x,onChange:e=>{s({x:""===e?void 0:parseFloat(e)})},suffix:"px ",style:{flex:1}}),(0,Ke.createElement)(sE,{label:(0,bs.__)("Y","ghostkit"),value:r("y"),placeholder:iE.y,onChange:e=>s({y:""===e?void 0:parseFloat(e)}),suffix:"px ",style:{flex:1}})),(0,Ke.createElement)(aE,{columns:3},(0,Ke.createElement)(sE,{label:(0,bs.__)("Opacity","ghostkit"),value:r("opacity"),placeholder:iE.opacity,onChange:e=>s({opacity:""===e?void 0:parseFloat(e)}),min:0,max:1,step:.01,style:{flex:1}}),(0,Ke.createElement)(sE,{label:(0,bs.__)("Scale","ghostkit"),value:r("scale"),placeholder:iE.scale,onChange:e=>s({scale:""===e?void 0:parseFloat(e)}),min:0,max:10,step:.01,style:{flex:1}}),(0,Ke.createElement)(sE,{label:(0,bs.__)("Rotate","ghostkit"),value:r("rotate"),placeholder:iE.rotate,onChange:e=>s({rotate:""===e?void 0:parseFloat(e)}),suffix:"deg ",style:{flex:1}})),(0,Ke.createElement)(Tg,{label:(0,bs.__)("Transition","ghostkit"),value:r("transition",iE.transition),onChange:e=>s({transition:e})}),(0,Ke.createElement)($C,{title:(0,bs.__)("Pro Settings","ghostkit"),collapsed:!0},(0,Ke.createElement)("p",null,(0,bs.__)("Advanced reveal settings are available in the Ghost Kit Pro plugin only:","ghostkit")),(0,Ke.createElement)("ul",null,(0,Ke.createElement)("li",null,(0,bs.__)("3D Rotation","ghostkit")),(0,Ke.createElement)("li",null,(0,bs.__)("Custom Viewport","ghostkit")),(0,Ke.createElement)("li",null,(0,bs.__)("Replay Animation","ghostkit"))),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/effects/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_effects&utm_content=${lE}`},(0,bs.__)("Read More","ghostkit")))))}(0,os.addFilter)("ghostkit.extension.effects.tools","ghostkit/extension/effects/reveal",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","effects","reveal"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(cE,{...t})):e));const uE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:hE}=window.GHOSTKIT,{version:dE}=window.ghostkitVariables,pE={mouseHover:{label:(0,bs.__)("Mouse Hover","ghostkit")},mousePress:{label:(0,bs.__)("Mouse Press","ghostkit")},mouseMove:{label:(0,bs.__)("Mouse Move","ghostkit")},scroll:{label:(0,bs.__)("Scroll","ghostkit")},loop:{label:(0,bs.__)("Loop","ghostkit")}};function gE(){const[e,t]=(0,vs.useState)(!1);return(0,Ke.createElement)(Ke.Fragment,null,e&&(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)($C,{title:(0,bs.__)("Advanced Effects","ghostkit")},(0,Ke.createElement)("p",null,(0,bs.__)("Advanced effects are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/effects/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_effects&utm_content=${dE}`},(0,bs.__)("Read More","ghostkit")))),Object.keys(pE).map((e=>(0,Ke.createElement)(uE,{key:e,label:pE[e].label,hasValue:()=>!1,onDeselect:()=>{},onSelect:()=>{t(!0)},isShownByDefault:!1}))))}(0,os.addFilter)("ghostkit.extension.effects.tools","ghostkit/extension/effects/pro",((e,{props:t})=>hE?e:Object.keys(pE).some((e=>(0,um.hasBlockSupport)(t.name,["ghostkit","effects",e])))||!0===(0,um.getBlockSupport)(t.name,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(gE,{...t})):e));const fE=us.__stableToolsPanel||us.__experimentalToolsPanel;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/effects/inspector",(function(e,{props:t}){const{name:n,attributes:o,setAttributes:i}=t;return(0,um.hasBlockSupport)(n,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(fE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-sr")),(0,Ke.createElement)("span",null,(0,bs.__)("Effects","ghostkit"))),resetAll:()=>{const e={...o?.ghostkit||{}};void 0!==e?.effects&&(delete e?.effects,i({ghostkit:e}))}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-effects"},(0,Ke.createElement)(is,{name:"ghostkit.extension.effects.tools",props:t}))))):e}),11),(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/effects/toolbar",(function(e,{props:t}){const{name:n,attributes:o,setAttributes:i}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","effects"]))return e;const r=o?.ghostkit?.effects;return r?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.BlockControls,{group:"other"},(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:Cr("extension-sr"),label:(0,bs.__)("Effects","ghostkit"),menuProps:{style:{width:"260px"}},popoverProps:{focusOnMount:!1}},(()=>(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.MenuGroup,null,(0,bs.__)('There are effects added to the current block. To change these options open the "Effects" block settings panel.',"ghostkit")),(0,Ke.createElement)(us.MenuGroup,null,(0,bs.__)("Reset all effects of the current block:","ghostkit"),(0,Ke.createElement)(us.Button,{variant:"link",onClick:()=>{const e={...o?.ghostkit||{}};void 0!==e?.effects&&(delete e?.effects,i({ghostkit:e}))}},(0,bs.__)("Reset All","ghostkit")))))))):e}));const mE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function vE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("position",e)})),(0,gs.jsxs)(mE,{label:(0,bs.__)("Position","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("position")||o({position:"default"})},onDeselect:()=>{i(["position"],!0)},isShownByDefault:!1,children:[["absolute","fixed"].includes(t("position",r))?(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(ig,{status:"info",isDismissible:!1,children:(0,bs.__)("Please note! Custom positioning is not considered best practice for responsive web design and should not be used too frequently.","ghostkit")}),(0,gs.jsx)("br",{})]}):null,(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Position","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("position",e)})]}),value:t("position",r),onChange:e=>{o({position:e||void 0},r)},options:[{value:"",label:(0,bs.__)("Default","ghostkit")},{value:"absolute",label:(0,bs.__)("Absolute","ghostkit")},{value:"fixed",label:(0,bs.__)("Fixed","ghostkit")},{value:"relative",label:(0,bs.__)("Relative","ghostkit")},{value:"sticky",label:(0,bs.__)("Sticky","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/position",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","position"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(vE,{...t})]}):e));const bE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,yE=[{name:"top",label:(0,bs.__)("Top","ghostkit")},{name:"right",label:(0,bs.__)("Right","ghostkit")},{name:"bottom",label:(0,bs.__)("Bottom","ghostkit")},{name:"left",label:(0,bs.__)("left","ghostkit")}];function wE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{yE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(bE,{label:(0,bs.__)("Distance","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(yE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Distance","ghostkit"),inputs:yE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:6}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/distance",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","distance"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(wE,{...t})):e));const kE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,_E=us.__stableUnitControl||us.__experimentalUnitControl;function xE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("width",e)})),(0,gs.jsx)(kE,{label:(0,bs.__)("Width","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{i(["width"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(_E,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Width","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("width",e)})]}),value:t("width",r),onChange:e=>{o({width:e},r)},labelPosition:"edge",units:[{value:"px",label:"px"},{value:"%",label:"%"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"vw",label:"vw"},{value:"vh",label:"vh"}],min:0,__unstableInputWidth:"70px",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/width",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","width"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(xE,{...t})]}):e));const CE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,SE=us.__stableUnitControl||us.__experimentalUnitControl;function EE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("height",e)})),(0,gs.jsx)(CE,{label:(0,bs.__)("Height","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{i(["height"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(SE,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Height","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("height",e)})]}),value:t("height",r),onChange:e=>{o({height:e},r)},labelPosition:"edge",units:[{value:"px",label:"px"},{value:"%",label:"%"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"vw",label:"vw"},{value:"vh",label:"vh"}],min:0,__unstableInputWidth:"70px",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/height",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","height"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(EE,{...t})]}):e));const AE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,TE=[{name:"min-width",label:(0,bs.__)("Min","ghostkit")},{name:"max-width",label:(0,bs.__)("Max","ghostkit")}];function $E(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{TE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(AE,{label:(0,bs.__)("Min Max Width","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(TE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Min Max Width","ghostkit"),inputs:TE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:17}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/min-max-width",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","minMaxWidth"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)($E,{...t})):e));const ME=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,RE=[{name:"min-height",label:(0,bs.__)("Min","ghostkit")},{name:"max-height",label:(0,bs.__)("Max","ghostkit")}];function jE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{RE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(ME,{label:(0,bs.__)("Min Max Height","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(RE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Min Max Height","ghostkit"),inputs:RE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:17}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/min-max-height",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","minMaxHeight"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(jE,{...t})):e));const OE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,LE=us.__stableNumberControl||us.__experimentalNumberControl;function IE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("z-index",e)})),(0,Ke.createElement)(OE,{label:(0,bs.__)("zIndex","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{i(["z-index"],!0)},isShownByDefault:!1},(0,Ke.createElement)(LE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,bs.__)("zIndex","ghostkit"),(0,Ke.createElement)(Jp,{checkActive:e=>n("z-index",e)})),value:t("z-index",r),onChange:e=>{o({"z-index":e},r)},labelPosition:"edge",__unstableInputWidth:"70px"}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/zIndex",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","position","zIndex"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(IE,{...t})):e));const NE={effects:{label:(0,bs.__)("Effects","ghostkit"),attributes:["effects"]},position:{label:(0,bs.__)("Position","ghostkit"),styles:["position","top","right","bottom","left","width","height","min-width","min-height","max-width","max-height","z-index"],responsive:!0,selectors:[""]},spacings:{label:(0,bs.__)("Spacings","ghostkit"),styles:["padding-top","padding-right","padding-bottom","padding-left","margin-top","margin-right","margin-bottom","margin-left"],responsive:!0,selectors:[""]},frame:{label:(0,bs.__)("Frame","ghostkit"),styles:["border-style","border-width","border-color","border-top-left-radius","border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius","box-shadow"],responsive:!0,selectors:["","&:hover"]},transform:{label:(0,bs.__)("Transform","ghostkit"),styles:["--gkt-transform-perspective","--gkt-transform-x","--gkt-transform-y","--gkt-transform-scale","--gkt-transform-rotate","--gkt-transform-rotate-x","--gkt-transform-rotate-y","--gkt-transform-rotate-z","--gkt-transform-skew-x","--gkt-transform-skew-y","--gkt-transform-origin"],responsive:!0,selectors:["","&:hover"]},customCSS:{label:(0,bs.__)("Custom CSS","ghostkit"),styles:["opacity","overflow-x","overflow-y","cursor","user-select","clip-path","custom","transition-property","transition-duration","transition-delay","transition-timing-function"],responsive:!0,selectors:[""]}},PE=us.__stableToolsPanel||us.__experimentalToolsPanel,DE=NE.position.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/position/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","position"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(PE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-position")),(0,Ke.createElement)("span",null,(0,bs.__)("Position","ghostkit"))),resetAll:()=>{o(DE,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-position"},(0,Ke.createElement)(is,{name:"ghostkit.extension.position.tools",props:t})))))}),12);const BE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,zE=[{name:"padding-top",label:(0,bs.__)("Top","ghostkit")},{name:"padding-right",label:(0,bs.__)("Right","ghostkit")},{name:"padding-bottom",label:(0,bs.__)("Bottom","ghostkit")},{name:"padding-left",label:(0,bs.__)("left","ghostkit")}];function FE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{zE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(BE,{label:(0,bs.__)("Padding","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(zE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Padding","ghostkit"),inputs:zE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:6}))}(0,os.addFilter)("ghostkit.extension.spacings.tools","ghostkit/extension/spacings/tools/padding",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","spacings","padding"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","spacings"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(FE,{...t})):e));const HE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,WE=[{name:"margin-top",label:(0,bs.__)("Top","ghostkit")},{name:"margin-right",label:(0,bs.__)("Right","ghostkit")},{name:"margin-bottom",label:(0,bs.__)("Bottom","ghostkit")},{name:"margin-left",label:(0,bs.__)("left","ghostkit")}];function VE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{WE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(HE,{label:(0,bs.__)("Margin","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(WE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Margin","ghostkit"),inputs:WE,hasValue:(e,t)=>n(e,t),getValue:(e,n)=>t(e,n),onChange:(e,t,n)=>o({[e]:t},n),withResponsive:!0,withImportant:!0,expandOnFocus:6}))}(0,os.addFilter)("ghostkit.extension.spacings.tools","ghostkit/extension/spacings/tools/margin",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","spacings","margin"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","spacings"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(VE,{...t})):e));const UE=us.__stableToolsPanel||us.__experimentalToolsPanel,GE=NE.spacings.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/spacings/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","spacings"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(UE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-spacings")),(0,Ke.createElement)("span",null,(0,bs.__)("Spacings","ghostkit"))),resetAll:()=>{o(GE,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-spacings"},(0,Ke.createElement)(is,{name:"ghostkit.extension.spacings.tools",props:t})))))}),13);const qE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,KE="&:hover",YE=["border-style","border-width","border-color"],ZE=[{value:"solid",label:(0,gs.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{d:"M5 11.25H19V12.75H5V11.25Z",fill:"currentColor"})})},{value:"dashed",label:(0,gs.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11.25H8V12.75H5V11.25ZM10.5 11.25H13.5V12.75H10.5V11.25ZM19 11.25H16V12.75H19V11.25Z",fill:"currentColor"})})},{value:"dotted",label:(0,gs.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,gs.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 11.25H6.75V12.75H5.25V11.25ZM8.25 11.25H9.75V12.75H8.25V11.25ZM12.75 11.25H11.25V12.75H12.75V11.25ZM14.25 11.25H15.75V12.75H14.25V11.25ZM18.75 11.25H17.25V12.75H18.75V11.25Z",fill:"currentColor"})})},{value:"double",label:(0,gs.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,gs.jsx)("path",{d:"M5 9.25H19V10.75H5V9.25Z",fill:"currentColor"}),(0,gs.jsx)("path",{d:"M5 13H19V14.5H5V13Z",fill:"currentColor"})]})}];function JE(e){const[t,n]=(0,vs.useState)(!1),{getStyle:o,hasStyle:i,setStyles:r,resetStyles:s}=Qr(e),{device:a,allDevices:l}=Jr();let c=!1;["",...Object.keys(l)].forEach((e=>{YE.forEach((t=>{c=c||i(t,e)||i(t,e,KE)}))}));const u=o("border-style",a,t&&KE),h=(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Border","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>i("border-style",e,t&&KE)}),(0,gs.jsx)(Cs,{isHover:t,onChange:()=>{n(!t)},checkActive:()=>i("border-style",a,KE)})]});return(0,gs.jsx)(qE,{label:(0,bs.__)("Border","ghostkit"),hasValue:()=>!!c,onSelect:()=>{r({"border-style":"solid","border-width":"1px","border-color":"#000"})},onDeselect:()=>{s(YE,!0,["","&:hover"])},isShownByDefault:!1,children:(0,gs.jsx)(us.BaseControl,{id:h,label:h,__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)("div",{className:"ghostkit-control-border-row",children:[(0,gs.jsx)(fs,{value:gt(o("border-color",a,t&&KE)),onChange:e=>r({"border-color":e},a,t&&KE),alpha:!0}),(0,gs.jsx)(lg,{value:u,options:ZE,onChange:e=>{r({"border-style":"none"===e?"":e},a,t&&KE)},isBlock:!0}),(0,gs.jsx)(Zp,{value:o("border-width",a,t&&KE),placeholder:(0,bs.__)("Width","ghostkit"),onChange:e=>r({"border-width":e},a,t&&KE),autoComplete:"off"})]})})})}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/border",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","frame","border"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","frame"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(JE,{...t})]}):e));const XE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,QE="&:hover",eA=[{name:"border-top-left-radius",label:(0,bs.__)("TL","ghostkit")},{name:"border-top-right-radius",label:(0,bs.__)("TR","ghostkit")},{name:"border-bottom-right-radius",label:(0,bs.__)("BR","ghostkit")},{name:"border-bottom-left-radius",label:(0,bs.__)("BL","ghostkit")}];function tA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{eA.forEach((t=>{s=s||n(t.name,e)||n(t.name,e,QE)}))})),(0,Ke.createElement)(XE,{label:(0,bs.__)("Border Radius","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{i(eA.map((e=>e.name)),!0,["","&:hover"])},isShownByDefault:!1},(0,Ke.createElement)(eg,{label:(0,bs.__)("Border Radius","ghostkit"),inputs:eA,hasValue:(e,t,o)=>n(e,t,o&&QE),getValue:(e,n,o)=>t(e,n,o&&QE),onChange:(e,t,n,i)=>o({[e]:t},n,i&&QE),expandOnFocus:6,withResponsive:!0,withState:!0}))}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/borderRadius",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","frame","borderRadius"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","frame"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(tA,{...t})):e));const nA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,oA="&:hover";function iA(e){return"string"==typeof e&&"0"!==e&&/^[0-9.-]*$/.test(e)&&(e+="px"),e}function rA(e){const[t,n]=(0,vs.useState)(!1),{getStyle:o,hasStyle:i,setStyles:r,resetStyles:s}=Qr(e),{device:a,allDevices:l}=Jr(),[c,u]=(0,vs.useState)(),[h,d]=(0,vs.useState)(),[p,g]=(0,vs.useState)(),[f,m]=(0,vs.useState)(),[v,b]=(0,vs.useState)();(0,vs.useEffect)((()=>{const e=function(e){if(e){let t=gt(e).split(/ (?![^(]*\))/);if(t&&5===t.length)return/^(#|rgb|hsl)/.test(t[0])&&(t=et(t,0,5)),t}return!1}(o("box-shadow",a,t&&oA));e&&5===e.length?(u(e[0]),d(e[1]),g(e[2]),m(e[3]),b(e[4])):(u(void 0),d(void 0),g(void 0),m(void 0),b(void 0))}),[a,t]),(0,vs.useEffect)((()=>{void 0!==c||void 0!==h||void 0!==p||void 0!==f||void 0!==v?r({"box-shadow":`${iA(c||0)} ${iA(h||0)} ${iA(p||0)} ${iA(f||0)} ${v||"#000"}`},a,t&&oA):o("box-shadow",a,t&&oA)&&r({"box-shadow":void 0},a,t&&oA)}),[c,h,p,f,v]);let y=!1;["",...Object.keys(l)].forEach((e=>{y=y||i("box-shadow",e)||i("box-shadow",e,oA)}));const w=(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Shadow","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>i("box-shadow",e,t&&oA)}),(0,gs.jsx)(Cs,{isHover:t,onChange:()=>{n(!t)},checkActive:()=>i("box-shadow",a,oA)})]});return(0,gs.jsx)(nA,{label:(0,bs.__)("Shadow","ghostkit"),hasValue:()=>!!y,onDeselect:()=>{s(["box-shadow"],!0,["","&:hover"]),u(void 0),d(void 0),g(void 0),m(void 0),b(void 0)},isShownByDefault:!1,children:(0,gs.jsx)(us.BaseControl,{id:w,label:w,__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)("div",{className:"ghostkit-control-box-shadow",children:[(0,gs.jsx)(us.Tooltip,{text:(0,bs.__)("Color","ghostkit"),children:(0,gs.jsx)("div",{children:(0,gs.jsx)(fs,{value:v,onChange:e=>{b(e)},alpha:!0})})}),(0,gs.jsxs)(eg,{children:[(0,gs.jsx)(Zp,{help:(0,bs.__)("X","ghostkit"),value:c,onChange:e=>{u(e||0)},autoComplete:"off"}),(0,gs.jsx)(Zp,{help:(0,bs.__)("Y","ghostkit"),value:h,onChange:e=>{d(e||0)},autoComplete:"off"}),(0,gs.jsx)(Zp,{help:(0,bs.__)("Blur","ghostkit"),value:p,onChange:e=>{g(e||0)},autoComplete:"off"}),(0,gs.jsx)(Zp,{help:(0,bs.__)("Spread","ghostkit"),value:f,onChange:e=>{m(e||0)},autoComplete:"off"})]})]})})})}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/shadow",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","frame","shadow"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","frame"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(rA,{...t})]}):e));const sA=us.__stableToolsPanel||us.__experimentalToolsPanel,aA=NE.frame.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/frame/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","frame"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(sA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-frame")),(0,Ke.createElement)("span",null,(0,bs.__)("Frame","ghostkit"))),resetAll:()=>{o(aA,!0,["","&:hover"])}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-frame"},(0,Ke.createElement)(is,{name:"ghostkit.extension.frame.tools",props:t})))))}),14);const lA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:cA}=window.GHOSTKIT,{version:uA}=window.ghostkitVariables,hA={translate:{label:(0,bs.__)("Translate","ghostkit")},scale:{label:(0,bs.__)("Scale","ghostkit")},rotate:{label:(0,bs.__)("Rotate","ghostkit")},skew:{label:(0,bs.__)("Skew","ghostkit")},perspective:{label:(0,bs.__)("Perspective","ghostkit")},origin:{label:(0,bs.__)("Origin","ghostkit")}};function dA(){const[e,t]=(0,vs.useState)(!1);return(0,Ke.createElement)(Ke.Fragment,null,e&&(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)($C,{title:(0,bs.__)("Pro Transformations","ghostkit")},(0,Ke.createElement)("p",null,(0,bs.__)("Adding transformations for normal and hover state are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/transform/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_transform&utm_content=${uA}`},(0,bs.__)("Read More","ghostkit")))),Object.keys(hA).map((e=>(0,Ke.createElement)(lA,{key:e,label:hA[e].label,hasValue:()=>!1,onDeselect:()=>{},onSelect:()=>{t(!0)},isShownByDefault:!1}))))}(0,os.addFilter)("ghostkit.extension.transform.tools","ghostkit/extension/transform/pro",((e,{props:t})=>cA?e:(0,um.hasBlockSupport)(t.name,["ghostkit","transform"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(dA,{...t})):e));const pA=us.__stableToolsPanel||us.__experimentalToolsPanel,gA=NE.transform.styles,fA=(e,t)=>{let n=!1;return"object"==typeof e&&(t in e?n=!0:Object.keys(e).forEach((o=>{n=n||fA(e[o],t)}))),n};function mA(e){const{setAttributes:t,attributes:n}=e,{getStyles:o}=Qr(e);let i=!1;const r=o();function s(){let{className:o}=n;const r=(0,os.applyFilters)("ghostkit.extension.transform.allowClassName",i,e),s=lt(o,"ghostkit-has-transform");r&&!s?(o=st(o,"ghostkit-has-transform"),t({className:o})):!r&&s&&(o=at(o,"ghostkit-has-transform"),t({className:o}))}gA.forEach((e=>{i=i||fA(r,e)}));const a=Ev(60,s),l=(0,vs.useRef)(!1);return(0,vs.useEffect)((()=>{l.current?a():(l.current=!0,s())}),[n]),null}const vA=(0,ug.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(mA,{...t}))}),"withNewAttrs");(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/transform/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","transform"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(pA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-transform")),(0,Ke.createElement)("span",null,(0,bs.__)("Transform","ghostkit"))),resetAll:()=>{o(gA,!0,["","&:hover"])}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-transform"},(0,Ke.createElement)(is,{name:"ghostkit.extension.transform.tools",props:t})))))}),15),(0,os.addFilter)("editor.BlockEdit","ghostkit/extension/transform/classname",vA);const bA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function yA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("opacity",e)})),(0,gs.jsx)(bA,{label:(0,bs.__)("Opacity","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("opacity")||o({opacity:1})},onDeselect:()=>{i(["opacity"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.RangeControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Opacity","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("opacity",e)})]}),value:t("opacity",r),placeholder:1,onChange:e=>o({opacity:""===e?void 0:parseFloat(e)},r),min:0,max:1,step:.01,style:{flex:1},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/opacity",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","opacity"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(yA,{...t})]}):e));const wA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,kA=us.__stableGrid||us.__experimentalGrid;function _A(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;["",...Object.keys(s)].forEach((e=>{a=a||n("overflow-x",e)||n("overflow-y",e)}));const l=(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Overflow","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("overflow-x",e)||n("overflow-y",e)})]});return(0,gs.jsx)(wA,{label:(0,bs.__)("Overflow","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("overflow-x")&&n("overflow-y")||o({"overflow-x":"hidden","overflow-y":"hidden"})},onDeselect:()=>{i(["overflow-x","overflow-y"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.BaseControl,{id:l,label:l,__nextHasNoMarginBottom:!0,children:(0,gs.jsxs)(kA,{columns:2,children:[(0,gs.jsx)(us.SelectControl,{help:(0,bs.__)("X","ghostkit"),value:t("overflow-x",r),onChange:e=>{o({"overflow-x":e},r)},options:[{value:"hidden",label:(0,bs.__)("Hidden","ghostkit")},{value:"visible",label:(0,bs.__)("Visible","ghostkit")},{value:"clip",label:(0,bs.__)("Clip","ghostkit")},{value:"scroll",label:(0,bs.__)("Scroll","ghostkit")},{value:"auto",label:(0,bs.__)("Auto","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(us.SelectControl,{help:(0,bs.__)("Y","ghostkit"),value:t("overflow-y",r),onChange:e=>{o({"overflow-y":e},r)},options:[{value:"hidden",label:(0,bs.__)("Hidden","ghostkit")},{value:"visible",label:(0,bs.__)("Visible","ghostkit")},{value:"clip",label:(0,bs.__)("Clip","ghostkit")},{value:"scroll",label:(0,bs.__)("Scroll","ghostkit")},{value:"auto",label:(0,bs.__)("Auto","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})})})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/overflow",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","overflow"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(_A,{...t})]}):e));const xA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function CA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("cursor",e)})),(0,gs.jsx)(xA,{label:(0,bs.__)("Cursor","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("cursor")||o({cursor:"default"})},onDeselect:()=>{i(["cursor"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Cursor","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("cursor",e)})]}),value:t("cursor",r),onChange:e=>{o({cursor:e},r)},options:[{value:"default",label:(0,bs.__)("Default","ghostkit")},{value:"pointer",label:(0,bs.__)("Pointer","ghostkit")},{value:"not-allowed",label:(0,bs.__)("Not Allowed","ghostkit")},{value:"progress",label:(0,bs.__)("Progress","ghostkit")},{value:"move",label:(0,bs.__)("Move","ghostkit")},{value:"grab",label:(0,bs.__)("Grab","ghostkit")},{value:"grabbing",label:(0,bs.__)("Grabbing","ghostkit")},{value:"zoom-in",label:(0,bs.__)("Zoom In","ghostkit")},{value:"zoom-out",label:(0,bs.__)("Zoom Out","ghostkit")},{value:"copy",label:(0,bs.__)("Copy","ghostkit")},{value:"no-drop",label:(0,bs.__)("No Drop","ghostkit")},{value:"context-menu",label:(0,bs.__)("Context Menu","ghostkit")},{value:"help",label:(0,bs.__)("Help","ghostkit")},{value:"wait",label:(0,bs.__)("Wait","ghostkit")},{value:"cell",label:(0,bs.__)("Cell","ghostkit")},{value:"crosshair",label:(0,bs.__)("Crosshair","ghostkit")},{value:"alias",label:(0,bs.__)("Alias","ghostkit")},{value:"text",label:(0,bs.__)("Text","ghostkit")},{value:"vertical-text",label:(0,bs.__)("Vertical Text","ghostkit")},{value:"copy",label:(0,bs.__)("Copy","ghostkit")},{value:"nw-resize",label:(0,bs.__)("NW Resize","ghostkit")},{value:"n-resize",label:(0,bs.__)("N Resize","ghostkit")},{value:"e-resize",label:(0,bs.__)("E Resize","ghostkit")},{value:"se-resize",label:(0,bs.__)("SE Resize","ghostkit")},{value:"s-resize",label:(0,bs.__)("S Resize","ghostkit")},{value:"sw-resize",label:(0,bs.__)("SW Resize","ghostkit")},{value:"w-resize",label:(0,bs.__)("W Resize","ghostkit")},{value:"ew-resize",label:(0,bs.__)("EW Resize","ghostkit")},{value:"ns-resize",label:(0,bs.__)("NS Resize","ghostkit")},{value:"nwse-resize",label:(0,bs.__)("NWSE Resize","ghostkit")},{value:"nesw-resize",label:(0,bs.__)("NESW Resize","ghostkit")},{value:"col-resize",label:(0,bs.__)("Col Resize","ghostkit")},{value:"row-resize",label:(0,bs.__)("Row Resize","ghostkit")},{value:"none",label:(0,bs.__)("None","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/cursor",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","cursor"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(CA,{...t})]}):e));const SA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function EA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("user-select",e)})),(0,gs.jsx)(SA,{label:(0,bs.__)("User Select","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("user-select")||o({"user-select":"none"})},onDeselect:()=>{i(["user-select"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("User Select","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("user-select",e)})]}),value:t("user-select",r),onChange:e=>{o({"user-select":e},r)},options:[{value:"none",label:(0,bs.__)("None","ghostkit")},{value:"auto",label:(0,bs.__)("Auto","ghostkit")}],__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/userSelect",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","userSelect"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(EA,{...t})]}):e));const AA={"inset(0 round 20px)":(0,bs.__)("Round","ghostkit"),"circle(50% at 50% 50%)":(0,bs.__)("Circle","ghostkit"),"polygon(50% 0%, 0% 100%, 100% 100%)":(0,bs.__)("Triangle","ghostkit"),"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)":(0,bs.__)("Rhombus","ghostkit"),"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)":(0,bs.__)("Pentagon","ghostkit"),"polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)":(0,bs.__)("Hexagon","ghostkit"),"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)":(0,bs.__)("Heptagon","ghostkit"),"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)":(0,bs.__)("Octagon","ghostkit"),"polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%)":(0,bs.__)("Bevel","ghostkit"),"polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)":(0,bs.__)("Star","ghostkit"),"polygon(0% 0%, 0% 100%, 25% 100%, 25% 25%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%)":(0,bs.__)("Frame","ghostkit")},TA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,$A=[{value:"",label:(0,bs.__)("Custom","ghostkit")},...Object.keys(AA).map((e=>({value:e,label:AA[e]})))];function MA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:i}=Qr(e),{device:r,allDevices:s}=Jr();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("clip-path",e)})),(0,gs.jsxs)(TA,{label:(0,bs.__)("Clip Path","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("clip-path")||o({"clip-path":$A[1].value})},onDeselect:()=>{i(["clip-path"],!0)},isShownByDefault:!1,children:[(0,gs.jsx)(us.SelectControl,{label:(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Clip Path","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>n("clip-path",e)})]}),value:t("clip-path",r),onChange:e=>{o({"clip-path":e},r)},options:$A,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,gs.jsx)("br",{}),(0,gs.jsx)(us.TextareaControl,{value:t("clip-path",r),onChange:e=>{o({"clip-path":e},r)},__nextHasNoMarginBottom:!0})]})}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/clipPath",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","clipPath"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(MA,{...t})]}):e));const RA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:jA}=window.GHOSTKIT,{version:OA}=window.ghostkitVariables;function LA(){return(0,Ke.createElement)(RA,{label:(0,bs.__)("Transition","ghostkit"),hasValue:()=>!1,onSelect:()=>{},onDeselect:()=>{},isShownByDefault:!1},(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)($C,{title:(0,bs.__)("Transition","ghostkit")},(0,Ke.createElement)("p",null,(0,bs.__)("Transition and transform configurations are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)($C.Button,{target:"_blank",rel:"noopener noreferrer",href:`https://www.ghostkit.io/docs/extensions/custom-css-js/?utm_source=plugin&utm_medium=block_settings&utm_campaign=pro_transition&utm_content=${OA}`},(0,bs.__)("Read More","ghostkit")))))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/transition",((e,{props:t})=>jA?e:(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","transition"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(LA,{...t})):e));const IA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,NA="selector {\n\n}";function PA(e){const[t,n]=(0,vs.useState)(NA),{getStyle:o,hasStyle:i,setStyles:r,resetStyles:s}=Qr(e),{device:a,allDevices:l}=Jr();let c=!1;["",...Object.keys(l)].forEach((e=>{c=c||i("custom",e)}));const u=(0,gs.jsxs)(gs.Fragment,{children:[(0,bs.__)("Custom","ghostkit"),(0,gs.jsx)(Jp,{checkActive:e=>i("custom",e)})]});return(0,gs.jsx)(IA,{label:(0,bs.__)("Custom","ghostkit"),hasValue:()=>!!c,onSelect:()=>{i("custom")||r({custom:""})},onDeselect:()=>{s(["custom"],!0)},isShownByDefault:!1,children:(0,gs.jsx)(us.BaseControl,{id:u,label:u,__nextHasNoMarginBottom:!0,children:(0,gs.jsx)(us.Dropdown,{className:"ghostkit-extension-customCSS-custom__dropdown",contentClassName:"ghostkit-extension-customCSS-custom__dropdown-content",popoverProps:{placement:"left-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:n})=>(0,gs.jsxs)(us.Button,{className:cs()("ghostkit-extension-customCSS-custom__dropdown-content-toggle",e?"ghostkit-extension-customCSS-custom__dropdown-content-toggle-active":""),onClick:()=>{n()},children:[(0,gs.jsx)("span",{children:(0,bs.__)("Edit CSS","ghostkit")}),(0,gs.jsx)(as,{mode:"css",value:o("custom",a)||t,maxLines:7,minLines:3,height:"200px",showPrintMargin:!1,showGutter:!1,highlightActiveLine:!1,setOptions:{enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,enableSnippets:!1,showLineNumbers:!1}})]}),renderContent:()=>(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(us.BaseControl,{id:u,label:u,__nextHasNoMarginBottom:!0}),(0,gs.jsx)(as,{mode:"css",onChange:e=>{e!==NA&&r({custom:e},a),t&&n("")},value:o("custom",a)||t,maxLines:20,minLines:5,height:"300px",editorProps:{id:"gkt-custom-css-editor"}}),(0,gs.jsx)("p",{style:{marginBottom:20}}),(0,gs.jsxs)("details",{children:[(0,gs.jsx)("summary",{label:(0,bs.__)("Examples to use selector","ghostkit"),dangerouslySetInnerHTML:{__html:(0,bs.__)("Use %s rule to change block styles.","ghostkit").replace("%s","selector")}}),(0,gs.jsx)("p",{children:(0,bs.__)("Example:","ghostkit")}),(0,gs.jsx)("pre",{className:"ghostkit-control-pre-custom-css",children:"selector {\n background-color: #2F1747;\n}\n\nselector p {\n color: #2F1747;\n}"})]})]})})})})}(0,ss.addCompleter)({getCompletions(e,t,n,o,i){"gkt-custom-css-editor"===e.id&&i(null,[{caption:"selector",value:"selector",meta:(0,bs.__)("Block Selector","ghostkit")}])},identifierRegexps:[/selector/]}),(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/custom",((e,{props:t})=>(0,um.hasBlockSupport)(t.name,["ghostkit","customCSS","custom"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,gs.jsxs)(gs.Fragment,{children:[e,(0,gs.jsx)(PA,{...t})]}):e));const DA=us.__stableToolsPanel||us.__experimentalToolsPanel,BA=NE.customCSS.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/customCSS/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,um.hasBlockSupport)(n,["ghostkit","customCSS"]))return e;const{resetStyles:o}=Qr(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(DA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-custom-css")),(0,Ke.createElement)("span",null,(0,bs.__)("Custom CSS","ghostkit"))),resetAll:()=>{o(BA,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-custom-css"},(0,Ke.createElement)(is,{name:"ghostkit.extension.customCSS.tools",props:t})))))}),16);const zA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,FA=function(e=""){return[{label:e?(0,bs.__)("Inherit","ghostkit"):(0,bs.__)("Default","ghostkit"),value:""},{label:(0,bs.__)("Show","ghostkit"),value:"block"},{label:(0,bs.__)("Hide","ghostkit"),value:"none"}]};function HA(e,t){if(!t){if(lt(e,"ghostkit-d-none"))return"none";if(lt(e,"ghostkit-d-block"))return"block"}return it(e,`ghostkit-d-${t}`,!0)}function WA(e){const{attributes:t,setAttributes:n}=e,{className:o}=t,{device:i,allDevices:r}=Jr();let s=!1;return["",...Object.keys(r)].forEach((e=>{s=s||HA(o,e)})),(0,Ke.createElement)(zA,{label:(0,bs.__)("Screen Size","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{let e=o;["",...Object.keys(r)].forEach((t=>{t?(e=at(e,`ghostkit-d-${t}-none`),e=at(e,`ghostkit-d-${t}-block`)):(e=at(e,"ghostkit-d-none"),e=at(e,"ghostkit-d-block"))})),n({className:e})},isShownByDefault:!1},(0,Ke.createElement)(lg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,bs.__)("Screen Size","ghostkit"),(0,Ke.createElement)(Jp,{checkActive:e=>lt(o,`ghostkit-d-${e}-none`)||lt(o,`ghostkit-d-${e}-block`)})),value:HA(o,i),options:FA(i).map((e=>({value:e.value,label:e.label}))),onChange:e=>{!function(e,t){let i=o;e?i=rt(i,`ghostkit-d-${e}`,t):(i=at(i,"ghostkit-d-none"),i=at(i,"ghostkit-d-block"),t&&(i=st(i,`ghostkit-d-${t}`))),n({className:i})}(i,e)},isBlock:!0}))}(0,os.addFilter)("ghostkit.extension.display.tools","ghostkit/extension/display/tools/screenSize",((e,{props:t})=>{const n=(0,um.hasBlockSupport)(t.name,["ghostkit","display","screenSize"])||!0===(0,um.getBlockSupport)(t.name,["ghostkit","display"]),o=(0,um.hasBlockSupport)(t.name,"customClassName",!0);return n&&o?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(WA,{...t})):e}));const VA=us.__stableToolsPanel||us.__experimentalToolsPanel;function UA(e=!1){let t=!1;if(!e){const{getBlocks:t}=(0,Ze.select)("core/block-editor");e=t()}return e.forEach((e=>{t||("ghostkit/table-of-contents"===e.name?t=e:e.innerBlocks&&e.innerBlocks.length&&(t=UA(e.innerBlocks)))})),t}function GA(e=!1){let t=[];if(!e){const{getBlocks:t}=(0,Ze.select)("core/block-editor");e=t()}return e.forEach((e=>{"core/heading"===e.name?t.push(e):e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...GA(e.innerBlocks)])})),t}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/display/inspector",(function(e,{props:t}){const{name:n}=t;return(0,um.hasBlockSupport)(n,["ghostkit","display"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(VA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},Cr("extension-display")),(0,Ke.createElement)("span",null,(0,bs.__)("Display Conditions","ghostkit")))},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-display"},(0,Ke.createElement)(is,{name:"ghostkit.extension.display.tools",props:t}))))):e}),17);let qA="";const KA=Av(300,(function(){if(!UA())return;const e=GA();if(qA&&qA===JSON.stringify(e))return;const t={};e.forEach((e=>{let{anchor:n}=e.attributes;const{content:o}=e.attributes;o&&!n&&(n=Lr(o),e.attributes.anchor=n),n&&(void 0!==t[n]?(t[n]+=1,n+=`-${t[n]}`,e.attributes.anchor=n):t[n]=1)})),qA=JSON.stringify(e)}));wp.blockEditor.__experimentalBlockPatternSetup||wp.blockEditor.BlockPatternSetup||wp.blockEditor.blockPatternSetup||(0,Ze.subscribe)((()=>{KA()}));const YA=window.wp.plugins,{GHOSTKIT:ZA}=window;(0,YA.registerPlugin)("gkt-toolbar-templates",{render:function(){const{insertBlocks:e}=(0,Ze.useDispatch)("core/block-editor");if(!ZA.allowTemplates)return null;function t(){return(0,Ke.createElement)(us.ToolbarButton,{className:"components-button components-icon-button","aria-label":(0,bs.__)("Add Template","ghostkit"),onClick:()=>{e((0,um.createBlock)("ghostkit/grid",{isTemplatesModalOnly:!0}))}},Cr("plugin-templates"),(0,bs.__)("Templates Library","ghostkit"))}return(async e=>{for(;null===document.querySelector(e);)await new Promise((e=>window.requestAnimationFrame(e)));return document.querySelector(e)})(".edit-post-header-toolbar").then((e=>{if(!e.querySelector(".ghostkit-toolbar-templates")){const n=document.createElement("div");n.classList.add("ghostkit-toolbar-templates"),e.appendChild(n),(0,vs.render)((0,Ke.createElement)(t,null),n)}})),null}});const JA=window.wp.notices;function XA(e,t,n=""){if(!n)return{ghostkit:(0,Xr.cloneDeep)(e?.attributes?.ghostkit||{})};const o={};return(0,um.hasBlockSupport)(e.name,["ghostkit",n])&&(0,um.hasBlockSupport)(t.name,["ghostkit",n])&&(o.ghostkit=(0,Xr.cloneDeep)(t?.attributes?.ghostkit||{}),NE[n]?.styles&&(o?.ghostkit?.styles||(o.ghostkit.styles={}),o.ghostkit.styles=Pr(o.ghostkit.styles,Gr(e?.attributes?.ghostkit?.styles||{},NE[n].styles,NE[n].responsive,NE[n].selectors)),o.ghostkit.styles=ct(o.ghostkit.styles)),NE[n]?.attributes&&NE[n].attributes.forEach((t=>{o.ghostkit[t]=e?.attributes?.ghostkit?.[t]||void 0}))),o}function QA(e,t,n,o=""){for(let i=0;i(0,um.serialize)(e)),t);return(0,Ke.createElement)(us.MenuItem,{ref:o},n)}function tT(e,t){return e.every((e=>!!e&&(0,um.hasBlockSupport)(e.name,t)))}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/copy-paste",(function(e,{props:t}){const{name:n,clientId:o}=t,i=(0,um.hasBlockSupport)(n,["ghostkit"]),{createSuccessNotice:r}=(0,Ze.useDispatch)(JA.store),{getBlocksByClientId:s}=(0,Ze.useSelect)((e=>e("core/block-editor"))),a=function(){const e=(0,Ze.useRegistry)(),{updateBlockAttributes:t}=(0,Ze.useDispatch)("core/block-editor"),{createSuccessNotice:n,createWarningNotice:o,createErrorNotice:i}=(0,Ze.useDispatch)(JA.store);return(0,vs.useCallback)((async(r,s)=>{let a="";try{if(!window.navigator.clipboard)return void i((0,bs.__)("Unable to paste extensions. This feature is only available on secure (https) sites in supporting browsers.","ghostkit"),{type:"snackbar"});a=await window.navigator.clipboard.readText()}catch(e){return void i((0,bs.__)("Unable to paste extensions. Please allow browser clipboard permissions before continuing.","ghostkit"),{type:"snackbar"})}if(!a||!function(e){try{const t=(0,um.parse)(e,{__unstableSkipMigrationLogs:!0,__unstableSkipAutop:!0});return 1!==t.length||"core/freeform"!==t[0].name}catch(e){return!1}}(a))return void o((0,bs.__)("Unable to paste extensions. Block extensions couldn't be found within the copied content.","ghostkit"),{type:"snackbar"});const l=(0,um.parse)(a);if(1===l.length?e.batch((()=>{QA(r,r.map((()=>l[0])),t,s)})):e.batch((()=>{QA(r,l,t,s)})),1===r.length){const e=(0,um.getBlockType)(r[0].name)?.title;n((0,bs.sprintf)( // Translators: Name of the block being pasted, e.g. "Paragraph". // Translators: Name of the block being pasted, e.g. "Paragraph". (0,bs.__)("Pasted extensions to %s."),e),{type:"snackbar"})}else n((0,bs.sprintf)( diff --git a/gutenberg/blocks/accordion/frontend.js b/gutenberg/blocks/accordion/frontend.js index b8bee8a8..c008d291 100644 --- a/gutenberg/blocks/accordion/frontend.js +++ b/gutenberg/blocks/accordion/frontend.js @@ -15,7 +15,24 @@ const { events } = GHOSTKIT; let pageHash = location.hash; -const ANIMATION_SPEED = 300; +const ANIMATION_SPEED = 400; + +function getCurrentContentStyles($el) { + return { + display: $el.style.display, + overflow: $el.style.overflow, + height: $el.style.height, + paddingTop: $el.style.paddingTop, + paddingBottom: $el.style.paddingBottom, + }; +} +function resetContentStyles($el) { + $el.style.display = ''; + $el.style.overflow = ''; + $el.style.height = ''; + $el.style.paddingTop = ''; + $el.style.paddingBottom = ''; +} function show($item, animationSpeed, cb) { const $button = $item.querySelector( @@ -29,6 +46,10 @@ function show($item, animationSpeed, cb) { $button.setAttribute('aria-expanded', 'true'); } + const currentStyles = getCurrentContentStyles($content); + + resetContentStyles($content); + const contentStyles = window.getComputedStyle($content); const endHeight = contentStyles.height; @@ -37,6 +58,9 @@ function show($item, animationSpeed, cb) { $content.style.display = 'block'; $content.style.overflow = 'hidden'; + $content.style.height = currentStyles.height || 0; + $content.style.paddingTop = currentStyles.paddingTop || 0; + $content.style.paddingBottom = currentStyles.paddingBottom || 0; const animation = animate( $content, @@ -47,17 +71,19 @@ function show($item, animationSpeed, cb) { }, { duration: animationSpeed / 1000, - easing: 'easeOut', + ease: [0.6, 0, 0.3, 1], } ); animation.then(() => { - // Reset styles. - $content.style.display = ''; - $content.style.overflow = ''; - $content.style.height = ''; - $content.style.paddingTop = ''; - $content.style.paddingBottom = ''; + // Check if animation stopped manually. + const isStopped = + $item.gktAccordion.animation?.animations?.[0]?.isStopped || false; + + if (!isStopped) { + resetContentStyles($content); + } + $item.gktAccordion.animation = null; cb(); @@ -84,17 +110,19 @@ function hide($item, animationSpeed, cb) { }, { duration: animationSpeed / 1000, - easing: 'easeOut', + ease: [0.6, 0, 0.3, 1], } ); animation.then(() => { - // Reset styles. - $content.style.display = ''; - $content.style.overflow = ''; - $content.style.height = ''; - $content.style.paddingTop = ''; - $content.style.paddingBottom = ''; + // Check if animation stopped manually. + const isStopped = + $item.gktAccordion.animation?.animations?.[0]?.isStopped || false; + + if (!isStopped) { + resetContentStyles($content); + } + $item.gktAccordion.animation = null; cb(); diff --git a/gutenberg/components/input-group/editor.scss b/gutenberg/components/input-group/editor.scss index a2d3c3c9..512422d9 100644 --- a/gutenberg/components/input-group/editor.scss +++ b/gutenberg/components/input-group/editor.scss @@ -26,7 +26,7 @@ // Better help styles. .components-base-control__help { - margin-top: -6px; + margin-top: 0; font-size: 9px; font-weight: 500; text-align: center; @@ -68,8 +68,8 @@ // Important toggle. .ghostkit-control-important-toggle { position: absolute; - top: 6px; - right: 1px; + top: 10px; + right: 2px; opacity: 0; } diff --git a/gutenberg/extend/effects/frontend.js b/gutenberg/extend/effects/frontend.js index 888cb0f2..c65a3aff 100644 --- a/gutenberg/extend/effects/frontend.js +++ b/gutenberg/extend/effects/frontend.js @@ -187,7 +187,7 @@ events.on(document, 'init.blocks.gkt', () => { const config = { from, to, - duration: 0.8, + duration: 1, easing: [0.6, 0, 0.3, 1], cb(progress) { const position = (to - from) * progress + from; @@ -233,15 +233,13 @@ events.on(document, 'init.blocks.gkt', () => { }); } - animate( - (progress) => { + animate(0, 1, { + duration: config.duration, + ease: config.easing, + onUpdate: (progress) => { config.cb(progress); }, - { - duration: config.duration, - ease: config.easing, - } - ).then(() => { + }).then(() => { events.trigger($counter, 'counted.counter.gkt', { config, }); diff --git a/gutenberg/extend/styles/index.js b/gutenberg/extend/styles/index.js index 0048651b..c508d4ef 100644 --- a/gutenberg/extend/styles/index.js +++ b/gutenberg/extend/styles/index.js @@ -231,11 +231,10 @@ function CustomStylesComponent(props) { // Reset unused styles and ID. if (reset) { - const newClassName = replaceClass( - className, - 'ghostkit-custom', - '' - ); + // Convert to undefined when empty to prevent unnecessary + // rerenders if className remains unchanged. + const newClassName = + replaceClass(className, 'ghostkit-custom', '') || undefined; if (newClassName !== className) { newAttrs.className = !newClassName diff --git a/languages/ghostkit.pot b/languages/ghostkit.pot index 1ebcdf89..00e506a4 100644 --- a/languages/ghostkit.pot +++ b/languages/ghostkit.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-12-18T14:37:32+00:00\n" +"POT-Creation-Date: 2024-12-18T20:25:17+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.9.0\n" "X-Domain: ghostkit\n"